
 function show_reading()
{

	//page variables
	var page_bgcolor="#D5C379";
	var border_color="#89162E";
	var table_bgcolor="#E9D894";


	//content creation
	var content=""
	content+='<html>';
	content+='<head>';
	content+='<title>Customer Identification Program</title>';
	content+='</head>';
	content+='<body bgcolor="' + page_bgcolor + '")>';
	content+='<table bgcolor="' + border_color + '" align="center" width="300" cellspacing="2" cellpadding="0" border="0">';
	content+='	<tr>';
	content+='	    <td>';
	content+='		<table bgcolor="' + table_bgcolor +'" align="center" width="100%" cellspacing="1" cellpadding="6" border="0">';
	content+='			<tr>';
	content+='	    		<td><font face="Arial,Verdana,Helvetica" size="-1"><center><strong><font color="#89162E">Customer Identification Program</font></strong></center><br><br>Federal Regulations enacted pursuant to Section 326 of the USA Patriot Act require all financial institutions to obtain, verify, and record information that identifies each person who seeks to open an account (any banking relationship including, but not limited to, deposit accounts, loans, trusts, and safe deposit boxes) or become a signatory on an account.   All persons are subject to the identity verification requirements, even though they may be a long-time customer and well known to the institution.';                            
	content+='				<br><br>';
	content+='			   What this means to you: When you request an account with St. John National Bank, with the new regulatory requirements, we will request your name, address, date of birth, and documents such as your driver\'s license or other identifying information.  Similar identification requirements apply to business entities such as corporations and partnerships.<br><br><center><a href=\"javascript:close()\">Close</a></center></td>';
	content+='			</tr>';
	content+='		</table>';
	content+='		</td>';
	content+='	</tr>';
	content+='</table>';
	content+='</body>';
	content+='</html>';

	//actual centering popup code

	var pWidth = ((parseInt(screen.width) - 340) / 2); 
	var pHeight = ((parseInt(screen.height) - 250) / 2);
     newwin = window.open("","newwin", "width=340,height=480,left="+pWidth+",top="+pHeight+", scrollbars=0");
 	newwin.document.open();
	newwin.document.write(content);
	newwin.document.close();
}

if(!window.saveInnerWidth) {
  window.onresize = resize;
  window.saveInnerWidth = window.innerWidth;
  window.saveInnerHeight = window.innerHeight;
}

function resize() {
    if (saveInnerWidth < window.innerWidth || 
        saveInnerWidth > window.innerWidth || 
        saveInnerHeight > window.innerHeight || 
        saveInnerHeight < window.innerHeight ) 
    {
        window.history.go(0);
    }
}


function topNav()
{
var topnav= new Array();
topnav[0]='<td valign="top"><a href="' + homedir + 'index.html" onMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'home\');"><img src="' + imgdir + 'nav-home-off.gif" name="home" width=60 height=26 alt="Home" border="0"></a>';
topnav[1]='<a href="' + sitedir + 'about_us.html" onMouseOver="img_act(\'about\'); window.status=\'About Us\'; return true" onMouseOut="img_inact(\'about\');"><img src="' + imgdir + 'nav-about-off.gif" name="about" width=79 height=26 alt="About Us" border="0"></a>';
topnav[2]='<a href="' + sitedir + 'contact_us.html" onMouseOver="img_act(\'contact\'); window.status=\'Contact Us\'; return true" onMouseOut="img_inact(\'contact\');"><img src="' + imgdir + 'nav-contact-off.gif" name="contact" width=84 height=26 alt="Contact Us" border="0"></a>';
topnav[3]='<a href="' + sitedir + 'privacy.pdf" target="_blank" onMouseOver="img_act(\'privacy\'); window.status=\'Privacy\'; return true" onMouseOut="img_inact(\'privacy\');"><img src="' + imgdir + 'nav-privacy-off.gif" name="privacy" width=70 height=26 alt="Privacy" border="0"></a>';
topnav[4]='<img src="' + imgdir + 'nav_bg.gif" width=55 height=26 alt="" border="0" style="background-color: #af935c;"></a><img src="' + imgdir + 'onlinebottom.gif" width="284" height="26"></td>';

document.write(topnav.join(""));

}


