// 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("ZZ2"));
	menu1.addItem("&nbsp;&nbsp;Products &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "#"); 
	menu1.addItem("&nbsp;&nbsp;Services &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "#"); // send no URL if nothing should happen onclick
			
		var submenu0 = menu1.addMenu(menu1.items[0]);

		submenu0.addItem("Suction Regulators ", "suction-regulators.html");
		submenu0.addItem("Oxygen Blenders ", "oxygen-blenders.html");
		submenu0.addItem("SPO2", "spo2.html");
		submenu0.addItem("Fetal Transducers", "fetal-transducers.html");
		submenu0.addItem("ECG/EKG", "ecg-ekg.html");
		
	        
	
/*
		submenu0.addItem("Keyboards", "/products/pc/viewCategories.asp?idCategory=10");
		submenu0.addItem("Laptop Accessories", "/products/pc/viewCategories.asp?idCategory=15");
		submenu0.addItem("Memory Card Readers", "/products/pc/viewCategories.asp?idCategory=6");
		submenu0.addItem("Mice", "/products/pc/viewCategories.asp?idCategory=11");
		submenu0.addItem("Mouse Pads", "/products/pc/viewCategories.asp?idCategory=51");
		submenu0.addItem("MP3 Accessories", "/products/pc/viewCategories.asp?idCategory=12");
		submenu0.addItem("USB Hubs", "/products/pc/viewCategories.asp?idCategory=13");
		submenu0.addItem("VoIP", "/products/pc/viewCategories.asp?idCategory=90");
		submenu0.addItem("GE Webcams", "/products/pc/viewCategories.asp?idCategory=14");
		
*/
		var submenu1 = menu1.addMenu(menu1.items[1]);
		
		submenu1.addItem("Suction Regulators ", "suction-repairs.html");
		submenu1.addItem("Oxygen Blenders ", "blenders-repairs.html");
		submenu1.addItem("Telemetry Repairs", "telemetry-repairs.html");
		submenu1.addItem("SPO2", "spo2-repairs.html");
		submenu1.addItem("Fetal Transducers ", "transducer-repairs.html");
		submenu1.addItem("Module Repairs ", "module-repairs.html");
		submenu1.addItem("Endoscope Repairs", "endoscope-repairs.html");
		submenu1.addItem("Infusion Pumps", "infusionpump-repairs.html");
		submenu1.addItem("Bedside Monitor Repairs", "bedside-monitor-repairs.html");


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

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



		//var submenu4 = menu2.addMenu(menu2.items[1]);
		//submenu4.addItem("Our Benefit Package", "/aboutjasco/careers/benefitpackage.asp");
		//submenu4.addItem("Job Openings", "/aboutjasco/careers/jobopenings.asp");


	//==================================================================================================
    var menu3 = ms.addMenu(document.getElementById("ZZ4"));
	menu3.addItem("Terms and Conditions", "terms.html");
	menu3.addItem("Ship-N-Follow", "shipandfollow.html");
	menu3.addItem("Print Shipping Label", "http://shipnfollow.com/ShippingLabel.aspx");
	//==================================================================================================
	var menu4 = ms.addMenu(document.getElementById("ZZ5"));
	menu4.addItem("Press Releases", "press-release.html");
	menu4.addItem("Tenacore Education Program", "http://www.tenacore.com/edu/");
	
/*
	menu3.addItem("Community Involvement", "/careers/communityinvolvement.asp");
	menu3.addItem("Job Openings", "/careers/jobopenings.asp");
*/
	
	//==================================================================================================
    var menu5 = ms.addMenu(document.getElementById("ZZ6"));
	menu5.addItem("History", "history-tenacore.html");
	menu5.addItem("Certifications ", "certifications.html");

	//==================================================================================================
	
	var menu6= ms.addMenu(document.getElementById("ZZ7"));

	//==================================================================================================
	// 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();
}