function preChgPwd(){var n=$("#pwd_tbNew").val(),t=$("#pwd_tbVerify").val();return n.length<3?showAndExit("请输入有效的新密码！"):t==""?showAndExit("请输入确认新密码！"):n!=t?showAndExit("两次输入的新密码不一致！"):!0}function pwdKeydown(){var n=getKeyCode()==13;return n&&$("#pwd_tbNew").val()!=""&&($("#pwd_tbVerify").val()==""?$("#pwd_tbVerify").focus():$("#pwd_btnChange").click()),!n}function returnTo(n){if(getUrlParam("alone",n)=="1")location=n;else{var t=!1;try{t=document.domain==parent.document.domain}catch(i){}t?/^datacenter\.aspx/i.test(n)?parent.location=n:top.location=/^default\.aspx/i.test(n)?n:"default.aspx?src="+$.url.encode(n):location=n}}self!=parent&&location.href.indexOf("top=1")>-1&&(getTop().location=location);$(function(){var n=$(window).load(function(){$("#box_Body input:first").focus();$("#box_close").removeAttr("onclick").click(function(){self!=parent?location="home.aspx":(opener="",close())})});$.browser.isMobile||n.resize(function(){$("#box_popup").is(":visible")&&ShowPop("box_popup",!1)})})