// main system menu

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(XPMainStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial,Tahoma,Helvetica,Verdana";
fontsize="80%";
fontstyle="normal";
fontweight="normal";
offbgcolor="";
//offbgcolor="#809fe3";    //bg on main menu row   E4EFFBFFFFFF
offcolor="#000000";      //text on main menu row  E4EFFB
//offcolor="#FFFFFF";
//onbgcolor="#C1D2EE";
//onborder="1px solid #000080";
oncolor="#FFFFFF";
//overbgimage="images/blue_office2003.gif";
//padding=3;
padding=3;
separatorwidth=0;
separatorpadding=10;
itemwidth=100;
menuwidth="800";
}

with(XPMenuStyle=new mm_style()){
styleid=1;
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial,Tahoma,Helvetica,Verdana";
fontsize="80%";
fontstyle="normal";
fontweight="normal";
image="images/common/xpblank.gif";
//imagepadding=3; spaces between the menu items vertically - submenus
imagepadding=3;
menubgimage="images/common/backoff2003_web.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#ADC7F2";   //#ffeec2";

onborder="1px solid #000080";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#B8D1F8', Direction=135, Strength=5)";
padding=4;
//padding=10;  affects space between verticxal submenu items
separatoralign="right";
separatorcolor="#6A8CCB";
//separatorcolor="#FF0000";   ????
separatorpadding=1;
separatorwidth="80%";
//separatorpadding=10;     ???
//separatorwidth="180%";   ???
subimage="images/common/arrow.gif";
subimagepadding=3;
//subimagepadding=13;  space from longest menu item to arrow denoting submenu
menubgcolor="#EBF0EC";
menuwidth="800";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
margin=2;
orientation="horizontal";
style=XPMainStyle;
top=105;  //menu start down from top
aI("text=Home;url=index.php?sys=web;");
aI("showmenu=Company;text=Company;");
aI("showmenu=Services;text=Services;");
aI("text=Contact Us;url=contact.php?sys=web;");
aI("text=Links;url=links.php?sys=web;");
aI("text=Careers;url=careers.php?sys=web;");
aI("text=Administration;url=https://www.securewebexchange.com/mainview.ca/mainview/index.php;target='blank';");
}

with(milonic=new menuname("Company")){
margin=2;
style=XPMenuStyle;
aI("text=Mission Statement;url=mission.php?sys=web;")
aI("text=History;url=history.php?sys=web;")
aI("text=Affiliations;url=affil.php?sys=web;")
aI("text=Privacy Policy;url=pripol.php?sys=web;");
}

with(milonic=new menuname("Services")){
margin=2;
style=XPMenuStyle;
aI("text=Insurance;url=insurance.php?sys=web;")
aI("text=Legal;url=legal.php?sys=web;")
aI("text=Corporate;url=corporate.php?sys=web;")
aI("text=Personal/Domestic;url=personal.php?sys=web;")
}




drawMenus();

