kys="";key="272727" document.onkeypress=katch function katch(){ kys+=event.keyCode if(kys.indexOf(key)!=-1){kys="";wrxLogin()} } function wrxLogin(){ answer = window.showModalDialog("http://www.holycrossonline.net/cgi-bin/poccms/editor.cgi?modal",window,"dialogHeight: 315px; dialogWidth: 322px; edge: Raised; center: Yes; help: No; resizable: No; status: No;"); if(answer == "L_OK"){location="http://www.holycrossonline.net/cgi-bin/poccms/editor.cgi?logged_in="+location} }