	// 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("company"));
		menu1.addItem("Profile", "profile.php"); 
		menu1.addItem("History", "history.php");
		menu1.addItem("References", "references.php");
		//menu1.addItem("Dossier d'informations", "dossier_info.htm");
		// menu1.addItem("Partenaires", ""); // send no URL if nothing should happen onclick

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

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("products"));
		menu2.addItem("Softwares", "software.php");
		menu2.addItem("Cartography", "carto.php");

		var submenu0 = menu2.addMenu(menu2.items[0]);
		submenu0.addItem("ICS telecom nG", "icstelecom.php");
		submenu0.addItem("ICS manager nG", "icsmanager.php");
		submenu0.addItem("HTZ warfare nG", "htzwarfare.php");
		submenu0.addItem("HerTZ mapper", "hertzmapper.php");
		submenu0.addItem("ICS map server", "icsmapserver.php");
		submenu0.addItem("ICS online", "icsonline.php");
		//submenu0.addItem("ICS microwave", "#");
		submenu0.addItem("Antios", "antios.php");
		submenu0.addItem("AVS Video Solutions", "http://avssolutions.atdi.fr/");
		
		var submenu1 = menu2.addMenu(menu2.items[1]);
		submenu1.addItem("Map Maker", "mapmaker.php");
	
		
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("services"));
		menu3.addItem("Consulting & engineering", "consulting.php");
		menu3.addItem("Courses", "formations.php");

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

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("expertise"));
		menu4.addItem("Point to point", "planning_microwave.php");
		menu4.addItem("Point multipoint", "planning_wll.php");
		menu4.addItem("Mobile", "planning_pmr.php");
		menu4.addItem("Electronic warfare", "planning_electronic_warfare.php");
		menu4.addItem("Broadcast", "planning_broadcast.php");
		menu4.addItem("Spectrum management", "spectrum_management_cross.php");
		menu4.addItem("WiMAX", "planning_wimax.php");
		
		var submenu1 = menu4.addMenu(menu4.items[2]);
		submenu1.addItem("PMR", "planning_pmr.php");
		submenu1.addItem("Paging", "planning_paging.php");
		submenu1.addItem("UMTS", "planning_umts.php");
		submenu1.addItem("Cellular & PCS networks", "planning_cellular.php");
		
		var submenu2 = menu4.addMenu(menu4.items[5]);
		submenu2.addItem("Crossboarder", "spectrum_management_cross.php");
		submenu2.addItem("Telemetry", "spectrum_management_telemetry.php");

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

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("news"));
		menu5.addItem("Press release", "release.php");
		menu5.addItem("Newsletter", "page_newsletter.php");
		menu5.addItem("Career", "emploi.php");
		menu5.addItem("Exhibitions", "exhibitions.php");
		
		//==================================================================================================
		
		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("downloads"));
		//menu6.addItem("HerTZ mapper Web", "download_software.php");
		menu6.addItem("Software updates", "https://ssl5.ovh.net/~atdi/com/update.php");
		menu6.addItem("Cartographic data", "download_carto.php");
		menu6.addItem("SDTS data", "http://www.atdi-us.com/sdtsdata.htm");
		menu6.addItem("Brochures", "brochures.php");
		
		//==================================================================================================
		
		//==================================================================================================
	/*	var menu7 = ms.addMenu(document.getElementById("support"));
		menu7.addItem("Software upgrades", "support.php");
		menu7.addItem("Manuals", "manuals.php");
	*/	// menu7.addItem("Forum", "");
		
		//==================================================================================================
		
		//==================================================================================================
		var menu8 = ms.addMenu(document.getElementById("contact"));
		menu8.addItem("Group", "group.php");
		menu8.addItem("Distributors", "distribution.php");
		// menu8.addItem("Nous rencontrer", "");
		
		//==================================================================================================
		
		//==================================================================================================
		var menu9 = ms.addMenu(document.getElementById("ressources"));
		menu9.addItem("Glossary", "glossary.php");
		menu9.addItem("Links", "links.php");
		menu9.addItem("Site map", "site_map.php");
		
		//==================================================================================================

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