// 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("Classifieds"));
		menu2.addItem("View Ads", "view_ads.php");
		menu2.addItem("Place New Ad", "place_ads.php");

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

		var menu3 = ms.addMenu(document.getElementById("Sailors"));
		menu3.addItem("Crew", "crew.php");
		menu3.addItem("Hurricane Section", "hurricane.php");
		menu3.addItem("Our Waterways", "waterways.php");
		menu3.addItem("Racing", "racing.php");
		menu3.addItem("Southern Sailing Business Directory", "sailing_products.php");
		menu3.addItem("Southern Yacht Club Directory", "yacht_club_dir.php");
		menu3.addItem("Southern Youth Sailing Programs", "yacht_sail_dir.php");
		menu3.addItem("Pick Up A Copy of Southwinds", "pickup_copy.php");
	
//  These are flyouts for the CREW selection...
		var submenu1 = menu3.addMenu(menu3.items[0]);
		submenu1.addItem("Find Crew", "crew.php")
		submenu1.addItem("Crew on a Boat", "crew.php")
		
//  These are flyouts for the HURRICANE selection...
		var submenu2 = menu3.addMenu(menu3.items[1]);
		submenu2.addItem("Hurricane Home Page", "hurricane.php")
		submenu2.addItem("Weather Web Sites", "weather.php")
		submenu2.addItem("Hurricane Information", "hurricane_info.php")
		submenu2.addItem("Boat Preparation Articles", "prep_articles.php")
		submenu2.addItem("Tides", "tides.php")

//  These are flyouts for the Waterways selection...
		var submenu3 = menu3.addMenu(menu3.items[2]);
		submenu3.addItem("Our Waterways", "waterways.php")
		submenu3.addItem("Wag Bags", "wagbags.php")		
		
//  These are flyouts for the RACING selection...
		var submenu4 = menu3.addMenu(menu3.items[3]);
		submenu4.addItem("Racing Home Page", "racing.php")
		submenu4.addItem("Southeast US Coast Racing Calendar", "#")
		submenu4.addItem("East Florida Racing Calendar", "#")
		submenu4.addItem("Southeast Florida Racing Calendar", "#")
		submenu4.addItem("Florida Keys Racing Calendar", "#")
		submenu4.addItem("West Florida Race Calendar", "race_calendar.php")
		submenu4.addItem("Northern Gulf Racing Calendar", "#")
		
//  These are flyouts for the SOUTHERN SAILING selection...
		var submenu5 = menu3.addMenu(menu3.items[4]);
		submenu5.addItem("Products & Services", "sailing_products.php")
		submenu5.addItem("Sailing Schools", "sailing_schools.php")

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

		var menu4 = ms.addMenu(document.getElementById("Business"));
		menu4.addItem("Products & Services", "sailing_products.php");
		menu4.addItem("Sailing Schools", "sailing_schools.php");

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

		var menu5 = ms.addMenu(document.getElementById("Writer"));
		menu5.addItem("Types of Articles Wanted", "types_articles.php");
		menu5.addItem("Photo Guidelines", "photo_guidelines.php");
		menu5.addItem("Writing Guidelines", "writing_guidelines.php");
		menu5.addItem("2010 Editorial Deadlines", "writer_deadlines.php");

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

		var menu6 = ms.addMenu(document.getElementById("Advertising"));
		menu6.addItem("General Information", "general_info.php");
		menu6.addItem("Editorial Calendar", "editorial_cal.php");
		menu6.addItem("Distribution", "distribution.php");
		menu6.addItem("Readership", "readership.php");
		menu6.addItem("Ad Rates", "ad_rates.php");
		menu6.addItem("Ad Deadlines", "ad_deadlines.php");
		menu6.addItem("Ad Specs", "ad_specs.php");
		menu6.addItem("Web Advertising", "web_advertising.php");

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


		//==================================================================================================
		//==================================================================================================
		// 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();
	}
	