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 (menuMain = new mm_style()) {
    offclass = "mainNavOff";
    onclass = "mainNavOn";
}

with (menuStyle = new mm_style()) {
    bordercolor = "#999999";
    borderstyle = "solid";
    borderwidth = 1;
    fontfamily = "Verdana, Tahoma, Arial";
    fontsize = "85%";
    fontstyle = "normal";
    headerbgcolor = "#ffffff";
    headercolor = "#000000";
    offbgcolor = "#fdfdfd";
    offcolor = "#000000";
    onbgcolor = "#ececec";
    oncolor = "#333333";
    padding = 5;
    pagebgcolor = "#5C7395";
    pagecolor = "white";
    separatorcolor = "#999999";
    separatorsize = 1;
    subimage = "/includes/menu/arrow.gif";
    subimagepadding = 2;
}

with (milonic = new menuname("Main Menu")) {
    alwaysvisible = 1;
    orientation = "horizontal";
    style = menuMain;
    top = "94";
    position = "relative";
    aI("showmenu=Why;text=What We Do;url=../why/whatwedo.aspx;");
    aI("showmenu=Applications;text=Applications;url=../applications/applications.aspx;");
    aI("showmenu=Products;text=Products &amp; Specs;url=../products/products.aspx;");
    aI("showmenu=Projects;text=Projects;url=../projects/projects.aspx;");
    aI("showmenu=Resources;text=Resources;url=../resources/resources.aspx;");
    aI("showmenu=Sustainability;text=Sustainability;url=../sustainability.aspx;");
}

with (milonic = new menuname("Why")) {
    overflow = "scroll";
    style = menuStyle;
    aI("text=Meeting Market Demands;url=/why/meeting_demands.aspx;");
    aI("text=Comparing Green Solutions;url=/why/comparing_green_solutions.aspx;");
    aI("text=High Performance Benefits;url=/why/high_performance_benefits.aspx;");
    aI("text=Sustainable Benefits;url=/why/sustainable_benefits.aspx;");
    aI("text=Cost Competitive;url=/why/cost_competitive.aspx;");
    aI("text=Underfloor Air;url=/why/underfloor_air.aspx;");
    aI("text=Raised Floor Data Centers;url=/why/raised_floor_data_centers.aspx;");
    aI("text=Efficient Data Centers;url=/why/energy_data_centers.aspx;");
}

with (milonic = new menuname("Applications")) {
    overflow = "scroll";
    style = menuStyle;
    aI("text=Casino;url=/applications/casino.aspx;");
    aI("text=Data Center;url=/applications/datacenter.aspx;");
    aI("text=Education;url=/applications/education.aspx;");
    aI("text=Library;url=/applications/library.aspx;");
    aI("text=Office;url=/applications/office.aspx;");
}

with (milonic = new menuname("Products")) {
    style = menuStyle;
    aI("text=Access Floor Systems;url=/products/access_floors.aspx;");
    aI("text=Data Center Products;url=/products/data_centers.aspx;");
    aI("text=Underfloor Air;url=/products/underfloor_air.aspx;");
    aI("text=Underfloor Wire & Cable;url=/products/underfloor_wirecable.aspx;");
}

with (milonic = new menuname("Projects")) {
    style = menuStyle;
    aI("text=Casino Buildings;url=/projects/casino.aspx;");
    aI("text=Courthouse Buildings;url=/projects/courthouses.aspx;");
    aI("text=Data Center Buildings;url=/projects/datacenter.aspx;");
    aI("text=Developer Buildings;url=/projects/developer.aspx;");
    aI("text=Government Office Buildings;url=/projects/govtoffices.aspx;");
    aI("text=Green Buildings;url=/projects/green.aspx;");
    aI("text=Higher Education Buildings;url=/projects/higher_ed.aspx;")
    aI("text=K-12 Buildings;url=/projects/k12.aspx;");
    aI("text=Library Buildings;url=/projects/libraries.aspx;");
    aI("text=Owner Office Buildings;url=/projects/owner.aspx;");
    aI("text=Renovation Buildings;url=/projects/renovation.aspx;");
    aI("text=Video Case Studies;url=/projects/video_case_studies.aspx;");
}

with (milonic = new menuname("Resources")) {
    style = menuStyle;
    aI("text=What Experts Are Saying;url=/resources/What_Experts_Are_Saying.aspx;");
    aI("text=UFAD Design Support;url=/resources/UFAD_design_support.aspx;");
    aI("text=Manuals;url=/resources/manuals.aspx");
    aI("text=Cost Model;url=/resources/cost_model.aspx");
    aI("text=White Papers;url=/resources/white_papers.aspx");
    aI("text=Online Education;url=/resources/online_education.aspx");
    aI("text=FAQs;url=/resources/faqs.aspx");
    aI("text=Industry Links;url=/resources/industry_links.aspx;");
}

with (milonic = new menuname("Sustainability")) {
    style = menuStyle;
    aI("text=Mission & Commitment;url=/mission_commitment.aspx;");
    aI("text=Tate &amp; LEED;url=/tate_leed.aspx;");
    aI("text=Access Floors & LEED;url=/access_leed.aspx;");
    aI("text=LEED Support Documents;url=/leed_support_doc.aspx;");
    aI("text=Products End-of-Life;url=/recyclable_products.aspx;");
}

drawMenus();

