//variable that will increment through the images
var step=1
var tem
var repe=1
function slideit(){
if (!document.images)
return
//if browser does not support the image object, exit.
document.images.slide.src=imagen[step].src
if (step<35)
   {
   step++
   if ((step==2)&&(repe==0))
      {step=35
       repe=1}
   if (step==3)
      repe=0
   }
else
   {
   step=1
   }
tem=60
if ((step==35)&&(repe==1))
   {tem=250}
if (step==1)
   {tem=250}
if (step==2)
   {tem=5000}
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",tem)
}
slideit()

