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(horizStyle=new mm_style()){
bordercolor="#999999";
borderstyle="none";
borderwidth=0;
fontfamily="arial, tahoma";
fontsize="90%";
fontstyle="normal";
headerbgcolor="#1f4e83";
headerborder=1;
headercolor="#1f4e83";
imagepadding=10;
offbgcolor="#1f4e83";
offcolor="#000000";
onbgcolor="#1f4e83";
onborder="";
oncolor="#1f4e83";
onsubimage="";
overbgimage="";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="";
separatoralign="right";
separatorcolor="#999999";
separatorwidth="85%";
subimage="";
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#1f4e83";
headerborder=0;
headercolor="#1f4e83";
image="";
imagepadding=2;
menubgimage="";
offbgcolor="transparent";
offcolor="";
onbgcolor="#1f4e83";
onborder="";
oncolor="#CC0033";
onsubimage="";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=2;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
subimage="";
menubgcolor="transparent";
}

with(milonic=new menuname("Sample mainmenu")){
alwaysvisible=1;
left=385;
margin=2;
orientation="horizontal";
style=horizStyle;
top=109;
aI("showmenu=Sample company;image=fireflyNew/images/company/company.jpg;");
aI("showmenu=Sample spectacle;image=fireflyNew/images/spectacle/spectacle.jpg;");
aI("showmenu=Sample productions;image=fireflyNew/images/prods/prods.jpg;");
aI("showmenu=Sample aerialarts;image=fireflyNew/images/aerialArts/aerialArts.jpg;");
aI("showmenu=Sample gallery;image=fireflyNew/images/gallery/gallery.jpg;");

}

with(milonic=new menuname("Sample company")){
margin=3;
style=vertStyle;
top="offset=-5";
left="offset=8";
aI("text=News;url=fireflyNew/CompanyNews.html;");
aI("text=History;url=fireflyNew/CompanyHistory.html;");
aI("text=John Ullyatt;url=fireflyNew/CompanyJohn.html;");
aI("text=Annie Dugan;url=fireflyNew/CompanyAnnie.html;");
aI("text=Artistic Associates;url=fireflyNew/CompanyArtists.html;");
}

with(milonic=new menuname("Sample spectacle")){
margin=3;
style=vertStyle;
top="offset=-5";
left="offset=8";
aI("text=Aerial Acts;url=fireflyNew/SpectacleAerial.html;");
aI("text=Human Fountain;url=fireflyNew/SpectacleFountain.html;");
aI("text=Crosswalk Theatre;url=fireflyNew/SpectacleXwalk.html;");
aI("text=21stCentury Gargoyles;url=fireflyNew/SpectacleGargoyles.html;");
aI("text=Circus Workshops;url=fireflyNew/SpectacleWorkshops.html;");
}

with(milonic=new menuname("Sample aerialarts")){
margin=3;
style=vertStyle;
top="offset=-5";
left="offset=8";
aI("text=Aerial Skill;url=fireflyNew/AerialArtsSkill.html;");
aI("text=Taste of the Circus;url=fireflyNew/AerialArtsTaste.html;");
aI("text=Drop In;url=fireflyNew/AerialArtsDropIn.html;");
aI("text=Calendar;url=fireflyNew/AerialArtsCalendar.html;");
}

with(milonic=new menuname("Sample productions")){
margin=3;
style=vertStyle;
top="offset=-5";
left="offset=8";
aI("text=In Production;url=fireflyNew/ProdsCurrent.html;");
aI("text=Past Productions;url=fireflyNew/ProdsPast.html;");
aI("text=Fly By Night;url=fireflyNew/ProdsFBN.html;");
aI("text=Let There Be Height;url=fireflyNew/ProdsLTBH.html;");
}

with(milonic=new menuname("Sample gallery")){
margin=3;
style=vertStyle;
top="offset=-5";
left="offset=8";
aI("text=Photos;url=fireflyNew/slideshow/index.html;");
aI("text=Press;url=fireflyNew/GalleryPress.html;");
aI("text=Video;url=fireflyNew/GalleryVideo.html;");
}


drawMenus();

