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;



with(menuStyle=new mm_style()){
fontfamily="Arial, Helvetica, sans-serif";  
fontsize="10px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#292319";
offcolor="#68CDFF";
onbgcolor="#292319";
oncolor="#ffffff";
padding=4;
pagebgcolor="#292319";
pagecolor="#ffffff";
separatorcolor="";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(subMenuStyle=new mm_style()){
bordercolor="";
borderstyle="";
borderwidth="";
keepalive=1;
fontfamily="Arial, Helvetica, sans-serif";  
fontsize="10px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#292319";
offcolor="#9BB2BB;";
onbgcolor="#292319";
oncolor="#7b8d94;";
padding=4;
pagebgcolor="#292319";
pagecolor="#7b8d94";
separatorcolor="";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
left=35;
top=140;
aI("itemwidth=80;text=HOME;leftimage=/images/menu_b1_01.png;pageleftimage=/images/menu_b1_02.png;overleftimage=/images/menu_b1_02.png;url=/index.htm?current=one&amp;sub=none");
aI("itemwidth=170;showmenu=Business;text=BUSINESS DIRECTORY;leftimage=/images/menu_b2_01.png;pageleftimage=/images/menu_b2_02.png;overleftimage=/images/menu_b2_02.png;onsubimage='subon_arrow.gif';url=/directory.htm?current=two&amp;sub=none;");
aI("itemwidth=128;showmenu=Davis;text=DAVIS SQUARE;leftimage=/images/menu_b3_01.png;pageleftimage=/images/menu_b3_02.png;overleftimage=/images/menu_b3_02.png;url=/davis_square.htm?current=three&amp;sub=none");
aI("itemwidth=80;showmenu=Darbi;text=DARBI;leftimage=/images/menu_b4_01.png;pageleftimage=/images/menu_b4_02.png;overleftimage=/images/menu_b4_02.png;url=/about.htm?current=four&amp;sub=none;");
aI("itemwidth=128;showmenu=News_events;text=NEWS/EVENTS;leftimage=/images/menu_b5_01.png;pageleftimage=/images/menu_b5_02.png;overleftimage=/images/menu_b5_02.png;url=/events.htm?current=three&amp;sub=none;");
aI("itemwidth=112;showmenu=Resources;text=RESOURCES;leftimage=/images/menu_b6_01.png;pageleftimage=/images/menu_b6_02.png;overleftimage=/images/menu_b6_02.png;url=/resources.htm?current=three&amp;sub=none;");
aI("itemwidth=150;showmenu=Getting_around;text=GETTING AROUND;leftimage=/images/menu_b7_01.png;pageleftimage=/images/menu_b7_02.png;overleftimage=/images/menu_b7_02.png;url=/getting_around.htm?current=three&amp;sub=none;");
aI("itemwidth=80;showmenu=Contact;text=CONTACT;leftimage=/images/menu_b8_01.png;pageleftimage=/images/menu_b8_02.png;overleftimage=/images/menu_b8_02.png;url=/contact.htm?current=three&amp;sub=none;");
}

with(milonic=new menuname("Business")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
}

with(milonic=new menuname("Davis")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
aI("itemwidth=100;text=Davis Square Today;url=/davis_square.htm?current=three&amp;sub=a;");
aI("itemwidth=40;text=History;url=/davis_square_history.htm?current=three&amp;sub=b;");
aI("itemwidth=150;text=Featured Residents/Businesses;url=/davis_square_featured.htm?current=three&amp;sub=c;");
}

with(milonic=new menuname("Darbi")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
aI("itemwidth=55;text=About Us;url=/about.htm?current=four&amp;sub=a;");
aI("itemwidth=60;text=Join DARBI;url=/about_join.htm?current=four&amp;sub=b;");
aI("itemwidth=70;text=Green Team;url=/about_green.htm?current=four&amp;sub=b;");
aI("itemwidth=110;text=Beautification Team;url=/about_beautification.htm?current=four&amp;sub=c;");
aI("itemwidth=100;text=Membership Team;url=/about_membership.htm?current=four&amp;sub=d;");
aI("itemwidth=120;text=Marketing Team;url=/about_marketing.htm?current=four&amp;sub=e;");
}

with(milonic=new menuname("News_events")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
aI("itemwidth=55;text=Calendar;url=/events.htm?current=three&amp;sub=a;");
aI("itemwidth=60;text=RSS Feeds;url=/events_rss.htm?current=three&amp;sub=b;");
aI("itemwidth=30;text=Blog;url=/events_blog.htm?current=three&amp;sub=c;");
aI("itemwidth=55;text=Newsletters;url=/events_newsletters.htm?current=three&amp;sub=d;");
}

with(milonic=new menuname("Resources")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
aI("itemwidth=70;text=Job Listings;url=/resources.htm?current=three&amp;sub=a;");
aI("itemwidth=130;text=Commercial/Retail Space;url=/resources_space.htm?current=three&amp;sub=b;");
}

with(milonic=new menuname("Getting_around")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
left=690;
aI("itemwidth=55;text=Directions;url=/getting_around.htm?current=three&sub=a;");
aI("itemwidth=95;text=Parking Map (PDF);url=/pdf/Davis_Square_Parking_Map.pdf?current=three&amp;sub=a;");
aI("itemwidth=110;text=Bicycling Map (PDF);url=/pdf/Somerville_by_Bicycle.pdf?current=three&amp;sub=b;");
}

with(milonic=new menuname("Contact")){
overflow="scroll";
orientation="horizontal";
style=subMenuStyle;
}


drawMenus();

