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, 0, 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("a1"));
	menu1.addItem("Summary of Accounts", "https://myloan.guildmortgage.com/summary_of_accounts.htm"); 
	menu1.addItem("Account Details", "https://myloan.guildmortgage.com/account_details.htm");
	menu1.addItem("My Profile", "https://myloan.guildmortgage.com/my_profile.htm");
	menu1.addItem("Escrow", "https://myloan.guildmortgage.com/escrow.htm");
	menu1.addItem("Homeowner's Insurance", "https://myloan.guildmortgage.com/homeowners_insurance.htm");
	menu1.addItem("Payments", "https://myloan.guildmortgage.com/payments.htm");
	menu1.addItem("Payoffs", "https://myloan.guildmortgage.com/payoffs.htm");
	menu1.addItem("Taxes", "https://myloan.guildmortgage.com/taxes.htm");
	menu1.addItem("Year End Tax Information", "https://myloan.guildmortgage.com/year_end_tax_info.htm");
	menu1.addItem("Contact", "https://myloan.guildmortgage.com/contact.htm");
	
	var menu2 = ms.addMenu(document.getElementById("a2"));
	menu2.addItem("About Us", "http://www.guildmortgage.com/about.jsp");
	menu2.addItem("Our History", "http://www.guildmortgage.com/about_history.jsp");
	menu2.addItem("Our Values", "http://www.guildmortgage.com/about_values.jsp");
	menu2.addItem("Our Partnership Group", "http://www.guildmortgage.com/about_partnership_group.jsp");
		
	var menu3 = ms.addMenu(document.getElementById("a3"));
	menu3.addItem("Branch Locator", "http://www.guildmortgage.com/branch_locator.jsp"); 
	menu3.addItem("Corporate Office", "http://www.guildmortgage.com/corporate_office.jsp"); 
	
	var menu4 = ms.addMenu(document.getElementById("a4"));
	menu4.addItem("Loan Processing", "http://www.guildmortgage.com/loan_resources.jsp"); 
	menu4.addItem("Home Buyer's Checklist", "http://www.guildmortgage.com/home_buyers_checklist.jsp"); 
	menu4.addItem("Mortgage Calculators", "http://www.guildmortgage.com/mortgage_calculator.jsp"); 
	menu4.addItem("Links", "http://www.guildmortgage.com/loan_resources_links.jsp"); 
	
	var menu6 = ms.addMenu(document.getElementById("a6"));
	menu6.addItem("Welcome", "http://www.guildmortgage.com/careers.jsp");
	menu6.addItem("Branch Opportunities", "http://www.guildmortgage.com/careers_branch_opportunities.jsp");
	menu6.addItem("Corporate Opportunities", "http://www.guildmortgage.com/careers_corporate_opportunities.jsp");  
	menu6.addItem("Employee Application", "http://www.guildmortgage.com/employee_application.jsp");  
	
	var menu7 = ms.addMenu(document.getElementById("a7"));
	menu7.addItem("Customer Service", "http://www.guildmortgage.com/customer_service.jsp"); 
	menu7.addItem("Contact Information", "http://www.guildmortgage.com/contact_information.jsp");
	menu7.addItem("Hardship Assistance", "http://www.guildmortgage.com/hardship.jsp"); 
	menu7.addItem("Loan Workouts", "http://www.guildmortgage.com/loan_workouts.jsp"); 
	
	var menu5 = ms.addMenu(document.getElementById("a5"));
	menu5.addItem("Locations", "http://www.guildmortgage.com/wholesale.jsp");
	menu5.addItem("Rates", "http://wholesale.guildmortgage.com"); 
        menu5.addItem("Guidelines", "http://www.guildmortgage.com/Guild_Intranet logon_Wholesale.html");
	menu5.addItem("Forms", "http://www.guildmortgage.com/wholesale_forms.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.
	//==================================================================================================
	TransMenu.renderAll();
}