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=8;

/*
if (ie5) { // This code is for IE5 only.  Basically it adjust the font size smaller compared to other browsers

    with(mainmenuStyle=new mm_style()){
    align="right";
    fontweight="bold";
    fontfamily="Verdana, Arial, Helvetica, sans-serif;";
    fontsize="80%";
    fontstyle="normal";
    imagepadding=3;
    onsubimage="/images/layout/lnav_arrow_white.gif";
    padding=6;
    subimage="/images/layout/lnav_arrow_white.gif";
    subimagepadding=6;
    oncolor="#FFFFFF";
    offcolor="#FFFFFF";
    pagecolor="#cccccc";
    pageoncolor="#cccccc";
    //pagebgcolor="#999999";
    pagesubimage="/images/layout/lnav_arrow_gray.gif";
                    
    }
    
    with(menuStyle=new mm_style()){
    styleid=1;
    align="left";
    bordercolor="#296488";
    borderstyle="solid";
    borderwidth="1";
    separatorcolor="#296488";
    separatorsize="1";
    fontfamily="Verdana, Tahoma, Arial";
    fontsize="65%";
    fontstyle="normal";
    headerbgcolor="#ffffff";
    headercolor="#000000";
    offbgcolor="#FFFFFF";
    onbgcolor="#EEEEEE";
    pagebgcolor="#EEEEEE";
    offcolor="#6B799E";
    oncolor="#A20C15";
    pagecolor="#A20C15";
    onsubimage="/images/layout/lnav_arrow_down_white.gif";
    padding=5;
    subimage="/images/layout/lnav_arrow_white.gif";
    subimagepadding=4;
    }

} else {  // otherwise use this section for all other browsers
*/
    with(mainmenuStyle=new mm_style()){
    align="right";
    fontweight="bold";
    fontfamily="Verdana, Arial, Helvetica, sans-serif;";
    fontsize="12px";
    fontstyle="normal";
    imagepadding=3;
    onsubimage="/images/layout/lnav_arrow_blue.gif";
    padding=6;
    subimage="/images/layout/lnav_arrow_white.gif";
    subimagepadding=6;
    oncolor="#CBD1E1";
    offcolor="#FFFFFF";
    pagecolor="#CBD1E1";
    pageoncolor="#CBD1E1";
    //pagebgcolor="#999999";
    pagesubimage="/images/layout/lnav_arrow_gray.gif";
    }
    
    
    with(menuStyle=new mm_style()){
    styleid=1;
    align="left";
    bordercolor="#296488";
    borderstyle="solid";
    borderwidth="1";
    separatorcolor="#296488";
    separatorsize="1";
    fontfamily="Verdana, Tahoma, Arial";
    fontsize="11px";
    fontstyle="normal";
    headerbgcolor="#ffffff";
    headercolor="#000000";
    offbgcolor="#FFFFFF";
    onbgcolor="#EEEEEE";
    pagebgcolor="#EEEEEE";
    offcolor="#6B799E";
    oncolor="#A20C15";
    pagecolor="#A20C15";
    onsubimage="/images/layout/lnav_arrow_down_white.gif";
    padding=5;
    subimage="/images/layout/lnav_arrow_white.gif";
    subimagepadding=4;
    }




with(milonic=new menuname("Products")){
openstyle="ltr";
style=menuStyle;
aI("text=Products;url=/products/index.aspx;");
aI("text=Airworthiness Directives Library;url=/products/airworthiness.aspx;");
aI("text=TechPubs Maintenance Libraries;url=/products/techpubs.aspx;");
aI("text=Advisory Circular CD;url=/products/advisory_circular.aspx;");
aI("text=Aircraft and Airmen CD;url=/products/aircraft_airmen.aspx;");
aI("text=Request Demo CD;url=/demos_training/request_demo_cd.aspx;");
aI("text=Buy Online;url=/products/buy_online.aspx;");
}

with(milonic=new menuname("Solutions")){
openstyle="ltr";
style=menuStyle;


}

with(milonic=new menuname("DemosTraining")){
openstyle="ltr";
style=menuStyle;
}

var TechPortal = escape("cid=5006&amp;c=4840&cpc=f72yl3xXS0u1YOSbMwiAT&cid=12204&cat=&catURL=&r=0.4441645");
with(milonic=new menuname("Support")){
openstyle="ltr";
style=menuStyle;
aI("text=Support;url=/support/index.aspx;");
aI("text=Request Help;url=/support/request_help.aspx;");
aI("text=Product Support Knowledge Base;url=http://portal.knowledgebase.net/display/2/index.asp?c=4840&cpc=f72yl3xXS0u1YOSbMwiAT&cid=12204&cat=&catURL=&r=0.4441645");
aI("text=Shipping Policy;url=/ShippingPolicy.aspx;");
}

with(milonic=new menuname("DailyAds")){
openstyle="ltr";
style=menuStyle;
aI("text=Daily ADs;url=/daily_ads/index.aspx;");
aI("text=E-mail Sign-up;url=/daily_ads/ad_email.aspx;");
aI("text=E-mail Unsubscribe;url=/daily_ads/unsubscribe.aspx;");
}

with(milonic=new menuname("NewsEvents")){
openstyle="ltr";
style=menuStyle;
aI("text=News & Events;url=/news_events/index.aspx;");
aI("text=Press Releases;url=/news_events/press_releases.aspx;");
}

/* Added by Avantext for customer section */
with(milonic=new menuname("LogOut")){
openstyle="ltr";
style=menuStyle;
//aI("text=Maintenance Professionals;url=#;");
//aI("text=OEMs;url=#;");
//aI("text=Government;url=#;");
//aI("text=Educators and Students;url=#;");
//aI("text=Aircraft & Airman;url=#;");

}

with(milonic=new menuname("Technical_Support")){
openstyle="ltr";
style=menuStyle;
}

with(milonic=new menuname("Account_Info")){
openstyle="ltr";
style=menuStyle;
aI("text=Change Password/Security Question;url=/customers/change_user.aspx;");
aI("text=Change Name/Address;url=/customers/change_customer.aspx");
}

with(milonic=new menuname("Renewals")){
openstyle="ltr";
style=menuStyle;
}

with(milonic=new menuname("Payments")){
openstyle="ltr";
style=menuStyle;
}

/* Next 3 menu items added by Avantext for Admin Folder menu */
with(milonic=new menuname("User_Maint")){
openstyle="ltr";
style=menuStyle;
aI("text=Add User;url=/Admin/add_user.aspx;");
aI("text=Edit Users;url=/Admin/user_pass.aspx");
}

with(milonic=new menuname("Event_Maint")){
openstyle="ltr";
style=menuStyle;
aI("text=Add Event;url=/Admin/add_event.aspx;");
aI("text=Edit Events;url=/Admin/edit_event.aspx");
}

with(milonic=new menuname("Career_Maint")){
openstyle="ltr";
style=menuStyle;
aI("text=Add Career Opportunity;url=/Admin/add_career.aspx;");
aI("text=Edit Career Opportunity;url=/Admin/edit_career.aspx");
}

with(milonic=new menuname("Languages")){
openstyle="ltr";
style=menuStyle;
aI("text=Spanish;url=/languages/lang_Spn.aspx;");
aI("text=French;url=/languages/lang_Frn.aspx;");
aI("text=German;url=/languages/lang_Ger.aspx;");
aI("text=Italian;url=/languages/lang_It.aspx;");
aI("text=Portuguese;url=/languages/lang_Por.aspx;");

}

drawMenus();

