// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

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

// 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] = 'webart/website/logos/Logo_Groveko.png'
Pic[1] = 'webart/website/logos/Logo_Bankstel_Aanhuis.png'
Pic[2] = 'webart/website/logos/Logo_Drukwerk_Expert.png'
Pic[3] = 'webart/website/logos/Logo_Ab_Ire.png'
Pic[4] = 'webart/website/logos/Logo_Glasvezelbehang_Aanhuis.png'
Pic[5] = 'webart/website/logos/Logo_JV_Marketing.png'
Pic[6] = 'webart/website/logos/Logo_Marmoleum_Aanhuis.png'
Pic[7] = 'webart/website/logos/Logo_Max4Kids.png'
Pic[8] = 'webart/website/logos/Logo_Merxx.png'
Pic[9] = 'webart/website/logos/Logo_ABC_Display.png'
Pic[10] = 'webart/website/logos/Logo_Covers.png'
Pic[11] = 'webart/website/logos/Logo_DL_1961.png'
Pic[12] = 'webart/website/logos/Logo_I_Scope.png'
Pic[13] = 'webart/website/logos/Logo_Glaswacht.png'
Pic[14] = 'webart/website/logos/Logo_Mooi_Op_De_Muur.png'
Pic[15] = 'webart/website/logos/Logo_PBM_Disposables.png'
Pic[16] = 'webart/website/logos/Logo_Siefers_Opticum.png'
Pic[17] = 'webart/website/logos/Logo_Sterko_Nederland.png'
Pic[18] = 'webart/website/logos/Logo_Timp_Simons.png'
Pic[19] = 'webart/website/logos/Logo_Webservices.png'
Pic[20] = 'webart/website/logos/Logo_Vallei_Auto_Groep.png'

// =======================================
// 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)
}
