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;
buildAfterLoad=true;



with(menuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
itemheight=30;
offcolor="#000000";
oncolor="#000099";
padding=3;
}

with(submenuStyle=new mm_style()){
bordercolor="#fe9b03";
borderstyle="solid";
borderwidth=1;
align="left";
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontcolor="#ffffff";
fontstyle="normal";
fontweight="normal";
headercolor="#FFFFFF";
menubgcolor="#CCCCCC";
offcolor="#333333";
bgcolor="#FFFFFF";
oncolor="#000000";
onbgcolor="DDDDDD";
offbgcolor="#FFFFFF";
padding=3;
overbgimage="";
subimagepadding=0;
imagepadding=0;
imageheight=28;
}



with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
style=menuStyle;
orientation="horizontal";
position="relative";

aI("status=Site News;url=http://www.midnightcartel.com/community/portal.php;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_news_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_news_over.png;");
aI("showmenu=Welcome;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_welcome_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_welcome_over.png;url=http://www.midnightcartel.com/index.php?p=welcome;");
aI("showmenu=Community;status=Community;url=http://www.midnightcartel.com/community/;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_community_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_community_over.png;");
aI("showmenu=Raids;status=Raiding;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_raiding_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_raiding_over.png;");
aI("showmenu=Resources;status=Resources;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_resources_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_resources_over.png;");
//aI("status=Midnight Cartel Store;url=http://www.cafepress.com/midnightcartel;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_store_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_store_over.png;");
aI("status=Contact Us;url=http://www.midnightcartel.com/index.php?p=contact;image=http://www.midnightcartel.com/styles/v20/images/menu/menu_contact_up.png;overimage=http://www.midnightcartel.com/styles/v20/images/menu/menu_contact_over.png;");
}

with(milonic=new menuname("Welcome")){
style=submenuStyle;
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_welcome.png;text=Welcome;url=http://www.midnightcartel.com/index.php?p=welcome;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/policies.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_rules.png;text=Guild Rules;status=Guild Rules;url=http://www.midnightcartel.com/index.php?p=rules;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_charter.png;text=Guild Charter &amp; Ranks;status=Guild Charter &amp; Ranks;url=http://www.midnightcartel.com/index.php?p=structure;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_tech.png;text=Site &amp; Technology;status=Site &amp; Technology;url=http://www.midnightcartel.com/index.php?p=tech;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_bank.png;text=Banking;status=Banking;url=http://www.midnightcartel.com/index.php?p=banking;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_lottery.png;text=Guild Lottery;status=Guild Lottery;url=http://www.midnightcartel.com/index.php?p=lottery;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_raids.png;text=Raiding &amp; Signups;status=Raiding &amp; Signups;url=http://www.midnightcartel.com/index.php?p=raiding;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/apply.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/welcome_apply.png;status=Guild Application;text=Guild Application;url=http://www.midnightcartel.com/community/viewtopic.php?f=10&t=4323;");
}

with(milonic=new menuname("Community")){
style=submenuStyle;
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/forums.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/community_forums.png;text=Midnight Cartel Forums;url=http://www.midnightcartel.com/community/;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/roster.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/community_cartel.png;text=Midnight Cartel Roster;url=http://www.midnightcartel.com/resources/roster/?p=guild-memberslist&guild=1;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/pics.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/community_mugs.png;text=Midnight Mugs;url=http://www.midnightcartel.com/index.php?p=mugs");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/community_scrapbook.png;text=Scrapbook;url=http://www.midnightcartel.com/index.php?p=scrapbook");
}

with(milonic=new menuname("Raids")){
style=submenuStyle;
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/raiding.png;");
//aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/raiding_signup.png;status=Raid Signups;text=OLD Raid Signups OLD;url=http://www.midnightcartel.com/resources/signups/index.php;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/raiding_signup.png;status=Raid Signups;text=NEW Raid Signups NEW;url=http://www.midnightcartel.com/resources/raiding/index.php;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/kills.png;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/raiding_kills.png;text=Kill Shots;url=http://www.midnightcartel.com/index.php?p=bosskills");
}

with(milonic=new menuname("Resources")){
style=submenuStyle;
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/info.png;");
//aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/resources_guides.png;text=Guides;showmenu=Guides;status=Guides;");
//aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/resources_links.png;text=Links &amp; Mods;url=http://www.midnightcartel.com/index.php?p=links;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/resources_search.png;showmenu=Search;status=Search;text=Search Alla &amp; Thott;");
aI("type=header;image=http://www.midnightcartel.com/styles/v20/images/menu/headers/extras.png;");
//aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/resources_downloads.png;status=Downloads;text=Downloads;url=http://www.midnightcartel.com/index.php?p=downloads;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/resources_credits.png;status=Credits;text=Credits;url=http://www.midnightcartel.com/index.php?p=credits;");
}

with(milonic=new menuname("Guides")){
style=submenuStyle;
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_alchemy.png;text=Alchemy;url=http://www.lootables.com/?guide=Alchemy;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_blacksmith.png;text=Blacksmithing;url=http://www.lootables.com/?guide=Blacksmithing;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_enchanting.png;text=Enchanting;url=http://www.lootables.com/?guide=Enchanting;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_engineering.png;text=Engineering;url=http://www.lootables.com/?guide=Engineering;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_herbalism.png;text=Herbalism;url=http://www.lootables.com/?guide=Herbalism;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_jewelcrafting.png;text=Jewelcrafting;url=http://www.lootables.com/?guide=Jewelcrafting;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_leatherworking.png;text=Leatherworking;url=http://www.lootables.com/?guide=Leatherworking;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_mining.png;text=Mining;url=http://www.lootables.com/?guide=Mining;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_skinning.png;text=Skinning;url=http://www.lootables.com/?guide=Skinning;");
aI("image=http://www.midnightcartel.com/styles/v20/images/menu/icons/prof_tailoring.png;text=Tailoring;url=http://www.lootables.com/?guide=Tailoring;");

}

with(milonic=new menuname("Search")){
style=submenuStyle;
aI("text=<form action=http://wow.allakhazam.com//search.html target=_blank name=global_s><span class=normbod><font color=#FFCC00>Search Allakhazam:</font></span><br><label for=q><input type=text name=q id=q size=20/></label><input type=submit value=Search /></form>;type=form;");
aI("text=<form method=get action=http://www.thottbot.com/ target=_blank><span class=normbod><font color=#FFCC00>Search Thottbot:</font></span><br><label for=s><input type=text name=s size=20/></label><input type=submit value=Search /></form>;type=form;");
}

drawMenus();

