//put this page at the root of the site
function openSpeedBump(strLink, isSecure)
{
	window.open('speedBump38ea.php?strLink=' + strLink + '&isSecure=' + isSecure,'','height=250,width=500')
}

function openSpeedBumpE(strLink, isSecure)
{
	window.open('speedBumpEmail38ea.php?strLink=' + strLink + '&isSecure=' + isSecure,'','height=250,width=500')
}
function openwindowpwd()
{
	window.open("tip_password.php","mywindow","menubar=0,resizable=1,width=350,height=250");
}
function openwindowecorp()
{
	window.open("tip_ecorp.php","mywindow","menubar=0,resizable=1,width=350,height=250");
}
function setAction()
{
	if(document.Remote.loginTo[1].checked)
	{
	document.Remote.nmUID.value = document.Remote.AccessID.value;
	//document.Remote.target = '_blank';
	document.Remote.action = 'https://web3.secureinternetbank.com/EBC_EBC1961/EBC1961.ASP?WCI=Process&WCE=RemoteLogon&IRL=T&RT=091916527&mfa=2';
	}
}
   
function doLoginRefresh()
{
	if (document.Remote.AccessID.value != "")
		{
		setAction();
		setTimeout('document.Remote.reset()', 20000);
		document.Remote.AccessID.value=document.Remote.AccessID.value;
		return true;
		}
	else
		{
		alert("\n Please Enter a valid Access ID.  Thank you!\n\n\t"); 
		return false;
		}	
}
function clearText(thefield)
{
	if (thefield.defaultValue==thefield.value)
	thefield.value = ""
	}
function pers() {
    document.getElementById("togglediv").style.display = "block";
	document.getElementById( "forgotpwdbutton" ).onclick = "javascript:location.href='https://web3.secureinternetbank.com/pbi_pbi1961/pbi1961.asp?Rt=091916527&LogonBy=connect3&PRMACCESS=Account&WCI=ForgotPswd'";
	document.getElementById("forgotpwdlink").href = "https://web3.secureinternetbank.com/pbi_pbi1961/pbi1961.asp?Rt=091916527&LogonBy=connect3&PRMACCESS=Account&WCI=ForgotPswd";
} 
function ecorp() {
	document.getElementById("togglediv").style.display = "none";
	document.getElementById( "forgotpwdbutton" ).onclick = "#";
	document.getElementById("forgotpwdlink").href = "#";
} 
