
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset




with(menuStyle0=new mm_style()){
onbgcolor="#CC7E00";
oncolor="#ffffff";
offcolor="#ffffff";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
separatorcolor="#ffffff";
separatorsize="1";
padding=5;
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
headercolor="#000000";
headerbgcolor="#ffffff";
overfilter="Alpha(opacity=90);";
}

with(menuStyle1=new mm_style()){
align="left";
onbgcolor="#F8F8F9";
oncolor="#555555";
offbgcolor="#F1F1F2";
offcolor="#5C5AAD";
bordercolor="#DCDCDD";

borderstyle="solid";
borderwidth=1;
separatorcolor="#DCDCDD";
separatorsize="1";
padding=5;
fontsize="10px";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#5C5AAD";
pagebgcolor="#F8F8F9";
headercolor="#000000";
headerbgcolor="#000000";
subimage="arrow2.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#000000',Direction=135,Strength=2;opacity=80)";
}

with(menuStyle2=new mm_style()){
align="left";
onbgcolor="#B53084";
oncolor="#ffffff";
offbgcolor="#800151";
itemwidth="175px";
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#B53084";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow2.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
}

with(menuStyle3=new mm_style()){
align="left";
onbgcolor="#51B090";
itemwidth="175px";
oncolor="#ffffff";
offbgcolor="#1F7759";
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#51B090";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow2.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
}

with(menuStyle4=new mm_style()){
align="left";
onbgcolor="#EEB250";
oncolor="#ffffff";
offbgcolor="#CC7E00";
itemwidth="160px";
offcolor="#ffffff";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#EEB250";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow2.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
}

with(menuStyle5=new mm_style()){
align="left";
onbgcolor="#926870";
oncolor="#ffffff";
offbgcolor="#926870";
offcolor="#ffffff";
bordercolor="#000000";
itemwidth="160px";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#926870";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow2.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=90);";
}


with(milonic=new menuname("Buy")){
style=menuStyle1;
aI("text=Find a Home;url=property_search.php;");
aI("text=Commercial;url=http://www.coldwellbankergtd.com/search_results.php?New_York=ON&City=Any+City&County=Any+County&School_District=Any+School+District&Property_type=Commercial&Bedrooms=Any&Bathrooms=Any&Square_feet=Any&Min_Price=No+Min&Max_Price=No+Max&Display_thumbnails=Yes&Search=Search;");
aI("text=Apt/Home Rentals;url=search_results.php?town_or_city=&City=Any+City&County=Any+County&Display_thumbnails=Yes&MLS_Number=&Square_feet=Any&MLSName=&School_District=Any+School+District&Address_component=&Date_added=&Property_type=Rental&Bedrooms=Any&Bathrooms=Any&Min_Price=No+Min&Max_Price=No+Max&Search.x=58&Search.y=17;");
aI("text=Open Houses;url=open_house.php;");
aI("text=Find an Agent;url=agents.php;");
aI("text=Tips of the Week;url=tips.php;");
aI("text=Find an Office;url=contact_us.php?city=endwell;");
}

with(milonic=new menuname("Sell")){
style=menuStyle1;
aI("text=Why List with Us?;url=why_list.php;");
aI("text=Find a Sales Associate;url=agents.php;");
aI("text=Neighborhood Information;url=learn.php;");
aI("text=Find an Office;url=contact_us.php?city=endwell;");
}

with(milonic=new menuname("Careers")){
style=menuStyle1;
aI("text=Getting Started;url=careers1.php;");
aI("text=Join our Team;url=careers2.php;");
aI("text=Already a Realtor?;url=careers3.php;");
}

with(milonic=new menuname("Learn")){
style=menuStyle1;
aI("text=About our Area;url=learn.php;");
aI("text=Tip of the Week;url=tips.php;");
}


drawMenus();


