var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); //let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var _LOAD_SCRIPT_=function(b,e){if(!e){_LOAD_SCRIPT_DELAY_(b);return;}var c=document.createElement("script");c.type="text/javascript";c.async=true;c.src=b;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(c,a);};var _G_SCRIPT_lIST_=[];var _LOAD_SCRIPT_DELAY_=function(a){_G_SCRIPT_lIST_[_G_SCRIPT_lIST_.length]=a;};var _RUNNING_LOAD_SCRIPT_=function(){if(_G_SCRIPT_lIST_&&_G_SCRIPT_lIST_.length>0){var e=document.getElementsByTagName("head")[0];for(var b=0;b<_G_SCRIPT_lIST_.length;b++){var a=_G_SCRIPT_lIST_[b];var c=document.createElement("script");c.type="text/javascript";c.async=true;c.src=a;e.appendChild(c);}}};if(document.attachEvent){window.attachEvent("onload",function(){_RUNNING_LOAD_SCRIPT_();});}else{window.addEventListener("load",function(a){_RUNNING_LOAD_SCRIPT_();},false);}function _LOAD_VIRTUAL_FUNCTION_(b,a){if(!a){window[b]=function(){};}else{window[b]=function(){return a;};}}function reSortDom(f,c){if(!f||!f.length){return[];}var g=[];for(var a=0,e=f.length;a(c?0:1)){var b=g[0][0].parentNode;g=g.sort(function(){return Math.random()-0.5;});b.innerHTML="";for(var a=0,e=g.length;a";var b="";for(var a in g){b+='";}if(b){b='
'+b+"
";}e=j?e+b:'
'+e+b+"
";f.innerHTML=e;document.body.appendChild(f);for(var a in g){if(g[a]=="close"){document.getElementById(i+"_"+a).onclick=function(){document.getElementById(i).style.display="none";};}else{if(typeof g[a]==="function"){document.getElementById(i+"_"+a).onclick=g[a];}}}M.lightBoxId=i;return f;},goExpr:function(e,a,c){if(!e){return;}if(e=="index.html"){M.setCookie("curr_page_sn","index",5,"");M.setCookie("region_id",0,5,"");if(c==2){location.href="/expr.html";}else{location.href="/";}}else{M.setCookie("curr_page_sn",0,5,"");M.setCookie("region_id",a,5,"");if(c==1){location.href="/"+e+"/blog.html";}else{if(c==2){location.href="/"+e+"/expr.html";}else{var b=location.href.split("/");if(b[b.length-1]=="expr.html"){location.href="/"+e+"/expr.html";}else{location.href="/"+e+"/";}}}}},setCookie:function(a,e,c,b){c=c||360;b=b?";domain="+b:";domain=";var f=new Date();f.setTime(f.getTime()+parseInt(c)*24*60*60*1000);document.cookie=a+"="+encodeURIComponent(e)+(c=="session"?"":";expires="+f.toGMTString())+b+";path=/";},getCookie:function(a){var f;if(document.cookie&&document.cookie!=""){var e=document.cookie.split(";");var g=e.length;for(var c=0;c载入中,请稍候...';M.showLoginBox.dom.setAttribute("id","_MLL_LOGIN_BOX");M.showLoginBox.dom.style.width="400px";}else{M.showLoginBox.dom.style.display="block";}M.showLoginBox.callback=b;if(M.showLoginBox.loginScript&&loginBox){loginBox.dom.style.display="block";if(a=="reg"){toggleToRegiste();}else{toggleToLogin();}}else{window._LoginType_=a;M.showLoginBox.loginScript=document.createElement("script");M.showLoginBox.loginScript.type="text/javascript";M.showLoginBox.loginScript.src="";document.getElementsByTagName("head")[0].appendChild(M.showLoginBox.loginScript);}},searchSuggest:{init:function(c,b){var a=this;a.data=a.data||{};a.data.obj=c;b=b||window.event;a.data.event=b;a.data.v=c.value;a.data.l=document.getElementById("JS_search_suggest");if(a.data.show&&(b.keyCode==38||b.keyCode==40)){a.data.focusOn=a.data.focusOn||0;a.data.arrow=b.keyCode-39;a.changeFocus();return false;}else{if(a.data.v==""){a.data.show=false;a.data.l.style.display="none";}else{a.get();}}},changeFocus:function(){var c=this;var b=c.data.focusOn+c.data.arrow;if(b>=0&&b<=c.data.jsonLength){var e=c.data.l.childNodes[b-1];for(var a=0;a0){c.data.obj.value=e.innerHTML;e.className="current";}if(b==0){c.data.obj.value=c.data.oldValue;}c.data.focusOn=b;}},get:function(){var a=this;a.data.cache=a.data.cache||{};if(a.data.timer){clearTimeout(a.data.timer);}a.data.timer=setTimeout(function(){a.data.v=a.data.obj.value;if(a.data.v==""){return false;}if(a.data.cache[a.data.v]){a.response(a.data.cache[a.data.v]);}else{M.ajax({url:"/search_suggest.html?act=search_suggest&k="+encodeURIComponent(a.data.v),dataType:"json",cache:true,success:function(b){a.data.cache[a.data.v]=b;a.response(b);}});}},500);},response:function(b){var f=this;if(b&&b.length){f.data.focusOn=0;f.data.jsonLength=b.length;var e="";for(var a=0;a'+b[a].keyword+"";}f.data.show=true;f.data.l.innerHTML=e;f.data.l.style.display="block";if(!f.data.blinkEvent){var c=document.body;if(c.addEventListener){c.addEventListener("click",function(){f.hide();},false);}else{if(c.attachEvent){c.attachEvent("onclick",function(){f.hide();});}}f.data.blinkEvent=true;}}else{f.hide();}},hide:function(){var a=this;a.data.l.style.display="none";a.data.show=false;}},ajax:function(a){var b=this;return new b.ajax.prototype.init(a);},sendSms:function(a){return new this.sendSms.prototype.init(a);}};M.ajax.prototype={init:function(b){var e=this;e.type=b.type||"GET";e.dataType=b.dataType||"html";e.success=b.success||false;e.error=b.error||false;e.url=b.url||"";e.data=b.data||"";e.cache=b.cache===false?false:true;e.request=e.getRequest();if(e.type=="GET"){var f=(e.url.indexOf("?")>-1)?"&":"?";e.url+=e.data?(f+e.data):"";}if(!e.cache){var a=new Date();a=a.getTime();var f=(e.url.indexOf("?")>-1)?"&":"?";e.url+=f+"_="+a;}if(e.request){var c=e.request;c.onreadystatechange=e.bindFunction(e.stateChange,e);c.open(e.type,e.url,true);if(e.type=="POST"){c.setRequestHeader("Content-type","application/x-www-form-urlencoded");}c.send(e.data);}},getRequest:function(){if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP");}else{if(window.XMLHttpRequest){return new XMLHttpRequest();}}return false;},bindFunction:function(b,a){return function(){return b.apply(a,[a]);};},stateChange:function(object){that=this;if(that.request.readyState==4){if(that.request.status==200){if(that.dataType=="json"){try{if(typeof JSON==="object"){var json=JSON.parse(that.request.responseText);}else{var json=eval("("+that.request.responseText+")");}}catch(e){if(that.error){that.error();return false;}}if(typeof json==="object"){if(that.success){that.success(json,that.request.status,that.request);return true;}}else{if(that.error){that.error();return false;}}}else{if(that.success){that.success(that.request.responseText,that.request.status,that.request);return true;}}}else{if(that.error){that.error(that.request);return false;}}}}};M.ajax.prototype.init.prototype=M.ajax.prototype;M.sendSms.prototype={constructor:M.sendSms,init:function(a){if(!a){return;}if(M._currentSendSmsBox){M._currentSendSmsBox.remove();}this.exprId=a;this.dom=this.show();M._currentSendSmsBox=this;this.msgBox=M.$("#_JS_sndSms_msg_box_");this.inpt=M.$("#_JS_sndSms_input_");},show:function(){var b="";var a="请输入您的手机号";return M.lightBox('',{},true);},remove:function(){if(M._currentSendSmsBox&&M._currentSendSmsBox.dom){document.body.removeChild(M._currentSendSmsBox.dom);M._currentSendSmsBox=null;}},send:function(){var a=parseInt(M._currentSendSmsBox.inpt.value.replace(/\D/g,""));M._currentSendSmsBox.inpt.value=a||"";if(!a){M._currentSendSmsBox.msg("请输入正确手机号码。");return;}M._currentSendSmsBox.msg("发送中...");M.ajax({url:"/ajax_ajax.html?act=send_expr_message&expr_id="+M._currentSendSmsBox.exprId+"&mobile="+a,dataType:"json",success:function(b){if(b.msg=="发送成功"){M._currentSendSmsBox.msg(b.msg+",本窗口将在2秒后自动关闭。",true);setTimeout(M._currentSendSmsBox.remove,4000);}else{M._currentSendSmsBox.msg(b.msg);}},error:function(){M._currentSendSmsBox.msg("发送失败");}});},msg:function(b,c){var a=c?"-14":"-32";b=''+b+"";M._currentSendSmsBox.msgBox.innerHTML=b;},keyPress:function(a){a=a||window.event;if(a.keyCode==13){M._currentSendSmsBox.send();}}};M.sendSms.prototype.init.prototype=M.sendSms.prototype;function MLLBanner(lists,setting){if(!(lists&&lists.length)){return false;}var banner=[],doc=document,tmpId=(new Date()).getTime().toString(36),length=lists.length,now,next,over,outStep,inStep,countList=[],focus=true,must=false;var defaultSetting={width:980,height:60,domId:"JS_banner",delay:6000,inTimer:600,outTimer:300,stepTimer:40};var timeDefaultSetting={content:"$D天 $H:$I:$S",style_position:"absolute","style_margin-left":"600px","style_margin-top":"15px","style_font-size:":"16px"};setting=mergeSetting(defaultSetting,setting);var bannerDom=doc.getElementById(setting.domId);if(!bannerDom){return false;}bannerDom.style.display="block";outStep=100/(setting.outTimer/setting.stepTimer);inStep=100/(setting.inTimer/setting.stepTimer);var Banner=function(info,key){this.info=info||[];this.key=key;this.opacity=0;this.createHTML();};Banner.prototype={createHTML:function(){this.html='";},changeOpacity:function(to){if(this.box.filters){this.box.filters.alpha.opacity=to;}else{this.box.style.opacity=to/100;}if(to<=0){this.box.style.display="none";}else{this.box.style.display="block";}this.opacity=to;}};function mergeSetting(defaultSetting,setting){setting=setting||{};for(var k in defaultSetting){if(setting[k]===undefined){setting[k]=defaultSetting[k];}}return setting;}function switchBanner(){if(over&&!must){return;}if(!focus&&!must){return;}next=(now+1)%length;if(banner[now].opacity>0){banner[now].changeOpacity(banner[now].opacity-outStep);must=true;setTimeout(switchBanner,setting.stepTimer);}else{if(banner[next].opacity<100){banner[next].changeOpacity(banner[next].opacity+outStep);must=true;setTimeout(switchBanner,setting.stepTimer);}else{must=false;now=next;}}}function styleToString(style){var r=[];for(var key in style){if(key.indexOf("style_")===0){r.push(key.replace("style_","")+":"+style[key]);}}return r.join(";");}function toSecond(string){var t=string.split("-").join(",");eval("var d = new Date('"+t+"')");return d.getTime();}function count(){for(var k=0,kk=countList.length;k1){setInterval(switchBanner,setting.delay);}}(function(e,c,g){g=g||{};var f,a=document.body,b=c.getElementsByTagName("head")[0];g.typeOf=function(h){var i=typeof h;if(i=="object"&&i!="string"&&h.length){i="array";}return i;};g.extend=function(j,i){j=j||{};i=i||{};for(var h in i){j[h]=i[h];}return j;};g.addHandler=function(l,k,j,i){function h(n){var m=n?n:window.event;m.target=n.target||n.srcElement;return j.apply(i||this,arguments);}l.eventHash=l.eventHash||{};(l.eventHash[k]=l.eventHash[k]||[]).push({name:k,handler:j,fn:h,scope:i});if(l.addEventListener){l.addEventListener(k,h,false);}else{if(l.attachEvent){l.attachEvent("on"+k,h);}else{l["on"+k]=h;}}};g.removeHandler=function(n,m,l,k){n.eventHash=n.eventHash||{};var j=n.eventHash[m]||[],i=j.length;if(i>0){for(;i--;){var h=j[i];if(h.name==m&&h.handler===l&&h.scope===k){if(n.removeEventListener){n.removeEventListener(m,h.fn,false);}else{if(n.detachEvent){n.detachEvent("on"+m,h.fn);}else{n["on"+m]=null;}}j.splice(i,1);break;}}}};g.$=function(h,k){if(!k){k=document;}if(g.typeOf(k)==="string"){k=(g.$(k)||document);}if(h.indexOf("#")==0){var m=document.getElementById(h.substr(1));if(m&&m.nodeName){m.length=1;}}else{if(h.indexOf(".")==0){var m=[],l=k.getElementsByTagName("*");for(var j=0;j-1){m.push(l[j]);}}}else{var m=k.getElementsByTagName(h);}}return m;};g.addClass=function(j,l){if(j&&j.className){var m=j.className.split(" ");}if(m&&m.length){for(var h=0,i=m.length;hthis._d){if(M.typeOf(this.callback)=="function"){this.callback();}return;}else{if(this._stop){return;}else{for(var a in this.list){var b=this.tween[this.tweenType](this._t,this._b[a],this._c[a],this._d)+(("opacity|".indexOf(a+"|")>-1)?"":"px");this.dom.style[a]=b;}this._t++;requestAnimFrame(M.bindFunction(this,this.run),this.preTime);}}},stop:function(){this._stop=true;},tween:{easeIn:function(e,a,g,f){return g*(e/=f)*e*e*e+a;},easeOut:function(e,a,g,f){return -g*((e=e/f-1)*e*e*e-1)+a;},easeInOut:function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e+a;}return -g/2*((e-=2)*e*e*e-2)+a;},linear:function(e,a,g,f){return g*e/f+a;}}};M.Animate.prototype.init.prototype=M.Animate.prototype; }