(function(){
				var tmp={"standardTree_depth_one":"{var map=ROOT_URL_IMAGE+'\/icon1_'}{var fn='standardTree_obj.Toggle1'}{var hide='style=\"display:none\"'}{for e in list}<h2 _imgKey='{if e.__attr.menu}${e.__attr.menu}{else}{if e.__stat}open{else}close{\/if}{\/if}' _id='ns_${e.__id}'>\r\n<span><a href=\"javascript:${fn}('${e.__path}',${e.__id},'${e.__attr.id}','tl_${e.__id}',true)\" id='nm_${e.__id}' _imgKey=\"{if e.__stat}03{else}07{\/if}\" _src='${map}{if e.__stat}03{else}07{\/if}.gif'><\/a><\/span><span id='stats_${e.__attr.id}'><a _pvCSTM='bbs_${e.__attr.type}_all;bbs_${e.__attr.type}_dep_1;bbs_${e.__attr.type}_id_${e.__attr.id}' href=\"javascript:${fn}('${e.__path}',${e.__id},'${e.__attr.id}','tl_${e.__id}',{if __const.isExcludePath==1}true{else}false{\/if});\">${e.__attr.name}<\/a><\/span>\r\n<span id='treeExpand_${e.__id}' ${hide} cssDisplay=\"{'ts_${e.__id}':''}\" {if !e.__attr.menu}cssClass=\"{'ns_${e.__id}':'open'}\"{\/if} imgCache=\"{'nm_${e.__id}':{imgKey:'03',src:'${map}03.gif'}}\"\/><\/span>\r\n<span id='treeCollapse_${e.__id}' ${hide} cssDisplay=\"{'ts_${e.__id}':'none'}\" {if !e.__attr.menu}cssClass=\"{'ns_${e.__id}':'close'}\"{\/if} imgCache=\"{'nm_${e.__id}':{imgKey:'07',src:'${map}07.gif'}}\"><\/span>\r\n<\/h2>\r\n<ul id='tl_${e.__id}' ${hide}>\r\n<h3><span><a _imgKey='07' _src='${map}07.gif'><\/a><\/span><a>loading...<\/a><\/h3>\r\n<\/ul>\r\n<div id='ts_${e.__id}' style='display:{if e.__stat}{else}none{\/if}'>${e.__childStr}<\/div>{\/for}","standardTree_depth_two":"{var map=ROOT_URL_IMAGE+'\/icon1_'}{var fn='standardTree_obj.Toggle2'}{var hide='style=\"display:none\"'}\r\n{for e in list}<h3 id='tl_${e.__id}' ${hide}><span><a _imgKey='07' _src='${map}07.gif'><\/a><\/span><a>loading...<\/a><\/h3>\r\n{if e.__attr.type=='dir'}\r\n{if e.__attr.nodeType=='1'}\r\n<h3><span><a _imgKey='20' _src=\"${map}20.gif\" ><\/a><\/span><a _pvCSTM='bbs_${e.__attr.type}_all;bbs_${e.__attr.type}_dep_2;bbs_${e.__attr.type}_id_${e.__attr.id}' href=\"javascript:${fn}(${e.__id},'${e.__attr.id}','tl_${e.__id}','${e.__path}',false)\" id=\"stats_${e.__attr.id}\">${e.__attr.name}<\/a><\/h3>\r\n{else}\r\n<h3>\r\n<span><a style='cursor:pointer' href=\"javascript:${fn}(${e.__id},'${e.__attr.id}','tl_${e.__id}','${e.__path}',true);\" id=\"nm_${e.__id}\" _imgKey=\"{if e.__stat}03{else}07{\/if}\" _src=\"${map}{if e.__stat}03{else}07{\/if}.gif\" ><\/a><\/span><a _pvCSTM='bbs_${e.__attr.type}_all;bbs_${e.__attr.type}_dep_2;bbs_${e.__attr.type}_id_${e.__attr.id}' href=\"javascript:${fn}(${e.__id},'${e.__attr.id}','tl_${e.__id}','${e.__path}',false);\" id=\"stats_${e.__attr.id}\">${e.__attr.name}<\/a>\r\n<span id=\"treeExpand_${e.__id}\" ${hide} cssDisplay=\"{'tds_${e.__id}':''}\" imgCache=\"{'nm_${e.__id}':{imgKey:'03',src:'${map}03.gif'}}\"><\/span>\r\n<span id=\"treeCollapse_${e.__id}\" ${hide} cssDisplay=\"{'tds_${e.__id}':'none'}\" imgCache=\"{'nm_${e.__id}':{imgKey:'07',src:'${map}07.gif'}}\"><\/span>\r\n<\/h3><ul id=\"tds_${e.__id}\" style=\"display:{if e.__stat}{else}none{\/if}\">${e.__childStr}<\/ul>\r\n{\/if}\r\n{else}<h3><span><a _imgKey='20' _src=\"${map}20.gif\" ><\/a><\/span><a href=\"javascript:${fn}(${e.__id},'${e.__attr.id}','tl_${e.__id}','${e.__path}',false)\" id=\"stats_${e.__attr.id}\" _pvCSTM='bbs_${e.__attr.type}_all;bbs_${e.__attr.type}_dep_2;bbs_${e.__attr.type}_id_${e.__attr.id}'>${e.__attr.name}<\/a><\/h3>\r\n{\/if}{\/for}\r\n\r\n\r\n\r\n\r\n","standardTree_depth_three":"{var map=ROOT_URL_IMAGE+'\/icon1_'}{for e in list}\r\n<li ><a _imgKey='20' _src=\"${map}20.gif\" ><\/a>&nbsp;&nbsp;<a id=\"stats_${e.__attr.id}\" href=\"javascript:standardTree_obj.Toggle3('${e.__id}','${e.__attr.id}','${e.__path}')\" _pvCSTM='bbs_${e.__attr.type}_all;bbs_${e.__attr.type}_dep_3;bbs_${e.__attr.type}_id_${e.__attr.id}'>${e.__attr.name}<\/a><\/li>{\/for}","standardNavi":"{if isExcludePath==1}\u817e\u8baf\u8bba\u575b&gt;{else}<a  href=\"http:\/\/bbs.qq.com\" >\u817e\u8baf\u8bba\u575b<\/a>&gt;{\/if}{var fn=\"javascript:standardNavi_obj.naviPath\"}\r\n{for e in list}{if e.__id&& e.__attr}{if isExcludePath==1&&e.__depth==1}${e.__attr.name}&gt;{else}<a  href=\"${fn}('${e.__path}','${e.__depth}','${e.__id}')\">${e.__attr.name}<\/a>&gt;{\/if}{\/if}{\/for}\r\n{if last&&last.__attr}{if lastLink}<a href=\"${fn}('${last.__path}','${last.__depth}','${last.__id}')\">${last.__attr.name}<\/a>${append}{else}${last.__attr.name}{\/if}{\/if}\r\n","standardHead":"<a href=\"javascript:standardHead_obj.naviPath('${__path}','${__depth}','${__id}')\">${__attr.name}<\/a>","standardSearch":"{var fn='standardSearch_obj'}<div class='cont'><input type='text' class='input1' id='keyword_${key}' value='${defaultValue}' onfocus='${fn}.sOnFocus(this)' onkeydown='if (event.keyCode==13) ${fn}.DoSearch(${key})' \/><input type='button' onclick='${fn}.DoSearch(${key})' class='searchBtnTxt' id='searchBtn_${key}'  value='\u8fdb\u5165\u7248' \/><br \/><input type='radio' name='stype_radio_${key}' onclick='${fn}.changBtnTxt(${key})' checked='checked'  id='search_ban_${key}' \/><label for='search_ban_${key}'>\u7248\u9762\u641c\u7d22<\/label><input type='radio' name='stype_radio_${key}'  onclick='${fn}.changBtnTxt(${key})'  id='search_tie_${key}' \/><label for='search_tie_${key}'>\u5e16\u5b50\u641c\u7d22<\/label><\/div>","userPageLink":"{var ln=linkInfo}\r\n{if ln.totalpage>1}<div class=\"pageLink\" >{if ln.showPrePage=='none'}<a href=\"javascript:void(0)\" class=\"stop\">&lt;<\/a>{else}<a href=\"javascript:userPageLink_obj.openUrl({if ln.showPrePage=='none'}1{else}${ln.prePage}{\/if},'${ln.totalpage}','${__id}')\"  title=\"\u4e0a\u4e00\u9875\" class=\"pre\">&lt;\u4e0a\u4e00\u9875<\/a>{\/if}{if ln.beginPage>1}<a href=\"javascript:userPageLink_obj.openUrl(1,'${ln.totalpage}','${__id}')\"   totalPage=\"${ln.totalpage}\">1<\/a>{if ln.beginPage>2}<span class=\"ext\">...<\/span>{\/if}{\/if}{for e in ln.upPages}{if ln.page!=e}<a  href=\"javascript:userPageLink_obj.openUrl(${e},'${ln.totalpage}','${__id}')\"   totalPage=\"${ln.totalpage}\">${e}<\/a>{else}<span class=\"current\">${e}<\/span>{\/if}\r\n{\/for}{if ln.endPage<ln.totalpage}{if ln.endPage<ln.totalpage-1}<span class=\"ext\">...<\/span>{\/if}<a href=\"javascript:userPageLink_obj.openUrl(${ln.totalpage},'${ln.totalpage}','${__id}')\" totalPage=\"${ln.totalpage}\">${ln.totalpage}<\/a>{\/if}{if ln.showNextPage=='none'}<a href=\"javascript:void(0)\" class=\"stop\">&gt;<\/a>{else}<a href=\"javascript:userPageLink_obj.openUrl({if ln.showNextPage=='none'}${ln.lastPage}{else}${ln.nextPage}{\/if},'${ln.totalpage}','${__id}')\" totalPage=\"${ln.totalpage}\" class=\"next\" title=\"\u4e0b\u4e00\u9875\">\u4e0b\u4e00\u9875&gt;<\/a>{\/if}<span class=\"go\">\u5230\u7b2c <input  id='page_value_${pageId}'  class=\"inputtext\" type=\"text\" \/> \u9875<img onClick=\"userPageLink_obj.openUrl(_$('page_value_${pageId}').value,'${ln.totalpage}','${__id}')\"  src=\"http:\/\/mat1.qq.com\/bbs\/images\/tree\/090508\/xfybut1.gif\" style=\"cursor:pointer\" align=\"absmiddle\" \/><\/span><\/div>{\/if}"};
				if(typeof(pageTpl)=='undefined')
				{
					pageTpl=tmp;
				}else{
				for(var p in tmp)
				{
					pageTpl[p]=tmp[p];
				}}
			})();
