fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=300;    // values in ms
_menuOpenDelay=2000;    // but the open delay doesn't seem to work
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
bordercolor="darkgoldenrod";
borderstyle="solid";
borderwidth=1;
//fontfamily="Verdana, Tahoma, Arial";
fontfamily="Arial, Verdana";
fontsize="95%";
fontstyle="normal";
headerbgcolor="#ff0000";// not sure what this is for 
headercolor="#ff0000";  // color not sure what this is for
offbgcolor="saddlebrown";   // bg color when no mouseOver
offcolor="navajowhite";     // text color when no mouseOver
onbgcolor="#ffffaa";    // bgcolor when mouseOver
oncolor="saddlebrown";      // text color when mouseOver
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
pagebgcolor="white";  // bg color if the page you are on is in menu
pagecolor="saddlebrown";      // text color if the page you are on is in menu 
separatorcolor="darkgoldenrod";
separatorsize=1;
subimage=relpath+"menu/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=9;
top=83;
orientation="horizontal";
style=menuStyle;
aI("text=ICS Projects Home;url="+relpath+";");
aI("text=ICS Home Page;url=http://www.crustal.ucsb.edu;");
aI("text=ICS Research Page;url=http://www.crustal.ucsb.edu/research;");
//aI("showmenu=People;text=People;url="+relpath+"people");
//aI("showmenu=Services;text=Services;url="+relpath+"services");
//aI("text=Outreach;url="+relpath+"outreach");
//aI("text=Affiliates;url="+relpath+"affiliates");
}

with(milonic=new menuname("About")){
overflow="scroll";
style=menuStyle;
aI("text=Annual Reports;url="+relpath+"about/annual_reports;")
aI("text=Contact;url="+relpath+"about/contact;")
aI("text=Facilities;url="+relpath+"about/facilities;")
aI("text=Site Map;url="+relpath+"about/sitemap.php;")
}

with(milonic=new menuname("Research")){
style=menuStyle;
aI("text=Research Page;url="+relpath+"research;");
}

with(milonic=new menuname("People")){
style=menuStyle;
aI("text=Research Staff;url="+relpath+"people/?cat=RS;");
aI("text=Administrative Staff;url="+relpath+"people/?cat=STAFF;");
aI("text=Associates/Collaborators;url="+relpath+"people/?cat=COLL;");
aI("text=Graduate Student Researchers;url="+relpath+"people/?cat=GRAD;");
aI("text=Undergraduate Assistants;url="+relpath+"people/?cat=UGRAD;");
}

with(milonic=new menuname("Services")){
style=menuStyle;
aI("text=Services Page;url="+relpath+"services;");
aI("text=GMT Map Catalog;url=http://projects.crustal.ucsb.edu/mapcat;");
aI("text=Cosmos Virtual Data Center - Home Page;url=http://www.cosmos-eq.org;");
aI("text=Cosmos Virtual Data Center - Database;url=http://db.cosmos-eq.org;");
aI("text=Portable Broadband Instrument Center;url=http://projects.crustal.ucsb.edu/scec/pbic;");
aI("text=Administrative Services;url="+relpath+"services/administrative;");
aI("text=Computer Support Services;url=http://support.crustal.ucsb.edu;");
}

with(milonic=new menuname("Outreach")){
style=menuStyle;
aI("text=Outreach Page;url="+relpath+"outreach;");
}

with(milonic=new menuname("Affiliates")){
style=menuStyle;
aI("text=Affiliates Page;url="+relpath+"affiliates;");
aI("text=UCSB;url=http://www.ucsb.edu;");
aI("text=UCSB Office of Research;url=http://www.research.ucsb.edu;");
aI("text=Southern California Earthquake Center;url=http://www.scec.org;");
aI("text=United States Geologic Survey;url=http://www.usgs.gov;");
aI("text=National Science Foundation;url=http://www.nsf.gov");
}

drawMenus();

