
	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, 0, 0, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// About Us
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("- Mission Statement & Values", "aboutus_missionvalues.aspx");
		menu1.addItem("- Meet Your Team", "aboutus_team.aspx");
		menu1.addItem("- Metrocities Mortgage", "aboutus_metrocities.aspx");
		menu1.addItem("- What is a Mortgage Relationship?", "aboutus_mortgagerelationship.aspx");
		menu1.addItem("- Why the Thompson Group?", "aboutus_why.aspx");
		menu1.addItem("- Photo Galleries", "aboutus_photos.aspx");

		// Getting Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Our Loan Process", "gettingstarted_process.aspx");
		menu2.addItem("- How Much Do I Qualify For?", "gettingstarted_qualify.aspx");
		menu2.addItem("- Client Information Form", "https://ssl6.chi.us.securedata.net/tgloans.com/forms_clientinformation.aspx");
		menu2.addItem("- Payment Calculators", "gettingstarted_calculators.aspx");
		
		// Tools
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Forms", "tools.aspx");
		menu3.addItem("- Prepurchase Consultation", "tools_prepurchase.aspx");
		menu3.addItem("- FAQ's and Discounts", "tools_faqdiscount.aspx");
		menu3.addItem("- Total Cost Analysis", "tools_totalcost.aspx");
		menu3.addItem("- Equity Reposition", "tools_equity.aspx");
		menu3.addItem("- Debt-Free Analysis", "tools_debtfree.aspx");
		menu3.addItem("- Mortgage Market Analysis", "tools_marketanalysis.aspx");
		menu3.addItem("- Home Loan Action Plan", "tools_actionplan.aspx");
		menu3.addItem("- Mortgage Banker/Broker Benefits", "tools_benefits.aspx");
		//menu3.addItem("- Finance This Home.com", "tools_financethishome.aspx");
		menu3.addItem("- Programs Overview", "tools_programs.aspx");

			// Tools: "Forms" Submenu
			var subMenu3 = menu3.addMenu(menu3.items[0]);
			subMenu3.addItem("- Annual Mortgage Checkup", "forms_annualcheckup.aspx");
			subMenu3.addItem("- Free Credit Update and Analysis", "forms_creditanalysis.aspx");
			subMenu3.addItem("- Rate Watch Sign Up Form", "forms_ratewatch.aspx");
			subMenu3.addItem("- What is my Home Worth?", "forms_homeworth.aspx");
			subMenu3.addItem("- Concierge Form", "forms_concierge.aspx");

		// Clients for Life
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Mortgage Management", "clients_mortgagemanagement.aspx");
		menu4.addItem("- Annual Mortgage Checkup", "forms_annualcheckup.aspx");
		menu4.addItem("- Rate Watch", "forms_ratewatch.aspx");
				
		// Preferred Partners
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- Why Preferred Partners", "partners.aspx");
		//menu5.addItem("- Client Retention Program", "partners_clientretention.aspx");
		//menu5.addItem("- Case Studies", "partners_casestudies.aspx");
		menu5.addItem("- Realtor Partners", "partners_realtors.aspx");
		menu5.addItem("- Financial Planning", "partners_financialplanning.aspx");
		menu5.addItem("- Accounting/Tax Professionals", "partners_taxagents.aspx");
		menu5.addItem("- Legal Professionals", "partners_legal.aspx");
		//menu5.addItem("- Certified Public Accountants", "partners_cpas.aspx");
		menu5.addItem("- Insurance Agents", "partners_insurance.aspx");

		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}
