function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

 function setAction()
  {
    if(document.Remote.loginTo[1].checked)
    {
       document.Remote.nmUID.value = document.Remote.AccessID.value;
       document.Remote.nmPWD.value = document.Remote.Password.value;
       //document.Remote.target = '_top';
       document.Remote.action = 'https://www.securecashmgnt.com/EBC_EBC1961/EBC1961.ASP?WCI=Process&WCE=RemoteLogon&IRL=T';
 	}
  
   else
	{
document.Remote.action = 'https://www.ecom01.fiservboston.com/pbi_pbi1961/pbi1961.asp?WCI=RemoteLogin&Rt=021307711&LogonBy=connect3&PRMACCESS=Account';

	}
}
   
function doLoginRefresh()
{
	if (document.Remote.AccessIDVisible.value != "" )
		{
		
		setTimeout('document.Remote.reset()', 20000);
		document.Remote.AccessID.value=document.Remote.AccessIDVisible.value;
		document.Remote.AccessIDVisible.value = "";
		setAction();
		return true;
		}
	else
		{
		alert("\n Please Enter a valid User Code.  Thank you!\n\n\t"); 
		return false;
		}	
}

function email_disclaimer(mailto_address){
  message  = "Notice: Because there is a small risk that information transmitted\n";
  message += "via Internet email could fall into the wrong hands, we suggest that\n";
  message += "confidential information, such as account numbers or social security\n";
  message += "numbers, not be transmitted via email. Instead, please contact us\n";
  message += "directly at your nearest bank branch. Thank you.";
  
  alert(message);
  window.open('mailto:' + mailto_address);
}

var BANK_NAME = "Kinderhook Bank";

function external_disclaimer(goHere){
  message  = BANK_NAME + " has no control over information at any site hyperlinked\n";
  message += "to from this Site. " + BANK_NAME + " makes no representation concerning\n";
  message += "and is not responsible for the quality, content, nature, or reliability\n";
  message += "of any hyperlinked site and is providing this hyperlink to you only as a\n";
  message += "convenience. The inclusion of any hyperlink does not imply any endorsement,\n";
  message += "investigation, verification or monitoring by " + BANK_NAME + " of any\n";
  message += "information in any hyperlinked site. In no event shall " + BANK_NAME+ "\n";
  message += "be responsible for your use of a hyperlinked site.";
  
  if (confirm(message)){
	window.open(goHere, '_blank');
	}
}

function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) //if ie5
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')
else
eval('window.open(url,"cip","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1")')
}

