	// 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 (papichDropDown.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 papichDropDownSet(papichDropDown.direction.down, 0, 0, papichDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		//var menu1 = document.getElementById("menu1");
		//menu1.addItem("- Code of Conduct", "#"); // send no URL if nothing should happen onclick
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- About Us", urlRoot + "/company/index.htm"); // send no URL if nothing should happen onclick
		menu2.addItem("- History", urlRoot + "/company/history/index.htm"); // send no URL if nothing should happen onclick
		menu2.addItem("- Community", urlRoot + "/company/community/index.htm");
		
		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
		// submenu
//		var subMenu2 = menu2.addMenu(menu2.items[3]);
//		subMenu2.addItem("- Administration", urlRoot + "/administration.htm");
//		subMenu2.addItem("- East Office", "/east.htm");
		
		// menu
    	var menu3 = ms.addMenu(document.getElementById("menu3"));
    	
		menu3.addItem("- Commercial", "#");
		menu3.addItem("- Highway", "#");
		menu3.addItem("- Landfills", "#");
		menu3.addItem("- Municipal / Gov.", "#");
		menu3.addItem("- Residential Housing Tracts", "#");

   		// submenu
		var subMenu3 = menu3.addMenu(menu3.items[0]);
		subMenu3.addItem("- Golden Hills Plaza, CA", urlRoot + "/projects/goldenhillsplaza/index.htm");
		subMenu3.addItem("- Lowes, Bakersfield, CA", urlRoot + "/projects/lowes/index.htm");
		subMenu3.addItem("- Porterville, CA", urlRoot + "/projects/porterville/index.htm");
		
		var subMenu3b = menu3.addMenu(menu3.items[1]);
		subMenu3b.addItem("- Highway 192, CA", urlRoot + "/projects/hwy192/index.htm");
		subMenu3b.addItem("- Highway 46, CA", urlRoot + "/projects/hwy46/index.htm");
		subMenu3b.addItem("- Harmony, CA", urlRoot + "/projects/harmony/index.htm");
		subMenu3b.addItem("- Jamala Road, CA", urlRoot + "/projects/jamalaroad/index.htm");
		subMenu3b.addItem("- 2005 California DOT Slide Repairs", urlRoot + "/projects/2005casliderepairs/index.htm");
		
		var subMenu3c = menu3.addMenu(menu3.items[2]);
		subMenu3c.addItem("- Bena Landfill, Bakersfield, CA", urlRoot + "/projects/benalandfill/index.htm");
		subMenu3c.addItem("- Merced Landfill - Merced, CA", urlRoot + "/projects/mercedlandfill/index.htm");
		subMenu3c.addItem("- Edom Hill Landfill - Palm Springs, CA", urlRoot + "/projects/palmspringslandfill/index.htm");
		subMenu3c.addItem("- Tajiguas Landfill - Goleta, CA", urlRoot + "/projects/tajiguaslandfill/index.htm");
		subMenu3c.addItem("- China Grade Landfill - CA", urlRoot + "/projects/chinagradelandfill/index.htm");
		
		var subMenu3d = menu3.addMenu(menu3.items[3]);
		subMenu3d.addItem("- SLO Airport, San Luis Obispo, CA", urlRoot + "/projects/sloairport/index.htm");
		subMenu3d.addItem("- San Miguel Storm Drain, San Miguel, CA", urlRoot + "/projects/sanmiguel/index.htm");
		subMenu3d.addItem("- Reservoir Replacement #1, Arroyo Grande, CA", urlRoot + "/projects/agreservoir/index.htm");
		subMenu3d.addItem("- West Green Canyon Storm Drain, Santa Maria, CA", urlRoot + "/projects/greencanyonstormdrain/index.htm");
		
		var subMenu3e = menu3.addMenu(menu3.items[4]);
		subMenu3e.addItem("- Tumbling Waters, CA", urlRoot + "/projects/tumblingwaters/index.htm");
		subMenu3e.addItem("- Mesa Verde Tract, Orcutt, CA", urlRoot + "/projects/mesaverdetract/index.htm");
		subMenu3e.addItem("- Dove Creek Tract, Atascadero, CA", urlRoot + "/projects/dovecreektract/index.htm");
		
		
		// menu
//		var menu4 = ms.addMenu(document.getElementById("menu4"));
//		menu4.addItem("- Jobs in the Field", urlRoot + "/employment/fieldjobs/index.htm");
//		menu4.addItem("- Jobs in the Office", urlRoot + "/employment/officejobs/index.htm");

		// submenu
//		var subMenu4 = menu4.addMenu(menu4.items[1]);
//		subMenu4.addItem("- Ready Mix", urlRoot + "/construction-materials/readymix.cfm");
//		subMenu4.addItem("- Aggregate", urlRoot + "/construction-materials/aggregate.cfm");
//		subMenu4.addItem("- Hot Mix Asphalt", urlRoot + "/construction-materials/asphalt-concrete.cfm");
		

		// menu
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("- General", urlRoot + "/contactus/index.htm");
		menu6.addItem("- Office Staff Email Addresses", urlRoot + "/contactus/officestaff/index.htm");
		menu6.addItem("- Field Staff Email Addresses", urlRoot + "/contactus/fieldstaff/index.htm");
		
		//==================================================================================================
		// 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.
		//==================================================================================================
		papichDropDown.renderAll();
	}
