function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// JavaScript Document
function mmLoadMenus() {
  if (window.mm_menu_0116111601_0) return;
  
  // Set style variables that are comon to all menus
  var menuBorderColor = '#FFFFFF';
  var menuBackgroundColor = '#FF0000';
  var menuBorderWidth = 1;
  var menuRowHeight = 20;
  var cellPaddingAmount = 0;
  var rolloverBGColor = "#286AA3";
  var rolloverTextColor = "#FFFFFF";
  var fontSize = "10";
  
  //Main Properties rollover menu
    window.properties = new Menu("properties",245,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,200,1,0,true,true,true,5,true,true);
	properties.addMenuItem("Upcoming Open Houses","location='openHouses.cfm'");
    properties.addMenuItem("Residential Sale Properties","location='search.cfm?type=S'");
	properties.addMenuItem("Residential Rental Properties","location='search.cfm?type=R'");
	properties.addMenuItem("Westchester/Greenwich CT MLS Properties","location='idx.cfm'");
	properties.addMenuItem("Commercial Properties","location='search.cfm?type=C'");
	properties.addMenuItem("International Properties","location='search.cfm?Area=G'");
	
	
     properties.hideOnMouseOut=true;
     properties.bgColor= menuBorderColor;
     properties.menuBorder=menuBorderWidth;
     properties.menuLiteBgColor= menuBorderColor;
     properties.menuBorderBgColor='';
	 
	 	//real estate guide rollover menu
    window.guide = new Menu("Real Estate Guides",180,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,200,-5,20,false,true,true,5,true,true);
    guide.addMenuItem("Frequently Asked Questions","location='faq.cfm'");
	guide.addMenuItem("Glossary of Real Estate Terms","location='glossary.cfm'");
	guide.addMenuItem("Manhattan Neighborhoods","location='neighborhoods.cfm'");
	guide.addMenuItem("Property Type Information","location='prop_types.cfm'");
	guide.addMenuItem("Market Reports","location='market_reports.cfm'");
    guide.hideOnMouseOut=true;
    guide.bgColor= menuBorderColor;
    guide.menuBorder=menuBorderWidth;
    guide.menuLiteBgColor= menuBorderColor;
    guide.menuBorderBgColor='';
	 
    //services rollover menu
    window.services = new Menu("services",140,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,200,-320,125,false,true,true,5,true,true);
    services.addMenuItem("Buyer Services","location='buyers.cfm'");
	services.addMenuItem("Seller Services","location='sellers.cfm'");
	services.addMenuItem("Renting Property","location='renting.cfm'");
	services.addMenuItem("Property Management","location='prop_management.cfm'");
	services.addMenuItem("Commercial Services","location='commercial_brokerage_services.cfm'");
	services.addMenuItem("Residential Services","location='residential_brokerage_services.cfm'");
	services.addMenuItem(guide,"location=''");
    services.hideOnMouseOut=true;
    services.bgColor= menuBorderColor;
    services.menuBorder=menuBorderWidth;
    services.menuLiteBgColor= menuBorderColor;
    services.menuBorderBgColor='';

    //agents rollover menu
    window.agents = new Menu("Agents",140,menuRowHeight,"Verdana, Arial, Helvetica, sans-serif",fontSize,"#FFFFFF",rolloverTextColor,menuBackgroundColor,rolloverBGColor,"left","middle",cellPaddingAmount,0,200,-5,20,false,true,true,5,true,true);
    agents.addMenuItem("Manhattan Residential","location='agents.cfm?officeID=1'");
	agents.addMenuItem("Scarsdale Residential","location='agents.cfm?officeID=3'");
	agents.addMenuItem("Rye Residential","location='agents.cfm?officeID=4'");
	agents.addMenuItem("Commercial","location='agents.cfm?officeID=2'");
    agents.hideOnMouseOut=true;
    agents.bgColor= menuBorderColor;
    agents.menuBorder=menuBorderWidth;
    agents.menuLiteBgColor= menuBorderColor;
    agents.menuBorderBgColor='';
	
agents.writeMenus();
} // mmLoadMenus()