<!--
/***********************************************
* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
// Définition du chemin de l'image. Vous pouvez en mettre aurant que vous le désirez

// 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)
photoslink[0]=""
photoslink[1]=""
photoslink[2]=""

// NE RIEN EDITER AU-DESSOUS DE CETTE LIGNE.

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}


function keeptrack(){
window.status="Image "+(which+1)+" of "+photos.length
}


function backward(){
if (which>0){
which--

document.images.photoslider.src=photos[which]

keeptrack()
}
}

function forward(){
if (which<photos.length-1){
which++

document.images.photoslider.src=photos[which]

keeptrack()
}
}


function PopupImage() { 
titre="Agrandissement"; 
w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no'); 
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>"); 
w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
w.document.write("<TABLE width='90%' border='4' cellspacing='0' cellpadding='0' height='90%'><TR>");
w.document.write("<TD valign='middle' align='center'><IMG src='"+photos[which]+"'  width=350 height=300    border=0 alt=' Image dans pop-up '>"); 
w.document.write("</TD></TR></TABLE>");
w.document.write("</BODY></HTML>"); 
w.document.close();
} 

function ClosePopupImage () {
w.document.write()
}

//-->