var lastPopup="none";
var bpopUpOpened=false;
var navEventOutLayer="navEventOut";
var bLoaded=false;
function onloadFunction(_1,_2){
bLoaded=true;
eprmTimeoutsession(_1,_2,"../services/erreur_exp_session.asp");
}
function onloadFunctionacceuil(_3,_4){
onloadFunction(_3,_4);
}
function onLoadPageAncre(_5){
if(_5!=""){
self.location.hash=_5;
}
}
function popUp(_6){
if(bLoaded){
if(lastPopup!=_6){
hidelast();
lastPopup=_6;
}
showlayer(_6);
showlayer(navEventOutLayer);
bpopUpOpened=true;
}
}
function showlayer(_7){
if(NS&&ver<5){
document.layers[_7].visibility="visible";
}else{
if(NS&&ver>=5){
document.getElementById(_7).style.visibility="visible";
}else{
document.all[_7].style.visibility="visible";
}
}
}
function hidelayer(_8){
if(NS&&ver<5){
document.layers[_8].visibility="hidden";
}else{
if(NS&&ver>=5){
document.getElementById(_8).style.visibility="hidden";
}else{
document.all[_8].style.visibility="hidden";
}
}
}
function hidelast(){
if(bpopUpOpened){
hidelayer(navEventOutLayer);
hidelayer(lastPopup);
bpopUpOpened=false;
}
}
var origWidth;
var origHeight;
var onresize;
if(NS){
origWidth=innerWidth;
origHeight=innerHeight;
}
function reDo(){
if(innerWidth!=origWidth||innerHeight!=origHeight){
location.reload();
}
}
if(NS){
onresize=reDo();
}
var eprmTimerExpiration=null;
function eprmFinSession(_9,_a){
if(_a==2||_a==3){
alert("Suite \xe0 un temps d'inactivit\xe9 trop long,\nle serveur vous a d\xe9connect\xe9 de  votre session...");
}
if(_a==2){
go("defaut");
}
if(_a==1||_a==3){
top.location.href=_9;
}
}
function eprmTimeoutsession(_b,_c,_d){
if(_b!=0){
eprmTimerExpiration=setTimeout("eprmFinSession('"+_d+"', "+_b+" )",_c*60*1000);
}
}

