﻿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()) {
    styleid = 1;
    align = "left";
    fontfamily = "Verdana, Tahoma, Arial";
    fontsize = "8pt";
    fontweight = "bold";
    headerbgcolor = "#ffffff";
    headercolor = "#000000";
    offcolor = "#707070";
    oncolor = "#000000";
    opendelay = 500;
    padding = 4;
    pagecolor = "black";
}

with (subMenuStyle = new mm_style()) {
    styleid = 1;
    align = "left";
    fontfamily = "Verdana, Tahoma, Arial";
    fontsize = "8pt";
    fontweight = "bold";
    headerbgcolor = "#ffffff";
    headercolor = "#000000";
    itemheight = "23";
    offbgcolor = "#E8E9F9";
    onbgcolor = "#E8E9F9";
    offcolor = "#707070";
    oncolor = "#000000";
    padding = 2;
    pagecolor = "black";
    separatorsize = "1";
    borderwidth = "1";
}

with (subSubMenuStyle = new mm_style()) {
    styleid = 1;
    align = "left";
    fontfamily = "Verdana, Tahoma, Arial";
    fontsize = "8pt";
    fontweight = "bold";
    headerbgcolor = "#ffffff";
    headercolor = "#000000";
    itemheight = "23";
    offbgcolor = "#E8E9F9";
    onbgcolor = "#E8E9F9";
    offcolor = "#707070";
    oncolor = "#000000";
    pagecolor = "black";
    padding = 5;
}

with (milonic = new menuname("Main Menu")) {
    alwaysvisible = 1;
    orientation = "vertcal";
    style = menuStyle;
    aI("text=User Groups;url=" + gm_RootPrefix + "/Events/Default.aspx?Type=UG");
    aI("text=Trade Shows;url=" + gm_RootPrefix + "/Events/Default.aspx?Type=TS");
    aI("text=Steering Committees;url=" + gm_RootPrefix + "/Events/SteeringCommittees.aspx");
    aI("text=Special Interest Group;url=" + gm_RootPrefix + "/Events/SIG.aspx;");
    aI("text=View User Group Agendas<br />(User Name and Password<br />required);url=" + gm_SupportHostUrl + "/UserGroupAgendas.aspx;");
}

drawMenus();