// JavaScript Document
var myslideShowSpeed = 5000
var mycrossFadeDuration = 3
var myPic = new Array() // don't touch this
myPic[0] = '/images/ss1_p2.jpg'
myPic[1] = '/images/ss1_p1.jpg'
myPic[2] = '/images/ss1_p3.jpg'
myPic[3] = '/images/ss1_p4.jpg'
myPic[4] = '/images/ss1_p5.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var tt
var jj = 0
var pp = myPic.length

var mypreLoad = new Array()
for (ii = 0; ii < pp; ii++){
   mypreLoad[ii] = new Image()
   mypreLoad[ii].src = myPic[ii]
}

function runSS1(){
   if (document.all){
      document.images.SS1.style.filter="blendTrans(duration=2)"
      document.images.SS1.style.filter="blendTrans(duration=mycrossFadeDuration)"
      document.images.SS1.filters.blendTrans.Apply()      
   }
   document.images.SS1.src = mypreLoad[jj].src
   if (document.all){
      document.images.SS1.filters.blendTrans.Play()
   }
   jj = jj + 1
   if (jj > (pp-1)) jj=0
   tt = setTimeout('runSS1()', slideShowSpeed)
}