// 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 isIE = (navigator.appName == "Microsoft Internet Explorer") ? true : false;
	var top = (isIE) ? 13 : 4;
	var left = (isIE) ? 3 : -6;
	
	var ms = new TransMenuSet(TransMenu.direction.down, left, top, 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("about"));
	menu1.addItem("Corporate Profile", "corporateProfile.shtml"); 
	menu1.addItem("Oracle Lifecycle Support", "oracleLifecycleSupport.shtml"); 
	menu1.addItem("Why Choose PTi?", "whyChoosePTi.shtml");
	menu1.addItem("Partners", "partners.shtml");
	menu1.addItem("Careers", "careers.shtml");
	menu1.addItem("Contact Us", "contact.shtml");
	
	var menu2 = ms.addMenu(document.getElementById("success"));
	menu2.addItem("Achieving Predictable Performance", "achievingPredictablePerformance.shtml"); 
	menu2.addItem("Service Management Framework", "#");
	
		var submenu20 = menu2.addMenu(menu2.items[1]);
		submenu20.addItem("Service Management Framework", "serviceManagementFramework.shtml");
		submenu20.addItem("Predictive IT Operations", "predictiveITOperations.shtml");
		submenu20.addItem("Predictive Service Center", "predictiveServiceCenter.shtml");
		submenu20.addItem("Predictive Service Center Screenshot", "predictiveServiceCenterSS.shtml");
		submenu20.addItem("Predictive Service Delivery Team", "serviceDeliveryTeam.shtml");
	
	var menu3 = ms.addMenu(document.getElementById("services"));
	menu3.addItem("Oracle Consulting", "#"); 
	menu3.addItem("Technology Solutions", "technologySolutions.shtml");
	menu3.addItem("Co-Sourcing", "coSourcing.shtml");
	
		var submenu30 = menu3.addMenu(menu3.items[0]);
		submenu30.addItem("Oracle Applications", "applications.shtml");
		submenu30.addItem("Oracle Fusion Middleware", "fusionConsulting.shtml");
		submenu30.addItem("Oracle Database", "databaseConsulting.shtml");
	
	/*var menu4 = ms.addMenu(document.getElementById("contact"));
	menu4.addItem("Contact Us", "contact.html"); 
	menu4.addItem("Partners", "contact.html");
	menu4.addItem("Careers", "contact.html");
	*/
	
	var menu5 = ms.addMenu(document.getElementById("index"));
	menu5.addItem("Applications", "applications.shtml"); 
	menu5.addItem("Fusion Middleware", "fusionConsulting.shtml"); 
	menu5.addItem("Database", "databaseConsulting.shtml");
	menu5.addItem("Technology Solutions", "technologySolutions.shtml");
	menu5.addItem("Co-Sourcing", "coSourcing.shtml");
	menu5.addItem("Achieving Predictable Performance", "achievingPredictablePerformance.shtml");
	menu5.addItem("PTi Service Management Framework", "serviceManagementFramework.shtml");
	menu5.addItem("Predictive IT Operations", "predictiveITOperations.shtml");
	menu5.addItem("Predictive Service Center", "predictiveServiceCenter.shtml");
	menu5.addItem("Predictive Service Center Screenshot", "predictiveServiceCenterSS.shtml");
	menu5.addItem("Predictive Service Delivery Team", "serviceDeliveryTeam.shtml");
	menu5.addItem("Corporate Profile", "corporateProfile.shtml"); 
	menu5.addItem("Oracle Lifecycle Support", "oracleLifecycleSupport.shtml");
	menu5.addItem("Why Choose PTi?", "whyChoosePTi.shtml");
	menu5.addItem("Partners", "partners.shtml");	
	menu5.addItem("Careers", "careers.shtml");
	menu5.addItem("Contact Us", "contact.shtml");
	menu5.addItem("Success Stories", "success.shtml");
	
	//==================================================================================================
	//==================================================================================================
	// 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();
}


