// 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, 1, 0, TransMenu.reference.bottomLeft);
		
	//==================================================================================================
	// create a dropdown menu
	//==================================================================================================
	// the first parameter should be the HTML element which will act actuator for the menu
	//==================================================================================================
	
				var menu1 = ms.addMenu(document.getElementById('menu1'));

				menu1.addItem("What's New", '/media/whats-new-and-press-releases/');
				menu1.addItem("Story Ideas", '/media/whats-new-and-press-releases/story-ideas.aspx');
				menu1.addItem("Press Releases", '/media/whats-new-and-press-releases/pressreleases.aspx');
				menu1.addItem("Press Releases Archives", '/media/whats-new-and-press-releases/archives.aspx');
				menu1.addItem("Media Clips", '/media/whats-new-and-press-releases/clips.aspx');
				menu1.addItem("Media Clips Archives", '/media/whats-new-and-press-releases/clip-archives.aspx');


				var menu2 = ms.addMenu(document.getElementById('menu2'));

				menu2.addItem("Industry Research & Statistics", '/media/nh-travel-and-tourism-information/industry-research-and-statistics.aspx');
				menu2.addItem("Maps & Regional Information", '/about-new-hampshire/maps-and-regions/');
				menu2.addItem("State Facts", '/about-new-hampshire/state-facts.aspx');
				menu2.addItem("Ask Us a Question", '/media/nh-travel-and-tourism-information/ask-us-a-question.aspx');
				menu2.addItem("New Hampshire Firsts", '/media/nh-travel-and-tourism-information/nhfirsts.aspx');


				var menu3 = ms.addMenu(document.getElementById('menu3'));

				menu3.addItem("Logos", '/media/downloads/logos.aspx');
				menu3.addItem("Photos", '/media/downloads/photos.aspx');
				menu3.addItem("Usage Guidelines", '/media/downloads/usage-guidelines.aspx');
				menu3.addItem("Press Kit", '/media/downloads/press-kit.aspx');


				var menu4 = ms.addMenu(document.getElementById('menu4'));

				menu4.addItem("You're Invited", '/media/youre-invited/');
				menu4.addItem("Familiarization Tours", '/media/youre-invited/fam-tours.aspx');



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

	//==================================================================================================
		
	TransMenu.renderAll();
}
