//(c) Ger Versluis 2000 version 11.00 18 May 2004. You may use this script on non commercial sites. www.burmees.nl/menu
if(document.getElementById){var maa=navigator.userAgent.toLowerCase(),mab=navigator.appVersion.toLowerCase(),mac=maa.indexOf("opera 7")!=-1||maa.indexOf("opera/7")!=-1?true:false;if((maa.indexOf("opera")==-1||mac)){var mad=((maa.indexOf("mozilla")!=-1&&maa.indexOf("compatible")==-1)||mac)?true:false,mae=(maa.indexOf("msie")!=-1&&!mac)?true:false;if(MenuUsesFrames&&!parent.frames[0])MenuUsesFrames=0;var maf=((mab.indexOf("msie 6")!=-1||mab.indexOf("msie 7")!=-1)&&!mac)?true:false,mag=(mab.indexOf("mac")!=-1&&mab.indexOf("msie 5")!=-1)?true:false,FLoc,ScLoc,DcLoc,mah,mai,maj,mak,mal,mam,man,mao,map=0,maq=1,mar=0,mas=100,FrstCreat=true,Ldd=false,mat=false,mau=false,mav=false,maw=false,max=false,may=false,maz=true,FrstCntnr=null,mba=null,mbb=null,mbc=null,mbd=null,mbe=null,mbf=null,mbg="",M_Hide="hidden",M_Show="visible",P_X="px",mbh=StartTop,mbi=StartLeft,Par=MenuUsesFrames?parent:window,Doc=Par.document,Bod=Doc.body,mbj=mad?Par:Bod,mbk=mad&&maa.indexOf("gecko/")!=-1&&parseInt(maa.substring(maa.indexOf("gecko/")+6,maa.indexOf("gecko/")+12))>=200303?true:false,mbl,mbm=0;mbn=setInterval("mbo()",100)}}function mbo(){mbl=mae?MenuUsesFrames?Par.frames[FirstLineFrame].document.readyState=="complete"&&Par.frames[SecLineFrame].document.readyState=="complete"?1:0:Par.document.readyState=="complete"?1:0:MenuUsesFrames?Par.frames[FirstLineFrame].document.body&&Par.frames[SecLineFrame].document.body?1:0:Par.document.body?1:0;if(mbl){clearInterval(mbn);Go()}}function mbp(){return false}function mbq(){mao=mae?mau?mbb.clientWidth:FLoc.document.body.clientWidth:FLoc.innerWidth;mai=mae?mau?mbb.clientHeight:FLoc.document.body.clientHeight:FLoc.innerHeight;mam=mae?mav?mbc.clientWidth:ScLoc.document.body.clientWidth:ScLoc.innerWidth;man=mae?mav?mbc.clientHeight:ScLoc.document.body.clientHeight:ScLoc.innerHeight;if(mbm)mbr(FrstCntnr);mar=-1;mbs();if(TargetLoc)mbt();mbu();mbv();mbw(FrstCntnr,StartTop,StartLeft);if(RememberStatus)mbx()}function mby(){Ldd=mat=false;SetMenu="0";var M=FrstCntnr?FrstCntnr.mcb:null;if(mae){while(M!=null){if(M.CCn){mbz(M.CCn);M.CCn=null}M=M.mca}}mbn=setInterval("mcc()",100)}function mcd(){mbz(FrstCntnr);FrstCntnr=mbf=FLoc=ScLoc=DcLoc=mah=mba=mbd=Doc=Bod=mbj=null}function mbz(P){var M=P.mcb,Mi;while(M!=null){Mi=M;if(M.CCn){mbz(M.CCn);M.CCn=null}M=M.mca;Mi.mca=null;Mi=null}P.mcb=null}function mcc(){if(!mae){if(ScLoc.document.body){clearInterval(mbn);Go()}}else if(ScLoc.document.readyState=="complete"){if(mbn)clearInterval(mbn);Go()}}function Go(){if(!Ldd){mat=false;Ldd=true;BeforeStart();if(ScaleMenu){if(document.defaultView&&document.defaultView.getComputedStyle)maq=parseInt(document.defaultView.getComputedStyle(document.body,'').getPropertyValue("font-size"))/16;else if(mae&&document.body.currentStyle)maq=parseInt(document.body.currentStyle.fontSize)/12}status="Building menu";FLoc=MenuUsesFrames?parent.frames[FirstLineFrame]:window;ScLoc=MenuUsesFrames?parent.frames[SecLineFrame]:window;DcLoc=MenuUsesFrames?parent.frames[DocTargetFrame]:window;if(MenuUsesFrames){if(!FLoc)FLoc=window;if(!ScLoc)ScLoc=window;if(!DcLoc)DcLoc=window}if(FLoc==ScLoc)maz=false;if(maz)FirstLineHorizontal=MenuFramesVertical?0:FirstLineHorizontal?FirstLineHorizontal:1;if(maf||mac){mbb=FLoc.document.getElementsByTagName("HTML")[0];mbc=ScLoc.document.getElementsByTagName("HTML")[0];mau=FLoc.document.compatMode.indexOf("CSS")==-1?false:true;mav=ScLoc.document.compatMode.indexOf("CSS")==-1?false:true}mao=mae?mau?mbb.clientWidth:FLoc.document.body.clientWidth:FLoc.innerWidth;mai=mae?mau?mbb.clientHeight:FLoc.document.body.clientHeight:FLoc.innerHeight;mam=mae?mav?mbc.clientWidth:ScLoc.document.body.clientWidth:ScLoc.innerWidth;man=mae?mav?mbc.clientHeight:ScLoc.document.body.clientHeight:ScLoc.innerHeight;maj=FLoc.document.body;mak=ScLoc.document.body;mal=ScLoc.document.body;if(TakeOverBgColor)maj.style.backgroundColor=maz?mak.bgColor:mal.bgColor;if(FrstCreat||FLoc==ScLoc)FrstCntnr=mce("Menu",NoOffFirstLineMenus,null);else mcf("Menu",NoOffFirstLineMenus);mbr(FrstCntnr);mbs();if(TargetLoc)mbt();mbu();mbv();mbw(FrstCntnr,StartTop,StartLeft);mat=true;mah=mae?ScLoc.document.body:ScLoc;mah.onunload=mby;if(mae)mbj.onunload=mcd;mbj.onresize=mbq;AfterBuild();if(RememberStatus)mbx();FrstCreat=false;if(MenuVerticalCentered=="static"&&!maz)setInterval("mcg()",250);if(!mae){mao=-1;mbq()}max=true;mch();status="Menu ready for use"}}function mcg(){var TS=mae?mav?mbc.scrollTop:ScLoc.document.body.scrollTop:ScLoc.pageYOffset;if(TS!=mar){FrstCntnr.mci=StartTop+TS;FrstCntnr.style.top=FrstCntnr.mci+P_X;mar=TS}}function mbs(){StartTop=mbh<1&&mbh>0?mbh*mai:mbh;StartLeft=mbi<1&&mbi>0?mbi*mao:mbi}function mbt(){var mcj=FLoc.document.getElementById(TargetLoc);while(mcj){StartTop+=mcj.offsetTop;StartLeft+=mcj.offsetLeft;mcj=mcj.offsetParent}}function mbu(){if(MenuCentered.indexOf("left")==-1){var Sz=mao-parseInt(FrstCntnr.style.width);StartLeft+=MenuCentered.indexOf("right")!=-1?Sz:Sz/2;if(StartLeft<0)StartLeft=0}}function mbv(){if(MenuVerticalCentered!="top"&&MenuVerticalCentered!="static"){var Sz=mai-parseInt(FrstCntnr.style.height);StartTop+=MenuVerticalCentered=="bottom"?Sz:Sz/2;if(StartTop<0)StartTop=0}}function mbr(C){var mck=map==1?mau:mav,M=C.mcb,Mi,i,W=0,H=0,Wd,Ht,RI,BRW=C.Lvl==1?BorderWidthMain:BorderWidthSub,mco=C.Lvl==1?BorderBtwnMain:BorderBtwnSub,mcl=(mad&&!mac)||mag||mck?LeftPaddng:0,mcm=(mad&&!mac)||mag||mck?TopPaddng:0;if(C.Lvl<=FirstLineHorizontal){while(M!=null){W+=Math.round((M.Arr[5]<1?(M.Arr[5]*(M.Lvl==1?mao:mam)):(M.Arr[5]*maq)));Mi=M;M=M.mca}W+=((C.mcn-1)*mco+2*BRW);Ht=H=Math.round((Mi.Arr[4]<1?(Mi.Arr[4]*(Mi.Lvl==1?mai:man)):(Mi.Arr[4]*maq)));H+=(2*BRW)}else{while(M!=null){H+=Math.round((M.Arr[4]<1?(M.Arr[4]*(M.Lvl==1?mai:man)):(M.Arr[4]*maq)));Mi=M;M=M.mca}H+=((C.mcn-1)*mco+2*BRW);Wd=W=Math.round((Mi.Arr[5]<1?(Mi.Arr[5]*(Mi.Lvl==1?mao:mam)):(Mi.Arr[5]*maq)));W+=(2*BRW)}C.style.width=W+P_X;C.style.height=H+P_X;M=C.mcb;while(M!=null){if(M.Arr[5]<1){W=C.Lvl<=FirstLineHorizontal?(M.Arr[5]*(M.Lvl==1?mao:mam)):Wd;mbm=1}else W=(C.Lvl<=FirstLineHorizontal?M.Arr[5]:Wd)*maq;if(M.Arr[4]<1){H=C.Lvl<=FirstLineHorizontal?Ht:(M.Arr[4]*(M.Lvl==1?mai:man));mbm=1}else H=(C.Lvl<=FirstLineHorizontal?Ht:M.Arr[4])*maq;W=Math.round(W);H=Math.round(H);if(W<LeftPaddng)W=LeftPaddng;if(H<TopPaddng)H=TopPaddng;if(M.mcp.indexOf("<")==-1){M.style.width=W-mcl+P_X;M.style.height=H-mcm+P_X;M.style.paddingLeft=LeftPaddng+P_X;M.style.paddingTop=TopPaddng+P_X}else{M.style.width=W+P_X;M.style.height=H+P_X}if(M.ro){RI=(M.Lvl==1?FLoc:ScLoc).document.images[M.rid];RI.style.width=W+P_X;RI.style.height=H+P_X}if(M.CCn)mbr(M.CCn);M=M.mca}}function mbw(Ct,Tp,Lt){map++;var mck=map==1?mau:mav,a,mcl=(mad&&!mac)||mag||mck?LeftPaddng:0,mcm=(mad&&!mac)||mag||mck?TopPaddng:0,Mb=Ct.mcb,mcq=Mb.mcp.indexOf("<")==-1?mcl:0,mcr=Mb.mcp.indexOf("<")==-1?mcm:0,MWt=parseInt(Mb.style.width)+mcq,MHt=parseInt(Mb.style.height)+mcr,CWt=parseInt(Ct.style.width),CHt=parseInt(Ct.style.height),CCw,CCh,STp,SLt,Ti,Li,Hi,BRW=map==1?BorderWidthMain:BorderWidthSub,mco=map==1?BorderBtwnMain:BorderBtwnSub;if(map==1&&maz)!MenuFramesVertical?Tp=BottomUp?DistFrmFrameBrdr:mai-CHt-DistFrmFrameBrdr:Lt=RightToLeft?DistFrmFrameBrdr:mao-CWt-DistFrmFrameBrdr;if(map==2&&maz)!MenuFramesVertical?Tp=BottomUp?man-CHt:0:Lt=RightToLeft?mam-CWt:0;if(map==2){Tp+=VerCorrect;Lt+=HorCorrect}Ct.style.top=map==1?Tp+P_X:0;Ct.mci=Tp;Ct.style.left=map==1?Lt+P_X:0;Ct.mdq=Lt;if(map<=FirstLineHorizontal){Hi=1;Li=CWt-MWt-2*BRW;Ti=0}else{Hi=Li=0;Ti=CHt-MHt-2*BRW}while(Mb!=null){Mb.style.left=Li+BRW+P_X;Mb.style.top=Ti+BRW+P_X;if(Mb.CCn){if(RightToLeft)CCw=parseInt(Mb.CCn.style.width);if(BottomUp)CCh=parseInt(Mb.CCn.style.height);if(Hi){STp=BottomUp?Ti-CCh:Ti+MHt+2*BRW;SLt=RightToLeft?Li+MWt-CCw:Li}else{SLt=RightToLeft?Li-CCw+ChildOverlap*MWt+BRW:Li+(1-ChildOverlap)*MWt+BRW;STp=map==1&&maz?BottomUp?Ti-CCh+MHt:Ti:BottomUp?Ti-CCh+(1-ChildVerticalOverlap)*MHt+2*BRW:Ti+ChildVerticalOverlap*MHt}mbw(Mb.CCn,STp,SLt)}a=map<=FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0;if(Mb.ai){Mb.ai.style.top=(map<=FirstLineHorizontal?BottomUp?2:MHt-Arrws[a+2]-2:(MHt-Arrws[a+2])/2)+P_X;Mb.ai.style.left=(RightToLeft?2:MWt-Arrws[a+1]-2)+P_X}Mb=Mb.mca;if(Mb){mcq=Mb.mcp.indexOf("<")==-1?mcl:0;mcr=Mb.mcp.indexOf("<")==-1?mcm:0;MWt=parseInt(Mb.style.width)+mcq;MHt=parseInt(Mb.style.height)+mcr;Hi?Li-=MWt+mco:Ti-=MHt+mco}}map--}function mbx(){if(mat){var i,mcs=FrstCntnr,Str=ScLoc.SetMenu?ScLoc.SetMenu:"0";while(Str.indexOf("_")!=-1&&RememberStatus==1){i=mcs.mcn-parseInt(Str.substring(0,Str.indexOf("_")));Str=Str.slice(Str.indexOf("_")+1);mcs=mcs.mcb;for(i;i;i--)mcs=mcs.mca;mcs.OM();mcs=mcs.CCn}i=mcs.mcn-parseInt(Str);mcs=mcs.mcb;for(i;i;i--)mcs=mcs.mca;if(mbf!=null){mct(mbf,0);mbf.mcu=0}if(mcs!=null){mct(mcs,1);mcs.mcu=1;if(RememberStatus==1)mcs.OM()}mbf=mcs;mcv(FrstCntnr.mcb);mcw(FrstCntnr)}}function mch(){if(max&&Ldd){mda(FrstCntnr);max=false;if(RememberStatus)mcw(FrstCntnr);if(may)AfterCloseAll();may=maw=false}}function mcw(mcx){var Mbr=mcx.mcb,St;while(Mbr!=null){if(Mbr.mcy){mcz(Mbr);if(Mbr.CCn&&RememberStatus==1){St=Mbr.CCn.style;St.visibility=M_Show;mcw(Mbr.CCn)}break}else Mbr=Mbr.mca}}function mda(CPt){var Mb=CPt.mcb;map++;CPt.style.visibility=map==1?M_Show:M_Hide;CPt.Shw=map==1?1:0;while(Mb!=null){if(Mb.mdb)mdc(Mb);if(Mb.CCn)mda(Mb.CCn);Mb=Mb.mca}map--}function mcv(Pt){var PSt,Pc;while(Pt){if(Pt.mdb){Pc=Pt;if(Pc!=mba)mdc(Pt);if(Pt.CCn){PSt=Pt.CCn.style;if(Pc!=mba){PSt.visibility=M_Hide;Pt.CCn.Shw=0}mcv(Pt.CCn.mcb)}break}Pt=Pt.mca}}function mct(mcs,x){while(mcs!=null){mcs.mcy=x;mcs=mcs.mde.mdd}}function mdf(){if(UnfoldsOnClick&&!maw&&this.Arr[3]){maw=true;mdg(this)}else if(this.Arr[1]){status="";mdc(this);max=true;mch();if(this.Arr[1].indexOf("javascript:")!=-1)eval(this.Arr[1]);else if(DcLoc.location.href!=BaseHref+this.Arr[1])DcLoc.location.href=BaseHref+this.Arr[1]}}function mcz(P){if(P.rob)P.style.backgroundImage="url(\""+P.mdi+"\")";if(P.ro){var Lc=P.Lvl==1?FLoc:ScLoc;Lc.document.images[P.rid].src=P.ri2}else{if(P.Arr[7])P.style.backgroundColor=P.Arr[7];if(P.Arr[9])P.style.color=P.Arr[9];if(HooverBold)P.style.fontWeight="bold";if(HooverItalic)P.style.fontStyle="italic";if(HooverUnderLine)P.style.textDecoration="underline";if(HooverTextSize)P.style.fontSize=parseInt(P.style.fontSize)+HooverTextSize+P_X;if(HooverVariant)P.style.fontVariant="small-caps"}P.mdb=1}function mdc(P){P.mdb=0;if(P.rob)P.style.backgroundImage="url(\""+P.mdh+"\")";if(P.ro){var Lc=P.Lvl==1?FLoc:ScLoc;Lc.document.images[P.rid].src=P.ri1}else{if(P.Arr[6])P.style.backgroundColor=P.Arr[6];if(P.Arr[8])P.style.color=P.Arr[8];if(HooverBold)P.style.fontWeight="normal";if(HooverItalic)P.style.fontStyle="normal";if(HooverUnderLine)P.style.textDecoration="none";if(HooverTextSize)P.style.fontSize=parseInt(P.style.fontSize)-HooverTextSize+P_X;if(HooverVariant)P.style.fontVariant="normal"}}function mdj(){if(Ldd&&mat){if(UnfoldsOnClick&&!maw){mba=this;max=false;mcv(this.mde.mcb);mcz(this);status=this.Arr[16]}else mdg(this)}}function mdg(Ptr){if(mbe)clearTimeout(mbe);if(Ptr.Arr[3]&&!Ptr.CCn){var mck=map==1?mau:mav,mcl=(mad&&!mac)||mag||mck?LeftPaddng:0,mcm=(mad&&!mac)||mag||mck?TopPaddng:0;map=Ptr.Lvl;Ptr.CCn=mce(Ptr.MN+"_",Ptr.Arr[3],Ptr);mbr(Ptr.CCn);var Ti,Li,Hi,CCw,CCh,STp,SLt,mcq=Ptr.mcp.indexOf("<")==-1?mcl:0,mcr=Ptr.mcp.indexOf("<")==-1?mcm:0,MWt=parseInt(Ptr.style.width)+mcq,MHt=parseInt(Ptr.style.height)+mcr,BRW=map==1?BorderWidthMain:BorderWidthSub;if(RightToLeft)CCw=parseInt(Ptr.CCn.style.width);if(BottomUp)CCh=parseInt(Ptr.CCn.style.height);if(map<=FirstLineHorizontal){Hi=1;Li=parseInt(Ptr.style.left)-BRW;Ti=0}else{Hi=Li=0;Ti=parseInt(Ptr.style.top)-BRW}if(Hi){STp=BottomUp?Ti-CCh:Ti+MHt+2*BRW;SLt=RightToLeft?Li+MWt-CCw:Li}else{SLt=RightToLeft?Li-CCw+ChildOverlap*MWt+BRW:Li+(1-ChildOverlap)*MWt;STp=map==1&&maz?BottomUp?Ti-CCh+MHt:Ti:BottomUp?Ti-CCh+(1-ChildVerticalOverlap)*MHt+2*BRW:Ti+ChildVerticalOverlap*MHt+BRW}mbw(Ptr.CCn,STp,SLt);map=0}mba=Ptr;max=false;mcv(Ptr.mde.mcb);if(!Ptr.mdb)mcz(Ptr);if(Ptr.CCn!=null&&!Ptr.CCn.Shw)RememberStatus?mdk():mbe=setTimeout("mdk()",UnfoldDelay);status=Ptr.Arr[16]}function mdk(){var P=mba,CSt=P.mde.style,mdl=P.CCn,mdm=mdl.style,THt=parseInt(P.style.height),TWt=parseInt(P.style.width),TLt=maz&&P.Lvl==1&&!FirstLineHorizontal?0:parseInt(CSt.left),TTp=maz&&P.Lvl==1&&FirstLineHorizontal?0:parseInt(CSt.top),CCW=parseInt(mdm.width),CCH=parseInt(mdm.height),TS=mae?mav?mbc.scrollTop:ScLoc.document.body.scrollTop:ScLoc.pageYOffset,LS=mae?mav?mbc.scrollLeft:ScLoc.document.body.scrollLeft:ScLoc.pageXOffset,SLt=maz&&P.Lvl==1?mdl.mdq+TLt+LS:mdl.mdq+TLt,STp=maz&&P.Lvl==1?mdl.mci+TTp+TS:mdl.mci+TTp;if(!may){may=true;BeforeFirstOpen()}if(MenuWrap){if(RightToLeft){if(SLt<LS)SLt=P.Lvl==1?LS:SLt+(CCW+(1-2*ChildOverlap)*TWt);if(SLt+CCW>mam+LS)SLt=mam+LS-CCW}else{if(SLt+CCW>mam+LS)SLt=P.Lvl==1?mam+LS-CCW:SLt-(CCW+(1-2*ChildOverlap)*TWt);if(SLt<LS)SLt=LS}if(BottomUp){if(STp<TS)STp=P.Lvl==1?TS:STp+(CCH-(1-2*ChildVerticalOverlap)*THt);if(STp+CCH>man+TS)STp=man+TS-CCH+0}else{if(STp+CCH>TS+man)STp=P.Lvl==1?STp=TS+man-CCH:STp-CCH+(1-2*ChildVerticalOverlap)*THt;if(STp<TS)STp=TS}}mdm.top=STp+P_X;mdm.left=SLt+P_X;if(maf&&MenuSlide){mdl.filters[0].Apply();mdl.filters[0].play()}mdm.visibility=M_Show}function mdn(){if(Ldd&&mat){status="";if(this==mba){if(mbe)clearTimeout(mbe);if(mbd)clearTimeout(mbd);max=true;mbd=setTimeout("mch(mba)",DissapearDelay)}}}function mdo(mdp,WMu,Mc){var x=eval(WMu+"[10]")!=""?eval(WMu+"[10]"):BorderColor;this.Lvl=map;this.mcb=null;this.mcn=mdp;this.mdd=Mc;this.Shw=0;this.mdq=this.mci=0;if(x)this.style.backgroundColor=x;this.style.zIndex=map+mas;if(mbk&&!mac&&MenuOpacity)this.style.MozOpacity=parseInt(MenuOpacity.substring(MenuOpacity.indexOf("=")+1,MenuOpacity.indexOf(")")))/105;if(maf){mbg="";if(MenuSlide&&map!=1)mbg=MenuSlide;if(MenuShadow)mbg+=MenuShadow;if(MenuOpacity)mbg+=MenuOpacity;if(mbg!="")this.style.filter=mbg}}function mdr(MbC,mds,WMu){var mdt=map==1?FLoc:ScLoc,t,a,ta2=this.Arr[2],mdu=this.Arr[0];this.mca=mds;this.Lvl=map;this.mde=MbC;this.CCn=this.ai=null;this.mdb=this.mcy=this.mcu=this.ro=this.rob=0;this.OM=mdj;this.MN=WMu;this.style.overflow="hidden";this.style.cursor=(this.Arr[1]||(map==1&&UnfoldsOnClick))?mae?"hand":"pointer":"default";if(mdu.indexOf("rollover")!=-1){this.ro=1;this.ri1=mdu.substring(mdu.indexOf("?")+1,mdu.lastIndexOf("?"));this.ri2=mdu.substring(mdu.lastIndexOf("?")+1,mdu.length);this.rid=WMu+"i";mdu="<img src=\""+this.ri1+"\" name=\""+this.rid+"\">"}this.mcp=mdu;if(!this.Arr[6])this.Arr[6]=LowBgColor;if(this.Arr[6]&&!this.ro)this.style.backgroundColor=this.Arr[6];if(!this.Arr[7])this.Arr[7]=HighBgColor;if(!this.Arr[8])this.Arr[8]=FontLowColor;this.style.color=this.Arr[8];if(!this.Arr[9])this.Arr[9]=FontHighColor;if(!this.Arr[11])this.Arr[11]=FontFamily;this.style.fontFamily=this.Arr[11];if(this.Arr[12]==-1)this.Arr[12]=FontSize;this.style.fontSize=this.Arr[12]*(mad?1:maq)+"px";if(this.Arr[13]==-1)this.Arr[13]=FontBold;this.style.fontWeight=this.Arr[13]?"bold":"normal";if(this.Arr[14]==-1)this.Arr[14]=FontItalic;this.style.fontStyle=this.Arr[14]?"italic":"normal";if(!this.Arr[15])this.Arr[15]=MenuTextCentered;this.style.textAlign=this.Arr[15];if(!this.Arr[16])this.Arr[16]=this.Arr[1];if(ta2){if(ta2.indexOf("rollover")==-1)this.style.backgroundImage="url(\""+ta2+"\")";else{this.rob=1;this.mdh=ta2.substring(ta2.indexOf("?")+1,ta2.lastIndexOf("?"));this.mdi=ta2.substring(ta2.lastIndexOf("?")+1,ta2.length);this.style.backgroundImage="url(\""+this.mdh+"\")";this.style.backgroundRepeat="no-repeat";this.style.backgroundPosition=BgImgLeftOffset+"px"}}if(mdu.indexOf("<")==-1){t=mdt.document.createTextNode(mdu);this.appendChild(t)}else this.innerHTML=mdu;if(this.Arr[3]){a=map<=FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0;if(Arrws[a]){t=mdt.document.createElement("img");this.appendChild(t);t.style.position="absolute";t.src=Arrws[a];t.style.width=Arrws[a+1]*maq+P_X;t.style.height=Arrws[a+2]*maq+P_X;this.ai=t}}if(mae){this.onselectstart=mbp;this.onmouseover=mdj;this.onmouseout=mdn;this.onclick=mdf}else{this.addEventListener("mouseover",mdj,false);this.addEventListener("mouseout",mdn,false);this.addEventListener("click",mdf,false)}}function mce(mdw,No,mdv){map++;var i,Mbr,PMb=null,mdx=mdw+"1",MWd=eval(mdx+"[5]")*maq,MHt=eval(mdx+"[4]")*maq,mdt=map==1?FLoc:ScLoc,MbC=mdt.document.createElement("div");MbC.style.position="absolute";MbC.style.visibility="hidden";mdt.document.body.appendChild(MbC);MbC.mdy=mdo;MbC.mdy(No,mdw+"1",mdv);for(i=1;i<No+1;i++){mdx=mdw+eval(i);Mbr=mdt.document.createElement("div");Mbr.style.position="absolute";Mbr.style.visibility="inherit";MbC.appendChild(Mbr);Mbr.Arr=eval(mdx);if(!Mbr.Arr[4])Mbr.Arr[4]=MHt;if(!Mbr.Arr[5])Mbr.Arr[5]=MWd;Mbr.mdy=mdr;Mbr.mdy(MbC,PMb,mdx);if(Mbr.Arr[3]&&!BuildOnDemand){Mbr.CCn=mce(mdx+"_",Mbr.Arr[3],Mbr)}PMb=Mbr}MbC.mcb=Mbr;map--;return(MbC)}function mcf(mdw,No){var Mbr=FrstCntnr.mcb,i,mdx;if(!BuildOnDemand){map++;for(i=No;i>0;i--){mdx=mdw+eval(i);if(Mbr.Arr[3])Mbr.CCn=mce(mdx+"_",Mbr.Arr[3],Mbr);Mbr=Mbr.mca}map--}else{while(Mbr){Mbr.CCn=null;Mbr=Mbr.mca}}}