			function popWin(strURL)
		{
			window.open(strURL,"newWin");
		}
		
		function linkto_externalSite(strURL)
{
	if(confirm("You are leaving the Sterling Federal Credit Union Website.\n\nThe website you are linking to is not operated by Sterling Federal Credit Union.\n\nWe are not responsible for any content or information posted to this external web site.\n\nSterling Federal Credit Union is not responsible for, nor do we represent you or the External web site if you enter into any agreements.\n\nPrivacy and Security policies may differ between our web site and this external site."))
	{
		window.open(strURL,"","");
	}
}
	
	// 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 (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, -1, 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("About"));
		menu1.addItem("About Us", "AboutUs.asp");
		menu1.addItem("How to Join", "Join.asp");
		menu1.addItem("What is a Credit Union", "WhatCU.asp");
		menu1.addItem("Contact Us", "Contact.asp");
		menu1.addItem("Hours & Locations", "Locations.asp");
		menu1.addItem("Insurance Services", "Insurance.asp");
		
			var submenu1 = menu1.addMenu(menu1.items[5]);
			submenu1.addItem("NCUA/Deposit Insurance", "Insurance.asp#ncua");
			submenu1.addItem("AD&D", "Insurance.asp#add");
			submenu1.addItem("Auto", "Insurance.asp#auto");
			submenu1.addItem("Home", "Insurance.asp#home");
			submenu1.addItem("Life", "Insurance.asp#life");
			submenu1.addItem("Long Term Health Care", "Insurance.asp#health");
			submenu1.addItem("Medicare", "Medicare.asp");

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("Info"));
		menu2.addItem("Disclosures", "Disclosures.asp");
		menu2.addItem("Helpful Links", "Links.asp");
		menu2.addItem("Newsletters", "Newsletters.asp");
		menu2.addItem("Privacy Policy", "Privacy.asp");
		menu2.addItem("Scholarships", "Scholarships.asp");

		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("ProdServ"));
		menu3.addItem("Shares/Savings", "Savings.asp");
		menu3.addItem("Draft/Checking", "Checking.asp");
		menu3.addItem("Internet Teller", "InternetTeller.asp");
		menu3.addItem("Telephone Teller", "PhoneTeller.asp");
		menu3.addItem("ATM Cards", "ATMDebit.asp");
		menu3.addItem("VISA Check/Debit Cards", "VISA.asp#dc");
		menu3.addItem("Other Services", "OtherServices.asp");
		menu3.addItem("Members Financial Network", "javascript:linkto_externalSite('http://members.cunamutual.com/Home/mfn.asp?10500286')");
		menu3.addItem("e-Statements", "Vault.asp");
		
			var submenu3 = menu3.addMenu(menu3.items[0]);
			submenu3.addItem("Regular Savings", "Savings.asp#regular");
			submenu3.addItem("Christmas Club", "Savings.asp#holiday");
			submenu3.addItem("Special Accounts", "Savings.asp#special");
			submenu3.addItem("Organizational Accounts", "Savings.asp#org");
			submenu3.addItem("Children’s Accounts", "Savings.asp#child");
			submenu3.addItem("Savings Bonds", "Savings.asp#bonds");
			submenu3.addItem("IRA", "Savings.asp#ira");
			submenu3.addItem("Share Certificates", "Savings.asp#certs");
			submenu3.addItem("Investment Services", "Savings.asp#Investment");

			var submenu3 = menu3.addMenu(menu3.items[1]);
			submenu3.addItem("Regular Draft/Checking", "Checking.asp#regular");
			submenu3.addItem("No Service Fee Checking", "Checking.asp#nofee");
			submenu3.addItem("Classic Checking", "Checking.asp#classic");
			submenu3.addItem("Organizational Accounts", "Checking.asp#org");
			submenu3.addItem("Business Checking", "Checking.asp#business");
			submenu3.addItem("Overdraft Protection", "Checking.asp#overdraft");
			submenu3.addItem("Courtesy Pay", "Checking.asp#privilege");
			submenu3.addItem("Check Reorder", "javascript:linkto_externalSite('https://reorder.libertysite.com/Login.asp')");

//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("Loans"));
		menu4.addItem("Loans", "#");
		menu4.addItem("VISA", "Visa.asp");
		menu4.addItem("Payment Protection", "PaymentProtection.asp");
		menu4.addItem("Your Credit Report", "CreditReport.asp");
		menu4.addItem("GAP Insurance", "CarLoans.asp#gap");
		
			var submenu4 = menu4.addMenu(menu4.items[0]);
			submenu4.addItem("Car Loans", "CarLoans.asp");
			submenu4.addItem("Boats & Recreational Loans", "RecLoans.asp");
			submenu4.addItem("Personal Loans", "PersonalLoans.asp");
			submenu4.addItem("Mortgage Loans", "MortgageLoans.asp");
			submenu4.addItem("Agriculture Loans", "AGLoans.asp");
			submenu4.addItem("Business Loans", "BusinessLoans.asp");
			submenu4.addItem("Share/Certificate Loans", "ShareCertLoans.asp");
			submenu4.addItem("Student Loans", "StudentLoans.asp");
			
			var submenu4 = menu4.addMenu(menu4.items[1]);
			submenu4.addItem("VISA Credit Cards", "VISA.asp#cc");
			submenu4.addItem("VISA Check/Debit Cards", "VISA.asp#dc");
			submenu4.addItem("Verified by VISA", "VISA.asp#vv");
			submenu4.addItem("Credit Card Info Online", "VISA.asp#ccinfo");

		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("Rates"));
		menu5.addItem("Share & Investment Rates", "ShareRates.asp");
		menu5.addItem("Loan Rates", "LoanRates.asp");
		menu5.addItem("Fee Schedule", "FeeSchedule.asp");

		//==================================================================================================

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("Apps"));
		menu6.addItem("Online Applications", "OnlineApps.asp");
		menu6.addItem("Calculators", "Calcs.asp");

		
		//==================================================================================================

		//==================================================================================================
		var menu7 = ms.addMenu(document.getElementById("QuickLinks"));
		menu7.addItem("Internet Teller", "javascript:popWin('https://www.netit.financial-net.com/sterlingfcu/')");
		menu7.addItem("Members Financial Network", "javascript:linkto_externalSite('http://members.cunamutual.com/Home/mfn.asp?10500286')");
		menu7.addItem("Credit Card Info Online", "javascript:linkto_externalSite('https://www.ezcardinfo.com')");

		
		//==================================================================================================
		// 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();
	}
