window.onresize=resize;
function resize(){
self.location.href=self.location.href;
}

if(window.event + "" == "undefined") event = null;
// FOR HM_MENU BELOW
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;
//FOR HM_MENU ABOVE
//FOR COOLMENU BELOW
function showMenu(){return false};
function mout(){return false};
function dummyObject() {this.mout=mout};
oM = new dummyObject();
// FOR COOLMENU ABOVE


/*
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
*/
document.write('<meta name="keywords" content="T Bank, Bank, tbank, A financial institution of excellence, featuring secure Internet-based services including Home Banking, Bill Payment, Bill Presentment, Quicken and Money interfaces, Stock Quotes, on-line applications, financial calculators, useful links and a wealth of financial information">');


document.write('<meta name="description" content="ATM, ATM Locations, Account Access, Account Transfer, Automobile Loans, AutoVantage, Bank, Bank Account, Banking, Bill Payment, Bill Presentment, Brokerage, Cash, CDs, Certificates of Deposit, Checks, Checking Accounts, Consumer Loans, Convenience Services, Credit, Credit Card, Credit Card Applications, Credit Union, Digital Insight, Finance, Financial Calculator, Financial Institution, Financial Wizard, Loans, Home Loans, IRA, Money, Term Investment, Online Banking, Order Checks, Personal Financial Management, Rates, Mortgage Rates, Loan Rates, Terms, Retirement, Savings Accounts, Savings, Savings and Loan, Stock Quotes, Stocks, Student Loans, Student, Term Share Certificates, Thrifts, Visa Credit Cards">');
/*
META TAGS CONTENT AND DESCRIPTION ABOVE
META TAGS CONTENT AND DESCRIPTION ABOVE
META TAGS CONTENT AND DESCRIPTION ABOVE
*/


/*
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
*/


//if you are on homepage you need <script> var homepage = "yes";</script> to make codework properly

var imgdir;
var sitedir;
var securedir;
var homedir;

if(window.homepage)
{
imgdir="images/";
sitedir="site/";
securedir="site/";
homedir="";
}
else if(window.absolutepage)
{
imgdir="http://www.tbank.com/images/"
sitedir="http://www.tbank.com/site/"
securedir="https://www.tbank.com/site/"
homedir="http://www.tbank.com/"
}
else if(window.securepage)
{
imgdir="https://www.tbank.com/images/"
sitedir="http://www.tbank.com/site/"
securedir="https://www.tbank.com/site/"
homedir="http://www.tbank.com/"
}
else
{
imgdir="../images/";
sitedir="";
securedir="";
homedir="../";
}


// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW


browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (((browserName == "Netscape") && (browserVer >= 3)) || ((browserName =="Microsoft Internet Explorer") && (browserVer >= 4)))
{
version = "ok";
personal_on = new Image(141,57);
personal_on.src = imgdir + "nav-personal-on.gif";

personal_off = new Image(141,57);
personal_off.src = imgdir + "nav-personal-off.gif";

business_on = new Image(154,70);
business_on.src = imgdir + "nav-business-on.gif";

business_off = new Image(154,70);
business_off.src = imgdir + "nav-business-off.gif";

about_on = new Image(154,39);
about_on.src = imgdir + "nav-about-on.gif";

about_off = new Image(154,39);
about_off.src = imgdir + "nav-about-off.gif";

}
else
version = "x";

function img_act(imgName)
{
if (version == "ok")
{
imgOn = eval(imgName + "_on.src");
document [imgName].src = imgOn;
}
}

function img_inact(imgName)
{
window.status = "";
 if (version == "ok")
{
imgOff = eval(imgName + "_off.src");
document [imgName].src = imgOff;
}
}

// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE

//style sheet sniffer
//document.write('<scr'+ 'ipt src="' + securedir + '_styles.js"></scr' + 'ipt>');

function showCalc(calc)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 275)
var pHeight = (((parseInt(screen.height) / 2)) -240)
window.open(calc,"hello","width=550,height=480,left=" + pWidth + ",top=" + pHeight + ",resizable=1,scrollbars=1");

}
function tabover(howmuch)
{
var farover = '';
farover += '<img src="../images/clearpix.gif" width="' + howmuch + '" height="1" alt="" border="0">';
document.write(farover);
}

