/*(c) Ger Versluis 2000 version 10.70 4 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,FWinH,FColW,SColW,DColW,SWinW,SWinH,FWinW,mai=0,maj=1,mak=0,mal=100,FrstCreat=true,Ldd=false,mam=false,man=false,mao=false,map=false,maq=false,mar=false,mas=true,FrstCntnr=null,mat=null,mau=null,mav=null,maw=null,max=null,may=null,maz="",M_Hide="hidden",M_Show="visible",P_X="px",maA=StartTop,maB=StartLeft,Par=MenuUsesFrames?parent:window,Doc=Par.document,Bod=Doc.body,maC=mad?Par:Bod,maD=mad&&maa.indexOf("gecko/")!=-1&&parseInt(maa.substring(maa.indexOf("gecko/")+6,maa.indexOf("gecko/")+12))>=200303?true:false,maE,maF=setInterval("maG()",100)}}function maG(){maE=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(maE){clearInterval(maF);Go()}}function maH(){return false}function maI(){FWinW=mae?man?mau.clientWidth:FLoc.document.body.clientWidth:FLoc.innerWidth;FWinH=mae?man?mau.clientHeight:FLoc.document.body.clientHeight:FLoc.innerHeight;SWinW=mae?mao?mav.clientWidth:ScLoc.document.body.clientWidth:ScLoc.innerWidth;SWinH=mae?mao?mav.clientHeight:ScLoc.document.body.clientHeight:ScLoc.innerHeight;if(MenuCentered.indexOf("justify")!=-1&&FirstLineHorizontal){maJ();var P=FrstCntnr.C,W=Menu1[5],a=BorderBtwnMain?NoOffFirstLineMenus+1:2,i,maL=(mad&&!mac)||mag||man?LeftPaddng:0;FrstCntnr.style.width=NoOffFirstLineMenus*W*maj+a*BorderWidthMain+P_X;for(i=0;i<NoOffFirstLineMenus;i++){P.style.width=W*maj-(P.X.indexOf("<")==-1?maL:0)+P_X;if(P.L&&!RightToLeft)P.L.style.left=BottomUp?W-Arrws[10]-2+P_X:W-Arrws[4]-2+P_X;P=P.I}}mak=-1;maN();if(TargetLoc)maO();maP();maQ();maR(FrstCntnr,StartTop,StartLeft);if(RememberStatus)maS()}function maT(){Ldd=mam=false;SetMenu="0";var M=FrstCntnr?FrstCntnr.C:null;if(mae){while(M!=null){if(M.K){maU(M.K);M.K=null}M=M.I}}maF=setInterval("maV()",100)}function maW(){maU(FrstCntnr);FrstCntnr=may=FLoc=ScLoc=DcLoc=mah=mat=maw=Doc=Bod=maC=null}function maU(P){var M=P.C,N;while(M!=null){N=M;if(M.K){maU(M.K);M.K=null}M=M.I;N.I=null;N=null}P.C=null}function maV(){if(!mae){if(ScLoc.document.body){clearInterval(maF);Go()}}else if(ScLoc.document.readyState=="complete"){if(maF)clearInterval(maF);Go()}}function Go(){if(!Ldd){mam=false;Ldd=true;BeforeStart();if(ScaleMenu){if(document.defaultView&&document.defaultView.getComputedStyle)maj=parseInt(document.defaultView.getComputedStyle(document.body,'').getPropertyValue("font-size"))/16;else if(mae&&document.body.currentStyle)maj=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)mas=false;if(mas)FirstLineHorizontal=MenuFramesVertical?0:FirstLineHorizontal?FirstLineHorizontal:1;if(maf||mac){mau=FLoc.document.getElementsByTagName("HTML")[0];mav=ScLoc.document.getElementsByTagName("HTML")[0];man=FLoc.document.compatMode.indexOf("CSS")==-1?false:true;mao=ScLoc.document.compatMode.indexOf("CSS")==-1?false:true}FWinW=mae?man?mau.clientWidth:FLoc.document.body.clientWidth:FLoc.innerWidth;FWinH=mae?man?mau.clientHeight:FLoc.document.body.clientHeight:FLoc.innerHeight;SWinW=mae?mao?mav.clientWidth:ScLoc.document.body.clientWidth:ScLoc.innerWidth;SWinH=mae?mao?mav.clientHeight:ScLoc.document.body.clientHeight:ScLoc.innerHeight;FColW=FLoc.document.body;SColW=ScLoc.document.body;DColW=ScLoc.document.body;if(TakeOverBgColor)FColW.style.backgroundColor=mas?SColW.bgColor:DColW.bgColor;if(MenuCentered.indexOf("justify")!=-1&&FirstLineHorizontal)maJ();if(FrstCreat||FLoc==ScLoc)FrstCntnr=maY("Menu",NoOffFirstLineMenus,null);else maZ("Menu",NoOffFirstLineMenus);maN();if(TargetLoc)maO();maP();maQ();maR(FrstCntnr,StartTop,StartLeft);mam=true;mah=mae?ScLoc.document.body:ScLoc;mah.onunload=maT;if(mae)maC.onunload=maW;maC.onresize=maI;AfterBuild();if(RememberStatus)maS();FrstCreat=false;if(MenuVerticalCentered=="static"&&!mas)setInterval("mAa()",250);if(!mae)maI();maq=true;mAb();status="Menu ready for use"}}function mAa(){var x=mae?mao?mav.scrollTop:ScLoc.document.body.scrollTop:ScLoc.pageYOffset;if(x!=mak){FrstCntnr.H=StartTop+x;FrstCntnr.style.top=FrstCntnr.H+P_X;mak=x}}function maN(){StartTop=maA<1&&maA>0?maA*FWinH:maA;StartLeft=maB<1&&maB>0?maB*FWinW:maB}function maJ(){var a=BorderBtwnMain?NoOffFirstLineMenus+1:2,x=Math.round((PartOfWindow*FWinW-a*BorderWidthMain)/NoOffFirstLineMenus),i,j;for(i=1;i<NoOffFirstLineMenus+1;i++){j=eval("Menu"+i);j[5]=x}StartLeft=0}function maO(){var x=FLoc.document.getElementById(TargetLoc);while(x){StartTop+=x.offsetTop;StartLeft+=x.offsetLeft;x=x.offsetParent}}function maP(){if(MenuCentered.indexOf("left")==-1){var x=FWinW-parseInt(FrstCntnr.style.width);StartLeft+=MenuCentered.indexOf("right")!=-1?x:x/2;if(StartLeft<0)StartLeft=0}}function maQ(){if(MenuVerticalCentered!="top"&&MenuVerticalCentered!="static"){var x=FWinH-parseInt(FrstCntnr.style.height);StartTop+=MenuVerticalCentered=="bottom"?x:x/2;if(StartTop<0)StartTop=0}}function maR(x,y,z){mai++;var a=mai==1?man:mao,b=(mad&&!mac)||mag||a?LeftPaddng:0,c=(mad&&!mac)||mag||a?TopPaddng:0,d=x.C,e=x.style,f=d.style,g=d.X.indexOf("<")==-1?b:0,h=d.X.indexOf("<")==-1?c:0,k=parseInt(f.width)+g,l=parseInt(f.height)+h,m=parseInt(e.width),n=parseInt(e.height),o,p,q,r,s,t,A,B=mai==1?BorderWidthMain:BorderWidthSub,C=mai==1?BorderBtwnMain:BorderBtwnSub;if(mai==1&&mas)!MenuFramesVertical?y=BottomUp?DistFrmFrameBrdr:FWinH-n-DistFrmFrameBrdr:z=RightToLeft?DistFrmFrameBrdr:FWinW-m-DistFrmFrameBrdr;if(mai==2&&mas)!MenuFramesVertical?y=BottomUp?SWinH-n:0:z=RightToLeft?SWinW-m:0;if(mai==2){y+=VerCorrect;z+=HorCorrect}e.top=mai==1?y+P_X:0;x.H=y;e.left=mai==1?z+P_X:0;x.G=z;if(mai<=FirstLineHorizontal){A=1;t=m-k-2*B;s=0}else{A=t=0;s=n-l-2*B}while(d!=null){f.left=t+B+P_X;f.top=s+B+P_X;if(d.K){if(RightToLeft)o=parseInt(d.K.style.width);if(BottomUp)p=parseInt(d.K.style.height);if(A){q=BottomUp?s-p:s+l+2*B;r=RightToLeft?t+k-o:t}else{r=RightToLeft?t-o+ChildOverlap*k+B:t+(1-ChildOverlap)*k+B;q=mai==1&&mas?BottomUp?s-p+l:s:BottomUp?s-p+(1-ChildVerticalOverlap)*l+2*B:s+ChildVerticalOverlap*l}maR(d.K,q,r)}d=d.I;if(d){f=d.style;g=d.X.indexOf("<")==-1?b:0;h=d.X.indexOf("<")==-1?c:0;k=parseInt(f.width)+g;l=parseInt(f.height)+h;A?t-=C?(k+B):(k):s-=C?(l+B):l}}mai--}function maS(){if(mam){var i,a=FrstCntnr,b=ScLoc.SetMenu?ScLoc.SetMenu:"0";while(b.indexOf("_")!=-1&&RememberStatus==1){i=a.D-parseInt(b.substring(0,b.indexOf("_")));b=b.slice(b.indexOf("_")+1);a=a.C;for(i;i;i--)a=a.I;a.P();a=a.K}i=a.D-parseInt(b);a=a.C;for(i;i;i--)a=a.I;if(may!=null){mAo(may,0);may.O=0}if(a!=null){mAo(a,1);a.O=1;if(RememberStatus==1)a.P()}may=a;mAq(FrstCntnr.C);mAr(FrstCntnr)}}function mAb(){if(maq&&Ldd){mAs(FrstCntnr);maq=false;if(RememberStatus)mAr(FrstCntnr);if(mar)AfterCloseAll();mar=false;map=false}}function mAr(b){var c=b.C,d;while(c!=null){if(c.N){mAv(c);if(c.K&&RememberStatus==1){d=c.K.style;d.visibility=M_Show;mAr(c.K)}break}else c=c.I}}function mAs(d){var e=d.C,f=d.style;mai++;f.visibility=mai==1?M_Show:M_Hide;d.F=mai==1?1:0;while(e!=null){if(e.M)mAy(e);if(e.K)mAs(e.K);e=e.I}mai--}function mAq(f){var g,h;while(f){if(f.M){h=f;if(h!=mat)mAy(f);if(f.K){g=f.K.style;if(h!=mat){g.visibility=M_Hide;f.K.F=0}mAq(f.K.C)}break}f=f.I}}function mAo(a,x){while(a!=null){a.N=x;a=a.B.E}}function mAB(){if(UnfoldsOnClick&&!map&&this.A[3]){map=true;mAC(this)}else if(this.A[1]){status="";mAy(this);maq=true;mAb();if(this.A[1].indexOf("javascript:")!=-1)eval(this.A[1]);else if(DcLoc.location.href!=BaseHref+this.A[1]){DcLoc.location.href=BaseHref+this.A[1]}}}function mAv(P){var j=P.style;if(P.T)j.backgroundImage="url(\""+P.Z+"\")";if(P.S){var k=P.J==1?FLoc:ScLoc;k.document.images[P.W].src=P.V}else{if(P.A[7])j.backgroundColor=P.A[7];if(P.A[9])j.color=P.A[9];if(HooverBold)j.fontWeight="bold";if(HooverItalic)j.fontStyle="italic";if(HooverUnderLine)j.textDecoration="underline";if(HooverTextSize)j.fontSize=parseInt(j.fontSize)+HooverTextSize+P_X;if(HooverVariant)j.fontVariant="small-caps"}P.M=1}function mAy(P){var k=P.style;P.M=0;if(P.T)k.backgroundImage="url(\""+P.Y+"\")";if(P.S){var l=P.J==1?FLoc:ScLoc;l.document.images[P.W].src=P.U}else{if(P.A[6])k.backgroundColor=P.A[6];if(P.A[8])k.color=P.A[8];if(HooverBold)k.fontWeight="normal";if(HooverItalic)k.fontStyle="normal";if(HooverUnderLine)k.textDecoration="none";if(HooverTextSize)k.fontSize=parseInt(k.fontSize)-HooverTextSize+P_X;if(HooverVariant)k.fontVariant="normal"}}function mAF(){if(Ldd&&mam){if(UnfoldsOnClick&&!map){mat=this;maq=false;mAq(this.B.C);mAv(this);status=this.A[16]}else mAC(this)}}function mAC(m){if(max)clearTimeout(max);if(m.R&&!m.K){var a=mai==1?man:mao,b=(mad&&!mac)||mag||a?LeftPaddng:0,c=(mad&&!mac)||mag||a?TopPaddng:0;mai=m.J;m.K=maY(m.Q+"_",m.R,m);var n,o,p,q=m.style,r,s,t,u,v=m.X.indexOf("<")==-1?b:0,w=m.X.indexOf("<")==-1?c:0,x=parseInt(q.width)+v,y=parseInt(q.height)+w,z=mai==1?BorderWidthMain:BorderWidthSub;if(RightToLeft)r=parseInt(m.K.style.width);if(BottomUp)s=parseInt(m.K.style.height);if(mai<=FirstLineHorizontal){p=1;o=parseInt(m.style.left)-z;n=0}else{p=o=0;n=parseInt(m.style.top)-z}if(p){t=BottomUp?n-s:n+y+2*z;u=RightToLeft?o+x-r:o}else{u=RightToLeft?o-r+ChildOverlap*x+z:o+(1-ChildOverlap)*x;t=mai==1&&mas?BottomUp?n-s+y:n:BottomUp?n-s+(1-ChildVerticalOverlap)*y+2*z:n+ChildVerticalOverlap*y+z}maR(m.K,t,u);mai=0}var d=m.K,e=m;mat=m;maq=false;mAq(m.B.C);if(!e.M)mAv(e);if(d!=null&&!d.F)RememberStatus?mAH():max=setTimeout("mAH()",UnfoldDelay);status=e.A[16]}function mAH(){var P=mat,e=P.style,f=P.B.style,g=P.K,h=g.style,k=parseInt(e.height),l=parseInt(e.width),m=mas&&P.J==1&&!FirstLineHorizontal?0:parseInt(f.left),n=mas&&P.J==1&&FirstLineHorizontal?0:parseInt(f.top),o=parseInt(h.width),p=parseInt(h.height),q=mae?mao?mav.scrollTop:ScLoc.document.body.scrollTop:ScLoc.pageYOffset,r=mae?mao?mav.scrollLeft:ScLoc.document.body.scrollLeft:ScLoc.pageXOffset,s=mas&&P.J==1?g.G+m+r:g.G+m,u=mas&&P.J==1?g.H+n+q:g.H+n;if(!mar){mar=true;BeforeFirstOpen()}if(MenuWrap){if(RightToLeft){if(s<r)s=P.J==1?r:s+(o+(1-2*ChildOverlap)*l);if(s+o>SWinW+r)s=SWinW+r-o}else{if(s+o>SWinW+r)s=P.J==1?SWinW+r-o:s-(o+(1-2*ChildOverlap)*l);if(s<r)s=r}if(BottomUp){if(u<q)u=P.J==1?q:u+(p-(1-2*ChildVerticalOverlap)*k);if(u+p>SWinH+q)u=SWinH+q-p+0}else{if(u+p>q+SWinH)u=P.J==1?u=q+SWinH-p:u-p+(1-2*ChildVerticalOverlap)*k;if(u<q)u=q}}h.top=u+P_X;h.left=s+P_X;if(maf&&MenuSlide){g.filters[0].Apply();g.filters[0].play()}h.visibility=M_Show}function mAK(){if(Ldd&&mam){status="";if(this==mat){if(max)clearTimeout(max);if(maw)clearTimeout(maw);maq=true;maw=setTimeout("mAb(mat)",DissapearDelay)}}}function mAL(W,H,a,b,c){var x=eval(b+"[10]")!=""?eval(b+"[10]"):BorderColor,d=this.style;this.C=null;this.D=a;this.E=c;this.F=0;this.G=this.H=0;if(x)d.backgroundColor=x;d.width=W+P_X;d.height=H+P_X;d.zIndex=mai+mal;if(maD&&!mac&&MenuOpacity)d.MozOpacity=parseInt(MenuOpacity.substring(MenuOpacity.indexOf("=")+1,MenuOpacity.indexOf(")")))/125;if(maf){maz="";if(MenuSlide&&mai!=1)maz=MenuSlide;if(MenuShadow)maz+=MenuShadow;if(MenuOpacity)maz+=MenuOpacity;if(maz!="")d.filter=maz}}function mAN(A,B,C,D,E,F){var a=mai==1?man:mao,b=(mad&&!mac)||mag||a?LeftPaddng:0,c=(mad&&!mac)||mag||a?TopPaddng:0,G=mai==1?FLoc:ScLoc,H=this.A[0],t,T,L,a,I=this.style,J=this.A[2];this.I=B;this.J=mai;this.B=A;this.K=null;this.L=null;this.M=0;this.N=0;this.O=0;this.P=mAF;I.overflow="hidden";this.Q=C;this.R=F;I.cursor=(this.A[1]||(mai==1&&UnfoldsOnClick))?mae?"hand":"pointer":"default";this.S=this.T=0;if(H.indexOf("rollover")!=-1){this.S=1;this.U=H.substring(H.indexOf("?")+1,H.lastIndexOf("?"));this.V=H.substring(H.lastIndexOf("?")+1,H.length);this.W=C+"i";H="<img src=\""+this.U+"\" name=\""+this.W+"\" width=\""+D+"\" height=\""+E+"\">"}this.X=H;I.color=this.A[8];I.fontFamily=this.A[11];I.fontSize=this.A[12]*(mad?1:maj)+"px";I.fontWeight=this.A[13]?"bold":"normal";I.fontStyle=this.A[14]?"italic":"normal";if(this.A[6]&&!this.S)I.backgroundColor=this.A[6];I.textAlign=this.A[15];if(J){if(J.indexOf("rollover")==-1)I.backgroundImage="url(\""+J+"\")";else{this.T=1;this.Y=J.substring(J.indexOf("?")+1,J.lastIndexOf("?"));this.Z=J.substring(J.lastIndexOf("?")+1,J.length);I.backgroundImage="url(\""+this.Y+"\")";I.backgroundRepeat="no-repeat";I.backgroundPosition=BgImgLeftOffset+"px"}}if(H.indexOf("<")==-1){I.width=D-b+P_X;I.height=E-c+P_X;I.paddingLeft=LeftPaddng+P_X;I.paddingTop=TopPaddng+P_X}else{I.width=D+P_X;I.height=E+P_X}if(H.indexOf("<")==-1){t=G.document.createTextNode(H);this.appendChild(t)}else this.innerHTML=H;if(this.A[3]){a=mai<=FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0;if(Arrws[a]!=""){T=mai<=FirstLineHorizontal?BottomUp?2:E-Arrws[a+2]-2:(E-Arrws[a+2])/2;T=mai<=FirstLineHorizontal?BottomUp?2:E-Arrws[a+2]-2:(E-Arrws[a+2])-2;L=RightToLeft?2:D-Arrws[a+1]-2;t=G.document.createElement("img");this.appendChild(t);t.style.position="absolute";t.src=Arrws[a];t.style.width=Arrws[a+1]*maj+P_X;t.style.height=Arrws[a+2]*maj+P_X;t.style.top=T+P_X;t.style.left=L+P_X;this.L=t}}if(mae){this.onselectstart=maH;this.onmouseover=mAF;this.onmouseout=mAK;this.onclick=mAB}else{this.addEventListener("mouseover",mAF,false);this.addEventListener("mouseout",mAK,false);this.addEventListener("click",mAB,false)}}function maY(A,B,C){mai++;var i,D,E,W=0,H=0,F=null,G=A+"1",I=eval(G+"[5]")*maj,J=eval(G+"[4]")*maj,K=mai==1?FLoc:ScLoc,L=mai==1?BorderWidthMain:BorderWidthSub,M=mai==1?BorderBtwnMain:BorderBtwnSub;if(mai<=FirstLineHorizontal){for(i=1;i<B+1;i++){G=A+eval(i);W=eval(G+"[5]")?W+eval(G+"[5]")*maj:W+I}W=M?W+(B+1)*L:W+2*L;H=J+2*L}else{for(i=1;i<B+1;i++){G=A+eval(i);H=eval(G+"[4]")?H+eval(G+"[4]")*maj:H+J}H=M?H+(B+1)*L:H+2*L;W=I+2*L}var N=K.document.createElement("div");N.style.position="absolute";N.style.visibility="hidden";K.document.body.appendChild(N);N.z=mAL;N.z(W,H,B,A+"1",C);for(i=1;i<B+1;i++){G=A+eval(i);D=eval(G+"[3]");W=mai<=FirstLineHorizontal?eval(G+"[5]")?eval(G+"[5]")*maj:I:I;H=mai<=FirstLineHorizontal?J:eval(G+"[4]")?eval(G+"[4]")*maj:J;E=K.document.createElement("div");E.style.position="absolute";E.style.visibility="inherit";N.appendChild(E);E.A=eval(G);if(E.A[6]=="")E.A[6]=LowBgColor;if(E.A[7]=="")E.A[7]=HighBgColor;if(E.A[8]=="")E.A[8]=FontLowColor;if(E.A[9]=="")E.A[9]=FontHighColor;if(E.A[11]=="")E.A[11]=FontFamily;if(E.A[12]==-1)E.A[12]=FontSize;if(E.A[13]==-1)E.A[13]=FontBold;if(E.A[14]==-1)E.A[14]=FontItalic;if(E.A[15]=="")E.A[15]=MenuTextCentered;if(E.A[16]=="")E.A[16]=E.A[1];E.z=mAN;E.z(N,F,G,W,H,D);if(D&&!BuildOnDemand){E.K=maY(G+"_",D,E)}F=E}N.C=E;mai--;return(N)}function maZ(A,B){var E=FrstCntnr.C;if(!BuildOnDemand){var i,G,D,F;mai++;for(i=B;i>0;i--){G=A+eval(i);D=eval(G+"[3]");F=E;if(D)E.K=maY(G+"_",D,E);E=E.I}mai--}else{while(E){E.K=null;E=E.I}}}
