// (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

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000

// 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/conf/2004gal/001.jpg'
Pic[1] = '../images/conf/2004gal/002.jpg'
Pic[2] = '../images/conf/2004gal/003.jpg'
Pic[3] = '../images/conf/2004gal/004.jpg'
Pic[4] = '../images/conf/2004gal/005.jpg'
Pic[5] = '../images/conf/2004gal/006.jpg'
Pic[6] = '../images/conf/2004gal/007.jpg'
Pic[7] = '../images/conf/2004gal/008.jpg'
Pic[8] = '../images/conf/2004gal/009.jpg'
Pic[9] = '../images/conf/2004gal/010.jpg'
Pic[10] = '../images/conf/2004gal/011.jpg'
Pic[11] = '../images/conf/2004gal/012.jpg'
Pic[12] = '../images/conf/2004gal/013.jpg'
Pic[13] = '../images/conf/2004gal/014.jpg'
Pic[14] = '../images/conf/2004gal/015.jpg'
Pic[15] = '../images/conf/2004gal/016.jpg'
Pic[16] = '../images/conf/2004gal/017.jpg'
Pic[17] = '../images/conf/2004gal/018.jpg'
Pic[18] = '../images/conf/2004gal/019.jpg'
Pic[19] = '../images/conf/2004gal/020.jpg'
Pic[20] = '../images/conf/2004gal/021.jpg'
Pic[21] = '../images/conf/2004gal/022.jpg'
Pic[22] = '../images/conf/2004gal/023.jpg'
Pic[23] = '../images/conf/2004gal/024.jpg'
Pic[24] = '../images/conf/2004gal/025.jpg'
Pic[25] = '../images/conf/2004gal/026.jpg'
Pic[26] = '../images/conf/2004gal/027.jpg'
Pic[27] = '../images/conf/2004gal/028.jpg'
Pic[28] = '../images/conf/2004gal/029.jpg'
Pic[29] = '../images/conf/2004gal/030.jpg'
Pic[30] = '../images/conf/2004gal/031.jpg'
Pic[31] = '../images/conf/2004gal/032.jpg'
Pic[32] = '../images/conf/2004gal/033.jpg'
Pic[33] = '../images/conf/2004gal/034.jpg'
Pic[34] = '../images/conf/2004gal/035.jpg'
Pic[35] = '../images/conf/2004gal/036.jpg'
Pic[36] = '../images/conf/2004gal/037.jpg'
Pic[37] = '../images/conf/2004gal/038.jpg'
Pic[38] = '../images/conf/2004gal/039.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 runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}