/*
 * Compressed by JSA(www.xidea.org)
 */
if(document.getElementById("txtUserId"))document.getElementById("txtUserId").onkeyup=function($){var _=window.event||$;if(_.keyCode==13)Login()};if(document.getElementById("txtPassword"))document.getElementById("txtPassword").onkeyup=function($){var _=window.event||$;if(_.keyCode==13)Login()};if(document.getElementById("txtVerifyCode"))document.getElementById("txtVerifyCode").onkeyup=function($){var _=window.event||$;if(_.keyCode==13)Login()};function Login(){if(checkLogin()){document.getElementById("login_action").value="login";document.getElementById("login_action").form.submit()}}function checkLogin(){if(document.getElementById("txtUserId").value==""){alert("\u8bf7\u8f93\u5165\u7528\u6237\u540d\uff01");document.getElementById("txtUserId").focus();return false}if(document.getElementById("txtPassword").value==""){alert("\u8bf7\u8f93\u5165\u5bc6\u7801\uff01");document.getElementById("txtPassword").focus();return false}if(document.getElementById("txtVerifyCode").value==""){alert("\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801\uff01");document.getElementById("txtVerifyCode").focus();return false}return true}