msiemacsize = 0;
function isaMac() { if (navigator.appVersion.indexOf("PPC") != -1 || navigator.appVersion.indexOf("68K") != -1) return true; else return false; }
    if (navigator.appName == "Microsoft Internet Explorer" && isaMac() && parseInt(navigator.appVersion) <= 4 && navigator.appVersion.indexOf('MSIE 5') == -1)  msiemacsize = 14;

function popup(goPage,nom,windowWidth,windowHeight) 
        {
                if (parseInt(navigator.appVersion) >= 4) { wX = (screen.width/2)-(windowWidth/2+10); wY = (screen.height/2)-(windowHeight/2+20); }
                else { wX = 0; wY = 0; }
                
                var popped = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+msiemacsize)+',status=no,menubar=no,resizable=yes,scrollbars=no,screenX='+wX+',screenY='+wY+',left='+wX+',top='+wY);
                if (navigator.appName=="Netscape" || document.all) popped.focus();
 }
 
 function popup2(goPage,nom,windowWidth,windowHeight) 
        {
                if (parseInt(navigator.appVersion) >= 4) { wX = (screen.width/2)-(windowWidth/2+10); wY = (screen.height/2)-(windowHeight/2+20); }
                else { wX = 0; wY = 0; }
                
                var popped = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+msiemacsize)+',status=no,menubar=no,resizable=yes,scrollbars=yes,screenX='+wX+',screenY='+wY+',left='+wX+',top='+wY);
                if (navigator.appName=="Netscape" || document.all) popped.focus();
 }

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function closeThis()
	{
		  window.close()
}

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);