	if (mtDropDown.isSupported()) {
		var ms = new mtDropDownSet(mtDropDown.direction.down, -11, 5, mtDropDown.reference.bottomLeft);
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("Vision & Mission Statement","vision_mission.php");
		menu1.addItem("Our Beliefs","belief.php");
		menu1.addItem("Our Pastors","pastor.php");
		menu1.addItem("Worship Times","worship_times.php");
		menu1.addItem("Educational Arm","educational_arm.php");
		
		
/*
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("Events","ministries.php");
		menu2.addItem("Hospitality","ministries.php#hospitality");
		menu2.addItem("Intercession","ministries.php#intercession");
		menu2.addItem("Little Lambs(Children's Ministry)","children_ministry.php");
		menu2.addItem("Maintenance","ministries.php#maintenance");
		menu2.addItem("Media","ministries_media.php");
		menu2.addItem("Men of Action","men_of_action.php");
		menu2.addItem("Missions","ministries.php#missions");
	    menu2.addItem("Music & Sound","ministries_music.php");
		menu2.addItem("Ordinance","ministries.php#ordinance");
		menu2.addItem("Outreach Ministries","outreach_ministries.php");
		menu2.addItem("Protocol & Security","ministries.php#protocol");
		menu2.addItem("Publications","ministries.php#publications");
		menu2.addItem("Regeneration Youth","regeneration_youth.php");
		menu2.addItem("Resource","resource.php");
		menu2.addItem("SaW(Singles Ministry)","saw.php");
		menu2.addItem("Tent Makers","http://www.tentmakersuk.com/");
		menu2.addItem("Women of a Different Spirit","womenspirit.php");
		
		
		*/
		
		
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("Freedom Walk","freedom_walk.php");
		menu3.addItem("Featured Messages","messages.php");
		menu3.addItem("Archived Messages","archived_messages.php");
		menu3.addItem("Order Online","order_online.php");
		
		
		
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Freedom Centre Luton","freedom_centre_luton.php");
		menu4.addItem("Freedom Centre Telford","freedom_centre_telford.php");
		menu4.addItem("Freedom Centre Horsham","freedom_centre_horsham.php");
		
		
		
		var menu5= ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Feedback Form","feedback_form.php");
		menu5.addItem("Direction Map","direction_map.php");
		menu5.addItem("Address","address.php");
		
		
		
		
		
		


		//==================================================================================================
		// 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])
		//==================================================================================================
	
			
	
		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the php for the menus into the page with document.write(). It must be
		// called within the body of the php page.
		//==================================================================================================
		mtDropDown.renderAll();
	}
