text: F.module("common/result_page",function(c,b,a){b.createResulPageLink=function(d){if(!d||!d.wd){return""}if(!d.tn){d.tn="baidutop10"}return"http://www.baidu.com/s?wd="+encodeURIComponent(d.wd)+"&ie=utf-8&tn="+d.tn}});F.module("superplus:common/image_lazy_load",function(c,f,m){var e=m.base;var l=0;var k=0;var h=[];var d=false;f.isVisible=function(r,t){if(!j(r)){return false}var E=t?0:60;var w=t?0:60;var B={};try{B=$(r).offset()}catch(C){B={left:0,top:0}}var p=$(document).scrollTop();var y=$(document).scrollLeft();var x=$(window).width();var v=$(window).height();var A=B.left-E,q=B.top-w,z=B.left+r.offsetWidth+E,o=B.top+r.offsetHeight+w,s=y,D=p,n=y+x,u=p+v;return A<=n&&q<=u&&z>=s&&o>=D};var b=function(n){if($(n).attr("data-loaded")=="1"){return true}return false};var a=function(o){var n=function(){if(h.length===0){window.clearInterval(l);d=false;return}for(var p=0;p<h.length;p++){var r=h[p];if(!b(r)&&f.isVisible(r)){if($(r).attr("data-loadfunc")!="1"){$(r).attr("data-loadfunc","1");$(r).bind("load",function(t){var v=this;$(this).attr("data-loaded",1);for(var s=0;s<h.length;s++){var u=h[s];if(v===u){h.splice(s,1)}}})}var q=$(r).attr("data-src")+"";if(q.indexOf("http")>-1||q.indexOf("https")>-1){$(r).attr("src",q);r.removeAttribute("data-src")}}}};if(o){n();return}if(!d){d=true;l=window.setInterval(function(){n()},300)}};f.scanAndDoRender=function(o,q){var n=false;if(!o){o=document.body;n=true}var p=[];$.each(o.getElementsByTagName("img"),function(r,s){if($(s).attr("data-src")&&!b(s)){p.push(s)}});if(n){h=p}else{h=h.concat(p)}a(q)};var g=function(){$.each(["resize","scroll","load","cardrender"],function(n,o){$(window).bind(o,function(p){if(s_session.index_off==true){return}if(k){window.clearTimeout(k)}k=window.setTimeout(function(){k=0;f.scanAndDoRender()},20);p.stopPropagation()})})};function j(n){var o=n.getBoundingClientRect();return !!(o.bottom-o.top)}f.init=function(){f.scanAndDoRender(null,true);g()}});F.addLog("superplus:skeleton",{navShow:"0100000000",modShow:"1100000000",modClick:"1100000001",modWheel:"1100000002"});F.addLog("superplus:guide",{xguideShow:"1000000000",xguide:"1000000001",xmanGuideShow:"1100100000",xmanGuideClick:"1100200001",tripEntranceClick:"1100300001",tutorialClick:"1100400001",zeroOpacityClick:"1100500001"});F.addLog("superplus:setting",{modOperate:"0900100001",webOperate:"0900200001",modConfirmOperate:"0900300001"});F.addLog("superplus:weather",{weatherShow:"5000000000",settingShow:"5000100000",settingClick:"5000100001",settingOperate:"5000100002",layerOperate:"5000000002"});F.addLog("superplus:mt",{msgShow:"0400000000",msgItemClick:"0400100001",msgItemDelClick:"0400400001",msgBtnClick:"0400500001",msgHide:"0400600002",msgItemShow:"0400700000"});F.addLog("superplus:ps",{categoryClick:"1200100001",queryChange:"1200200001",searchBtnClick:"1200200001",psLogoClick:"1200300001",psWorkLnkClick:"1200400001"});F.addLog("superplus:mngr",{categoryClick:"1200100001"});F.addLog("superplus:skin",{skinShow:"5100000000",skinClick:"5100000001",skinHover:"5100000002",skinOperate:"5100000003",skinInfo:"5100000004"});F.addLog("superplus:skeleton",{tabTimeClick:"7000000000",tabTimeClickInBucket:"7000100000"});F.addLog("superplus:lib/xpath_log",["xpathLog"]);F.module("superplus:lib/xpath_log",function(e,c,b){var d=["s_ctner_contents"];var f=function(m,k,n){n=n||[];k=k||document;if(m===k){n.push(undefined);return n}if(m.getAttribute("data-logactid")){n.push(m.getAttribute("data-logactid"));return n}if(m.parentNode!==k){n=f(m.parentNode,k,n)}else{n.push(undefined)}if(m.previousSibling){var l=1;var j=m.previousSibling;do{if(j.nodeType==1&&j.nodeName==m.nodeName){l++}j=j.previousSibling}while(j)}if(m.nodeType==1){n.push(m.nodeName.toLowerCase()+(l>1?l:""))}return n};var g={};var a=function(k,l,j){g[j]&&clearTimeout(g[j]);g[j]=setTimeout(function(){if(l[0]==undefined){return}var o={logactid:l.shift(0),xlogtype:j,xnodename:k.nodeName.toLowerCase(),xpath:l.join("-"),xpaths:l.join("-").replace(/\d/g,""),strategyHit:s_session.strategy_hit};for(var m=0;m<l.length;m++){o["xindex"+m]=l[m].replace(/[A-Za-z]/g,"");(o["xindex"+m]=="")&&(o["xindex"+m]="1")}var n=3,p=k;while(n>0&&p&&p.nodeName&&p.nodeName.toLowerCase()!="a"&&p.nodeType==1){p=p.parentNode;n--}if(p&&p.nodeName&&p.nodeName.toLowerCase()=="a"){o.title=$.trim($(p).text());o.url=$(p).attr("href")}b.fire("xpathLog",o)},300)};var h=function(j){$("#"+j).on("mousedown",function(m){var l=m.target,k=(f(l,$("#"+j)[0]));a(l,k,"click")})};c.init=function(){$.each(d,function(j,k){h(k)})}});F.module("superplus:skeleton/skeleton",function(b,h,q){var p=b("skeleton/skeleton_tab");var f=s_session.curmod;var g={1:{mod:"navplus"}},j=false,k=false,m=!!s_session.sample_value,l=m?['<div class="s-content-load s-opacity-white-background">','<img src="'+s_domain.staticUrl+'static/superplus/img/loading_deadaef0.gif" />',"<div>加载中，精彩马上呈现</div>","</div>"].join(""):"",d=b("superplus:common/user_attr"),a=window._xman_click_st||{};var o={};h.init=function(){if(!j){e()}var v=$.parseJSON($.trim($("#s_menus_textarea").html())).data,u=false;for(var t=0,s=v.length;t<s;t++){if(v[t].id!=4&&v[t].state=="1"){u=true;break}}if(!u){c(99,"init","");$("#s_ctner_menus").find(".s-menu").removeClass("current");$("#s_menu_add").addClass("current");return}if(s_session.curmod!=""){p.initTabPos();r(s_session.curmod)}setTimeout(function(){if(s_session.curmod==1){q.fire("navShow",{showTab:s_session.userTips.showAllTab?"nav":"nused",showType:"refresh"})}q.fire("modShow",{showTab:(g[s_session.curmod]&&g[s_session.curmod].mod)||s_session.curmod,opType:"refresh"})},1000)};var e=function(){$("#s_ctner").mouseover(function(){if(!k){F.call("superplus:skeleton/skeleton_ext","init");k=true}});$("#s_ctner_menus").delegate(".s-menu","click",function(s,v){if(s_session.contentMoving){return}var w=$(this),u=v?v.from:"";if(!w.hasClass("current")){p.updateTabLayout(w);s_session.contentMoving=true;var x=w.attr("data-id"),t;t=g[x];if(t){if(!m){a[x]={done:false,start:+new Date()}}else{if(a[x]&&a[x].done){q.fire("tabTimeClickInBucket",{id:x,time:0})}else{a[x]={done:false,start:+new Date()}}}}c(x,"",u);$("#s_ctner_menus").find(".s-menu").removeClass("current");w.addClass("current");if(x!=99){n(x);q.fire("modClick",{clickTab:(g[x]&&g[x].mod)||x});q.fire("modShow",{showTab:(g[x]&&g[x].mod)||x,opType:"click"})}else{q.fire("modClick",{clickTab:"set"})}if(x==1){q.fire("navShow",{showTab:s_session.userTips.showAllTab?"nav":"nused",showType:"menu"})}}}).on("mouseenter",".s-menu",function(){if(m){c($(this).attr("data-id"),"","mouseenter")}});q.listen("navplus:nav/nav_load","heightChange",function(t){var s=t.dom.height();if(s>318){$("#s_content_skin_bg").css("height",s+"px")}else{$("#s_content_skin_bg").css("height","")}});q.listen("superplus:skeleton/skeleton_ext","viewChange",function(s){if(s.to!=1){$("#s_content_skin_bg").css("height","")}});$("#s_add_bar").bind("click",function(){if(!s_session.curmod||s_session.curmod==99){$("#s_menu_add").trigger("click",{from:"sidebarClick"})}F.call("superplus:skeleton/skeleton_ext","showMain")})};var c=function(u,t,s){if(s!=="mouseenter"){f=s_session.curmod;s_session.curmod=u||s_session.curmod}if(u){if(!$("#s_content_"+u)[0]){$("#s_ctner_contents").append('<div data-id="'+u+'" id="s_content_'+u+'" class="s-content s-opacity-white-background" style="display: none;">'+l+"</div>")}else{if(s==="mouseenter"){return}}if(u!=99){r(u,s)}else{F.call("superplus:start/setting_start","init",t);_xman_speed.imgLoadTime&&_xman_speed.imgLoadTime(99);if(s==="sidebarClick"){h.changeTo(99)}$("#s_content_load").remove()}}};h.changeTo=function(w,v){var t=g[w];if(!m){if(t&&a[w]&&!a[w].done){a[w].done=true;var s,u;s=+new Date();u=Math.floor((s-a[w].start)/50);a[w].time=u;if(u<1){u=1}else{if(u>10){u=10}}q.fire("tabTimeClick",{id:w,time:u})}}if(f==w){$("#s_content_"+w).css({top:"0px",position:"relative","*zoom":"1",display:""})}else{F.call("superplus:skeleton/skeleton_ext","changeView",w,f,v)}$("#s_content_load")[0]&&$("#s_content_load").remove()};h.sendLoadTime=function(u){_xman_speed.imgLoadTime&&_xman_speed.imgLoadTime(u);if(a[u]){a[u].done=true;var s,t;s=+new Date();t=Math.floor((s-a[u].start)/50);a[u].time=t;if(t<1){t=1}else{if(t>10){t=10}}q.fire("tabTimeClickInBucket",{id:u,time:t})}else{a[u]={done:true,time:0}}};var n=function(s){$.ajaxpost(s_domain.baseuri+"/xman/submit/supermenu",{id:s},function(){})};var r=function(u,s){if(u!=""&&!g[u]){if(!o[u]){o[u]={};o[u].init=true;F.use("xcard:base/card",function(v){v.init(u);if(!m){F.call("superplus:skeleton/skeleton","changeTo",u)}});if(m){h.changeTo(u)}}else{h.changeTo(u)}return}var t=$("#s_js_"+g[u]["mod"]);if(t.attr("data-src")){t.attr("src",t.attr("data-src"));t.removeAttr("data-src");if(s==="mousewheel"){h.changeTo(u)}}else{h.changeTo(u)}};h.isModExist=function(w){var v=$.parseJSON($.trim($("#s_menus_textarea").html())).data,t=false;for(var u=0,s=v.length;u<s;u++){if(v[u].id==w&&v[u].state){t=true;break}}return t};h.addConf=function(s){g[s.id]=s};h.delConf=function(s){delete g[s]};h.loadError=function(s){s.append('<div class="s-load-error">系统错误，资源加载失败，请稍后再来</div>')};h.getContent=c;h.setCurMenu=n;window.xman_click_st=a});F.module("superplus:skeleton/skeleton_tab",function(d,c,a){var h=8,e=34,b=$("#s_menus_wrapper"),f=$("#s_ctner_menus .s-menu-fill");c.initTabPos=function(){var j=$("#s_ctner_menus").find(".s-menu[data-id='"+s_session.curmod+"']")[0],m=$(j),k=m.index();if(m.data("id")=="99"){return}var n=$("#s_menus_wrapper").find(".s-menu").length;if(k+1<h){g();return}var l=(n-h)*e;f.css("top","-"+l+"px");b.css("top","-"+l+"px");g()};c.updateTabLayout=function(n){if(n.data("id")=="99"){return}var k=b.css("top");k=Math.abs(parseInt(k,10));var m=k/e,l=n.index()+1,j=l-m,p=6,o=$("#s_menus_wrapper").find(".s-menu").length;if(m==0&&j<p){g();return}if(j>=p&&o-m-h<=0){g();return}f.css("top","-"+(j<p?(k-e):(k+e))+"px");b.animate({top:"-"+(j<p?(k-e):(k+e))+"px"},function(){g()})};c.updateTabForModTabMod=function(){var j=$("#s_menus_wrapper").find(".s-menu").length;if(j<=h){g();return}f.css("top","-"+(j-h)*e+"px");b.css("top","-"+(j-h)*e+"px");g()};c.updateTabForDelTabMod=function(k){var m=$("#s_menus_wrapper").find(".s-menu").length;var j=parseInt(b.css("top"),10),l=Math.abs(j)/e;if(k>=l&&k<=h+l&&m-l>=h){g();return}if(j!=0){f.css("top",j+e+"px");b.css("top",j+e+"px")}g()};c.updateTabForSortTabMod=function(l){var j=$("#s_menus_wrapper").find(".s-menu[data-id='"+l+"']"),k=j.index()+1;if(k<=h){f.css("top","0px");b.css("top","0px")}else{f.css("top","-"+(k-h)*e+"px");b.css("top","-"+(k-h)*e+"px")}g()};var g=function(){var l=$("#s_ctner_menus .top-border"),m=$("#s_ctner_menus .bottom-border");var j=b.css("top");j=Math.abs(parseInt(j,10));if(j!=0){l.show()}else{l.hide()}var k=b.find(".s-menu").length;if((k-j/e)>h){m.show()}else{m.hide()}}});F.module("ps/log",function(b,e,j){var d=j.base;var f={"旧版":"tjold","搜索设置":"tjsetting","使用百度前必读":"tjread","帐号设置":"tjuser","我的相册":"tjxiangce","首页设置":"tjmsgsetting","个人中心":"tjsupper","登录":"tjlogin","退出":"tjlogout","新闻":"tjnews","贴吧":"tjtieba","知道":"tjzhidao","音乐":"tjmp3","图片":"tjimg","视频":"tjvideo","文库":"tjwenku","地图":"tjmap","空间":"tjhi","百科":"tjbaike",hao123:"tjhao123","更多>>":"tjmore","我的主页":"tjgongzhu","我的成就":"tjchengjiu","加入百度推广":"tjadjoin","搜索风云榜":"tjadtop","关于百度":"tjadaboutch",AboutBaidu:"tjadabouten","加入开放首页":"tjadopen","个人中心":"tjucent","我的收藏":"tjucentcol","我的日历":"tjucentcal","搜索记录":"tjucenthis","完整版":"tjtoxman","极简版":"tjtolite"};var g=function(n){var m=n.srcElement?n.srcElement:n.target;var l=m.tagName;if(m.tagName=="A"){var k=a(m);if(k in f){j.fire("categoryClick",{category:f[k]})}else{if(k==s_session.username){j.fire("categoryClick",{category:"username"})}}}return false};var a=function(k){return $(k).text().replace(/[\s\t\xa0\u3000]/g,"")};function c(k){$("#"+k).bind("mousedown",g)}function h(k){j.fire("categoryClick",{category:k})}e.bindBox=c;e.fireLog=h;e.keyMap=f});F.module("superplus:ps/sindex",function(d,c,b){var e=b.base;c.init=function(){var s={"http://news.baidu.com/":"ns?tn=news&cl=2&rn=20&ct=1&ie=utf-8&word=","http://tieba.baidu.com/":"f?ie=utf-8&kw=","http://zhidao.baidu.com/":"search?pn=0&rn=10&lm=0&word=","http://music.baidu.com/":"search?fr=sp&ie=utf-8&key=","http://image.baidu.com/":"i?ct=201326592&cl=2&nc=1&lm=-1&st=-1&tn=baiduimage&istype=2&fm=&pv=&z=0&ie=utf-8&word=","http://v.baidu.com/":"v?ct=301989888&s=25&ie=utf-8&word=","http://map.baidu.com/":"?newmap=1&ie=utf-8&s=s%26wd%3D","http://baike.baidu.com/":"search/word?&pic=1&sug=1&enc=utf8&word=","http://wenku.baidu.com/":"search?ie=utf-8&word="};var o=window,D=document,x=navigator,z=$("#kw"),I=D.getElementById("nv").getElementsByTagName("a"),u=x.userAgent.indexOf("MSIE")!=-1&&!window.opera;for(var A=0;A<I.length;A++){I[A].onclick=function(){var n=$.trim(z.val());var k=false;var L=window.baidu&&baidu.packPlayer;if(L&&!s_session.userProp.searchAgroupGuide){var M=this;if(L.getState()=="play"&&s_session.yuce&&s_session.yuce!="1"){M.target="_blank";k=true}else{M.target="_self";k=false}}if(n.length>0){var M=this,w=M.href,K=encodeURIComponent(n);if(!s[this.href]){return true}this.href=w+s[w]+K;if(s_session.userProp.searchAgroupGuide||k){setTimeout(function(){$("#kw").val("").triggerHandler("focus");M.href=w.match(/http:\/\/.*\//i)[0]},1)}}}}s_session.searchLogSend=0;$("#su").on("mouseout",function(){$(this).removeClass("btn_h")}).on("mousedown",function(){$(this).addClass("btn_h")});var E=document.getElementById("kw");$(E.parentNode).addClass("bg s_ipt_wr iptfocus");$(window).on("swap_end",function(){if(s_session.searchLogSend==0){s_session.searchLogSend=1;b.fire("searchBtnClick",{opType:"click",openMode:"current",wd:encodeURIComponent($("#kw").val())})}});function y(w,n,k){if(o.attachEvent){w.attachEvent("on"+n,k)}else{if(o.addEventListener){w.addEventListener(n,k,false)}}}function p(k){return D.getElementById(k)}var j=x.cookieEnabled;if(typeof window._sp_async=="undefined"){$(window).bind("load",function(){if(true&&j&&/\bbdime=[12]/.test(D.cookie)){H(b.domain.staticUrl+"static/superplus/js/ps/openime_2555ed39.js","utf-8")}})}function t(){$("#kw").on("focus",function(){$(this).addClass("nobg_s_fm_focus")}).on("blur",function(){$(this).removeClass("nobg_s_fm_focus")}).on("mouseover",function(){$(this).addClass("nobg_s_fm_hover")}).on("mouseout",function(){$(this).removeClass("nobg_s_fm_hover")});$("#su").on("mousedown",function(){$(this).parent().addClass("s_btn_wr_h")}).on("mouseout",function(){$(this).parent().removeClass("s_btn_wr_h")})}t();try{if(typeof window._sp_async=="undefined"){p("kw")&&p("kw").focus()}else{if(pageState==0){p("kw")&&p("kw").focus()}}}catch(B){}$("#s_username_top").bind("mouseover",function(){$("body").trigger("mousedown");F.use("ps/log",function(k){k.fireLog("tj_ucent_mouseover")})});var h=[false,false];var g=false;function m(w,L,n,K,k){$("#"+w).bind("mouseover",function(O){h[k]=true;$("#"+L).show();var M=$("#"+n);var N=K=="right"?($(document.body).width()-$("#"+L)[0].offsetWidth-M.offset().left+10):($(document.body).width()-M[0].offsetWidth-M.offset().left);if($.isIE6){N=N-1}else{if($.isIE==8){N=N+2}}$("#"+L).css("right",N)});$("#"+w).bind("mouseout",function(M){h[k]=false;window.setTimeout(function(){if(!h[k]){$("#"+L).hide();b.fire("userMenuHide")}},200)})}m("s_username_top","s_user_name_menu","s_username_top","left",1);m("s_user_name_menu","s_user_name_menu","s_username_top","left",1);function H(k,w){if(k){var n=D.createElement("script");n.charset=w?w:"gbk";n.src=k;D.getElementsByTagName("head")[0].appendChild(n)}}y(o,"load",function(){try{p("kw").focus()}catch(k){}});o.onunload=function(){};var J=p("s_mp");var l;if(J){l=J.getElementsByTagName("area")[0]}var q=p("lm").getElementsByTagName("a")[0];l&&$(l).bind("click",function(k){b.fire("psLogoClick",{isFesBg:(s_session.userTips.skinLogoHasSkined?"true":"false")})});q&&$(q).bind("click",function(k){b.fire("psWorkLnkClick")});if(!s_session.userProp.searchAgroupGuide&&s_session.userTips.showFmSearchGuide==true){var v=p("kw"),r=p("s_fm");$(v).bind("keyup",function(){if(f()){C()}});$(v).bind("mouseup",function(){if(f()){C()}});var f=function(){return(window.baidu&&baidu.packPlayer&&baidu.packPlayer.getState()=="play")};var C=function(){if(p("bd_fm_search_tip")){return}var k="<div id='bd_fm_search_tip' class='s-bd-fm-search-tip'><div class='bg-img'></div><div class='content'><span class='first-line'>您正在听歌</span><span>本次搜索结果将在新窗口打开</span></div><div class='close-btn'></div></div>";$(r).append(k);F.use("common/user_attr",function(w){w.setAttr("showFmSearchGuide",false)});$("#bd_fm_search_tip").css("z-index","999");var n=$("#bd_fm_search_tip > .close-btn")[0];$(n).bind("click",function(){$("#bd_fm_search_tip").css("display","none")})}}};var a=function(){$("#s_pss_guide").css("width",(document.body.clientWidth<=958)?"958px":"100%")}});var isIE=navigator.userAgent.indexOf("MSIE")!=-1&&!window.opera;function G(a){return document.getElementById(a)}function addEV(c,b,a){if(window.attachEvent){c.attachEvent("on"+b,a)}else{if(window.addEventListener){c.addEventListener(b,a,false)}}}var bds=bds||{};bds.se=bds.se||{};bds.se.store=(function(){var r={},v=window,s=v.document,z="localStorage",e="globalStorage",y="__storejs__",w;r.disabled=false;r.set=function(b,a){};r.get=function(a){};r.remove=function(a){};r.clear=function(){};r.transact=function(d,a,c){var b=r.get(d);if(c==null){c=a;a=null}if(typeof b=="undefined"){b=a||{}}c(b);r.set(d,b)};r.getAll=function(){};r.serialize=function(a){return String(a)};r.deserialize=function(a){if(typeof a!="string"){return undefined}return a};function A(){try{return(z in v&&v[z])}catch(a){return false}}function p(){try{return(e in v&&v[e]&&v[e][v.location.hostname])}catch(a){return false}}if(A()){w=v[z];r.set=function(b,a){if(a===undefined){return r.remove(b)}w.setItem(b,r.serialize(a))};r.get=function(a){return r.deserialize(w.getItem(a))};r.remove=function(a){w.removeItem(a)};r.clear=function(){w.clear()};r.getAll=function(){var c={};for(var a=0;a<w.length;++a){var b=w.key(a);c[b]=r.get(b)}return c}}else{if(p()){w=v[e][v.location.hostname];r.set=function(b,a){if(a===undefined){return r.remove(b)}w[b]=r.serialize(a)};r.get=function(a){return r.deserialize(w[a]&&w[a].value)};r.remove=function(a){delete w[a]};r.clear=function(){for(var a in w){delete w[a]}};r.getAll=function(){var c={};for(var a=0;a<w.length;++a){var b=w.key(a);c[b]=r.get(b)}return c}}else{if(s.documentElement.addBehavior){var t,x;try{x=new ActiveXObject("htmlfile");x.open();x.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>');x.close();t=x.w.frames[0].document;w=t.createElement("div")}catch(u){w=s.createElement("div");t=s.body}function B(a){return function(){var b=Array.prototype.slice.call(arguments,0);b.unshift(w);t.appendChild(w);w.addBehavior("#default#userData");w.load(z);var c=a.apply(r,b);t.removeChild(w);return c}}function q(a){return"_"+a}r.set=B(function(a,c,b){c=q(c);if(b===undefined){return r.remove(c)}a.setAttribute(c,r.serialize(b));a.save(z)});r.get=B(function(b,a){a=q(a);return r.deserialize(b.getAttribute(a))});r.remove=B(function(b,a){a=q(a);b.removeAttribute(a);b.save(z)});r.clear=B(function(a){var d=a.XMLDocument.documentElement.attributes;a.load(z);for(var b=0,c;c=d[b];b++){a.removeAttribute(c.name)}a.save(z)});r.getAll=B(function(a){var f=a.XMLDocument.documentElement.attributes;a.load(z);var c={};for(var b=0,d;d=f[b];++b){c[d]=r.get(d)}return c})}}}try{r.set(y,y);if(r.get(y)!=y){r.disabled=true}r.remove(y)}catch(u){r.disabled=true}return r})();bds.se.sugStorage=(function(){var g,a,c,o="BDSUGSTORED",n="__OPTIONS__";var b=(function(){var w=/['"\\\/\<\>\n\r]/g,v={"'":"\\x27",'"':"\\x22","\\":"\\\\","/":"\\/","\n":"\\\\n","\r":"\\\\r","<":"&lt;",">":"&gt;"};var u=function(x){return v[x]||x};return function(x){return x.replace(w,u)}})();var r=function(){return'{"q": "'+this.q+'", "p": "'+(this.p?this.p:"")+'"}'};var h=function(w){var u=[];for(var v in w){u.push('"'+v+'": "'+w[v]+'"')}return"{"+u.join(",")+"}"};var f=function(u,v){if(v!==undefined){c[u]=v;bds.se.store.set(n,h(c));return v}return c[u]||""};var t=function(){return bds.se.store&&!bds.se.store.disabled};var e=function(v){if(v&&v.q&&v.p){v.toString=r;if(!(a[v.q]&&a[v.p])){g.push(v)}else{for(var x=0,y=0;x<g.length;x++){if(v.q==g[x].q&&v.p==g[x].p){y=1;break}}if(y===0){g.push(v)}}if(a[v.q]==undefined){a[v.q]=[v]}else{for(var w=0,y=0,u=a[v.q].length;w<u;w++){if(a[v.q][w].p==v.p||a[v.q][w].q==v.q){y=1;break}}if(y===0){a[v.q].push(v)}}if(a[v.p]==undefined){a[v.p]=[v]}else{for(var w=0,y=0,u=a[v.p].length;w<u;w++){if(a[v.p][w].q==v.q){y=1;break}}if(y===0){a[v.p].push(v)}}bds.se.store.set(o,"["+g.join(",")+"]");return g.length}return false};var p=function(w){var u=[];for(var v in a){if(new RegExp("^"+w,"img").test(v)){u=u.concat(a[v])}}return u};var j=function(u){return g};var q=function(){g=[];a={};bds.se.store.set(o,"");return g.length};var m=function(){return g.length};var s=function(u){if(!u||!u.q||!u.p){return false}var v;for(i=0;i<g.length;i++){if(u.q==g[i].q&&u.p==g[i].p){v=g[i];g.splice(i,1);break}}if(v===undefined){return false}else{bds.se.store.set(o,"["+g.join(",")+"]");l();return v}};var k=function(u){if(s(u)){return e({q:u.q,p:u.p})}return false};var d=function(){var u=g[0];if(u){return s({q:u.q,p:u.p})}return false};var l=function(){a={};var B=bds.se.store.get(n);if(B){c=(new Function("return ("+B+")"))()}else{c={}}var w=bds.se.store.get(o);if(!w){g=[]}else{g=(new Function("return ("+w+")"))();for(var z=0,v=g.length;z<v;z++){var x=g[z];x.toString=r;if(a[x.q]==undefined){a[x.q]=[x]}else{for(var y=0,A=0,u=a[x.q].length;y<u;y++){if(a[x.q][y].p==x.p||a[x.q][y].q==x.q){A=1;break}}if(A===0){a[x.q].push(x)}}if(a[x.p]==undefined){a[x.p]=[x]}else{for(var y=0,A=0,u=a[x.p].length;y<u;y++){if(a[x.p][y].q==x.q){A=1;break}}if(A===0){a[x.p].push(x)}}}}};l();return{escapeData:b,isSupport:t,reset:q,getCount:m,set:e,get:p,getAll:j,edit:k,remove:s,pop:d,option:f}})();bds.se.sugsync=function(){var q;var m=0,k=0,j=0,x=0,d=false,b=null;var r=(/msie (\d+)/i.test(navigator.userAgent)&&!window.opera)?parseInt(RegExp.$1):0;var B=(document.compatMode=="BackCompat");function l(C){return document.getElementById(C)}function o(C){return document.createElement(C)}function y(C){return String(C).replace(new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+\x24)","g"),"")}function A(C){return String(C).replace(new RegExp("[\\s\\t\\xa0\\u3000]","g"),"")}function u(H,E,C){if(r){H.attachEvent("on"+E,(function(I){return function(){C.call(I)}})(H))}else{H.addEventListener(E,C,false)}}function s(C){if(r){C.returnValue=false}else{C.preventDefault()}}function w(E){if(r){var H=document.createStyleSheet();H.cssText=E}else{var C=document.createElement("style");C.type="text/css";C.appendChild(document.createTextNode(E));document.getElementsByTagName("HEAD")[0].appendChild(C)}}function h(I){var H=document.forms[0];for(var E in I){if(I[E]==undefined){if(l("bdsug_ipt_"+E)){H.removeChild(l("bdsug_ipt_"+E))}}else{if(!t(E)){H.appendChild(C(E,I[E]))}else{t(E).value=I[E]}}}function C(L,J){var K=o("INPUT");K.type="hidden";K.name=L;K.id="bdsug_ipt_"+L;K.value=J;return K}}function t(H){var I=document.forms[0];var J=false;var C=I.getElementsByTagName("INPUT");for(var E=0;E<C.length;E++){if(H==C[E].getAttribute("name")){J=C[E];return J}else{J=false}}}function p(H){var E=document.forms[0];for(var C in H){if(C=="f"){if(t("f")){if(t("f").id=="bdsug_ipt_f"){E.removeChild(l("bdsug_ipt_f"))}else{t("f").value="8"}}}else{if(l("bdsug_ipt_"+C)){E.removeChild(l("bdsug_ipt_"+C))}}}}var a=0;if(typeof window.bdsug!="object"||window.bdsug==null){window.bdsug={}}bdsug.sug={};bdsug.sugkeywatcher={};var n=(function(){function C(H){var J=this.__MSG_QS__;if(!J[H]){J[H]=[]}for(var I=1,L=arguments.length,K;I<L;I++){J[H].push(arguments[I])}}function E(J){var I=this.__MSG_QS__[J.type];if(I==null){return}for(var H=0,K=I.length;H<K;H++){I[H].rm(J)}}return{ini:function(H){H.__MSG_QS__={};H.on=C;H.dm=E;return H}}})();var g=(function(){var X=l("kw");var O;var L=0;var Z=0;var Q="";var W="";var R;var I=false;var T=true;var M;var J=l("su");u(J,"mousedown",V);u(J,"keydown",V);u(l("kw"),"paste",function(){h({rsv_n:2});if(a==0){a=new Date().getTime()}});function V(){h({inputT:a>0?(new Date().getTime()-a):0})}function U(){if(T){g.dm({type:"start"});T=false}}function P(aa){if(a==0){a=new Date().getTime()}if(T){g.dm({type:"start"});T=false}aa=aa||window.event;if(aa.keyCode==9||aa.keyCode==27){g.dm({type:"hide_div"})}if(aa.keyCode==13&&window.opera){s(aa);g.dm({type:"key_enter"})}if(aa.keyCode==86&&aa.ctrlKey){h({rsv_n:2})}if(O.style.display!="none"){if(aa.keyCode==38){s(aa);g.dm({type:"key_up"})}if(aa.keyCode==40){g.dm({type:"key_down"})}}else{if(aa.keyCode==38||aa.keyCode==40){g.dm({type:"need_data",wd:X.value})}}}function H(){var aa=X.value;if(aa==Q&&aa!=""&&aa!=W&&aa!=R){if(Z==0){Z=setTimeout(function(){g.dm({type:"need_data",wd:aa})},100)}}else{clearTimeout(Z);Z=0;Q=aa;if(aa==""){g.dm({type:"hide_div"})}if(W!=X.value){W=""}}}function E(){if(!L){L=setInterval(H,30)}}function N(){clearInterval(L);L=0}function K(){if(I){window.event.cancelBubble=true;window.event.returnValue=false;I=false}}function S(aa){X.blur();X.setAttribute("autocomplete",aa);X.focus()}function Y(aa){var aa=aa||window.event;if(aa.keyCode==13){s(aa)}}X.setAttribute("autocomplete","off");var C=false;bdsug.sugkeywatcher.on=function(){if(!C){if(r){X.attachEvent("onkeydown",P)}else{X.addEventListener("keydown",P,false)}C=true}};bdsug.sugkeywatcher.off=function(){if(C){if(r){X.detachEvent("onkeydown",P)}else{X.removeEventListener("keydown",P,false)}C=false}};bdsug.sugkeywatcher.on();u(X,"blur",N);u(X,"focus",E);u(X,"mousedown",U);u(X,"beforedeactivate",K);if(window.opera){u(X,"keypress",Y)}return n.ini({rm:function(aa){switch(aa.type){case"div_ready":O=aa.sdiv;W=X.value;E();break;case"clk_submit":X.blur();X.value=aa.wd;break;case"ent_submit":N();X.blur();break;case"key_select":R=aa.selected;break;case"close":N();S("on");break;case"mousedown_tr":if(navigator.userAgent.toLowerCase().indexOf("webkit")!=-1){N();setTimeout(E,2000)}I=true;break}}})})();var D=(function(){var P;var X=l("kw");var K;var T=-1;var ac;var W;var J;var E;function H(){var ad=K.rows;for(var ae=0;ae<ad.length;ae++){ad[ae].className="ml"}}function S(){if(typeof(K)!="undefined"&&K!=null&&P.style.display!="none"){var ad=K.rows;for(var ae=0;ae<ad.length;ae++){if(ad[ae].className=="mo"){return[ae,ad[ae].cells[0].innerHTML]}}}return[-1,""]}function O(){if(r&&r<=6){E&&(E.style.display="none")}P&&(P.style.display="none")}function ab(){H();this.className="mo"}function V(ad){D.dm({type:"mousedown_tr"});if(!r){ad.stopPropagation();ad.preventDefault();return false}}function U(ae){var ad=ae;return function(){var af=ac[ad].value;O();var ag=0;if(typeof ac[ad].ala!="undefined"){ag=W[ac[ad].ala].id}D.dm({type:"clk_submit",oq:l("kw").value,wd:af,rsp:ad,rsv_sug5:ag})}}function R(ad){ad=ad||window.event;s(ad);D.dm({type:"close"});O();(new Image()).src=$.url.escapeSSL("http://sclick.baidu.com/w.gif?fm=suggestion&title=%B9%D8%B1%D5&t=")+new Date().getTime()}function aa(){var ad=[X.offsetWidth,X.offsetHeight];P.style.width=((r&&B)?ad[0]:ad[0]-2)+"px";P.style.top=((r&&B)?ad[1]:ad[1]-1)+"px";P.style.display="block";if(r&&r<=6){E.style.top=((r&&B)?ad[1]:ad[1]-1)+"px";E.style.width=((r&&B)?ad[0]:ad[0]-2)+"px"}}function Z(ae,af){if(ae&&af){var ad=y(ae);if(af.indexOf(ad)==0){af=C(af,ad)}else{if(af.indexOf(A(ae))==0){ad=A(ae);af=C(af,ad)}else{af=af.replace(/&/g,"&amp;");af=af.replace(/</g,"&lt;");af=af.replace(/>/g,"&gt;")}}}return af}function C(ah,af){ah=ah.replace(/&/g,"&amp;");ah=ah.replace(/</g,"&lt;");ah=ah.replace(/>/g,"&gt;");af=af.replace(/&/g,"&amp;");af=af.replace(/</g,"&lt;");af=af.replace(/>/g,"&gt;");var ae="<span>"+af+"</span>";var ad=af.length;var ag="<b>"+ah.substring(ad)+"</b>";return(ae+ag)}function N(ah){var ae=l("kw").value,af=/[^\x00-\xff]/g,al=[],ak=[];q=0;for(var ai=0;ai<ah.length;ai++){var am={};am.value=ah[ai];am.from=0;al.push(am)}if(!bds.se.sugStorage.isSupport()||!navigator.cookieEnabled||(!!/\bsugstore=(\d)/.exec(document.cookie)&&/\bsugstore=(\d)/.exec(document.cookie)[1]==0)){return al}else{if(ae.replace(af,"mm").length<=3){return al}else{for(var ai=0;ai<ah.length;ai++){var am={};am.value=ah[ai];am.from=0;al.push(am)}var aj=bds.se.sugStorage.get(encodeURIComponent(ae));aj.sort(function(ao,an){if(typeof ao.date=="undefined"||typeof an.date=="undefined"){return true}else{return ao.date-an.date}});for(ai=0;ai<aj.length;ai++){for(var ag=ai+1;ag<aj.length;ag++){if(aj[ai].q==aj[ag].q){aj.splice(ag,1);ag--}}}for(ai=aj.length-1;ai>=0;ai--){var am={};am.value=decodeURIComponent(aj[ai].q);am.from=1;am.p=aj[ai].p;ak.push(am);q++;if(ai==aj.length-2){break}}ah=ak.concat(al);for(ai=0;ai<ah.length;ai++){for(ag=ai+1;ag<ah.length;ag++){if(ah[ai].value==ah[ag].value){ah.splice(ag,1);ag--}}}var ad=[];for(var ai=0;ai<W.length;ai++){for(var ag=0;ag<ah.length;ag++){if(W[ai].key==ah[ag].value){if(ah[ag].from==1){q--}ah.splice(ag,1)}}var am={};am.value=W[ai].key;am.from=0;am.ala=ai;ad.unshift(am)}ah=ad.concat(ah);while(ah.length>10){ah.pop()}return ah}}}function M(){function ad(al){if(!al||!al.title){return}setTimeout(function(){al.title=""},2000)}ac=N(ac);if(ac.length<=0){O();return}K=o("TABLE");K.id="st";K.cellSpacing=0;K.cellPadding=2;var ah=o("tbody");K.appendChild(ah);for(var ag=0,ae=ac.length;ag<ae;ag++){var ai=ah.insertRow(-1);u(ai,"mouseover",ab);u(ai,"mouseout",H);u(ai,"mousedown",V);u(ai,"click",U(ag));var ak=ai.insertCell(-1);var aj=Z(J,ac[ag].value);if(ac[ag].from==1){aj='<u class="sug_del" title="如您不需要此搜索历史提示，&#13;可在右上角搜索设置中关闭">删除</u>'+aj;ak.className="sug_storage"}if(typeof ac[ag].ala!="undefined"){ak.innerHTML=I(aj,ac[ag].ala);ak.className="sug_ala"}else{ak.innerHTML=aj}}P.innerHTML="";P.appendChild(K);aa();if(r&&r<=6){E.style.display="block";E.style.left=0+"px";E.style.top=X.offsetHeight+"px";E.style.width=X.offsetWidth+"px";E.style.height=P.offsetHeight-1+"px"}var af=P.getElementsByTagName("u");for(var ag=0;ag<af.length;ag++){af[ag].onclick=function(ao){var am=S()[0];var ao=ao||window.event;var an=ao.target||ao.srcElement;an.parentNode.parentNode.parentNode.removeChild(an.parentNode.parentNode);if(r&&r<=6){E.style.height=P.offsetHeight-1+"px"}var al=window["BD_PS_C"+(new Date()).getTime()]=new Image();al.src=$.url.escapeSSL("http://sclick.baidu.com/w.gif?q=")+encodeURIComponent(ac[am].value)+"&fm=beha&rsv_sug=del&rsv_sid=11&t="+new Date().getTime()+"&path=http://www.baidu.com";bds.se.sugStorage.remove({q:encodeURIComponent(ac[am].value),p:ac[am].p});ac.splice(am,1);D.dm({type:"update_data",word:l("kw").value,data:ac});if(q>0){q--}if(q<=0&&ac.length==0){O();P.innerHTML=""}if(window.event){ao.cancelBubble=true}else{ao.stopPropagation()}}}h({rsv_sug:q})}function I(ae,af){var ad=[];switch(W[af].type){case"1":ad.push("<h3>"+W[af].key+"</h3>");ad.push("<p>"+W[af].word);if(W[af].word_add){ad.push(" <span>（"+W[af].word_add+"）</span>")}ad.push("</p>");break;case"2":ad.push("<h3>"+W[af].key+" - 百度安全认证</h3>");ad.push("<p>"+W[af].word);if(W[af].word_add){ad.push(" <span>（"+W[af].word_add+"）</span>")}ad.push("</p>");break;default:ad.push(ae)}return ad.join("")}function Y(){T=S()[0];if(T==-1){D.dm({type:"submit"})}else{D.dm({type:"ent_submit",oq:J,wd:S()[1],rsp:T})}}function L(){T=S()[0];H();if(T==0){D.dm({type:"key_select",selected:""});l("kw").value=J;T--;p({oq:J,sug:ac[T],rsv_n:1,rsp:T,f:3,rsv_sug:rsv_sug,rsv_sug5:0})}else{if(T==-1){T=ac.length}T--;var ad=K.rows[T];ad.className="mo";D.dm({type:"key_select",selected:ac[T].value});l("kw").value=ac[T].value;var ae=0;if(typeof ac[T].ala!="undefined"){ae=W[ac[T].ala].id}h({oq:J,sug:ac[T].value,rsv_n:1,rsp:T,f:3,rsv_sug:rsv_sug})}}function Q(){T=S()[0];H();if(T==ac.length-1){D.dm({type:"key_select",selected:""});l("kw").value=J;T=-1;p({oq:J,sug:ac[T],rsv_n:1,rsp:T,f:3,rsv_sug:rsv_sug,rsv_sug5:0})}else{T++;var ad=K.rows[T];ad.className="mo";D.dm({type:"key_select",selected:ac[T].value});l("kw").value=ac[T].value;var ae=0;if(typeof ac[T].ala!="undefined"){ae=W[ac[T].ala].id}h({oq:J,sug:ac[T].value,rsv_n:1,rsp:T,f:3,rsv_sug:rsv_sug,rsv_sug5:ae})}}return n.ini({rm:function(ad){switch(ad.type){case"div_ready":P=ad.sdiv;E=ad.frm;break;case"give_data":J=ad.data.q;ac=ad.data.s;var ae=ad.data.z||[];W=[];for(var af=0;af<ae.length;af++){var ag=ae[af];if(ag.type==1||ag.type==2){W.push(ae[af])}}rsv_sug=ad.data.t;if(P){M()}break;case"key_enter":Y();break;case"key_up":L();break;case"key_down":Q();break;case"hide_div":O();break;case"mousedown_other":O();break;case"window_blur":O();break;case"need_resize":aa();break}}})})();var z=(function(){var C=document.forms[0];function I(){if(l("bdsug_ipt_sug")){if(l("bdsug_ipt_sug").value==y(l("kw").value)){p({rsv_n:1,sug:1})}else{p({f:1})}}}u(C,"submit",I);function H(){I();h({inputT:a>0?(new Date().getTime()-a):0});C.onsubmit();C.submit()}function E(J){h(J);h({inputT:a>0?(new Date().getTime()-a):0});p({sug:1,rsv_n:1});C.onsubmit();C.submit()}return n.ini({rm:function(J){switch(J.type){case"clk_submit":E({oq:J.oq,rsp:J.rsp,f:3,rsv_sug:q,rsv_sug2:1,rsv_sug5:J.rsv_sug5});break;case"ent_submit":E({oq:J.oq,rsp:J.rsp,f:3,rsv_sug:q,rsv_sug2:0});break;case"submit":H();break}}})})();var c=(function(){var C={};function I(J){if(typeof C[J]=="undefined"){c.dm({type:"request_data",wd:J})}else{c.dm({type:"give_data",data:C[J]})}}function H(J){C[J.q]=J;c.dm({type:"give_data",data:C[J.q]})}function E(M,L){if(typeof C[M]!="undefined"){if(L.length>0){var J=[];for(var K=0;K<L.length;K++){J.push(L[K].value)}C[M].s=J;c.dm({type:"give_data",data:C[M]})}}}return n.ini({rm:function(J){switch(J.type){case"response_data":H(J.data);break;case"need_data":I(J.wd);break;case"update_data":E(J.word,J.data);break}}})})();var v=(function(){var C;var E;function H(J){var I=$.url.escapeSSL("http://suggestion.baidu.com/su");v.dm({type:"need_cookie"});if(C){document.body.removeChild(C)}C=o("SCRIPT");C.src=I+"?wd="+encodeURIComponent(J)+"&p="+E+"&cb=window.bdsug.sug&from=superpage&t="+(new Date()).getTime();C.charset="gb2312";document.body.appendChild(C);h({rsv_sug3:++k});x=new Date().getTime();d=false;b=setTimeout(function(){h({rsv_sug4:j+=5000});d=true},5000);if(!window._LogSearchBoxChanged){F.use("ps/sug",function(K){K.searchLog()});window._LogSearchBoxChanged=true}}return n.ini({rm:function(J){switch(J.type){case"request_data":H(J.wd);break;case"give_cookie":var I=J.sug;if(I>0){I=3}E=I;break}}})})();bdsug.sug=function(C){bdsug.dm({type:"response_data",data:C});if(!d){var E=l("kw");if(E.value.toLowerCase()==C.q){h({rsv_sug1:++m})}clearTimeout(b);h({rsv_sug4:j+=(new Date().getTime()-x)})}};bdsug.initSug=function(){bdsug.dm({type:"init"})};n.ini(bdsug);var f=(function(){function C(){if(navigator.cookieEnabled){document.cookie="su=0; domain=www.baidu.com"}}function E(){var H=(navigator.cookieEnabled&&/sug=(\d)/.test(document.cookie)?RegExp.$1:3);f.dm({type:"give_cookie",sug:H})}return n.ini({rm:function(H){switch(H.type){case"close":C();break;case"need_cookie":E();break}}})})();var e=(function(){var M=l("kw");var H;var J=document.forms[0];var N;function L(){if(H.offsetWidth!=0&&M.offsetWidth!=H.offsetWidth){e.dm({type:"need_resize"})}}function I(){H=o("DIV");H.id="sd_"+new Date().getTime();H.className="s-ps-sug";H.style.display="none";J.appendChild(H);if(r&&r<=6){N=o("IFRAME");N.style.display="none";N.style.position="absolute";H.parentNode.insertBefore(N,H)}}function K(O){O=O||window.event;var P=O.target||O.srcElement;if(P==M){return}while(P=P.parentNode){if(P==H){return}}e.dm({type:"mousedown_other"})}function C(){e.dm({type:"window_blur"})}function E(){var P="#"+H.id;var O=[];e.dm({type:"div_ready",sdiv:H,frm:N});setInterval(L,100);u(document,"mousedown",K);u(window,"blur",C);O.push(P+"{border:1px solid #817F82;position:absolute;top:32px;left:0}");O.push(P+" table{width:100%;background:#fff;cursor:default}");O.push(P+" td{color:#000;font:14px arial;height:25px;line-height:25px;padding:0 8px}");O.push(P+" td b{color:#000}");O.push(P+" .mo{background:#ebebeb}");O.push(P+" .ml{background:#fff}");O.push(P+" td.sug_storage{color:#7A77C8}");O.push(P+" td.sug_storage b{color:#7A77C8}");O.push(P+" .sug_del{font-size:12px;color:#666;text-decoration:underline;float:right;cursor:pointer;display:none}");O.push(P+" .sug_del{font-size:12px;color:#666;text-decoration:underline;float:right;cursor:pointer;display:none}");O.push(P+" .mo .sug_del{display:block}");O.push(P+" .sug_ala{border-bottom:1px solid #e6e6e6}");O.push(P+" td h3{line-height:14px;margin:6px 0 4px 0;font-size:12px;font-weight:normal;color:#7B7B7B;padding-left:20px;background:url(img/sug_bd.png) no-repeat left center}");O.push(P+" td p{font-size:14px;font-weight:bold;padding-left:20px}");O.push(P+" td p span{font-size:12px;font-weight:normal;color:#7B7B7B}");w(O.join(""))}bdsug.sug.initial=E;return n.ini({rm:function(O){switch(O.type){case"start":E();break;case"init":I();break}}})})();g.on("need_data",c);g.on("close_div",D);g.on("key_enter",D);g.on("key_up",D);g.on("key_down",D);g.on("hide_div",D);g.on("start",e);c.on("request_data",v);c.on("give_data",D);bdsug.on("response_data",c);bdsug.on("init",e);D.on("update_data",c);D.on("clk_submit",g,z);D.on("ent_submit",g,z);D.on("submit",z);D.on("key_select",g);D.on("close",g,f);D.on("mousedown_tr",g);e.on("mousedown_other",D);e.on("need_resize",D);e.on("div_ready",g,D);e.on("window_blur",D);v.on("need_cookie",f);f.on("give_cookie",v)};F.module("ps/sug",function(c,b,a){b.init=function(){bds.se.sugsync();window.bdsug.initSug()};b.pssubmit=function(){var e=a.base;var d=s_session.userProp.searchAgroupGuide;if(!d){var f=window.baidu&&baidu.packPlayer;if(f&&s_session.yuce&&s_session.yuce!="1"){if(f.getState()=="play"){d=true;$("#form")[0].target="_blank"}else{d=false;$("#form")[0].target="_self"}}}if(d&&$("#kw")[0]&&(s_session.searchLogSend==0||$("#form").attr("target")=="_blank")){setTimeout(function(){$("#kw").val("").triggerHandler("focus")},1);setTimeout(function(){a.use("page/info",function(g){var h=g.getInfo(),j="focus";if(h&&h.isFocus){j="blur"}s_session.searchLogSend=1;a.fire("searchBtnClick",{opType:"click",openMode:"new"+j,wd:encodeURIComponent($("#kw").val())})})},100)}else{if(s_session.searchLogSend==0||$("#form").attr("target")=="_blank"){s_session.searchLogSend=1;a.fire("searchBtnClick",{opType:"click",openMode:"current",wd:encodeURIComponent($("#kw").val())})}}$("#bd_fm_search_tip").hide()};b.searchLog=function(){a.fire("queryChange",{opType:"querychange",wd:encodeURIComponent($("#kw").val())})}});$(window).on("load",function(){var d='<div id="_FP_userDataDiv" style="behavior:url(#default#userdata);width:0px;height:0px;position:absolute;top:-10000px;left:-10000px"></div><div id="_FP_comDiv" style="behavior:url(#default#clientCaps);width:0px;height:0px;position:absolute;top:-10000px;left:-10000px"></div>';$("body").append(d);var k="//www.baidu.com/cache/fpid/o.swf";var g="//www.baidu.com/cache/fpid/lib_1_0.js";var h="//www.baidu.com/cache/fpid/ielib_1_1.js";var b="//www.baidu.com/cache/fpid/chromelib_1_1.js";var f=document.title;var e={flashDomId:"_FP_userDataDiv",flashUrl:k,comDomId:"_FP_comDiv",IEStoreDomId:"_FP_userDataDiv"};var a=navigator.userAgent.toLowerCase();var c=false;if(a.indexOf("msie")>=0||new RegExp("trident(.*)rv.(\\d+)\\.(\\d+)").test(a)){c=true}var j=function(n){if(c){window.setTimeout(function(){document.title=f},0)}window._FPID_CACHE=n;$("#_FP_userDataDiv").remove();$("#_FP_comDiv").remove();var r=s_session.seqId;var q="_WWW_BR_API_"+(new Date()).getTime();var m=window[q]=new Image();m.onload=function(){window[q]=null};var l=$.cookie.get("BAIDUID");var p=$.url.escapeSSL("http://eclick.baidu.com/ps_fp.htm?");var o=p+"pid=superplus&fp="+n.data.fp+"&im="+n.data.im+"&wf="+n.data.wf+"&br="+n.data.br+"&qid="+r+"&bi="+l;m.src=o};if(c){$.getScript(g,function(){fpLib.getFp(j,e)})}else{$.getScript(b,function(){fpLib.getFp(j,e)})}});F.module("superplus:page/analyse",function(d,c,a){c.runCssDetect=function(){$(window).bind("load",function(){setTimeout(function(){b(1);setTimeout(function(){b(2,function(){setTimeout(function(){b(3)},3000)})},2000)},1000)})};var b=function(e,f){if($("s_main").css("display")=="none"){if(e==1){$.loadCss($("#s_superpage_css_lnk").href+"?v=9527")}a.fire("cssLoadFailed",{counter:e});f&&f()}}});$(document).ready(function(){window._load_status="dom_ready";if($.browser.chrome&&$.browser.chrome===37){if(window.navigator.appVersion.indexOf("Windows NT 6.1")>-1){$("#kw").css({"font-family":"Microsoft Yahei,STHeiti"})}}window.alog&&alog("speed.set","drt",+new Date);F.use("superplus:ps/sindex",function(d){d.init()});if(typeof window._sp_async=="undefined"){F.use("superplus:ps/sug",function(d){d.init()})}F.use("superplus:ps/log",function(d){d.bindBox("nv");d.bindBox("u_sp");d.bindBox("s_user_name_menu");d.bindBox("bottom_container");$("#s_pss_exit")[0]&&d.bindBox("s_pss_exit")});(s_session.isLiteVersion=="0")&&F.call("superplus:skeleton/skeleton","init");if($("#toipad")[0]){F.use("superplus:page/toipad",function(d){d.init()})}(s_session.isLiteVersion=="0")&&F.call("superplus:guide/wenjuan_tip","init");F.call("superplus:common/image_lazy_load","init");F.call("superplus:lib/xpath_log","init");if(_xmanCard.asynJs.length>0){$.each(_xmanCard.asynJs,function(d,f){setTimeout(function(){$.loadJs($("#"+f).attr("data-src"))},1)})}_xmanCard.asynLoad=function(d){$.loadJs($("#"+d).attr("data-src"))};$(window).bind("load",function(){window._load_status="window_load";if(s_session.index_off){return}(s_session.isLiteVersion=="0")&&F.call("superplus:skeleton/skeleton_load","init");F.call("superplus:mt/mt_show","init");F.call("superplus:page/page_exp","init");window._load_status="fully_load";c();a();b();if(s_session.strategy_hit==3){F.call("superplus:guide/conrecommend_guide","init")}setTimeout(function(){var d=$("script[data-onload],#tipsplus-js");d.each(function(){var e=$(this),f=e.attr("data-src");if(f){e.attr("src",f)}})},1)});function a(){F.call("superplus:start/skin_start","init",false)}function b(){F.call("superplus:mngr/top_menu","init");if(s_session.sid.indexOf("8923")>-1){F.call("superplus:mngr/top_menunav","init")}if(s_session.sid.indexOf("8924")>-1){F.call("superplus:guide/navns_guide","init")}}function c(){var d=[],e=s_session.load_module.type;$.ajaxget(s_domain.baseuri+"/xman/data/superload?type="+e.join(","),function(f){if(f.errNo==0&&f.data){if(f.data.weather&&f.data.weather.id!=-1){s_session.load_module.weather=f.data.weather.id;F.call("superplus:weather/weather_tpl","init",f.data.weather)}else{if(!$("#s_mod_weather").length){if(!$("#head").length){$('<div class="s-mod-weather hide-unknow-city  s-isindex-wrap" id="s_mod_weather">').appendTo(document.body)}else{$('<div class="s-mod-weather hide-unknow-city  s-isindex-wrap" id="s_mod_weather">').appendTo($("#head"))}if(s_session.sid.indexOf("8923")>-1){F.call("superplus:mngr/top_menunav","initMenu")}}}if(f.data.userphoto){$("#s_user_photo").attr("src",f.data.userphoto+"?t="+(+new Date()))}}})}if($.isIE6){$(window).bind("resize load",function(d){$("#bottom_container").toggleClass("xxx4ielw");$(document.body).toggleClass("rs4ie")})}if($(window).height()<$(document).height()&&!$.isIE6){$(document.body).css("height","auto")}if($.browser.opera){$(document.body).css("minHeight","100px")}F.fire("superplus:page","runCssDetect")});F.module("page/info",function(c,b,a){var d=a.base,e={isFocus:true};$(window).on("focus",function(){e.isFocus=true});$(window).on("blur",function(){e.isFocus=false});b.getInfo=function(){return e}});