//function Includes(){	this.idTheftMenu = idTheftMenu;}
/*META TAGS CONTENT AND DESCRIPTION BELOW*/
document.write('<meta name="keywords" content=", Bank, , 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*/

/*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;

imgdir="../images/";
sitedir="../site/";
securedir="../site/";
homedir="../";

var pages = new Array();
pages[0] = new Array("privacy", "privacy_encryption");
pages[1] = new Array("privacy","privacy_browsers");
pages[2] = new Array("authorization","authorization_passwords");
pages[3] = new Array("authorization","authorization_multi");
pages[4] = new Array("network","network");
pages[5] = new Array("idtheft","idtheft_what");
pages[6] = new Array("idtheft","idtheft_not");
pages[7] = new Array("idtheft","idtheft_fact");
pages[8] = new Array("idtheft","idtheft_prevent");
pages[9] = new Array("idtheft","idtheft_victim");
pages[10] = new Array("idtheft","idtheft_resources");
pages[11] = new Array("phish","phish_what");
pages[12] = new Array("phish","phish_signs");
pages[13] = new Array("phish","phish_example");
pages[14] = new Array("phish","phish_report");
pages[15] = new Array("safetips","safetips");

// 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";
home_on = new Image(47,24);
home_on.src = imgdir + "nav-home-on.gif";

home_off = new Image(47,24);
home_off.src = imgdir + "nav-home-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

//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..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");
}
function showWarning(url)
{
  var content = new Array();
  var index = 0;
  content[index++] = "By accessing the noted link you will be leaving our website and entering another which is hosted and maintained by another party. Please be advised that you will no longer be subject to, or under the protection of, the privacy and security policies of our website. We encourage you to read and evaluate the privacy and security policies of the destination site which you are entering.";
  content[index++] = "<br /><br /><br />";
  content[index++] = "<div align=\"center\"><a href='"+url+"' onclick=\"document.getElementById('ex_dis').style.display = 'none'\">Continue</a>  <a href=\"javascript:void('0');\" onclick=\"document.getElementById('ex_dis').style.display = 'none'\">Close</a></div></div>";	
  document.getElementById("ex_dis").innerHTML = content.join("");
  document.getElementById("ex_dis").style.display = "block";
  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; display: none; z-index: 3000; width:350px;"></div>');
function define(word)
{
	var page_bgcolor="#2859B7";
	var border_color="#cc0000";
	//content creation
	var content=new Array();
	var index = 0;
	content[index++]='<html><head><title>Definition of '+word+'</title><style type="text/css" media="all">@import url("../layout/_styles.css");</style></head><body><table width="345" border="0" cellspacing="0" cellpadding="0"><tr><td class="content" width="100%"><span class="header">Definition of '+word+':</span><br/><br/>';
	switch(word)
	{
		case "Browser":content[index++]='An Internet Browser is a computer program that displays the words and graphics that you see when viewing a web page. <br/><br/>Some popular browsers are Microsoft\'s Internet Explorer, Netscape\'s Navigator, and Mozilla\'s Firefox.';
		break
		case "Server":content[index++]='A server is a special computer that gives information or provides services to other computers. <br/><br/>For example, a \'web server\' is a server that contains all the information required to display a webpage or an \'online banking\' server is a server that provides access to online banking.';
		break
		case "Toolbar":content[index++]='The toolbar section is located at the top of the screen and usually contains several buttons and tools that perform different functions.<br/><center><img src="../images/security_toolbar.jpg"></center>';
		break
		case "Encryption":content[index++]='<strong>Encryption</strong> scrambles information into a secret code. Encryption is the most effective way to achieve security. In order to view an encrypted message, it must be unscrambled or <strong>decrypted</strong>.';
		break
		case "Firewall":content[index++]='A firewall is something, usually a software program or server, that acts as a gateway or barrier between a computer or set of computers and the internet.  The firewall will only allow the good traffic and block any bad traffic.';
		break
		case "Virus":content[index++]='A computer virus is a hidden program that will damage an infected computer in various ways, and in extreme cases, causes it to become completely unusable.  Just like a common cold virus, a computer virus is designed to spread and infect other computers.';
		break
		case "Spyware":content[index++]='Spyware (sometimes called malware or adware) is a program that tracks what you do or "spies" on your computer activity.  Some are harmlessly tracking to advertize to you, while others are watching for sensitive information like passwords and account numbers.  Usually these programs are bundled as a hidden part of "free" programs that are downloaded from the Internet.';
		break
		case "Hack":content[index++]='An attack on a computer or network of computers.  A hacker is a person who is hacking.';
		break
		case "Network":content[index++]='A network is a group of computers linked together that communicate with each other.  The internet is a very large example of a network.';
		break
		case "Operating System":content[index++]='Your computer Operating System (sometimes abbreviated "OS") is the software that manages the computer system. Windows 2000, Windows XP, Linux, and MacOS are common operating systems.';
		break
		case "URL":content[index++]='Just like locations in the real world, the "world wide web" uses addresses to locate destinations on the Internet.  These addresses are called URLs which stands for Uniform Resource Locator.';
		break
		default:
	}
	content[index++]='<br/><br/><center><a href=\"javascript:void(\'0\');\" onclick=\"document.getElementById(\'ex_dis\').style.display = \'none\'\">Close</a></center></td></tr></body></html>';
	
	document.getElementById("ex_dis").innerHTML = content.join("");
    document.getElementById("ex_dis").style.display = "block";
    scrollTo(0, 0);

	return;
}
function idTheftMenu(current)
{
	var content=new Array();
	var index = 0;
	var linkstyle;	
	
	content[index++]='<div class="navSub"><ul>';
	linkstyle = (current == "privacy")?'class="current"':'';
		content[index++]='				<li><a href="privacy_encryption.html"'+linkstyle+'>Privacy</a>';
	if(current.match("privacy") == "privacy")
	{
	linkstyle = (current == "privacy_encryption")?'class="current"':'';
		content[index++]='				<ul><li><a href="privacy_encryption.html"'+linkstyle+'>Encryption</a></li>';
	linkstyle = (current == "privacy_browsers")?'class="current"':'';
		content[index++]='				    <li><a href="privacy_browsers.html"'+linkstyle+'>Browsers</a></li></ul>';
	}
		content[index++]='				</li>';
	linkstyle = (current == "authorization")?'class="current"':'';
		content[index++]='					<li><a href="authorization_passwords.html"'+linkstyle+'>Authorization</a>';
	if(current.match("authorization") == "authorization")
	{
	linkstyle = (current == "authorization_passwords")?'class="current"':'';
		content[index++]='				<ul><li><a href="authorization_passwords.html"'+linkstyle+'>Passwords</a></li>';
	linkstyle = (current == "authorization_multi")?'class="current"':'';
		content[index++]='				    <li><a href="authorization_multi.html"'+linkstyle+'>Multifactor Authentication</a></li></ul>';
	}
		content[index++]='				</li>';
	linkstyle = (current == "network")?'class="current"':'';
		content[index++]='					<li><a href="network.html"'+linkstyle+'>Network Security</a></li>';
	linkstyle = (current == "idtheft")?'class="current"':'';
		content[index++]='				<li><a href="idtheft_what.html"'+linkstyle+'>Identity Theft</a>';
	if(current.match("idtheft") == "idtheft")
	{
	linkstyle = (current == "idtheft_what")?'class="current"':'';
		content[index++]='				<ul><li><a href="idtheft_what.html"'+linkstyle+'>What is it?</a></li>';
	linkstyle = (current == "idtheft_not")?'class="current"':'';
		content[index++]='				<li><a href="idtheft_not.html"'+linkstyle+'>What it\'s NOT</a></li>';
	linkstyle = (current == "idtheft_fact")?'class="current"':'';
		content[index++]='				<li><a href="idtheft_fact.html"'+linkstyle+'>Fact vs. Fiction</a></li>';
	linkstyle = (current == "idtheft_prevent")?'class="current"':'';
		content[index++]='				    <li><a href="idtheft_prevent.html"'+linkstyle+'>How to prevent?</a></li>';
	linkstyle = (current == "idtheft_victim")?'class="current"':'';
		content[index++]='				    <li><a href="idtheft_victim.html"'+linkstyle+'>What if a victim?</a></li>';
	linkstyle = (current == "idtheft_resources")?'class="current"':'';
		content[index++]='				    <li><a href="idtheft_resources.html"'+linkstyle+'>Resources</a></li></ul>';
	}
		content[index++]='				</li>';
	linkstyle = (current == "phish")?'class="current"':'';
		content[index++]='					<li><a href="phish_what.html"'+linkstyle+'>\'Phishing\'</a>';
	if(current.match("phish") == "phish")
	{
	linkstyle = (current == "phish_what")?'class="current"':'';
		content[index++]='				<ul><li><a href="phish_what.html"'+linkstyle+'>What is it?</a></li>';
	linkstyle = (current == "phish_signs")?'class="current"':'';
		content[index++]='					<li><a href="phish_signs.html"'+linkstyle+'>What are the signs?</a></li>';
	linkstyle = (current == "phish_example")?'class="current"':'';
		content[index++]='					<li><a href="phish_example.html"'+linkstyle+'>Example</a></li>';
	linkstyle = (current == "phish_report")?'class="current"':'';
		content[index++]='				    <li><a href="phish_report.html"'+linkstyle+'>How to report it?</a></li></ul>';
	}
		content[index++]='				</li>';
	linkstyle = (current == "safetips")?'class="current"':'';
		content[index++]='					<li><a href="safetips.html"'+linkstyle+'>Safe Computing Tips</a></li>';
	content[index++]='</ul></div>';
	
	
	document.open('text/html','replace');
	document.write(content.join(""));
	document.close();
	return;
}
function header(thisOne)
{
	var header=new Array();
	var index = 0;
	var nextOne = thisOne+1;
	var backOne = thisOne-1;
	if(thisOne == 0)
	{backOne = pages.length-1;}
	if(thisOne == pages.length-1)
	{nextOne = 0;}
	//alert(pages.length);
	header[index++]='<table width="770" border="0" cellspacing="0" cellpadding="0"><tr>';
	header[index++]='    <td valign="top" bgcolor="#FFFFFF"><img src="../images/security-logo.gif" width="463" height="69"><img src="../images/clearpix.gif" width="20" height="1"></td>';
	header[index++]='    </tr><tr><td bgcolor="#000000" valign="top" align="right" colspan="3"><img src="../images/clearpix.gif" width="1" height="1"></td>';
	header[index++]='	</tr><tr>';
	header[index++]='    <td background="../images/navbg.gif" align="right"><a href="https://www.fnbhutchonline2.com/home.html" onmouseover="img_act(\'home\'); window.status=\'Home\'; return true" onmouseout="img_inact(\'home\');"><img src="../images/nav-home-off.gif" width="47" height="24" alt="Home" border="0" name="home" /></a><img src="../images/clearpix.gif" border="0" width="27" height="1"></td>';
	//header[index++]='    </tr><tr><td bgcolor="#000000" valign="top" align="right" colspan="3"><img src="../images/clearpix.gif" width="1" height="1"></td>';
	header[index++]='    </tr><tr><td bgcolor="#000000" valign="top" align="right" colspan="3"><img src="../images/clearpix.gif" width="1" height="1"></td>';
	header[index++]='  </tr></table><table width="770" border="0" cellspacing="0" cellpadding="0"><tr>';
	header[index++]='    <td valign="top" align="center" bgcolor="#FFFFFF"><img src="../images/clearpix.gif" height="5">';
	header[index++]='      <table width="720" border="0" cellspacing="0" cellpadding="0"><tr> ';
	header[index++]='          <td width="555" valign="top"><img src="../images/clearpix.gif" height="5"><img src="../images/hed-'+pages[thisOne][0]+'.gif" width="555" height="17" alt="Why Online Banking Is Safe"></td>';
	header[index++]='          <td valign="top" background="../images/nextbg.gif"><a href="'+pages[backOne][1]+'.html"><img src="../images/back.gif" border="0"></a><img src="../images/clearpix.gif" width="75" height="1"><a href="'+pages[nextOne][1]+'.html"><img src="../images/next.gif" border="0"></a></td>';
	header[index++]='        </tr><tr><td valign="top"><table width="97%" border="0" cellspacing="0" cellpadding="0"><tr><td class="content"><br/>';
				
	document.open('text/html','replace');
	document.write(header.join(""));
	document.close();
	return;
}
function footer(thisOne)
{
	var footer=new Array();
	var index = 0;
	var nextOne = thisOne+1;
	var backOne = thisOne-1;
	if(thisOne == 0)
	{backOne = pages.length-1;}
	if(thisOne == pages.length-1)
	{nextOne = 0;}

	//footer[index++]='</td></tr><tr><td width="100%" align="center"><br><a href="'+pages[backOne][1]+'.html"><img src="../images/back.gif" border="0"></a><img src="../images/clearpix.gif" width="400" height="1"><a href="'+pages[nextOne][1]+'.html"><img src="../images/next.gif" border="0"></a>';
	
	footer[index++]='<br/><br/></td></tr></table></td>';
	footer[index++]='          <td valign="top" width="166"><script type="text/javascript">idTheftMenu("'+pages[thisOne][1]+'");</script></td>';
	footer[index++]='        </tr></table></td></tr></table>';
footer[index++]='<table width="770" height="50"><tr><td><img src="../images/clearpix.gif" width="20" height="1"><a href="'+pages[backOne][1]+'.html"><img src="../images/back.gif" border="0"></a></td><td align="right"><a href="'+pages[nextOne][1]+'.html"><img src="../images/next.gif" border="0"></a><img src="../images/clearpix.gif" width="20" height="1"></td></tr></table>';
	footer[index++]='<table width="770" border="0" cellspacing="0" cellpadding="0" background="../images/logobg.gif"><tr>';
//footer[index++]='<td align="center"><br><a href="'+pages[backOne][1]+'.html"><img src="../images/back.gif" border="0"></a><img src="../images/clearpix.gif" width="400" height="1"><a href="'+pages[nextOne][1]+'.html"><img src="../images/next.gif" border="0"></a></td></tr><tr>';	
	footer[index++]='    <td bgcolor="#000000" valign="top" align="right" colspan="3"><img src="../images/clearpix.gif" width="1" height="1"></td>';
	footer[index++]='  </tr><tr> ';
	footer[index++]='    <td valign="top" class="yellow" width="215"><img src="../images/clearpix.gif" width="215" height="10" alt="" border="0" /><br/>';
	footer[index++] = '&nbsp;&nbsp;&nbsp;&nbsp;One N. Main Street, Hutchinson, KS 67501<br />';
	footer[index++] = '&nbsp;&nbsp;&nbsp;&nbsp;Phone: 620.663.1521<br />';
	footer[index++] = '&nbsp;&nbsp;&nbsp;&nbsp;Fax:620.694.2317<br /><br/></td>';
	footer[index++]='    <td align="center"><a href="javascript:scrollTo(0,0);" onmouseover="window.status=\'Back To Top\ return true;" onmouseout="window.status=\'\'; return true;"><img src="../images/footer-backtotop.gif" alt="Back to Top" width="93" height="40" border="0"/></a>';
	footer[index++]='<td align="right" width="205"><a href="javascript:openlink(\'http://www.fdic.gov\');" onmouseover="window.status=\'FDIC Website\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="../images/footer-fdic.gif" width="55" height="40" alt="" border="0" /></a><a href="javascript:openlink(\'http://www.hud.gov\');" onmouseover="window.status=\'US Department of Housing and Urban Development\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="../images/footer-ehl.gif" width="42" height="40" alt="" border="0" /></a><a href="javascript:openlink(\'http://www.digitalinsight.com\');" onmouseover="window.status=\'Digital Insight\'; return true;" onmouseout="window.status=\'\'; return true;"><img src="http://www.fnbhutchonline2.com/images/di_91x22_1c_w.gif" width="91" height="22" alt="" border="0" /></a></td>';
	footer[index++]='    </tr><tr><td bgcolor="#000000" valign="top" align="right" colspan="3"><img src="../images/clearpix.gif" width="1" height="1"></td>';
	footer[index++]='      	</tr></table>';

	document.open('text/html','replace');
	document.write(footer.join(""));
	document.close();
	return;
}
