$(document).ready(function(){var n=window.mzMember||new function(){var n=this;return n.window=function(n){external.window({url:""+$e.config("serverurl")+"?do="+n+"&"+Math.random(),modal:!0,closeCallback:function(n){n.isLogin&&window.location.reload()}})},n.doLogin=function(){n.window("login")},n.doRegister=function(){n.window("register")},n.buildMenu=function(){external.menu("登录(&R)",n.doLogin),external.menu("注册(&R)",n.doRegister)},n.init=function(){setInterval(function(){document.location.reload()},15e4)},n};window.popmenu=function(){var t=fetchoffset($("#membermenu").get(0));return external.menu("init"),n.buildMenu(),external.menu("show",t.x,t.popy<0?t.y:t.popy),!1},window.avatarError=function(n){n.onerror=null,n.src="mz://image/avatar.gif"},window.onload=function(){var t=function(){$("#membermenu").css("opacity","0.4")};$("#avatar").on({mouseover:function(){$("#membermenu").css("opacity","0.7")},mouseout:t});$("#avatarImg").on("click",function(){window.popmenu()});n.init(),window.onblur=t,document.onblur=t}})