function mmLoadMenus() {
  if (window.mm_menu_0823094543_0) return;
  window.mm_menu_0823094543_0 = new Menu("root",170,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094543_0.addMenuItem("Checking","location='p_checking.htm'");
  mm_menu_0823094543_0.addMenuItem("Savings","location='p_savings.htm'");
  mm_menu_0823094543_0.addMenuItem("Convenience&nbsp;Services","location='s_services.htm'");
  mm_menu_0823094543_0.addMenuItem("Online&nbsp;Banking","location='o_online.htm'");
  mm_menu_0823094543_0.addMenuItem("Online&nbsp;Forms","location='forms.htm'");
  mm_menu_0823094543_0.addMenuItem("Check&nbsp;Reorder","location=\"javascript:external_disclaimer('https://checkreorderexpress.com/prodreorder/reorder_form.cfm');\"");
   mm_menu_0823094543_0.hideOnMouseOut=true;
   mm_menu_0823094543_0.menuBorder=1;
   mm_menu_0823094543_0.menuLiteBgColor='#ffffff';
   mm_menu_0823094543_0.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094543_0.bgColor='#cccccc';
  window.mm_menu_0823094722_1 = new Menu("root",170,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094722_1.addMenuItem("Checking","location='b_checking.htm'");
  mm_menu_0823094722_1.addMenuItem("Savings","location='b_savings.htm'");
  mm_menu_0823094722_1.addMenuItem("Convenience&nbsp;Services","location='s_services.htm#business'");
  mm_menu_0823094722_1.addMenuItem("Online&nbsp;Banking","location='o_online.htm#business'");
  mm_menu_0823094722_1.addMenuItem("Online&nbsp;Forms","location='forms.htm'");
   mm_menu_0823094722_1.hideOnMouseOut=true;
   mm_menu_0823094722_1.menuBorder=1;
   mm_menu_0823094722_1.menuLiteBgColor='#ffffff';
   mm_menu_0823094722_1.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094722_1.bgColor='#cccccc';
  window.mm_menu_0823094809_2 = new Menu("root",180,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094809_2.addMenuItem("Consumer&nbsp;Loans","location='l_personal.htm'");
  mm_menu_0823094809_2.addMenuItem("Commercial&nbsp;Loans","location='l_business.htm'");
  mm_menu_0823094809_2.addMenuItem("Mortgages&nbsp;&frasl;&nbsp;Home&nbsp;Equity&nbsp;Loans","location='l_mortgage.htm'");
  mm_menu_0823094809_2.addMenuItem("Online&nbsp;Forms","location='forms.htm'");
  mm_menu_0823094809_2.addMenuItem("Meet&nbsp;our&nbsp;Business&nbsp;Bankers","location='l_business_managers.htm'");
   mm_menu_0823094809_2.hideOnMouseOut=true;
   mm_menu_0823094809_2.menuBorder=1;
   mm_menu_0823094809_2.menuLiteBgColor='#ffffff';
   mm_menu_0823094809_2.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094809_2.bgColor='#cccccc';
  window.mm_menu_0823095032_4 = new Menu("root",144,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823095032_4.addMenuItem("Message&nbsp;from&nbsp;President","location='a_message.htm'");
  mm_menu_0823095032_4.addMenuItem("Locations&nbsp;&amp;&nbsp;Hours","location='a_locations.htm'");
  mm_menu_0823095032_4.addMenuItem("Directors&nbsp;&amp;&nbsp;Officers","location='a_directors.htm'");
  mm_menu_0823095032_4.addMenuItem("History&nbsp;&amp;&nbsp;Mission","location='a_history.htm'");
  mm_menu_0823095032_4.addMenuItem("Kinderhook&nbsp;Bank&nbsp;ATMs","location='a_locations.htm#atms'");
  mm_menu_0823095032_4.addMenuItem("Community&nbsp;Support","location='com_community.htm'");
  mm_menu_0823095032_4.addMenuItem("Investor&nbsp;Relations","location='inv_investor.htm'");
  mm_menu_0823095032_4.addMenuItem("Career&nbsp;Openings","location='a_career.asp'");
  mm_menu_0823095032_4.addMenuItem("News&nbsp;&amp;&nbsp;Press","location='a_news.asp'");
  mm_menu_0823095032_4.addMenuItem("Privacy&nbsp;Notice","location='privacy.htm'");
   mm_menu_0823095032_4.hideOnMouseOut=true;
   mm_menu_0823095032_4.menuBorder=1;
   mm_menu_0823095032_4.menuLiteBgColor='#ffffff';
   mm_menu_0823095032_4.menuBorderBgColor='#EFEFEF';
   mm_menu_0823095032_4.bgColor='#cccccc';

  mm_menu_0823095032_4.writeMenus();
} // mmLoadMenus()

function mmLoadsecMenus() {
  if (window.mm_menu_0823094543_0) return;
  window.mm_menu_0823094543_0 = new Menu("root",170,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094543_0.addMenuItem("Checking","location='http://www.nubk.com/p_checking.htm'");
  mm_menu_0823094543_0.addMenuItem("Savings","location='http://www.nubk.com/p_savings.htm'");
  mm_menu_0823094543_0.addMenuItem("Convenience&nbsp;Services","location='http://www.nubk.com/s_services.htm'");
  mm_menu_0823094543_0.addMenuItem("Online&nbsp;Banking","location='http://www.nubk.com/o_online.htm'");
  mm_menu_0823094543_0.addMenuItem("Online&nbsp;Forms","location='http://www.nubk.com/forms.htm'");
  mm_menu_0823094543_0.addMenuItem("Check&nbsp;Reorder","location=\"javascript:external_disclaimer('https://checkreorderexpress.com/prodreorder/reorder_form.cfm');\"");
   mm_menu_0823094543_0.hideOnMouseOut=true;
   mm_menu_0823094543_0.menuBorder=1;
   mm_menu_0823094543_0.menuLiteBgColor='#ffffff';
   mm_menu_0823094543_0.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094543_0.bgColor='#cccccc';
  window.mm_menu_0823094722_1 = new Menu("root",170,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094722_1.addMenuItem("Checking","location='http://www.nubk.com/b_checking.htm'");
  mm_menu_0823094722_1.addMenuItem("Savings","location='http://www.nubk.com/b_savings.htm'");
  mm_menu_0823094722_1.addMenuItem("Convenience&nbsp;Services","location='http://www.nubk.com/s_services.htm#business'");
  mm_menu_0823094722_1.addMenuItem("Online&nbsp;Banking","location='http://www.nubk.com/o_online.htm#business'");
  mm_menu_0823094722_1.addMenuItem("Online&nbsp;Forms","location='http://www.nubk.com/forms.htm'");
   mm_menu_0823094722_1.hideOnMouseOut=true;
   mm_menu_0823094722_1.menuBorder=1;
   mm_menu_0823094722_1.menuLiteBgColor='#ffffff';
   mm_menu_0823094722_1.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094722_1.bgColor='#cccccc';
  window.mm_menu_0823094809_2 = new Menu("root",180,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823094809_2.addMenuItem("Consumer&nbsp;Loans","location='http://www.nubk.com/l_personal.htm'");
  mm_menu_0823094809_2.addMenuItem("Commercial&nbsp;Loans","location='http://www.nubk.com/l_business.htm'");
  mm_menu_0823094809_2.addMenuItem("Mortgages&nbsp;&frasl;&nbsp;Home&nbsp;Equity&nbsp;Loans","location='http://www.nubk.com/l_mortgage.htm'");
  mm_menu_0823094809_2.addMenuItem("Online&nbsp;Forms","location='http://www.nubk.com/forms.htm'");
  mm_menu_0823094809_2.addMenuItem("Meet&nbsp;our&nbsp;Business&nbsp;Bankers","location='http://www.nubk.com/l_business_managers.htm'");
   mm_menu_0823094809_2.hideOnMouseOut=true;
   mm_menu_0823094809_2.menuBorder=1;
   mm_menu_0823094809_2.menuLiteBgColor='#ffffff';
   mm_menu_0823094809_2.menuBorderBgColor='#EFEFEF';
   mm_menu_0823094809_2.bgColor='#cccccc';
  window.mm_menu_0823095032_4 = new Menu("root",144,18,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#34942A","#014c8F","left","middle",3,0,1000,0,0,true,true,true,0,true,true);
  mm_menu_0823095032_4.addMenuItem("Message&nbsp;from&nbsp;President","location='http://www.nubk.com/a_message.htm'");
  mm_menu_0823095032_4.addMenuItem("Locations&nbsp;&amp;&nbsp;Hours","location='http://www.nubk.com/a_locations.htm'");
  mm_menu_0823095032_4.addMenuItem("Directors&nbsp;&amp;&nbsp;Officers","location='http://www.nubk.com/a_directors.htm'");
  mm_menu_0823095032_4.addMenuItem("History&nbsp;&amp;&nbsp;Mission","location='http://www.nubk.com/a_history.htm'");
  mm_menu_0823095032_4.addMenuItem("Kinderhook&nbsp;Bank&nbsp;ATMs","location='http://www.nubk.com/a_locations.htm#atms'");
  mm_menu_0823095032_4.addMenuItem("Community&nbsp;Support","location='http://www.nubk.com/com_community.htm'");
  mm_menu_0823095032_4.addMenuItem("Investor&nbsp;Relations","location='http://www.nubk.com/inv_investor.htm'");
  mm_menu_0823095032_4.addMenuItem("Career&nbsp;Openings","location='http://www.nubk.com/a_career.asp'");
  mm_menu_0823095032_4.addMenuItem("News&nbsp;&amp;&nbsp;Press","location='http://www.nubk.com/a_news.asp'");
  mm_menu_0823095032_4.addMenuItem("Privacy&nbsp;Notice","location='http://www.nubk.com/privacy.htm'");
   mm_menu_0823095032_4.hideOnMouseOut=true;
   mm_menu_0823095032_4.menuBorder=1;
   mm_menu_0823095032_4.menuLiteBgColor='#ffffff';
   mm_menu_0823095032_4.menuBorderBgColor='#EFEFEF';
   mm_menu_0823095032_4.bgColor='#cccccc';

  mm_menu_0823095032_4.writeMenus();
} // mmLoadsecMenus()