// 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.right, 142, -22, 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(" History", "http://www.lpa-group.com/about_history.shtml");
		menu1.addItem(" Mission Statement", "http://www.lpa-group.com/about_mission.shtml");
		menu1.addItem(" Quality", "http://www.lpa-group.com/about_quality.shtml");
		menu1.addItem(" Capabilities", "http://www.lpa-group.com/about_capabilities.shtml");
		menu1.addItem(" Working Philosophy", "http://www.lpa-group.com/about_philosophy.shtml"); 
		menu1.addItem(" Customer References", "http://www.lpa-group.com/about_customer.shtml");
		menu1.addItem(" LPA Worldwide", "http://www.lpa-group.com/about_lpaworldwide.shtml");
		
	
		
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("group"));
		menu2.addItem(" LPA Organisational Chart", "http://www.lpa-group.com/group_chart.shtml");
		menu2.addItem(" LPA Channel Electric", "http://www.lpa-group.com/group_channel.shtml");
		menu2.addItem(" LPA Excil Electronics", "http://www.lpa-group.com/group_excil.shtml");
		menu2.addItem(" LPA Haswell Engineers", "http://www.lpa-group.com/group_haswell.shtml");
		menu2.addItem(" LPA Niphan Systems", "http://www.lpa-group.com/group_niphan.shtml");		
		
		//var submenu0 = menu2.addMenu(menu2.items[1]);
		//submenu0.addItem("Overview", "http://www.lpa-group.com/group_channeloverview.shtml");
		//submenu0.addItem("Contact Us", "http://www.lpa-group.com/group_channelcontact.shtml");
		//submenu0.addItem("How To Find Us", "http://www.lpa-group.com/group_channeldirections.shtml");
		
		//var submenu0 = menu2.addMenu(menu2.items[2]);
		//submenu0.addItem("Overview", "http://www.lpa-group.com/group_exciloverview.shtml");
		//submenu0.addItem("Contact Us", "http://www.lpa-group.com/group_excilcontact.shtml");
		//submenu0.addItem("How To Find Us", "http://www.lpa-group.com/group_excildirections.shtml");
		
		//var submenu0 = menu2.addMenu(menu2.items[3]);
		//submenu0.addItem("Overview", "http://www.lpa-group.com/group_haswelloverview.shtml");
		//submenu0.addItem("Contact Us", "http://www.lpa-group.com/group_haswellcontact.shtml");
		//submenu0.addItem("How To Find Us", "http://www.lpa-group.com/group_haswelldirections.shtml");
		
		//var submenu0 = menu2.addMenu(menu2.items[4]);
		//submenu0.addItem("Overview", "http://www.lpa-group.com/group_niphanoverview.shtml");
		//submenu0.addItem("Contact Us", "http://www.lpa-group.com/group_niphancontact.shtml");
		//submenu0.addItem("How To Find Us", "http://www.lpa-group.com/group_niphandirections.shtml");
		
		
		
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("products"));
		menu3.addItem(" Aerospace", "http://www.lpa-group.com/aerospace_overview.shtml");
		menu3.addItem(" Airports", "http://www.lpa-group.com/airports_overview.shtml");
		menu3.addItem(" Defence", "http://www.lpa-group.com/defence_overview.shtml");
		menu3.addItem(" Industry", "http://www.lpa-group.com/industry_overview.shtml");
		menu3.addItem(" Marine", "http://www.lpa-group.com/marine_overview.shtml");
		menu3.addItem(" Railway");
	    menu3.addItem(" Telecommunications", "http://www.lpa-group.com/tele_overview.shtml");
        menu3.addItem(" Companies we represent", "http://www.lpa-group.com/about_representation.shtml");

				
		//var submenu0 = menu3.addMenu(menu3.items[0]);
		//submenu0.addItem("Cable Management", "http://www.lpa-group.com/aerospace_cable.shtml");
    	//submenu0.addItem("Connections & Terminations", "http://www.lpa-group.com/aerospace_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/aerospace_electro.shtml");
		//submenu0.addItem("Enclosures and Structures", "http://www.lpa-group.com/aerospace_enclosures.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/aerospace_power.shtml");
		
		//var submenu0 = menu3.addMenu(menu3.items[1]);
		//submenu0.addItem("Cable Management / Cabling & Harnesses ", "http://www.lpa-group.com/airports_cable.shtml");
    	//submenu0.addItem("Connectors", "http://www.lpa-group.com/airports_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/airports_electro.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/airports_power.shtml");
		//submenu0.addItem("Systems, Enclosures and Structures", "http://www.lpa-group.com/airports_enclosures.shtml");
		
		//var submenu0 = menu3.addMenu(menu3.items[2]);
		//submenu0.addItem("Cable Management / Cabling & Harnesses", "http://www.lpa-group.com/defence_cable.shtml");
    	//submenu0.addItem("Connections & Terminations", "http://www.lpa-group.com/defence_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/defence_electro.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/defence_power.shtml");
		//submenu0.addItem("Systems, Enclosures and Structures", "http://www.lpa-group.com/defence_enclosures.shtml");
		
		//var submenu0 = menu3.addMenu(menu3.items[3]);
		//submenu0.addItem("Cable Management / Cabling & Harnesses", "http://www.lpa-group.com/industry_cable.shtml");
    	//submenu0.addItem("Connectors", "http://www.lpa-group.com/industry_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/industry_electro.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/industry_power.shtml");
		//submenu0.addItem("Systems, Enclosures and Structures", "http://www.lpa-group.com/industry_enclosures.shtml");
		
		//var submenu0 = menu3.addMenu(menu3.items[4]);
		//submenu0.addItem("Cable Management / Cabling & Harnesses", "http://www.lpa-group.com/marine_cable.shtml");
    	//submenu0.addItem("Connections & Terminations", "http://www.lpa-group.com/marine_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/marine_electro.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/marine_power.shtml");
		//submenu0.addItem("Systems, Enclosures and Structures", "http://www.lpa-group.com/marine_enclosures.shtml");
		
		var submenu0 = menu3.addMenu(menu3.items[5]);
		submenu0.addItem(" Rail Rolling Stock", "http://www.lpa-group.com/railroll_overview.shtml");
    	submenu0.addItem(" Rail Infrastructure", "http://www.lpa-group.com/railinf_overview.shtml");
		
		//var submenu00 = submenu0.addMenu(submenu0.items[0]);
    	//submenu00.addItem("Connections & Terminations", "http://www.lpa-group.com/railroll_connectors.shtml");
    	//submenu00.addItem("Cabling & Harnesses", "http://www.lpa-group.com/railroll_cable.shtml");
     	//submenu00.addItem("Electro-Mechanical Components", "http://www.lpa-group.com/railroll_electro.shtml");   	
    	//submenu00.addItem("PowerSupplies, Lighting & Electronics", "http://www.lpa-group.com/railroll_power.shtml");		
        //submenu00.addItem("Systems, Enclosures & Structures", "http://www.lpa-group.com/railroll_enclosures.shtml");		
		
		//var submenu00 = submenu0.addMenu(submenu0.items[1]);
    	//submenu00.addItem("Connectors", "http://www.lpa-group.com/railinf_connectors.shtml");
        //submenu00.addItem("Cabling & Harnesses", "http://www.lpa-group.com/railinf_cable.shtml");
     	//submenu00.addItem("Electro-Mechanical Components", "http://www.lpa-group.com/railinf_electro.shtml");   	
    	//submenu00.addItem("PowerSupplies, Lighting & Electronics", "http://www.lpa-group.com/railinf_power.shtml");		
    	//submenu00.addItem("Systems, Enclosures & Structures", "http://www.lpa-group.com/railinf_enclosures.shtml");		
		
		//var submenu0 = menu3.addMenu(menu3.items[6]);
		//submenu0.addItem("Cable Management / Cabling & Harnesses", "http://www.lpa-group.com/tele_cable.shtml");
    	//submenu0.addItem("Connectors", "http://www.lpa-group.com/tele_connectors.shtml");
		//submenu0.addItem("Electro- Mechanical Components", "http://www.lpa-group.com/tele_electro.shtml");
		//submenu0.addItem("Power Supplies, Inverters, Lighting & Electronics", "http://www.lpa-group.com/tele_power.shtml");
		//submenu0.addItem("Systems, Enclosures and Structures", "http://www.lpa-group.com/tele_enclosures.shtml");
		
		
		//==================================================================================================


	//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("investor"));
		menu4.addItem(" Company Information", "http://www.lpa-group.com/inv_company.shtml");
		menu4.addItem(" Share Information", "http://www.lpa-group.com/share_information.shtml");
		menu4.addItem(" Report and Accounts/Shareholder Circulars", "http://www.lpa-group.com/inv_reports.shtml");
		menu4.addItem(" Regulatory News & Announcements", "http://www.lpa-group.com/regulatory_news.shtml");
        menu4.addItem(" Constitutional Documents", "http://www.lpa-group.com/inv_articles.shtml");
	//==================================================================================================

	//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("news"));
		menu5.addItem("  Product Announcements", "http://www.lpa-group.com/product announcement_overview.shtml");
		menu5.addItem("  Exhibitions", "http://www.lpa-group.com/exhibitions.shtml");
		menu5.addItem("  News & Articles", "http://www.lpa-group.com/news.shtml");		
		//==================================================================================================
	
		//==================================================================================================
		//OLD NEWS SECTION --REMOVED--
		//var menu5 = ms.addMenu(document.getElementById("news"));
		//menu5.addItem(" Current News & Events", "http://www.lpa-group.com/default1.shtml#");
		//menu5.addItem(" Archived News & Events", "http://www.lpa-group.com/default1.shtml#");
		
		
		//==================================================================================================
		
		//==================================================================================================

		// OLD CONTACT SECTION --REMOVED--
		//var menu6 = ms.addMenu(document.getElementById("contact"));
		//menu6.addItem(" Contact Details", "http://www.lpa-group.com/default1.shtml#");
		//menu6.addItem(" Enquiry Form", "http://www.lpa-group.com/default1.shtml#");
		//menu6.addItem(" Links", "http://www.lpa-group.com/default1.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();
	}