if (top.location !== self.location) { top.location=self.location; } function window_onload() { usernameshow.focus(); } function gook() { if (usernameshow.value == "@xcxc.cn") { alert("帐号或用户名不可为空"); usernameshow.focus(); return ; } if (pwshow.value == "") { alert("密码不可为空"); pwshow.focus(); return ; } f1.saveUser.value = showsaveUser.checked; f1.username.value = usernameshow.value; f1.SecEx.value = showSecEx.checked; f1.pwhidden.value = encode(pwshow.value, parseInt(f1.picnum.value)); f1.submit(); } function encode(datastr, bassnum) { var tempstr; var tchar; var newdata = ""; for (var i = 0; i < datastr.length; i++) { tchar = 65535 + bassnum - datastr.charCodeAt(i); tchar = tchar.toString(); while(tchar.length < 5) { tchar = "0" + tchar; } newdata = newdata + tchar; } return newdata; } document.write("
") document.write("| 帐号: | |
| 密码: | |
| 增强安全 ") document.write(" | |
| [忘记密码] [使用帮助] | |