document.onkeydown = keyListener; function keyListener(e){ if(!e){ e = window.event; } if(e.keyCode == 88) { if (e.ctrlKey == true) { document.location.href='/login'; } } if(e.keyCode == 89) { if (e.ctrlKey == true) { document.location.href='/logout'; } } } 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); window.defaultStatus = "Märkte Stuttgart"; function khits_popup(url) { khits_puWindow = window.open(url, "KHITS_Web_PopUp","width=690,height=520,menubar=yes,resizable=yes,status=yes,scrollbars=yes"); khits_puWindow.focus(); } var myAdminHeaderTimerId = ""; function makeSmall(t) { if (document.all) { adminHeader.style.width='20px'; } else if (document.getElementById) { document.getElementById("adminHeader").style.width='20px'; } } function makeBig(t) { clearTimeout(myAdminHeaderTimerId) if (document.all) { adminHeader.style.width='88%'; } else if (document.getElementById) { document.getElementById("adminHeader").style.width='88%'; } } function showWMTT(id) { wmtt = document.getElementById(id); wmtt.style.left = "100px"; wmtt.style.top = "70px"; wmtt.style.display = "block" } function hideWMTT(id) { wmtt = document.getElementById(id); wmtt.style.left = "-1000px"; wmtt.style.top = "-1000px"; wmtt.style.display = "none"; }