			function popWin(strURL)
		{
			window.open(strURL,"newWin");
		}
		
		function linkto_externalSite(strURL)
{
	if(confirm("You are leaving the Winthrop-University Hospital Emoloyees FCU.\n\nThe website you are linking to is not operated by Winthrop-University Hospital Emoloyees FCU.\n\nWe are not responsible for any content or information posted to this external web site.\n\nWinthrop-University Hospital Emoloyees FCU 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, 155, 0, TransMenu.reference.Topleft);
		var ls = new TransMenuSet(TransMenu.direction.down, 0, 25, TransMenu.reference.Topleft);
		
		//==================================================================================================
		// 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("MemberRewards_Nav"));
		menu1.addItem("Overview", "RewardsOverview.asp");
		menu1.addItem("Membership Levels", "MembershipLevels.asp");
		menu1.addItem("Reward Units", "RewardPoints.asp");

		//==================================================================================================

		var menu2 = ms.addMenu(document.getElementById("Accounts_Nav"));
		menu2.addItem("Share Drafts (Checking)", "ShareDraft.asp");
		menu2.addItem("Share Savings", "ShareSavings.asp");
		menu2.addItem("Share Certificates", "ShareCert.asp");
		menu2.addItem("Money Market", "MoneyMarket.asp");
		menu2.addItem("IRAs", "IRAs.asp");
		menu2.addItem("Holiday Accounts", "HolidayAcct.asp");
		menu2.addItem("Childrens Accounts", "ChildrensAcct.asp");
		
			
		//==================================================================================================
		
		var menu3 = ms.addMenu(document.getElementById("Loans_Nav"));
		menu3.addItem("Home Equity", "HomeEquityLoans.asp");
		menu3.addItem("Auto Loans", "AutoLoans.asp");
		menu3.addItem("Signature Loans", "SignatureLoans.asp");
		menu3.addItem("Share Drafts LOC", "ShareDraftLOC.asp");
				
		
		//==================================================================================================


		var menu4 = ms.addMenu(document.getElementById("Rates_Nav"));
		menu4.addItem("Savings Rates", "SavingsRates.asp");
		menu4.addItem("Loan Rates", "LoanRates.asp");
		menu4.addItem("Visa Rates", "VisaRates.asp");
		
 	
		//==================================================================================================
		
		var menu5 = ms.addMenu(document.getElementById("Cards_Nav"));
		menu5.addItem("Visa Credit Card", "VisaCC.asp");
		menu5.addItem("Gift Cards/Checks", "GiftCards.asp");
		menu5.addItem("ATM &amp; Debit Cards", "ATMDebitCards.asp");


		//==================================================================================================
		
		var menu6 = ms.addMenu(document.getElementById("Services_Nav"));
		menu6.addItem("Home Banking", "HomeBanking.asp");		
		menu6.addItem("Bill Pay", "BillPay.asp");		
		menu6.addItem("ACH Receiving/Direct Deposit", "ACH.asp");		
		menu6.addItem("Payroll Deduction", "PayrollDeduction.asp");		
		menu6.addItem("ART", "ART.asp");
		menu6.addItem("Go Direct", "javascript:linkto_externalSite('http://www.godirect.org/')");
		menu6.addItem("Financial Calculators",  "javascript:linkto_externalSite('http://members.cunamutual.com/MoneyManagement/default.asp?SITE=03119309')");
		menu6.addItem("Other Services", "OtherServ.asp");
		
		
		//==================================================================================================

		
		var menu7 = ms.addMenu(document.getElementById("News_Nav"));
		menu7.addItem("Newsletters", "Newsletters.asp");	
		
		
		//==================================================================================================

		
		var menu8 = ls.addMenu(document.getElementById("OpenAcct"));
		menu8.addItem("> Click here to <br> download our <br> member application  <br> form (PDF file). ", "upload/MembershipApp.pdf");	
		menu8.addItem("> Click here for an <br> example of the <br> New Account <br> Application Form", "upload/MembershipAppInstr.pdf");	
		
		
		
		
		
 
		//==================================================================================================
		// 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();
	}
