fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="110%";
fontstyle="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#062C9A"; //link text color - while off
onbgcolor="#062C9A";//background color while hover
oncolor="#ffffff"; // link text color - when page hovered
outfilter="randomdissolve(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=3
pagebgcolor="#E5ECFF";//blue for selected page
pagecolor="#000000";// text color when page selected
separatorcolor="#2D729D";
separatorsize=1;
subimage="menuimages/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;

screenposition="center";
orientation="horizontal";
style=menuStyle;
top=107;

aI("status=Back To Home Page;text=&nbsp;&nbsp;Home&nbsp;&nbsp;;url=index.php;");
aI("showmenu=Products;text=&nbsp;&nbsp;Products;");
aI("status=Contact Us;text=&nbsp;&nbsp;Contact&nbsp;&nbsp;;url=contact.php;");
aI("showmenu=Resources;text=&nbsp;&nbsp;Resources;");
aI("status=Careers Us;text=&nbsp;&nbsp;Careers&nbsp;&nbsp;;url=careers.php;");
aI("status=community;text=In the Community;url=community.php;");
}


with(milonic=new menuname("Products")){
style=menuStyle;
aI("status=Product Overview;text=&nbsp;&nbsp;Product Overview&nbsp;&nbsp;;url=products.php;");
aI("showmenu=Business;text=&nbsp;&nbsp;Business Insurance;");
aI("showmenu=Personal;text=&nbsp;&nbsp;Personal Insurance;");
}


with(milonic=new menuname("Business")){
style=menuStyle;
aI("showmenu=Condo; status=Condominium Program;url=condo.php;text=&nbsp;&nbsp;Condominium Program;");
aI("showmenu=GIAC;status=GIAC Insurance Program;url=giac.php;text=&nbsp;&nbsp;GIAC Insurance Program&nbsp;;");
aI("showmenu=iPLAYHOCKEY;status=iPLAYHOCKEY Insurance Program;url=iplayhockey.php;text=&nbsp;&nbsp;iPLAYHOCKEY Program;");
aI("showmenu=Pavers;status=Pavers Program;url=pavers.php;text=&nbsp;&nbsp;Pavers Program&nbsp;;");
aI("showmenu=Garage; status=Garage Program;url=garage.php;text=&nbsp;&nbsp;Garage Program&nbsp;;");
aI("showmenu=SCOUTS; status=Scouts Canada Program;url=scouts.php;text=&nbsp;&nbsp;Scouts Canada Program&nbsp;;");
}

with(milonic=new menuname("Personal")){
style=menuStyle;
aI("showmenu=Condo_personal; status=Condo Advantage;url=condo_personal.php;text=&nbsp;&nbsp;Condo Advantage for Unit Owners;");
}

with(milonic=new menuname("Resources")){
style=menuStyle;
aI("status=Customer Testimonials;url=testimonials.php;text=&nbsp;&nbsp;Customer Testimonials&nbsp;;");
aI("status=Auto Liability FAQ;url=autofaq.php;text=&nbsp;&nbsp;Auto Liability FAQ&nbsp;;");
aI("status=Glossary of Terms;url=glossary.php;text=&nbsp;&nbsp;Glossary of Terms&nbsp;;");
aI("status=News Headlines;url=newsfeed.php;text=&nbsp;&nbsp;News Headlines&nbsp;;");
aI("status=Privacy Statement;url=privacy.php;text=&nbsp;&nbsp;Privacy Statement;;");
}

with(milonic=new menuname("GIAC")){
style=menuStyle;
aI("image=menuimages/giac.gif;url=giac.php;");
}

with(milonic=new menuname("iPLAYHOCKEY")){
style=menuStyle;
aI("image=menuimages/nasha.jpg;url=iplayhockey.php;");
}

with(milonic=new menuname("Pavers")){
style=menuStyle;
aI("image=menuimages/paver.jpg;url=pavers.php;");
}

with(milonic=new menuname("Garage")){
style=menuStyle;
aI("image=menuimages/garage.jpg;url=garage.php;");
}


with(milonic=new menuname("SCOUTS")){
style=menuStyle;
aI("image=menuimages/logo_scouts.gif;url=scouts.php;");
}


with(milonic=new menuname("Condo")){
style=menuStyle;
aI("image=menuimages/condo.jpg;url=condo.php;");
}

with(milonic=new menuname("Condo_personal")){
style=menuStyle;
aI("image=images/condoadv.jpg;url=condo_personal.php;");
}
drawMenus();


