fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=150;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;

with(menuStyle=new mm_style()){
align="center";
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11";
fontweight="bold";
fontstyle="normal";
itemheight=42;
menuheight=42;
/*headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#636464";
onbgcolor="#d9dda9";
oncolor="#c1002b";*/
/*outfilter="randomdissolve(duration=0.0)";*/
/*overfilter="Fade(duration=0.0);Alpha(opacity=100)";*/
separatorsize=16;
padding=0;
}

with(menuSub=new mm_style()){
align="left";
bordercolor="#0e6384";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="13";
fontweight="bold";
itemheight=30;
menuheight=30;
headerbgcolor="#FFFFFF";
headercolor="#000000";
offbgcolor="#33b6e0";
offcolor="#ffffff";
onbgcolor="#33b6e0";
oncolor="#ffd200";
outfilter="Fade(overlap=1.00, duration=0.3)";
overfilter="Fade(overlap=1.00, duration=0.3)";
padding=8;
pagebgcolor="#0e6384";
pagecolor="#ffffff";
separatorcolor="#0e6384";
separatorsize=1;
zindex=90;
}

with(menuSub2=new mm_style()){
align="left";
fontsize="13";
fontweight="bold";
itemheight=29;
menuheight=29;
separatorsize=0;
bordercolor="#940f0d";
borderstyle="solid";
borderwidth=0;
padding=0;
zindex=90;
}

with(milonic=new menuname("Top Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
itemheight="42";
position="absolute";
aI("showmenu=whatwedo;image=images/nav/n_what_we_do_o.png;overimage=images/nav/n_what_we_do_x.png;imageposition=top;status=What We Do;url=What_We_Do;");
aI("image=images/nav/n_store_o.png;overimage=images/nav/n_store_x.png;imageposition=top;status=MTAWA's Online Store;url=Online_Store;");
aI("image=images/nav/n_mates_o.png;overimage=images/nav/n_mates_x.png;imageposition=top;status=MTA Mates Rates;url=Mates_Rates;");
aI("image=images/nav/n_services_o.png;overimage=images/nav/n_services_x.png;imageposition=top;status=MTAWA's Services;url=Services;");
aI("image=images/nav/n_media_o.png;overimage=images/nav/n_media_x.png;imageposition=top;status=MTAWA in the Media;url=MTA_In_The_Media;");
aI("image=images/nav/n_contact_o.png;overimage=images/nav/n_contact_x.png;imageposition=top;status=How to contact MTAWA;url=Contact_Us;");



}
with(milonic=new menuname("whatwedo")){

						style=menuSub;
aI("text=MTA Board of Management;url=MTA_Board_of_Management;");

} 
with(milonic=new menuname("members")){

						style=menuSub;
aI("text=Members Home Page Content;url=Members_Home_Page_Content;");
aI("text=Who's Who at the MTA WA;url=Who's_Who_at_the_MTA_WA;");
aI("text=How Do I;url=How_Do_I;");
aI("text=E-Publications;url=E-Publications;");
aI("text=Members Alerts;url=Members_Alerts;");
aI("text=Divisional News;url=Divisional_News;");
aI("text=Industrial Relations;url=Industrial_Relations;");
aI("text=Wage Awards;url=Wage_Awards;");
aI("text=Fair Work Act & National Employment Standards;url=Fair_Work_Act_&_National_Employment_Standards;");
aI("text=Minimum Rates;url=Minimum_Rates;");
aI("text=Industrial Relations Alerts;url=Industrial_Relations_Alerts;");
aI("text=Occupational Health & Safety;url=Occupational_Health_&_Safety;");
aI("text=Approved Members;url=Approved_Members;");
aI("text=Change Your Password;url=Change_Your_Password;");

} 
with(milonic=new menuname("matesrates")){

						style=menuSub;
aI("text=Commonwealth;url=Commonwealth;");
aI("text=SGIO;url=SGIO;");
aI("text=Capricorn;url=Capricorn;");
aI("text=Carservice;url=Carservice;");
aI("text=Careerone;url=Careerone;");
aI("text=Primus;url=Primus;");
aI("text=Autosoft;url=Autosoft;");
aI("text=Femia;url=Femia;");
aI("text=MTAA;url=MTAA;");
aI("text=Mailforce;url=Mailforce;");
aI("text=ME Bank;url=ME_Bank;");
aI("text=Crush;url=Crush;");
aI("text=IRDI;url=IRDI;");
aI("text=Bloo;url=Bloo;");
aI("text=Telf;url=Telf;");

} 
with(milonic=new menuname("services")){

						style=menuSub;
aI("text=Financial Services;url=Financial_Services;");
aI("text=Industrial Relations Advice;url=Industrial_Relations_Advice;");
aI("text=Legal Advice & Settlement Services;url=Legal_Advice_&_Settlement_Services;");
aI("text=Occupational Safety & Health Welfare Advice;url=Occupational_Safety_&_Health_Welfare_Advice;");
aI("text=Industry Information;url=Industry_Information;");
aI("text=Motor Magazine;url=Motor_Magazine;");

} 
with(milonic=new menuname("mtainthemedia")){

						style=menuSub;
aI("text=MTA Advertising campaigns;url=MTA_Advertising_campaigns;");
aI("text=MTA in the News;url=MTA_in_the_News;");

} 
with(milonic=new menuname("greenstamp")){

						style=menuSub;
aI("text=Cleaner Times E-Newsletter;url=Cleaner_Times_E-Newsletter;");
aI("text=Find Out More;url=Find_Out_More;");
aI("text=Green Stamp Accreditation;url=Green_Stamp_Accreditation;");
aI("text=Green Stamp Accredited Businesses;url=Green_Stamp_Accredited_Businesses;");
aI("text=Green Stamp in the Media;url=Green_Stamp_in_the_Media;");
aI("text=Environmental Guidelines & Case Studies;url=Environmental_Guidelines_&_Case_Studies;");
aI("text=Environmental Product & Service Directory;url=Environmental_Product_&_Service_Directory;");
aI("text=Environmental Assessments;url=Environmental_Assessments;");
aI("text=Downloads;url=Downloads;");

} 
with(milonic=new menuname("onlinestore")){

						style=menuSub;
aI("text=Online Store Disclaimer;url=Online_Store_Disclaimer;");
aI("text=Order Admin Email;url=Order_Admin_Email;");
aI("text=Order Confirmation Email;url=Order_Confirmation_Email;");
aI("text=Thankyou For Your Order;url=Thankyou_For_Your_Order;");

} 
drawMenus();
