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()){

bordercolor="#6B695C";
bgimage="back.jpg";
itemheight=30;
borderstyle="solid";
borderwidth=1;
fontfamily="ARIAL, Tahoma, Arial";
fontsize="12px"; //old 13px----menu font size
fontstyle="normal";
fontweight="bold";
headerbgcolor="#000000";
headercolor="#000000";
offbgcolor="#F2E8C3";
offcolor="#545046";
onbgcolor="#962D0E";
oncolor="#F9F2F0";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=40);Shadow(color=#777777', Direction=135, Strength=0)";
padding=0;
//pagebgcolor="#F2E8C4";
//pagecolor="white";
separatorcolor="#B4AE96";
separatorsize=1;
//subimage="includes/arrow.gif";
subimagepadding=2;
}


with(menuStyle2=new mm_style()){
bordercolor="#948D79";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Verdana, Arial";
fontsize="11px"; //old 13px----menu font size
fontstyle="normal";
fontweight="bold";
headerbgcolor="#000000";
headercolor="#000000";
offbgcolor="#DABE92";
onbgcolor="#F2E8C3";
offcolor="#545046";
oncolor="#545046";

//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#BC1E1A', Direction=135, Strength=2)";
padding=5;
//pagebgcolor="white";
//pagecolor="white";
separatorcolor="#C2BDA0";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
//position="relative";
screenposition="center";
if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for Firefox/x.x or Firefox x.x (ignoring remaining digits);
 var ffversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 if (ffversion>=3)
left="offset=1";
 else if (ffversion>=2)
left="offset=1";
 else if (ffversion>=1)
left="offset=1";
}
else
  left="offset=0";
alwaysvisible=1;
//left=120;
followscroll=0; 
orientation="horizontal";
style=menuStyle;
top=173;
//---------- menu list


aI("itemwidth=95;align=right;text=HOME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;url=default.asp;")
aI("itemwidth=87;align=center;showmenu=Classes;text=CLASSES;");
aI("itemwidth=57;align=center;showmenu=Yoga;text=YOGA;");
aI("itemwidth=83;align=center;showmenu=Pilates;text=PILATES;");
aI("itemwidth=87;align=center;showmenu=Events;text=EVENTS;");
aI("itemwidth=86;align=center;text=RETREATS;url=retreats.asp;")
aI("itemwidth=150;align=center;showmenu=MassageBeauty;text=MASSAGE/BEAUTY;");
aI("itemwidth=92;align=center;text=GALLERY;url=gallery.asp;")
aI("itemwidth=89;align=center;showmenu=AboutUs;text=ABOUT US;");
aI("itemwidth=125;align=left;showmenu=Contact;text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONTACT;");



}
drawMenus();

//---------- submenus

with(milonic=new menuname("Classes")){
style=menuStyle2;
aI("status=NYSY Online;text=&nbsp;&nbsp;NYSY Online&nbsp;&nbsp;;url=nysyonline.asp;");
aI("status=Schedule;text=&nbsp;&nbsp;Schedule&nbsp;;url=schedule.asp;");
aI("status=Prices;text=&nbsp;&nbsp;Prices&nbsp;&nbsp;;url=prices.asp;");
aI("status=Privates;text=&nbsp;&nbsp;Privates&nbsp;&nbsp;;url=privates.asp;");
}

with(milonic=new menuname("Yoga")){
style=menuStyle2;
aI("status=About Yoga;text=&nbsp;About Yoga&nbsp;&nbsp;;url=aboutyoga.asp;")
aI("status=New To Yoga;text=&nbsp;New To Yoga&nbsp;;url=newtoyoga.asp;");
aI("status=Workshops;text=&nbsp;Workshops&nbsp;;url=yogaworkshops.asp;");
aI("status=Teacher Training;text=&nbsp;Teacher Training&nbsp;;url=yogatraining.asp;");
aI("status=Anusara Education;text=&nbsp;Anusara Education&nbsp;&nbsp;;url=programdetail.asp?ID=49;")
aI("status=Graduate Teachers;text=&nbsp;Graduate Teachers&nbsp;;url=gradteachersYoga.asp;");
//aI("status=Registration;text=&nbsp;Registration&nbsp;;url=regform.asp;");
}


with(milonic=new menuname("Pilates")){
style=menuStyle2;
aI("text=&nbsp;About Pilates&nbsp;&nbsp;;url=aboutpilates.asp;")
aI("text=&nbsp;New To Pilates&nbsp;&nbsp;;url=newtopilates.asp;")
aI("status=Pilates Workshops;text=&nbsp;Workshops&nbsp;;url=pilatesworkshops.asp;");
aI("status=Pilates Teacher Training;text=&nbsp;Teacher Training&nbsp;;url=pilatestraining.asp;");
aI("status=Graduate Teachers;text=&nbsp;Graduate Teachers&nbsp;;url=gradteachersPilates.asp;");
aI("status=Symposium;text=&nbsp;Pilates Symposium&nbsp;;url=athenspilatessymposium.asp;");
}

with(milonic=new menuname("Events")){
style=menuStyle2;
aI("status=Events;text=&nbsp;Events&nbsp;;url=events.asp");
aI("status=Yoga Workshops;text=&nbsp;Yoga Workshops&nbsp;;url=yogaworkshops.asp;");
aI("status=Pilates Workshops;text=&nbsp;Pilates Workshops&nbsp;;url=pilatesworkshops.asp;");
aI("status=Pilates Symposium;text=&nbsp;Pilates Symposium&nbsp;;url=athenspilatessymposium.asp;");
}

with(milonic=new menuname("MassageBeauty")){
style=menuStyle2;
aI("status=Massage/Body Therapy;text=&nbsp;Massage/Body Therapy&nbsp;;url=massage.asp");
aI("status=Beauty;text=&nbsp;Beauty&nbsp;;url=beauty.asp;");
aI("status=Massage & Beauty Therapists;text=&nbsp;Massage & Beauty Therapists&nbsp;;url=Therapists.asp;");

}

with(milonic=new menuname("AboutUs")){
style=menuStyle2;
aI("status=The Founders;text=&nbsp;The Founders&nbsp;;url=founders.asp;");
aI("status=Management;text=&nbsp;Management&nbsp;;url=management.asp;");
aI("status=Team Bios;text=&nbsp;Team Bios&nbsp;&nbsp;;url=teambios.asp;")
aI("status=Graduate Teachers;text=&nbsp;Graduate Teachers&nbsp;&nbsp;;url=gradteachers.asp;")
aI("status=Massage & Beauty Therapists;text=&nbsp;Massage & Beauty Therapists&nbsp;;url=Therapists.asp;");

}

with(milonic=new menuname("Contact")){
style=menuStyle2;
aI("status=Address/Directions/Email;text=&nbsp;Address/Directions&nbsp;&nbsp;;url=contactus.asp;")
aI("status=NYSY Newsletter;text=&nbsp;Newsletter&nbsp;;url=newsletter.asp;");
aI("status=Comments;text=&nbsp;Comments/Email&nbsp;;url=comments.asp;");
}


drawMenus();

