// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

function doOnload() { 
        runSlideShow350x200() 
}

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed350x200 = 5000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
// to add more images, just continue
// the pattern, adding to the array below

var Pic350x200 = new Array()
Pic350x200[0] = 'photos/350x200/1.jpg'
Pic350x200[1] = 'photos/350x200/2.jpg'
Pic350x200[2] = 'photos/350x200/3.jpg'
Pic350x200[3] = 'photos/350x200/4.jpg'
Pic350x200[4] = 'photos/350x200/5.jpg'
Pic350x200[5] = 'photos/350x200/6.jpg'
Pic350x200[6] = 'photos/350x200/7.jpg'
Pic350x200[7] = 'photos/350x200/8.jpg'
Pic350x200[7] = 'photos/350x200/9.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t350x200

var j350x200 = 0

var p350x200 = Pic350x200.length

var preLoad350x200 = new Array()

for (i = 0; i < p350x200; i++){
   preLoad350x200[i] = new Image()
   preLoad350x200[i].src = Pic350x200[i]
}

function runSlideShow350x200(){
   if (document.all){
      document.images.SlideShow350x200.style.filter="blendTrans(duration=2)"
      document.images.SlideShow350x200.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow350x200.filters.blendTrans.Apply()     
   }
   
   document.images.SlideShow350x200.src = preLoad350x200[j350x200].src
   
   if (document.all){
      document.images.SlideShow350x200.filters.blendTrans.Play()
   }
   
   j350x200 = j350x200 + 1
   
   if (j350x200 > (p350x200-1)) j350x200=0
   
   t350x200 = setTimeout('runSlideShow350x200()', slideShowSpeed350x200)
}