<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

// popup sans scroll
F=0;
pop=0;
N=0
function popup(chaine,width,height,nom)
{
    N++;
	
    px = (screen.width-width)/ 2;
	py = (screen.height-height)/ 2;
	
	//alert(navigator.appName);
	
	navigateur = navigator.platform ;

	if (navigateur.indexOf('Mac')==-1)
	{
		
    if (F) 
	{
	   if (navigator.appName=='Netscape')
	   {
	       if (F.name){F.close();}
	   }
	   else
	   {
	        F.close();
	   }   
    }
	}
	else
	{
	    //alert('mac détecté');
	}
	
	F=window.open (chaine,nom,'location=no,toolbar=no,status=no,directories=no,scrollbars=no,width='+width+',height='+height+',left='+px+',top='+py);

}
