// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pics2 = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below


Pics2[0] = 'images/ss1.jpg'
Pics2[1] = 'images/ss3.jpg'
Pics2[2] = 'images/ss2.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pics2.length


var preLoad3 = new Array()
for (i = 0; i < p; i++){
   preLoad3[i] = new Image()
   preLoad3[i].src = Pics2[i]
}

function runSlideShow3(){
   if (document.all){
      document.images.SlideShow3.style.filter="blendTrans(duration=2)"
      document.images.SlideShow3.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow3.filters.blendTrans.Apply()
   }
   document.images.SlideShow3.src = preLoad3[j].src
   if (document.all){
      document.images.SlideShow3.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow3()', slideShowSpeed)
}