try{document.domain="qq.com"}catch(e){}(function(){var B="qq.com",D="bbs."+B,$="http://"+D,C="http://app."+D+"/tree/";ROOT_URL_JS=C+"js/";ROOT_URL_TREE_DATA=C;ROOT_URL_IMAGE="http://mat1."+B+"/bbs/images/tree";ROOT_URL_CSS=$+"/css/tree";ROOT_BBS_SUBJECT="http://w."+D;ROOT_BBS_HOME=$;ROOT_BBS_USER_HOME="http://user."+D;BBS_LOGIN_AID="3000701";JS_DATA_VERSION="081208";JS_VERSION="1";QHEAD_ASYNC_URL="http://news.qq.com/bbs/js/091027/qStandHead_async.js";var A=new String(location.search),_=encodeURIComponent;A=A.replace(/\"/g,_("&quot;")).replace(/</g,_("&lt;")).replace(/>/g,_("&gt;"));location._safeSearch=A})();try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}function _$($){return document.getElementById($)};
var TrimPath={};(function(){var _t={},_n=null;if(_t.evalEx==_n)_t.evalEx=function(src){return eval(src)};Array.prototype.p=Array.prototype.push;var os=String.prototype;os.r=os.replace;os.ss=os.substring;os.s=os.indexOf;os.at=os.charAt;_t.parseTemplate=function(C,$,A){if(A==_n)A=_t._e;var _=parse(C,$,A),B=_t.evalEx(_,$,1);if(B!=_n)return new A.Template($,C,_,B,A);return _n};try{os.process=function(_,A){var $=_t.parseTemplate(this,_n);if($!=_n)return $.process(_,A);return this}}catch(e){}_t._e={};_t._e._tg="forelse|for|if|elseif|else|var";var l="__LENGTH_STACK__";_t._e.Def={"if":{d:1,pr:"if(",sf:"){",paramMin:1},"else":{d:0,pr:"}else{"},"elseif":{d:0,pr:"}else if(",sf:"){",paramDefault:"true"},"/if":{d:-1,pr:"}"},"for":{d:1,paramMin:3,prefixFunc:function(D,C,B,A){if(D[2]!="in")throw new A.err();var _=D[1],$="__LIST__"+_;return["var ",$,"=",D[3],";","var ",l,";","if(typeof(",l,")=='undefined'||!",l,".length)",l,"=[];","",l,"[",l,".length]=0;","if((",$,")!=null){","var ",_,"_ct=0;","for(var ",_,"_index in ",$,"){",_,"_ct++;","if(typeof(",$,"[",_,"_index])=='function'){continue;}","",l,"[",l,".length-1]++;","var ",_,"=",$,"[",_,"_index];"].join("")}},"forelse":{d:0,pr:"} } if ("+l+"["+l+".length-1] == 0) { if (",sf:") {",paramDefault:"true"},"/for":{d:-1,pr:"} }; delete "+l+"["+l+".length-1];"},"var":{d:0,pr:"var ",sf:";"}};_t._e.Template=function(A,C,_,B,$){this.process=function(C,A){if(C==_n)C={};if(C._MODIFIERS==_n)C._MODIFIERS={};if(A==_n)A={};var _=[],D={write:function($){_.p($)}};try{B(D,C,A)}catch($){return"err"}return _.join("")}};_t._e.err=function(){};_t._e.err.prototype.toString=function(){return"err"};function parse($,B,C){$=cws($);var O=["var _t_Template_TEMP = function(_OUT, _CONTEXT, _FLAGS) { with (_CONTEXT) {"],D={stack:[],line:1},F=-1;while(F+1<$.length){var K=F;K=$.s("{",K+1);while(K>=0){var L=$.s("}",K+1),E=$.ss(K,L),A=E.match(/^\{(cdata|minify|eval)/);if(A){var M=A[1],G=K+M.length+1,I=$.s("}",G);if(I>=0){var J;if(I-G<=0)J="{/"+M+"}";else J=$.ss(G+1,I);var H=$.s(J,I+1);if(H>=0){es($.ss(F+1,K),O);var _=$.ss(I+1,H);if(M=="cdata")te(_,O);else if(M=="minify")te(ws(_),O);else if(M=="eval")if(_!=_n&&_.length>0)O.p("_OUT.write( (function() { "+_+" })() );");K=F=H+J.length-1}}}else if($.at(K-1)!="$"&&$.at(K-1)!="\\"){var N=($.at(K+1)=="/"?2:1);if($.ss(K+N,K+10+N).search(_t._e._tg)==0)break}K=$.s("{",K+1)}if(K<0)break;L=$.s("}",K+1);if(L<0)break;es($.ss(F+1,K),O);est($.ss(K,L+1),D,O,B,C);F=L}es($.ss(F+1),O);if(D.stack.length!=0)throw new C.err();O.p("}}; _t_Template_TEMP");return O.join("")}function est($,C,E,A,_){var D=$.slice(1,-1).split(" "),B=_.Def[D[0]];if(B==_n){es($,E);return}if(B.d<0){if(C.stack.length<=0)throw new _.err();C.stack.pop()}if(B.d>0)C.stack.p($);if(B.paramMin!=_n&&B.paramMin>=D.length)throw new _.err();if(B.prefixFunc!=_n)E.p(B.prefixFunc(D,C,A,_));else E.p(B.pr);if(B.sf!=_n){if(D.length<=1){if(B.paramDefault!=_n)E.p(B.paramDefault)}else for(var F=1;F<D.length;F++){if(F>1)E.p(" ");E.p(D[F])}E.p(B.sf)}}function es($,D){if($.length<=0)return;var A=0,B=$.length-1;while(A<$.length&&($.at(A)=="\n"))A++;while(B>=0&&($.at(B)==" "||$.at(B)=="\t"))B--;if(B<A)B=A;if(A>0){D.p("if (_FLAGS.keepWhitespace == true) _OUT.write(\"");var _=$.ss(0,A).r("\n","\\n");if(_.at(_.length-1)=="\n")_=_.ss(0,_.length-1);D.p(_);D.p("\");")}var C=$.ss(A,B+1).split("\n");for(var E=0;E<C.length;E++){el(C[E],D);if(E<C.length-1)D.p("_OUT.write(\"\\n\");\n")}if(B+1<$.length){D.p("if (_FLAGS.keepWhitespace == true) _OUT.write(\"");_=$.ss(B+1).r("\n","\\n");if(_.at(_.length-1)=="\n")_=_.ss(0,_.length-1);D.p(_);D.p("\");")}}function el(E,G){var D="}",H=-1;while(H+D.length<E.length){var _="${",$="}",B=E.s(_,H+D.length);if(B<0)break;if(E.at(B+2)=="%"){_="${%";$="%}"}var C=E.s($,B+_.length);if(C<0)break;te(E.ss(H+D.length,B),G);var A=E.ss(B+_.length,C).r(/\|\|/g,"#@@#").split("|");for(var F in A)if(A[F].r)A[F]=A[F].r(/#@@#/g,"||");G.p("_OUT.write(");er(A,A.length-1,G);G.p(");");H=C;D=$}te(E.ss(H+D.length),G)}function te($,_){if($==_n||$.length<=0)return;$=$.r(/\\/g,"\\\\").r(/\n/g,"\\n").r(/"/g,"\\\"");_.p("_OUT.write(\"",$,"\");")}function er(_,$,C){var B=_[$];if($<=0){C.p(B);return}var A=B.split(":");C.p("_MODIFIERS[\"",A[0],"\"](");er(_,$-1,C);if(A.length>1)C.p(",",A[1]);C.p(")")}function cws($){return $.r(/\t/g,"    ").r(/\r\n/g,"\n").r(/\r/g,"\n").r(/^(\s*\S*(\s+\S+)*)\s*$/,"$1")}function ws($){return $.r(/^\s+/g,"").r(/\s+$/g,"").r(/\s+/g," ").r(/^(\s*\S*(\s+\S+)*)\s*$/,"$1")}_t.parseDOMTemplate=function(A,C,B){if(C==_n)C=document;var _=C.getElementById(A),$=_.value;if($==_n)$=_.innerHTML;$=$.r(/&lt;/g,"<").r(/&gt;/g,">");return _t.parseTemplate($,A,B)};_t.processDOMTemplate=function($,A,B,C,_){return _t.parseDOMTemplate($,C,_).process(A,B)};TrimPath=_t})();
var qBarTemplate={_c:{},parse:function($,A,_,B){if(_$($))_$($).innerHTML=this.getParse(A,_,B)},getParse:function(A,$,B){A=(typeof(A)=="undefined")?"&nbsp;":A;$["ROOT_URL_IMAGE"]=ROOT_URL_IMAGE;$["ROOT_URL_CSS"]=ROOT_URL_CSS;$["ROOT_BBS_SUBJECT"]=ROOT_BBS_SUBJECT;$["ROOT_BBS_HOME"]=ROOT_BBS_HOME;$["ROOT_BBS_USER_HOME"]=ROOT_BBS_USER_HOME;var _=this._getCompile(B,A);return _.process($)},_getCompile:function(A,_){var $=this._c[A];if(!$){$=TrimPath.parseTemplate(_,A);this._c[A]=$}return $}}

function qBbsTreeCache(){this._c={}}qBbsTreeCache.prototype={Get:function(_){var $=this._c[_];return($)?$:false},Set:function(_,$){this._c[_]=$},Del:function($){delete this._c[$]},DelList:function($){for(var A=0,_=$.length;A<_;A++)this.Del($[A])},Clear:function(){this._c={}}};
var qBbsTreeConfig={_cd:2,_k:{"__id":1,"__depth":1,"__path":1,"__attr":1,"__key":1,"__childStr":1,"__stat":1},GetSysKey:function(){return this._k},IsAllowCache:function($){return!!(this._cd>=$)},IsAllowKey:function($){return!(this._k[$])}};
function qBbsTreeControl($,A){var _=this;_.p=A;_.b=new qBbsTreeStats();_.m=$}qBbsTreeControl.prototype={SetMalloc:function($){this.m=$},s:function(_){var $=this;loadJs.Load(QHEAD_ASYNC_URL,function(){qBbsTreeControl_async.ext($);_()},false,false)},GetMalloc:function(){return this.m},SetTreeTpl:function($){this.p=$},GetTreeTpl:function(){return this.p},ExpandDepth:function(A){var $=this,_=$.m.MallocDepth(A);$.p.execCache(function($){$.DelList(_);return $});$._e(function(_){if($._i(_,A))$._ss(_,1)})},ClearPathStats:function(_){var A=this,$=A.GetIdByPath(_);if(-1==$){var B=(new qBbsTreePath()).GetParentPath(_);A.ClearPathStats(B)}else A.b.ClearHasExpand($)},ExpandPath:function(_){var A=this,$=A.GetIdByPath(_);if(-1==$){var D=new qBbsTreePath(),C=D.GetParentPath(_),B=A.m.MallocPath(C);A.p.execCache(function($){$.DelList(B);return $});$=A.GetIdByPath(_)}if(-1!=$)return A.ExpandNode($);return 0},CollapsePath:function($){var _=this;_.s(function(){_.CollapsePath($)})},Toggle:function($,A){var _=this;_.s(function(){_.Toggle($,A)})},MallocId:function($){var A=this,_=A.GetPathById($),B=A.m.MallocPath(_);A.p.execCache(function($){$.DelList(B);return $})},HasExpand:function($){return this.b.HasExpand($)},ExpandNode:function($){var _=this,A=0;if(0==$||!_.HasExpand($)){_._ss($,1);_.MallocId($);A=1}else{_._ss($,1);_._ec($)}return A},_ec:function($){var _=_$("treeExpand_"+$);if(_)this._r(_)},_ss:function($,_){var A=this;if(_)A.b.SetHasExpand($);A.m.SetViewStats($,_)},_r:function(_){var $=new qBbsTreeTplConfig();$.RunConfig(_)},CollaspseNode:function($){var _=this;_.s(function(){_.CollaspseNode($)})},_swapH2:function(F){var E=this,D=[],_=F.getElementsByTagName("h2");for(var H=0,C=_.length;H<C;H++)D.push(_[H]);for(H=0,C=D.length;H<C;H++){var $=D[H],B=$.getAttribute("_imgKey"),A=$.getAttribute("_id");if(B){var G=qBbsTreeImgCache_obj.getObj(B);G.innerHTML=$.innerHTML;G.id=A;G.setAttribute("_id",A);G.setAttribute("_imgKey",B);$.parentNode.replaceChild(G,$)}}},Refresh:function(){var G=this,$=G.p.GetBindId();if($&&_$($)){G.p.SetBindId($);var B=G.GetTreeString();qBbsTreeImgCache_obj.clearStat(_$($));_$($).innerHTML=B;G._swapH2(_$($));var F=_$($).getElementsByTagName("A");for(var H=0,E=F.length;H<E;H++){var _=F[H],A=_.getAttribute("_imgKey"),D=_.getAttribute("_src");if(A&&D){var C=qBbsTreeImgCache_obj.getImg(A,D);_.appendChild(C)}}}},GetTreeString:function(){var _=this,$=_.m.getMalloc();return _.p.GetString($,1)},GetIdByPath:function($){return this.m.GetIdByPath($)},GetPathById:function($){return this.m.GetPathById($)},_i:function($,B){var _=this.GetPathById($),C=new qBbsTreePath(),A=C.Path2Arr(_);return A.length<B?1:0},_e:function(_){for(var $ in this.m.GetTreeRevert())_($)}};
function qBbsTreeData(){this._j={}}qBbsTreeData.prototype={Init:function($){this.Set($)},Set:function($){this._j=$},Get:function(){return this._j},Append:function($,B){var C=this.Get(),A=(new qBbsTreePath()).Path2Arr($),_=qBbsTreeJson.Append(C,A,B);this.Set(_)}};
var qBbsTreeJson={d:qBbsTreeConfig.GetSysKey(),Extend:function(_,$){for(var A in $)_[A]=$[A];return _},Clone:function(_){var A={};for(var $ in _)A[$]=(typeof(_[$])=="object")?this.Clone(_[$]):_[$];return A},Append:function(_o,ar,_a){var p="",s="";for(var i=0,l=ar.length;i<l;i++){p+="['"+ar[i]+"']";var o="_o"+p;s+=o+"=("+o+")?"+o+":{};"}s+="_o"+p+"=this.Union(_o"+p+",_a);";eval(s);return _o},Union:function(A,_){if(typeof(_)!="object")return _;for(var $ in _)A[$]=(typeof(A[$])=="undefined")?_[$]:this.Union(A[$],_[$]);return A},SetPathValue:function(o,p,v,n,ea){var ps="",s="";if(ea)o[n]=v;var l=p.length,last=l-1;for(var i=0;i<l;i++){ps+="['"+p[i]+"']";var po="o"+ps;s+=po+"=("+po+")?"+po+":{};";if(ea||i==last)s+=po+"[n]=v;"}eval(s);return o},GetByPath:function(C,A){var B=this,$=B.GetPathAll(C,A),_=B._getNode($,B.d);return _},GetPathAll:function(o,a){if(typeof(o)=="undefined")o={};var ps="",s="",po="o";for(var i=0,l=a.length;i<l;i++){ps+="['"+a[i]+"']";po="o"+ps;s+=po+"=("+po+")?"+po+":{};\n"}s+="o="+po+";\n";eval(s);return o},_getNode:function(C){var B=this,$=B.d,A=B.GetNodeAttr(C,$);for(var _ in C)if(typeof($[_])=="undefined")A[_]=B.GetNodeAttr(C[_],$);return A},GetNavi:function(I,C){var E=this,$=E.d,H=[],_=I,B="";for(var G=0,D=C.length;G<D;G++){var F=C[G];B+="/"+F;_=(typeof(_[F])=="undefined")?{}:_[F];var A=this.GetNodeAttr(_,$);H.push(A)}return H},PathSearch:function(o,p,n,v){var r={"inPath":1,"val":v},ps="";for(var i=0,l=p.length;i<l;i++){if(eval("o"+ps+"[n]")==v)return r;ps+="['"+p[i]+"']"}r["inPath"]=0;r["val"]=eval("o"+ps+"[n];");return r},GetByDepth:function(E,D){var C=this,$=C.d,A=C.GetNodeAttr(E,$);for(var _ in E)if(D>0&&typeof($[_])=="undefined"){var B=D-1;A[_]=C.GetByDepth(E[_],B,$)}return A},GetNodeAttr:function(B,$){var A={};for(var _ in this.d)if(typeof(B[_])!="undefined")A[_]=B[_];return A}};
function qBbsTreeMalloc($){var _=this;_.t=$;_.id=0;_.md={};_.r={};_.mr=1;_.j=qBbsTreeJson;_.p=new qBbsTreePath();_.cf=qBbsTreeConfig}qBbsTreeMalloc.prototype={SetTreeData:function($){this.t=$},GetTreeData:function(){return this.t},MallocDepth:function(C){var A=this,_=A.t.Get(),$=A.j.GetByDepth(_,C);A._mp($,[]);var _=A.getMalloc(),B=A._LiId(_,C);return B},MallocPath:function($){var C=this,A=C.t.Get(),B=C.p.Path2Arr($),_=C.j.GetByPath(A,B);C._mp(_,B);var D=C.Path2IdList($);return D},_LiId:function(_,E){var F=[],C=this;if(typeof(_["__id"])!="undefined")F.push(_["__id"]);if(E>0){var B=E-1;for(var D in _){var $=C.cf.IsAllowKey(D);if($&&typeof(_[D])=="object"){var A=C._LiId(_[D],B);F=F.concat(A)}}}return F},_mp:function(_,B){var C=this,$=C.p.Arr2Path(B);if(C.mr&&0==B.length){_=C._mallocRoot(_);C.mr=0}var A=C.getMalloc(),D=C.j.Append(A,B,_);C.md=C._mn(D,"/",_)},_mallocRoot:function(_){var $=this._na(_,"/");return this.j.Extend(_,$)},_mn:function(H,$){var C={},F=this;for(var B in H){var D=H[B],A=F.cf.IsAllowKey(B);if(A&&typeof(D)=="object"){var G=$+"/"+B,_=F._na(D,G),E=F._mn(D,G);C[B]=F.j.Extend(_,E)}else C[B]=H[B]}return C},_na:function(_,B){var A={},C="__id",F="__stat",D="__attr",G=this;if(typeof(_[C])=="undefined"){var $=G.MallocId();A[C]=$;A["__path"]=B;var E=G.p.Path2Arr(B);A["__depth"]=E.length;G.r[$]=B}else A[C]=_[C];if(_[D])A[D]=_[D];if(_[F])_[F]=1;else _[F]=0;return A},MallocId:function(){return this.id++},getMalloc:function(){return this.md},GetPathById:function($){return(this.GetTreeRevert())[$]},SetViewStats:function($,A){var D=this,_=D.GetPathById($),C=D.p.Path2Arr(_),B=D.getMalloc();D.md=D.j.SetPathValue(B,C,A,"__stat",A)},GetViewStats:function($){var C=this,_=C.GetPathById($),B=C.p.Path2Arr(_),A=C.getMalloc();return C.j.PathSearch(A,B,"__stat",0)},GetTreeRevert:function(){return this.r},GetIdByPath:function(_){var B=this,A=B.p.Path2Arr(_),$=B.getMalloc();for(var D=0,C=A.length;D<C;D++){if(typeof($[A[D]])=="undefined")return-1;$=$[A[D]]}if(typeof($["__id"])=="undefined")return-1;return $["__id"]},Path2IdList:function(_){var A=this,D=A.p.Path2Arr(_),$="/",C=[];for(var E=0,B=D.length;E<B;E++){$+="/"+D[E];C.push(this.GetIdByPath($))}return C}};
function qBbsTreePath(){}qBbsTreePath.prototype={Path2Arr:function($){var C=[],_=$.toString().split(/[\/|\\]+/ig);for(var B=0,A=_.length;B<A;B++)if(_[B])C.push(_[B]);return C},Arr2Path:function($){return"/"+$.join($,"/")},GetParentPath:function($){var _=this.Path2Arr($);return"/"+(_.slice(0,-1)).join("/")},UnionPath:function($){var _=this.Path2Arr($);return this.Arr2Path(_)}};
function qBbsTreeStats(){this._s={}}qBbsTreeStats.prototype={HasExpand:function($){return(this._s[$])?1:0},SetHasExpand:function($){this._s[$]=1},ClearHasExpand:function($){this._s[$]=0}};
function qBbsTreeTpl($){var _=this;_._tp={};_._id=0;_._c=$;_._cn={};_._n=""}qBbsTreeTpl.prototype={execCache:function(_){var $=_(this._c);if($)this._c=$},AddTreeName:function($){this._n=$},SetTplConst:function($,_){this._cn[$]=_},GetTplConst:function($){return this._cn[$]},SetBindId:function($){this._id=$},GetBindId:function(){return this._id},GetTpl:function(B){var $=this,A=$._mk(B),_=$._tp[A];return(_)?_:$._tp["default"]},AddTpl:function(_,B){var $=this,A=$._mk(B);$._tp[A]=_},GetString:function(A,E){var C=this,D=qBbsTreeConfig.IsAllowCache(E),$=A["__id"];$=($)?$:0;if(D){var B=C._c.Get($);if($>0&&B)return(B=="empty")?"":B}var _=C._ts(A,E);if(D&&$>0)C._c.Set($,_);return(_=="empty")?"":_},_ts:function($,C){var A=this,D=A._gd($,C);if(D.length>0){var B={};B["list"]=D;B["__const"]=A._cn;var _=A.GetTpl(C);return qBarTemplate.getParse(_,B,"tree_data_"+C+"_"+A._n)}return"empty"},_gd:function(C,G){var $=[],D=qBbsTreeConfig,F=D.GetSysKey();for(var B in C)if(D.IsAllowKey(B)){var A=C[B],_=qBbsTreeJson.GetNodeAttr(A,F);_["__key"]=B;var E=G+1;_["__childStr"]=this.GetString(A,E);$.push(_)}return $},_mk:function($){return($)?"depth_"+$:"default"}};
function qBbsTreeTplConfig(){}qBbsTreeTplConfig.prototype={RunConfig:function(_){var $=this;$.imgCache($._A(_,"imgCache"));$._J($._A(_,"cssDisplay"),"style","display");$._J($._A(_,"changeInnerHTML"),"innerHTML");$._J($._A(_,"changeMap"),"src");$._J($._A(_,"cssClass"),"className");$._J($._A(_,"cssBackGround"),"background")},imgCache:function(_){var $=this;$._each(_,function(A,$){var _=qBbsTreeImgCache_obj.getImg($["imgKey"],$["src"]);A.innerHTML="";A.appendChild(_)})},_each:function(_,B){var C=this._ev(_);for(var $ in C){var A=_$($);if(A)B(A,C[$])}},_A:function(_,$){return _.getAttribute($)},_J:function(A,_,B){var $=this;$._each(A,function(C,$){try{if(B)C[_][B]=$;else C[_]=$}catch(A){}})},_ev:function(j){var r={};try{eval("r="+j+";")}catch(e){}return r}};
var qBbsTreeImgCache_obj={imgCache:{},imgStat:{},preLoadImg:function(C,B,$){var A=this,_=A._mkImg(B);A.preLoadObj(C,_,$,["src"])},_mkImg:function(A){var _=this,$=document.createElement("img");$.src=A;return $},cloneObj:function(D,C){var B=this;C.push("alt");C.push("title");var E=D.getAttribute("imgCache"),$=document.createElement(D.tagName);for(var F=0,A=C.length;F<A;F++){var _=C[F];$[_]=D[_]}$.setAttribute("imgCache",E);B._save($);return $},preLoadObj:function(C,A,$,B){var _=this;A.setAttribute("imgCache",C);_.imgCache[C]=[];for(var D=0;D<$;D++)_.imgCache[C].push(_.cloneObj(A,B));_.imgStat[C]={"index":0,"obj":A,"tagName":A.tagName.toLowerCase(),"attr":B}},getObj:function(E){var A=this,D=A.imgStat[E],_=D["index"],$=D["obj"],C=D["attr"],B=A.imgCache[E].length;A.imgStat[E]["index"]++;if(B<=_){A.imgCache[E].push(A.cloneObj($,C));return A.imgCache[E][B]}return A.imgCache[E][_]},getImg:function(A,_){var $=this;if(!$.imgCache[A])$.preLoadImg(A,_,1);return $.getObj(A)},_getTagList:function(){var B=this,C=[],$={};for(var A in B.imgStat){var _=B.imgStat[A]["tagName"];$[_]="1"}for(A in $)C.push(A);return C},_getObjList:function(D){var C=this,F=C._getTagList(),B=[];for(var I=0,A=F.length;I<A;I++){var _=D.getElementsByTagName(F[I]);for(var G=0,$=_.length;G<$;G++){var E=_[G],H=E.getAttribute("imgCache");if(H){E["key"]=H;B.push(E)}}}return B},_save:function($){if(_$("__qBbsTreeImgCache"))_$("__qBbsTreeImgCache").appendChild($)},clearStat:function(A){var _=this,E=_._getObjList(A);for(var F=0,$=E.length;F<$;F++){var C=E[F],D=C["key"],B=_.imgCache[D].length;C.id="__qBbsTreeImgCache"+B+"_"+D;if(C.innerHTML)C.innerHTML="";_._save(C);_.imgCache[D].push(C)}}};(function(){var $=function(_,$){return"\r\n#__qBbsTreeImgCache h2."+_+"{width:139px; height:26px; line-height:26px; background:url(http://mat1.qq.com/bbs/images/tree/bbspic1_"+$+".gif) repeat-x; color:#0D65BF; text-indent:10px;} \r\n"};document.write("<style>"+$("open","06")+$("close","19")+"</style><div id='__qBbsTreeImgCache' style='display:none'></div>")})();
function qBbsTree(){var C=new qBbsTreeData(),A=new qBbsTreeMalloc(C),$=new qBbsTreeCache(),B=new qBbsTreeTpl($),_=this;_._c=new qBbsTreeControl(A,B);_.j=qBbsTreeJson}qBbsTree.prototype={InitData:function($){var A=this,_=A._g();_.Init(A._m($));A._st(_)},preLoadImg:function(A,_,$){qBbsTreeImgCache_obj.preLoadImg(A,_,$)},ShowTree:function($){var _=this;_.SetBindId($);_._r()},AddTpl:function($,B){var _=this,A=_._gt();A.AddTpl($,B);_._t(A)},AddTreeName:function($){var _=this,A=_._gt();A.AddTreeName($);_._t(A)},SetBindId:function($){var _=this,A=_._gt();A.SetBindId($);_._t(A)},SetConst:function($,_){var A=this,B=A._gt();B.SetTplConst($,_);A._t(B)},GetConst:function($){var _=this,A=_._gt();return A.GetTplConst($)},s:function(_){var $=this;loadJs.Load(QHEAD_ASYNC_URL,function(){qBbsTree_async.ext($);_()},false,false)},AppendJson:function(A,$,_){var B=this;B.s(function(){B.AppendJson(A,$,_)})},FetchJson:function(B){var D=this,A=D._g(),$=A.Get(),C=D._pr(B),_=D.j.GetPathAll($,C);return D._m(_)},_pr:function($){return(new qBbsTreePath()).Path2Arr($)},Path2Arr:function($){return this._pr($)},__getNavi:function(A){var _=this,B=_._gm(),$=B.getMalloc();return _.j.GetNavi($,A)},GetNavi:function(_){var A=this,C=A._pr(_);if(A._pe(_))return A.__getNavi(C);if(C.length>0){var B=(new qBbsTreePath).GetParentPath(_);if(A._pe(B)){var $=A._pr(B);return A.__getNavi($)}}return[]},_m:function($){return this.j.Clone($)},ExpandPath:function($){var _=this;if(_._pe($)){_._ep($);return}var B=_._pr($);if(B.length>0){var A=(new qBbsTreePath).GetParentPath($);if(_._pe(A)){_._ep(A);return}}_.AppendJson($,{})},PathExist:function($){return this._pe($)},_pe:function($){var A=this,B=A._pr($),_=(A._g()).Get();for(var D=0;D<B.length;D++){var C=B[D];if(typeof(_[C])=="undefined")return 0;_=_[C]}return 1},_ep:function(_){var A=this,C=0,D=A._pr(_),$="";if(D.length==0){D.push("/");C=1}for(var E=0,B=D.length;E<B;E++){$+="/"+D[E];if(A._c.ExpandPath($))C=1}if(C)A._r()},HasExpand:function($){return this._c.HasExpand($)},ExpandDepth:function(_){var $=this;$._c.ExpandDepth(_);$._r()},ExpandAll:function(){this.ExpandDepth(5)},CollapsePath:function($){this._c.CollapsePath($)},Toggle:function($,A){var _=this;_.s(function(){_.Toggle($,A)})},AsynToggle:function(_,$,C,B){var A=this;A.s(function(){A.AsynToggle(_,$,C,B)})},Refresh:function(){this._r()},_r:function(){this._c.Refresh()},_g:function(){var $=this._gm(),_=$.GetTreeData();return _},_st:function(_){var $=this._gm();$.SetTreeData(_);this._sm($)},_gm:function(){return this._c.GetMalloc()},GetPathById:function($){return this._c.GetPathById($)},_sm:function($){this._c.SetMalloc($)},_gt:function(){return this._c.GetTreeTpl()},_t:function($){this._c.SetTreeTpl($)}};
var bbsTreeData_data={getTreeData:function(E,_,F,$){F=(F)?F:0;$=($)?1:0;_=(_)?_:0;var D=F>0?F:_,C=D%10,B="treePathData",A=ROOT_URL_TREE_DATA+"/js/control/treeData/";A+=(0==$||0==F)?"dir/"+C+JS_DATA_VERSION+"/"+_+"_"+F:"file/"+C+JS_DATA_VERSION+"/"+F;A+=".js?JS_VERSION="+JS_VERSION;loadJs.RequestJson(B,A,E)},getDomainData:function(C,$,B){var A="treePathData",_=ROOT_URL_TREE_DATA+"/js/control/treeData/domain/"+$+JS_DATA_VERSION+"/"+B+".js?JS_VERSION="+JS_VERSION;loadJs.RequestJson(A,_,C)}};
var loadJs={_s:{},Load:function(D,B,$,C){C=(C)?1:0;var A=document.getElementsByTagName("head")[0],_=document.createElement("script");_.src=D;if($){_.charset=$;_.setAttribute("charset",$)}if(B)_.onload=_.onreadystatechange=function(){if((!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){B();if(C)A.removeChild(_)}};A.appendChild(_)},RequestJson:function(v,s,fn,c){c=(c)?c:"utf-8";var me=this;if(me._s[v])setTimeout(function(){loadJs.RequestJson(v,s,fn,c)},100);else{me._s[v]=true;setTimeout(function(){me._s[v]=null},1000);eval(v+"=null;");this.Load(s,function(){me._s[v]=null;var d;eval("d="+v);try{if(fn)fn(d)}catch(e){}eval(v+"=null;")},c)}}};
var syncExec={_fn:{},_d:{},setFn:function(_,$){if($)this._fn[_]=$;this._exec(_)},setData:function(_,$){if($)this._d[_]=$;this._exec(_)},_exec:function(A){var _=this._fn[A],$=this._d[A];if(_&&$){_($);this._d[A]=0}}};
var standardTree_obj={_t:new qBbsTree(),_fn:[],_ifn:[],_pfn:[],_ok:0,_bfn:[],execTree:function($){this._t=$(this._t)},setPreventCheck:function($){this._bfn.push($)},addCallBack:function($){this._fn.push($)},addInitCallBack:function($){this._ifn.push($)},addRepaintCallBack:function($){this._pfn.push($)},__before:function($){for(var A=0,_=this._bfn.length;A<_;A++)if(this._bfn[A]($))return 1;return 0},__after:function(_,$){if(!$&&this.__before(_))return;for(var B=0,A=this._fn.length;B<A;B++)this._fn[B](_)},__afterInit:function($){for(var A=0,_=this._ifn.length;A<_;A++)this._ifn[A]($)},init:function(B,$,_){if(this._ok)return;this._ok=1;var A=this;if(_)syncExec.setData("commLeft__init",_);else bbsTreeData_data.getTreeData(function($){syncExec.setData("commLeft__init",$)},0,B,$)},showTree:function($){var _=this;syncExec.setFn("commLeft__init",function(B){_._t.AddTreeName("commLeftTree");_._t.AddTpl(pageTpl["standardTree_depth_one"],1);_._t.AddTpl(pageTpl["standardTree_depth_two"],2);_._t.AddTpl(pageTpl["standardTree_depth_three"],3);_._t.AddTpl("&nbsp;",4);_._t.InitData(B);var C=(B["__attr"]["excludePath"])?B["__attr"]["excludePath"]:0;_._t.SetConst("isExcludePath",C);_._t.ExpandDepth(1);var A=(B["__attr"]["expandPath"])?B["__attr"]["expandPath"]:0;if(A)_._t.ExpandPath(A);_._t.ShowTree($);if(A)_.__afterInit(A)})},s:function($){loadJs.Load(QHEAD_ASYNC_URL,$,0,0)},Toggle1:function(C,_,$,A,B){this.s(function(){standardTree_obj.Toggle1(C,_,$,A,B)})},Toggle2:function(_,$,A,C,B){this.Toggle1(C,_,$,A,B)},Toggle3:function(_,$,A){this.__after(A)},ExpandPath:function($){var _=this._t.PathExist($);if(_){this._t.ExpandPath($);this.__after($)}}};(function(){qBbsTreeImgCache_obj.preLoadImg("20","http://mat1.qq.com/bbs/images/tree/icon1_20.gif",100);qBbsTreeImgCache_obj.preLoadImg("07","http://mat1.qq.com/bbs/images/tree/icon1_07.gif",100);qBbsTreeImgCache_obj.preLoadImg("03","http://mat1.qq.com/bbs/images/tree/icon1_03.gif",100);var $=document.createElement("h2");$.className="open";qBbsTreeImgCache_obj.preLoadObj("open",$,100,["className"]);var _=document.createElement("h2");_.className="close";qBbsTreeImgCache_obj.preLoadObj("close",_,100,["className"])})();
var standardRewrite_obj={show:function($){var _=this;_.s(function(){standardRewrite_obj.show($)})},s:function($){loadJs.Load(QHEAD_ASYNC_URL,$,0,0)}};(function(){var $=function($){return standardRewrite_obj.show($)};standardTree_obj.setPreventCheck($);if(window!=top)top.location.href=location.href})();
var standardTreeStats_obj={show:function($){setTimeout(function(){standardTreeStats_obj.show($)},100)},reFresh:function(){setTimeout(function(){standardTreeStats_obj.reFresh()},100)}};(function(){var $=function($){standardTreeStats_obj.show($)};standardTree_obj.addCallBack($);standardTree_obj.addInitCallBack($);standardTree_obj.addRepaintCallBack(function($){standardTreeStats_obj.reFresh()})})();
var standardHead_obj={show:function($){standardTree_obj.execTree(function(A){var D=A.GetNavi($),F=D.pop();if(F){var E=_$("titleSetting");if(E){var C=E.getAttribute("prefix")||"",_=E.getAttribute("postfix")||"";document.title=C+F["__attr"].name+_}var B="standardHead";qBarTemplate.parse(B,pageTpl[B],F,B)}return A})},naviPath:function(_,$){standardTree_obj.ExpandPath(_)}};(function(){var $=function($){standardHead_obj.show($)};standardTree_obj.addCallBack($);standardTree_obj.addInitCallBack($)})();
var standardNavi_obj={_ln:false,_ap:"&gt",lastUseLink:function($){if($)this._ap=$;this._ln=true},show:function($){var _=this;standardTree_obj.execTree(function(B){var E=B.GetConst("isExcludePath"),D=B.GetNavi($),A=D.pop();if(A){var C="standardNavi";qBarTemplate.parse(C,pageTpl[C],{"list":D,"last":A,"lastLink":_._ln,"append":_._ap,"isExcludePath":E},C)}return B})},naviPath:function(_,A,$){standardTree_obj.ExpandPath(_)}};(function(){var $=function($){standardNavi_obj.show($)};standardTree_obj.addCallBack($);standardTree_obj.addInitCallBack($)})();
var standardSearch_obj={idList:[],m_smartBox:{},m_res:false,show:function($,F){var C=this;this.idList.push($);var _="standardSearch";F=(F)?F:0;var E="",A="____searchDefault";if(_$(A))E=_$(A).innerHTML;qBarTemplate.parse($,pageTpl[_],{"key":F,"defaultValue":E},_);if(_$("keyword_"+F)){var D=_$("keyword_"+F);D.style.color="black";D.setAttribute("_num",F);var B="____cafeName";if(_$(B)&&!E)D.value=_$(B).innerHTML}},changBtnTxt:function($){var _=_$("search_ban_"+$),B=_$("searchBtn_"+$);if(B&&_){var C=(_.checked)?"\u8fdb\u5165\u7248":"\u641c\u5e16\u5b50";B.value=C;var A=(_.checked)?"1":"0";this.smartBox(A,"keyword_"+$)}},smartBox:function(A,B){var _=this;if(_.m_res)clearTimeout(_.m_res);if(typeof(AppPlatform)=="undefined"){_.m_res=setTimeout(function(){_.smartBox(A,B)},500);return}AppPlatform.SmartBox.init(1,B,10,"top");AppPlatform.isFobiden[B]=(A==1)?false:true;if(A!=1){try{AppPlatform.Hide.hideSb()}catch($){}}},DoSearch:function(_){var $=_$("keyword_"+_);if($.value!=""&&$.value!=$.defaultValue){var A=_$("search_ban_"+_),B=(A.checked)?"bar":"cont",C=encodeURIComponent($.value);if("bar"==B)this.getSearchData(1,C,1,10,function($){var A=0;if(typeof($["total"])!="undefined")A=$["total"];if(A==0){location.href="http://bbs.qq.com/search/noResult.html?"+B+"="+C;return}if(A==1){try{location.href="http://app.bbs.qq.com/tree/app/goto.php?/b-"+$["entrys"][0].cafeid+"|1:"+C;return}catch(_){}}location.href="http://bbs.qq.com/search/?"+B+"="+C});else location.href="http://bbs.qq.com/search/?"+B+"="+C}else{alert("\u8bf7\u8f93\u5165\u8981\u641c\u7d22\u7684\u5173\u952e\u5b57\uff01");$.select()}},sOnFocus:function(_){if(_.value==_.defaultValue)_.value="";_.style.color="black";var $=_.getAttribute("_num");this.changBtnTxt($)},getSearchData:function(A,_,$,C,B){T.LoadData("http://app.bbs.qq.com/cgi-bin/cafe_cgi_search_article.cgi?type="+A+"&keyword="+_+"&begin="+(($-1)*C+1)+"&size="+C+"&cafeid=bbs.qq.com",function($){B($)},function(){var $={};$["total"]=0;$["entrys"]=[];B($)})}};(function(){if(typeof standardTree_obj=="undefined")return;var $=function($){standardTree_obj.execTree(function($){var C=$.GetConst("isExcludePath");if(C==1){var B=standardSearch_obj.idList;for(var D=0,A=B.length;D<A;D++){var _=_$(B[D]);if(_)_.innerHTML=""}}return $})};standardTree_obj.addCallBack($);standardTree_obj.addInitCallBack($)})();
var pageLink={totalPage:function($,A){var _=parseInt($/A);if($%A)_+=1;return _},ajustPage:function(_,$){_=parseInt(_);$=parseInt($);_=isNaN(_)?0:_;$=isNaN($)?0:$;if($>0){if(_<=0)_=1;if(_>=$)_=$}return _},prePage:function(_){var A=_-1,$=true;if(A<=0){$=false;A=1}return{"page":A,"show":$}},nextPage:function(B,A){var _=B+1,$=true;if(_>A){$=false;_=A}return{"page":_,"show":$}},bigPrePage:function(_,A){var B=_-A,$=true;if(B<=0){$=false;bigPrePage=1}return{"page":B,"show":$}},bigNextPage:function(B,C,A){var _=B+C,$=true;if(_>A){$=false;_=A}return{"page":_,"show":$}},beginAndEndPage:function(B,D,A){var _=parseInt(D/2),E=parseInt(D/2);if(!D%2)E-=1;var $=B-_,C=B+E;if($<=0){if(C+(1-$)<=A)C=C+(1-$);else C=A;$=1}if(C>A){if($-(C-A)>0)$=$-(C-A);else $=1;C=A}return{"begin":$,"end":C}},lpc:function($,A){var _=$%A;if(_==0&&$!=0)_=A;return _},getPage:function($,_,A,D,G){var F={},C,E=this;D=!D?10:parseInt(D);G=!G?10:parseInt(G);F["total"]=$=parseInt($);F["pagesize"]=_=parseInt(_);F["firstPage"]=1;F["lastPage"]=F["totalpage"]=E.totalPage($,_);A=E.ajustPage(A,F["totalpage"]);F["page"]=A;C=E.prePage(A);F["prePage"]=C["page"];F["showPrePage"]=C["show"];C=E.nextPage(A,F["totalpage"]);F["nextPage"]=C["page"];F["showNextPage"]=C["show"];C=E.bigPrePage(A,G);F["bigPrePage"]=C["page"];F["showBigPrePage"]=C["show"];C=E.bigNextPage(A,G,F["totalpage"]);F["BigNextPage"]=C["page"];F["showBigNextPage"]=C["show"];C=E.beginAndEndPage(A,D,F["totalpage"]);F["beginPage"]=C["begin"];F["endPage"]=C["end"];F["lastPageRecordCount"]=E.lpc($,_);var B=E.getTplLink(F);F["tplLink"]=B;return F},getTplLink:function($){var A={};A["showPrePage"]="none";if($.showPrePage)A["showPrePage"]="";A["showBigPrePage"]="none";if($.showBigPrePage)A["showBigPrePage"]="";A["showNextPage"]="none";if($.showNextPage)A["showNextPage"]="";A["showBigNextPage"]="none";if($.showBigNextPage)A["showBigNextPage"]="";A["upPages"]=[];for(page=$.beginPage,j=0;page<=$.endPage;page++,j++)A["upPages"][j]=page;A["downPages"]=[];for(page=$.endPage,j=0;page>=$.beginPage;page--,j++)A["downPages"][j]=page;for(var _ in A)$[_]=A[_];return $}};
var userPageLink_obj={m_pageNavi:{},m_pageId:1,show:function(E,A,B,_,$){this.m_pageNavi["id_"+$]=E;var D=pageLink.getPage(A,_,B,4,10),C={};C["linkInfo"]=D;C["pageId"]="user_"+(++this.m_pageId);C["__id"]=$;qBarTemplate.parse($,pageTpl["userPageLink"],C,"userPageLink")},openUrl:function(A,_,$){A=pageLink.ajustPage(A,_);this.m_pageNavi["id_"+$](A)}};
function LoadDefHeadImg($){if(!$.IsLoaded){$.setAttribute("IsLoaded",true);if(_$("____userSex"))$.src=_$("____userSex").innerHTML}}function wup(_,$){if(_<=10)wimg(_$("____userSex").innerHTML);else{_=new String(_);wimg("http://img.bbs.qq.com/cgi-bin/img?uuid=bbs_hi_"+_+"&t="+Math.random())}}function wimg($){document.write("<img width=\"120\" height=\"120\" id=\"QQshow\" title=\"\u4e0a\u4f20/\u66f4\u65b0\u56fe\u7247\" border=\"1\" src=\""+$+"\" onError=\"LoadDefHeadImg(this)\"    />")};

/*  |xGv00|53b5ae0e3f3a26a919a8271a17220e7a */