// 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 menu6 = ms.addMenu(document.getElementById('menu6'));

				menu6.addItem("Forest Management Bureau", '/about-forests-and-lands/bureaus/forest-management-bureau.aspx');
				menu6.addItem("Forest Protection Bureau", '/about-forests-and-lands/bureaus/forest-protection-bureau.aspx');
				menu6.addItem("Forest Management", '/about-forests-and-lands/bureaus/forest-management.aspx');
				menu6.addItem("Land Management Bureau", '/about-forests-and-lands/bureaus/land-management-bureau.aspx');
				menu6.addItem("Planning & Community Forestry Bureau", '/about-forests-and-lands/bureaus/community-forestry-and-stewardship-bureau.aspx');
				menu6.addItem("Natural Heritage Bureau", '/about-forests-and-lands/bureaus/natural-heritage-bureau/');
					var submenu1 = menu6.addMenu(menu6.items[5]);

					submenu1.addItem("About Us", '/about-forests-and-lands/bureaus/natural-heritage-bureau/about-us/');
						var submenu2 = submenu1.addMenu(submenu1.items[0]);

						submenu2.addItem("Rare Plants", '/about-forests-and-lands/bureaus/natural-heritage-bureau/about-us/rare-plants.aspx');
						submenu2.addItem("Rarity and Ranking", '/about-forests-and-lands/bureaus/natural-heritage-bureau/about-us/rarity-and-ranking.aspx');
						submenu2.addItem("Natural Communities", '/about-forests-and-lands/bureaus/natural-heritage-bureau/about-us/naturalcommunities.aspx');


					submenu1.addItem("Services", '/about-forests-and-lands/bureaus/natural-heritage-bureau/services/');
						var submenu3 = submenu1.addMenu(submenu1.items[1]);

						submenu3.addItem("Forms", '/about-forests-and-lands/bureaus/natural-heritage-bureau/services/forms.aspx');
						submenu3.addItem("Refund", '/about-forests-and-lands/bureaus/natural-heritage-bureau/services/refund.aspx');
						submenu3.addItem("Short Form", '/about-forests-and-lands/bureaus/natural-heritage-bureau/services/short-form.aspx');


					submenu1.addItem("Publications", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/');
						var submenu4 = submenu1.addMenu(submenu1.items[2]);

						submenu4.addItem("Lists", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/lists.aspx');
						submenu4.addItem("Reports", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/report.aspx');
						submenu4.addItem("Minibook", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/minibook.aspx');
						submenu4.addItem("Fact Sheets", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/fact-sheets/');
							var submenu5 = submenu4.addMenu(submenu4.items[3]);

							submenu5.addItem("Natural Community Fact Sheets", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/fact-sheets/natural-community-fact-sheets.aspx');
							submenu5.addItem("Plant Fact Sheets by Common Name", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/fact-sheets/plant-fact-sheets.aspx');
							submenu5.addItem("Plant Fact Sheets by Scientific Name", '/about-forests-and-lands/bureaus/natural-heritage-bureau/publications/fact-sheets/plant-fact-sheets-sci-name.aspx');




					submenu1.addItem("Photo Index", '/about-forests-and-lands/bureaus/natural-heritage-bureau/photo-index/');
						var submenu6 = submenu1.addMenu(submenu1.items[3]);



					submenu1.addItem("FAQs", '/natural-heritage-and-habitats/frequently-asked-questions.aspx');
					submenu1.addItem("Links", '/about-forests-and-lands/bureaus/natural-heritage-bureau/links.aspx');
					submenu1.addItem("Contact Us", '/about-forests-and-lands/bureaus/natural-heritage-bureau/contact-us.aspx');


				menu6.addItem("Seasonal Archive", '/about-forests-and-lands/bureaus/seasonal-archive/');
					var submenu7 = menu6.addMenu(menu6.items[6]);





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

				menu7.addItem("Forest Advisory Board", '/about-forests-and-lands/boards-commissions-committees/forest-advisory-board.aspx');
				menu7.addItem("Community Forestry Advisory Council", '/about-forests-and-lands/boards-commissions-committees/community-forestry-advisory-council.aspx');
				menu7.addItem("Nash Stream Citizens Committee", '/about-forests-and-lands/boards-commissions-committees/nash-stream-citizens-committee.aspx');
				menu7.addItem("Connecticut Lakes Headwaters Partnership Task Force", '/about-forests-and-lands/boards-commissions-committees/connecticut.aspx');



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

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

