// 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
function imagePopUp(nomImage,largFenetre,hautFenetre, num_pic) 
{ 
	newWindow = window.open("","newWindow","width="+largFenetre+",height="+hautFenetre); 
	newWindow.document.open(); 
	newWindow.document.write('<HTML>');
	newWindow.document.write('	<link rel="stylesheet" href="Styles/popup.css" type="text/css">');
	newWindow.document.write('	<TITLE>'+titrePage+titre[num_pic]+'</TITLE><BODY bgcolor="#'+couleurFondPage+'" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">'); 	
	newWindow.document.write('<div align="center">');
	newWindow.document.write('<table border="0" cellspacing="0" cellpadding="0" class="legende"width="100%" height="100%">');
	newWindow.document.write('    <tr>');
	newWindow.document.write('      <td align="center" valign="middle"><IMG SRC='+nomImage+' ALT="'+altImage+'"></td>');
	newWindow.document.write('    </tr>');
	newWindow.document.write('    <tr>');
	newWindow.document.write('      <td align="center" valign="middle"height="30">'+titre[num_pic]+'</td>');
	newWindow.document.write('    </tr>');
	newWindow.document.write('  </table>');
  
	newWindow.document.write('</div>');
	newWindow.document.write('</BODY></HTML>'); 
	newWindow.document.close();
	newWindow.moveTo (0,0); 
	newWindow.focus(); 
} 




