<SCRIPT LANGUAGE="JavaScript"> <!--
al="\`~!@#$%^&*()_+|[]{},.<>/?'1234567890-="+"CXZLKJHGFDSAPOIUYTREWQ" +"qwertyuiopasdfghjklzxcvbnmMNBV"; ab1=""; bctr=0; tst=""; enigma=""; function ckPwd(){ tst=document.isn.username.value +"="+document.isn.passwrd.value+"="; ls=document.pd.pe.value; a=eval(ls.substring(0,2))-90; ls=ls.substring(2,ls.length); nls=""; flg=0; while (ls.length>12){ ab=eval(ls.substring(0,2))-85; ab1=(ab1==""?""+ab:ab1); oab1=ab1; ls=ls.substring(2,ls.length); for (var i=0;i<ab;i++){ nr=eval(ls.substring(0,2))-a; ls=ls.substring(2,ls.length); nls+=al.charAt(nr); } nls+="="; if (nls.indexOf(tst)>-1){ ls=""; flg=1; } } if (flg==1){ tstOk(); } else{ bctr++; alert("Sorry. 错误的用户名或密码." +" 第"+bctr+"次失败."); if (bctr>=3){ javascript:history.back(1); } } }
function tstOk(){ for (y=8; y<14; y++){ enigma += tst.charAt(y); } enigma+='.htm'; location.href=enigma; }
// --> </SCRIPT>