


	// 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 (DropDown.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 DropDownSet(DropDown.direction.down, 0, 0, DropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		
		//GLOBAL NAV 
                
                  
                
                
		var menu;
                
                        menu = ms.addMenu(document.getElementById("menu_1"));
                        
                          
                        
                        
                          
			    
			    
                            menu.addItem("Ed Staub Fact Sheet","/ed-staub-fact-sheet.fs");
                          
			    
			    
                            menu.addItem("Ed's History","/eds-history.fs");
                          
			    
			    
                            menu.addItem("Ed's Trucking","/eds-trucking.fs");
                          
			    
			    
                            menu.addItem("Employment","/employment.fs");
                          
                        
                
                        menu = ms.addMenu(document.getElementById("menu_2"));
                        
                          
                        
                        
                          
			    
			    
                            menu.addItem("Bulk Fuel","/bulk-fuel.fs");
                          
			    
			    
                            menu.addItem("Propane","/propane.fs");
                          
			    
			    
                            menu.addItem("Cardlock","/cardlock.fs");
                          
			    
			    
                            menu.addItem("Lubricants","/lubricants.fs");
                          
			    
			    
                            menu.addItem("Branded Dealers","/branded-dealers.fs");
                          
			    
			    
                            menu.addItem("Energy Services","/energy-services.fs");
                          
			    
			    
                            menu.addItem("Fuel Facilities","/fuel-facilities.fs");
                          
                        
                
                        menu = ms.addMenu(document.getElementById("menu_3"));
                        
                          
                        
                        
                          
			    
			    
                            menu.addItem("Heating Fuel","/heating-fuel.fs");
                          
			    
			    
                            menu.addItem("Propane","/residential-propane.fs");
                          
			    
			    
                            menu.addItem("Energy Services","/residential-energy-services.fs");
                          
			    
			    
                            menu.addItem("Budgetpay","/budget-pay.fs");
                          
			    
			    
                            menu.addItem("Propane Price Protection","/propane-price-protection.fs");
                          
                        
                
                        menu = ms.addMenu(document.getElementById("menu_4"));
                        
                          
                        
                        
                          
			    
			    
			      
			    
                            menu.addItem("Pacific Pride Cardlock Directory","/map.jsp?type=pacificPride");
                          
			    
			    
			      
			    
                            menu.addItem("CFN Cardlock Directory","/map.jsp?type=cardlock");
                          
			    
			    
			      
			    
                            menu.addItem("Local Office Directory","/map.jsp?type=localOffice");
                          
                        
                
                        menu = ms.addMenu(document.getElementById("menu_5"));
                        
                          
                        
                        
                          
			    
			    
			      
			    
                            menu.addItem("My Account Login","https://www.edocumentvault.com/edocumentvault/edstaub/login.a5w");
                          
			    
			    
                            menu.addItem("Applications & Forms","/download-and-print-application-and-payment-forms.fs");
                          
			    
			    
                            menu.addItem("Upcoming Events","/upcoming-events.fs");
                          
			    
			    
                            menu.addItem("Schedule Service","/schedule-service.fs");
                          
                        
                
                        menu = ms.addMenu(document.getElementById("menu_67"));
                        
                          
                        
                        
                          
			    
			    
                            menu.addItem("Featured Promotion","/promo-feature-1.fs");
                          
                        
                
			
		//==================================================================================================

		//==================================================================================================
		// 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 subMenu2 = menu2.addMenu(menu2.items[2]);
		//subMenu2.addItem("&middot; All Time Leaders", "#");	
		//subMenu2.addItem("&middot; All-Time Draft/Trade", "#");
		//subMenu2.addItem("&middot; Hall of Fame", "#");
		
 		//var subMenu22 = subMenu2.addMenu(subMenu2.items[0]);
		//subMenu22.addItem("&middot; Interceptions", "#");
		//subMenu22.addItem("&middot; Kickoff Returners", "#");
		//subMenu22.addItem("&middot; Passing", "#");
		//subMenu22.addItem("&middot; Punters", "#");

		//GLOBAL NAV --- LINKS
		//var menu4 = ms.addMenu(document.getElementById("menu4"));
		//menu4.addItem("- Bible & Chapel Services", "/activities/bible-chapel.jsp");
		//menu4.addItem("- Sports Programs", "/activities/sports.jsp");
		//menu4.addItem("- The Arts", "/activities/the-arts.jsp");
		
		 
		//==================================================================================================
		// 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.
		//==================================================================================================
		DropDown.renderAll();
	}

