	// 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("faith"));
		menu1.addItem("faith in Christ", "/faith.php"); 
		menu1.addItem("ordinary faith", "/ordfaith.php"); // send no URL if nothing should happen onclick
		//menu1.addItem("belief", "/beliefs.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Q&A", "/questions.php"); // send no URL if nothing should happen onclick
		//menu1.addItem("testimonials", "/testimony.php"); // send no URL if nothing should happen onclick

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("impact"));
		menu2.addItem("Christ's imprint", "/impact.php");
		//menu2.addItem("invite", "/invite.php");
		menu2.addItem("places to serve", "/ministry.php");
		menu2.addItem("world missions", "/wrldmissions.php");
		menu2.addItem("outreach ministries", "/outreach.php");
		menu2.addItem("preschool", "http://preschool.stphilipsfrisco.org/");

		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("worship"));
		menu3.addItem("worship", "/worship.php");
		menu3.addItem("Holy Communion","/HCommunion.php");
		menu3.addItem("sermons","/sermons.php");
		//menu3.addItem("FAQs","/faqs.php");
		menu3.addItem("my first visit","/visit.php");



		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("ministries"));
		menu4.addItem("children", "");
		menu4.addItem("youth", "");
		menu4.addItem("adult", "");
		
		var submenu2 = menu4.addMenu(menu4.items[0]);

		submenu2.addItem("ministry", "/children.php");
		//submenu2.addItem("discipleship", "/discipleship.php");
		submenu2.addItem("safety", "/kidssafety.php");
		
		var submenu3 = menu4.addMenu(menu4.items[1]);

		submenu3.addItem("ministry", "/youth.php");
		//submenu3.addItem("web site", "http://www.stphilipsyouth.org");
		//submenu3.addItem("photos", "http://www.stphilipsyouth.org/photos.html");
		
		var submenu4 = menu4.addMenu(menu4.items[2]);

		submenu4.addItem("ministry", "/adult.php");
		submenu4.addItem("worship", "/worship.php");
		submenu4.addItem("study", "/study.php");
		submenu4.addItem("Bright Zone Jobs Ministry", "jobnetwork.php");
		submenu4.addItem("class listings", "/education/ClassList.php");
		submenu4.addItem("class descriptions", "/education/Classdesc.php");
		submenu4.addItem("prayer", "/prayer.php");
		submenu4.addItem("small groups", "/smallgrp.php");
		submenu4.addItem("places to serve", "/ministry.php");
		
		
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("care"));
		menu5.addItem("pastoral care", "/care.php");
		menu5.addItem("prayer", "/prayer.php");
		//menu5.addItem("care ministries", "/careministry.php");
		menu5.addItem("sacramental preparation", "/sacrament.php");
		menu5.addItem("life issues", "/lifeissues.php");

		
		//==================================================================================================

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("aboutus"));
		menu6.addItem("about us", "/whoarewe.php");
		menu6.addItem("vision", "/vision.php");
		menu6.addItem("first visit", "/visit.php");
		menu6.addItem("clay lein", "/claylein.php");
		menu6.addItem("our staff", "/staff.php");
		menu6.addItem("email", "/email.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();
	}