// 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("President's Welcome", 'http://www.granite.edu/about-gsc/presidents-welcome.aspx');
				menu1.addItem("Mission", 'http://www.granite.edu/about-gsc/mission.aspx');
				menu1.addItem("Accreditation", 'http://www.granite.edu/about-gsc/accreditation.aspx');
				menu1.addItem("Facts & Figures", 'http://www.granite.edu/about-gsc/facts-and-figures.aspx');
				menu1.addItem("Press Releases", 'http://www.granite.edu/about-gsc/news-and-events/');
				menu1.addItem("Awards & Honors", 'http://www.granite.edu/about-gsc/awards-and-honors/');
				menu1.addItem("Employment", 'http://www.granite.edu/about-gsc/employment.aspx');
				menu1.addItem("GSC Council", 'http://www.granite.edu/about-gsc/council.aspx');
				menu1.addItem("Student Consumer Information", 'http://www.granite.edu/studentconsumerinformation.aspx');


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

				menu2.addItem("Register for Classes Today!", 'http://www.granite.edu/current-students/registration-and-records/register_now.aspx');
				menu2.addItem("Degrees", 'http://www.granite.edu/academics/degrees/');
				menu2.addItem("Online Programs", 'http://www.granite.edu/academics/online-programs/');
				menu2.addItem("Teacher Education", 'http://www.granite.edu/academics/teacher-education/');
				menu2.addItem("Academic Calendar", 'http://www.granite.edu/academics/academiccalendar.aspx');
				menu2.addItem("Noncredit & Training", 'http://www.granite.edu/academics/noncredit-and-training/');
				menu2.addItem("Course Schedule & Catalog", 'http://www.granite.edu/academics/catalog-and-course-schedule/');
				menu2.addItem("Transfer Options", 'http://www.granite.edu/prospective-students/transfer-options.aspx');


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

				menu3.addItem("Register for Classes Today!", 'http://www.granite.edu/current-students/registration-and-records/register_now.aspx');
				menu3.addItem("Getting Started", 'http://www.granite.edu/prospective-students/how-to-get-started/');
				menu3.addItem("Transfer Options", 'http://www.granite.edu/prospective-students/transfer-options.aspx');
				menu3.addItem("Steps to Transfer", 'http://www.granite.edu/prospective-students/transfersteps.aspx');
				menu3.addItem("Prior Learning Credit", 'http://www.granite.edu/prospective-students/prior-learning-credit/');
				menu3.addItem("Financial Aid", 'http://www.granite.edu/prospective-students/financial-aid/');
				menu3.addItem("Tuition & Fees", 'http://www.granite.edu/prospective-students/tuition-and-fees.aspx');
				menu3.addItem("FAQs", 'http://www.granite.edu/prospective-students/faqs.aspx');


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

				menu4.addItem("Register for Classes Today!", 'http://www.granite.edu/current-students/registration-and-records/register_now.aspx');
				menu4.addItem("New Student Orientation", 'http://www.granite.edu/current-students/new-student-orientation.aspx');
				menu4.addItem("Financial Aid", 'http://www.granite.edu/prospective-students/financial-aid/');
				menu4.addItem("Support Services", 'http://www.granite.edu/current-students/supportservices.aspx');
				menu4.addItem("Registrar's Office", 'http://www.granite.edu/current-students/registration-and-records/');
				menu4.addItem("Student Accounts", 'http://www.granite.edu/current-students/studentaccounts/');
				menu4.addItem("Virtual Library", 'http://www.granite.edu/current-students/virtual-library/');
				menu4.addItem("Online Bookstore & Merchandise", 'http://www.granite.edu/current-students/online-bookstore-and-merchandise.aspx');
				menu4.addItem("Policies & Procedures", 'http://www.granite.edu/current-students/policies-and-procedures/');


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

				menu5.addItem("Berlin-classes only", 'http://www.granite.edu/locations/berlin.aspx');
				menu5.addItem("Claremont", 'http://www.granite.edu/locations/claremont.aspx');
				menu5.addItem("Concord", 'http://www.granite.edu/locations/concord.aspx');
				menu5.addItem("Conway", 'http://www.granite.edu/locations/conway.aspx');
				menu5.addItem("Lebanon-classes only", 'http://www.granite.edu/locations/lebanon.aspx');
				menu5.addItem("Littleton-classes only", 'http://www.granite.edu/locations/littleton.aspx');
				menu5.addItem("Manchester-classes only", 'http://www.granite.edu/locations/manchester.aspx');
				menu5.addItem("Portsmouth-classes only", 'http://www.granite.edu/locations/portsmouth.aspx');
				menu5.addItem("Rochester", 'http://www.granite.edu/locations/rochester.aspx');



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

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