/*window.onresize=resize;
function resize(){
	self.location.href=self.location.href;
	
}*/

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


/*
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
*/
document.write('<meta name="keywords" content="Abilene Teachers Federal Credit Union, Federal, Credit , Union, abileneteachersfcu, 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.abileneteachersfcu.org/images/"
sitedir="http://www.abileneteachersfcu.org/site/"
securedir="http://www.abileneteachersfcu.org/site/"
homedir="http://www.abileneteachersfcu.org/"
}
else if(window.securepage)
{
imgdir="https://www.abileneteachersfcu.org/images/"
sitedir="http://www.abileneteachersfcu.org/site/"
securedir="https://www.abileneteachersfcu.org/site/"
homedir="http://www.abileneteachersfcu.org/"
}
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";
aboutus_on = new Image(50,37);
aboutus_on.src = imgdir + "nav-aboutus-on.gif";

aboutus_off = new Image(50,37);
aboutus_off.src = imgdir + "nav-aboutus-off.gif";

appscalcs_on = new Image(105,37);
appscalcs_on.src = imgdir + "nav-appscalcs-on.gif";

appscalcs_off = new Image(105,37);
appscalcs_off.src = imgdir + "nav-appscalcs-off.gif";

financenter_on = new Image(128,37);
financenter_on.src = imgdir + "nav-financenter-on.gif";

financenter_off = new Image(128,37);
financenter_off.src = imgdir + "nav-financenter-off.gif";

loginaccess_on = new Image(126,19);
loginaccess_on.src = imgdir + "nav-loginaccess-on.gif";

loginaccess_off = new Image(126,19);
loginaccess_off.src = imgdir + "nav-loginaccess-off.gif";

loginaccount_on = new Image(126,16);
loginaccount_on.src = imgdir + "nav-loginaccount-on.gif";

loginaccount_off = new Image(126,16);
loginaccount_off.src = imgdir + "nav-loginaccount-off.gif";

loans_on = new Image(50,37);
loans_on.src = imgdir + "nav-loans-on.gif";

loans_off = new Image(50,37);
loans_off.src = imgdir + "nav-loans-off.gif";

memberservices_on = new Image(69,37);
memberservices_on.src = imgdir + "nav-memberservices-on.gif";

memberservices_off = new Image(69,37);
memberservices_off.src = imgdir + "nav-memberservices-off.gif";

onlineservices_on = new Image(70,37);
onlineservices_on.src = imgdir + "nav-onlineservices-on.gif";

onlineservices_off = new Image(70,37);
onlineservices_off.src = imgdir + "nav-onlineservices-off.gif";

loginhomebank_on = new Image(126,16);
loginhomebank_on.src = imgdir + "nav-loginhomebank-on.gif";

loginhomebank_off = new Image(126,16);
loginhomebank_off.src = imgdir + "nav-loginhomebank-off.gif";

s1234_1_on = new Image(33,27);
s1234_1_on.src = imgdir + "s1234_1_on.gif";

s1234_1_off = new Image(33,27);
s1234_1_off.src = imgdir + "s1234_1_off.gif";

s1234_2_on = new Image(33,28);
s1234_2_on.src = imgdir + "s1234_2_on.gif";

s1234_2_off = new Image(33,28);
s1234_2_off.src = imgdir + "s1234_2_off.gif";

s1234_3_on = new Image(33,28);
s1234_3_on.src = imgdir + "s1234_3_on.gif";

s1234_3_off = new Image(33,28);
s1234_3_off.src = imgdir + "s1234_3_off.gif";

s1234_4_on = new Image(33,28);
s1234_4_on.src = imgdir + "s1234_4_on.gif";

s1234_4_off = new Image(33,28);
s1234_4_off.src = imgdir + "s1234_4_off.gif";

}
else
version = "x";

var desirepage = "#";
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;
}
}

function changPage(){

	if(desirepage=="https://www.docuhost-net.com/atfcu.org/Login.asp?a=Docuhost&n=ATFCU.org"){
		window.open(desirepage);
	}
	else{
		document.location.href = desirepage;
	}
}
function featurePage(url){
	document.location.href = url;
}
// 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
navigator.userAgent.indexOf('Mac') != -1 ? document.write('<link href="' + securedir + '_macstyle.css" rel="stylesheet"') : document.write('<link href="' + securedir + '_winstyle.css" rel="stylesheet">');

