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;

// Main Menu Style
with(menuStyle=new mm_style()){
	itemheight=18;
	decoration="none";
	ondecoration="none";
	//offborder="transparent";
	//onborder="#787878";
	//bordercolor="transparent";
	//borderstyle="solid";
	//borderwidth=0;
	fontfamily="Lucida Grande, Verdana, Tahoma, Arial";
	fontsize="12px";
	fontstyle="normal";
	//headerbgcolor="#ffffff";
	//headercolor="#000000";
	offbgcolor="transparent";
	offcolor="#FFFFFF";
	onbgcolor="#DD0000";//"#656565";
	oncolor="#ffffff";
	//outfilter="randomdissolve(duration=0.3)";
	//overfilter="Fade(duration=0.2);Alpha(opacity=90);";
	padding=4;
	//pagebgcolor="#82B6D7";
	//pagecolor="black";
	separatorpadding=2;
	separatorcolor="#000000";
	separatorsize=1;
}

// Drop Menu Style
with(menuDropStyle=new mm_style()){
	bordercolor="#DD0000";//"#656565";
	borderstyle="solid";
	borderwidth=3;
	fontfamily="Lucida Grande, Verdana, Tahoma, Arial";
	fontsize="12px";
	fontstyle="normal";
	//headerbgcolor="#ffffff";
	//headercolor="#000000";
	offbgcolor="#CCCCCC";
	offcolor="#000000";
	onbgcolor="#FFFFFF";//"#DD0000";
	//onbgcolor="#CCCCCC";
	oncolor="#DD0000";//"#ffffff";
	//oncolor="#990000";
	//outfilter="randomdissolve(duration=0.3)";
	//overfilter="Fade(duration=0.2);Alpha(opacity=90);";
	padding=5;
	//pagebgcolor="#82B6D7";
	//pagecolor="black";
	separatorcolor="#DD0000";//"#656565";
	separatorsize=1;
	subimage="/src/js/milonic/arrow.gif";
	subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
	//top=101;
	alwaysvisible=1;
	orientation="horizontal";
	position="relative";
	style=menuStyle;
	zindex=80;
	aI("text=Home;url=http://www.realtyconsultants.org/index.php;");
	aI("showmenu=Listings;text=Listings;");
	aI("showmenu=OurCompany;text=Our Company;");
	aI("text=Contact Us;url=/OurTeam.php;");
	aI("text=Featured Builder;url=/FeaturedBuilder.php;");
	aI("showmenu=Tools;text=Tools;");
	aI("showmenu=Opportunities;text=Opportunities;");
	aI("showmenu=FSBOHelpDesk;text=Sell By Owner;");
//	aI("text=FSBO HelpDesk;url=/FSBOHelpDesk.php;");
}

with(milonic=new menuname("Listings")){
	style=menuDropStyle;
	//aI("text=Search for Homes;url=/Homes/SearchHomes.php;")
	aI("text=Our Listings;url=/OurListings.php;")
	aI("text=Search Listings;url=/SearchListings.php;")
//	aI("text=Search Listings;url=http://homesearch.jacksonrealtor.com/propertySearch.aspx?gateway_lo_code=1406;")

}

with(milonic=new menuname("OurCompany")){
	style=menuDropStyle;
	aI("text=Our Team;url=/OurTeam.php;");
	aI("text=Join Our Team;url=/JoinOurTeam.php;");
	aI("text=About Us;url=/AboutUs.php;");
}

with(milonic=new menuname("Tools")){
	style=menuDropStyle;
//	aI("text=FSBO HelpDesk;url=/FSBOHelpDesk.php;");
	aI("text=Mortgage Calculator;url=/MortgageCalculator.php;");
}

with(milonic=new menuname("Opportunities")){
	style=menuDropStyle;
	aI("text=Invest in Mississippi;url=/InvestInMississippi.php;");
	aI("text=Join Our Team;url=/JoinOurTeam.php;");
}

with(milonic=new menuname("FSBOHelpDesk")){
	style=menuDropStyle;
	aI("text=Do It Yourself (DiY);url=/FSBOHelpDesk;");
	aI("text=Preferred Service Providers;url=/FSBOHelpDesk-ServiceProviders.php;");
	aI("text=12 Steps;url=/FSBOHelpDesk-12Steps.php;");
	aI("text=FSBO Listings;url=/FSBOListings.php;")
	
	
}

drawMenus();
