	// 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 (mtDropDown.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 mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.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("menu1"));
		//menu1.addItem("", "default.htm"); // send no URL if nothing should happen onclick
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("General Areas", "#", false, true); // send no URL if nothing should happen onclick
		menu2.addItem("Regions", "#", false, true);
		menu2.addItem("Departments", "#", false, true);
		
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("Contact Us", "standard.aspx?itemid=10", false, true);
		menu3.addItem("About Holiday In France", "standard.aspx?itemid=2", false, true);
		menu3.addItem("Terms &amp; Conditions", "standard.aspx?itemid=630", false, true);		
		
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		//menu3.addItem("Order a Booklet", "booklet.aspx", false, true);
		
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		//menu4.addItem("Let Us Search For You", "enquiry.aspx", false, true);
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		//menu5.addItem("View My Shortlist", "shortlist.aspx", false, true);


		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
		
		var subMenu1 = menu2.addMenu(menu2.items[0]);
		subMenu1.addItem("North West", "holidays.aspx?Type=3&GroupID=15&Desc=General Area: North West", false, false);
		subMenu1.addItem("Centre", "holidays.aspx?Type=3&GroupID=17&Desc=General Area: Centre", false, false);
		subMenu1.addItem("South West", "holidays.aspx?Type=3&GroupID=18&Desc=General Area: South West", false, false);
		subMenu1.addItem("South East", "holidays.aspx?Type=3&GroupID=19&Desc=General Area: South East", false, false);

		var subMenu2 = menu2.addMenu(menu2.items[1]);
		subMenu2.addItem("Aquitaine", "holidays.aspx?Type=3&GroupID=41&Desc=Region: Aquitaine", false, false);
		subMenu2.addItem("Brittany", "holidays.aspx?Type=3&GroupID=28&Desc=Region: Brittany", false, false);
		subMenu2.addItem("Burgundy", "holidays.aspx?Type=3&GroupID=39&Desc=Region: Burgundy", false, false);
		subMenu2.addItem("Languedoc Roussillon", "holidays.aspx?Type=3&GroupID=43&Desc=Region: Languedoc Roussillon", false, false);
		subMenu2.addItem("Midi-Pyr&eacute;n&eacute;es", "holidays.aspx?Type=3&GroupID=42&Desc=Region: Midi-Pyr&eacute;n&eacute;es", false, false);
		subMenu2.addItem("Normandy", "holidays.aspx?Type=3&GroupID=23&Desc=Region: Normandy", false, false);
		subMenu2.addItem("Poitou Charente", "holidays.aspx?Type=3&GroupID=26&Desc=Region: Poitou Charente", false, false);
		subMenu2.addItem("Provence/C&ocirc;tes d'Azur", "holidays.aspx?Type=3&GroupID=44&Desc=Region: Provence/C&ocirc;tes d'Azur", false, false);
		subMenu2.addItem("Rh&ocirc;ne Alpes", "holidays.aspx?Type=3&GroupID=45&Desc=Region: Rh&ocirc;ne Alpes", false, false);
		subMenu2.addItem("Western Loire", "holidays.aspx?Type=3&GroupID=24&Desc=Region: Western Loire", false, false);

		var subMenu3 = menu2.addMenu(menu2.items[2]);
		subMenu3.addItem("Alpes-de-Haute-Provence", "holidays.aspx?Type=3&GroupID=73&Desc=Department: Alpes-de-Haute-Provence", false, false);
		subMenu3.addItem("Alpes-Maritimes", "holidays.aspx?Type=3&GroupID=85&Desc=Department: Alpes-Maritimes", false, false);
		subMenu3.addItem("Aude", "holidays.aspx?Type=3&GroupID=69&Desc=Department: Aude", false, false);
		subMenu3.addItem("Aveyron", "holidays.aspx?Type=3&GroupID=81&Desc=Department: Aveyron", false, false);
		subMenu3.addItem("Bouches-du-Rh&ocirc;ne", "holidays.aspx?Type=3&GroupID=74&Desc=Department: Bouches-du-Rh&ocirc;ne", false, false);
		subMenu3.addItem("Charente", "holidays.aspx?Type=3&GroupID=56&Desc=Department: Charente", false, false);
		subMenu3.addItem("Charente-Maritime", "holidays.aspx?Type=3&GroupID=57&Desc=Department: Charente-Maritime", false, false);
		subMenu3.addItem("C&ocirc;tes d'Armor", "holidays.aspx?Type=3&GroupID=50&Desc=Department: C&ocirc;tes d'Armor", false, false);
		subMenu3.addItem("Deux S&egrave;vres", "holidays.aspx?Type=3&GroupID=58&Desc=Department: Deux S&egrave;vres", false, false);
		subMenu3.addItem("Dordogne", "holidays.aspx?Type=3&GroupID=61&Desc=Department: Dordogne", false, false);
		subMenu3.addItem("Dr&ocirc;me", "holidays.aspx?Type=3&GroupID=77&Desc=Department: Dr&ocirc;me", false, false);
		subMenu3.addItem("Eure", "holidays.aspx?Type=3&GroupID=46&Desc=Department: Eure", false, false);
		subMenu3.addItem("Finist&egrave;re", "holidays.aspx?Type=3&GroupID=51&Desc=Department: Finist&egrave;re", false, false);
		subMenu3.addItem("Gard", "holidays.aspx?Type=3&GroupID=70&Desc=Department: Gard", false, false);
		subMenu3.addItem("Gers", "holidays.aspx?Type=3&GroupID=65&Desc=Department: Gers", false, false);
		subMenu3.addItem("Gironde", "holidays.aspx?Type=3&GroupID=62&Desc=Department: Gironde", false, false);
		subMenu3.addItem("Haute-Garonne", "holidays.aspx?Type=3&GroupID=64&Desc=Department: Haute-Garonne", false, false);
		subMenu3.addItem("Haute-Pyr&eacute;n&eacute;es", "holidays.aspx?Type=3&GroupID=67&Desc=Department: Haute-Pyr&eacute;n&eacute;es", false, false);
		subMenu3.addItem("H&eacute;rault", "holidays.aspx?Type=3&GroupID=71&Desc=Department: H&eacute;rault", false, false);
		subMenu3.addItem("Landes", "holidays.aspx?Type=3&GroupID=84&Desc=Department: Landes", false, false);
		subMenu3.addItem("Lot", "holidays.aspx?Type=3&GroupID=66&Desc=Department: Lot", false, false);
		subMenu3.addItem("Lot-et-Garonne", "holidays.aspx?Type=3&GroupID=63&Desc=Department: Lot-et-Garonne", false, false);
		subMenu3.addItem("Manche", "holidays.aspx?Type=3&GroupID=47&Desc=Department: Manche", false, false);
		subMenu3.addItem("Morbihan", "holidays.aspx?Type=3&GroupID=52&Desc=Department: Morbihan", false, false);
		subMenu3.addItem("Orne", "holidays.aspx?Type=3&GroupID=48&Desc=Department: Orne", false, false);
		subMenu3.addItem("Pyr&eacute;n&eacute;es-Atlantique", "holidays.aspx?Type=3&GroupID=82&Desc=Department: Pyr&eacute;n&eacute;es-Atlantique", false, false);
		subMenu3.addItem("Pyr&eacute;n&eacute;es-Oriental", "holidays.aspx?Type=3&GroupID=72&Desc=Department: Pyr&eacute;n&eacute;es-Oriental", false, false);
		subMenu3.addItem("Sa&ocirc;ne-et-Loire", "holidays.aspx?Type=3&GroupID=60&Desc=Department: Sa&ocirc;ne-et-Loire", false, false);
		subMenu3.addItem("Sarthe", "holidays.aspx?Type=3&GroupID=54&Desc=Department: Sarthe", false, false);
		subMenu3.addItem("Seine-Maritime", "holidays.aspx?Type=3&GroupID=49&Desc=Department: Seine-Maritime", false, false);
		subMenu3.addItem("Tarn-et-Garonne", "holidays.aspx?Type=3&GroupID=68&Desc=Department: Tarn-et-Garonne", false, false);
		subMenu3.addItem("Vend&eacute;e", "holidays.aspx?Type=3&GroupID=55&Desc=Department: Vend&eacute;e", false, false);
		subMenu3.addItem("Var", "holidays.aspx?Type=3&GroupID=75&Desc=Department: Var", false, false);
		subMenu3.addItem("Vaucluse", "holidays.aspx?Type=3&GroupID=76&Desc=Department: Vaucluse", false, false);
		subMenu3.addItem("Yonne", "holidays.aspx?Type=3&GroupID=83&Desc=Department: Yonne", false, false);


		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}
