// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed1 = 8000

// Duration of crossfade (seconds)
var crossFadeDuration = 15

// Specify the image files
var Pic1 = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic1[0] = '/design/fotos/01/01_2.jpg'
Pic1[1] = '/design/fotos/02/02_2.jpg'
Pic1[2] = '/design/fotos/03/03_2.jpg'
//Pic[3] = '4.jpg'
//Pic[4] = '5.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t1
var j1 = 0
var p1 = Pic1.length

var preLoad1 = new Array()
for (i1 = 0; i1 < p1; i1++){
   preLoad1[i1] = new Image();
   preLoad1[i1].src = Pic1[i1];
}

function runSlideShow1(){

   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=15)"
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow1.filters.blendTrans.Apply()
   }
   document.images.SlideShow1.src = preLoad1[j1].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   j1 = j1 + 1
   if (j1 > (p1-1)) j1=0
   t1 = setTimeout('runSlideShow1()', slideShowSpeed1)
}