function open_apps(nameofapp)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 350)
var pHeight = (((parseInt(screen.height) / 2)) - 300)
aWindow = window.open('https://www.tbank.com/Forms/OnlineForm.cgi?form=' + nameofapp,'application',"toolbar=0,location=0,directories=0,status=0,menubar=0,width=700,height=600,top=" + pHeight + ",left=" + pWidth + ",scrollbars=1,resizable=1,status=1");
}

  /****
  *useage: <a href="javascript:show_warning('http://www.hotmail.com');">Test Link</a>
  *
  *author:Erron Austin
  */
  function showWarning(url){
	//content creation
	var content = new Array();
        var index = 0;
	content[index++] = '<h1>Third Party Site Disclaimer</h1><p align="left">By accessing the noted link you will be leaving  T Bank\'s website and entering a website hosted by another party. T Bank 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 T Bank\'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 T Bank\'s.</p>';
	content[index++] = '<br>';
	content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="window.open(\''+url+'\');document.getElementById(\'ex_dis\').style.visibility = \'hidden\'">Continue</a>&nbsp;&nbsp;<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: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: center; position:absolute; left:100px; top:100px; margin:25% 25%; border: thin solid #03558B; padding: 15px; visibility: hidden;z-index: 300; width:350px; FILTER: progid:DXImageTransform.Microsoft.dropShadow( Color=#0071BC,offX=7,offY=8,positive=true); "></div>');

  /******************            Added by mr. Jason Enter incident: 200-36996                                       **************/
  
  
  
  
function WhatsThisApp(url){
	//content creation
	var content = new Array();
        var index = 0;
	content[index++] = '<p><strong>Account ownership designation:</strong><br>You intend for these rules to apply to the boxes checked on the account application.  We make no representations as to the appropriateness or effect of the ownership and beneficiary designations, except as they determine to whom we pay the account funds.  Further, the type of account you select may determine how property passes on your death.  Your will may not control the disposition of funds held in some of the following accounts.  </p><p><strong>Single-Party Account</strong> – The party to the account owns the account.  On the death of the party, ownership of the account passes as a part of the party’s estate under the party’s will or by intestacy.  <br /><strong>Single-Party Account With P.O.D. Designation</strong> – The party to the account owns the account.  On the death of the party, ownership of the account passes to the P.O.D. beneficiaries of the account.  The account is not a part of the party’s estate.  <br /><strong>Multiple-Party Account Without Right of Survivorship</strong> – The parties to the account own the account in proportion to the parties’ net contributions to the account.  We may pay any sum in the account to a party at any time.  On the death of a party, the party’s ownership of the account passes as a part of the party’s estate under the party’s will or by intestacy.   <br /> <strong>Multiple-Party Account With Right of Survivorship</strong> – The parties to the account own the account in proportion to the parties’ net contributions to the account.  We may pay any sum in the account to a party at any time.  On the death of a party, the party’s ownership of the account passes to the surviving parties.  <br /><strong>Multiple-Party Account With Right of Survivorship and P.O.D. Designation</strong> – The parties to the account own the account in proportion to the parties’ net contributions to the account.  We may pay any sum in the account to a party at any time.  On the death of the last surviving party, the ownership of the account passes to the P.O.D. beneficiaries.<br /></p>';
	
	content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="document.getElementById(\'what_style\').style.visibility = \'hidden\'">Close Window</a></div></div>';	
	document.getElementById("what_style").innerHTML = content.join("");
	document.getElementById("what_style").style.visibility = "visible";
	scrollTo(0, 0);

}
document.write('<div id="what_style" style="background-color: #ffffff; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 7pt; font-weight: normal; color: #000000; text-align: left; position:absolute; left:100px; top:20px; margin:25% 25%; border: thin solid #03558B; padding: 15px; visibility: hidden;z-index: 300; width:475px;  "></div>');