/*=======Ver:2.00.61102========*/
/*TreeMenu, (c) 2006, SourceTec Software Co.,LTD  -  www.sothink.com*/
if(typeof _STJS=="undefined"){if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i];}};}if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length){var o=this[this.length-1];this.length--;return o;}};}_STJS={version:"2.0",build:"061102",releasePath:"",debugPath:"",isDebug:false,outWin:null,url:location.href,folder:"",trace:function(s){if(_STJS.outWin==null){alert(s);}else{_STJS.outWin.value+=s+"\n";}},navigator:null,isIE:false,isFX:false,isOP:false,isMIE:false,dMode:null,checkDocumentMode:function(){switch(document.compatMode){case "QuirksMode":return "quirks";case "BackCompat":return "back";default:return "unknow";}},getNavigator:function(){var _n=navigator,_u=_n.userAgent,_a=_n.appName,_p=_n.platform,n,v,p;if(/(Opera)[ \/]([\d\.]+)/.test(_u)||/(Netscape)\d*\/([\d\.]+)/.test(_u)||/(MSIE) ([\d\.]+)/.test(_u)||/(Safari)\/([\d\.]+)/.test(_u)||/(Konqueror)\/([\d\.]+)/.test(_u)||/(Gecko)\/(\d+)/.test(_u)){n=RegExp.$1.toLowerCase();v=RegExp.$2;}else{if(_a=="Netscape"&&_n.appVersion.charAt(0)=="4"){n="netscape4";v=parseFloat(_n.appVersion);}else{n="unknow";v=0;}}if(n=="netscape"){switch(_a){case "Microsoft Internet Explorer":n="msie";v=/(MSIE) ([\d\.]+)/.exec(_u)[2];break;case "Netscape":n="gecko";v=/(Gecko)\/(\d+)/.exec(_u)[2];}}if(/^(Win)/.test(_p)||/^(Mac)/.test(_p)||/^(SunOS)/.test(_p)||/^(Linux)/.test(_p)||/^(Unix)/.test(_p)){p=RegExp.$1.toLowerCase();}else{p=_p;}return {appName:n,appVersion:v,platform:p};},createElement:function(_b,w){if(w==null){w=window;}return w.document.createElement(_b);},getElementById:function(id,w){if(w==null){w=window;}with(this){if(isIE){var es=w.document.all(id);if(es&&es.length){return es[0];}else{return es;}}else{return w.document.getElementById(id);}}},getElementsByTagName:function(n,w){if(w==null){w=window;}with(this){if(isIE){return w.document.all.tags(n);}else{return w.document.getElementsByTagName(n);}}},getElementsByClassName:function(n,w){if(w==null){w=window;}var i,a=[],el,els=this.isIE?w.document.all:w.document.getElementsByTagName("*");for(i=0;el=els[i];i++){if(el.className==n){a.push(el);}}return a;},getFrameByName:function(n){},insertAdjacentHTML:function(o,w,h){if(_STJS.isIE){return o.insertAdjacentHTML(w,"&nbsp;"+h);}else{var t=document.createElement("span");t.innerHTML=h;switch(w){case "beforeBegin":return o.parentNode.insertBefore(t,o);case "afterBegin":return o.insertBefore(t,o.firstChild);case "beforeEnd":return o.appendChild(t);case "afterEnd":if(o.nextSibling){return o.parentNode.insertBefore(t,o.nextSibling);}else{return o.parentNode.appendChild(t);}}}if(_STJS.isDebug){_STJS.trace("Insert HTML error!");}return false;},readCookieByName:function(n){var i,cs=document.cookie.split("; ");for(i=0;i<cs.length;i++){if(!cs[i].indexOf("sothink_"+n+"=")){return cs[i].substr(n.length+9);}}},saveCookie:function(n,v,t){var s="sothink_"+n+"="+v+"; ",d=new Date;if(!t||!v){s+="expires=Fri, 31 Dec 1999 23:59:59 GMT; ";}else{s+="expires="+((new Date(d-0+t)).toGMTString())+"; ";}s+="path=/; ";document.cookie=s;},shielded:false,cssShield:{tb:"border-style:none;background-color:transparent;background-image:none;",tr:"border-style:none;background-color:transparent;background-image:none;",td:"border-style:none;background-color:transparent;background-image:none;",dv:"margin:0px;padding:0px;background-color:transparent;background-image:none;",a:"border-style:none;margin:0px;padding:0px;background-color:transparent;background-image:none;"},styleShield:function(){with(this){if($T("body")&&$T("body").length){shielded=false;}else{var i,s="<style>";for(i in cssShield){if(i=="a"){s+=".sta:link,.sta:hover,.sta:active,.sta:visited";}else{s+=".st"+i;}s+="{"+cssShield[i]+"}";}s+="</style>";shielded=true;document.write(s);}}},loads:[],loaded:false,setLoad:function(){if(!window.onload||onload.toString()!=this.onLoad.toString()){if(typeof (onload)=="function"){this.loads.push(onload);}onload=this.onLoad;}},onLoad:function(){with(_STJS){if(loaded){return;}loaded=true;for(var j=0;j<loads.length;j++){loads[j]();}}},unloads:[],unloaded:false,setUnLoad:function(){if(!window.onunload||onunload.toString()!=this.onUnLoad.toString()){if(typeof (onunload)=="function"){this.unloads.push(onunload);}onunload=this.onUnLoad;}},onUnLoad:function(){with(_STJS){if(unloaded){return;}unloaded=true;for(var j=0;j<unloads.length;j++){unloads[j]();}}},jsPath:"",getJsPath:function(){var ss=this.$T("script"),s;if(ss.length){s=ss[ss.length-1].src;if(s){return s.substr(0,s.lastIndexOf("/")+1)+(this.isDebug?this.debugPath:this.releasePath);}}return "";},_cs:[],output:"",structs:[],getStructByName:function(n){for(var i in _STJS.structs.os){if(!i.indexOf(n)&&_STJS.structs.os[i].uid==n){return _STJS.structs.os[i];}}},mods:[],_cm:[],registerMod:function(s){with(this){for(var i=0;i<mods.length;i++){if(mods[i].src==s){return i;}}mods.push({src:s,_s:1,_f:null});return mods.length-1;}},completeMod:function(n,f){this.mods[n]._s=3;this.mods[n]._f=f;},loadMod:function(as,f){var i,s="",t;with(this){for(i=0;i<as.length;i++){if(mods[as[i]]._s==1){t=mods[as[i]].src;mods[as[i]]._s=2;s+=getScriptTag(isABSPath(t)?t:jsPath+t,f);}}write(s);}},write:function(s){with(this){if(s){if(loaded){insertAdjacentHTML(document.body,"beforeEnd",s);}else{document.write(s);}}}},getMIdBySrc:function(s){for(var i=0;i<_STJS.mods.length;i++){if(_STJS.mods[i].src==s){return i;}}return -1;},getScriptTag:function(s,f){return "<script type='text/javascript' language='javascript1.2' src='"+s+"'"+(f?" DEFER":"")+"><"+"/script>";},getImgTag:function(s,w,h,b,id){if(!w||!h){return "";}return "<img class='stimg' src='"+s+"'"+(w==-1?"":" width="+w)+(h==-1?"":" height="+h)+" border="+(b?b:0)+(id?" id='"+id+"'":"")+">";},isFile:function(s){return /\w+\.\w+$/.test(s);},isImg:function(s){return /\.(gif|png|jpg|jpeg|bmp)$/.test(s.toLowerCase());},isABSPath:function(s){if(!s){return true;}var t=s.toLowerCase();return /^(#|\?|\/|[a-z]:|http:|https:|file:|ftp:|javascript:|mailto:|about:|gopher:|news:|res:|telnet:|view-source|wais:|rtsp:|mms:)/.test(t);},getFolder:function(s){var ts=s.toLowerCase();if(!ts.indexOf("//")||!ts.indexOf("file:/")||!ts.indexOf("http://")||!ts.indexOf("https://")){return s.substr(0,s.lastIndexOf("/")+1);}else{return "";}},getABS:function(s){if(!s){return s;}var re,t;if(s.charAt(0)=="/"){re=/(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/;if(re.exec(this.folder)){s=RegExp.$1+s.substr(1);}}else{if(!this.isABSPath(s)){s=this.folder.substr(0,this.folder.lastIndexOf("/")+1)+s;}else{return s;}}while(s.indexOf("/./")>0){s=s.replace("/./","/");}while((t=s.indexOf("/../"))>0){var p1,p2;p1=s.substr(0,t);p2=s.substr(t).replace("/../","");p1=p1.substr(0,p1.lastIndexOf("/")+1);s=p1+p2;}return s;},cssLen:function(len,b,m,p,f){var _r=_STJS;if(_STJS.isIE&&(!document.compatMode||document.compatMode=="BackCompat")||(!f&&_STJS.isOP&&parseInt(_r.navigator.appVersion)<9&&document.compatMode=="QuirksMode")){return Math.max(1,len);}else{if(f&&_STJS.isOP&&parseInt(_r.navigator.appVersion)<9&&document.compatMode=="QuirksMode"){return Math.max(1,len-2*p);}else{return Math.max(1,len-2*b-2*m-2*p);}}},htmlCode:function(s,f){if(s){if(!f){s=s.replace(/ /g,"&nbsp;");}s=s.replace(/</g,"&lt;");s=s.replace(/>/g,"&gt;");s=s.replace(/\r\n/g,"<br />");s=s.replace(/"/g,"&quot;");return s;}else{return "";}},joinA:function(a,b){for(var i=0;i<b.length;i++){if(a[i]==null){a[i]=b[i];}}},UIObj:function(){var _t=this,_r=_STJS;_t.getMsg=_r.getMsg;_t.setMsg=_r.setMsg;_t.getEvent=_r.TRUE;_t.attachEvent=_r.attachUIEvent;_t.detachEvent=_r.detachUIEvent;_t.fire=_r.fire;_t.setA=_r.setAttributeFromHashArray;},setAttributeFromHashArray:function(n,a,id){if(typeof a[n]!="undefined"){this[n]=a[n];}else{if(typeof a[id]!="undefined"){this[n]=a[id];}else{if(typeof this[n]=="undefined"){this[n]=null;}}}},getMsg:function(m,d){var f,r=true;if(this._ms[m]){if(typeof this._ms[m]=="string"){if(f=_STJS.getFun(this._ms[m])){if(typeof f=="function"){r=f(this,d);}else{if(typeof f=="boolean"){r=f;}}}}else{if(typeof this._ms[m]=="function"){r=this._ms[m](this,d);}}}if(r==true&&this.offsetPar){this.offsetPar.getMsg(m,d);}},setMsg:function(m,f){this._ms[m]=f;},TRUE:function(){return true;},fire:function(t){var _t=this,i,r=true,f;if(!_t._es[t]||!_t._es[t].length){return -1;}for(i=0;i<_t._es[t].length;i++){if(!_t._es[t][i]){continue;}if(typeof _t._es[t][i]=="function"&&!_t._es[t][i](_t)){r=false;}else{if(f=_STJS.getFun(_t._es[t][i])){if(typeof f=="function"&&!f(_t)){r=false;}}else{if(f==false){r=false;}}}}return r;},attachUIEvent:function(t,f){var _t=this,i;if(typeof f!="string"&&typeof f!="function"){if(_STJS.isDebug){_STJS.trace("Attach event error!");}return false;}if(_t._es[t]){if(typeof f=="string"){for(i=0;i<_t._es[t].length;i++){if(_t._es[t][i]==f){return i;}}}_t._es[t].push(f);}else{_t._es[t]=[f];}return _t._es[t].length-1;},detachUIEvent:function(t,f){var i,k=0,_t=this;if(typeof f!="string"&&typeof f!="number"){if(_STJS.isDebug){_STJS.trace("Detach event error!");}return false;}if(_t._es[t]&&_t._es[t].length){if(typeof f=="number"&&f<_t._es[t].length){_t._es[t][f]=null;}else{for(i=0;i<_t._es[t].length;i++){if(k){_t._es[t][i-1]=_t._es[t][i];}else{if(_t._es[t][i]==f){k=1;}}}if(k){_t._es[t].length--;}}}},getFun:function(n){if(!n){if(_STJS.isDebug){_STJS.trace("Null function!");}return -1;}if(typeof n=="function"){return n;}else{if(typeof n=="string"){return eval(n);}}},domEvent:function(e,o){var oid=id=o.id;if(!oid){return true;}var ob,ids=oid.split("_"),r=-1,i,j;with(this){if(ob=getObjById(oid)){switch(e.type){case "mouseover":if(!o._ov&&isIE&&e.toElement&&o.contains(e.toElement)){o._ov=1;r=ob.getEvent(e,oid);}else{if(!isIE&&!o._ov&&!isParent(o,e.relatedTarget)){o._ov=1;r=ob.getEvent(e,oid);}}break;case "mouseout":if(o._ov&&isIE&&(!e.toElement||!o.contains(e.toElement))){o._ov=0;r=ob.getEvent(e,oid);}else{if(!isIE&&o._ov&&(!e.relatedTarget||!isParent(o,e.relatedTarget))){o._ov=0;r=ob.getEvent(e,oid);}}break;default:r=ob.getEvent(e,oid);}}if(r!=-1){e.cancelBubble=!r;return r;}}return true;},getObjById:function(id){var tid=id,o;while(tid){if(o=_STJS.structs.os[tid]){return o;}tid=tid.substr(0,tid.lastIndexOf("_"));}},isParent:function(p,c){if(!p||!c){return false;}if(p==c){return true;}do{if(c.parentNode){c=c.parentNode;}else{return false;}if(p==c){return true;}}while(c);return false;},S64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#@",transXto10:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}var a=_STJS.S64.substr(0,n);if(eval("m.replace(/["+a+"]/gi,'')")!=""&&_STJS.isDebug){_STJS.trace("Transform bad number from "+x+" to 10!");return 0;}var t=0,c=1;for(var x=m.length-1;x>-1;x--){t+=c*(a.indexOf(m.charAt(x)));c*=n;}return t;},trans10toX:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}if(parseInt(m)!=m){_STJS.trace("Transform bad number from 10 to "+x+"!");return 0;}var t="",a=_STJS.S64.substr(0,n);while(m!=0){var b=m%n;t=a.charAt(b)+t;m=(m-b)/n;}if(!t){t="0";}return t;},imgs:{_id:"",_os:[]},bufferImg:function(s){with(this){if(!isImg(s)&&imgs._id.indexOf(s)==-1){var i=new Image;i.src=s;imgs._id+=s+";";imgs._os.push(i);}}},exec:function(){if(this.output){eval(this.output);this.output="";}}};stGetMessage=function(s,a,d){var _r=_STJS,as=a.split(","),i,o;for(i=0;i<as.length;i++){if(o=_r.structs.os[as[i]]){o.getMsg(s,d);}}};stSendMessage=function(s){location:assign("DMM:"+s);};stParseXML=function(s){};stBM=function(t,id,a){var lib;switch(t){case 0:lib="stmenu.js";break;case 1:lib="sttree.js";break;default:return;}with(_STJS){setLoad();setUnLoad();var n=registerMod(lib);_cm.push(n);output="with(_STJS){if(typeof getFun(mods["+n+"]._f)=='function')getFun(mods["+n+"]._f)(_cs);_cs=[]}";_cs[id]={tag:"tree",id:id,as:a};_cs.push(_cs[id]);}return a;};stEM=function(){with(_STJS){_cs.push({tag:"/tree"});loadMod(_cm);_cm.length=0;write(getScriptTag(jsPath+"stapp.js"));}};stBS=function(id,a,pid){with(_STJS){if(pid&&_cs[pid]){joinA(a,_cs[pid].as);}_cs[id]={tag:"subtree",id:id,as:a};_cs.push(_cs[id]);}return a;};stES=function(){_STJS._cs.push({tag:"/subtree"});};stIT=function(id,a,pid){with(_STJS){if(pid&&_cs[pid]){joinA(a,_cs[pid].as);}_cs[id]={tag:"node",id:id,as:a};_cs.push(_cs[id]);}return a;};stExpandSubTree=function(n,s,r){var _r=_STJS,t=_r.getStructByName(n),st;if(t){if(st=_r.structs.os[n+t.nid+"_"+s]){st.getMsg("ST_EXPAND",r);}}};stCollapseSubTree=function(n,s,r){var _r=_STJS,t=_r.getStructByName(n),st;if(t){if(st=_r.structs.os[n+t.nid+"_"+s]){st.getMsg("ST_COLLAPSE",r);}}};with(_STJS){_STJS.$=getElementById;_STJS.$T=getElementsByTagName;_STJS.$C=createElement;structs.os={};navigator=getNavigator();isIE=navigator.appName=="msie";isOP=navigator.appName=="opera";isFX=navigator.appName=="gecko";isMIE=isIE&&navigator.platform=="mac";folder=getFolder(url);dMode=checkDocumentMode();jsPath=getJsPath();styleShield();}}
