// (C) 2000 www.CodeLifter.com
// =======================================
// set the following variables
// =======================================

// Set SSSpeed (milliseconds)
var SSSpeed = 3500

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

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

Pic[0] = 'images/feature2-ewtm.jpg'
Pic[1] = 'images/feature2a-ewtm.jpg'
Pic[2] = 'images/feature2b-ewtm.jpg'
Pic[3] = 'images/feature2c-ewtm.jpg'
Pic[4] = 'images/feature2d-ewtm.jpg'
Pic[5] = 'images/feature2e-ewtm.jpg'
Pic[6] = 'images/feature2f-ewtm.jpg'
Pic[7] = 'images/feature2g-ewtm.jpg'
Pic[8] = 'images/feature2h-ewtm.jpg'
Pic[9] = 'images/feature3-ewtm.jpg'
Pic[10] = 'images/feature3a-ewtm.jpg'
Pic[11] = 'images/feature3b-ewtm.jpg'
Pic[12] = 'images/feature3c-ewtm.jpg'
Pic[13] = 'images/feature3d-ewtm.jpg'
Pic[14] = 'images/feature3e-ewtm.jpg'


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

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSS(){
   if (document.all){
      document.images.SS.style.filter="blendTrans(duration=2)"
      document.images.SS.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SS.filters.blendTrans.Apply()      
   }
   document.images.SS.src = preLoad[j].src
   if (document.all){
      document.images.SS.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSS()', SSSpeed)
}


