// JavaScript Document
var niveau ;
var netscape478 ;

if(page == "accueil")
{
	niveau = ""
}
else
{
	niveau = "../"
}

if(navigator.appName.indexOf("Netscape") != -1 && parseInt(navigator.appVersion.substr(0,1))<=4 )
{//si on est dans Netscape 4.78
	netscape478 = true ;
}

if(!netscape478)
{
	document.write('<link href="' + niveau + 'scripts/styles.css" rel="stylesheet" type="text/css">');
}
else
{  
	document.write('<link href="' + niveau + 'scripts/stylesnetscape478.css" rel="stylesheet" type="text/css">');
}


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