if (mtDropDown.isSupported()) {
var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);

//	Dean, add var and menu to match the menu and render all at the bottom {

//	View Properties
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("&#8226; Search Properties", "listings_mls.htm");
menu1.addItem("&#8226; Featured Properties", "listings.htm");
menu1.addItem("&#8226; Property Inquiry", "worth.htm");

//	Tips & Tools
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("&#8226; For Buyers", "buyers.htm");
menu2.addItem("&#8226; For Sellers", "sellers.htm");
menu2.addItem("&#8226; Calculator", "javascript:openWindow(1)");

mtDropDown.renderAll();}

function openWindow(MarketEasepopup)

{if (MarketEasepopup == 1)
     {	MarketEasepopup = 'calculator.htm';
		popup = 'Moresbetter';
        opties = 'toolbar=no,location=yes,status=yes,menubar=no,scrollbars=no,resizable=no,width=645,height=500';}

		
//menu5.addItem("&#8226; DeadPopUp", "javascript:openWindow(1)");

//function openWindow(MarketEasepopup)
//{if (MarketEasepopup == 1){
//		MarketEasepopup = 'other.html';
//		popup = 'Moresbetter';
//      opties = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=770,height=530';}
//		}
//onClick="return marketease_js_PopWin('bambi.htm','nothing_here','width=300,height=400,resizable=no,scrollbars=no,toolbar=no,status=no');">
	window.open(MarketEasepopup, 'popup', opties);}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);}
//------------------------End of POP up script------------

//    START of dropdown .js, just delete the //

//    var menu2 = ms.addMenu(document.getElementById("menu2"));
//    menu2.addItem("&#8226; Test Popup", "javascript:openWindow(1)");

// KIMMER, BE SURE TO AD THIS CODE IF AT END->    mtDropDown.renderAll();}
-->