// 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, 4, 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("aboutus"));
		menu1.addItem("Mission", "http://www.carrollschool.org/about/index.html");
		menu1.addItem("Culture", "http://www.carrollschool.org/about/approach.html");
		menu1.addItem("History", "http://www.carrollschool.org/about/history.html");
		menu1.addItem("Faculty & Staff Directory", "http://www.carrollschool.org/documents/about/carroll_faculty&staff.pdf");
		menu1.addItem("Leadership", "http://www.carrollschool.org/about/headofschool.html");
		menu1.addItem("Employment", "http://www.carrollschool.org/about/employment.html");
		menu1.addItem("Contact Carroll", "http://www.carrollschool.org/about/questions.html");
		menu1.addItem("Directions", "http://www.carrollschool.org/admissions/directions.html");
		
			
		//==================================================================================================

		//==================================================================================================
				
		var menu2 = ms.addMenu(document.getElementById("academics"));
		menu2.addItem("Curriculum", "http://www.carrollschool.org/academics/index.html");
		menu2.addItem("New Ninth Grade Program", "http://www.carrollschool.org/academics/ninthgrade.html");
		menu2.addItem("Academic Programs", "http://www.carrollschool.org/academics/programs.html");
		menu2.addItem("Courses of Instruction", "http://www.carrollschool.org/academics/courses.html");
		menu2.addItem("Carroll Student Links", "http://mail.carrollschool.org/");
		menu2.addItem("The Carroll School Library", "http://www.carrollschool.org/academics/library.html");
		menu2.addItem("No Child Left Unorganized", "http://www.carrollschool.org/academics/nclu.html");
		menu2.addItem("Technology", "http://www.carrollschool.org/academics/technology.html");
		menu2.addItem("Multis", "http://www.carrollschool.org/academics/specials.html");

		var menu3 = ms.addMenu(document.getElementById("admission"));
		menu3.addItem("Process", "http://www.carrollschool.org/admissions/index.html");
		menu3.addItem("Middle School Expansion", "http://www.carrollschool.org/admissions/ms-expansion.html");
		menu3.addItem("Application &amp; Required Materials", "http://www.carrollschool.org/admissions/materials.html");
		menu3.addItem("Admissions Video", "http://www.carrollschool.org/admissions/admissionvideo.html");
		menu3.addItem("Financing a Carroll Education", "http://www.carrollschool.org/admissions/financing.html");
		menu3.addItem("Schools After Carroll", "http://www.carrollschool.org/admissions/aftercarroll.html");
		menu3.addItem("Learn More", "http://www.carrollschool.org/admissions/learnmore.html");
		
		var menu4 = ms.addMenu(document.getElementById("resources"));
		menu4.addItem("What is Dyslexia", "http://www.carrollschool.org/resources/index.html");
		menu4.addItem("Speaker Series", "http://www.carrollschool.org/resources/speakerseries.html");
		menu4.addItem("Additional Resources", "http://www.carrollschool.org/resources/addlresource.html");

		var menu5 = ms.addMenu(document.getElementById("foreducators"));
		menu5.addItem("Welcome", "http://www.carrollschool.org/educators/index.html");
		menu5.addItem("Garside Institute for Teacher Training", "http://www.carrollschool.org/educators/giftt.html");
		menu5.addItem("Master's Degree School-Based Internship", "http://www.carrollschool.org/educators/masters.html");
		menu5.addItem("Carroll Professional Development", "http://www.carrollschool.org/educators/profdev.html");
		menu5.addItem("Center for Innovative Education", "http://www.carrollschool.org/educators/ccil.html");
		menu5.addItem("Outreach Mailing List", "http://www.carrollschool.org/educators/outreach.html");
		
		var menu6 = ms.addMenu(document.getElementById("alumni"));
		menu6.addItem("Welcome", "http://www.carrollschool.org/alumni/index.html");
		menu6.addItem("Alumni Community", "http://www.carrollschool.org/alumni/alumni.html");
		menu6.addItem("Support Carroll", "http://www.carrollschool.org/alumni/annualfund.html");
		menu6.addItem("Contact Us", "http://www.carrollschool.org/alumni/contact.html");
		
		var menu7 = ms.addMenu(document.getElementById("parents"));
		menu7.addItem("Welcome", "http://www.carrollschool.org/parents/index.html");
		menu7.addItem("Parents' Page", "http://www.carrollschool.org/parents/parentspage.html");
		menu7.addItem("Parents' Password Protected Site", "https://secure.carrollschool.org/CWC/validate/index_val.php?action=login_PNT");
		menu7.addItem("Parents' Association", "http://www.carrollschool.org/parents/parentassoc.html");
		menu7.addItem("Support Carroll", "http://www.carrollschool.org/alumni/annualfund.html");

		var menu8 = ms.addMenu(document.getElementById("summeratcarroll"));
		menu8.addItem("Welcome", "http://www.carrollschool.org/summer/index.html");
		menu8.addItem("Summer@Carroll Overview", "http://www.carrollschool.org/summer/summer-overview.html");
		menu8.addItem("Technology, Engineering and Design", "http://www.carrollschool.org/summer/ted.html");
		menu8.addItem("Summer@Carroll Speaker Series", "http://www.carrollschool.org/summer/summer-speaker.html");
		menu8.addItem("Applications &amp; Forms", "http://www.carrollschool.org/summer/process.html");
		menu8.addItem("Tuition &amp; Financial Aid", "http://www.carrollschool.org/summer/tuition.html");
		
		//==================================================================================================

		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
	}