function PopupImage(img) {
	titre="Figures";
	w=open("",'image','width=200,height=200,toolbar=no,scrollbars=no,resizable=yes');	
	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+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0 bgcolor=#80FFFF onBlur=window.close('self')><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
	}   

function ouvreDONCCETTEFenetre(page, largeur, hauteur) {
  window.open(page, "", "scrollbars=no,menubar=no,toolbar=no,resizable=yes,width=500"
              + largeur + ",height=300" + hauteur);
 }

function ouvreFenetre(page, largeur, hauteur) {
  window.open(page, "", "scrollbars=no,menubar=no,toolbar=no,resizable=yes,width="+largeur+
              ", height=" + hauteur);
}

 
 function ouverture()
{  
w=window.open("chargement.html", "ouverture", "toolbar=no, status=no, scrollbars=no, location=no, menubar=no, resizable=no, width=200, height=100, top=300,left=400");
}
function fermer()
{if (w.document){w.close();}}

function netie(net, ie) {
  if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))
    return true;
else return false;
}
