// JavaScript Document
// Dropdown menu text before end body tag
	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
		//==================================================================================================
		
		
		//IE menu position
		if(navigator.appName == "Microsoft Internet Explorer")
			{
				var ms = new TransMenuSet(TransMenu.direction.down, 0, 24, TransMenu.reference.topLeft);
				
			}
			
		else
			
			{
				var ms = new TransMenuSet(TransMenu.direction.down, 0, 24, TransMenu.reference.topLeft);
			}
	
		//==================================================================================================
		// 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("ABOUT"));
		//menu1.addItem("Sub Menu Item 1", "");
		//menu1.addItem("Sub Menu Item 2", "");
		//menu1.addItem("Sub Menu Item 3", "");
		
		/* sub menus
		var submenu1 = menu1.addMenu(menu1.items[0]);
		submenu1.addItem("Galeria", "");
		submenu1.addItem("Duomo", "");
		submenu1.addItem("Castle", "");
		*/
		
		//==================================================================================================
	
		//==================================================================================================
		
		var menu1 = ms.addMenu(document.getElementById("foundation"));
		menu1.addItem("Mission", "index.cfm?fuseaction=home.main");
		menu1.addItem("Purpose", "index.cfm?fuseaction=home.main");
		menu1.addItem("Program Description", "index.cfm?fuseaction=home.program");
		menu1.addItem("Taget Participants", "index.cfm?fuseaction=home.participants");
		menu1.addItem("Outcomes (Goals)", "index.cfm?fuseaction=home.outcomes");
		menu1.addItem("Board Members", "index.cfm?fuseaction=home.board");
		menu1.addItem("About the Founder", "index.cfm?fuseaction=home.founder");
		
		var menu2 = ms.addMenu(document.getElementById("news"));
		//menu2.addItem("News", "index.cfm?fuseaction=home.events");
		menu2.addItem("Events", "index.cfm?fuseaction=home.events");
		
		var menu3 = ms.addMenu(document.getElementById("support"));
		menu3.addItem("Volunteer", "index.cfm?fuseaction=home.volunteer");
		menu3.addItem("Donate", "index.cfm?fuseaction=home.donate");
		menu3.addItem("Our Sponsors", "index.cfm?fuseaction=home.sponsors");
		//menu3.addItem("Links", "index.cfm?fuseaction=home.links");
		
		var menu4 = ms.addMenu(document.getElementById("success"));
		//menu4.addItem("Testimonials", "index.cfm?fuseaction=home.testimonials");
		menu4.addItem("Thank Yous", "index.cfm?fuseaction=home.thankyous");
		
		//var menu5 = ms.addMenu(document.getElementById("press"));
		//menu5.addItem("Television", "/index.cfm?fuseaction=home.media_tv");
		//menu5.addItem("Print", "/index.cfm?fuseaction=home.media_print");
		//menu5.addItem("Radio", "/index.cfm?fuseaction=home.media_radio");
		
	
		
	
		//==================================================================================================
		// 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();
	}
