			function popWin(strURL)
		{
			window.open(strURL,"newWin");
		}
		
		function linkto_externalSite(strURL)
{
	if(confirm("You are leaving the Hampton Roads Educators’ Credit Union Web site.\n\nThe Web site you are linking to is not operated by Hampton Roads Educators’ Credit Union.\n\nWe are not responsible for any content or information posted to this external Web site.\n\nHampton Roads Educators’ 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, 16, 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("Membership"));
		menu1.addItem("Why a Credit Union?", "WhyCU.asp");
		menu1.addItem("Membership Eligibility", "Eligibility.asp");
		menu1.addItem("Become a Member", "BecomeMember.asp");
		menu1.addItem("Member Newsletters", "Newsletters.asp");

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("SavingsChecking"));
		menu2.addItem("Savings", "Savings.asp");
		menu2.addItem("MatriMoney", "MatriMoney.asp");
		menu2.addItem("Checking", "Checking.asp");
		menu2.addItem("Youth Investors", "YouthInvestors.asp");
		menu2.addItem("Other Services", "OtherServ.asp");

		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("LoanSolutions"));
		menu3.addItem("Apply for a Loan", "javascript:popWin('https://www.loanliner.com/LoanRequest/CLPPresenter/LoanList.aspx?CUID=04501686&LoanListId=836&ChannelId=2081288900353185117&LocationId=2081288900353185117&IsFramed=F')");
		menu3.addItem("Home Loans", "HomeLoans.asp");
		menu3.addItem("Vehicle Loans", "VehicleLoans.asp");
		menu3.addItem("Personal Loans", "PersonalLoans.asp");
		menu3.addItem("Credit Cards", "CreditCards.asp");
		menu3.addItem("Other Services", "OtherServ.asp");
		
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("OnlineSolutions"));
		menu4.addItem("Online Banking", "Banking.asp");
		menu4.addItem("e-Statements", "eStatements.asp");
		menu4.addItem("SMARTS", "SMARTS.asp");
		menu4.addItem("BudgetSmart & Accel", "BudgetSmart.asp");
		menu4.addItem("Applications & Forms", "Apps.asp");
		
		
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("Rates"));
		menu5.addItem("Savings Rates", "SavingsRates.asp");
		menu5.addItem("Loan Rates", "LoanRates.asp");
		menu5.addItem("Fee Schedule", "Fees.asp");
		menu5.addItem("Calculators", "Calcs.asp");
		
		//==================================================================================================

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("LifeEvents"));
		menu6.addItem("Buying a Car", "LifeEvents_Car.asp");
		menu6.addItem("Understanding Your Credit", "LifeEvents_Credit.asp");
		menu6.addItem("Budget Counseling", "LifeEvents_Budget.asp");
		menu6.addItem("First Job", "LifeEvents_Job.asp");
		menu6.addItem("Protecting Yourself From Identity Theft", "LifeEvents_IDTheft.asp");
		menu6.addItem("Getting Married", "LifeEvents_Married.asp");
		menu6.addItem("Planning a Vacation", "LifeEvents_Vacation.asp");
		menu6.addItem("Preparing for Retirement", "LifeEvents_Retirement.asp");
		menu6.addItem("Off to College", "LifeEvents_College.asp");
		menu6.addItem("Buying a Home", "LifeEvents_Home.asp");
		menu6.addItem("Teaching Kids to Save", "LifeEvents_Kids.asp");
		
		//==================================================================================================

		//==================================================================================================
		// 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();
	}