var photos6=new Array()
var photoslink6=new Array()
var which6=0

// Définition du chemin de l'image. Vous pouvez en mettre aurant que vous le désirez
photos6[0]="images/diapo6/photo001.jpg"
photos6[1]="images/diapo6/photo002.jpg"
photos6[2]="images/diapo6/photo003.jpg"
photos6[3]="images/diapo6/photo004.jpg"
photos6[4]="images/diapo6/photo005.jpg"
photos6[5]="images/diapo6/photo006.jpg"
photos6[6]="images/diapo6/photo007.jpg"

// Spécifiez si l'image doit être cliquable ou pas : 0 = non - 1 = oui
var linkornot=0

// Inscrivez l'URL de chaque image entre les "". Ne le faire que si la variable ci-dessus est égale à 1 (linkornot=1)
photoslink6[0]=""
photoslink6[1]=""
photoslink6[2]=""

// NE RIEN EDITER AU-DESSOUS DE CETTE LIGNE.

var preloadedimages6=new Array()
for (i=0;i<photos6.length;i++){
preloadedimages6[i]=new Image()
preloadedimages6[i].src=photos6[i]
}


function applyeffect6(){
if (document.all && photoslider6.filters){
photoslider6.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider6.filters.revealTrans.stop()
photoslider6.filters.revealTrans.apply()
}
}



function playeffect6(){
if (document.all && photoslider6.filters)
photoslider6.filters.revealTrans.play()
}

function keeptrack6(){
window.status="Image "+(which6+1)+" of "+photos6.length
}


function backward6(){
if (which6>=0){
	if (which6==0){which6=6}
which6--
applyeffect6()
document.images.photoslider6.src=photos6[which6]
playeffect6()
keeptrack6()
}
}

function forward6(){
if (which6<=photos6.length-1){
which6++
if (which6==photos6.length-1){which6=0}	
applyeffect6()
document.images.photoslider6.src=photos6[which6]
playeffect6()
keeptrack6()
}
}

function transport6(){
window.location=photoslink6[which6]
}

