// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = PicSlideShow1.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = PicSlideShow1[i]
}

function runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)"
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow1.filters.blendTrans.Apply()      
   }
   document.images.SlideShow1.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow1()', slideShowSpeed)
}
window.onload=new Function("runSlideShow1()");