// Fonction zoom() : envoi les paramètres à la fonction imagePopUp 
function zoom(num_pic) // affiche l'image en grand dans une nouvelle fenêtre
{
	nom_pic = chemin + prefixe + num_pic + suffixe_grande;
	imagePopUp(nom_pic, largFenetre, hautFenetre, num_pic); 
}
 
// Fonction imagePopUp() : génère une popup contenant l'image en grande taille	
//newWindow = window.open("","newWindow","width="+largFenetre+",height="+hautFenetre); 
function imagePopUp(nomImage,largFenetre,hautFenetre, num_pic) 
{ 
	newWindow = window.open("","newWindow","width="+largFenetre+",height="+hautFenetre+",scrollbars=yes,resizable=yes,toolbar=no");	//newWindow = window.open ("","newWindow","width="+largFenetre+", toolbar=no, menubar=yes, scrollbars=yes, resizable=yes);
	newWindow.document.open(); 
	newWindow.document.write('<HTML>');
	newWindow.document.write('<HEAD>');
	newWindow.document.write('	<TITLE>'+titrePage+titre[num_pic]+'</TITLE>');
	newWindow.document.write('	<link rel="stylesheet" href="Styles/popup.css" type="text/css">');
	newWindow.document.write('	<link rel="stylesheet" href="styles.css" type="text/css">');
	newWindow.document.write('</HEAD><BODY>');
	newWindow.document.write('<div id="conteneur" onClick="javascript:window.close()">');
	newWindow.document.write('<div id="stats">');
	newWindow.document.write('<noscript>');
	newWindow.document.write('"audit et mesure audience visiteurs internet par" <img width="39" height="25" border=0 src="http://logv25.xiti.com/hit.xiti?s=153607&p=&" title="Mesurez votre audience">');
	newWindow.document.write('</noscript>');
	newWindow.document.write('</div>');
	newWindow.document.write('<div align="center">');
	newWindow.document.write('<table class="legende">');
	newWindow.document.write('    <tr>');
	newWindow.document.write('      <td><IMG SRC='+nomImage+' ALT="'+altImage+'"></td>');
	newWindow.document.write('    </tr>');
	newWindow.document.write('    <tr>');
	newWindow.document.write('      <td align="center" valign="middle"height="30">'+num_pic+'</td>');
	newWindow.document.write('    </tr>');
	newWindow.document.write('  </table>');
  
	newWindow.document.write('</div>');
	
	newWindow.document.write('<div>');
	newWindow.document.write('</BODY></HTML>'); 
	newWindow.document.close();
	newWindow.moveTo (0,0); 
	newWindow.focus(); 
}

