// JavaScript Document
function popant(nUrl,nNom,widthP,heightP)
{
  var top=(screen.height-heightP)/2;
  var left=(screen.width-widthP)/2;
  var options = 'width='+widthP+',height='+heightP+',top='+top+',left='+left+',scrollbars=yes,toolbar=no, menubar=no, location=0, resizable=no, status=no';

  // Ouvrir le popUp
  ant=window.open(nUrl,nNom,options);

  // Forcer le focus sur un PopUp d&#233;j&#224; ouvert
  if(ant.window.focus)
  	{
		ant.window.focus();
	}
}
function PopupImage(img,alt) { 
titre="Agrandissement";
var top=(screen.height-400)/2;
  var left=(screen.width-400)/2;
w=open("",'image','width=400,height=400,top='+top+',left='+left+',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='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
w.document.write("<TD valign='middle' align='center'><IMG src='"+img+"' border=0 alt='"+alt+"'>"); 
w.document.write("</TD></TR></TABLE>");
w.document.write("</BODY></HTML>"); 
w.document.close(); 
}