// 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("Business Assistance Programs", '/business-services/business-assistance-programs/');
					var submenu1 = menu1.addMenu(menu1.items[0]);

					submenu1.addItem("Incentive Programs", '/business-services/business-assistance-programs/incentive-programs.aspx');


				menu1.addItem("Regional Map", '/business-services/regional-map/');
					var submenu2 = menu1.addMenu(menu1.items[1]);

					submenu2.addItem("Business Resource Specialists", '/business-services/regional-map/business-resource-specialists.aspx');


				menu1.addItem("Start a Business in NH", '/business-services/start-a-business-in-nh/');
					var submenu3 = menu1.addMenu(menu1.items[2]);

					submenu3.addItem("How and why do you register your business?", '/business-services/start-a-business-in-nh/how-and-why-do-you-register-your-business.aspx');
					submenu3.addItem("Types of Business Entities in NH", '/business-services/start-a-business-in-nh/types-of-business-entities-in-nh.aspx');
					submenu3.addItem("How do you create a business plan?", '/business-services/start-a-business-in-nh/how-do-you-create-a-business-plan.aspx');
					submenu3.addItem("How do you protect your company's trade or service mark?", '/business-services/start-a-business-in-nh/how-do-you-protect-your-companys-trade-or-service-mark.aspx');
					submenu3.addItem("Who do you contact for state tax information?", '/business-services/start-a-business-in-nh/who-do-you-contact-for-state-tax-information.aspx');
					submenu3.addItem("Will you be hiring employees?", '/business-services/start-a-business-in-nh/will-you-be-hiring-employees.aspx');
					submenu3.addItem("Where can I find more information on NH small business programs and solutions?", '/business-services/start-a-business-in-nh/where-can-i-find-more-information-on-nh-small-business-programs-and-solutions.aspx');
					submenu3.addItem("Do you have a location for your business?", '/business-services/start-a-business-in-nh/do-you-have-a-location-for-your-business.aspx');
					submenu3.addItem("Does your company need help in financing?", '/business-services/start-a-business-in-nh/does-your-company-need-help-in-financing.aspx');
					submenu3.addItem("Will you or your company need a license?", '/business-services/start-a-business-in-nh/will-you-or-your-company-need-a-license.aspx');
					submenu3.addItem("Do you need help with state environmental permits?", '/business-services/start-a-business-in-nh/do-you-need-help-with-state-environmental-permits.aspx');
					submenu3.addItem("Do you have other questions related to doing business in NH?", '/business-services/start-a-business-in-nh/do-you-have-other-questions-related-to-doing-business-in-nh.aspx');


				menu1.addItem("NH Utilities / Broadband", '/business-services/nh-utilities.aspx');
				menu1.addItem("NH Manufacturer", '/business-services/nh-manufacturer.aspx');
				menu1.addItem("Energy Efficiency Programs", '/business-services/energy-efficiency-programs.aspx');
				menu1.addItem("Emergency Management Tools", '/business-services/Emergency Management Tools/');
					var submenu4 = menu1.addMenu(menu1.items[6]);



				menu1.addItem("Contact Us", '/business-services/contact-us.aspx');


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

				menu2.addItem("Maps", '/recruitment/maps.aspx');
				menu2.addItem("Incentives", '/recruitment/incentives.aspx');
				menu2.addItem("Insurance Industry Incentives", '/recruitment/Insurance-Industry-Incentives.aspx');
				menu2.addItem("Real Estate Search", '/recruitment/real-estate-search.aspx');
				menu2.addItem("State to State Comparison", '/recruitment/state-to-state-comparison.aspx');
				menu2.addItem("Regional Profiles", '/recruitment/regional-profiles.aspx');
				menu2.addItem("Data Research", '/recruitment/data-research.aspx');
				menu2.addItem("Business Testimonials", '/recruitment/business-testimonials.aspx');
				menu2.addItem("Meet the Recruitment Team", '/recruitment/meet-the-recruitment-team.aspx');
				menu2.addItem("Destination North Country", '/recruitment/destination-north-country.aspx');
				menu2.addItem("Why New Hampshire", '/recruitment/why-new-hampshire/');
					var submenu5 = menu2.addMenu(menu2.items[10]);



				menu2.addItem("Contact Us", '/recruitment/contact-us.aspx');
				menu2.addItem("Doing Business in NH", '/recruitment/doing-business-in-nh.aspx');


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

				menu3.addItem("Our Provided Services", '/sell-to-the-government/our-provided-services/');
					var submenu6 = menu3.addMenu(menu3.items[0]);

					submenu6.addItem("Meet the PTAP Team", '/sell-to-the-government/our-provided-services/meet-the-ptap-team.aspx');


				menu3.addItem("Getting Started -The New Client Questionnaire", '/sell-to-the-government/Getting Started-New Client Questionnaire.aspx');
				menu3.addItem("Small Business Matchmaker", '/sell-to-the-government/matchmaker.aspx');
				menu3.addItem("Selling to State Government", '/sell-to-the-government/selling-to-state-government.aspx');
				menu3.addItem("Business Designations", '/sell-to-the-government/business-designations/');
					var submenu7 = menu3.addMenu(menu3.items[4]);



				menu3.addItem("Registering on Federal Databases", '/sell-to-the-government/registering-on-federal-databases/');
					var submenu8 = menu3.addMenu(menu3.items[5]);



				menu3.addItem("Do Your Market Research", '/sell-to-the-government/do-your-market-research/');
					var submenu9 = menu3.addMenu(menu3.items[6]);



				menu3.addItem("PTAP Related Events and Announcements", '/sell-to-the-government/ptap-related-events-and-announcements.aspx');
				menu3.addItem("Rules, Regulations & Forms", '/sell-to-the-government/rules-regulations-and-forms/');
					var submenu10 = menu3.addMenu(menu3.items[8]);



				menu3.addItem("Specialized Procurement Topics", '/sell-to-the-government/specialized-procurement-topics/');
					var submenu11 = menu3.addMenu(menu3.items[9]);



				menu3.addItem("SBIR and STTR", '/sell-to-the-government/sbir-and-sttr.aspx');
				menu3.addItem("Training Opportunities", '/sell-to-the-government/training-opportunities/');
					var submenu12 = menu3.addMenu(menu3.items[11]);

					submenu12.addItem("Training Presentations", '/sell-to-the-government/training-opportunities/training-presentations.aspx');
					submenu12.addItem("Most Recent Training Pictures", '/sell-to-the-government/training-opportunities/Most-Recent-Training-Pictures.aspx');


				menu3.addItem("Client Spotlight & Success Stories", '/sell-to-the-government/client-spotlight.aspx');
				menu3.addItem("Contracting News", '/sell-to-the-government/contracting-news.aspx');
				menu3.addItem("Berlin Federal Prison", 'http://nheconomy.com/prison.aspx');
				menu3.addItem("Contact Us and Directions", '/sell-to-the-government/contact-us-and-directions.aspx');


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

				menu4.addItem("NH Workforce", '/workforce/nh-workforce.aspx');
				menu4.addItem("Education & Training Programs", '/workforce/education-and-training-programs.aspx');
				menu4.addItem("How We Can Help", '/workforce/how-we-can-help/');
					var submenu13 = menu4.addMenu(menu4.items[2]);

					submenu13.addItem("Meet the Team", '/workforce/how-we-can-help/meet-the-team.aspx');
					submenu13.addItem("Testimonials", '/workforce/how-we-can-help/testimonials.aspx');


				menu4.addItem("For Employers", '/workforce/for-employers/');
					var submenu14 = menu4.addMenu(menu4.items[3]);

					submenu14.addItem("Averting a Layoff", '/workforce/for-employers/averting-a-layoff.aspx');
					submenu14.addItem("WARN", '/workforce/for-employers/warn.aspx');
					submenu14.addItem("Averting Layoffs FAQs", '/workforce/for-employers/Avertinglayoffsfaq.aspx');
					submenu14.addItem("Rapid Response", '/workforce/for-employers/rapid-response.aspx');
					submenu14.addItem("Retraining", '/workforce/for-employers/retraining.aspx');
					submenu14.addItem("Mature Worker Assessment Tool", '/workforce/for-employers/matureworkerassesmenttool.aspx');
					submenu14.addItem("News From Employee Retention", '/workforce/for-employers/Newsfromemployessretention.aspx');


				menu4.addItem("For Employees", '/workforce/For Employees/');
					var submenu15 = menu4.addMenu(menu4.items[4]);

					submenu15.addItem("WOC", '/workforce/For Employees/woc.aspx');


				menu4.addItem("Employment", '/workforce/employment/');
					var submenu16 = menu4.addMenu(menu4.items[5]);

					submenu16.addItem("Elevate America", '/workforce/employment/elevate-america.aspx');


				menu4.addItem("Warn Business Services", '/workforce/WarnBusinessServices.aspx');
				menu4.addItem("Elevate America Voucher Request", '/workforce/elevate-america.aspx');
				menu4.addItem("Contact Us", '/workforce/contact-us.aspx');


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

				menu5.addItem("Business Resources by Service", 'http://www.buzgate.org/8.0/nh/fh.html?cb=nhecon#service');
				menu5.addItem("Business Resources by Agency", 'http://www.buzgate.org/8.0/nh/fh.html?cb=nhecon#agency');
				menu5.addItem("Business Resources by Title", 'http://www.buzgate.org/8.0/nh/fh_alpha.html?cb=nhecon');


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

				menu6.addItem("Executive Training", 'http://exportnh.com/our-services/executive-training.aspx');
				menu6.addItem("One on One Counseling", 'http://exportnh.com/our-services/one-on-one-counseling.aspx');
				menu6.addItem("Finance", 'http://exportnh.com/our-services/finance.aspx');
				menu6.addItem("Marketing", 'http://exportnh.com/our-services/marketing.aspx');
				menu6.addItem("Market Research", 'http://exportnh.com/our-services/market-research.aspx');
				menu6.addItem("Immigration", 'http://exportnh.com/our-services/immigration.aspx');
				menu6.addItem("Advocacy & Intervention", 'http://exportnh.com/our-services/advocacy-and-intervention.aspx');
				menu6.addItem("Logistics", 'http://exportnh.com/our-services/logistics.aspx');
				menu6.addItem("Resource Library", 'http://exportnh.com/our-services/resource-library.aspx');
				menu6.addItem("International Partnerships", 'http://exportnh.com/our-services/international-partnerships.aspx');
				menu6.addItem("Contact Us", 'http://exportnh.com/about-us/contact-info.aspx');


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

				menu9.addItem("Telecommunications Advisory Board", '/nheconomy-recovery/Telecommunicationsadvisoryboard.aspx');
				menu9.addItem("Grants, Loans, Resource Opportunities", '/nheconomy-recovery/GrantsLoansResourceOpportunities.aspx');
				menu9.addItem("Federal Stimulus", '/nheconomy-recovery/FederalStimulus.aspx');



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

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