var baidu=baidu||{version:"1-3"};baidu.guid="$BAIDU$";window[baidu.guid]=window[baidu.guid]||{};baidu.string=baidu.string||{};baidu.string.filterFormat=function(_,$){var A=Array.prototype.slice.call(arguments,1),B=Object.prototype.toString;if(A.length){A=A.length==1?($!==null&&(/\[object Array\]|\[object Object\]/.test(B.call($)))?$:A):A;return _.replace(/#\{(.+?)\}/g,function(D,F){var E,$,G,C,_;if(!A){return"";}E=F.split("|");$=A[E[0]];if("[object Function]"==B.call($)){$=$(E[0]);}for(G=1,C=E.length;G<C;++G){_=baidu.string.filterFormat[E[G]];if("[object Function]"==B.call(_)){$=_($);}}return(("undefined"==typeof $||$===null)?"":$);});}return _;};baidu.string.filterFormat.toInt=function($){return parseInt($,10)||0;};baidu.string.filterFormat.i=baidu.string.filterFormat.toInt;baidu.array=baidu.array||{};baidu.array.filter=function(A,_){var $=[],B=0,D=A.length,C,E;if("function"==typeof _){for(E=0;E<D;E++){C=A[E];if(true===_.call(A,C,E)){$[B++]=C;}}}return $;};baidu.event=baidu.event||{};baidu.event._unload=function(){var $=baidu.event._listeners,C=$.length,A=!!window.removeEventListener,B,_;while(C--){B=$[C];if(B[1]=="unload"){continue;}_=B[0];if(_.removeEventListener){_.removeEventListener(B[1],B[3],false);}else{if(_.detachEvent){_.detachEvent("on"+B[1],B[3]);}}}if(A){window.removeEventListener("unload",baidu.event._unload,false);}else{window.detachEvent("onunload",baidu.event._unload);}};if(window.attachEvent){window.attachEvent("onunload",baidu.event._unload);}else{window.addEventListener("unload",baidu.event._unload,false);}baidu.event._listeners=baidu.event._listeners||[];baidu.event.un=function(_,E,B){if("string"==typeof _){_=baidu.dom.g(_);}E=E.replace(/^on/i,"");var $=baidu.event._listeners,D=$.length,C=!B,A;while(D--){A=$[D];if(A[1]===E&&A[0]===_&&(C||A[2]===B)){if(_.removeEventListener){_.removeEventListener(E,A[3],false);}else{if(_.detachEvent){_.detachEvent("on"+E,A[3]);}}$.splice(D,1);}}return _;};baidu.un=baidu.event.un;baidu.array.unique=function(_,C){var A=_.length,$=_.slice(0),D,B;if("function"!=typeof C){C=function(_,$){return _===$;};}while(--A>0){B=$[A];D=A;while(D--){if(C(B,$[D])){$.splice(A,1);break;}}}return $;};baidu.browser=baidu.browser||{};if(/msie (\d+\.\d)/i.test(navigator.userAgent)){baidu.ie=baidu.browser.ie=document.documentMode||parseFloat(RegExp.$1);}baidu.dom=baidu.dom||{};baidu.dom.g=function($){if("string"==typeof $||$ instanceof String){return document.getElementById($);}return $;};baidu.g=baidu.G=baidu.dom.g;baidu.dom.insertHTML=function(_,$,D){_=baidu.dom.g(_);if(_.insertAdjacentHTML){_.insertAdjacentHTML($,D);}else{var A=_.ownerDocument.createRange();A.setStartBefore(_);var E=A.createContextualFragment(D),C=_.parentNode,B;switch($.toUpperCase()){case"BEFOREBEGIN":C.insertBefore(E,_);break;case"AFTERBEGIN":_.insertBefore(E,_.firstChild);break;case"BEFOREEND":_.appendChild(E);break;case"AFTEREND":(B=_.nextSibling)?C.insertBefore(E,B):C.appendChild(E);}}return _;};baidu.insertHTML=baidu.dom.insertHTML;baidu.page=baidu.page||{};baidu.page.createStyleSheet=function(D){var _=D||{},A=_.document||document,$;if(baidu.browser.ie){return A.createStyleSheet(_.url,_.index);}else{$="<style type='text/css'></style>";_.url&&($="<link type='text/css' rel='stylesheet' href='"+_.url+"'/>");baidu.dom.insertHTML(A.getElementsByTagName("HEAD")[0],"beforeEnd",$);if(_.url){return null;}var C=A.styleSheets[A.styleSheets.length-1],B=C.rules||C.cssRules;return{self:C,rules:C.rules||C.cssRules,addRule:function($,_,A){if(C.addRule){return C.addRule($,_,A);}else{if(C.insertRule){isNaN(A)&&(A=B.length);return C.insertRule($+"{"+_+"}",A);}}},removeRule:function($){if(C.removeRule){C.removeRule($);}else{if(C.deleteRule){isNaN($)&&($=0);C.deleteRule($);}}}};}};baidu.swf=baidu.swf||{};baidu.swf.version=(function(){var A=navigator;if(A.plugins&&A.mimeTypes.length){var B=A.plugins["Shockwave Flash"];if(B&&B.description){return B.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0";}}else{if(window.ActiveXObject&&!window.opera){for(var D=10;D>=2;D--){try{var _=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+D);if(_){var C=_.GetVariable("$version");return C.replace(/WIN/g,"").replace(/,/g,".");}}catch($){}}}}})();baidu.swf.createHTML=function(N){N=N||{};var F=baidu.swf.version,L=N.ver||"6.0.0",A,_,G,E,C,J,K={};for(E in N){K[E]=N[E];}N=K;if(F){F=F.split(".");L=L.split(".");for(G=0;G<3;G++){A=parseInt(F[G],10);_=parseInt(L[G],10);if(_<A){break;}else{if(_>A){return"";}}}}else{return"";}var H=N.vars,M=["classid","codebase","id","width","height","align"];N.align=N.align||"middle";N.classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";N.codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";N.movie=N.url||"";delete N.vars;delete N.url;if("string"==typeof H){N.flashvars=H;}else{var D=[];for(E in H){J=H[E];if(J){D.push(E+"="+encodeURIComponent(J));}}N.flashvars=D.join("&");}var I=["<object "];for(G=0,C=M.length;G<C;G++){J=M[G];I.push(" ",J,'="',N[J],'"');}I.push(">");var B={wmode:1,scale:1,quality:1,play:1,loop:1,menu:1,salign:1,bgcolor:1,base:1,allowscriptaccess:1,allownetworking:1,allowfullscreen:1,seamlesstabbing:1,devicefont:1,swliveconnect:1,flashvars:1,movie:1};for(E in N){J=N[E];E=E.toLowerCase();if(B[E]&&J){I.push('<param name="'+E+'" value="'+J+'" />');}}N.src=N.movie;N.name=N.id;delete N.id;delete N.movie;delete N.classid;delete N.codebase;N.type="application/x-shockwave-flash";N.pluginspage="http://www.macromedia.com/go/getflashplayer";I.push("<embed");var $;for(E in N){J=N[E];if(J){if((new RegExp("^salign$","i")).test(E)){$=J;continue;}I.push(" ",E,'="',J,'"');}}if($){I.push(' salign="',$,'"');}I.push("></embed></object>");return I.join("");};baidu.swf.create=function(A,$){A=A||{};var _=baidu.swf.createHTML(A)||A.errorMessage||"";if($&&"string"==typeof $){$=document.getElementById($);}if($){$.innerHTML=_;}else{document.write(_);}};baidu.date=baidu.date||{};baidu.dom._styleFixer=baidu.dom._styleFixer||{};if(/firefox\/(\d+\.\d)/i.test(navigator.userAgent)){baidu.browser.firefox=parseFloat(RegExp.$1);}baidu.dom._styleFixer.display=baidu.browser.ie&&baidu.browser.ie<8?{set:function($,_){$=$.style;if(_=="inline-block"){$.display="inline";$.zoom=1;}else{$.display=_;}}}:baidu.browser.firefox&&baidu.browser.firefox<3?{set:function($,_){$.style.display=_=="inline-block"?"-moz-inline-box":_;}}:null;baidu.json=baidu.json||{};baidu.object=baidu.object||{};baidu.object.keys=function(_){var $=[],A=0,B;for(B in _){if(_.hasOwnProperty(B)){$[A++]=B;}}return $;};baidu.string.getByteLength=function($){return String($).replace(/[^\x00-\xff]/g,"ci").length;};baidu.string.subByte=function($,_){$=String($);if(_<0||baidu.string.getByteLength($)<=_){return $;}$=$.substr(0,_).replace(/([^\x00-\xff])/g,"$1 ").substr(0,_).replace(/[^\x00-\xff]$/,"").replace(/([^\x00-\xff]) /g,"$1");return $;};baidu.lang=baidu.lang||{};baidu.lang.module=function(name,module,owner){var packages=name.split("."),len=packages.length-1,packageName,i=0;if(!owner){try{if(!(new RegExp("^[a-zA-Z_$][a-zA-Z0-9_$]*$")).test(packages[0])){throw"";}owner=eval(packages[0]);i=1;}catch(e){owner=window;}}for(;i<len;i++){packageName=packages[i];if(!owner[packageName]){owner[packageName]={};}owner=owner[packageName];}if(!owner[packages[len]]){owner[packages[len]]=module;}};baidu.lang.isObject=function($){return"function"==typeof $||!!($&&"object"==typeof $);};baidu.isObject=baidu.lang.isObject;baidu.dom._NAME_ATTRS=(function(){var $={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"};if(baidu.browser.ie<8){$["for"]="htmlFor";$["class"]="className";}else{$.htmlFor="for";$.className="class";}return $;})();baidu.dom.setAttr=function($,A,_){$=baidu.dom.g($);if("style"==A){$.style.cssText=_;}else{A=baidu.dom._NAME_ATTRS[A]||A;$.setAttribute(A,_);}return $;};baidu.setAttr=baidu.dom.setAttr;baidu.dom.setAttrs=function($,_){$=baidu.dom.g($);for(var A in _){baidu.dom.setAttr($,A,_[A]);}return $;};baidu.setAttrs=baidu.dom.setAttrs;(function(){var $=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");baidu.string.trim=function(_){return String(_).replace($,"");};})();baidu.trim=baidu.string.trim;baidu.json.stringify=(function(){var $={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function B(_){if(/["\\\x00-\x1f]/.test(_)){_=_.replace(/["\\\x00-\x1f]/g,function(A){var _=$[A];if(_){return _;}_=A.charCodeAt();return"\\u00"+Math.floor(_/16).toString(16)+(_%16).toString(16);});}return'"'+_+'"';}function C(A){var _=["["],C=A.length,$,D,B;for(D=0;D<C;D++){B=A[D];switch(typeof B){case"undefined":case"function":case"unknown":break;default:if($){_.push(",");}_.push(baidu.json.stringify(B));$=1;}}_.push("]");return _.join("");}function _($){return $<10?"0"+$:$;}function A($){return'"'+$.getFullYear()+"-"+_($.getMonth()+1)+"-"+_($.getDate())+"T"+_($.getHours())+":"+_($.getMinutes())+":"+_($.getSeconds())+'"';}return function(F){switch(typeof F){case"undefined":return"undefined";case"number":return isFinite(F)?String(F):"null";case"string":return B(F);case"boolean":return String(F);default:if(F===null){return"null";}else{if(F instanceof Array){return C(F);}else{if(F instanceof Date){return A(F);}else{var D=["{"],_=baidu.json.stringify,$,E;for(key in F){if(F.hasOwnProperty(key)){E=F[key];switch(typeof E){case"undefined":case"unknown":case"function":break;default:if($){D.push(",");}$=1;D.push(_(key)+":"+_(E));}}}D.push("}");return D.join("");}}}}};})();baidu.dom.create=function(_,A){A=A||{};var $=document.createElement(_);return baidu.dom.setAttrs($,A);};(function(){var D=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,E=0,J=Object.prototype.toString,_=false,$=true;[0,0].sort(function(){$=false;return 0;});var F=function(_,T,R,B){R=R||[];T=T||document;var V=T;if(T.nodeType!==1&&T.nodeType!==9){return[];}if(!_||typeof _!=="string"){return R;}var K=[],L,C,Q,E,A=true,S=F.isXML(T),P=_,$,U,G,O;do{D.exec("");L=D.exec(P);if(L){P=L[3];K.push(L[1]);if(L[2]){E=L[3];break;}}}while(L);if(K.length>1&&H.exec(_)){if(K.length===2&&M.relative[K[0]]){C=I(K[0]+K[1],T);}else{C=M.relative[K[0]]?[T]:F(K.shift(),T);while(K.length){_=K.shift();if(M.relative[_]){_+=K.shift();}C=I(_,C);}}}else{if(!B&&K.length>1&&T.nodeType===9&&!S&&M.match.ID.test(K[0])&&!M.match.ID.test(K[K.length-1])){$=F.find(K.shift(),T,S);T=$.expr?F.filter($.expr,$.set)[0]:$.set[0];}if(T){$=B?{expr:K.pop(),set:N(B)}:F.find(K.pop(),K.length===1&&(K[0]==="~"||K[0]==="+")&&T.parentNode?T.parentNode:T,S);C=$.expr?F.filter($.expr,$.set):$.set;if(K.length>0){Q=N(C);}else{A=false;}while(K.length){U=K.pop();G=U;if(!M.relative[U]){U="";}else{G=K.pop();}if(G==null){G=T;}M.relative[U](Q,G,S);}}else{Q=K=[];}}if(!Q){Q=C;}if(!Q){F.error(U||_);}if(J.call(Q)==="[object Array]"){if(!A){R.push.apply(R,Q);}else{if(T&&T.nodeType===1){for(O=0;Q[O]!=null;O++){if(Q[O]&&(Q[O]===true||Q[O].nodeType===1&&F.contains(T,Q[O]))){R.push(C[O]);}}}else{for(O=0;Q[O]!=null;O++){if(Q[O]&&Q[O].nodeType===1){R.push(C[O]);}}}}}else{N(Q,R);}if(E){F(E,V,R,B);F.uniqueSort(R);}return R;};F.uniqueSort=function(A){if(C){_=$;A.sort(C);if(_){for(var B=1;B<A.length;B++){if(A[B]===A[B-1]){A.splice(B--,1);}}}}return A;};F.matches=function(_,$){return F(_,null,null,$);};F.find=function(D,A,$){var _;if(!D){return[];}for(var G=0,C=M.order.length;G<C;G++){var F=M.order[G],E;if((E=M.leftMatch[F].exec(D))){var B=E[1];E.splice(1,1);if(B.substr(B.length-1)!=="\\"){E[1]=(E[1]||"").replace(/\\/g,"");_=M.find[F](E,A,$);if(_!=null){D=D.replace(M.match[F],"");break;}}}}if(!_){_=A.getElementsByTagName("*");}return{set:_,expr:D};};F.filter=function(E,C,B,J){var _=E,$=[],A=C,O,D,K=C&&C[0]&&F.isXML(C[0]);while(E&&C.length){for(var G in M.filter){if((O=M.leftMatch[G].exec(E))!=null&&O[2]){var P=M.filter[G],Q,L,N=O[1];D=false;O.splice(1,1);if(N.substr(N.length-1)==="\\"){continue;}if(A===$){$=[];}if(M.preFilter[G]){O=M.preFilter[G](O,A,B,$,J,K);if(!O){D=Q=true;}else{if(O===true){continue;}}}if(O){for(var I=0;(L=A[I])!=null;I++){if(L){Q=P(L,O,I,A);var H=J^!!Q;if(B&&Q!=null){if(H){D=true;}else{A[I]=false;}}else{if(H){$.push(L);D=true;}}}}}if(Q!==undefined){if(!B){A=$;}E=E.replace(M.match[G],"");if(!D){return[];}break;}}}if(E===_){if(D==null){F.error(E);}else{break;}}_=E;}return A;};F.error=function($){throw"Syntax error, unrecognized expression: "+$;};var M=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function($){return $.getAttribute("href");}},relative:{"+":function(A,C){var _=typeof C==="string",E=_&&!/\W/.test(C),D=_&&!E;if(E){C=C.toLowerCase();}for(var G=0,B=A.length,$;G<B;G++){if(($=A[G])){while(($=$.previousSibling)&&$.nodeType!==1){}A[G]=D||$&&$.nodeName.toLowerCase()===C?$||false:$===C;}}if(D){F.filter(C,A,true);}},">":function(A,D){var _=typeof D==="string",$,E=0,C=A.length;if(_&&!/\W/.test(D)){D=D.toLowerCase();for(;E<C;E++){$=A[E];if($){var B=$.parentNode;A[E]=B.nodeName.toLowerCase()===D?B:false;}}}else{for(;E<C;E++){$=A[E];if($){A[E]=_?$.parentNode:$.parentNode===D;}}if(_){F.filter(D,A,true);}}},"":function(A,C,_){var D=E++,B=L,$;if(typeof C==="string"&&!/\W/.test(C)){C=C.toLowerCase();$=C;B=K;}B("parentNode",C,D,A,$,_);},"~":function(A,C,_){var D=E++,B=L,$;if(typeof C==="string"&&!/\W/.test(C)){C=C.toLowerCase();$=C;B=K;}B("previousSibling",C,D,A,$,_);}},find:{ID:function(B,_,$){if(typeof _.getElementById!=="undefined"&&!$){var A=_.getElementById(B[1]);return A?[A]:[];}},NAME:function(C,A){if(typeof A.getElementsByName!=="undefined"){var $=[],_=A.getElementsByName(C[1]);for(var D=0,B=_.length;D<B;D++){if(_[D].getAttribute("name")===C[1]){$.push(_[D]);}}return $.length===0?null:$;}},TAG:function(_,$){return $.getElementsByTagName(_[1]);}},preFilter:{CLASS:function(E,C,D,A,_,B){E=" "+E[1].replace(/\\/g,"")+" ";if(B){return E;}for(var F=0,$;($=C[F])!=null;F++){if($){if(_^($.className&&(" "+$.className+" ").replace(/[\t\n]/g," ").indexOf(E)>=0)){if(!D){A.push($);}}else{if(D){C[F]=false;}}}}return false;},ID:function($){return $[1].replace(/\\/g,"");},TAG:function(_,$){return _[1].toLowerCase();},CHILD:function(_){if(_[1]==="nth"){var $=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(_[2]==="even"&&"2n"||_[2]==="odd"&&"2n+1"||!/\D/.test(_[2])&&"0n+"+_[2]||_[2]);_[2]=($[1]+($[2]||1))-0;_[3]=$[3]-0;}_[0]=E++;return _;},ATTR:function(E,B,C,_,$,A){var D=E[1].replace(/\\/g,"");if(!A&&M.attrMap[D]){E[1]=M.attrMap[D];}if(E[2]==="~="){E[4]=" "+E[4]+" ";}return E;},PSEUDO:function(E,B,C,A,_){if(E[1]==="not"){if((D.exec(E[3])||"").length>1||/^\w/.test(E[3])){E[3]=F(E[3],null,null,B);}else{var $=F.filter(E[3],B,C,true^_);if(!C){A.push.apply(A,$);}return false;}}else{if(M.match.POS.test(E[0])||M.match.CHILD.test(E[0])){return true;}}return E;},POS:function($){$.unshift(true);return $;}},filters:{enabled:function($){return $.disabled===false&&$.type!=="hidden";},disabled:function($){return $.disabled===true;},checked:function($){return $.checked===true;},selected:function($){$.parentNode.selectedIndex;return $.selected===true;},parent:function($){return!!$.firstChild;},empty:function($){return!$.firstChild;},has:function($,A,_){return!!F(_[3],$).length;},header:function($){return(/h\d/i).test($.nodeName);},text:function($){return"text"===$.type;},radio:function($){return"radio"===$.type;},checkbox:function($){return"checkbox"===$.type;},file:function($){return"file"===$.type;},password:function($){return"password"===$.type;},submit:function($){return"submit"===$.type;},image:function($){return"image"===$.type;},reset:function($){return"reset"===$.type;},button:function($){return"button"===$.type||$.nodeName.toLowerCase()==="button";},input:function($){return(/input|select|textarea|button/i).test($.nodeName);}},setFilters:{first:function($,_){return _===0;},last:function($,B,_,A){return B===A.length-1;},even:function($,_){return _%2===0;},odd:function($,_){return _%2===1;},lt:function($,A,_){return A<_[3]-0;},gt:function($,A,_){return A>_[3]-0;},nth:function($,A,_){return _[3]-0===A;},eq:function($,A,_){return _[3]-0===A;}},filter:{PSEUDO:function(_,C,H,G){var A=C[1],E=M.filters[A];if(E){return E(_,H,C,G);}else{if(A==="contains"){return(_.textContent||_.innerText||F.getText([_])||"").indexOf(C[3])>=0;}else{if(A==="not"){var $=C[3];for(var D=0,B=$.length;D<B;D++){if($[D]===_){return false;}}return true;}else{F.error("Syntax error, unrecognized expression: "+A);}}}},CHILD:function($,E){var F=E[1],_=$;switch(F){case"only":case"first":while((_=_.previousSibling)){if(_.nodeType===1){return false;}}if(F==="first"){return true;}_=$;case"last":while((_=_.nextSibling)){if(_.nodeType===1){return false;}}return true;case"nth":var G=E[2],B=E[3];if(G===1&&B===0){return true;}var H=E[0],D=$.parentNode;if(D&&(D.sizcache!==H||!$.nodeIndex)){var A=0;for(_=D.firstChild;_;_=_.nextSibling){if(_.nodeType===1){_.nodeIndex=++A;}}D.sizcache=H;}var C=$.nodeIndex-B;if(G===0){return C===0;}else{return(C%G===0&&C/G>=0);}}},ID:function($,_){return $.nodeType===1&&$.getAttribute("id")===_;},TAG:function($,_){return(_==="*"&&$.nodeType===1)||$.nodeName.toLowerCase()===_;},CLASS:function($,_){return(" "+($.className||$.getAttribute("class"))+" ").indexOf(_)>-1;},ATTR:function($,D){var B=D[1],_=M.attrHandle[B]?M.attrHandle[B]($):$[B]!=null?$[B]:$.getAttribute(B),C=_+"",E=D[2],A=D[4];return _==null?E==="!=":E==="="?C===A:E==="*="?C.indexOf(A)>=0:E==="~="?(" "+C+" ").indexOf(A)>=0:!A?C&&_!==false:E==="!="?C!==A:E==="^="?C.indexOf(A)===0:E==="$="?C.substr(C.length-A.length)===A:E==="|="?C===A||C.substr(0,A.length+1)===A+"-":false;},POS:function($,A,D,C){var _=A[2],B=M.setFilters[_];if(B){return B($,D,A,C);}}}},H=M.match.POS,B=function(_,$){return"\\"+($-0+1);};for(var G in M.match){M.match[G]=new RegExp(M.match[G].source+(/(?![^\[]*\])(?![^\(]*\))/.source));M.leftMatch[G]=new RegExp(/(^(?:.|\r|\n)*?)/.source+M.match[G].source.replace(/\\(\d+)/g,B));}var N=function(_,$){_=Array.prototype.slice.call(_,0);if($){$.push.apply($,_);return $;}return _;};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType;}catch(A){N=function(C,_){var $=_||[],B=0;if(J.call(C)==="[object Array]"){Array.prototype.push.apply($,C);}else{if(typeof C.length==="number"){for(var A=C.length;B<A;B++){$.push(C[B]);}}else{for(;C[B];B++){$.push(C[B]);}}}return $;};}var C;if(document.documentElement.compareDocumentPosition){C=function(B,A){if(!B.compareDocumentPosition||!A.compareDocumentPosition){if(B==A){_=true;}return B.compareDocumentPosition?-1:1;}var $=B.compareDocumentPosition(A)&4?-1:B===A?0:1;if($===0){_=true;}return $;};}else{if("sourceIndex"in document.documentElement){C=function(B,A){if(!B.sourceIndex||!A.sourceIndex){if(B==A){_=true;}return B.sourceIndex?-1:1;}var $=B.sourceIndex-A.sourceIndex;if($===0){_=true;}return $;};}else{if(document.createRange){C=function(B,A){if(!B.ownerDocument||!A.ownerDocument){if(B==A){_=true;}return B.ownerDocument?-1:1;}var C=B.ownerDocument.createRange(),D=A.ownerDocument.createRange();C.setStart(B,0);C.setEnd(B,0);D.setStart(A,0);D.setEnd(A,0);var $=C.compareBoundaryPoints(Range.START_TO_END,D);if($===0){_=true;}return $;};}}}F.getText=function(A){var _="",$;for(var B=0;A[B];B++){$=A[B];if($.nodeType===3||$.nodeType===4){_+=$.nodeValue;}else{if($.nodeType!==8){_+=F.getText($.childNodes);}}}return _;};(function(){var _=document.createElement("div"),$="script"+(new Date()).getTime();_.innerHTML="<a name='"+$+"'/>";var A=document.documentElement;A.insertBefore(_,A.firstChild);if(document.getElementById($)){M.find.ID=function(B,_,$){if(typeof _.getElementById!=="undefined"&&!$){var A=_.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===B[1]?[A]:undefined:[];}};M.filter.ID=function($,A){var _=typeof $.getAttributeNode!=="undefined"&&$.getAttributeNode("id");return $.nodeType===1&&_&&_.nodeValue===A;};}A.removeChild(_);A=_=null;})();(function(){var $=document.createElement("div");$.appendChild(document.createComment(""));if($.getElementsByTagName("*").length>0){M.find.TAG=function(B,_){var $=_.getElementsByTagName(B[1]);if(B[1]==="*"){var A=[];for(var C=0;$[C];C++){if($[C].nodeType===1){A.push($[C]);}}$=A;}return $;};}$.innerHTML="<a href='#'></a>";if($.firstChild&&typeof $.firstChild.getAttribute!=="undefined"&&$.firstChild.getAttribute("href")!=="#"){M.attrHandle.href=function($){return $.getAttribute("href",2);};}$=null;})();if(document.querySelectorAll){(function(){var A=F,_=document.createElement("div");_.innerHTML="<p class='TEST'></p>";if(_.querySelectorAll&&_.querySelectorAll(".TEST").length===0){return;}F=function(C,D,B,_){D=D||document;if(!_&&D.nodeType===9&&!F.isXML(D)){try{return N(D.querySelectorAll(C),B);}catch($){}}return A(C,D,B,_);};for(var $ in A){F[$]=A[$];}_=null;})();}(function(){var $=document.createElement("div");$.innerHTML="<div class='test e'></div><div class='test'></div>";if(!$.getElementsByClassName||$.getElementsByClassName("e").length===0){return;}$.lastChild.className="e";if($.getElementsByClassName("e").length===1){return;}M.order.splice(1,0,"CLASS");M.find.CLASS=function(A,_,$){if(typeof _.getElementsByClassName!=="undefined"&&!$){return _.getElementsByClassName(A[1]);}};$=null;})();function K(C,D,H,B,_,A){for(var G=0,E=B.length;G<E;G++){var $=B[G];if($){$=$[C];var F=false;while($){if($.sizcache===H){F=B[$.sizset];break;}if($.nodeType===1&&!A){$.sizcache=H;$.sizset=G;}if($.nodeName.toLowerCase()===D){F=$;break;}$=$[C];}B[G]=F;}}}function L(C,D,I,B,_,A){for(var H=0,E=B.length;H<E;H++){var $=B[H];if($){$=$[C];var G=false;while($){if($.sizcache===I){G=B[$.sizset];break;}if($.nodeType===1){if(!A){$.sizcache=I;$.sizset=H;}if(typeof D!=="string"){if($===D){G=true;break;}}else{if(F.filter(D,[$]).length>0){G=$;break;}}}$=$[C];}B[H]=G;}}}F.contains=document.compareDocumentPosition?function(_,$){return!!(_.compareDocumentPosition($)&16);}:function(_,$){return _!==$&&(_.contains?_.contains($):true);};F.isXML=function($){var _=($?$.ownerDocument||$:0).documentElement;return _?_.nodeName!=="HTML":false;};var I=function($,C){var B=[],A="",E,_=C.nodeType?[C]:C;while((E=M.match.PSEUDO.exec($))){A+=E[0];$=$.replace(M.match.PSEUDO,"");}$=M.relative[$]?$+"*":$;for(var G=0,D=_.length;G<D;G++){F($,_[G],B);}return F.filter(A,B);};baidu.dom.query=F;})();window[baidu.guid]._instances=window[baidu.guid]._instances||{};baidu.lang.decontrol=function($){var _=window[baidu.guid];_._instances&&(delete _._instances[$]);};baidu.dom._matchNode=function($,B,A){$=baidu.dom.g($);for(var _=$[A];_;_=_[B]){if(_.nodeType==1){return _;}}return null;};baidu.lang.guid=function(){return"TANGRAM__"+(window[baidu.guid]._counter++).toString(36);};window[baidu.guid]._counter=window[baidu.guid]._counter||1;baidu.dom.remove=function($){$=baidu.dom.g($);(tmpEl=$.parentNode)&&tmpEl.removeChild($);};baidu.dom._styleFilter=baidu.dom._styleFilter||[];baidu.sio=baidu.sio||{};baidu.sio._removeScriptTag=function($){if($.clearAttributes){$.clearAttributes();}else{for(var _ in $){if($.hasOwnProperty(_)){delete $[_];}}}if($&&$.parentNode){$.parentNode.removeChild($);}$=null;};baidu.json.parse=function($){if(!/^[\],:{}\s]*$/.test($.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return null;}return(new Function("return "+$))();};baidu.json.decode=function($){return baidu.json.parse($);};baidu.number=baidu.number||{};baidu.number.comma=function($,C){var A=String($).split("."),_=A[0].split("").reverse().join(""),B;if(!C||C<1){C=3;}B=new RegExp("\\d{"+C+"}","g");_=_.replace(B,function($){return $+",";}).split("").reverse().join("");if(_.charAt(0)==","){_=_.slice(1);}A[0]=_;return A.join(".");};baidu.ajax=baidu.ajax||{};baidu.ajax.request=function(D,M){function G(){if(J.readyState==4){try{var _=J.status;}catch($){C("failure");return;}C(_);if((_>=200&&_<300)||_==304||_==1223){C("success");}else{C("failure");}window.setTimeout(function(){J.onreadystatechange=new Function();if(E){J=null;}},0);}}function H(){if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP");}catch($){try{return new ActiveXObject("Microsoft.XMLHTTP");}catch($){}}}if(window.XMLHttpRequest){return new XMLHttpRequest();}}function C(_){_="on"+_;var A=I[_],$=baidu.ajax[_];if(A){if(_!="onsuccess"){A(J);}else{A(J,J.responseText);}}else{if($){if(_=="onsuccess"){return;}$(J);}}}M=M||{};var A=M.data||"",E=!(M.async===false),F=M.username||"",B=M.password||"",K=(M.method||"GET").toUpperCase(),$=M.headers||{},I={},L,J;for(L in M){I[L]=M[L];}$["X-Request-By"]="baidu.ajax";try{J=H();if(K=="GET"){D+=(D.indexOf("?")>=0?"&":"?");if(A){D+=A+"&";A=null;}if(M.noCache){D+="b"+(new Date()).getTime()+"=1";}}if(F){J.open(K,D,E,F,B);}else{J.open(K,D,E);}if(E){J.onreadystatechange=G;}if(K=="POST"){J.setRequestHeader("Content-Type","application/x-www-form-urlencoded");}for(L in $){if($.hasOwnProperty(L)){J.setRequestHeader(L,$[L]);}}C("beforerequest");J.send(A);if(!E){G();}}catch(_){C("failure");}return J;};baidu.page.getViewHeight=function(){var _=document,$=_.compatMode=="BackCompat"?_.body:_.documentElement;return $.clientHeight;};if((/(\d+\.\d)(\.\d)?\s+safari/i.test(navigator.userAgent)&&!/chrome/i.test(navigator.userAgent))){baidu.browser.safari=parseFloat(RegExp.$1);}if(/opera\/(\d+\.\d)/i.test(navigator.userAgent)){baidu.browser.opera=parseFloat(RegExp.$1);}baidu.dom.ready=function(){var $=false,B=false,A=[];function C(){if(!$){$=true;for(var B=0,_=A.length;B<_;B++){A[B]();}}}function _(){if(B){return;}B=true;var D=document,_=window,E=baidu.browser.opera;if(D.addEventListener&&!E){D.addEventListener("DOMContentLoaded",E?function(){if($){return;}for(var _=0;_<D.styleSheets.length;_++){if(D.styleSheets[_].disabled){setTimeout(arguments.callee,0);return;}}C();}:C,false);}else{if(baidu.browser.ie&&_==top){(function(){if($){return;}try{D.documentElement.doScroll("left");}catch(_){setTimeout(arguments.callee,0);return;}C();})();}else{if(baidu.browser.safari){var A;(function(){if($){return;}if(D.readyState!="loaded"&&D.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(A===undefined){A=0;var B=D.getElementsByTagName("style"),_=D.getElementsByTagName("link");if(B){A+=B.length;}if(_){for(var F=0,E=_.length;F<E;F++){if(_[F].getAttribute("rel")=="stylesheet"){A++;}}}}if(D.styleSheets.length!=A){setTimeout(arguments.callee,0);return;}C();})();}}}_.attachEvent?_.attachEvent("onload",C):_.addEventListener("load",C,false);}return function(B){_();$?B():(A[A.length]=B);};}();baidu.sio.callByBrowser=function(D,A,E){E=E||{};var _=document.createElement("SCRIPT"),$=0,C,B=E.charset;_.onload=_.onreadystatechange=function(){if($){return;}var B=_.readyState;if("undefined"==typeof B||B=="loaded"||B=="complete"){$=1;try{("function"==typeof A)&&A();}finally{baidu.sio._removeScriptTag(_);}}};_.setAttribute("type","text/javascript");B&&_.setAttribute("charset",B);_.setAttribute("src",D);document.getElementsByTagName("head")[0].appendChild(_);};baidu.event.getPageY=function(_){var $=_.pageY,A=document;if(!$&&$!==0){$=(_.clientY||0)+(A.documentElement.scrollTop||A.body.scrollTop);}return $;};baidu.event.getKeyCode=function($){return $.which||$.keyCode;};baidu.array.lastIndexOf=function(_,A){var B=_.length,$=A;if("function"!=typeof A){$=function($){return A===$;};}while(B--){if(true===$.call(_,_[B],B)){return B;}}return-1;};baidu.lang.Class=function($){this.guid=$||baidu.lang.guid();window[baidu.guid]._instances[this.guid]=this;};window[baidu.guid]._instances=window[baidu.guid]._instances||{};baidu.lang.Class.prototype.dispose=function(){delete window[baidu.guid]._instances[this.guid];for(var $ in this){if(typeof this[$]!="function"){delete this[$];}}this.disposed=true;};baidu.lang.Class.prototype.toString=function(){return"[object "+(this._className||"Object")+"]";};baidu.lang.createClass=function(F,E){E=E||{};var _=E.parentClass||baidu.lang.Class,B=function(){_.call(this);F.apply(this,arguments);for(var A=0,$=B["\x06r"].length;A<$;A++){B["\x06r"][A](this);}};B.options=E.options||{};B["\x06r"]=[];B.regist=function($){if(typeof $=="function"){B["\x06r"].push($);}};var A=function(){},$=F.prototype;A.prototype=_.prototype;var D=B.prototype=new A();for(var C in $){D[C]=$[C];}typeof E.className=="string"&&(D._className=E.className);D.constructor=$.constructor;B.extend=function($){for(var _ in $){B.prototype[_]=$[_];}return B;};return B;};baidu.dom.getByAddress=function(_,B,E){B=(B?B:document).documentElement;var F=0,D;for(;B&&F<_.length;F++){var A=_[F],$=-1,C;if(!E){B=B.childNodes[A];continue;}for(D=0;D<B.childNodes.length;D++){C=B.childNodes[D];if(E===true&&C.nodeType==3&&C.previousSibling&&C.previousSibling.nodeType==3){continue;}$++;if($==A){B=C;break;}}}return B?B:null;};baidu.cookie=baidu.cookie||{};baidu.cookie._isValidKey=function($){return(new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$')).test($);};baidu.cookie.getRaw=function(A){if(baidu.cookie._isValidKey(A)){var _=new RegExp("(^| )"+A+"=([^;]*)(;|$)"),$=_.exec(document.cookie);if($){return $[2]||null;}}return null;};baidu.cookie.get=function(_){var $=baidu.cookie.getRaw(_);if("string"==typeof $){$=decodeURIComponent($);return $;}return null;};baidu.event.stopPropagation=function($){if($.stopPropagation){$.stopPropagation();}else{$.cancelBubble=true;}};baidu.event.preventDefault=function($){if($.preventDefault){$.preventDefault();}else{$.returnValue=false;}};baidu.event.stop=function(_){var $=baidu.event;$.stopPropagation(_);$.preventDefault(_);};baidu.dom.getAddress=function(A,D,E){A=baidu.g(A);var C=[],F=D?D.documentElement:baidu.dom.getDocument(A).documentElement;while(A&&A!=F){var B=A.parentNode,_=-1,$=B.firstChild;while($){if(E&&$.nodeType==3&&$.previousSibling&&$.previousSibling.nodeType==3){$=$.nextSibling;continue;}_++;if($==A){break;}$=$.nextSibling;}C.unshift(_);A=A.parentNode;}return C;};baidu.page.loadCssFile=function(_){var $=document.createElement("link");$.setAttribute("rel","stylesheet");$.setAttribute("type","text/css");$.setAttribute("href",_);document.getElementsByTagName("head")[0].appendChild($);};baidu.dom._styleFilter[baidu.dom._styleFilter.length]={get:function(A,_){if(/color/i.test(A)&&_.indexOf("rgb(")!=-1){var C=_.split(",");_="#";for(var B=0,$;$=C[B];B++){$=parseInt($.replace(/[^\d]/gi,""),10).toString(16);_+=$.length==1?"0"+$:$;}_=_.toUpperCase();}return _;}};baidu.dom.getAttr=function($,_){$=baidu.dom.g($);if("style"==_){return $.style.cssText;}_=baidu.dom._NAME_ATTRS[_]||_;return $.getAttribute(_);};baidu.getAttr=baidu.dom.getAttr;baidu.dom.next=function($){return baidu.dom._matchNode($,"nextSibling","nextSibling");};baidu.dom.insertBefore=function($,A){var _,B;_=baidu.dom.g;$=_($);A=_(A);B=A.parentNode;if(B){B.insertBefore($,A);}return $;};baidu.lang.isFunction=function($){return"[object Function]"==Object.prototype.toString.call($);};baidu.url=baidu.url||{};baidu.url.queryToJson=function(G){var A=G.substr(G.indexOf("?")+1),E=A.split("&"),D=E.length,$={},F,C,B,_;for(i=0;i<D;i++){_=E[i].split("=");F=_[0];C=_[1];B=$[F];if("undefined"==typeof B){$[F]=C;}else{if(Object.prototype.toString.call(B)=="[object Array]"){B.push(C);}else{$[F]=[B,C];}}}return $;};(function(){var $=/^\#[\da-f]{6}$/i,_=/^rgb\((\d+), (\d+), (\d+)\)$/;baidu.string.formatColor=function(D){if($.test(D)){return D;}else{if(_.test(D)){for(var C,F=1,D="#";F<4;F++){C=parseInt(RegExp["$"+F]).toString(16);D+=("00"+C).substr(C.length);}return D;}else{if(/^\#[\da-f]{3}$/.test(D)){var B=D.charAt(1),A=D.charAt(2),E=D.charAt(3);return"#"+B+B+A+A+E+E;}}}return"";};})();baidu.array.find=function(_,$){var A,C,B=_.length;if("function"==typeof $){for(C=0;C<B;C++){A=_[C];if(true===$.call(_,A,C)){return A;}}}return null;};baidu.object.extend=function(A,$){for(var _ in $){if($.hasOwnProperty(_)){A[_]=$[_];}}return A;};baidu.extend=baidu.object.extend;baidu.array.removeAt=function(_,$){return _.splice($,1)[0];};baidu.lang.isString=function($){return"[object String]"==Object.prototype.toString.call($);};baidu.isString=baidu.lang.isString;baidu.event.getTarget=function($){return $.target||$.srcElement;};baidu.object.each=function(_,$){var B,C,A;if("function"==typeof $){for(C in _){if(_.hasOwnProperty(C)){A=_[C];B=$.call(_,A,C);if(B===false){break;}}}}return _;};baidu.dom.show=function($){$=baidu.dom.g($);$.style.display="";return $;};baidu.show=baidu.dom.show;baidu.page.getWidth=function(){var A=document,$=A.body,B=A.documentElement,_=A.compatMode=="BackCompat"?$:A.documentElement;return Math.max(B.scrollWidth,$.scrollWidth,_.clientWidth);};baidu.dom.getParent=function($){$=baidu.dom.g($);var _=$.parentNode;return _&&_.nodeType!==11?_:null;};baidu.dom.children=function($){$=baidu.dom.g($);for(var A=[],_=$.firstChild;_;_=_.nextSibling){if(_.nodeType==1){A.push(_);}}return A;};baidu.string.filterFormat.escapeJs=function(_){if(!_||"string"!=typeof _){return _;}var C,A,B,$=[];for(C=0,A=_.length;C<A;++C){B=_.charCodeAt(C);if(B>255){$.push(_.charAt(C));}else{$.push("\\x"+B.toString(16));}}return $.join("");};baidu.string.filterFormat.js=baidu.string.filterFormat.escapeJs;baidu.event.on=function(_,B,A){B=B.replace(/^on/i,"");if("string"==typeof _){_=baidu.dom.g(_);}var C=function($){A.call(_,$);},$=baidu.event._listeners;$[$.length]=[_,B,A,C];if(_.addEventListener){_.addEventListener(B,C,false);}else{if(_.attachEvent){_.attachEvent("on"+B,C);}}return _;};baidu.on=baidu.event.on;baidu.page.getScrollTop=function(){var $=document;return $.documentElement.scrollTop||$.body.scrollTop;};baidu.dom.prev=function($){return baidu.dom._matchNode($,"previousSibling","previousSibling");};baidu.cookie.setRaw=function(A,_,B){if(!baidu.cookie._isValidKey(A)){return;}B=B||{};var $=B.expires;if("number"==typeof B.expires){$=new Date();$.setTime($.getTime()+B.expires);}document.cookie=A+"="+_+(B.path?"; path="+B.path:"")+($?"; expires="+$.toGMTString():"")+(B.domain?"; domain="+B.domain:"")+(B.secure?"; secure":"");};baidu.date.parse=function(B){var C=new RegExp("^\\d+(\\-|\\/)\\d+(\\-|\\/)\\d+$");if("string"==typeof B){if(C.test(B)||isNaN(Date.parse(B))){var A=B.split(/ |T/),_=A.length>1?A[1].split(/[^\d]/):[0,0,0],$=A[0].split(/[^\d]/);return new Date($[0]-0,$[1]-1,$[2]-0,_[0]-0,_[1]-0,_[2]-0);}else{return new Date(B);}}return new Date();};baidu.dom.addClass=function(_,A){_=baidu.dom.g(_);var C=baidu.string.trim,$=C(A).split(/\s+/),B=$.length;A=_.className.split(/\s+/).join(" ");while(B--){(new RegExp("(^| )"+$[B]+"( |$)")).test(A)&&$.splice(B,1);}_.className=C(A+" "+$.join(" "));return _;};baidu.addClass=baidu.dom.addClass;baidu.dom.removeClass=function($,_){$=baidu.dom.g($);var A=baidu.string.trim;$.className=A($.className.split(/\s+/).join("  ").replace(new RegExp("(^| )("+A(_).split(/\s+/).join("|")+")( |$)","g")," ").replace(/\s+/g," "));return $;};baidu.removeClass=baidu.dom.removeClass;baidu.dom.hasClass=function(_,A){_=baidu.dom.g(_);var $=baidu.string.trim(A).split(/\s+/),B=$.length;A=_.className.split(/\s+/).join(" ");while(B--){if(!(new RegExp("(^| )"+$[B]+"( |$)")).test(A)){return false;}}return true;};baidu.dom.toggleClass=function($,_){if(baidu.dom.hasClass($,_)){baidu.dom.removeClass($,_);}else{baidu.dom.addClass($,_);}};baidu.lang.isArray=function($){return"[object Array]"==Object.prototype.toString.call($);};baidu.string.toHalfWidth=function($){return String($).replace(/[\uFF01-\uFF5E]/g,function($){return String.fromCharCode($.charCodeAt(0)-65248);}).replace(/\u3000/g," ");};baidu.string.toCamelCase=function($){if($.indexOf("-")<0&&$.indexOf("_")<0){return $;}return $.replace(/[-_][^-_]/g,function($){return $.charAt(1).toUpperCase();});};baidu.dom.empty=function($){$=baidu.dom.g($);while($.firstChild){$.removeChild($.firstChild);}return $;};baidu.dom.getAncestorBy=function($,_){$=baidu.dom.g($);while(($=$.parentNode)&&$.nodeType==1){if(_($)){return $;}}return null;};baidu.lang.isNumber=function($){return"[object Number]"==Object.prototype.toString.call($);};baidu.page.loadJsFile=function(_){var $=document.createElement("script");$.setAttribute("type","text/javascript");$.setAttribute("src",_);$.setAttribute("defer","defer");document.getElementsByTagName("head")[0].appendChild($);};baidu.string.filterFormat.escapeString=function($){if(!$||"string"!=typeof $){return $;}return $.replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;").replace(/>/g,"&#62;").replace(/\\/g,"&#92;").replace(/\//g,"&#47;");};baidu.string.filterFormat.e=baidu.string.filterFormat.escapeString;baidu.dom._styleFilter.filter=function(C,$,_){for(var D=0,B=baidu.dom._styleFilter,A;A=B[D];D++){if(A=A[_]){$=A(C,$);}}return $;};baidu.dom.setStyle=function($,C,B){var A=baidu.dom,_;$=A.g($);C=baidu.string.toCamelCase(C);if(_=A._styleFilter){B=_.filter(C,B,"set");}_=A._styleFixer[C];(_&&_.set)?_.set($,B):($.style[_||C]=B);return $;};baidu.setStyle=baidu.dom.setStyle;baidu.dom.setStyles=function($,_){$=baidu.dom.g($);for(var A in _){baidu.dom.setStyle($,A,_[A]);}return $;};baidu.setStyles=baidu.dom.setStyles;baidu.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);baidu.lang.instance=function($){return window[baidu.guid]._instances[$]||null;};baidu.dom.getStyle=function($,D){var B=baidu.dom;$=B.g($);D=baidu.string.toCamelCase(D);var C=$.style[D];if(!C){var A=B._styleFixer[D],_=$.currentStyle||(baidu.browser.ie?$.style:getComputedStyle($,null));if("string"==typeof A){C=_[A];}else{if(A&&A.get){C=A.get($,_);}else{C=_[D];}}}if(A=B._styleFilter){C=A.filter(D,C,"get");}return C;};baidu.getStyle=baidu.dom.getStyle;baidu.page.getScrollLeft=function(){var $=document;return $.documentElement.scrollLeft||$.body.scrollLeft;};(function(){baidu.page.getMousePosition=function(){return{x:baidu.page.getScrollLeft()+$.x,y:baidu.page.getScrollTop()+$.y};};var $={x:0,y:0};baidu.event.on(document,"onmousemove",function(_){_=window.event||_;$.x=_.clientX;$.y=_.clientY;});})();(function(){var H,A,C,D,G,J,I,F;baidu.dom.drag=function(K,M){if(!(H=baidu.dom.g(K))){return false;}A=baidu.object.extend({autoStop:true,capture:true,interval:20},M);J=parseInt(baidu.dom.getStyle(H,"top"))||0;I=parseInt(baidu.dom.getStyle(H,"left"))||0;var L=baidu.page.getMousePosition();C=L.x;D=L.y;clearTimeout(G);G=setInterval(E,A.interval);A.autoStop&&baidu.event.on(document,"mouseup",B);baidu.event.on(document.body,"selectstart",_);if(A.capture&&H.setCapture){H.setCapture();}else{if(A.capture&&window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);}}F=document.body.style.MozUserSelect;document.body.style.MozUserSelect="none";typeof A.ondragstart=="function"&&A.ondragstart(H,A);return{stop:$};};function $(){clearTimeout(G);if(A.capture&&H.releaseCapture){H.releaseCapture();}else{if(A.capture&&window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);}}document.body.style.MozUserSelect=F;baidu.event.un(document.body,"selectstart",_);typeof A.ondragend=="function"&&A.ondragend(H,A);}function E($){var B=A.range,F=baidu.page.getMousePosition(),_=I+F.x-C,E=J+F.y-D;if(typeof B=="object"&&B&&B.length==4){_=Math.max(B[3],_);_=Math.min(B[1]-H.offsetWidth,_);E=Math.max(B[0],E);E=Math.min(B[2]-H.offsetHeight,E);}H.style.top=E+"px";H.style.left=_+"px";typeof A.ondrag=="function"&&A.ondrag(H,A);}function B(_){$();baidu.event.un(document,"mouseup",B);}function _($){return baidu.event.preventDefault($,false);}})();baidu.url.escapeSymbol=function($){return String($).replace(/\%/g,"%25").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/\ /g,"%20").replace(/\//g,"%2F").replace(/\#/g,"%23").replace(/\=/g,"%3D");};baidu.dom.hasAttr=function($,_){$=baidu.g($);var A=$.attributes.getNamedItem(_);return!!(A&&A.specified);};baidu.event.EventArg=function($,B){B=B||window;$=$||B.event;var A=B.document;this.target=$.target||$.srcElement;this.keyCode=$.which||$.keyCode;for(var C in $){var _=$[C];if("function"!=typeof _){this[C]=_;}}if(!this.pageX&&this.pageX!==0){this.pageX=($.clientX||0)+(A.documentElement.scrollLeft||A.body.scrollLeft);this.pageY=($.clientY||0)+(A.documentElement.scrollTop||A.body.scrollTop);}this._event=$;};baidu.event.EventArg.prototype.preventDefault=function(){if(this._event.preventDefault){this._event.preventDefault();}else{this._event.returnValue=false;}return this;};baidu.event.EventArg.prototype.stopPropagation=function(){if(this._event.stopPropagation){this._event.stopPropagation();}else{this._event.cancelBubble=true;}return this;};baidu.event.EventArg.prototype.stop=function(){return this.stopPropagation().preventDefault();};baidu.dom.toggle=function($){$=baidu.dom.g($);$.style.display=$.style.display=="none"?"":"none";return $;};baidu.event.get=function($,_){return new baidu.event.EventArg($,_);};baidu.object.values=function(_){var $=[],A=0,B;for(B in _){if(_.hasOwnProperty(B)){$[A++]=_[B];}}return $;};baidu.dom.hide=function($){$=baidu.dom.g($);$.style.display="none";return $;};baidu.hide=baidu.dom.hide;baidu.lang.isElement=function($){return!!($&&$.nodeName&&$.nodeType==1);};baidu.json.encode=function($){return baidu.json.stringify($);};baidu.lang.inherits=function(_,$,B){var E,D,A=_.prototype,C=new Function();C.prototype=$.prototype;D=_.prototype=new C();for(E in A){D[E]=A[E];}_.prototype.constructor=_;_.superClass=$.prototype;if("string"==typeof B){D._className=B;}};baidu.inherits=baidu.lang.inherits;baidu.array.each=function(_,$){var B,A,D,C=_.length;if("function"==typeof $){for(D=0;D<C;D++){A=_[D];B=$.call(_,A,D);if(B===false){break;}}}return _;};baidu.each=baidu.array.each;baidu.page.getViewWidth=function(){var _=document,$=_.compatMode=="BackCompat"?_.body:_.documentElement;return $.clientWidth;};baidu.browser.isQuirks=(document.compatMode=="BackCompat");baidu.string.encodeHTML=function($){return String($).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");};baidu.encodeHTML=baidu.string.encodeHTML;baidu.dom.contains=function(_,A){var $=baidu.dom.g;_=$(_);A=$(A);return _.contains?_!=A&&_.contains(A):!!(_.compareDocumentPosition(A)&16);};baidu.dom.draggable=function($,_){_=baidu.object.extend({toggle:function(){return true;}},_||{});_.autoStop=true;if(($=baidu.dom.g($))&&baidu.dom.getStyle($,"position")!="static"){baidu.event.on(_.handler||$,"onmousedown",function(){if(typeof _.toggle=="function"&&!_.toggle()){return;}baidu.dom.drag($,_);});}return $;};baidu.dom._styleFixer.textOverflow=(function(){var B={};function _(_){var $=_.length;if($>0){$=_[$-1];_.length--;}else{$=null;}return $;}function A($,_){$[baidu.browser.firefox?"textContent":"innerText"]=_;}function $(C,F,H){var G=baidu.browser.ie?C.currentStyle||C.style:getComputedStyle(C,null),K=G.fontWeight,I="font-family:"+G.fontFamily+";font-size:"+G.fontSize+";word-spacing:"+G.wordSpacing+";font-weight:"+((parseInt(K)||0)==401?700:K)+";font-style:"+G.fontStyle+";font-variant:"+G.fontVariant,E=B[I];if(!E){G=C.appendChild(document.createElement("div"));G.style.cssText="float:left;"+I;E=B[I]=[];for(J=0;J<256;J++){J==32?(G.innerHTML="&nbsp;"):A(G,String.fromCharCode(J));E[J]=G.offsetWidth;}A(G,"\u4e00");E[256]=G.offsetWidth;A(G,"\u4e00\u4e00");E[257]=G.offsetWidth-E[256]*2;E[258]=E[".".charCodeAt(0)]*3+E[257]*3;C.removeChild(G);}for(var L=C.firstChild,Q=E[256],N=E[257],P=E[258],O=[],H=H?P:0;L;L=L.nextSibling){if(F<H){C.removeChild(L);}else{if(L.nodeType==3){for(var J=0,D=L.nodeValue,M=D.length;J<M;J++){G=D.charCodeAt(J);O[O.length]=[F,L,J];F-=(J?N:0)+(G<256?E[G]:Q);if(F<H){break;}}}else{G=L.tagName;if(G=="IMG"||G=="TABLE"){G=L;L=L.previousSibling;C.removeChild(G);}else{O[O.length]=[F,L];F-=L.offsetWidth;}}}}if(F<H){while(G=_(O)){F=G[0];L=G[1];G=G[2];if(L.nodeType==3){if(F>=P){L.nodeValue=L.nodeValue.substring(0,G)+"...";return true;}else{if(!G){C.removeChild(L);}}}else{if($(L,F,true)){return true;}else{C.removeChild(L);}}}C.innerHTML="";}}return{get:function($,_){var A=baidu.browser;return(A.opera?_.OTextOverflow:A.firefox?$._baiduOverflow:_.textOverflow)||"clip";},set:function(_,C){var B=baidu.browser;if(_.tagName=="TD"||_.tagName=="TH"||B.firefox){_._baiduHTML&&(_.innerHTML=_._baiduHTML);if(C=="ellipsis"){_._baiduHTML=_.innerHTML;var D=document.createElement("div"),A=_.appendChild(D).offsetWidth;_.removeChild(D);$(_,A);}else{_._baiduHTML="";}}D=_.style;B.opera?(D.OTextOverflow=C):B.firefox?(_._baiduOverflow=C):(D.textOverflow=C);}};})();baidu.ajax.form=function(C,Q){Q=Q||{};var O=C.elements,G=O.length,M=C.getAttribute("method"),H=C.getAttribute("action"),A=Q.replacer||function(_,$){return _;},B={},F=[],J,L,E,_,K,$,N,D,I;function P($,_){F.push($+"="+_);}for(J in Q){if(Q.hasOwnProperty(J)){B[J]=Q[J];}}for(J=0;J<G;J++){L=O[J];_=L.name;if(!L.disabled&&_){E=L.type;K=L.value;switch(E){case"radio":case"checkbox":if(!L.checked){break;}case"textarea":case"text":case"password":case"hidden":case"select-one":P(_,A(K,_));break;case"select-multiple":$=L.options;D=$.length;for(N=0;N<D;N++){I=$[N];if(I.selected){P(_,A(I.value,_));}}break;}}}B.data=F.join("&");B.method=C.getAttribute("method")||"POST";return baidu.ajax.request(H,B);};baidu.number.pad=function($,B){var _="",C=($<0),A=String(Math.abs($));if(A.length<B){_=(new Array(B-A.length+1)).join("0");}return(C?"-":"")+_+A;};baidu.date.format=function(C,B){if("string"!=typeof B){return C.toString();}function _($,_){B=B.replace($,_);}var $=baidu.number.pad,H=C.getFullYear(),F=C.getMonth()+1,G=C.getDate(),E=C.getHours(),A=C.getMinutes(),D=C.getSeconds();_(/yyyy/g,$(H,4));_(/yy/g,$(H.toString().slice(2),2));_(/MM/g,$(F,2));_(/M/g,F);_(/dd/g,$(G,2));_(/d/g,G);_(/HH/g,$(E,2));_(/H/g,E);_(/hh/g,$(E%12,2));_(/h/g,E%12);_(/mm/g,$(A,2));_(/m/g,A);_(/ss/g,$(D,2));_(/s/g,D);return B;};baidu.dom.getDocument=function($){$=baidu.dom.g($);return $.nodeType==9?$:$.ownerDocument||$.document;};baidu.dom.getWindow=function($){$=baidu.dom.g($);var _=baidu.dom.getDocument($);return _.parentWindow||_.defaultView||null;};baidu.browser.isWebkit=/webkit/i.test(navigator.userAgent);baidu.browser.isStrict=document.compatMode=="CSS1Compat";baidu.dom.getPosition=function($){var G=baidu.dom.getDocument($),H=baidu.browser,B=baidu.dom.getStyle;$=baidu.dom.g($);var K=H.isGecko>0&&G.getBoxObjectFor&&B($,"position")=="absolute"&&($.style.top===""||$.style.left===""),C={left:0,top:0},J=(H.ie&&!H.isStrict)?G.body:G.documentElement;if($==J){return C;}var A=null,I,_,D,E;if($.getBoundingClientRect){I=$.getBoundingClientRect();C.left=Math.floor(I.left)+Math.max(G.documentElement.scrollLeft,G.body.scrollLeft);C.top=Math.floor(I.top)+Math.max(G.documentElement.scrollTop,G.body.scrollTop);C.left-=G.documentElement.clientLeft;C.top-=G.documentElement.clientTop;_=G.body;D=parseInt(B(_,"border-left-width"));E=parseInt(B(_,"border-top-width"));if(H.ie&&!H.isStrict){C.left-=isNaN(D)?2:D;C.top-=isNaN(E)?2:E;}}else{if(G.getBoxObjectFor&&!K){I=G.getBoxObjectFor($);var F=G.getBoxObjectFor(J);C.left=I.screenX-F.screenX;C.top=I.screenY-F.screenY;}else{A=$;do{C.left+=A.offsetLeft;C.top+=A.offsetTop;if(H.isWebkit>0&&B(A,"position")=="fixed"){C.left+=G.body.scrollLeft;C.top+=G.body.scrollTop;break;}A=A.offsetParent;}while(A&&A!=$);if(H.opera>0||(H.isWebkit>0&&B($,"position")=="absolute")){C.top-=G.body.offsetTop;}A=$.offsetParent;while(A&&A!=G.body){C.left-=A.scrollLeft;if(!b.opera||A.tagName!="TR"){C.top-=A.scrollTop;}A=A.offsetParent;}}}return C;};baidu.dom.intersect=function(E,D){var A=baidu.dom.g,F=baidu.dom.getPosition,C=Math.max,_=Math.min;E=A(E);D=A(D);var $=F(E),B=F(D);return C($.left,B.left)<=_($.left+E.offsetWidth,B.left+D.offsetWidth)&&C($.top,B.top)<=_($.top+E.offsetHeight,B.top+D.offsetHeight);};baidu.dom.getCommonAncestor=function(C,_){C=baidu.g(C);_=baidu.g(_);var $=baidu.lang.isElement,A=baidu.dom.getParent,B=baidu.dom.contains;C=$(C)?C:A(C);_=$(_)?_:A(_);if(_===C){return C;}if(B(_,C)){return _;}do{if(B(C,_)){return C;}}while((C=A(C)));return null;};baidu.swf.getMovie=function($){return document[$]||window[$];};baidu.url.jsonToQuery=function(B,_){var $=[],D=0,E,C,A;_=_||function($){return baidu.url.escapeSymbol($);};for(E in B){if(B.hasOwnProperty(E)){C=B[E];if(Object.prototype.toString.call(C)=="[object Array]"){A=C.length;while(A--){$[D++]=E+"="+_(C[A],E);}}else{$[D++]=E+"="+_(C,E);}}}return $.join("&");};baidu.sio.callByServer=function(E,B,G){G=G||{};var $=document.createElement("SCRIPT"),A="bd__cbs__",_=typeof B,F,D,C=G.charset;if("string"==_){F=B;}else{if("function"==_){while(1){F=A+Math.floor(Math.random()*2147483648).toString(36);if(!window[F]){window[F]=function(){try{B.apply(window,arguments);}finally{baidu.sio._removeScriptTag($);window[F]=null;}};break;}}}}if("string"==typeof F){E=E.replace(/(\?|&)callback=[^&]*/,"$1callback="+F);if(E.search(/(\?|&)callback=/)<0){E+=(E.indexOf("?")<0?"?":"&");E+="callback="+F;}}$.setAttribute("type","text/javascript");C&&$.setAttribute("charset",C);$.setAttribute("src",E);document.getElementsByTagName("head")[0].appendChild($);};baidu.dom.getAncestorByClass=function($,_){$=baidu.dom.g($);_=new RegExp("(^|\\s)"+baidu.string.trim(_)+"(\\s|$)");while(($=$.parentNode)&&$.nodeType==1){if(_.test($.className)){return $;}}return null;};if(/chrome\/(\d+\.\d)/i.test(navigator.userAgent)){baidu.browser.chrome=parseFloat(RegExp.$1);}baidu.string.escapeReg=function($){return String($).replace(new RegExp("([.*+?^=!:${}()|[\\]/\\\\])","g"),"\\$1");};baidu.dom.q=function(C,_,B){var $=[],E=baidu.string.trim,D,G,F,A;if(!(C=E(C))){return null;}if("undefined"==typeof _){_=document;}else{_=baidu.dom.g(_);if(!_){return $;}}B&&(B=E(B).toUpperCase());if(_.getElementsByClassName){F=_.getElementsByClassName(C);D=F.length;for(G=0;G<D;G++){A=F[G];if(B&&A.tagName!=B){continue;}$[$.length]=A;}}else{C=new RegExp("(^|\\s)"+baidu.string.escapeReg(C)+"(\\s|$)");F=B?_.getElementsByTagName(B):(_.all||_.getElementsByTagName("*"));D=F.length;for(G=0;G<D;G++){A=F[G];C.test(A.className)&&($[$.length]=A);}}return $;};baidu.q=baidu.Q=baidu.dom.q;baidu.page.getHeight=function(){var A=document,$=A.body,B=A.documentElement,_=A.compatMode=="BackCompat"?$:A.documentElement;return Math.max(B.scrollHeight,$.scrollHeight,_.clientHeight);};baidu.dom._styleFilter[baidu.dom._styleFilter.length]={set:function(_,$){if($.constructor==Number&&!/zIndex|fontWeight|opacity|zoom|lineHeight/i.test(_)){$=$+"px";}return $;}};baidu.string.wbr=function($){return String($).replace(/(?:<[^>]+>)|(?:&#?[0-9a-z]{2,6};)|(.{1})/gi,"$&<wbr>").replace(/><wbr>/g,">");};try{if(/(\d+\.\d)/.test(external.max_version)){baidu.browser.maxthon=parseFloat(RegExp.$1);}}catch(e){}baidu.array.indexOf=function(A,B,$){var C=A.length,_=B;$=Number($)||0;$=$<0?Math.ceil($):Math.floor($);$=Math.min(Math.max($,0),C);if("function"!=typeof B){_=function($){return B===$;};}for(;$<C;$++){if(true===_.call(A,A[$],$)){return $;}}return-1;};baidu.dom._styleFixer.opacity=baidu.browser.ie?{get:function($){var _=$.style.filter;_&&_.indexOf("opacity=")>=0?(parseFloat(_.match(/opacity=([^)]*)/)[1])/100)+"":"1";},set:function($,A){var _=$.style;_.filter=(_.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(A==1?"":"alpha(opacity="+A*100+")");_.zoom=1;}}:null;baidu.dom.insertAfter=function($,A){var _,B;_=baidu.dom.g;$=_($);A=_(A);B=A.parentNode;if(B){B.insertBefore($,A.nextSibling);}return $;};baidu.dom.first=function($){return baidu.dom._matchNode($,"nextSibling","firstChild");};baidu.object.clone=(function($){return function(A){var _=A,D,C;if(!A||A instanceof Number||A instanceof String||A instanceof Boolean){return _;}else{if(A instanceof Array){_=[];var B=0;for(D=0,C=A.length;D<C;D++){_[B++]=baidu.object.clone(A[D]);}}else{if("object"==typeof A){if($[Object.prototype.toString.call(A)]){return _;}_={};for(D in A){if(A.hasOwnProperty(D)){_[D]=baidu.object.clone(A[D]);}}}}}return _;};})({"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1});baidu.event.getPageX=function(_){var $=_.pageX,A=document;if(!$&&$!==0){$=(_.clientX||0)+(A.documentElement.scrollLeft||A.body.scrollLeft);}return $;};baidu.lang.toArray=function($){if($===null||$===undefined){return[];}if(baidu.lang.isArray($)){return $;}if(typeof $.length!=="number"||typeof $==="string"||baidu.lang.isFunction($)){return[$];}if($.item){var _=$.length,A=new Array(_);while(_--){A[_]=$[_];}return A;}return Array.prototype.slice.call($);};baidu.string.decodeHTML=function($){return String($).replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&");};baidu.decodeHTML=baidu.string.decodeHTML;(function(){getText=function(_){var $="",B,C=0,A;_=baidu.g(_);if(_.nodeType===3||_.nodeType===4){$+=_.nodeValue;}else{if(_.nodeType!==8){B=_.childNodes;for(A=B.length;C<A;C++){$+=getText(B[C]);}}}return $;};baidu.dom.getText=getText;})();baidu.lang.Event=function(_,$){this.type=_;this.returnValue=true;this.target=$||null;this.currentTarget=null;};baidu.lang.Class.prototype.addEventListener=function(A,C,B){if(typeof C!="function"){return;}!this.__listeners&&(this.__listeners={});var _=this.__listeners,$;if(typeof B=="string"&&B){if(/[^\w\-]/.test(B)){throw("nonstandard key:"+B);}else{C.hashCode=B;$=B;}}A.indexOf("on")!=0&&(A="on"+A);typeof _[A]!="object"&&(_[A]={});$=$||baidu.lang.guid();C.hashCode=$;_[A][$]=C;};baidu.lang.Class.prototype.removeEventListener=function(_,A){if(typeof A=="function"){A=A.hashCode;}else{if(typeof A!="string"){return;}}!this.__listeners&&(this.__listeners={});_.indexOf("on")!=0&&(_="on"+_);var $=this.__listeners;if(!$[_]){return;}$[_][A]&&delete $[_][A];};baidu.lang.Class.prototype.dispatchEvent=function(_,C){if("string"==typeof _){_=new baidu.lang.Event(_);}!this.__listeners&&(this.__listeners={});C=C||{};for(var B in C){typeof _[B]=="undefined"&&(_[B]=C[B]);}var $=this.__listeners,A=_.type;_.target=_.target||this;_.currentTarget=this;A.indexOf("on")!=0&&(A="on"+A);typeof this[A]=="function"&&this[A].apply(this,arguments);if(typeof $[A]=="object"){for(B in $[A]){$[A][B].apply(this,arguments);}}return _.returnValue;};baidu.cookie.set=function(_,$,A){baidu.cookie.setRaw(_,encodeURIComponent($),A);};baidu.url.getQueryValue=function(B,A){var $=new RegExp("(^|&|\\?|#)"+baidu.string.escapeReg(A)+"=([^&]*)(&|$)",""),_=B.match($);if(_){return _[2];}return null;};baidu.cookie.remove=function($,_){_=_||{};_.expires=new Date(0);baidu.cookie.setRaw($,"",_);};baidu.string.format=function(_,$){_=String(_);var A=Array.prototype.slice.call(arguments,1),B=Object.prototype.toString;if(A.length){A=A.length==1?($!==null&&(/\[object Array\]|\[object Object\]/.test(B.call($)))?$:A):A;return _.replace(/#\{(.+?)\}/g,function(_,C){var $=A[C];if("[object Function]"==B.call($)){$=$(C);}return("undefined"==typeof $?"":$);});}return _;};baidu.format=baidu.string.format;baidu.dom.last=function($){return baidu.dom._matchNode($,"previousSibling","lastChild");};baidu.lang.Class.prototype.addEventListeners=function(_,B){if(typeof B=="undefined"){for(var C in _){this.addEventListener(C,_[C]);}}else{_=_.split(",");var C=0,A=_.length,$;for(;C<A;C++){this.addEventListener(baidu.trim(_[C]),B);}}};baidu.dom.setBorderBoxStyles=function($,A){var B=["marginTop","marginLeft","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","paddingLeft","paddingRight","paddingTop","paddingBottom"],_={},C=B.length-1;for(;C>=0;C--){_[B[C]]=parseFloat(baidu.getStyle($,B[C]))||0;}if(A.top){A.top-=_.marginTop;}if(A.left){A.left-=_.marginLeft;}if(document.compatMode!="BackCompat"){if(A.width){A.width-=_.paddingLeft+_.paddingRight+_.borderLeftWidth+_.borderRightWidth;}if(A.height){A.height-=_.paddingTop+_.paddingBottom+_.borderTopWidth+_.borderBottomWidth;}}return baidu.dom.setStyles($,A);};(function(){var D={},B=baidu.lang.isArray,$=baidu.lang.isElement,C=function($){var _=this;if(B($)){baidu.each($,function($,A){_[A]=$;});}else{_[0]=$;}};D.each=function($){baidu.object.each(this,function(_){$.call(this,(new C(_)));});};baidu.each(("addClass draggable empty hide show insertAfter insertBefore insertHTML removeClass "+"setAttr setAttrs setStyle setStyles show toggleClass toggle children next first "+"getAncestorByClass getAncestorBy getAncestorByTag getDocument getParent getWindow "+"last next prev contains getAttr getPosition getStyle g q query hasClass intersect remove").split(" "),function($){D[$]=D[$.replace(/^get[A-Z]/g,_)]=A($,"dom");});baidu.each(("on un").split(" "),function($){D[$]=A($,"event");});baidu.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error").split(" "),function($){D[$]=function(_){return this.on($,_);};});C.prototype=D;function A(_,A){return function(){var D=[],E=arguments;baidu.object.each(this,function($,B){Array.prototype.unshift.call(E,$);if(!baidu.lang.isFunction(A)){A=baidu[A][_];}D.push(A.apply(this,E));Array.prototype.shift.call(E,$);});return($(D)||(B(D)&&$(D[0])))?new C(D):D;};}function _($){return $.charAt(3).toLowerCase();}baidu.e=baidu.element=function($){return new C(baidu.g($));};baidu.element.extend=function($){baidu.object.each($,function($,_){C.prototype[_]=A(_,$);});};})();baidu.ajax.post=function(A,$,_){return baidu.ajax.request(A,{onsuccess:_,method:"POST",data:$});};baidu.array.remove=function(_,A){var B=_.length,$=A;if("function"!=typeof A){$=function($){return A===$;};}while(B--){if(true===$.call(_,_[B],B)){_.splice(B,1);}}};baidu.lang.createSingle=function(_){var $=new baidu.lang.Class();for(var A in _){$[A]=_[A];}return $;};baidu.dom.getAncestorByTag=function($,_){$=baidu.dom.g($);_=_.toUpperCase();while(($=$.parentNode)&&$.nodeType==1){if($.tagName==_){return $;}}return null;};baidu.ajax.get=function(_,$){return baidu.ajax.request(_,{onsuccess:$});};baidu.dom._styleFixer["float"]=baidu.browser.ie?"styleFloat":"cssFloat";
