var slideShowSpeed = 5000

var crossFadeDuration = 6

var Pic = new Array()

Pic[0] = 'voyage-reve-egypte/croisiere-nil.jpg'

Pic[1] = 'voyage-reve-egypte/rive-nil.jpg'

Pic[2] = 'voyage-reve-egypte/nil.jpg'

Pic[3] = 'voyage-reve-egypte/cataracte-nil.jpg'

Pic[4] = 'voyage-reve-egypte/premiere-cataracte-nil.jpg'

Pic[5] = 'voyage-reve-egypte/coude-nil.jpg'

Pic[6] = 'voyage-reve-egypte/berges-nil.jpg'

Pic[7] = 'voyage-reve-egypte/peche-nil.jpg'

Pic[8] = 'voyage-reve-egypte/coucher-soleil-nil.jpg'

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)

}


