var tpdMessages = [
	"<h2>Third Party Site Disclaimer</h2>By accessing the noted link you will be leaving your financial institution's website and entering a website hosted by another party. Your financial institution has not approved this as a reliable partner site.  Please be advised that you will no longer be subject to, or under the protection of, the privacy and security policies of your financial institution's website. We encourage you to read and evaluate the privacy and security policies of the site you are entering, which may be different than those of your financial institution's.",
	"<h2>Third Party Site Disclaimer</h2>By selecting any external link on www.thurstonfirstbank.com, you will leave the Thurston First Bank website and enter into a  third party website that may offer a different privacy policy and level of security. The third party is responsible for website content and system availability. Thurston First Bank does not offer, endorse, recommend or guarantee any product or service available on that entity's website."
];

function showWarning(url, msg){
msg = msg == null ? 0 : msg;
var content = new Array();
var index = 0;
content[index++] = tpdMessages[msg];
content[index++] = "<br /><br /><br />";
content[index++] = "<div align=\"center\"><a href=\"javascript:void('0');\" onclick=\"window.open('"+url+"');document.getElementById('ex_dis').style.visibility = 'hidden'\">Continue</a>  <a href=\"javascript:void('0');\" onclick=\"document.getElementById('ex_dis').style.visibility = 'hidden'\">Decline</a></div></div>";	
document.getElementById("ex_dis").innerHTML = content.join("");
document.getElementById("ex_dis").style.visibility = "visible";
scrollTo(0, 0);
}

document.write('<div id="ex_dis" style="background-color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: left; position:absolute; top:125px; left:300px; border: thin solid #1A448E; padding: 15px; visibility: hidden;z-index: 3000; width:350px;"></div>');
