// Drop Down :: Catches all the children of "nav"
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;
// End Dropdown Catch Children

// Remote Login Code
function setAction() {
	//Fill in the Routing number below.
	var rtNum = "242071088";
	var x = document.forms.Remote;
	
	x.action = 'https://web1.secureinternetbank.com/pbi_pbi1961/Pbi1961.asp?WCI=RemoteLogin&RT=242071088&LogonBy=connect3&PRMACCESS=Portfolio'; 
}
   
function doLoginRefresh() {
	var x = document.forms.Remote;
	
	if (x.AccessIDVisible.value != "") {
		x.AccessID.value = x.AccessIDVisible.value;
		x.AccessIDVisible.value = "";
		
		setAction();
		return true;
	} else {
		alert("Please Enter a valid Access ID.  Thank you!"); 
		return false;
	} 
}
// End Remote Login Code
