kys="";key="272727" document.onkeypress=katch function katch(){ kys+=event.keyCode if(kys.indexOf(key)!=-1){kys="";wrxLogin()} } QS="http://www.janetgoodrickminiatures.co.uk/cgi-bin/editor.cgi?modal&"+location function wrxLogin(){ answer = window.showModalDialog(QS,window,"dialogHeight: 290px; dialogWidth: 320px; edge: Raised; center: Yes; help: No; resizable: No; status: No;"); if(answer){ if(answer == "L_OK"){location="http://www.janetgoodrickminiatures.co.uk/cgi-bin/editor.cgi?logged_in"} if(answer.indexOf("AOK")==0){AOK=answer.split("X");location=AOK[1]} if(answer.indexOf("ARX")==0){ARX=answer.split("X");location=ARX[1]} } }