function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;
	
function external_disclaimer(goHere){
        
  message  = "You are now leaving County National Bank’s website.\n";
  message += "County National Bank does not provide, and is not responsible for, the product,\n";
  message += "service,or overall website content available at the site to which you are going.\n";
  message += " The privacy policy of the site to which you are going may differ from County National Bank’s\n";
  message += "privacy policy.  To remain at our site, click cancel.\n";
  message += "To leave our site for the link you selected, click ok.\n";
  message += "If you are not automatically redirected to the site, please hold your CONTROL key down and click ok.\n";
  
  if (confirm(message)){
	window.open(goHere, '_blank');
	}
}

function jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function validate() {
	if(document.proceed.consent.checked) {
		location="signup.php?validRefer=true";
	}
	else {
		alert("Please consent to the terms by checking the box at the bottom of the page.");
	}
}