// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		var menu2 = ms.addMenu(document.getElementById("Find"));
		menu2.addItem("By Location", "#");
		menu2.addItem("By Price - 100's", "#");
		menu2.addItem("By Price - 200's", "#");
		menu2.addItem("By Price - 300's", "#");
		menu2.addItem("Coming Soon", "#");
		menu2.addItem("Custom Homes", "http://www.royalpalm.com/index.php?action=listingview&listingID=79");

//  These are flyouts for the LOCATION selection...
		var submenu1 = menu2.addMenu(menu2.items[0]);
		submenu1.addItem("ORLANDO - North Pointe", "/northpointe/")
		submenu1.addItem("ORLANDO - Sawgrass Bay", "/sawgrass/")
		submenu1.addItem("LANTANA - Bridgewater", "/bridgewater/")
		submenu1.addItem("WEST PALM BEACH - Independence", "/independence/")
		submenu1.addItem("WEST PALM BEACH - Sequoia", "/sequoia/")
		submenu1.addItem("PALM CITY - Murano", "/murano/")
		submenu1.addItem("NAPLES - Amberton", "/amberton/")
		submenu1.addItem("TAMPA - LakeShore Ranch", "/lakeshore/")

//  These are flyouts for the PRICE-100s selection...
		var submenu2 = menu2.addMenu(menu2.items[1]);
		submenu2.addItem("North Pointe", "/northpointe/")
		submenu2.addItem("Sawgrass Bay", "/sawgrass/")
		submenu2.addItem("LakeShore Ranch", "/lakeshore/")
		submenu2.addItem("Amberton", "/amberton/")

//  These are flyouts for the PRICE-200s selection...
		var submenu3 = menu2.addMenu(menu2.items[2]);
		submenu3.addItem("Sawgrass Bay", "/sawgrass/")
		submenu3.addItem("LakeShore Ranch", "/lakeshore/")
		submenu3.addItem("Murano", "/murano/")
		submenu3.addItem("Independence", "/independence/")
		submenu3.addItem("Sequoia", "/sequoia/")
		submenu3.addItem("Bridgewater", "/bridgewater/")

//  These are flyouts for the PRICE-300s selection...
		var submenu4 = menu2.addMenu(menu2.items[3]);
		submenu4.addItem("Murano", "/murano/")
		submenu4.addItem("LakeShore Ranch", "/lakeshore/")
		submenu4.addItem("Independence", "/independence/")
		submenu4.addItem("Sequoia", "/sequoia/")
		submenu4.addItem("Bridgewater", "/bridgewater/")

//  These are flyouts for the COMING SOON selection...
		var submenu5 = menu2.addMenu(menu2.items[4]);
		submenu5.addItem("ORLANDO - Sawgrass Bay", "/sawgrass/")
		submenu5.addItem("WEST PALM BEACH - Charleston Commons", "#")
		submenu5.addItem("PORT ST. LUCIE - Torino Lakes", "/torinolakes/")
		submenu5.addItem("FT. PIERCE - Sedona", "/sedona/")
		submenu5.addItem("LIGHTHOUSE POINT - Venezia", "/venezia/")
		submenu5.addItem("DAVIE - Sierra Ranch", "/sierra/")
		submenu5.addItem("DAVIE - Sterling Groves", "/sterlinggroves/")

		//==================================================================================================
		//==================================================================================================

		var menu3 = ms.addMenu(document.getElementById("About"));
		menu3.addItem("Who We Are", "/who.php");
		menu3.addItem("Communities", "/map_past.php");

//		var submenu1 = menu3.addMenu(menu3.items[0]);
//		submenu1.addItem("Communities", "/map_past.php")

		//==================================================================================================
		//==================================================================================================

		var menu4 = ms.addMenu(document.getElementById("Contact"));
		menu4.addItem("Contacts", "/contact.php");
		menu4.addItem("Request Info", "/request.php");
		menu4.addItem("Homebuying Tips (Coming Soon)", "#");
		menu4.addItem("Mortgage Calculator", "/mortgage.php");

//		menu4.addItem("Warranty Info", "/warranty.php");
//		menu4.addItem("News", "/news.php");		

		//==================================================================================================
		//==================================================================================================

		var menu5 = ms.addMenu(document.getElementById("Customer"));
		menu5.addItem("Login", "/buildtopia/");
		menu5.addItem("Service Request", "/customer.php");

		//==================================================================================================
		//==================================================================================================

//		var menu6 = ms.addMenu(document.getElementById("Immediate"));
//		menu6.addItem("Customer Service", "/buildtopia/");

		//==================================================================================================
		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
	}
	