processLogin.prototype.process = function (result) { with (this) { var processTopBar = processlogin.autoProcessTopBar(); var rhtml = ""; var industry=-1; if (result.Id > 0) { $("#topStatusLogin").html("" + result.TrueName + ",您好!"); var reURL = window.location.href; var loginURL = $PASSPORT_URL + "/Passport.aspx?logout=1&reURL=" + encodeURIComponent(reURL); $("#topStatusRegister").html("注销").attr("href", loginURL).attr("target", "_self"); } } }