var undefined;	function LinkAlert(URL)	{	BANKNAME = "Security State Bank";	MSG =       "You are now leaving "+BANKNAME+"'s website and will be redirected to another site. "+BANKNAME+" makes no endorsement or claims about the accuracy or content of information contained within  third party sites to which you may be going. The security and privacy policies on these sites may be different from "+BANKNAME+".";		if (URL!=undefined) 		{		if (confirm(MSG)) window.open(URL,"_blank");		}	else return confirm(MSG);	}	function SearchSite(URL)	{	myQuery = document.f.NewQuery.value;	UpdateQuery = myQuery + " site:"+URL;	document.f.q.value = UpdateQuery;	}function valid_email(src) {	var regex = new RegExp(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/);	return regex.test(src);  	}function valid_phone(src) {	var regex = new RegExp(/^((\+\d{1,3}(-| )?\(?\d\)?(-| )?\d{1,3})|(\(?\d{2,3}\)?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/);	return regex.test(src);  	}function mail(link_string,user,domain,nickname,subject) {    var nn = "";    var s = "";    if (nickname != "") nn = nickname + " ";	else  nn = make_nickname(link_string);    if (subject != "") s = "?subject=" + subject ;    document.write(link_string.link(make_href(user,domain,nn,s)));  } function make_href(user,domain,nickname,subject) {    address = "mail" + "to" + ":" + nickname + make_address(user,domain);	if (subject!=undefined) address = address + subject;	return address;    }function make_address(user,domain) {    return "&lt;" + user + "@" + domain + "&gt;" ;    }function make_nickname(link_string) {    var names = link_string.split(",");    if (names.length == 2) {      return names[1] + " " + names[0] + " ";    } else {      return "";    }  }// This function loops through all the hyperlinks in a document and assigns// the LinkAlert function to each weather.com link as an event handler.  Don't call it// before the document is parsed and the links are all defined.  It is best// to call it from the onload event handler of a <body> tag.function confirmAllLinks() {  for(var i = 0; i < document.links.length; i++) {    this_href = document.links[i].href;	if (this_href.indexOf("weather.com")>0) {		document.links[i].href = "javascript:LinkAlert('"+this_href+"');"		//document.links[i].onclick = confirmLink;		document.links[i].target = "_self";	}  }}window.onload = confirmAllLinks;

function ExitNotice()  {
        if(confirm("You are now leaving the bank's web site. This institution does not guarantee or endorse the products, the security, or privacy practices on linked sites.  Nor is the institution responsible for the accuracy of data on linked sites. To remain at our site, click Cancel. To leave our site for the link you selected, click OK. Thank you for visiting our site.")) { return true;
} 
history.go(0);
return false;
}

function EmailWarning()  {
        if(confirm("For security reasons your e-mail should NOT contain confidential information such as your Social Security number, PIN, password or account number(s).   If you do not want to send unsecured e-mail, click Cancel. To continue and e-mail the person you selected, click OK. Thank you for visiting our site.")) { return true;
} 
history.go(0);
return false;
}

