popup=0

function popupphoto(nom){
if (popup==1){photo.close()}
popup=1;
photo = open("","photo","height=300,width=300,left=100,top=100,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,","true");
photo.document.write("<title>Agrandissement de la photo</title>");
photo.document.write("<a href=\"javascript:window.close()\"><img alt=\"Cliquer pour fermer la fen&ecirc;tre\" src="+nom+" style=\"position:absolute;top:0;left:0\" border=0></a>")
while (photo.document.images[0].complete == false) {}
	photo.resizeTo((photo.document.images[0].width+10),(photo.document.images[0].height+35)); 
	photo.focus();

}