//put this page at the root of the site
function openSpeedBump(strLink, isSecure)
{
	//Use this link on all sites
	//window.open('/speedBump/speedBump.asp?strLink=' + strLink + '&isSecure=' + isSecure,'','height=400,width=350')
	window.open('speedBump.asp?strLink=' + strLink + '&isSecure=' + isSecure,'','height=360,width=320,resizable=yes,scrollbars=yes')
}

function doLoginRefresh() {
   	if(document.Remote.loginTo[1].checked) { 
   		// Business (ecorp) login - both access ID and password are required
   		if (document.Remote.AccessIDVisible.value != "")	{
			document.Remote.nmUID.value = document.Remote.AccessIDVisible.value;
	    	document.Remote.action = 'https://www.securecashmgnt.com/EBC_EBC1961/EBC1961.asp?WCI=Process&WCE=RemoteLogon&IRL=T';

			document.Remote.AccessIDVisible.value = "";
			return true;
		} else {
			alert("\n Please Enter a valid Access ID and Password."); 
			return false;
		}
	} else {
   		// Personal (ecom) login - only access ID is required
   		if (document.Remote.AccessIDVisible.value != "") {
			document.Remote.AccessID.value = document.Remote.AccessIDVisible.value;
			document.Remote.action = 'https://www.ecom01.fiservboston.com/pbi_pbi1961/pbi1961.asp?WCI=RemoteLogin&Rt=021308833&LogonBy=connect3&PRMACCESS=account';

			document.Remote.AccessIDVisible.value = "";
			return true;
		} else {
			alert("\n Please enter a valid Access ID."); 
			return false;
		}			
	}
}

function hidePasswordRow() {
	var passwordRow = document.getElementById("passwordRow")
	if(passwordRow)	passwordRow.style.display = "none";
}

function showPasswordRow() {
	var passwordRow = document.getElementById("passwordRow")
	if(passwordRow)	passwordRow.style.display = "block";
}
