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.htm");
menu1.addItem("&#8226; Featured Properties", "listings_mls.htm");
menu1.addItem("&#8226; Property Inquiry", "worth.htm");

//	About Us
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("&#8226; Foulger Group Info", "info.htm");
menu2.addItem("&#8226; Testimonials", "testimonials.htm");
menu2.addItem("&#8226; Group Members", "members.htm");
menu2.addItem("&#8226; RE/MAX Masters Info", "remax_info.htm");

//	Buyers
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("&#8226; Get the Latest Listings Via E-mail", "worth.htm");
menu3.addItem("&#8226; Request Relocation Info", "relo_form.htm");
menu3.addItem("&#8226; Buyers Tips", "buyers.htm");
menu3.addItem("&#8226; Relo Tools", "javascript:openWindow(3)");
menu3.addItem("&#8226; Investment Opportunities", "investment.htm");

//	Sellers
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("&#8226; Your Home Value", "cma.htm");
menu4.addItem("&#8226; Seller Tips", "twenty_tips.htm");
menu4.addItem("&#8226; Relo Tools", "javascript:openWindow(3)");

//	Resources
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("&#8226; Local Info", "local_info.htm");
menu5.addItem("&#8226; School Info", "javascript:openWindow(4)");
menu5.addItem("&#8226; Utah Info", "utah_info.htm");
menu5.addItem("&#8226; Mortgage Info", "mortgage.htm");
menu5.addItem("&#8226; Relo Services","relo_info.htm");
menu5.addItem("&#8226; REO Services", "reo.htm");
menu5.addItem("&#8226; MarketEase", "javascript:openWindow(2)");

//	Contact Us
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("&#8226; E-mail Us", "mailto:info@foulgergroup.com");
menu6.addItem("&#8226; How Can We Help", "contact.htm");
menu6.addItem("&#8226; How to Find Us", "map.htm");
menu6.addItem("&#8226; Text Message", "javascript:openWindow(1)");

mtDropDown.renderAll();}

function openWindow(MarketEasepopup)

{if (MarketEasepopup == 1)
     {	MarketEasepopup = 'http://www.mymmode.com/messagecenter/init';
		popup = 'Moresbetter';
        opties = 'toolbar=yes,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=720,height=530';}
		
if (MarketEasepopup == 2)
     {	MarketEasepopup = 'http://www.marketease.com';
		popup = 'Moresbetter';
        opties = 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=745,height=560';}
				
if (MarketEasepopup == 3)
     {	MarketEasepopup = 'http://content.monster.com/career/relocation';
		popup = 'Moresbetter';
        opties = 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=745,height=560';}
		
if (MarketEasepopup == 4)
     {	MarketEasepopup = 'http://www.utahschools.org/us_home.php';
		popup = 'Moresbetter';
        opties = 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=745,height=560';}
		
if (MarketEasepopup == 5)
     {	MarketEasepopup = 'http://content.monster.com/career/relocation';
		popup = 'Moresbetter';
        opties = 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=745,height=560';}
		
//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();}
-->