/***********************************************************************************
* (c) Ger Versluis 2000 version 5.41 24 December 2001 *
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
// patched in later
var NoOffFirstLineMenus=1; // Number of first level items
var LowBgColor='white'; // Background color when mouse is not over
var LowSubBgColor='white'; // Background color when mouse is not over on subs
var HighBgColor='#2138CE'; // Background color when mouse is over
var HighSubBgColor='#2138CE'; // Background color when mouse is over on subs
var FontLowColor='black'; // Font color when mouse is not over
var FontSubLowColor='black'; // Font color subs when mouse is not over
var FontHighColor='#D6D3D6'; // Font color when mouse is over
var FontSubHighColor='#D6D3D6'; // Font color subs when mouse is over
var BorderColor='#000000'; // Border color
//var BorderColor='#636163';
var BorderSubColor='#636163'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
//var FontFamily="arial,comic sans ms,technical" // Font family menu items
var FontFamily="Microsoft Sans Serif, arial,comic sans ms,technical" // Font family menu items
var FontSize=9; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=0; // Menu offset x coordinate
var StartLeft=0;
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=0; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=0; // Frames in cols or rows 1 or 0
var DissapearDelay=500; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='self'; // Frame where first level appears
var SecLineFrame='self'; // Frame where sub levels appear
var DocTargetFrame='self'; // Frame where target documents appear
var TargetLoc='CascadeMenu'; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmousemove
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=0; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['images/rarrow.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
// var NoOffFirstLineMenus=5; // Number of first level items
var AgntUsr=navigator.userAgent.toLowerCase();
if(AgntUsr.indexOf('msie')>0) {
Menu1=new Array("
","","",5,266,380);
} else {
Menu1=new Array("
","","",5,266,389);
}
//Menu1=new Array(" ","","",5,266,389);
//Menu1=new Array("","","",5,266,389);
Menu1_1= new Array("Canada","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Canada", "", 1, 20, 115);
Menu1_1_1= new Array("Ontario","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Canada::Ontario","",1, 20, 131);
Menu1_1_1_1= new Array("Toronto","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Canada::Ontario::Toronto","",0, 20, 59);
Menu1_2= new Array("Spain","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Spain", "", 1, 20, 115);
Menu1_2_1= new Array("Cataluna","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Spain::Cataluna","",1, 20, 67);
Menu1_2_1_1= new Array("Barcelona","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Spain::Cataluna::Barcelona","",0, 20, 75);
Menu1_3= new Array("Thailand","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Thailand", "", 1, 20, 115);
Menu1_3_1= new Array("Bangkot","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Thailand::Bangkot","",1, 20, 59);
Menu1_3_1_1= new Array("Bangkok","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::Thailand::Bangkot::Bangkok","",0, 20, 59);
Menu1_4= new Array("United Kingdom","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United Kingdom", "", 1, 20, 115);
Menu1_4_1= new Array("England","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United Kingdom::England","",1, 20, 59);
Menu1_4_1_1= new Array("London","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United Kingdom::England::London","",0, 20, 51);
Menu1_5= new Array("United States","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States", "", 11, 20, 115);
Menu1_5_1= new Array("California","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California","",3, 20, 107);
Menu1_5_1_1= new Array("Los Angeles","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::Los Angeles","",3, 20, 107);
Menu1_5_1_1_1= new Array("Hollywood","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::Los Angeles, Hollywood","", 0, 20, 123);
Menu1_5_1_1_2= new Array("Universal City","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::Los Angeles, Universal City","", 0, 20, 123);
Menu1_5_1_1_3= new Array("Beverly Hills","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::Los Angeles, Beverly Hills","", 0, 20, 123);
Menu1_5_1_2= new Array("San Diego","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::San Diego","",0, 20, 107);
Menu1_5_1_3= new Array("San Francisco","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::California::San Francisco","",0, 20, 107);
Menu1_5_2= new Array("Florida","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Florida","",3, 20, 107);
Menu1_5_2_1= new Array("Fort Lauderdale","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Florida::Fort Lauderdale","",0, 20, 123);
Menu1_5_2_2= new Array("Miami","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Florida::Miami","",0, 20, 123);
Menu1_5_2_3= new Array("Orlando","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Florida::Orlando","",0, 20, 123);
Menu1_5_3= new Array("Hawaii","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Hawaii","",1, 20, 107);
Menu1_5_3_1= new Array("Honolulu","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Hawaii::Honolulu","",0, 20, 67);
Menu1_5_4= new Array("Illinois","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Illinois","",1, 20, 107);
Menu1_5_4_1= new Array("Chicago","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Illinois::Chicago","",0, 20, 59);
Menu1_5_5= new Array("Massachusetts","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Massachusetts","",1, 20, 107);
Menu1_5_5_1= new Array("Boston","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Massachusetts::Boston","",0, 20, 51);
Menu1_5_6= new Array("Nevada","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Nevada","",1, 20, 107);
Menu1_5_6_1= new Array("Las Vegas","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Nevada::Las Vegas","",0, 20, 75);
Menu1_5_7= new Array("New York","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::New York","",1, 20, 107);
Menu1_5_7_1= new Array("New York","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::New York::New York","",2, 20, 67);
Menu1_5_7_1_1= new Array("Manhattan","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::New York::New York, Manhattan","", 0, 20, 75);
Menu1_5_7_1_2= new Array("Queens","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::New York::New York, Queens","", 0, 20, 75);
Menu1_5_8= new Array("Ohio","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Ohio","",1, 20, 107);
Menu1_5_8_1= new Array("Cleveland","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Ohio::Cleveland","",0, 20, 75);
Menu1_5_9= new Array("Pennsylvania","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Pennsylvania","",1, 20, 107);
Menu1_5_9_1= new Array("Philadelphia","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Pennsylvania::Philadelphia","",0, 20, 99);
Menu1_5_10= new Array("Texas","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Texas","",1, 20, 107);
Menu1_5_10_1= new Array("Dallas","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Texas::Dallas","",0, 20, 91);
Menu1_5_11= new Array("Washington Dc","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Washington Dc","",1, 20, 107);
Menu1_5_11_1= new Array("Washington","Main.php?do=PublicView&submit=ShowPublicView&loc_details=::United States::Washington Dc::Washington","",0, 20, 83);
var AgntUsr=navigator.userAgent.toLowerCase();
var DomYes=document.getElementById?1:0;
var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0;
var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
var DomNav=DomYes&&NavYes?1:0;
var DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0;
var Exp4=ExpYes&&!DomYes&&document.all?1:0;
var PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0;
var FrstLoc,ScLoc,DcLoc;
var ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght;
var ScLdAgainWin;
var FirstColPos,SecColPos,DocColPos;
var RcrsLvl=0;
var FrstCreat=1,Loadd=0,Creatd=0,IniFlg,AcrssFrms=1;
var FrstCntnr=null,CurrntOvr=null,CloseTmr=null;
var CntrTxt,TxtClose,ImgStr;
var Ztop=100;
var ShwFlg=0;
var M_StrtTp=StartTop,M_StrtLft=StartLeft;
var StaticPos=0;
var LftXtra=DomNav?LeftPaddng:0;
var TpXtra=DomNav?TopPaddng:0;
var M_Hide=Nav4?'hide':'hidden';
var M_Show=Nav4?'show':'visible';
var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;
var Doc=Par.document;
var Bod=Doc.body;
var Trigger=NavYes?Par:Bod;
MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'center':MenuTextCentered==0||MenuTextCentered!='right'?'left':'right';
WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "];
/*if(Trigger.onload)Dummy=Trigger.onload;
if(DomNav&&!Opr)Trigger.addEventListener('load',Go,false);
else Trigger.onload=Go;*/
function Dummy(){return}
function CnclSlct(){return false}
function RePos(){
FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
if(MenuCentered=='justify'&&FirstLineHorizontal){
FrstCntnr.style.width=FrstWinWdth;
ClcJus();
var P=FrstCntnr.FrstMbr,W=Menu1[5],i;
for(i=0;i":"";
TxtClose=""+MenuTextCentered!='left'?"":""}}
FirstColPos=Nav4?FrstLoc.document:FrstLoc.document.body;
SecColPos=Nav4?ScLoc.document:ScLoc.document.body;
DocColPos=Nav4?DcLoc.document:ScLoc.document.body;
if (TakeOverBgColor)FirstColPos.bgColor=AcrssFrms?SecColPos.bgColor:DocColPos.bgColor;
if(MenuCentered=='justify'&&FirstLineHorizontal)ClcJus();
if(FrstCreat){
FrstCntnr=CreateMenuStructure('Menu',NoOffFirstLineMenus);
FrstCreat=AcrssFrms?0:1}
else CreateMenuStructureAgain('Menu',NoOffFirstLineMenus);
if(TargetLoc)ClcTrgt();
if(MenuCentered)ClcLft();
if(MenuVerticalCentered)ClcTp();
PosMenu(FrstCntnr,StartTop,StartLeft);
IniFlg=1;
Initiate();
Creatd=1;
ScLdAgainWin=ExpYes?ScLoc.document.body:ScLoc;
ScLdAgainWin.onunload=UnLoaded;
Trigger.onresize=Nav4?ReDoWhole:RePos;
AfterBuild();
if(MenuVerticalCentered=='static'&&!AcrssFrms)setInterval('KeepPos()',250);
status='Menu ready for use'}
function KeepPos(){
var TS=ExpYes?FrstLoc.document.body.scrollTop:FrstLoc.pageYOffset;
if(TS!=StaticPos){
var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
FCStyle.top=FrstCntnr.OrgTop=StartTop+TS;StaticPos=TS}}
function ClcJus(){
var a=BorderBtwnElmnts?1:2,b=BorderBtwnElmnts?BorderWidth:0;
var Size=Math.round(((FrstWinWdth-a*BorderWidth)/NoOffFirstLineMenus)-b),i,j;
for(i=1;iScWinWdth+LScrlld)SubLt=ScWinWdth+LScrlld-CCW}
else{ if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=this.Level==1?ScWinWdth+LScrlld-CCW:SubLt-(CCW+(1-2*ChildOverlap)*ThisWt);
if(SubLtTpScrlld+ScWinHght)SubTp=this.Level==1?SubTp=TpScrlld+ScWinHght-CCH:SubTp-CCH+(1-2*ChildVerticalOverlap)*ThisHt;
if(SubTp"}
this.value=MemVal;
if(RcrsLvl==1){
a=LowBgColor;
b=HighBgColor;
c=FontLowColor;
d=FontHighColor}
else{ a=LowSubBgColor;
b=HighSubBgColor;
c=FontSubLowColor;
d=FontSubHighColor}
this.LoBck=a;
this.LwFntClr=c;
this.HiBck=b;
this.HiFntClr=d;
this.style.color=this.LwFntClr;
if(this.LoBck)this.style.backgroundColor=this.LoBck;
this.style.textAlign=MenuTextCentered;
if(eval(WhatMenu+'[2]'))this.style.backgroundImage="url(\'"+eval(WhatMenu+'[2]')+"\')";
if(MemVal.indexOf('<')==-1){
this.style.width=Wdth-LftXtra;
this.style.height=Hght-TpXtra;
this.style.paddingLeft=LeftPaddng;
this.style.paddingTop=TopPaddng}
else{ this.style.width=Wdth;
this.style.height=Hght}
if(MemVal.indexOf('<')==-1&&DomYes){
t=Location.document.createTextNode(MemVal);
this.appendChild(t)}
else this.innerHTML=MemVal;
if(eval(WhatMenu+'[3]')&&ShowArrow){
a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
S=Arrws[a];
W=Arrws[a+1];
H=Arrws[a+2];
T=RcrsLvl==1&&FirstLineHorizontal?Hght-H-2:(Hght-H)/2;
L=RightToLeft?2:Wdth-W-2;
if(DomYes){
t=Location.document.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(ExpYes){this.onselectstart=CnclSlct;
this.onmousemove=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
this.onmouseout=CloseMenu;
this.onclick=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo }
else{ RcrsLvl==1&&UnfoldsOnClick?this.addEventListener('mousemove',OpenMenuClick,false):this.addEventListener('mousemove',OpenMenu,false);
this.addEventListener('mouseout',CloseMenu,false);
RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?this.addEventListener('click',OpenMenu,false):this.addEventListener('click',GoTo,false)}}
function NavMbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
var a,b,c,d;
if(RcrsLvl==1){
a=LowBgColor;
b=HighBgColor;
c=FontLowColor;
d=FontHighColor}
else { a=LowSubBgColor;
b=HighSubBgColor;
c=FontSubLowColor;
d=FontSubHighColor }
this.value=eval(WhatMenu+'[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=WhatMenu+'i';this.value="
"}
if(LeftPaddng&&this.value.indexOf('<')==-1&&MenuTextCentered=='left')this.value=' \;'+this.value;
if(FontBold)this.value=this.value.bold();
if(FontItalic)this.value=this.value.italics();
this.Ovalue=this.value;
this.value=this.value.fontcolor(c);
this.Ovalue=this.Ovalue.fontcolor(d);
this.value=CntrTxt+""+this.value+TxtClose;
this.Ovalue=CntrTxt+""+this.Ovalue+TxtClose;
this.LoBck=a;
this.HiBck=b;
this.ChildCntnr=null;
this.PrvMbr=PrMmbr;
this.Hilite=0;
this.visibility='inherit';
if(this.LoBck)this.bgColor=this.LoBck;
this.resizeTo(Wdth,Hght);
if(!AcrssFrms&&eval(WhatMenu+'[2]'))this.background.src=eval(WhatMenu+'[2]');
this.document.write(this.value);
this.document.close();
this.CmdLyr=new Layer(Wdth,MmbrCntnr);
this.CmdLyr.Level=RcrsLvl;
this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]');
this.CmdLyr.visibility='inherit';
this.CmdLyr.onmousemove=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
this.CmdLyr.onmouseout=CloseMenu;
this.CmdLyr.captureEvents(Event.MOUSEUP);
this.CmdLyr.onmouseup=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo;
this.CmdLyr.LowLyr=this;
this.CmdLyr.resizeTo(Wdth,Hght);
this.CmdLyr.Container=MmbrCntnr;
if(eval(WhatMenu+'[3]')&&ShowArrow){
a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
this.CmdLyr.ImgLyr=new Layer(Arrws[a+1],this.CmdLyr);
this.CmdLyr.ImgLyr.visibility='inherit';
this.CmdLyr.ImgLyr.top=RcrsLvl==1&&FirstLineHorizontal?Hght-Arrws[a+2]-2:(Hght-Arrws[a+2])/2;
this.CmdLyr.ImgLyr.left=RightToLeft?2:Wdth-Arrws[a+1]-2;
this.CmdLyr.ImgLyr.width=Arrws[a+1];
this.CmdLyr.ImgLyr.height=Arrws[a+2];
ImgStr="
";
this.CmdLyr.ImgLyr.document.write(ImgStr);
this.CmdLyr.ImgLyr.document.close()}}
function CreateMenuStructure(MName,NumberOf){
RcrsLvl++;
var i,NoOffSubs,Mbr,Wdth=0,Hght=0;
var PrvMmbr=null;
var WMnu=MName+'1';
var MenuWidth=eval(WMnu+'[5]');
var MenuHeight=eval(WMnu+'[4]');
var Location=RcrsLvl==1?FrstLoc:ScLoc;
if (RcrsLvl==1&&FirstLineHorizontal){
for(i=1;i<\/div>");
var MmbrCntnr=Location.document.all[WMnu]}}
MmbrCntnr.SetUp=CntnrSetUp;
MmbrCntnr.SetUp(Wdth,Hght,NumberOf);
if(Exp4){ MmbrCntnr.InnerString='';
for(i=1;i<\/div>"}
MmbrCntnr.innerHTML=MmbrCntnr.InnerString}
for(i=1;i0;i--){
WMnu=MName+eval(i);
NoOffSubs=eval(WMnu+'[3]');
PrvMmbr=Mbr;
if(NoOffSubs)Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs);
Mbr=Mbr.PrvMbr}
RcrsLvl--}