			function popWin(strURL)
		{
			window.open(strURL,"newWin");
		}
		
		function linkto_externalSite(strURL)
{
	if(confirm("You are leaving the First Connecticut Credit Union.\n\nThe website you are linking to is not operated by First Connecticut Credit Union.\n\nWe are not responsible for any content or information posted to this external web site.\n\nFirst Connecticut 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, 12, 0, TransMenu.reference.bottomLeft);
		var ls = new TransMenuSet(TransMenu.direction.down, 70, 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("Join"));
		menu1.addItem("About Us", "AboutUs.asp");
		menu1.addItem("Additional Benefits", "AdditionalBenefits.asp");
		menu1.addItem("Membership Application", "https://www.creditunionwebsites.com/V004U30PAN/firstconnecticut/Form_MemberApp.asp");
		menu1.addItem("Current Promotions", "Promotions.asp");
		menu1.addItem("Contact Us", "ContactUs.asp");
		
		var submenu1 = menu1.addMenu(menu1.items[0]);
			submenu1.addItem("Hours & Holidays", "HoursHolidays.asp");
			submenu1.addItem("Directions", "Directions.asp");
			submenu1.addItem("Privacy Statement", "PrivacyStatement.asp");
						
		
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("Borrow"));
		menu2.addItem("Rates", "LoanRates.asp");
		menu2.addItem("Loan Products", "LoanProducts.asp");
		menu2.addItem("Mortgages", "FirstMortgages.asp");
		menu2.addItem("Apply for a Loan", "javascript:popWin('https://www.myinterlend.com/CRINetWebWC/Gateway.aspx?mid=PSG&iid=00034590&tvPurposeString=LVN')");
		menu2.addItem("Calculators", "Calculators.asp");
		menu2.addItem("Current Promotions", "Promotions.asp");
		menu2.addItem("Free Credit Report", "javascript:linkto_externalSite('https://www.annualcreditreport.com/cra/index.jsp')");
		
			
			
					
		//==================================================================================================

		//==================================================================================================
		
		
		var menu3 = ms.addMenu(document.getElementById("Save"));
		menu3.addItem("Rates", "SavingsRates.asp");
		menu3.addItem("Share Products", "ShareProducts.asp");
		menu3.addItem("Current Promotions", "Promotions.asp");
		menu3.addItem("Order Checks", "javascript:linkto_externalSite('https://www.deluxe-check-order.com/ReorderHome.jsp')");

			
		
		//==================================================================================================
		
		
		var menu4 = ls.addMenu(document.getElementById("VisaCard"));
		menu4.addItem("&bull; Visa Credit Card Overview", "VisaCreditCard.asp");
		menu4.addItem("&bull; Access Your Account", "javascript:linkto_externalSite('https://www.ezcardinfo.com')")
		menu4.addItem("&bull; ScoreCard Reward Program", "javascript:linkto_externalSite('https://www.scorecardrewards.com/general_logon.asp')")
		menu4.addItem("&bull; Apply Now", "javascript:popWin('https://www.myinterlend.com/CRINetWebWC/Gateway.aspx?mid=PSG&iid=00034590&tvPurposeString=LVN')");
		
		//menu4.addItem("&bull; Apply Now", "javascript:popWin('https://www.myinterlend.com/CRINetWebWC/Gateway.aspx?mid=PSG&iid=00034590&tvPurposeString=LVN')");
		
			
		//==================================================================================================
		
		
		var menu5 = ls.addMenu(document.getElementById("ATMAccess"));
		menu5.addItem("&bull; ATM Access Overview", "ATMAccess.asp");
		menu5.addItem("&bull; Allpoint Network", "javascript:linkto_externalSite('http://www.allpointnetwork.com')");
		menu5.addItem("&bull; Onsite ATM", "ATMAccess.asp#OnSite");
		menu5.addItem("&bull; Apply Now", "https://www.creditunionwebsites.com/V004U30PAN/firstconnecticut/Form_CardApp.asp");
		
			
		//==================================================================================================
		
		
		var menu6 = ls.addMenu(document.getElementById("DebitCard"));
		menu6.addItem("&bull; Debit Card Overview", "DebitCard.asp");
		menu6.addItem("&bull; Allpoint Network", "javascript:linkto_externalSite('http://www.allpointnetwork.com')");
		menu6.addItem("&bull; Apply Now", "https://www.creditunionwebsites.com/V004U30PAN/firstconnecticut/Form_CardApp.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();
	}

