// (c) Ger Versluis 2000 version 4.15, 2 October 2002. You may use this script on non commercial sites. For info write to menu@burmees.nl var P_WW,P_WH,P_RcrsLvl=0,P_Ldd=0,P_Crtd=0,P_IniFlg,P_FrstMnu=null,P_CrrntOvr=null,P_ClsTmr,P_Ztp=100,P_CntrTxt,P_TxtCls,P_show=Nav4?'show':'visible',P_hide=Nav4?'hide':'hidden',P_WbMAlrts=["Item not defined: ","Item needs height: ","Item needs width: "],AgntUsr=navigator.userAgent.toLowerCase(),DomYes=document.getElementById?1:0,NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0,ExpYes=AgntUsr.indexOf('msie')!=-1?1:0,Opr=AgntUsr.indexOf('opera')!=-1?1:0,DomNav=DomYes&&NavYes?1:0,DomExp=DomYes&&ExpYes?1:0,Nav4=NavYes&&!DomYes&&document.layers?1:0,Exp4=ExpYes&&!DomYes&&document.all?1:0,PosStrt=(NavYes||ExpYes)&&!Opr?1:0,P_Win,P_Doc,P_Bod,P_ShwFlg=0;function Pop_Go(){if(!PosStrt)return;P_BeforeStart();P_Win=window;P_Doc=P_Win.document;P_Bod=P_Doc.body;if(PopWebMasterCheck)if(!P_Check()){status='PopMenu build aborted';return}P_Crtd=0; P_Ldd=1;P_Create();P_Pos();P_Initiate();P_Win.onresize=Resize;if(ExpYes)P_Bod.onunload=P_FreeMem;P_Crtd=1;P_AfterBuild()}function P_Check(){var WM='PopMenu',arr,i;for(i=0;iP_WH+P_TpScrlld)Tp-=Pntr.OrgTp==-1?CntHt:CntHt/2;if(Lft+CntWt>P_WW+P_LftScrlld)Lft-=Pntr.OrgLft==-1?CntWt:CntWt/2;if(TpP_WW+P_LftScrlld)Lft=P_WW+P_LftScrlld-CCW}else{if(Lft+CCW>P_WW+P_LftScrlld)Lft=PA[12]&&this.Contnr.Lvl==1?P_WW+P_LftScrlld-CCW:Lft-(CCW+(1-2*PA[16])*ThisWt);if(LftP_WH+P_TpScrlld)Tp=Tp-CCH-(1-2*PA[17])*ThisHt;if(Tp"}this.value=MemVal;this.ChldCntnr=null;this.PrvMbr=PrMmbr;this.LinkTxt=eval(WMnu+'[1]');this.Lvl=P_RcrsLvl;this.hl=0;with(this.style){if(MemVal.indexOf('<')==-1){width=Wdth-(DomNav?PA[40]:0);height=Hght-(DomNav?PA[39]:0);paddingLeft=PA[40];paddingTop=PA[39]}else{width=Wdth;height=Hght}overflow='hidden';cursor=this.LinkTxt&&ExpYes?'hand':'default';if(PA[P_RcrsLvl==1?4:25])backgroundColor=PA[P_RcrsLvl==1?4:25];color=PA[this.Lvl==1?3:24];if(PA[15]!='left')textAlign=PA[15]}if(eval(WMnu+'[2]'))this.style.backgroundImage="url(\""+eval(WMnu+'[2]')+"\")";if(MemVal.indexOf('<')==-1&&DomYes){var t=P_Doc.createTextNode(MemVal);this.appendChild(t)}else this.innerHTML=MemVal;if(eval(WMnu+'[3]')){S=PA[tri];W=PA[tri+1];H=PA[tri+2];T=P_RcrsLvl==1&&PA[12]?Hght-H-2:(Hght-H)/2;L=PA[19]?2:Wdth-W-2;if(DomYes){t=P_Doc.createElement('img');this.appendChild(t);t.style.position='absolute';t.src=S;t.style.width=W;t.style.height=H;t.style.top=T;t.style.left=L}else{MemVal+="
";this.innerHTML=MemVal}}if(DomNav){PA[41]&&P_RcrsLvl==1?this.addEventListener('mouseover',P_OpenMenuClick,false):this.addEventListener('mouseover',P_OpenMenu,false);this.addEventListener('mouseout',P_CloseMenu,false);PA[41]&&P_RcrsLvl==1?this.addEventListener('click',P_OpenMenu,false):this.addEventListener('click',P_GoTo,false)}else{this.onmouseover=PA[41]&&P_RcrsLvl==1?P_OpenMenuClick:P_OpenMenu;this.onmouseout=P_CloseMenu;this.onclick=PA[41]&&P_RcrsLvl==1?P_OpenMenu:P_GoTo}this.Contnr=MmbrCntnr}function P_Nav_MemberSetUp(MmbrCntnr,PrMmbr,WMnu,Wdth,Hght){var PA=MmbrCntnr.PropArr,tri=P_RcrsLvl==1&&PA[12]?32:PA[19]?35:29;this.value=eval(WMnu+'[0]');this.ro=0;if(this.value.indexOf('rollover')!=-1){this.ro=1;this.ri1=this.value.substring(this.value.indexOf('?')+1,this.value.lastIndexOf('?'));this.ri2=this.value.substring(this.value.lastIndexOf('?')+1,this.value.length);this.rid=WMnu+'i';this.value=""}if(PA[40]&&this.value.indexOf('<')==-1&&PA[15]=='left')this.value=' \;'+this.value;if(PA[9])this.value=this.value.bold();if(PA[10])this.value=this.value.italics();this.Ovalue=this.value;this.value=this.value.fontcolor(PA[P_RcrsLvl==1?3:24]);this.Ovalue=this.Ovalue.fontcolor(PA[P_RcrsLvl==1?5:26]);this.value=P_CntrTxt+""+this.value+P_TxtCls;this.Ovalue=P_CntrTxt+""+this.Ovalue+P_TxtCls;this.visibility='inherit';this.ChldCntnr=null;this.PrvMbr=PrMmbr;this.Contnr=MmbrCntnr;this.Lvl=P_RcrsLvl;this.hl=0;if(PA[P_RcrsLvl==1?4:25])this.bgColor=PA[P_RcrsLvl==1?4:25];this.resizeTo(Wdth,Hght);if(eval(WMnu+'[2]'))this.background.src=eval(WMnu+'[2]');this.document.write(this.value);this.document.close();this.CmdLyr=new Layer(Wdth,MmbrCntnr);this.CmdLyr.visibility='inherit';this.CmdLyr.Lvl=P_RcrsLvl;this.CmdLyr.LinkTxt=eval(WMnu+'[1]');this.CmdLyr.onmouseover=PA[41]&&P_RcrsLvl==1?P_OpenMenuClick:P_OpenMenu;this.CmdLyr.onmouseout=P_CloseMenu;this.CmdLyr.captureEvents(Event.MOUSEUP);this.CmdLyr.onmouseup=PA[41]&&P_RcrsLvl==1?P_OpenMenu:P_GoTo;this.CmdLyr.LowLyr=this;this.CmdLyr.Contnr=MmbrCntnr;this.CmdLyr.resizeTo(Wdth,Hght);if(eval(WMnu+'[3]')){this.CmdLyr.ImgLyr=new Layer(PA[tri+1],this.CmdLyr);this.CmdLyr.ImgLyr.visibility='inherit';this.CmdLyr.ImgLyr.top=P_RcrsLvl==1&&PA[12]?Hght-PA[tri+2]-2:(Hght-PA[tri+2])/2;this.CmdLyr.ImgLyr.left=PA[19]?2:Wdth-PA[tri+1]-2;this.CmdLyr.ImgLyr.width=PA[tri+1];this.CmdLyr.ImgLyr.height=PA[tri+2];ImgStr="";this.CmdLyr.ImgLyr.document.write(ImgStr);this.CmdLyr.ImgLyr.document.close()}}function P_Create(){var i,algn,WMnu,MPntr,MenuPrevPntr=null;for(i=0;i":"";if(Nav4)P_TxtCls=""+(algn!='left'?"":"");MPntr=P_CreateMenuStructure(WMnu,WMnu+'_',eval(WMnu+'[0]'),eval(WMnu+'[1]'),eval(WMnu+'[2]'),null);MPntr.PrvMnu=MenuPrevPntr;MenuPrevPntr=MPntr}P_FrstMnu=MPntr}function P_CreateMenuStructure(ArrPntr,MName,NmbOf,Lft,Tp,PrvCntnr){P_RcrsLvl++;var i,NSubs,Mmbr,MmbrCntnr,Wdth=0,Hght=0,PrvMmbr=null,WMnu=MName+'1',MnWdth=eval(WMnu+'[5]'),MnHght=eval(WMnu+'[4]'),InsertLoc,AP=P_Win[ArrPntr];if(P_RcrsLvl==1&&AP[12]){for(i=1;i