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=0;
_subOffsetLeft=0;


with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Trebuchet MS, Arial, Helvetica, sans-serif";
fontsize="14px ";
offcolor="#FFFFFF";
oncolor="#8d8989";
fontweight="bold"; 
padding=3
separatorsize=45;
separatorcolor="transparent";
}

with(submenuStyle=new mm_style()){
fontfamily="Trebuchet MS, Arial, Helvetica, sans-serif";
fontsize="13px";
fontweight="normal";
headercolor="#000000";
offcolor="#FFFFFF";
oncolor="#8d8989";
fontweight="bold";  
padding=4
separatorsize=4;
separatorcolor="transparent";
}

with(submenuStyle1=new mm_style()){
fontfamily="Trebuchet MS, Arial, Helvetica, sans-serif";
fontsize="13px";
fontweight="normal";
headercolor="#000000";
offcolor="#FFFFFF";
offbgcolor="transparent";
oncolor="#8d8989";
onbgcolor="transparent";
fontweight="bold";  
padding=0
separatorsize=1;
separatorcolor="transparent";
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=menuStyle;
aI("text=About IZUMI;url=index.html;");
aI("showmenu=Milonic;text=&nbsp;&nbsp;&nbsp&nbsp;&nbsp;;How We Work;url=howwework.html");
aI("text=Where We Work;url=wherewework.html");
aI("text=&nbsp;Funding FAQs;url=fundingfaq.html");
aI("showmenu=apps;text=Application Guidelines;");

}

with(milonic=new menuname("Milonic")){
orientation="horizontal";
style=submenuStyle;
top="offset=5";
left="offset=-140";
aI("text=Infectious Diseases;url=infectious.html;");
aI("text=Neglected Tropical Diseases;url=neglected.html;");
aI("text=Malnutrition;url=malnutrition.html;");
aI("text=Maternal and Neonatal Health;url=maternal.html;");
aI("text=Health Care Infrastructure;url=healthcare.html;");
}

with(milonic=new menuname("apps")){
orientation="vertical";
style=submenuStyle1;
top="offset=2";
left="offset=0";
aI("text=&nbsp;&nbsp;&nbsp;Letter of Inquiry;url=letterinq.html;");
aI("text=&nbsp;&nbsp;&nbsp;Proposal Guidelines&nbsp;&nbsp;&nbsp;;url=applicationguide.html;");
}

drawMenus();