function showCalc(calc)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 275)
var pHeight = (((parseInt(screen.height) / 2)) -240)
window.open(sitedir + 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.abileneteachersfcu.org/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");
}

function statementsMessage()
{
	alert("Effective August 10, 2006, E-statements were moved to ATFCU\'s online banking program.  To access online banking, please use the two login boxes in the upper right hand corner of this page.  Once you have signed in, click the \"Products and Services\" button.  A new page will appear with two product listed.  The second is for E-statements.  Click the \"Enter\" button to view your statements online.");
}
document.write('<scr'+'ipt src="'+ securedir +'_global.js"></scr'+'ipt>');


/* TPD code  */

// Get the screen width
viewport =
{
   getIECanvas: function ()
   {
      var canv = null;
      if (!window.opera && document.all && typeof document.body.clientWidth != "undefined")
      {
         var cm = document.compatMode && document.compatMode == "CSS1Compat";
         canv = cm ? document.documentElement : document.body;
      }
      return canv;
   },

   getWinWidth: function ()
   {
      var canv;
      if ( canv = this.getIECanvas() )
         this.width = canv.clientWidth;
      else
         this.width = window.innerWidth - 18;
   },

   getWinHeight: function ()
   {
      var canv;
      if (canv = this.getIECanvas())
         this.height = canv.clientHeight;
      else
         this.height = window.innerHeight - 18;
   },

   getScrollX: function ()
   {
      var canv;
      if (canv = this.getIECanvas())
         this.scrollX = canv.scrollLeft;
      else if (window.pageXOffset)
         this.scrollX = window.pageXOffset;
      else if (window.scrollX)
         this.scrollX = window.scrollX;
      else
         this.scrollX = 0;
   },

   getScrollY: function ()
   {
      var canv;
      if (canv = this.getIECanvas())
         this.scrollY = canv.scrollTop;
      else if (window.pageYOffset)
         this.scrollY = window.pageYOffset;
      else if (window.scrollY)
         this.scrollY = window.scrollY;
      else
         this.scrollY = 0;
   },

   getAll: function ()
   {
      this.getWinWidth();
      this.getWinHeight();
      this.getScrollX();
      this.getScrollY();
   }
};



function showWarning(url){
rs = false;
var content = new Array();
var index = 0;
content[index++] = '<h3 style="text-align:center; font-size: 10pt">Third Party Site Disclaimer</h3><p>Abilene Teachers FCU partners with trusted organizations to provide helpful services to our members. When you click on the CONTINUE button below you will be leaving the credit union website.  Privacy and security policies may differ between Abilene Teachers Federal Credit Union and the company to which you will be linked. We encourage you to review the privacy policy of any website you visit. <br /><br />You should know that Abilene Teachers FCU does not control the software on the site to which you will be linked and we assume no liability for its usage or accuracy. Should you conduct any transactions using this link, please be aware that the credit union does not represent either you or company with which you will be doing business.</p>';
content[index++] = '<div align="center" style="font-size: 9pt"><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);
}


function showFinancialWarning(url){
rs = false;
var content = new Array();
var index = 0;
content[index++] = '<h3 style="text-align:center; font-size: 10pt">Third Party Site Disclaimer</h3><p>Welcome!  You are about to access services provided by CUNA Mutual Group.  While these services are brought to you through an agreement between Abilene Teachers Federal Credit Union and CUNA Mutual Group, CUNA Mutual Group is responsible for the content.</p><p>Privacy and security policies may differ between Abilene Teachers Federal Credit Union and CUNA Mutual Group.  We encourage you to review the privacy policy of any website you visit.</p><p>You should understand that if you conduct business here, you are conducting business directly with CUNA Mutual Group.</p>';
content[index++] = '<div align="center" style="font-size: 9pt"><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: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: left; position:absolute; top:125px; left:300px; border: 3px solid #1C8598; padding: 15px; visibility: hidden;z-index: 300; width:400px; "></div>');



// OTHER FUNCTIONS ABOVE
/* End TPD code */



























