
	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, 9, 0, mtDropDown.reference.bottomLeft);
		var browser = navigator.appName;
		if ( browser == "Microsoft Internet Explorer") {
		var ms = new mtDropDownSet(mtDropDown.direction.down, 0, -10, mtDropDown.reference.bottomLeft);
		} else {
		var ms = new mtDropDownSet(mtDropDown.direction.down, 0, -10, mtDropDown.reference.bottomLeft);
		}

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		// additional code for opening links in a new window
		function openPage(pURL) {
		window.open(pURL);
		}

		// ABOUT US
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("Our Mission", "/who_we_are.htm#mission");
		menu1.addItem("Our History", "/who_we_are.htm#history");
		menu1.addItem("Our Beliefs", "/who_we_are.htm#beliefs");
		menu1.addItem("Our Management", "/management.htm");
		menu1.addItem("Board of Directors", "/Board-of-Directors/index.htm")
		menu1.addItem("Blog: The Caregiver's Corner", "javascript:openPage('http://sandiegocaregiversblog.com/');")
		menu1.addItem("Patient and Family Stories", "/patient_and_family_stories.htm");
		menu1.addItem("Newsletter","javascript:openPage('/pdf/You Matter.pdf');");
		menu1.addItem("News Room for The Media and Press", "/News_Room_Media_and_Press.htm");
		menu1.addItem("Calendar of Events", "/calendar.htm");
		menu1.addItem("Helpful Links", "/helpful_links.htm");
		menu1.addItem("Speakers Bureau and Community Outreach","/who_we_are.htm#outreach");

		// FOR YOU
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("Request Our Services Via Online Form","javascript:openPage('https://www.sdhospice.com/referral.aspx');");
		menu2.addItem("What is Hospice and Palliative Care?","/for_you.htm#what");
		menu2.addItem("Who Pays for Hospice Care?","/for_you.htm#whopays");
		menu2.addItem("How is Hospice Care Provided?","/for_you.htm#how");
		menu2.addItem("Where is Hospice Care Provided?","/for_you.htm#where");
		menu2.addItem("How does Hospice Care Begin?","/for_you.htm#begin");
		menu2.addItem("Additional Programs and Services","/for_you.htm#add");
		menu2.addItem("The Center for Grief Care &amp; Education","/cgce/");
		menu2.addItem("Caregivers Resources","/sandiegocaregivers.htm");
		menu2.addItem("Blog: The Caregiver's Corner", "javascript:openPage('http://sandiegocaregiversblog.com/');")


		
		// FOR PROVIDERS
	  var menu3 = ms.addMenu(document.getElementById("menu3"));
    menu3.addItem("Who Should be Referred for Hospice Care?", "/for_providers.htm");		
    menu3.addItem("Reimbursement for Services", "/for_providers.htm#reimburse");		
    // menu3.addItem("Palliative Care Consultation Services", "/for_providers.htm#consult");		
    menu3.addItem("Guides for Hospice Eligibility", "/for_providers.htm#eligibility");	
    menu3.addItem("The Center for Grief Care &amp; Education", "/The_Center_for_Grief_Care_and_Education.htm");	
    menu3.addItem("The Institute for Palliative Medicine Education and Research Programs", "/The_Institute_for_Palliative_Medicine.htm");	

		// DONATE
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Donate Now","/donate.htm");		
		menu4.addItem("Ways To Give","/ways_to_give.htm");		
		menu4.addItem("Events","/calendar.htm");		
		menu4.addItem("Contact The Foundation","/contact_foundation.htm");		
		menu4.addItem("Planned Giving","javascript:openPage('http://www.plan.gs/stelterweb/Home.do?orgId=900');");
		menu4.addItem("Friends of Hospice","/friends/index.htm");
		
		// var subMenu43 = menu4.addMenu(menu4.items[5]);
		// subMenu43.addItem("#","#");		
		// subMenu43.addItem("#", "#");    
		// subMenu43.addItem("#", "#");    
		// subMenu43.addItem("#", "#");    
		// subMenu43.addItem("#", "#");    
		
		// VOLUNTEER
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Volunteer Opportunities", "/volunteer.htm#opportunities");
		menu5.addItem("Volunteer News & References", "/volunteer.htm#news");
		menu5.addItem("Contact Volunteer Resources", "/volunteer.htm#contact");
		

		// CAREERS
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("Career Opportunities", "/Careers");
        menu6.addItem("Job Openings", "/job_openings.htm");
		menu6.addItem("Benefits", "/Careers/benefits.htm");
		menu6.addItem("Culture", "/Careers/culture.htm");
		menu6.addItem("Divisions", "/Careers/job-locations.htm");
		menu6.addItem("Contact HR", "/Careers/index.htm#contact");
		
				
				
		mtDropDown.renderAll();
	}
