			function popWin(strURL)
		{
			window.open(strURL,"newWin");
		}
		
		function linkto_externalSite(strURL)
{
	if(confirm("Usted esta saliendo de la Únion de Crédito Federal del Departamento de Bomberos de Bridgeport. El sitio de internet al que usted esta iendo no es operada por la Únion de Crédito Federal del Departamento de Bomberos de Bridgeport. No somos responsables del contenido o información encontrada en este sitio de internet externo. de Crédito Federal del Departamento de Bomberos de Bridgeport no es responsable por, ni lo representamos a usted o a este sitio de internet externo si entran en cualquier acuerdo. Las polizas de Seguridad y Privacidad pueden que sean diferentes que esas practicadas por la unión de crédito."))
	{
		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, 3, 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("HomePg"));
		menu1.addItem("English", "Index.asp");
		menu1.addItem("Español", "sp_Index.asp");
		//menu1.addItem("Mortgage", "javascript:linkto_externalSite('http://mortgage.purdueefcu.com/default2.asp?siteId=F554D3B7-96FC-42DC-9070-D9DB74033E79')");
		

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("Services")); 
		menu2.addItem("Préstamos", "sp_Loans.asp");
		menu2.addItem("Ahorros/ATM", "sp_Savings.asp");
		menu2.addItem("Servicios Especiales", "sp_SpecialServices.asp");
		menu2.addItem("Calculadoras", "sp_Calculators.asp");
		//menu2.addItem("MyAccount", "javascript:popWin('https://www2.homecu.net/~pccu/mindex.html')");
		

		//==================================================================================================

		//==================================================================================================
		
		var menu3 = ms.addMenu(document.getElementById("Membership"));
		menu3.addItem("Beneficios de Membrecia", "sp_Membership.asp");
		menu3.addItem("Solicitud de Membrecia", "javascript:popWin('https://www.creditunionwebsites.com/V004U30PAN/bfdefcu/Form_MemberApp_sp.asp')");

				
		//==================================================================================================

		//==================================================================================================

		var menu4 = ms.addMenu(document.getElementById("InTheNews"));
		menu4.addItem("Noticias Corrientes", "sp_News.asp");
		menu4.addItem("Noticias de la Comunidad", "sp_CommunityNews.asp");
		menu4.addItem("Horario de Dias Feriados", "sp_Holidays.asp");
		
		
		//==================================================================================================


		var menu5 = ms.addMenu(document.getElementById("OnlineServ"));
		menu5.addItem("Banca Electrónica", "javascript:popWin('https://homebanking.bfdefcu.org')");
		menu5.addItem("Pago de Cuentas del Miembro", "javascript:popWin('https://www.memberpay.com/memberbillpay/bfdefcu')");
		menu5.addItem("Hipotecas del Mercado CUSO", "sp_MortgageMarketsCUSO.asp");
		
		//==================================================================================================

		//==================================================================================================


		var menu6 = ms.addMenu(document.getElementById("About")); 
		menu6.addItem("Historia", "sp_History.asp");
		menu6.addItem("Misión", "sp_Mission.asp");
		menu6.addItem("Afiliaciones", "sp_Affiliations.asp");
		menu6.addItem("Términos de Privacidad", "sp_PrivacyStatement.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();
	}

