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()){
bordercolor="#b7c4c9";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#e8e7cf";
offcolor="#000000";
onbgcolor="#fbf9e6";
oncolor="#000000";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#fafaf1";
pagecolor="black";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=2;

}

with(subStyle=new mm_style()) {
bordercolor="#a65e65";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#c27c81";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#000000";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
//pagebgcolor="#c27c81";
//pagecolor="black";
separatorcolor="#a65e65";
separatorsize=1;
subimage="";
subimagepadding=2;

}


with(milonic=new menuname("Search")){
style=subStyle;
itemwidth=150;
aI("text=Search the MLS;url=/advanced;");
aI("text=Advanced Search;subimage=img/menu/white_arrow.gif;showmenu=AdvancedSearch;");
aI("text=Featured Listings;url=/featured;");
}

with(milonic=new menuname("AdvancedSearch")){
style=subStyle;
aI("text=Custom City Search;url=/advanced;");
aI("text=Zipcode Search;url=/advanced/?sec=zip;");
//aI("text=Map Search;url=/advanced/?sec=map;");
aI("text=Address Search;url=/advanced/?sec=address;");
//aI("text=Radius Search;url=/advanced/?sec=prox;");
aI("text=MLS Number Search;url=/advanced/?sec=mls;");
}

with(milonic=new menuname("Buyers")){
style=subStyle;
aI("text=Search the MLS;url=/advanced;");
 aI("text=Buyer Resources;subimage=img/menu/white_arrow.gif;showmenu=BuyerResourceSub");
aI("text=Saved Searches;url=/my/searches;");
// aI("text=Search the Web;url=/uc;");
// aI("text=Buy With Us;url=/uc;");
aI("text=Contact;url=/about/overview.php;");
}

with(milonic=new menuname("BuyerResourceSub")) {
style=subStyle;
// aI("text=Mortgage Center;url=/uc;");
// aI("text=Neighborhood Information;url=/uc;");
aI("text=Bay Area Professionals;url=/sellers/contacts/index.php;");
}

with(milonic=new menuname("Sellers")){
style=subStyle;
aI("text=Search the MLS;url=/advanced;");
aI("text=Seller Resources;subimage=img/menu/white_arrow.gif;showmenu=SellerResourceSub");
aI("text=Email New Listings Near My Home;url=/my/searches;");
aI("text=Recently Sold;url=/recentlySold;");
// aI("text=Sell With Us;url=/uc;");
// aI("text=Mortgage Center;url=/uc;");
}

with(milonic=new menuname("SellerResourceSub")) {
style=subStyle;
// aI("text=Home Valuation;url=/uc;");
// aI("text=Home Preparation;url=/uc;");
aI("text=Bay Area Contacts;url=/sellers/contacts/index.php;");
}

with(milonic=new menuname("Learn")){
style=subStyle;
aI("text=Buyer Resources;url=/uc;");
aI("text=Seller Resources;url=/uc;");
aI("text=Neighborhood Information;url=/uc;");
aI("text=Getting Started;url=/uc;");
aI("text=Mortgage Center;url=/uc;");
}

with(milonic=new menuname("About")){
style=subStyle;
itemwidth=150;
aI("text=Company Overview;url=/about/overview.php;");
aI("text=About Linnette Edwards;url=/about/about_linnette.php;");
//aI("text=About Joni Cox;url=/about/about_joni.php;");
// aI("text=Philosophy;url=/about;");
aI("text=Contact Us;url=/about/overview.php;");
}

with(milonic=new menuname("MyLogin")){
style=subStyle;
itemwidth=150;
aI("text=Log In;url=/login;");
aI("text=Register;url=/register;");
}

with(milonic=new menuname("My")){
style=subStyle;
itemwidth=150;
aI("text=My Searches;url=/my/searches;");
aI("text=My Homes;url=/my/homes;");
aI("text=My Schools;url=/my/schools;");
aI("text=My Clippings;url=/my/clippings;");
aI("text=My File;url=/my/file;");
aI("text=Preferences;url=/preferences;");
}

