// 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("Director's Letter", '/industry-members/about-us/directors-letter.aspx');
				menu1.addItem("Mission Statement", '/industry-members/about-us/mission-statement.aspx');
				menu1.addItem("Staff Directory", '/industry-members/about-us/staff-directory.aspx');
				menu1.addItem("Feedback", '/industry-members/about-us/feedback.aspx');
				menu1.addItem("FAQs", '/industry-members/about-us/faqs.aspx');
				menu1.addItem("Contact Us", '/industry-members/about-us/contact-us.aspx');


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

				menu2.addItem("Bulk Literature", '/industry-members/marketing-and-advertising/bulk-literature.aspx');
				menu2.addItem("Cultural Heritage", '/industry-members/marketing-and-advertising/cultural-heritage.aspx');
				menu2.addItem("Trade Shows", '/industry-members/marketing-and-advertising/trade-shows.aspx');
				menu2.addItem("Welcome Information Centers", '/industry-members/marketing-and-advertising/welcome-information-centers.aspx');
				menu2.addItem("Advertising Campaigns", '/industry-members/marketing-and-advertising/advertising-campaigns.aspx');
				menu2.addItem("Co-op Advertising Opportunities", '/industry-members/marketing-and-advertising/co-op-advertising-opportunities.aspx');
				menu2.addItem("Advertising Opportunities", '/industry-members/marketing-and-advertising/advertising-opportunities.aspx');
				menu2.addItem("Leads", '/industry-members/marketing-and-advertising/leads.aspx');
				menu2.addItem("Online Reservation System", '/industry-members/marketing-and-advertising/onlinereservationsystem.aspx');


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

				menu3.addItem("Tourism Resources", '/industry-members/education-and-research/tourism-resources.aspx');
				menu3.addItem("Program & Service Information", '/industry-members/education-and-research/program-and-service-info.aspx');
				menu3.addItem("Granite State Ambassadors", '/industry-members/education-and-research/gsa.aspx');
				menu3.addItem("2009 Governor's Conference on Tourism", '/industry-members/education-and-research/2008GovConference.aspx');
				menu3.addItem("2009 Discover New England Tourism Summit", '/industry-members/education-and-research/dnesummit07.aspx');
				menu3.addItem("New England Eco-Hospitality Expo", '/industry-members/education-and-research/eco-expo.aspx');
				menu3.addItem("Business Search", 'http://www.visitnh.gov/industry-members/business-search.aspx');
				menu3.addItem("Rooms and Meals Tax Information", '/industry-members/education-and-research/rooms-and-meals.aspx');


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

				menu4.addItem("Public Relations", '/industry-members/whats-new/public-relations.aspx');
				menu4.addItem("Calendar", '/industry-members/whats-new/calendar.aspx');
				menu4.addItem("Add Events", '/industry-members/whats-new/add-events/');
					var submenu1 = menu4.addMenu(menu4.items[2]);



				menu4.addItem("Press Releases", 'http://www.visitnh.gov/media/whats-new-and-press-releases/2007pressreleases.aspx');
				menu4.addItem("Media Contact List", '/industry-members/whats-new/media-contact-list/');
					var submenu2 = menu4.addMenu(menu4.items[4]);



				menu4.addItem("Photos (Travel & Tourism Library)", '/industry-members/whats-new/photos.aspx');
				menu4.addItem("Press and Trade Familiarization Tours", '/industry-members/whats-new/press-fam-tours.aspx');
				menu4.addItem("Logos", '/industry-members/whats-new/logos.aspx');


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

				menu5.addItem("In-State and Out-of-State JPP", '/industry-members/grants/jpp.aspx');
				menu5.addItem("Logos", '/industry-members/grants/logos.aspx');


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

				menu6.addItem("Volunteers", '/industry-members/jobs/volunteers.aspx');
				menu6.addItem("Interns", '/industry-members/jobs/interns.aspx');
				menu6.addItem("Employment", '/industry-members/jobs/employment.aspx');



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

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