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="Verdana, Tahoma, Arial";
	fontsize="10pt";
	fontweight="900";
	headerbgcolor="#ffffff";
	headercolor="#ffffff";
	offbgcolor="#3A5389";
	offcolor="#FFFFFF";
	onbgcolor="#3A5389";
	oncolor="#FFFFFF";
	onsubimage="/images/arrow3orange3d.gif";
	outfilter="fade(duration=0.5)";
	overfilter="Fade(duration=0);Alpha(opacity=100);Shadow(color=#777777', Direction=90, Strength=0)";
	padding=0;
	separatorcolor="#000000";
	separatorheight=18;
	separatorsize=1;
	subimage="/images/arrow3blue3d2.gif";
	subimagepadding=0;
}

with(submenuStyle=new mm_style())
{
	styleid=1;
	fontfamily="Verdana, Tahoma, Arial";
	fontsize="9pt";
	fontweight="800";
	headercolor="#FFFFFF";
	offbgcolor="#6B9BBF";
	offcolor="white";
	onbgcolor="#F3E7D7";
	onborder="1px solid #465C87";
	oncolor="#465C87";
	onsubimage="/images/arrow3orange3d.gif";
	outfilter="fade(duration=0)";
	overfilter="Fade(duration=0);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
	padding=3;
	pagecolor="black";
	separatorcolor="#862E2B";
	separatorheight=2;
	separatorpadding=0;
	separatorsize=1;
	subimage="/images/arrow3blue3d2.gif";
	subimagepadding=5;
}

with(milonic=new menuname("Home"))
{
	margin=4;
	orientation="vertical";
	style=submenuStyle;
	aI("text=List Your Home;url=/list_your_home/;");
	aI("text=Broker Login;url=http://login.hamptoncountry.com/;");
}

with(milonic=new menuname("Listings"))
{
	margin=4;
	orientation="vertical";
	style=submenuStyle;
	aI("text=Hot Picks;url=/hampton_country_hotpicks/;");
	aI("text=All Listings;url=/hamptons_all_listings/;");
	aI("text=New Listings;url=/hamptons_new_listings/;");
	aI("text=Home Listings;url=/hamptons_homes_listings/;");
	aI("text=Land Listings;url=/hamptons_land_listings/;");
	aI("text=Rentals;url=/hamptons_rental_listings/;");
	aI("text=Commercial Listings;url=/hamptons_commercial_listings/;");
}

with(milonic=new menuname("Test"))
{
	margin=4;
	orientation="vertical";
	style=submenuStyle;
	aI("showmenu=Testsub;text=asdf;url=index1;");
	aI("text=asdf;url=index1;");
	aI("text=asdf;url=index1;");
}

with(milonic=new menuname("Testsub"))
{
	margin=4;
	orientation="vertical";
	style=submenuStyle;
	aI("text=asdf2;url=test;");
	aI("text=asdf2;url=test;");
	aI("text=asdf2;url=test;");
}

drawMenus();

