if (parent.document.layers || document.layers) nv="sn";
if (document.all) nv="s";
if (document.getElementById&&!document.all) nv="st";
tac=Math.round(screen.width*18/1280);
tap=Math.min(Math.floor(screen.width/256)-1, 4);
document.writeln('<style type=text/css><!--');
document.writeln('body* {font-size:'+tac+'px;}');
document.writeln('.fd {background-image: url(../fond'+tap+'.gif);}');
document.writeln('div a {background-image: url(../puce'+tap+'.gif);}');
document.writeln('div a:hover {background-image: url(../puce'+tap+'h.gif);}');
document.writeln('--></style>');
document.writeln('<link rel="stylesheet" href="../'+nv+'.css" type="text/css">');

cha=new RegExp("&","g");
re=document.referrer.replace(cha,"§");
ref=re.split("/");
ref1=location.href.split("/");

function nav(){
xhr = null; 
if(window.XMLHttpRequest){
xhr = new XMLHttpRequest();
asp();
}
else if(window.ActiveXObject){
xhr = new ActiveXObject("Microsoft.XMLHTTP");
asp();
}
else{
return false;
}
}

function asp(){
xhr.open("POST","../ajax.aspx",false);
xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xhr.send("env="+re);
}

if (ref[2]!=ref1[2]){
nav();
}
