if(!Function.prototype.apply){Function.prototype.apply=function(o,a){var r;if(!o){o={};} o.__a=this;switch((a&&a.length)||0){case 0:r=o.__a();break;case 1:r=o.__a(a[0]);break;case 2:r=o.__a(a[0],a[1]);break;case 3:r=o.__a(a[0],a[1],a[2]);break;case 4:r=o.__a(a[0],a[1],a[2],a[3]);break;case 5:r=o.__a(a[0],a[1],a[2],a[3],a[4]);break;case 6:r=o.__a(a[0],a[1],a[2],a[3],a[4],a[5]);break;default:for(var i=0,s="";i=6||this.mozilla&&this.v>=1.4;if(this.safari&&this.mac&&this.mozilla){this.mozilla=false;}} var is=new browserReport();getElRef=function(_1b){var d;if(typeof(_1b)=="string"){d=document.getElementById(_1b);}else{d=_1b;} return d;};getClasses=function(o){o=getElRef(o);if(!o){return false;} var cn=_St(_Sns(o.className));if(cn==""){return[];} return cn.split(" ");};_gAC=function(e){return e.all?e.all:e.getElementsByTagName("*");};_getOwnChildrenOnly=function(e){var _21=[];var _22=e.childNodes;for(var i=0;i<_22.length;i++){var _24=_22[i];if(_24.nodeType==1){_Ap(_21,_24);}} return _21;};_gEBTN=function(o,_26){var el;if(typeof o=="undefined"){o=document;}else{o=getElRef(o);} if(_26=="*"||typeof _26=="undefined"){el=_gAC(o);}else{el=o.getElementsByTagName(_26.toLowerCase());} return el;};_attachEvent2=function(_28,_29,_2a,_2b){_aEB(_28,_29,_2a,_2b,1);};_aE=function(_2c,_2d,_2e,_2f){_aEB(_2c,_2d,_2e,_2f,0);};_aEB=function(_30,_31,_32,_33,_34){if(typeof(_33)=="undefined"){_33=1;} var _35=_31.match(/unload$/i);var _36=_31.match(/^on/)?_31:"on"+_31;var _37=_31.replace(/^on/,"");if(typeof _30._eH=="undefined"){_30._eH={};} var _38=null;if(typeof _30._eH[_37]=="undefined"){_30._eH[_37]=[];_38=_30._eH[_37];var _39=function(e){if(!e&&window.event){e=window.event;} for(var i=0;i<_30._eH[_37].length;i++){var f=_30._eH[_37][i];if(typeof f=="function"){f.apply(_30,[e]);f=null;}}};if(_30.addEventListener){_30.addEventListener(_37,_39,false);}else{if(_30.attachEvent){_30.attachEvent("on"+_37,_39);}else{_30["on"+_37]=_39;}} if((!(is.ie&&is.mac))&&!_35){_EventCache.add(_30,_37,_39,1);}}else{_38=_30._eH[_37];} for(var i=0;i<_38.length;i++){if(_38[i]==_32){return;}} _38[_38.length]=_32;};var _EventCache=function(){var _3e=[];return{listEvents:_3e,add:function(_3f,_40,_41,_42){_Ap(_3e,arguments);},flush:function(){var i,item;if(_3e){for(i=_3e.length-1;i>=0;i=i-1){item=_3e[i];if(item[0].removeEventListener){item[0].removeEventListener(item[1],item[2],item[3]);} var _44="";if(item[1].substring(0,2)!="on"){_44=item[1];item[1]="on"+item[1];}else{_44=item[1].substring(2,event_name_without_on.length);} if(typeof item[0]._eH!="undefined"&&typeof item[0]._eH[_44]!="undefined"){item[0]._eH[_44]=null;} if(item[0].detachEvent){item[0].detachEvent(item[1],item[2]);} item[0][item[1]]=null;} _3e=null;}}};}();_aE(window,"unload",function(){_EventCache.flush();});_bO=function(b1,b2){if((b1.x+b1.width)(b2.x+b2.width)){return false;} if((b1.y+b1.height)(b2.y+b2.height)){return false;} return true;};gCP=function(el,_48,_49){try{var _4a=el.style[_48];if(!_4a){if((typeof el.ownerDocument!="undefined")&&(typeof el.ownerDocument.defaultView!="undefined")&&(typeof(el.ownerDocument.defaultView.getComputedStyle)=="function")){_4a=el.ownerDocument.defaultView.getComputedStyle(el,"").getPropertyValue(_48);}else{if(el.currentStyle){var m=_48.split(/-/);if(m.length>0){_48=m[0];for(var i=1;i=0))?true:false;var _6f=((typeof key=="string")&&(key.length>0))?true:false;if(!_6e&&_6f){this.push(el,key);return;} if(_6e&&!_6f){this.push(el,num);return;} if(!_6e&&!_6f){this.push(el);return;} var _rf={"index":num,"key":key,"content":el};this.sRef[key]=_rf;if((typeof this.nRef[num]=="undefined")||(this.nRef[num]===null)){this.length++;} this.nRef[num]=_rf;};AA.prototype.gF=function(){return(typeof this.nRef[0]!="undefined")?this.nRef[0].content:null;};AA.prototype.gL=function(){return(typeof this.nRef[this.nRef.length-1]!="undefined")?this.nRef[this.nRef.length-1].content:null;};AA.prototype.getAssoc=function(_71){return(typeof _71=="number")?(typeof this.nRef[_71]!="undefined")?this.nRef[_71].key:null:(typeof _71=="string")?(typeof this.sRef[_71]!="undefined")?this.sRef[_71].index:null:null;};AA.prototype.each=function(_72){for(var i=0;i=0;i--){if(!this.runEach){this.runEach=true;break;} var _rf=this.nRef[i];var _7c=_rf.index;var _7d=_rf.key;var _7e=_rf.content;var _7f=_79(_7e,_7c,_7d);if(_7f){return _7f;}}};AA.prototype.Break=function(){this.runEach=false;};AA.prototype.getFirstDefined=function(){for(var i=0;i10){this.runs=0;window.setTimeout(function(){_t.PS(_8a);},0);}else{this.runs++;this.PS(_8a);}} _P.prototype.R=R;function GFC(_8c){var _8d=_8c.firstChild;if(_8d){var _8e=(_8d.nodeType==1);while(!_8e){_8d=_8d.nextSibling;if(!_8d){break;} _8e=(_8d.nodeType==1);} if(_8e){return _8d;}} return null;} _P.prototype.GFC=GFC;function GNS(_8f){var _90=_8f.nextSibling;if(_90){var _91=(_90.nodeType==1);while(!_91){_90=_90.nextSibling;if(!_90){break;} _91=(_90.nodeType==1);} if(_91){return _90;}} return null;} _P.prototype.GNS=GNS;function gp(_92){var _93=_92.parentNode;if(_93){return _93;} return null;} _P.prototype.gp=gp;function gsp(_94){var _95=this.gp(_94);if(_95){var _96=this.GNS(_95);if(_96){return _96;}} return null;} _P.prototype.gsp=gsp;function GNSP(_97){var _98=this.gsp(_97);while(!_98){_97=this.gp(_97);_98=this.gsp(_97);} if(_98){return _98;} return null;} _P.prototype.GNSP=GNSP;function CHAF(_99){var _9a=_99.nodeName.toLowerCase();if(_9a!=this.nodeFilter){return false;} return true;} _P.prototype.CHAF=CHAF;function II(_9b){if(!this.CHAF(_9b)){return;} var _9c=this.currentParent;if(this.onNodeCallback!==null){this.onNodeCallback(_9b,_9c,this.counter++);}} _P.prototype.II=II;function RAP(_9d){this.currentParent=_9d;} _P.prototype.RAP=RAP;function PS(_9e){if(!this.run){return null;} if(_9e.nodeName&&(_9e.nodeName.toLowerCase()=="br")){if(typeof this.onCompleteCallback=="function"){this.onCompleteCallback();} return;} this.II(_9e);var _9f=this.GFC(_9e);if(_9f){this.RAP(_9e);this.R(_9f);return;}else{var _a0=this.GNS(_9e);if(_a0){this.R(_a0);return;}else{var _a1=this.GNSP(_9e);if(_a1){this.R(_a1);return;}}}} _P.prototype.PS=PS;function mI(_id,_a3,_a4){this.owner=null;this.id=_id;this.element=_a3;this.parent_node=_a4;this.pi=null;this.children=new AA();this.isHeader=null;this.isParent=null;this.image=null;this.link=null;this.holder=null;this.gHo=null;this.selected=null;this.mouse_state="out";this.eS=false;this.visibleState=false;this.path=null;} function CSSMenu(_a5){this.id=_a5;this.container=document.getElementById(this.id);if(!this.container){return;} ALL.push(this,this.id);this.root=this.container.getElementsByTagName("ul")[0];this.first=this.root.getElementsByTagName("li")[0];if(!this.root){return;} this.type=gMT(this.root);this.config={"sH":400,"hT":200,"eT":1000,"hP":"{name}_hover.{ext}","hCF":true,"hCP":"{name}_selected.{ext}","hOO":true,"pT":false,"eB":"accordion","aE":null,"sB":[0,0],"oX1":0,"oY1":0,"oX2":0,"oY2":0};this.classes={"hover":"hover","selected":"selected","arrow":"arrow","sss":"ktselected"};this.iTL=((this.type=="tab")||(this.type=="expandable"));this.aI=new AA();this.headers=new AA();this.visibles=new AA();this.expandedHeight=new AA();this.parser={};this.attachOffset=null;this.lM=null;var _a6=navigator.userAgent.match(/firefox.([\d\.]{3,8})/i);if(_a6){var _a7=parseFloat(_a6[1]);if(_a7){this.ff_flag=true;this.ff_vers=_a7;}} this.lastHighlightedPath=new AA();this.bfBox={};this.bfBox.Static={};this.bfBox.Absolute={};this.bfBox.Static.x1=is.ie?-2:is.mozilla?-1:is.opera?0:is.safari?-8:0;this.bfBox.Static.y1=is.ie?-2:is.mozilla?-1:is.opera?0:is.safari?-6:0;this.bfBox.Static.x2=is.ie?0:is.mozilla?0:is.opera?0:is.safari?-7:0;this.bfBox.Static.y2=is.ie?0:is.mozilla?0:is.opera?0:is.safari?-8:0;this.bfBox.Absolute.x1=is.ie?-2:is.mozilla?-1:is.opera?0:is.safari?0:0;this.bfBox.Absolute.y1=is.ie?-2:is.mozilla?-1:is.opera?0:is.safari?0:0;this.bfBox.Absolute.x2=is.ie?0:is.mozilla?0:is.opera?0:is.safari?0:0;this.bfBox.Absolute.y2=is.ie?0:is.mozilla?0:is.opera?0:is.safari?0:0;this.sg_Pos_Check_Flag=(is.ie&&is.version<5.5)?true:(is.ie&&is.version>=5.5)?false:(is.mozilla&&!is.safari)?false:(is.opera&&is.version<8.4)?true:(is.opera&&(is.version>8.4)&&(is.version<9))?false:(is.opera&&is.version>=9)?true:(is.safari)?true:true;this.abs_Pos_Flag=false;var _a8=this.container.parentNode;while(_a8&&!this.abs_Pos_Flag){var _a9=/absolute/i.test(gCP(_a8,"position","string"));if(_a9){this.abs_Pos_Flag=true;break;} _a8=_a8.parentNode;if(!_a8){break;}} if(this.abs_Pos_Flag){this.sg_Pos_Check_Flag=false;} this.setTimeouts=function(_aa,_ab,_ac){this.config.sH=_aa;this.config.hT=_ab;this.config.eT=_ac;};this.setImageHoverPattern=function(_ad){this.config.hP=_ad||null;};this.setHighliteCurrent=function(_ae,_af){this.config.hCF=_ae?true:false;this.config.hCP=_ae?(_af||""):null;};this.setAnimation=function(_b0){var _b1=false;if(is.ie&&(is.version>=6)){_b1=true;} if(is.mozilla){_b1=true;} if(this.ff_flag&&(this.ff_vers<1.5)){_b1=false;} if(!_b1){return;} this.config.aE=_b0||null;};this.setSubMenuOffset=function(oX1,oY1,oX2,oY2){this.config.oX1=oX1;this.config.oY1=oY1;this.config.oX2=oX2;this.config.oY2=oY2;};this.setHideOverlayObjects=function(_b6){this.config.hOO=_b6?true:false;};this.setPersistentTab=function(_b7){this.config.pT=_b7?true:false;};this.setExpandableBehaviour=function(_b8){this.eB=(_b8=="multiple")?"multiple":"accordion";};this.show=function(){this.cRS();};} function cRS(){var _b9=gEB(this.root);var _ba=_b9.width;if(!_ba){var _bb=this;window.setTimeout(function(){_bb.cRS();},1);return;} this.beforeALL();var _t=this;this.parser=new _P();this.parser.registerNodeFilter("a");this.parser.rR(this.root);this.parser.registerOnNodeCallback(function(a,b,c){_t.cCR(a,b,c);});this.parser.rOCC(function(){_t.oTPC();});this.parser.start();} CSSMenu.prototype.cRS=cRS;function cCR(_c0,_c1,_c2){var _c3=this.id+"_item_"+_c2;var _c4=_c0.parentNode;var _c5=(_c1&&_c1.parentNode&&_c1.parentNode.parentNode)?_c1.parentNode.parentNode:null;_c5=(_c5&&(_c5.nodeName.toLowerCase()=="li"))?_c5:null;_c4.id=_c3;aCN(_c4,(this.id+"_el"));var _c6=new mI(_c3,_c4,_c5);this.aI.push(_c6,_c3);_c6.owner=this;if(_c5){var _c7=_c5.id;if(_c7){_c6.pi=this.aI.get(_c7);_c6.pi.isParent=true;_c6.pi.children.push(_c6,_c3);_c6.pi.holder=_c4.parentNode;}}else{this.headers.push(_c6,_c3);_c6.isHeader=true;var img=_c4.getElementsByTagName("img")[0];if(img){aCN(img,(this.id+"_el"));} _c6.image=img||null;} var _c9=_c4.getElementsByTagName("a")[0];aCN(_c9,(this.id+"_el"));_c6.link=_c9;} CSSMenu.prototype.cCR=cCR;function oTPC(){if(this.type=="tab"){this.config.eT*=2;} this.MAIN();var _t=this;} CSSMenu.prototype.oTPC=oTPC;function MAIN(){var _t=this;this.headers.each(function(_cc,_cd,id){var _li=_cc.element;var _a=_cc.link;var _d1=_cc.image;if(_d1){var _d2=_d1.getAttribute("width")||null;var _d3=_d1.getAttribute("height")||null;if(_d2&&_d3){_li.style.width=(_d2+"px");_li.style.height=(_d3+"px");_a.style.width=(_d2+"px");_a.style.height=(_d3+"px");}else{_li.style.width="auto";_a.style.width="auto";_a.style.height="auto";} _rC(_li,"hasImg");_li.style.padding="0px";_li.style.margin="0px";_li.style.border="none";_li.style.backgroundImage="none";_li.style.backgroundColor="transparent";_d1.style.padding="0px";_d1.style.margin="0px";_d1.style.border="none";_a.style.padding="0px";_a.style.margin="0px";_a.style.border="none";aCN(_li,"imgFlag");} _t.mIC(_cc);_cc.visibleState=true;if(_t.type=="expandable"){var _d4=(is.ie&&(is.version<=6));var _d5=(_cc.gHo)?_cc.holder:_t.mS(_cc);if(_d5){if(_d4){_d5.style.display="none";}}}});var _d6=this.headers.gF();aCN(_d6.element,"first");var _d7=this.headers.gL();aCN(_d7.element,"last");var _d8=this;window.setTimeout(function(){_d8.mHi();},10);} CSSMenu.prototype.MAIN=MAIN;function mHo(mI,_da){if(mI.image){var el=mI.element;var _dc=mI.selected;var img=el.getElementsByTagName("img")[0];var src=img.src;if(this.config.hP){var _df=this.config.hP.match(/\}(\w+)/)[1];} if(this.config.hCF&&this.config.hCP){var _e0=this.config.hCP.match(/\}(\w+)/)[1];} switch(_da){case"in":if(_e0){src=src.replace(new RegExp(_e0,"g"),"");} if(_df){src=src.replace(new RegExp(_df,"g"),"");src=src.replace(/([^\.]+)(\.\w+)$/,"$1"+_df+"$2");el.getElementsByTagName("img")[0].src=src;} break;case"out":if(_df){src=src.replace(new RegExp(_df,"g"),(_dc?_e0:""));el.getElementsByTagName("img")[0].src=src;} break;} return;} var box=mI.element;var _e2=mI.link;switch(_da){case"in":aCN(box,"hover");aCN(_e2,"hover");break;case"out":_rC(box,"hover");_rC(_e2,"hover");break;}} CSSMenu.prototype.mHo=mHo;function mouse_in(mI){var _t=this;this.lM=mI;switch(this.type){case"horizontal":var _e5=mI.isHeader?false:true;var _e6=true;break;case"vertical":var _e5=true;var _e6=true;break;case"tab":var _e7=mI.isHeader?false:true;var _e6=true;break;case"expandable":var _e7=true;var _e6=false;break;} this.mHo(mI,"in");mI.mouse_state="in";this.lastHighlightedPath.each(function(_e8,_e9,id){if(!mI.path.get(id)){_t.mHo(_e8,"out");}});this.lastHighlightedPath=mI.path;mI.path.each(function(_eb,_ec,id){_t.mHo(_eb,"in");});var _ee=_t.id+"_HIDDING";if(window[_ee]){window.clearTimeout(window[_ee]);window[_ee]=null;} var _ef=this.id+"_HOVER_OUT";if(window[_ef]){window.clearTimeout(window[_ef]);window[_ef]=null;} var _f0=_t.id+"_SHOWING_SUB_TIMER";if(window[_f0]){window.clearTimeout(window[_f0]);window[_f0]=null;} if(_e6){var _f1=this.id+"_HIDING_SUB_PANNEL";if(_e5){window[_f1]=setTimeout(function(){_t.hideAll(_t.lM);},_t.config.hT);}else{this.hideAll(mI);}} if(_e7){return;} var _f2=(mI.gHo)?mI.holder:this.mS(mI);if(_f2){if(_e5){var _f0=this.id+"_SHOWING_SUB_TIMER";window[_f0]=window.setTimeout(function(){_t.showSub(mI);},_t.config.sH);}else{this.showSub(mI);}}} CSSMenu.prototype.mouse_in=mouse_in;function mouse_out(mI){var _t=this;switch(this.type){case"horizontal":var _f5=true;break;case"vertical":var _f5=true;break;case"tab":var _f5=true;var _f6=this.config.pT?true:false;break;case"expandable":var _f5=false;break;} var _f7=this.id+"_SHOWING_SUB_TIMER";if(window[_f7]){window.clearTimeout(window[_f7]);} var _f8=this.id+"_HOVER_OUT";window[_f8]=window.setTimeout(function(){_t.lastHighlightedPath.each(function(_f9,_fa,id){_t.mHo(_f9,"out");});},this.config.eT);if(_f6){return;} if(_f5){var _fc=this.id+"_HIDDING";window[_fc]=window.setTimeout(function(){_t.hideAll();_t.hO(mI);},this.config.eT);}} CSSMenu.prototype.mouse_out=mouse_out;function mouse_click(mI,_fe){var _t=this;switch(this.type){case"horizontal":break;case"vertical":break;case"tab":break;case"expandable":var _100=true;break;} if(_100){this.cE(mI);if(mI.isHeader){if(this.config.eB=="accordion"){this.headers.each(function(_101,_102,id){if(id!=mI.id){if(_101.isParent){_101.eS=true;_t.cE(_101);}}});}} this.lastRequestedAction=null;} this.hideAll();var _104=(is.ie&&(is.version<=6));if(_104){if(_fe!="a"){var link=mI.link;var _106=!_100||(_100&&!mI.isHeader)||(_100&&mI.isHeader&&!mI.isParent);if(_106){link.click();}}}} CSSMenu.prototype.mouse_click=mouse_click;function computeExpandedHeight(mI,eS){this.expandedHeight.set((eS?mI.holderBox.height:0),null,mI.id);var _109=0;this.expandedHeight.each(function(_10a){_109+=_10a;});var _10b=this._height+_109;return _10b;} CSSMenu.prototype.computeExpandedHeight=computeExpandedHeight;function cE(mI){var _10d=(is.ie&&(is.version<=6));var _10e=this;if(mI.isHeader){if(!mI.gHo){mI.holder=_10e.mS(mI);setBox(mI.holder,mI.holderBox,"width height");} if(mI.holder){if(!mI.eS){if(!_10d){var _10f=gCP(mI.element,"width","number");_10f=Math.round(_10f)+"px";mI.element.style.minWidth=_10f;mI.element.style.width="";if(is.opera){var _110=_10e.computeExpandedHeight(mI,true);_10e.root.style.height=_110+"px";_10e.container.style.height=_110+"px";}} _10e.showSub(mI);mI.eS=true;}else{if(!_10d){var _mw=_10e.expandableWidth||(_10e.expandableWidth=gCP(mI.element,"min-width","number"));if(_mw>0){mI.element.style.minWidth="0px";mI.element.style.width=_mw+"px";} if(is.opera){var _110=_10e.computeExpandedHeight(mI,false);_10e.root.style.height=_110+"px";_10e.container.style.height=_110+"px";}} mI.holder.style.marginTop="-5000px";if(_10d){mI.holder.style.display="none";} mI.eS=false;}}}} CSSMenu.prototype.cE=cE;function collapseAll(){if(this.type!="expandable"){return;} var _t=this;this.headers.each(function(_113){if(_113.isParent){_113.eS=true;_t.cE(_113);}});this.config.eB="accordion";} CSSMenu.prototype.collapseAll=collapseAll;function expandAll(){if(this.type!="expandable"){return;} var _t=this;this.headers.each(function(_115){if(_115.isParent){_115.eS=false;_t.cE(_115);}});this.config.eB="multiple";} CSSMenu.prototype.expandAll=expandAll;function mS(mI){var _t=this;mI.children.each(function(_118){_t.mIC(_118);});var _119=mI.children.gF();var _11a=mI.children.gL();if(_119){aCN(_119.element,"first");} if(_11a){aCN(_11a.element,"last");} var _11b=mI.holder;if(_11b){aCN(_11b,(this.id+"_el"));var _11c=(this.type!="tab")?"V":"H";mI.holderBox=gHB(_11b,mI.children.gH(),_11c);if(!is.ie||(is.ie&&(this.type=="tab"))){setBox(_11b,mI.holderBox,"width");if(this.type=="tab"){var _11d=function(){if((typeof _11b.clientHeight!="undefined")&&(_11b.clientHeight>mI.holderBox.height)){mI.holderBox.width+=1;setBox(_11b,mI.holderBox,"width");if(_11b.offsetHeight>mI.holderBox.height){window.setTimeout(_11d,0);}}};window.setTimeout(_11d,0);}} if(typeof AN!="undefined"){if((this.type=="horizontal")||(this.type=="vertical")){if(this.config.aE){mI.animator=new AN(this.config.aE);if(mI.animator){mI.animator.attachTo(mI.holder);mI.animator.relateTo(mI.element);}}}}} mI.gHo=true;return _11b;} CSSMenu.prototype.mS=mS;function applySubOffs(mI){var _11f={"x":0,"y":0};var _120=(this.type=="horizontal")||(this.type=="tab");var _121=mI.isHeader;if(_120){if(_121){_11f.y+=this.attachOffset.borders.ROOT.BOTTOM;}else{_11f.x+=this.attachOffset.borders.HOLDER.LEFT;}}else{_11f.x+=this.attachOffset.borders.HOLDER.LEFT;if(_121){_11f.x+=this.attachOffset.borders.ROOT.RIGHT;}} if(_121){_11f.x+=this.config.oX1;_11f.y+=this.config.oY1;}else{_11f.x+=this.config.oX2;_11f.y+=this.config.oY2;} return _11f;} CSSMenu.prototype.applySubOffs=applySubOffs;function showSub(mI){if(this.attachOffset===null){this.attachOffset={};this.attachOffset.borders={};this.attachOffset.borders.HOLDER={};this.attachOffset.borders.ROOT={};if(gCP(mI.holder,"border-left-style","boolean")){this.attachOffset.borders.HOLDER.LEFT=gCP(mI.holder,"border-left-width","number");}else{mI.holder.style.borderLeftWidth="0px";} if(gCP(mI.holder,"border-top-style","boolean")){this.attachOffset.borders.HOLDER.TOP=gCP(mI.holder,"border-top-width","number");}else{mI.holder.style.borderTopWidth="0px";} if(gCP(this.root,"border-right-style","boolean")){this.attachOffset.borders.ROOT.RIGHT=gCP(this.root,"border-right-width","number");}else{this.root.style.borderRightWidth="0px";} if(gCP(this.root,"border-bottom-style","boolean")){this.attachOffset.borders.ROOT.BOTTOM=gCP(this.root,"border-bottom-width","number");}else{this.root.style.borderBottomWidth="0px";}} switch(this.type){case"horizontal":case"vertical":case"tab":var _123=mI.corner||(mI.corner=getCorner(mI));var _124=mI.stack||(mI.stack=gS(mI));var _125=gEB(mI.element);var _126=getAtPoint(_125,_123,mI);mI.holder.style.zIndex=_124;mI.holder.style.visibility="hidden";_126=gBS(_126,this.applySubOffs(mI));var _127=mI.isHeader&&(is.safari||this.sg_Pos_Check_Flag);var _128=!mI.isHeader&&(is.safari);if(_127){_126.x+=this.abs_Pos_Flag?this.bfBox.Absolute.x1:this.bfBox.Static.x1;_126.y+=this.abs_Pos_Flag?this.bfBox.Absolute.y1:this.bfBox.Static.y1;} if(_128){_126.x+=this.abs_Pos_Flag?this.bfBox.Absolute.x2:this.bfBox.Static.x2;_126.y+=this.abs_Pos_Flag?this.bfBox.Absolute.y2:this.bfBox.Static.y2;} if(mI.isHeader){if(this.sg_Pos_Check_Flag){setBox(mI.holder,_126,"x y");}else{setBox(mI.holder,_126,"x y");setBox(mI.holder,dC(mI,_126),"x y");}}else{setBox(mI.holder,_126,"x y");setBox(mI.holder,dC(mI,_126),"x y");} var ie50=(is.ie&&is.version<5.5);var op9=(is.opera&&is.version<=9);if(!ie50&&!is.safari&&!op9){var _12b=pIV(mI);if(_12b){setBox(mI.holder,_12b,"x y");setBox(mI.holder,dC(mI,_12b),"x y");}} mI.visibleState=true;break;case"expandable":mI.holder.style.margin="0px";var _12c=this.isIe6Max||(this.isIe6Max=(is.ie&&(is.version<=6)));if(_12c){mI.holder.style.display="block";} if(is.opera){mI.holder.style.marginTop="0px";if(!mI.expandedOnce){mI.children.each(function(item){item.element.style.position="static";});mI.expandedOnce=true;}} break;} this.hO(mI);if(mI.animator){mI.animator._start(true);} mI.holder.style.visibility="visible";this.visibles.set(mI,null,mI.id);} CSSMenu.prototype.showSub=showSub;function hideAll(_12e){var path=_12e?getPath(_12e):null;var _t=this;this.visibles.each(function(item,_132,id){if(item.visibleState){if(!path||(path&&!path.get(id))){_t.mHo(item,"out");item.mouse_state="out";if(_t.type!="expandable"){item.holder.style.visibility="hidden";if(item.animator){item.animator.state=-1;} setBox(item.holder,{"x":-5000,"y":-5000},"x y");item.visibleState=false;}}}});} CSSMenu.prototype.hideAll=hideAll;function mHi(){if(!this.config.hCF){return;} var _134=this.aI.gF();var _135=_134.image?true:false;var _136=this.config.hCP?true:false;if(_135&&!_136){return;} var _137;var _138=window.location.href.toLowerCase();var _137=null;var _139=null;var _13a=null;var _13b=this;this.aI.reverseEach(function(item){var LI=item.element;if(new RegExp(_13b.classes["sss"]).test(LI.className)){_139=item;} var A=item.link;var href=A.href.toLowerCase();if(!(/#$/.test(href))){if(href.indexOf(_138)>=0){_13a=item;}}});_137=_139?_139:_13a;if(_137){var _140=getPath(_137);_140.each(function(item,_142,id){item.selected=true;if(item.image){var el=item.element;var img=item.image;var src=img.src;if(item.mouse_state!="in"){if(_13b.config.hP){var _147=_13b.config.hP.match(/\}(\w+)/)[1];} var _148=_13b.config.hCP.match(/\}(\w+)/)[1];if(_147){src=src.replace(new RegExp(_147,"g"),"");} src=src.replace(new RegExp(_148,"g"),"");src=src.replace(/([^\.]+)(\.\w+)$/,"$1"+_148+"$2");el.getElementsByTagName("img")[0].src=src;}}else{var LI=item.element;var A=item.link;aCN(LI,_13b.classes["selected"]);aCN(A,_13b.classes["selected"]);} if(item.isHeader){if(_13b.type=="expandable"){_13b.cE(item);} if((_13b.type=="tab")&&_13b.config.pT){_13b.mouse_in(item);}}});}} CSSMenu.prototype.mHi=mHi;CSSMenu.prototype.iRW=function(){var _14b;if(!this.dpt){return;} if(((typeof this.dpt.offsetTop!="undefined")?this.dpt.offsetTop:gEB(current).y)>=this.currentY){this.root.style.width=(this._width+=1)+"px";var _t=this;if(!is.mac&&(is.ie||is.mozilla)){_t.iRW();}else{window.setTimeout(function(){_t.iRW();},0);}}else{this.root.style.overflow="visible";this.container.style.overflow="visible";}};function beforeALL(){this._width=0;this._height=0;this._margins=0;this.iR=[];this.cachedImageList=false;this.gotMargins=false;this.aIL=true;var last=null;var _14e=0;var _t=this;var _150=this.first;var _151=/(hasImg)|(imgFlag)/.test(_150.className);while(_150){if((_150.nodeType==1)&&(_150.nodeName.toLowerCase()=="li")){last=_150;if(!_151){if((this.type=="horizontal")||(this.type=="tab")){if(!this.addedFirst){aCN(_150,"first");this.addedFirst=true;this._width+=(typeof _150.offsetWidth!="undefined")?_150.offsetWidth:gEB(_150).width;}else{this._width+=(_14e=((typeof _150.offsetWidth!="undefined")?_150.offsetWidth:gEB(_150).width));}}else{if(!is.safari&&!is.mozilla){this._width=Math.max(this._width,(typeof _150.offsetWidth!="undefined")?_150.offsetWidth:gEB(_150).width);}} if(!this.gotMargins){var mL=gCP(_150,"margin-left","number");var mR=gCP(_150,"margin-right","number");var mB=mL+mR;this._margins=mB;this.gotMargins=true;} if((this.type=="horizontal")||(this.type=="tab")){this._width+=this._margins;if(!this._height){this._height+=(typeof _150.offsetHeight!="undefined")?_150.offsetHeight:gEB(_150).height;}}else{if(!is.safari&&!is.mozilla){this._height+=(typeof _150.offsetHeight!="undefined")?_150.offsetHeight:gEB(_150).height;}}}else{if(!this.cachedImageList){_Ap(this.iR,[_150,false]);}}} _150=_150.nextSibling;} this.cachedImageList=true;if(!this.addedLast){aCN(last,"last");this.addedLast=true;if((this.type=="horizontal")||(this.type=="tab")){this._width-=_14e;this._width+=(typeof last.offsetWidth!="undefined")?last.offsetWidth:gEB(last).width;}} if(_151){_Ae(this.iR,function(_155,_156){var _157=_155[1];var _158=_155[0].getElementsByTagName("img")[0];if(_158.getAttribute("width")){_158.removeAttribute("width");} if(_158.getAttribute("height")){_158.removeAttribute("height");} if(!_157){if(_158.complete){_t.iR[_156][1]=true;var __w=_158.width;var __h=_158.height;if((_t.type=="horizontal")||(_t.type=="tab")){_t._width+=__w;}else{if(!is.safari&&!is.mozilla){_t._width=Math.max(_t._width,__w);}} if((_t.type=="horizontal")||(_t.type=="tab")){if(!_t._height){_t._height=__h;}}else{if(!is.safari&&!is.mozilla){_t._height+=__h;}} if(__w){_155[0].style.width=__w+"px";_158.setAttribute("width",__w);} if(__h){if(!(_t.type=="expandable"&&(is.mozilla||is.opera))){_155[0].style.height=__h+"px";_158.setAttribute("height",__h);}else{_155[0].getElementsByTagName("a")[0].style.height=__h+"px";}}}else{_t.aIL=false;}}});if(!this.aIL){window.setTimeout(function(){_t.beforeALL();},10);}}else{var _15b=(is.ie&&!rm)?(this.root.offsetWidth-this.root.clientWidth):0;var _15c=(is.ie&&!rm)?(this.root.offsetHeight-this.root.clientHeight):0;if(this._width){this._width+=_15b;} if(this._height){this._height+=_15c;}} if(this._width&&this.aIL){this.root.style.width=this._width+"px";this.container.style.width=this._width+"px";} if(this._height&&this.aIL){_t.root.style.height=_t._height+"px";_t.container.style.height=_t._height+"px";} if((this.type!="horizontal")&&(this.type!="tab")){return;} if(!_151||(_151&&this.aIL)){var y=null;this.dpt=null;this.currentY=null;var _150=this.first;while(_150){if((_150.nodeType==1)&&(_150.nodeName.toLowerCase()=="li")){this.currentY=(typeof _150.offsetTop!="undefined")?_150.offsetTop:gEB(_150).y;if(y===null){y=this.currentY;} if(this.currentY!=y){this.dpt=_150;}} _150=_150.nextSibling;} if(this.dpt){if(!is.mac&&is.mozilla){_t.iRW();}else{window.setTimeout(function(){_t.iRW();},0);}}}} CSSMenu.prototype.beforeALL=beforeALL;function processEvent(e){if(typeof e.stopPropagation=="function"){e.stopPropagation();} if(typeof e.cancelBubble!="undefined"){e.cancelBubble=true;} var _15f;switch(e.type){case"mouseover":_15f="mouse_in";break;case"mouseout":_15f="mouse_out";break;case"click":_15f="mouse_click";var _160=true;break;} var _161=e.currentTarget||e.srcElement;if(_161&&_161.nodeName){switch(_161.nodeName.toLowerCase()){case"li":var _LI=_161;break;case"a":var _LI=_161.parentNode;break;case"img":var _LI=_161.parentNode.parentNode;} if(_LI){var mI=this.aI.get(_LI.id);} if(_160){var _164=_161.nodeName.toLowerCase();}} if(!mI){return;} var _165=e.relatedTarget||e.toElement;if(!is.safari){if(this.lRI&&(this.lRI.link==_165)){return;}}else{if(_15f!="mouse_click"){if(this.lRI&&(this.lRI.link==_165)){return;}}} if(this.lRI&&(this.lRI.element==_165)){return;} this.lRI=mI;if(this.lRI&&(this.lRI===mI)&&this.lastRequestedAction&&(this.lastRequestedAction===_15f)){return;} if(this.safetyRequestDelay){return;} this.lastRequestedAction=_15f;if(e.type=="mouseout"){this.lRI=null;} if(_160){this[_15f](mI,_164);}else{this[_15f](mI);}} CSSMenu.prototype.processEvent=processEvent;function mIC(mI){if(!mI.path){mI.path=getPath(mI);} this.dL(mI);var _167=this;_aE(mI.element,"mouseover",function(e){_167.processEvent(e);});_aE(mI.element,"mouseout",function(e){_167.processEvent(e);});_aE(mI.element,"click",function(e){_167.processEvent(e);});if(!mI.image){if(mI.isParent){if(!this.iTL||(this.iTL&&mI.isHeader)){aCN(mI.link,_167.classes["arrow"]);}}} concealLink(mI.link);if(is.mozilla){mI.element.style.MozUserSelect="none";}else{if(is.ie){_aE(mI.element,"selectstart",function(e){e.returnValue=false;return false;});}}} CSSMenu.prototype.mIC=mIC;function getPageBox(){var _16c={"x":0,"y":0,"width":0,"height":0};if(typeof self.innerWidth!="undefined"){_16c.width=self.innerWidth;} if(!_16c.width){if((typeof document.documentElement!="undefined")&&(typeof document.documentElement.clientWidth!="undefined")){_16c.width=document.documentElement.clientWidth;}} if(!_16c.width){if(typeof document.body!="undefined"){_16c.width=document.body.clientWidth;}} if(typeof self.innerHeight!="undefined"){_16c.height=self.innerHeight;} if(!_16c.height){if((typeof document.documentElement!="undefined")&&(typeof document.documentElement.clientHeight!="undefined")){_16c.height=document.documentElement.clientHeight;}} if(!_16c.height){if(typeof document.body!="undefined"){_16c.height=document.body.clientHeight;}} return _16c;} function gBD(_16d,_16e){var _16f={};for(var k in _16d){if(!isNaN(parseInt(_16e[k]))){_16f[k]=_16d[k]-_16e[k];}} return _16f;} function gBS(_171,_172){var _173={};for(var k in _171){if(typeof _172[k]!="undefined"){} _173[k]=_171[k]+_172[k];} return _173;} function gBm(_175,_176){var _177={};for(var k in _175){if(typeof _176[k]!="undefined"){} _177[k]=Math.min(_175[k],_176[k]);} return _177;} function gBM(_179,_17a){var _17b={};for(var k in _179){if(typeof _17a[k]!="undefined"){} _17b[k]=Math.max(_179[k],_17a[k]);} return _17b;} function gEB(el){var _17e=is.safari?true:false;var _17f=gCP(el,"position","string");var _180=gCP(el,"top","string");var _181=gCP(el,"left","string");var _182,boxAfter;switch(_17f){case"":case"static":case"relative":case"absolute":case"fixed":_182=getLayout(el);for(var k in _182){_182[k]=parseInt(_182[k]);} if(_17e){return _182;} el.style.top="auto";el.style.left="auto";el.style.position="absolute";boxAfter=getLayout(el);for(var L in boxAfter){boxAfter[L]=parseInt(boxAfter[L]);} el.style.position=_17f;el.style.top=_180;el.style.left=_181;break;} var _185=gBD(_182,boxAfter);var _186=gBS(boxAfter,_185);return _186;} function setBox(el,box,crt){if(!box){return;} var _18a={"x":["left",false],"y":["top",false],"z":["zIndex",false],"width":["width",false],"height":["height",false]};for(var k in _18a){var _18c=new RegExp("\\b"+k+"\\b|\\ball\\b","i");if(_18c.test(crt)){_18a[k][1]=true;}} for(var L in _18a){if(_18a[L][1]){el.style[_18a[L][0]]=box[L]+"px";}}} function getBoxInc(boxA,boxB){var _190={"horizontal":false,"vertical":false};var _191=(boxB.x==boxA.x)?true:false;var _192=(boxB.y==boxA.y)?true:false;var _193=((boxB.x+boxB.width)==(boxA.x+boxA.width))?true:false;var _194=((boxB.y+boxB.height)==(boxA.y+boxA.height))?true:false;var _195=B_XstartsInside=((boxB.x>boxA.x)&&(boxB.xboxA.y)&&(boxB.yboxA.x)&&((boxB.x+boxB.width)<(boxA.x+boxA.width)))?true:false;var _198=(((boxB.y+boxB.height)>boxA.y)&&((boxB.y+boxB.height)<(boxA.y+boxA.height)))?true:false;if((_195||_191)&&(_197||_193)){_190.horizontal=true;} if((_196||_192)&&(_198||_194)){_190.vertical=true;} return _190;} function getAtPoint(box,_19a,mI){var _19c=is.safari?true:false;var _19d=mI.owner;var _19e={"x":null,"y":null};switch(_19a){case"TL":_19e.x=box.x;_19e.y=box.y;break;case"TR":_19e.x=(box.x+box.width);_19e.y=box.y;break;case"BR":_19e.x=(box.x+box.width);_19e.y=(box.y+box.height);break;case"BL":_19e.x=box.x;_19e.y=(box.y+box.height);break;case"FBL":var _19f=_19d.first;var _1a0=gEB(_19f);_19e.x=_1a0.x;_19e.y=(_1a0.y+_1a0.height);} if(_19c){_19e.x+=gCP(document.body,"margin-left","number");_19e.y+=gCP(document.body,"margin-top","number");} return _19e;} function getCorner(mI){var _1a2;var _1a3=mI.owner.type;var _1a4=mI.isHeader;if(_1a4){switch(_1a3){case"vertical":_1a2="TR";break;case"horizontal":case"expandable":_1a2="BL";break;case"tab":_1a2="FBL";break;}}else{_1a2="TR";} return _1a2;} function getPath(mI){var _1a6=new AA();var _1a7=mI.owner;var EL=mI;while(EL){if(typeof EL.nodeType!="undefined"){EL=_1a7.aI.get(EL.id);} _1a6.push(EL,EL.id);EL=EL.parent_node;} return _1a6;} function gMT(root){var _1aa;var _1ab=root.parentNode.className;_1aa=_1ab.split(" ")[0];_1aa=_1aa.replace(/^kt/,"");_1aa=_1aa.toLowerCase();return _1aa;} function dL(mI){var link=mI.link;var href=link.href;var _1af=((this.type=="expandable")&&mI.isParent&&mI.isHeader);if(_1af||(/#$/.test(href))){mI._href=href;link.removeAttribute("href");link.style.cursor="default";mI.element.style.cursor="default";}else{if(is.ie){link.style.cursor="hand";mI.element.style.cursor="hand";}else{link.style.cursor="pointer";mI.element.style.cursor="pointer";}}} CSSMenu.prototype.dL=dL;function concealLink(el){if(is.mozilla){el.style.MozOutline="none";} if(is.ie){el.hideFocus=true;} el.style.outline="none";} function pIV(mI){var _1b2=gEB(mI.holder);var _1b3=getPageBox();var _1b4=mI.owner;_1b3.width+=_1b4.config.sB[0];_1b3.height+=_1b4.config.sB[1];var _1b5=getBoxInc(_1b3,_1b2);var _1b6=(_1b5.horizontal&&_1b5.vertical);if(_1b6){return null;} var _1b7={"x":_1b2.x,"y":_1b2.y};var _1b8=(_1b4.type!="tab")?"V":"H";var _1b9=mI.holderBox||(mI.holderBox=gHB(mI.holder,mI.children.gH(),_1b8));if(!_1b5.horizontal){_1b2.width=_1b9.width;var _1ba=_1b2.x+_1b2.width;var _1bb=_1b3.width;var _1bc=_1ba-_1bb;_1b7.x-=_1bc;_1b7.x=Math.max(0,_1b7.x);} if(!_1b5.vertical){_1b2.height=_1b9.height;var _1ba=_1b2.y+_1b2.height;var _1bb=_1b3.height;var _1bc=_1ba-_1bb;_1b7.y-=_1bc;_1b7.y=Math.max(0,_1b7.y);} return _1b7;} function dC(mI,_1be,_1bf){var _1c0=mI.holder;var _1c1=_1bf||_1c0.getElementsByTagName("li")[0];if(!_1c1){return;} var _1c2=is.safari?gLOW(_1c1):gEB(_1c1);var _1c3=gBD(_1c2,_1be);if(is.safari){mI.DELTA=_1c3;} var _1c4=gBD(_1be,_1c3);return _1c4;} function gS(mI){var path=getPath(mI);response=path.length*100;return response;} function gTE(_1c7){var _1c8=(typeof _1c7.relatedTarget!="undefined")?_1c7.relatedTarget:(typeof _1c7.toElement!="undefined")?_1c7.toElement:null;return _1c8;} function getSubHold(el,_1ca){var _1cb=null;if(getSubs(el,_1ca)){for(var i=0;i<_1ca.length;i++){var _1cd=_1ca[i];if(_1cd[0]===el){_1cb=_1cd[2];break;}}} return _1cb;} function gHB(_1ce,_1cf,_1d0){var box={"width":0,"height":0};if(is.safari){var _1d2={"T":null,"R":null,"B":null,"L":null};} if(_1d0=="H"){for(var k in _1cf){var LI=_1cf[k].element;var _1d5=gEB(LI);if(is.safari){var _1d6=(_1d2.L!==null)?_1d2.L:(_1d2.L=gCP(LI,"margin-left-width","number"));var _1d7=(_1d2.R!==null)?_1d2.R:(_1d2.R=gCP(LI,"margin-right-width","number"));} box.width+=_1d5.width;box.height=Math.max(box.height,_1d5.height);}}else{if(_1d0=="V"){for(var k in _1cf){var LI=_1cf[k].element;var _1d5=gEB(LI);if(is.safari){var _1d6=(_1d2.L!==null)?_1d2.L:(_1d2.L=gCP(LI,"border-left-width","number"));var _1d7=(_1d2.R!==null)?_1d2.R:(_1d2.R=gCP(LI,"border-right-width","number"));} box.width=Math.max(box.width,_1d5.width);box.height+=_1d5.height;}}} if(is.safari){box.width+=(_1d6+_1d7);} return box;} function gCE(_1d8){var el=(typeof _1d8.currentTarget!="undefined")?_1d8.currentTarget:(typeof _1d8.srcElement!="undefined")?_1d8.srcElement:null;return el||null;} function hO(mI){if(!this.config.hOO){return;} if(mI){coords=[];var _1db=getPath(mI);_1db.each(function(item,_1dd,id){if(item.holder){var _1df=getLayout(item.holder);_1df.x=parseInt(_1df.x);_1df.y=parseInt(_1df.y);_1df.width=parseInt(_1df.width);_1df.height=parseInt(_1df.height);_Ap(coords,{"x":_1df.x,"y":_1df.y,"width":_1df.width,"height":_1df.height});}});} var tags=["object","select","applet","iframe","embed"];_Ae(tags,function(tag){_Ae(_gEBTN(document,tag),function(elem,i){var _1e4=true;if(tag=="object"){if(!is.safari||is.mozilla){_Ae(elem.getElementsByTagName("param"),function(_1e5){if(_1e5.name&&_1e5.name=="wmode"){if(_1e5.value&&_1e5.value=="transparent"){_1e4=false;}}});}} if(tag=="select"){_1e4=(is.ie&&is.version<7)?true:false;} if(tag=="iframe"){_1e4=is.ie?false:true;} if(_1e4){if(mI){var _1e6=false;var _1e7=getLayout(elem);_Ae(coords,function(_1e8){if(_bO(_1e7,_1e8)){_1e6=true;}});elem.style.visibility=_1e6?"hidden":"visible";}}});});} CSSMenu.prototype.hO=hO;var ALL=new AA();function gMI(id){return ALL.get(id);} function Expandable_hideAll(_1ea){var _mnu=gMI(_1ea);_mnu.collapseAll();} function Expandable_showAll(_1ec){var _mnu=gMI(_1ec);_mnu.expandAll();}