_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
//bordercolor="#000000";
//borderstyle="solid";
borderwidth=0;
//fontfamily="Verdana, Arial, Helvetica, sans-serif";
//fontsize="75%";
//fontstyle="normal";
//headerbgcolor="#ffffff";
//headercolor="#000000";
//offbgcolor="#ffffff";
//offcolor="#000000";
//onbgcolor="#ffffff";
//oncolor="#97C0C0";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Shadow(color='#999999', Direction=135, Strength=3)";
//padding=4;
//pagebgcolor="#ffffff";
//pagecolor="white";
//separatorcolor="#000000";
separatorsize=0;
separatorheight=0;
//subimage="arrow.gif";
//subimagepadding=2;
}

with(subMenuStyle=new mm_style()) {
bordercolor="#000000";
//borderstyle="solid";
borderwidth=0;
//fontfamily="Verdana, Arial, Helvetica, sans-serif";
//fontsize="70%";
//fontstyle="normal";
//headerbgcolor="#ffffff";
//headercolor="#000000";
offbgcolor="#C2B6A6";
offcolor="#C2B6A6";
onbgcolor="#C2B6A6";
oncolor="#C2B6A6";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="DropShadow(OffX=2, OffY=2, color='#999999', positive='true')";
//overfilter="Shadow(color='#8E8E8E', Direction=135, Strength=4)";
//padding=4;
//pagebgcolor="#97C0C0";
//pagecolor="#000000";
//separatorcolor="#000000";
separatorsize=0;
separatorheight=0;
separatorpadding=0;
separatorsize=0;
subimagepadding=0;
//subimage="arrow.gif";
//subimagepadding=2;
//itemheight=26;
outfilter="Blinds( Bands=1,direction=up, duration=0.2)";
overfilter="Blinds( Bands=1,direction=down, duration=0.2)";

}

with(milonic=new menuname("Main Menu")){
position="relative";
alwaysvisible=1;
//left=111;
//top=197;
orientation="vertical";
style=menuStyle;
aI("showmenu=About;image=http://www.landrushrealty.com/images/mainNavAbout.jpg;overimage=http://www.landrushrealty.com/images/mainNavAbout-on.jpg;");
aI("showmenu=Search;image=http://www.landrushrealty.com/images/mainNavSearch.jpg;overimage=http://www.landrushrealty.com/images/mainNavSearch-on.jpg;");
aI("showmenu=Community;image=http://www.landrushrealty.com/images/mainNavCommunity.jpg;overimage=http://www.landrushrealty.com/images/mainNavCommunity-on.jpg;");
aI("showmenu=Financial;image=http://www.landrushrealty.com/images/mainNavFinancial.jpg;overimage=http://www.landrushrealty.com/images/mainNavFinancial-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-calculator.php;");
aI("showmenu=Contact;image=http://www.landrushrealty.com/images/mainNavContact.jpg;overimage=http://www.landrushrealty.com/images/mainNavContact-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-contact-us.php;");
aI("showmenu=Home;image=http://www.landrushrealty.com/images/mainNavHome.jpg;overimage=http://www.landrushrealty.com/images/mainNavHome-on.jpg;url=http://www.landrushrealty.com/index.php;");
}

with(milonic=new menuname("About")){
style=subMenuStyle;
itemwidth=172;
left="offset=-171";
top="offset=22";
aI("image=http://www.landrushrealty.com/images/flyoutAbout-Company.jpg;overimage=http://www.landrushrealty.com/images/flyoutAbout-Company-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-company-profile.php;");
aI("image=http://www.landrushrealty.com/images/flyoutAbout-Meet.jpg;overimage=http://www.landrushrealty.com/images/flyoutAbout-Meet-on.jpg;url=http://www.landrushrealty.com/listings/index.php?action=view_users;");
aI("image=http://www.landrushrealty.com/images/flyoutAbout-Contact.jpg;overimage=http://www.landrushrealty.com/images/flyoutAbout-Contact-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-contact-us.php;");
}

with(milonic=new menuname("Search")){
style=subMenuStyle;
itemwidth=172;
//left="offset=-1";
//left=110;
left="offset=-171";
top="offset=22";
aI("image=http://www.landrushrealty.com/images/flyoutSearch-Eagle.jpg;overimage=http://www.landrushrealty.com/images/flyoutSearch-Eagle-on.jpg;url=http://www.eaglescrestmt.com/;target='blank';");
aI("image=http://www.landrushrealty.com/images/flyoutSearch-Land.jpg;overimage=http://www.landrushrealty.com/images/flyoutSearch-Land-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-landrush-listings.php;");
aI("image=http://www.landrushrealty.com/images/flyoutSearch-Area.jpg;overimage=http://www.landrushrealty.com/images/flyoutSearch-Area-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-mls-listings.php;");
}

with(milonic=new menuname("Community")){
style=subMenuStyle;
itemwidth=172;
//left="offset=-1";
//left=110;
left="offset=-171";
top="offset=22";
aI("image=http://www.landrushrealty.com/images/flyoutCommunity-Lakeside.jpg;overimage=http://www.landrushrealty.com/images/flyoutCommunity-Lakeside-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-lakeside.php;");
aI("image=http://www.landrushrealty.com/images/flyoutCommunity-Flathead.jpg;overimage=http://www.landrushrealty.com/images/flyoutCommunity-Flathead-on.jpg;url=http://www.landrushrealty.com/lakeside-montana-real-estate-flathead-valley.php;");
}

drawMenus();

function mm_changeMenuProperty(menuName, propertyRef, newValue)
{
  var menuNum = getMenuByName(menuName);
  _m[menuNum][propertyRef] = newValue;
  BDMenu(menuNum);
}

function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay)
{
  menuName = menuName.toLowerCase();
  for (i=0; i<_mi.length; i++)
    if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break;
  if (i == _mi.length) return;
  _mi[i][codeRef] = newValue;
  if (updateDisplay) BDMenu(_mi[i][0]);
}
