// 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, 5, 2, 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("student"));
		menu1.addItem("Introduction", "student_work.htm");
		menu1.addItem("Fun Facts", "fun_facts.htm"); 
		menu1.addItem("Multimedia", ""); // send no URL if nothing should happen onclick
		menu1.addItem("Research Topics", "");
		menu1.addItem("Historical Documents", "historical_documents.htm");

		
		var submenu0 = menu1.addMenu(menu1.items[2]);
		submenu0.addItem("Photo Gallery", "photo_gallery.htm");
		submenu0.addItem("Multimedia Gallery", "multimedia_gallery.htm");
		
		var submenu0 = menu1.addMenu(menu1.items[3]);
		submenu0.addItem("Abraham Lincoln:Commander in Chief &amp; Political Leader", "student_sessler.htm");
		submenu0.addItem("Abraham Lincoln, Esquire", "student_kosloski.htm");
		submenu0.addItem("Abraham Lincoln and Race and Slavery", "student_francis.htm");
		submenu0.addItem("Abraham Lincoln and Religion", "al_religion.htm");
		submenu0.addItem("African American Military Service During the Civil War", "student_ruocco.htm");
		submenu0.addItem("Batavia, New York", "student_duval.htm");
		submenu0.addItem("Economics of Slavery", "student_battaglia.htm");
		submenu0.addItem("Emancipation Proclamation", "student_wutz.htm");
		submenu0.addItem("Just in the Nick of Time: The Election of 1864", "student_taggart.htm");
		submenu0.addItem("Underground Railroad", "underground_rr.htm");
		

    	//var submenu00 = submenu0.addMenu(submenu0.items[0]);
    	//submenu00.addItem("foo");
    	//submenu00.addItem("bar");
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("resources"));
		menu2.addItem("General Web Sites", "web_general.htm");
		menu2.addItem("Resources for Educators and Students", "resources_educators.htm");
		menu2.addItem("For Grade School Teachers and Beyond", "resources_gradeschool.htm");
		menu2.addItem("Web Sites by Topic", "");
		menu2.addItem("Research Resources", "");
		
		var submenu1 = menu2.addMenu(menu2.items[3]);
		submenu1.addItem("Abraham Lincoln", "web_lincoln.htm");
		submenu1.addItem("Anti-Slavery and Abolition", "web_antislavery.htm");
		submenu1.addItem("Buffalo and Western New York", "web_buffalo.htm");
		submenu1.addItem("The Civil War Home Front", "web_homefront.htm");
		submenu1.addItem("The Emancipation Proclamation", "web_emancipation.htm");
		submenu1.addItem("From Slavery to Freedom", "web_slaverytofreedom.htm");
		submenu1.addItem("The Underground Railroad", "web_undergroundrailroad.htm");
		submenu1.addItem("Women in the Civil War", "web_women.htm");
		
		var submenu1 = menu2.addMenu(menu2.items[4]);
		submenu1.addItem("19th C Texts", "web_19c.htm");
		submenu1.addItem("General History Databases", "web_history_db.htm");
		submenu1.addItem("Print Resources", "resources_print.htm");
		submenu1.addItem("Videos", "resources_videos.htm");
		//==================================================================================================

		//==================================================================================================
		//var menu3 = ms.addMenu(document.getElementById("acknowledgements"));
		//menu3.addItem("Planning Committee");
		//menu3.addItem("Local Sponsors");

		//var submenu2 = menu3.addMenu(menu3.items[0]);
		//var submenu3 = menu3.addMenu(menu3.items[1]);

		//submenu2.addItem("Hostel", "");
		//submenu2.addItem("Piazza Erba", "");
		//submenu2.addItem("Castle", "");
		//submenu2.addItem("Arena", "");

		//submenu3.addItem("Piazza San Marco", "");
		//submenu3.addItem("Lagoon", "");
		//submenu3.addItem("Hotel", "");
		//submenu3.addItem("Chichetti", "");
		//submenu3.addItem("Doge's Palace", "");
		//==================================================================================================


		//==================================================================================================
		// 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();
	}