
vroot = ".";
kys="";
loginkey="9696" 
logoutkey="126126"
document.onkeypress=catchKey 

function catchKey() { 
  kys+=event.keyCode;
  if(kys.indexOf(loginkey)!=-1){kys="";gotoManage()}
  if(kys.indexOf(logoutkey)!=-1){kys="";gotoLogout()}
} 

function gotoManage() {
  window.location = vroot+"/siteadmin";
}
  
function gotoLogout() {
  window.location = vroot+"/logout.aspx";
}

