// 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()) {

//===============================================================================================
	// 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, 0, 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("menuOne"));
	menu1.addItem("Overview", "http://www.ponderosa-assoc.com/ar_main.html"); 
	menu1.addItem("Motor Vehicle", "http://www.ponderosa-assoc.com/ar_vehicle.html");
//	menu1.addItem("Snow Sports", "http://www.ponderosa-assoc.com/ar_snow.html");
	menu1.addItem("Motorcycles", "http://www.ponderosa-assoc.com/ar_motorcycle.html");
	menu1.addItem("ATVs", "http://www.ponderosa-assoc.com/ar_atv.html");
	menu1.addItem("Snowmobiles", "http://www.ponderosa-assoc.com/ar_.snowmobilehtml");
	menu1.addItem("Skiing", "http://www.ponderosa-assoc.com/ar_skiing.html");
	menu1.addItem("Firearms &amp; Shootings", "http://www.ponderosa-assoc.com/ar_firearms.html");

		//var submenu0 = menu1.addMenu(menu1.items[0]);
		//submenu0.addItem("item", "html");
	
			//var submenu00 = submenu0.addMenu(submenu0.items[0]);
			//submenu00.addItem("item", "html");

//===============================================================================================

	var menu2 = ms.addMenu(document.getElementById("menuTwo"));
	menu2.addItem("Overview", "http://www.ponderosa-assoc.com/pl_main.html");

//===============================================================================================

	var menu3 = ms.addMenu(document.getElementById("menuThree"));
	menu3.addItem("Overview", "http://www.ponderosa-assoc.com/fe_main.html");

//===============================================================================================

	var menu4 = ms.addMenu(document.getElementById("menuFour"));
	menu4.addItem("Construction &amp; Structural Overview", "http://www.ponderosa-assoc.com/structural-forensic-engineering/");
	menu4.addItem("Solar Design &amp; Inspections", "http://www.ponderosa-assoc.com/structural/solar-design-inspection.htm");
	menu4.addItem("Structural Assessments", "http://www.ponderosa-assoc.com/structural/residential-commercial-assessment.html");
	
//===============================================================================================

	var menu5 = ms.addMenu(document.getElementById("menuFive"));
	menu5.addItem("Overview", "http://www.ponderosa-assoc.com/es_main.html");
	menu5.addItem("Finite Element Analysis", "http://www.ponderosa-assoc.com/es_fea.html");
	menu5.addItem("Experimental Stress Analysis &amp; Testing", "http://www.ponderosa-assoc.com/es_esat.html");
	menu5.addItem("Processes &amp; Test Results", "http://www.ponderosa-assoc.com/es_processes.html");
	
//===============================================================================================

	var menu6 = ms.addMenu(document.getElementById("menuSix"));
	menu6.addItem("Overview", "http://www.ponderosa-assoc.com/ap_main.html");
	menu6.addItem("Animation Samples", "http://www.ponderosa-assoc.com/ap_samples.html");

//===============================================================================================

	var menu7 = ms.addMenu(document.getElementById("menuSeven"));
	menu7.addItem("Overview", "http://www.ponderosa-assoc.com/ci_main.html");
	menu7.addItem("President's Message", "http://www.ponderosa-assoc.com/ci_president.html");
	menu7.addItem("Careers", "http://www.ponderosa-assoc.com/ci_careers.html");
	menu7.addItem("Personnel Profiles", "http://www.ponderosa-assoc.com/ci_profiles.html");
	menu7.addItem("History", "http://www.ponderosa-assoc.com/ci_history.html");
	menu7.addItem("Facilities", "http://www.ponderosa-assoc.com/ci_facilities.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();
	}