function leftNav()
{
var leftnav= new Array();
leftnav[0]='<td valign="top" width="128"><a href="https://www.sjnbsjonline2.com/onlineserv/HB" target="_blank" onMouseOver="img_act(\'login\'); window.status=\'Online Banking Login\'; return true" onMouseOut="img_inact(\'login\');"><img src="' + imgdir + 'nav-login-off.gif" width="128" height="27" alt="Online Banking Login" border="0" name="login"></a><br>';
leftnav[1]='<a href="' + sitedir + 'whats_new.html" onMouseOver="img_act(\'whatsnew\'); window.status=\'Shop in St. John\'; return true" onMouseOut="img_inact(\'whatsnew\');"><img src="' + imgdir + 'nav-shop-off.gif" width="128" height="26" alt="Whats New" border="0" name="whatsnew"></a><br>';
leftnav[2]='<a href="' + sitedir + 'products.html" onMouseOver="img_act(\'products\'); window.status=\'Products and Services\'; return true" onMouseOut="img_inact(\'products\');"><img src="' + imgdir + 'nav-products-off.gif" width="128" height="26" alt="Products and Services" border="0" name="products"></a><br>';
//leftnav[3]='<a href="' + sitedir + 'calendar.html" onMouseOver="img_act(\'calendar\'); window.status=\'Calendar of Events\'; return true" onMouseOut="img_inact(\'calendar\');"><img src="' + imgdir + 'nav-calendar-off.gif" width="128" height="26" alt="Calendar of Events" border="0" name="calendar"></a><br>';
leftnav[3]='<a href="'+ imgdir +'ATMLocatorGuide.pdf" target="_blank" onMouseOver="img_act(\'atm\'); window.status=\'Instakey ATM locations\'; return true" onMouseOut="img_inact(\'atm\');"><img src="' + imgdir + 'nav-instakeyATM-off.gif" width="128" height="39" alt="Instakey ATM locations" border="0" name="atm"></a><br>';
leftnav[4]='<a href="' + sitedir + 'tools.html" onMouseOver="img_act(\'financial\'); window.status=\'Financial Tools\'; return true" onMouseOut="img_inact(\'financial\');"><img src="' + imgdir + 'nav-financial-off.gif" width="128" height="26" alt="Financial Tools" border="0" name="financial"></a><br>';
leftnav[5]='<a href="' + sitedir + 'idprotect.html" onMouseOver="img_act(\'idprotector\'); window.status=\'ID Protector\'; return true" onMouseOut="img_inact(\'idprotector\');"><img src="' + imgdir + 'nav-idprotector-off.gif" width="128" height="26" alt="ID Protector" border="0" name="idprotector"></a><br />';
//leftnav[8]='<a href="' + sitedir + 'employ.html" onMouseOver="img_act(\'employ\'); window.status=\'Employment Opportunities\'; return true" onMouseOut="img_inact(\'employ\');"><img src="' + imgdir + 'nav-eo-off.gif" width="128" height="39" alt="Employment Opportunities" border="0" name="employ"></a><br><img src="' + imgdir + 'navgradient.gif" width="128" height="235"></td>';

document.write(leftnav.join(""));

}
	

function loginButton()
{
var loginbutton= new Array();
loginbutton[0]='<td align="right" valign="top" background="' + imgdir + 'backnavbg.gif"><a href="https://www.trustbanconline.com/onlineserv/HB" target="_blank" onMouseOver="img_act(\'login\'); window.status=\'Login into your account\'; return true" onMouseOut="img_inact(\'login\');"><img src="' + imgdir + 'nav-login-off.gif" width="127" height="18" alt="Login into your account" border="0" name="login"></a></td>';

document.write(loginbutton.join(""));

}



function writeHomeFooter()
{
	var content='';
	
	content+='<div align="center"><a href="javascript:show_reading()" class="footerlink">Customer Identification Program</a> :: <a href="' + sitedir + 'privacy.pdf" target="_blank" class="footerlink">Privacy Notice</a> :: <a href="' + sitedir + 'security.html" class="footerlink">Security</a></div>';	
	content+='<a href="javascript:showWarning(\'http://www.fdic.gov\');"><img src="' + imgdir + 'fdic.gif" width="57" height="19" alt="Member FDIC" border="0" style="vertical-align: middle" /></a>';
	content+='<a href="javascript:showWarning(\'http://www.hud.gov\');"><img src="' + imgdir + 'ehl.gif" width="53" height="43" alt="Equal Housing Lender" border="0" style="vertical-align: middle" /></a>';
	content+='<img src="' + imgdir + 'address.gif" width="357" height="43" alt="3rd Street and Broadway, St. John, Kansas 67576" style="vertical-align: middle" />';
	content+='<a href="javascript:showWarning(\'http://www.digitalinsight.com\');"><!--[if lt IE 7]><scr' + 'ipt type="text/javascript" src="https://www.sjnbsjonline2.com/mstinc/web/js/png.js"></scr' + 'ipt><![endif]-->';
	content+='<img src="https://www.sjnbsjonline2.com/mstinc/web/images/di_91x22_1c_k.png" width="91" height="22" border="0" alt="Digital Insight, an Intuit company" style="vertical-align: middle" /></a>';

	document.write(content);
}

function writeFooter()
{
	var content='';
	
	content+='<div align="center"><a href="javascript:show_reading()" class="footerlink">Customer Identification Program</a> :: <a href="' + sitedir + 'privacy.pdf" target="_blank" class="footerlink">Privacy Notice</a> :: <a href="' + sitedir + 'security.html" class="footerlink">Security</a></div>';	
	content+='<a href="javascript:showWarning(\'http://www.fdic.gov\');"><img src="' + imgdir + 'fdic.gif" width="57" height="19" alt="Member FDIC" border="0" style="vertical-align: middle" /></a>';
	content+='<a href="javascript:showWarning(\'http://www.hud.gov\');"><img src="' + imgdir + 'ehl.gif" width="53" height="43" alt="Equal Housing Lender" border="0" style="vertical-align: middle" /></a>';
	content+='<img src="' + imgdir + 'address.gif" width="357" height="43" alt="3rd Street and Broadway, St. John, Kansas 67576" style="vertical-align: middle" />';
	content+='<a href="javascript:showWarning(\'http://www.digitalinsight.com\');"><!--[if lt IE 7]><scr' + 'ipt type="text/javascript" src="https://www.sjnbsjonline2.com/mstinc/web/js/png.js"></scr' + 'ipt><![endif]-->';
	content+='<img src="https://www.sjnbsjonline2.com/mstinc/web/images/di_91x22_1c_k.png" width="91" height="22" border="0" alt="Digital Insight, an Intuit company" style="vertical-align: middle" /></a>';

	document.write(content);
}
