// JavaScript Documentvar undefined;function LinkAlert(URL,target,type, attributes) {	BankName = "Western Dakota Bank"	MSG = new Array();	MSG[0] = "You are now leaving the " + BankName + " web site. Neither " + BankName + " nor any of its subsidiaries or affiliates are responsible for the content of any external web site.";	MSG["form"] = MSG[0];		myTarget = "_blank";	if (target!=undefined) myTarget = target;	if (type!="" && type!=undefined) return confirm(MSG[type]);	else if (confirm(MSG[0])) window.open(URL,myTarget,attributes);	}function LaunchCalc(URL) {	window.open (URL,'myCalculator','width=580,height=450');	}function newWindow() {	window.open("","launch","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=640,height=400");	}// This layer finds an object by ID and is cross-browser compliant.function getObj(name){ if (document.getElementById) {	   this.obj = document.getElementById(name);	   this.style = document.getElementById(name).style; } else if (document.all) {	   this.obj = document.all[name];	   this.style = document.all[name].style; } else if (document.layers) {	   if (document.layers[name])	   {	   	this.obj = document.layers[name];	   	this.style = document.layers[name];	   }	   else	   {	    this.obj = document.layers.testP.layers[name];	    this.style = document.layers.testP.layers[name];	   } }}function EmailWarning()  {        if(confirm("Please do NOT transmit any confidential material via the e-mail address on this page. If you are sending us any personal or account information, please use our secure e-mail function through our online banking service. To access our secure e-mail service, log onto your Online bank account and click on Messages and then select Contact Us.")) { return true;} history.go(0);return false;}