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=10;
_subOffsetLeft=-10;


with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
itemwidth=85;
offcolor="#ffffff";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
rawcss="padding-top:10px;padding-bottom:5px";
separatorcolor="#000000";
separatorsize=1;
subimagepadding=2;
}

with(menuStyle2=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
itemwidth=120;
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#418ED6";
offcolor="#ffffff";
onbgcolor="#418ED6";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
rawcss="padding-top:10px;padding-bottom:5px";
separatorcolor="#000000";
separatorsize=1;
subimagepadding=2;
}


with(submenuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#418ED6";
offcolor="#ffffff";
onbgcolor="#418ED6";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=6;
pagecolor="black";
separatorsize=1;
subimage="white_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("status=Congregation Eitz Chaim;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multiorange.gif;status=Back To Home Page;text=Home;url=http://eitzchaim-monroe.org/index.shtml;");
aI("status=At a Glance...;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multimustard.gif;showmenu=Glance;status=At a Glance;text=Eitz Chaim at a Glance;");
aI("status=Rabbi;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multiyellow.gif;showmenu=Rabbi;text=Our Rabbi;");
aI("status=Kosher Catering;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multiblue.gif;showmenu=Catering;text=Kosher Catering;");
aI("status=Education;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multigreen.gif;url=http://eitzchaim-monroe.org/school.shtml;text=Hebrew School;");
aI("status=Gan Shalom Preschool;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multipurple.gif;text=Gan Shalom Preschool;url=http://www.ganshalompreschool.org/index.html;target=_blank;");
aI("status=Photo Galleries;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multiyellow.gif;text=Photo Galleries;showmenu=Galleries;");
aI("status=Shul Calendar;align=center;bgimage=http://eitzchaim-monroe.org/menu2/multimustard.gif;text=Calendar;showmenu=Calendar;");
}

with(milonic=new menuname("Glance")){
style=submenuStyle;
aI("text=About Eitz Chaim;url=http://eitzchaim-monroe.org/about.shtml;");
aI("text=Services at Eitz Chaim;url=http://eitzchaim-monroe.org/sanctuary1.shtml;");
aI("text=Catering at Eitz Chaim!;url=http://eitzchaim-monroe.org/catering.shtml;");
aI("text=Sisterhood;url=http://eitzchaim-monroe.org/sisterhood.shtml;");
aI("text=Men's Club;url=http://eitzchaim-monroe.org/mensclub.shtml;");
aI("text=Dor Hadash;url=http://eitzchaim-monroe.org/dorhadash.shtml;");
aI("text=Directions;url=http://eitzchaim-monroe.org/location.shtml;");
aI("text=Contact Us;url=http://eitzchaim-monroe.org/contact.shtml;");
}

with(milonic=new menuname("Rabbi")){
style=submenuStyle;
aI("text=Rabbi Ari Perten;url=http://eitzchaim-monroe.org/rabbi.shtml;");
aI("text=Rabbi Perten's Monthly Shalom Article;url=http://eitzchaim-monroe.org/rabbishalom.shtml;");
}

with(milonic=new menuname("Catering")){
style=submenuStyle;
aI("text=Catering Facilities;url=http://eitzchaim-monroe.org/catering.shtml;");
aI("text=Caterers and Other Vendors;url=http://eitzchaim-monroe.org/caterers.shtml;");
}

with(milonic=new menuname("Galleries")){
style=submenuStyle;
aI("text=Photo Galleries;url=http://eitzchaim-monroe.org/galleries.shtml;");
aI("text=Video Galleries;url=http://eitzchaim-monroe.org/videos.shtml;");
}

with(milonic=new menuname("School")){
style=submenuStyle;
aI("text=ParPar - Nursery;url=http://eitzchaim-monroe.org/school.shtml;");
aI("text=Kton-ton - Kindergarten;url=http://eitzchaim-monroe.org/school.shtml;");
aI("text=Bet - Zayin;url=http://eitzchaim-monroe.org/school.shtml;");
aI("text=Beit Midrash;url=http://eitzchaim-monroe.org/school.shtml;");
aI("text=Yom Rishon;url=http://eitzchaim-monroe.org/school.shtml;");
}

with(milonic=new menuname("Calendar")){
style=menuStyle2;

aI("text=<strong>Complete Calendar of Shul Events--Click HERE</strong>;url=http://eitzchaim-monroe.org/calendar.shtml;");
aI("text=Other Calendars;showmenu=Other Cals;status=Other Calendars;");
}

with(milonic=new menuname("Other Cals")){
style=submenuStyle;
aI("text=50 Year Yarhzeit Calculator;url=http://eitzchaim-monroe.org/yahrzeit.shtml;");
aI("text=Building Use Text File;url=http://www.uscj.org/metny/monroe/calyear0204.htm;target=_new;");
}


drawMenus();

