// Set slideShowSpeed2 (milliseconds)
var slideShowSpeed2 = 4000

// Duration of crossfade (seconds)
var crossFadeDuration2 = 3

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

Pic2[0] = 'images/fader_buyaboat_01.jpg'
Pic2[1] = 'images/fader_buyaboat_02.jpg'
Pic2[2] = 'images/fader_buyaboat_03.jpg'

// =======================================
var u
var k = 0
var q = Pic2.length

var preLoad2 = new Array()
for (h = 0; h < q; h++){
   preLoad2[h] = new Image()
   preLoad2[h].src = Pic2[h]
}

function runSlideShow2(){
   if (document.all){
      document.images.SlideShow2.style.filter="blendTrans(duration=2)"
      document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration2)"
      document.images.SlideShow2.filters.blendTrans.Apply()      
   }
   document.images.SlideShow2.src = preLoad2[k].src
   if (document.all){
      document.images.SlideShow2.filters.blendTrans.Play()
   }
   k = k + 1
   if (k > (q-1)) k=0
   u = setTimeout('runSlideShow2()', slideShowSpeed2)
}
