// 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, 0, 1, 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("home"));
			menu1.addItem("Dr. Rogers Prize", "http://www.drrogersprize.org/"); 

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

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("prize"));
			menu2.addItem("&Agrave; propos du Prix","../files_fr/purpose.php");
			menu2.addItem("&Agrave; propos du Dr Roger Rogers","../files_fr/about.php");
			menu2.addItem("&Agrave; propos de la MCA","../files_fr/CAM-what.php");
			menu2.addItem("FAQ","../files_fr/faqs.php");
			
			var submenu0 = menu2.addMenu(menu2.items[2]);
				submenu0.addItem("Qu'est-ce que la MCA?","../files_fr/CAM-what.php");
				submenu0.addItem("Pourquoi la MCA est-elle importante?","../files_fr/CAM-why.php");
				submenu0.addItem("Quelles sont les applications de la MCA?","../files_fr/CAM-used-for.php");
				submenu0.addItem("Quels sont les faits probants?","../files_fr/CAM-evidence.php");
				submenu0.addItem("Comment mesurons-nous l'efficacit&eacute;?","../files_fr/CAM-effectiveness.php");
			
						

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

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("competition"));
			menu3.addItem("Concours","../files_fr/competition.php");
			menu3.addItem("Jury de 2009","../files_fr/2009-jury.php");
			menu3.addItem("Lignes directrices des mises en candidature de 2009","../files_fr/2009-nomination-guidelines.php");
			menu3.addItem("Dossier de mise en candidature de 2009","https://www.drrogersprize.org/code/?lang=fr");
			menu3.addItem("Visite d'invit&eacute;s d'honneur","../files_fr/vip-package.php");

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

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("events"));
			menu4.addItem("&Eacute;v&eacute;nements","../files_fr/events.php");
			menu4.addItem("Colloque du Prix Dr Rogers","../files_fr/colloquium.php");
			menu4.addItem("Banquet de remise du Prix Dr Rogers","../files_fr/award-gala.php");

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

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("pastprizes"));
			menu5.addItem("Laur&eacute;ats du prix de 2007","../files_fr/2007-winners.php");
			menu5.addItem("Jury de 2007","../files_fr/2007-jury.php");
			//menu5.addItem("Gallery","../files_fr/gallery.php");
			menu5.addItem("Couverture m&eacute;diatique en 2007","../files_fr/2007-news-coverage.php");

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

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("media"));
			menu6.addItem("Communiqu&eacute;s de presse","../files_fr/media.php");
			//menu6.addItem("In the Media","../files_fr/in-the-media.php");
			menu6.addItem("Relations avec les m&eacute;dias","../files_fr/media-contact.php");
			
		//==================================================================================================

		//==================================================================================================
		var menu7 = ms.addMenu(document.getElementById("contact"));
			menu7.addItem("Pour communiquer avec nous","../files_fr/contact.php");
			//menu7.addItem("Subscribe","../files_fr/subscribe.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();
	}
