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(submenuStyle=new mm_style()){
styleid=1;
bordercolor="#911822";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
imagepadding=8;
offbgcolor="#ffffff";
offcolor="#911822";
onbgcolor="#E7E6E7";
oncolor="#911822";
outfilter="Blinds( Bands=1,direction=up, duration=0.3)";
overfilter="Blinds( Bands=1,direction=down, duration=0.3)";
padding=4;
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=3;
subimagepadding=8;
position="relative";
}

with(menuStyle=new mm_style()){
bordercolor="#911822";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="13px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="transparent";
offcolor="#911822";
onbgcolor="transparent";
oncolor="#911822";
outfilter="Fade(Overlap=1.00)";
position="relative";
screenposition="center";
separatorimage="/images/menuitemborder.gif";
separatorsize=3;
itemheight=14;
rawcss="padding-left:6px;padding-right:6px";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=Home&nbsp;&nbsp;;url=/index.cfm;");
aI("showmenu=neighborhoods;text=&nbsp;&nbsp;Neighborhoods&nbsp;&nbsp;;url=/neighborhoods/;");
aI("showmenu=amenities;text=&nbsp;&nbsp;Amenities&nbsp;&nbsp;;url=/amenities/;");
aI("showmenu=schools;text=&nbsp;&nbsp;Schools&nbsp;&nbsp;;url=/schools/;");
aI("showmenu=Location;text=&nbsp;&nbsp;Location/Directions&nbsp;&nbsp;;url=/location/");
aI("showmenu=Story;text=&nbsp;&nbsp;The Heritage Story&nbsp;&nbsp;;url=/communityinfo/");
aI("showmenu=Living;text=&nbsp;&nbsp;Heritage Living&nbsp;&nbsp;;url=/living/");
aI("showmenu=Realtors;text=&nbsp;&nbsp;Realtors&nbsp;&nbsp;;url=/realtors/");
aI("text=&nbsp;&nbsp;Contact;url=/contact/");
}

with(milonic=new menuname("realtors")){
style=submenuStyle;
aI("text=Heritage Sales Team;url=/realtors/index.cfm?view=team;");
aI("text=Agent of the Month;url=/realtors/index.cfm?view=agent;");
aI("text=Monthly Newsletter;url=/realtors/index.cfm?view=newsletter;");
aI("text=Heritage Hall of Fame;url=/realtors/index.cfm?view=hall;");
aI("text=What's New;url=/realtors/whatsnew.cfm;");
}

with(milonic=new menuname("Location")){
style=submenuStyle;
aI("text=Area Map;url=/location/Area_Map.pdf;target=_blank");
aI("text=Directions;url=http://www.mapquest.com/maps?city=Wake+Forest&state=NC&address=804+Heritage+Lake+Road&zipcode=27587;target=_blank");
}

with(milonic=new menuname("neighborhoods")){
style=submenuStyle;
aI("text=Neighborhoods & Community Map;url=/neighborhoods/index.cfm;");
aI("text=Community Map;url=/siteplan.pdf;target=_blank");
aI("text=Heritage Builder Guild;url=/neighborhoods/builders.cfm;");
aI("text=Available Homes;url=/homes;");
//aI("text=Search Available Homes;url=/homes/search-results.cfm;");
}

with(milonic=new menuname("schools")){
style=submenuStyle;
aI("text=Schools Overview;url=/schools/index.cfm;");
}

with(milonic=new menuname("Amenities")){
style=submenuStyle;
aI("text=Amenities Overview;url=/amenities/index.cfm;");
aI("text=Community Wide;url=/amenities/index.cfm?view=community;");
aI("text=Membership Clubs;url=/amenities/index.cfm?view=members;");
}

with(milonic=new menuname("Story")){
style=submenuStyle;
aI("text=Ammons Development Group;url=/communityinfo/index.cfm?sec=sub&subid=2;");

}

with(milonic=new menuname("Retail")){
style=submenuStyle;
aI("text=Commercial Property;url=/retail/index.cfm?sec=sub&subid=1;");
aI("text=The Heritage Adavantage;url=/retail/index.cfm?sec=sub&subid=2");
aI("text=Allowable Uses;url=/retail/index.cfm?sec=sub&subid=3");
}

with(milonic=new menuname("Living")){
style=submenuStyle;
aI("text=In the Heritage Community;url=/living/index.cfm#top;");
aI("text=In the Surrounding Community;url=/living/index.cfm#neighborhood;");
aI("text=In the Area;url=/living/index.cfm#area");
aI("text=Across the State;url=/living/index.cfm#state");
}




drawMenus();


