var numero;

function PopupImage(img) { titre="Un double clic ferme l'image";
	w=open("",'image','width=800,height=600,toolbar=no,scrollbars=no,location=no,resizable=no,status=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,document.images[0].height+50); window.focus();} else { setTimeout('checksize()',250) } }</"+"script>");
	w.document.write("<BODY onload='checksize()' onblur='window.close()' ondblclick='window.close()' leftMargin='0' topMargin='0' marginwidth='0' marginheight='0'>");
	w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
	w.document.write("<TD valign='middle' align='center'><img src='"+img+"' border='0' alt='Mon image'/>");
	w.document.write("</TD></TR></TABLE>");w.document.write("</BODY></HTML>");
	w.document.close();}

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
