// 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("About Us", 'http://exportnh.org/about-us/');
				menu1.addItem("Meet The Team", '/about-us/MeetTheTeam.aspx');
				menu1.addItem("Contact Info", '/about-us/contact-info.aspx');
				menu1.addItem("Directions", '/about-us/directions.aspx');
				menu1.addItem("Our Partners", '/about-us/our-partners.aspx');
				menu1.addItem("Awards", '/about-us/awards.aspx');
				menu1.addItem("Photo Gallery", '/photoGallery/');


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

				menu2.addItem("Our Services", 'http://exportnh.org/our-services/');
				menu2.addItem("Executive Training", '/our-services/executive-training.aspx');
				menu2.addItem("One on One Counseling", '/our-services/one-on-one-counseling.aspx');
				menu2.addItem("Finance", '/our-services/finance.aspx');
				menu2.addItem("Marketing", '/our-services/marketing.aspx');
				menu2.addItem("Market Research", '/our-services/market-research.aspx');
				menu2.addItem("Advocacy & Intervention", '/our-services/advocacy-and-intervention.aspx');
				menu2.addItem("Food Export USA-Northeast", '/our-services/foodexport.aspx');
				menu2.addItem("Logistics", '/our-services/logistics.aspx');
				menu2.addItem("International Partnerships", '/our-services/international-partnerships.aspx');
				menu2.addItem("Links", '/our-services/links.aspx');
				menu2.addItem("US Export Controls", '/our-services/exportcompliance.aspx');


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

				menu3.addItem("Calendar of Events", 'http://exportnh.org/calendar/');
				menu3.addItem("Event and Seminar Registration", '/calendar/registration.aspx');


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

				menu5.addItem("What's New", 'http://exportnh.org/whats-new/');
				menu5.addItem("NH Export Statistics", '/whats-new/nh-export-statistics.aspx');
				menu5.addItem("News Clips", '/whats-new/news-clips.aspx');


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

				menu6.addItem("Stories", '/stories/stories.aspx');


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

				menu7.addItem("Medical Technologies", 'http://globalmarketing.exportnh.org/medical_technologies/');
				menu7.addItem("Safety and Security", '/consortia/safety-and-security.aspx');



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

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

