/* This is a placeholder file for your dropdown menu javascript */

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 {

//	Listings
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("&bull; Northern Utah Properties", "/listing/nutahproperties.php");
menu1.addItem("&bull; Southern Utah Properties", "/listing/sutahproperties.php");

//	Buyers
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("&bull; Buyer 101", "/buyer/buyer101.php");
menu2.addItem("&bull; Buying your First Home", "/buyer/firsthome.php");
menu2.addItem("&bull; Common Buyer Mistakes", "/buyer/mistakes.php");
menu2.addItem("&bull; Getting the Best Price", "/buyer/bestprice.php");
menu2.addItem("&bull; Getting the Best Financing", "/buyer/financing.php");
menu2.addItem("&bull; Home Affortability Calculator", "/buyer/calculator.php");

//	Sellers
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("&bull; Property Value Assessment", "/seller/worth.php");
menu3.addItem("&bull; Common Seller Mistakes", "/seller/mistakes.php");
menu3.addItem("&bull; Selling Your Home Yourself", "/seller/salebyowner.php");
menu3.addItem("&bull; Getting the Best Offer", "/seller/bestoffer.php");
menu3.addItem("&bull; Our Marketing Plan", "/seller/marketing.php");

//	Resources
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("&bull; Community Links", "/resource/community.php");
menu4.addItem("&bull; Calculators", "/resource/calculator.php");

// Contact
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("&bull; Email Us", "/contact/email.php");
menu5.addItem("&bull; Contact Information", "/contact/info.php");
menu5.addItem("&bull; Site Help", "/contact/help.php");
menu5.addItem("&bull; About Redfearn Group", "/contact/about.php");


mtDropDown.renderAll();}

function openWindow(MarketEasepopup)

{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';}

		
//menu5.addItem("&bull; 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("&bull; Test Popup", "javascript:openWindow(1)");

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