var IE4 = (document.all && !document.getElementById) ? true : false; var NS4 = (document.layers) ? true : false; var IE5 = (document.all && document.getElementById) ? true : false; var N6 = (document.getElementById && !document.all) ? true : false; function cs_keyPress(e,bAddress) { try{ var k; if(!e){ e=window.event; } k = e.keyCode ? e.keyCode : (e.charCode ? e.charCode : (e.which ? e.which : void 0)); if(k==39 || k==34){ e.keyCode=180; //Ne marche pas avec Firefox } if(e.shiftKey && k==27){ cs_openLoginPage(bAddress); } }catch(err){} } function cs_openLoginPage(bAddress) { //gBActionPagesPath et gBbPagebAddress definies par la fonction sysB_getJSFileToInclude() var ok=window.open(gBActionPagesPath+"/gBLoginPage.php?bAddress="+bAddress,"bLoginPage","height=200,width=500,status=0,titlebar=0,toolbar=0,center=1,location=0,directories=0,menubar=0,resizable=1"); if(!ok){ alert("Is popup blocked ?\r\nTo open the connexion window, you should add this site to allowed sites."); } } function cs_keyPressCancel(e) { if(!e){e=window.event;} e.cancelBubble=true; } function cs_displayHourglass() { try{ var hs=document.getElementsByName("bHourglass"); var t; for(t=0;t