/*(c) Ger Versluis 2000 version 9.50 24 July 2003*/ var AgntUsr=navigator.userAgent.toLowerCase(), AppVer=navigator.appVersion.toLowerCase(); var DomYes=document.getElementById?1:0, NavYes=AgntUsr.indexOf("mozilla")!=-1&&AgntUsr.indexOf("compatible")==-1?1:0, ExpYes=AgntUsr.indexOf("msie")!=-1?1:0, Opr7=AgntUsr.indexOf("opera 7")!=-1||AgntUsr.indexOf("opera/7")!=-1?1:0, Opr=(AgntUsr.indexOf("opera")!=-1&&!Opr7)?1:0; if(Opr7){NavYes=1;ExpYes=0;} var DomNav=DomYes&&NavYes?1:0, DomExp=DomYes&&ExpYes?1:0; var Nav4=NavYes&&!DomYes&&document.layers?1:0, Exp4=ExpYes&&!DomYes&&document.all?1:0; var MacCom=(AppVer.indexOf("mac")!= -1)?1:0, MacExp4=(MacCom&&AppVer.indexOf("msie 4")!= -1)?1:0, Mac4=(MacCom&&(Nav4||Exp4))?1:0; var Exp5=AppVer.indexOf("msie 5")!= -1?1:0, Exp6Plus=((AppVer.indexOf("msie 6")!= -1||AppVer.indexOf("msie 7")!= -1)&&!Opr7)?1:0, MacExp5=(MacCom&&Exp5)?1:0, PosStrt=(NavYes||ExpYes||Opr7)&&!Opr?1:0; var RmbrNow=null,FLoc,ScLoc,DcLoc,SWinW,SWinH,FWinW,FWinH,SLdAgnWin,FColW,SColW,DColW,RLvl=0,FrstCreat=1,Ldd=0,Crtd=0, IniFlg,AcrssFrms=1,FrstCntnr=null,CurOvr=null,CloseTmr=null,CntrTxt,TxtClose,ImgStr,ShwFlg=0,M_StrtTp=StartTop,M_StrtLft=StartLeft, StaticPos=0,FStr="",M_Hide=Nav4?"hide":"hidden",M_Show=Nav4?"show":"visible", Par=MenuUsesFrames?parent:window,Doc=Par.document,Bod=Doc.body,Trigger=NavYes?Par:Bod; var Ztop=100,P_X=DomYes?"px":"",FHtml=null,ScHtml=null,FCmplnt=0,SCmplnt=0; if(PosStrt){ if(MacExp4||MacExp5)LdTmr=setInterval("ChckInitLd()",100); else{ if(Trigger.onload)Dummy=Trigger.onload; Trigger.onload=Go}} function ChckInitLd(){ InitLdd=(MenuUsesFrames)?(Par.document.readyState=="complete"&&Par.frames[FirstLineFrame].document.readyState=="complete"&&Par.frames[SecLineFrame].document.readyState=="complete")?1:0:(Par.document.readyState=="complete")?1:0; if(InitLdd){clearInterval(LdTmr);Go()}} function Dummy(){return} function CnclSlct(){return false} function RePos(){ FWinW=ExpYes?FCmplnt?FHtml.clientWidth:FLoc.document.body.clientWidth:FLoc.innerWidth; FWinH=ExpYes?FCmplnt?FHtml.clientHeight:FLoc.document.body.clientHeight:FLoc.innerHeight; SWinW=ExpYes?SCmplnt?ScHtml.clientWidth:ScLoc.document.body.clientWidth:ScLoc.innerWidth; SWinH=ExpYes?SCmplnt?ScHtml.clientHeight:ScLoc.document.body.clientHeight:ScLoc.innerHeight; if(MenuCentered.indexOf("justify")!=-1&&FirstLineHorizontal){ ClcJus(); var P=FrstCntnr.FrstMbr,W=Menu1[5],a=BorderBtwnMain?NoOffFirstLineMenus+1:2,i; FrstCntnr.style.width=NoOffFirstLineMenus*W+a*BorderWidthMain+P_X; var LftXtra=(DomNav&&!Opr7)||MacExp5||FCmplnt?LeftPaddng:0; for(i=0;i0?M_StrtTp*FWinH:M_StrtTp; StartLeft=M_StrtLft<1&&M_StrtLft>0?M_StrtLft*FWinW:M_StrtLft} function ClcJus(){ var a=BorderBtwnMain?NoOffFirstLineMenus+1:2,Sz=Math.round((PartOfWindow*FWinW-a*BorderWidthMain)/NoOffFirstLineMenus),i,j; for(i=1;iSWinW+LS)SLt=SWinW+LS-CCW} else{if(SLt+CCW>SWinW+LS)SLt=P.Lvl==1?SWinW+LS-CCW:SLt-(CCW+(1-2*ChildOverlap)*TWt);if(SLtSWinH+TS)STp=SWinH+TS-CCH+(Nav4?4:0)} else{if(STp+CCH>TS+SWinH)STp=P.Lvl==1?STp=TS+SWinH-CCH:STp-CCH+(1-2*ChildVerticalOverlap)*THt;if(STp"} this.value=Tfld; this.style.color=this.Arr[8];this.style.fontFamily=this.Arr[11];this.style.fontSize=!Mac4?this.Arr[12]+"pt":Math.round(4*this.Arr[12]/3)+"pt"; this.style.fontWeight=this.Arr[13]?"bold":"normal";this.style.fontStyle=this.Arr[14]?"italic":"normal"; if(this.Arr[6])this.style.backgroundColor=this.Arr[6];this.style.textAlign=this.Arr[15]; if(this.Arr[2])this.style.backgroundImage="url(\""+this.Arr[2]+"\")"; if(Tfld.indexOf("<")==-1){this.style.width=Wd-LftXtra+P_X;this.style.height=Ht-TpXtra+P_X;this.style.paddingLeft=LeftPaddng+P_X;this.style.paddingTop=TopPaddng+P_X} else{this.style.width=Wd+P_X;this.style.height=Ht+P_X} if(Tfld.indexOf("<")==-1&&DomYes){t=Lctn.document.createTextNode(Tfld);this.appendChild(t)} else this.innerHTML=Tfld; if(this.Arr[3]){a=RLvl==1&&FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0; if(Arrws[a]!=""){S=Arrws[a];W=Arrws[a+1];H=Arrws[a+2];T=RLvl==1&&FirstLineHorizontal?BottomUp?2:Ht-H-2:(Ht-H)/2;L=RightToLeft?2:Wd-W-2; if(DomYes){t=Lctn.document.createElement("img");this.appendChild(t); t.style.position="absolute";t.src=S;t.style.width=W+P_X;t.style.height=H+P_X;t.style.top=T+P_X;t.style.left=L+P_X} else{Tfld+="
"; this.innerHTML=Tfld;t=Lctn.document.all[WMu+"_im"]} this.ai=t}} if(ExpYes){this.onselectstart=CnclSlct;this.onmouseover=UnfoldsOnClick?OpenMenuClick:OpenMenu; this.onmouseout=CloseMenu;this.onclick=UnfoldsOnClick&&this.Arr[3]?OpenMenu:GoTo} else{UnfoldsOnClick?this.addEventListener("mouseover",OpenMenuClick,false):this.addEventListener("mouseover",OpenMenu,false); this.addEventListener("mouseout",CloseMenu,false); UnfoldsOnClick&&this.Arr[3]?this.addEventListener("click",OpenMenu,false):this.addEventListener("click",GoTo,false)}} function NavMbrSetUp(MbC,PrMmbr,WMu,Wd,Ht,Nofs){ var a; this.value=this.Arr[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=WMu+"i"; this.value=""} CntrTxt=this.Arr[15]!="left"?"
":""; TxtClose=""+this.Arr[15]!="left"?"
":""; if(LeftPaddng&&this.value.indexOf("<")==-1&&this.Arr[15]=="left")this.value=" \;"+this.value; if(this.Arr[13])this.value=this.value.bold();if(this.Arr[14])this.value=this.value.italics(); this.Ovalue=this.value;this.value=this.value.fontcolor(this.Arr[8]); this.Ovalue=this.Ovalue.fontcolor(this.Arr[9]); this.value=CntrTxt+""+this.value+TxtClose; this.Ovalue=CntrTxt+""+this.Ovalue+TxtClose; this.CCn=null;this.PrvMbr=PrMmbr;this.Hilite=0;this.DoRmbr=0;this.Clckd=0;this.visibility="inherit"; this.MN=WMu;this.NofChlds=Nofs; if(this.Arr[6])this.bgColor=this.Arr[6];this.resizeTo(Wd,Ht); if(!AcrssFrms&&this.Arr[2])this.background.src=this.Arr[2]; this.document.write(this.value);this.document.close(); this.CLyr=new Layer(Wd,MbC); this.CLyr.Lvl=RLvl;this.CLyr.visibility="inherit"; this.CLyr.onmouseover=UnfoldsOnClick?OpenMenuClick:OpenMenu;this.CLyr.onmouseout=CloseMenu; this.CLyr.captureEvents(Event.MOUSEDOWN);this.CLyr.onmousedown=UnfoldsOnClick&&this.Arr[3]?OpenMenu:GoTo; this.CLyr.OM=OpenMenu; this.CLyr.LLyr=this;this.CLyr.resizeTo(Wd,Ht);this.CLyr.Ctnr=MbC; if(this.Arr[3]){a=RLvl==1&&FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0; if(Arrws[a]!=""){this.CLyr.ILyr=new Layer(Arrws[a+1],this.CLyr);this.CLyr.ILyr.visibility="inherit"; this.CLyr.ILyr.top=RLvl==1&&FirstLineHorizontal?BottomUp?2:Ht-Arrws[a+2]-2:(Ht-Arrws[a+2])/2; this.CLyr.ILyr.left=RightToLeft?2:Wd-Arrws[a+1]-2;this.CLyr.ILyr.width=Arrws[a+1];this.CLyr.ILyr.height=Arrws[a+2]; ImgStr=""; this.CLyr.ILyr.document.write(ImgStr);this.CLyr.ILyr.document.close()}}} function CreateMenuStructure(MNm,No,Mcllr){ RLvl++; var i,NOs,Mbr,W=0,H=0,PMb=null,WMnu=MNm+"1",MWd=eval(WMnu+"[5]"),MHt=eval(WMnu+"[4]"),Lctn=RLvl==1?FLoc:ScLoc; var BRW=RLvl==1?BorderWidthMain:BorderWidthSub,BTWn=RLvl==1?BorderBtwnMain:BorderBtwnSub; if(RLvl==1&&FirstLineHorizontal){ for(i=1;i<\/div>"); var MbC=Lctn.document.all[WMnu]}} MbC.SetUp=CntnrSetUp;MbC.SetUp(W,H,No,MNm+"1",Mcllr); if(Exp4){MbC.InnerString=""; for(i=1;i<\/div>"} MbC.innerHTML=MbC.InnerString} for(i=1;i0;i--){WMnu=MNm+eval(i);NOs=eval(WMnu+"[3]");PMb=Mbr;if(NOs)Mbr.CCn=CreateMenuStructure(WMnu+"_",NOs,Mbr);Mbr=Mbr.PrvMbr} RLvl--} else{ var Mbr=FrstCntnr.FrstMbr; while(Mbr){Mbr.CCn=null;Mbr=Mbr.PrvMbr}}}