  // 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, -3, TransMenu.reference.bottomLeft);

    //==================================================================================================
    // create a dropdown menu
    //==================================================================================================
    // the first parameter should be the HTML element which will act actuator for the menu
	// EX: "Name_of_menu".addItem(name, url, open in new window)
    //==================================================================================================
    var menu2 = ms.addMenu(document.getElementById("about"));
    menu2.addItem("A Message from the Director", "message_director.html", "no");
	menu2.addItem("40th Anniversary", "40th.html", "no");
	menu2.addItem("History and Mission", "history.html", "no");
	menu2.addItem("Structure of the Center", "structure.html", "no");
	menu2.addItem("Directors", "directors2.html", "no");
	menu2.addItem("Community Advisory Board", "advisory_board.html", "no");
	menu2.addItem("Faculty Advisory Committee", "advisory_committee.html", "no");
	
	menu2.addItem("Bunche Review", "");
	menu2.addItem("Media", "");
	menu2.addItem("Ralph J. Bunche", "bunche_bio.html", "no");
	menu2.addItem("Campus Map", "http://maps.ucla.edu/campus?cpoint=6427997.62659783,1849212.10533002&level=3&a_layers=Base%20Map&s_resource=Base%20Map&s_layer=Campus%20Building&s_field=OBJECTID&s_value=73", "yes");
	
	var submenuREVIEW = menu2.addMenu(menu2.items[7]);
	
	submenuREVIEW.addItem("Bunche Review Vol. 1", "http://www.bunche.ucla.edu/publications/BuncheReviewVOL1.pdf", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 2", "http://www.bunche.ucla.edu/publications/TheBuncheReview-VOL%20TWO2.pdf", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 3", "http://www.bunche.ucla.edu/publications/Review2004.pdf", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 4", "http://www.bunche.ucla.edu/publications/Review2005b.pdf", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 5", "http://www.bunche.ucla.edu/publications/Review2006a.pdf", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 6", "", "yes");
	submenuREVIEW.addItem("Bunche Review Vol. 7", "http://www.bunche.ucla.edu/publications/Review_vol7.pdf", "yes");
		
	
	var submenuMEDIA = menu2.addMenu(menu2.items[8]);
	
	submenuMEDIA.addItem("BuncheTV", "bunchetv.html", "no");
	submenuMEDIA.addItem("Bunche Center In the News", "bunchenews.html", "no");
	submenuMEDIA.addItem("Faculty In the News", "facultynews.html", "no");
	
	//==================================================================================================

    //==================================================================================================
    var menu3 = ms.addMenu(document.getElementById("people"));
    menu3.addItem("Core Faculty", "core_faculty.html", "no");
	menu3.addItem("Affiliated Faculty", "affiliated.html", "no");
	menu3.addItem("Staff", "staff.html", "no");
    //==================================================================================================

    //==================================================================================================
    var menu4 = ms.addMenu(document.getElementById("research"));
    menu4.addItem("Research Overview", "research_overview.html", "no");
	menu4.addItem("Research Associates Program", "research_associates_program.html", "no");
	menu4.addItem("Black L.A.", "");
	menu4.addItem("CAPAA", "");
	menu4.addItem("Institute of American Cultures", "");
	menu4.addItem("Research In Progress", "research_in_progress.html", "no");
	menu4.addItem("Research Archives", "");
	menu4.addItem("Resources", "");
	
	var submenuBLACK_LA = menu4.addMenu(menu4.items[2]);
	
	submenuBLACK_LA.addItem("Overview", "black_la.asp?select=", "no");
	submenuBLACK_LA.addItem("Projects", "");
	
		var submenuBLA_PRO = submenuBLACK_LA.addMenu(submenuBLACK_LA.items[1]);
		submenuBLA_PRO.addItem("Incarcerated Persons (under construction)", "");
		submenuBLA_PRO.addItem("Black Musicians Oral History (under construction)", "");
		submenuBLA_PRO.addItem("Black Politicians Oral History (under construction)", "");
		submenuBLA_PRO.addItem("Black Like Me (under construction)", "");
	
	var submenuCAPAA = menu4.addMenu(menu4.items[3]); 
    
	submenuCAPAA.addItem("CAPAA Research Overview", "capaa_overview.html", "no");
	submenuCAPAA.addItem("CAPAA Research Products", "capaa_project_products.html", "no");
	submenuCAPAA.addItem("CAPAA Resources & Archives", "");
	submenuCAPAA.addItem("Bunche Research Report", "bunche_report.html", "no");
	submenuCAPAA.addItem("Research Team", "capaa_research_team.html", "no");
	
		var submenuCAP_RES = submenuCAPAA.addMenu(submenuCAPAA.items[2]);
		
		submenuCAP_RES.addItem("CAPAA News", "capaa_news.html", "no");
		submenuCAP_RES.addItem("CAPAA Mini-Grants", "capaa_mini_grants.html", "no");
		submenuCAP_RES.addItem("CAPAA Resources", "capaa_resources.html", "no");
		submenuCAP_RES.addItem("Past CAPAA Events", "past_capaa_events.html", "no");
	
	var submenuIAC = menu4.addMenu(menu4.items[4]);
	
	submenuIAC.addItem("Overview", "IAC_Overview.html", "no");
	submenuIAC.addItem("IAC Fellows and Awardees", "IAC_Fellows.html", "no");
	
	var submenuResearch_Archive = menu4.addMenu(menu4.items[6]);
	
	submenuResearch_Archive.addItem("Past Projects", "");
	submenuResearch_Archive.addItem("Past Products", "research_products.html", "no");
	submenuResearch_Archive.addItem("Past Conferences & Colloquia (under construction)", "");
		
		var submenuPast_Pro = submenuResearch_Archive.addMenu(submenuResearch_Archive.items[0]);
		
		submenuPast_Pro.addItem("Race and Democracy Conference", "race_democracy.html", "no");
		submenuPast_Pro.addItem("Race and Hollywood", "http://www.bunche.ucla.edu/research/buncherepvol1num1.pdf", "yes");
		submenuPast_Pro.addItem("2004 Bunche Symposium", "http://www.bunche.ucla.edu/research/04Symposium/Bunche%20Symposium%20Home%20Page.htm", "yes");
			
	var submenuResources = menu4.addMenu(menu4.items[7]);
	
	submenuResources.addItem("Bibiliography", "research_biblio.html", "no");
	submenuResources.addItem("Important Links", "important_links.html", "no");

    //==================================================================================================

    //==================================================================================================
    var menu1 = ms.addMenu(document.getElementById("publications"));
    menu1.addItem("Bunche Research Report", "bunche_report.html", "no"); 
    menu1.addItem("Bunche Review"); // send no URL if nothing should happen onclick
	menu1.addItem("New Titles");
	menu1.addItem("Now Available", "pub_available.html", "no");
	menu1.addItem("Order Information", "order_info.html", "no");
	menu1.addItem("Order Form", "order_form.pdf", "yes");
	menu1.addItem("CAAS Publications Series", "pub_series.html", "no");
	menu1.addItem("Writer's Guidelines", "writers_guide.html", "no");
	
    var submenu0 = menu1.addMenu(menu1.items[1]);
    submenu0.addItem("Bunche Review Vol. 1", "http://www.bunche.ucla.edu/publications/BuncheReviewVOL1.pdf", "yes");
    submenu0.addItem("Bunche Review Vol. 2", "http://www.bunche.ucla.edu/publications/TheBuncheReview-VOL%20TWO2.pdf", "yes");
    submenu0.addItem("Bunche Review Vol. 3", "http://www.bunche.ucla.edu/publications/Review2004.pdf", "yes");
    submenu0.addItem("Bunche Review Vol. 4", "http://www.bunche.ucla.edu/publications/Review2005b.pdf", "yes");
    submenu0.addItem("Bunche Review Vol. 5", "http://www.bunche.ucla.edu/publications/Review2006a.pdf", "yes");
	submenu0.addItem("Bunche Review Vol. 6", "");
	submenu0.addItem("Bunche Review Vol. 7", "http://www.bunche.ucla.edu/publications/Review_vol7.pdf", "yes");
	
	var submenu_New = menu1.addMenu(menu1.items[2]);
	submenu_New.addItem("No new titles at this time", "");
    //==================================================================================================

    //==================================================================================================
    var menu5 = ms.addMenu(document.getElementById("projects"));
	menu5.addItem("Special Projects Overview", "spproject_overview.html", "no");
    menu5.addItem("Thurgood Marshall Lecture", "");
	menu5.addItem("Circle of Thought", "circle_thought.html", "no");
	menu5.addItem("Bunche Chair Lecture", "");
	menu5.addItem("Prison Outreach Project", "prison.html", "no");
	menu5.addItem("Holiday Food Drive", "holiday_food_drive.html", "no");
	menu5.addItem("Past Projects", "");
	
	var submenuTM = menu5.addMenu(menu5.items[1]);
	submenuTM.addItem("Thurgood Marshall Lecture Overview", "tm_lecture.html", "no");
	submenuTM.addItem("Thurgood Marshall Biography", "tm_bio.html", "no");
	submenuTM.addItem("2009 Honoree", "tm_honoree09.html", "no");
	submenuTM.addItem("2009 Sponsors", "tm_sponsor_09.html", "no");
	submenuTM.addItem("Directions to Thurgood Marshall Lecture", "http://maps.ucla.edu/campus?cpoint=6425470.13918306,1849063.36200798&level=3&a_layers=Base%20Map&s_resource=Base%20Map&s_layer=Campus%20Building&s_field=SDE.CMPS_BLDG_AREA.OBJECTID&s_value=88", "yes");

	submenuTM.addItem("2008 Honoree", "tm_honoree08.html", "no");
	submenuTM.addItem("Past Honorees", "tm_past.html", "no");
	
	var submenuBCL = menu5.addMenu(menu5.items[3]);
	submenuBCL.addItem("Bunche Chair Histoy", "bunche_chair_history.html", "no");
	submenuBCL.addItem("Bunche Endowed Chair Committee", "bunche_endowed_chair.html", "no");
	submenuBCL.addItem("Ralph J. Bunche Biography", "bunche_bio.html", "no");
	submenuBCL.addItem("2008 Bunche Chair Lecture", "bcl_2008.html", "no");
	submenuBCL.addItem("2008 Bunche Chair Honoree", "bcl_honoree08.html", "no");
	submenuBCL.addItem("2007 Bunche Chair Lecture", "bcl_2007.html", "no");
	submenuBCL.addItem("2007 Bunche Chair Honoree", "bcl_honoree07.html", "no");
	
	
    var submenu6 = menu5.addMenu(menu5.items[6]);
	submenu6.addItem("Jazz At The Bakery", "jazz_bakery.html", "no");
    submenu6.addItem("Slavery Colloquium (under construction)", "");
    submenu6.addItem("UCLA Extension Writer's Program", "ucla_extension_writers.html", "no");
	submenu6.addItem("Other Past Events", "past_events.html", "no");
   
    //==================================================================================================
	
	 //==================================================================================================
    var menu6 = ms.addMenu(document.getElementById("library"));
	menu6.addItem("About the Library and Media Center", "aboutlibrary.html", "no");
    menu6.addItem("Kenny Burrell Archive", "");
	menu6.addItem("Carlos Moore Collection", "");
	menu6.addItem("Special Collection", "lmc_special.html", "no");
	menu6.addItem("Vertical Files", "");
	menu6.addItem("Journals", "lmc_journals.html", "no");
	menu6.addItem("Media Collection", "");
	menu6.addItem("Internet Resources", "lmc_resources.html", "no");
	menu6.addItem("Bibiliographies", "lmc_biblio.html", "no");

	var submenuKB = menu6.addMenu(menu6.items[1]);
	submenuKB.addItem("About the Burrell Archive", "lmc_kennyARC.html", "no");
	submenuKB.addItem("Kenny Burrell Biography", "lmc_kennyBIO.html", "no");
	submenuKB.addItem("Discography", "lmc_disco.html", "no");
	
	var submenuCM = menu6.addMenu(menu6.items[2]);
	submenuCM.addItem("Carlos Moore Biography", "lmc_carlos_bios.html", "no");
	submenuCM.addItem("Carlos Moore Collection Finding Aid", "lmc_carlos_findaid.html", "no");
	submenuCM.addItem("Carlos Moore Collection Container List", "lmc_carlos_collection_list.htm", "no");
	
    var submenu7 = menu6.addMenu(menu6.items[4]);
    submenu7.addItem("Periodicals", "lmc_period.html", "no");
	submenu7.addItem("File Topics", "lmc_file_topics.html", "no");
	submenu7.addItem("Bibiliographical Topics", "lmc_bio_collect.html", "no");
	submenu7.addItem("Miscellaneous", "lmc_misc.html", "no");
	
	var submenu7b = menu6.addMenu(menu6.items[6]);
    submenu7b.addItem("Audio CD (coming soon)", "");
	submenu7b.addItem("Cassette Tape (coming soon)", "");
	submenu7b.addItem("DVD (coming soon)", "");
	submenu7b.addItem("VHS Tape (coming soon)", "");
   
    //==================================================================================================

    //==================================================================================================
    var menu7 = ms.addMenu(document.getElementById("links"));

    //==================================================================================================
	
	//==================================================================================================
    var menu8 = ms.addMenu(document.getElementById("shi"));
    menu8.addItem("SHI Overview", "shi_overview.html", "no");
    menu8.addItem("Student Accomplishments", "shi_student_accomp.html", "no");
    menu8.addItem("Eligibility", "shi_eligibility.html", "no");
    menu8.addItem("Application Process", "shi_application.html", "no");
	menu8.addItem("More Information", "shi_more_info.html", "no");
    //==================================================================================================
	
	//==================================================================================================
    var menu9 = ms.addMenu(document.getElementById("degree"));
    menu9.addItem("The Interdepartmental Program", "idp.html", "no");
    menu9.addItem("Admissions and Transfers", "degree_admission.html", "no");
	menu9.addItem("Undergraduate Program", "");
	menu9.addItem("Graduate Program","");
	menu9.addItem("IDP Affiliated Faculty", "affiliated.html", "no");
	menu9.addItem("Major Concentrations", "degree_concen.html", "no");
    menu9.addItem("Scholarships", "http://www.bunche.ucla.edu/degree/PDFs/Scholarships.pdf", "yes");
	
	var menuUnder = menu9.addMenu(menu9.items[2]);
	menuUnder.addItem("B.A. Degree", "degree_ba.html", "no");
	menuUnder.addItem("Major Requirements", "degree_ba.html#major", "no");
	menuUnder.addItem("Minor Requirements", "degree_ba.html#minor", "no");
	menuUnder.addItem("Transfers", "degree_ba.html#transfer", "no");
	
	var menuGrad = menu9.addMenu(menu9.items[3]);
	menuGrad.addItem("M.A Program", "");
	menuGrad.addItem("M.A./J.D. Program", "degree_majd.html", "no");
	
		var menuMA = menuGrad.addMenu(menuGrad.items[0]);
		menuMA.addItem("About the M.A. Program", "degree_ma.html#ma", "no");
		menuMA.addItem("Prospective M.A. Students", "degree_MA_prosp.html", "no");
		menuMA.addItem("Admission", "degree_ma.html#admission", "no");
		menuMA.addItem("Course Requirements", "degree_ma.html#course_req", "no");
		menuMA.addItem("Areas of Study", "degree_ma.html#areas", "no");
		menuMA.addItem("Other Information", "degree_ma.html#info", "no");
		
    //==================================================================================================
    //==================================================================================================
    // 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();
  }