// 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";

///////////////////////////////////////////////////////////////////////////////////////////////
	
        employment_on = new Image(143,21);
		employment_on.src = imagedir + "nav-employment-on.gif";

		employment_off = new Image(143,21);  
		employment_off.src = imagedir + "nav-employment-off.gif";

///////////////////////////////////////////////////////////////////////////////////////////////	
	
	
///////////////////////////////////////////////////////////////////////////////////////////////
	
        onlinebanking_on = new Image(143,18);
		onlinebanking_on.src = imagedir + "nav-onlinebanking-on.gif";

		onlinebanking_off = new Image(143,18);  
		onlinebanking_off.src = imagedir + "nav-onlinebanking-off.gif";

///////////////////////////////////////////////////////////////////////////////////////////////
			
        cashmanagement_on = new Image(143,20);
		cashmanagement_on.src = imagedir + "nav-cm-on.gif";

		cashmanagement_off = new Image(143,20);
		cashmanagement_off.src = imagedir + "nav-cm-off.gif";
		
///////////////////////////////////////////////////////////////////////////////////////////////
		
        prodserv_on = new Image(143,20);	     
		prodserv_on.src = imagedir + "nav-prodserv-on.gif";

		prodserv_off = new Image(143,20);       
		prodserv_off.src = imagedir + "nav-prodserv-off.gif";
		
///////////////////////////////////////////////////////////////////////////////////////////////
			
		rates_on = new Image(143,19);     
		rates_on.src = imagedir + "nav-rates-on.gif";
		
		rates_off = new Image(143,19);    
		rates_off.src = imagedir + "nav-rates-off.gif";

///////////////////////////////////////////////////////////////////////////////////////////////
			
        about_on = new Image(143,20);         
		about_on.src = imagedir + "nav-about-on.gif";
		
		about_off = new Image(143,20);        
		about_off.src = imagedir + "nav-about-off.gif";

///////////////////////////////////////////////////////////////////////////////////////////////
			
		calculators_on = new Image(143,20);     
		calculators_on.src = imagedir + "nav-calculators-on.gif";
		
		calculators_off = new Image(143,20);    
		calculators_off.src = imagedir + "nav-calculators-off.gif";
	
///////////////////////////////////////////////////////////////////////////////////////////////
		
        communitylinks_on = new Image(143,20);       
		communitylinks_on.src = imagedir + "nav-communitylinks-on.gif";
		
		communitylinks_off = new Image(143,20);      
		communitylinks_off.src = imagedir + "nav-communitylinks-off.gif";
	
///////////////////////////////////////////////////////////////////////////////////////////////
		
		stockchecker_on = new Image(143,20);       
		stockchecker_on.src = imagedir + "nav-stockchecker-on.gif";
		
		stockchecker_off = new Image(143,20);      
		stockchecker_off.src = imagedir + "nav-stockchecker-off.gif";
	
///////////////////////////////////////////////////////////////////////////////////////////////
		
        help_on = new Image(143,21);            
		help_on.src = imagedir + "nav-help-on.gif";
		
		help_off = new Image(143,21);           
		help_off.src = imagedir + "nav-help-off.gif";
    
///////////////////////////////////////////////////////////////////////////////////////////////
	
        home_on = new Image(143,19);            
		home_on.src = imagedir + "nav-home-on.gif";
        
		home_off = new Image(143,19);           
		home_off.src = imagedir + "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
// 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="' + sitedir + '_macstyle.css" rel="stylesheet"') : document.write('<link href="' + sitedir + '_winstyle.css" rel="stylesheet">');

function makefooter()
{
var footer = '<table border="0" width="760" cellspacing="0" cellpadding="0">';
	footer += '<tr>';
		footer += '<td width="760" bgcolor="#ffffff"><img src="' + imagedir + 'foot-address.gif" width=143 height=70 alt="First National Bank Waterloo/Columbia 228 S. Main St. Waterloo, IL 62298 618.281.6194" border="0"><img src="' + imagedir + 'foot-cell2.gif" width=182 height=70 alt="" border="0"><img src="' + imagedir + 'clearpix.gif" width=435 height=1 alt="" border="0"></td>';
	footer += '</tr>';
footer += '</table>';
document.write(footer);
}


function make_logo_table()
{
var logos = '';
logos += '<table width="100%" align="center" cellpadding="2" cellspacing="1" border="0">';
logos += '<tr>';
logos += '<td align="left" width="33%" class="ficontent">';
logos += '<img src="../images/fdic.gif" width="57" height="23" alt="" border="0">'; 
logos += '</td>';
logos += '<td align="center" width="33%" class="ficontent">';
logos += '';
logos += '</td>';
logos += '<td align="right" width="33%" class="ficontent">';
logos += '<img src="../images/equalhl.gif" width="41" height="38" alt="" border="0">';
logos += '</td>';
logos += '</tr>';
logos += '</table>';
document.write(logos);
}

var link1 = sitedir + "online_banking.html";
var link2 = sitedir + "cm_coming_soon.html";
var link3 = sitedir + "products.html";
var link4 = sitedir + "rates.html";
var link5 = sitedir + "about.html";
var link6 = sitedir + "calculatorexit.html";
var link7 = sitedir + "community.html";
var link8 = sitedir +"stockchecker.html";
var link9 = sitedir + "faq-main.html";
var link10 = sitedir + "home.html";
var link11 = sitedir + "featured_product.html";
var link12 = sitedir + "employment.html";
var mainnav = new Array();

mainnav[1] = '<tr>';
mainnav[1] += '<td width="143"><a href="' + link1 + '" onMouseOver="img_act(\'onlinebanking\'); window.status=\'Online Banking\'; return true" onMouseOut="img_inact(\'onlinebanking\');"><img src="../images/nav-onlinebanking-off.gif" width=143 height=18 alt="Online Banking" border="0" name="onlinebanking"></a></td>';
mainnav[1] += '</tr>';
			
mainnav[2] = '<tr>';
mainnav[2] += '<td width="143"><a href="' + link2 + '" onMouseOver="img_act(\'cashmanagement\'); window.status=\'Cash Management\'; return true" onMouseOut="img_inact(\'cashmanagement\');"><img src="../images/nav-cm-off.gif" width=143 height=20 alt="Cash Management" border="0" name="cashmanagement"></a></td>';
mainnav[2] += '</tr>';

mainnav[3] = '<tr>';
mainnav[3] += '<td width="143"><a href="' + link3 + '" onMouseOver="img_act(\'prodserv\'); window.status=\'Products and Services\'; return true" onMouseOut="img_inact(\'prodserv\');"><img src="../images/nav-prodserv-off.gif" width=143 height=20 alt="Products and Services" border="0" name="prodserv"></a></td>';
mainnav[3] += '</tr>';
			
mainnav[4] = '<tr>';
mainnav[4] += '<td width="143"><a href="' + link4 + '" onMouseOver="img_act(\'rates\'); window.status=\'Rates\'; return true" onMouseOut="img_inact(\'rates\');"><img src="../images/nav-rates-off.gif" width=143 height=19 alt="Rates" border="0" name="rates"></a></td>';
mainnav[4] += '</tr>';

mainnav[5] = '<tr>';
mainnav[5] += '<td width="143"><a href="' + link5 + '" onMouseOver="img_act(\'about\'); window.status=\'About Us\'; return true" onMouseOut="img_inact(\'about\');"><img src="../images/nav-about-off.gif" width=143 height=20 alt="About Us" border="0" name="about"></a></td>';
mainnav[5] += '</tr>';

mainnav[6] = '<tr>';
mainnav[6] += '<td width="143"><a href="' + link6 + '" onMouseOver="img_act(\'calculators\'); window.status=\'Calculators\'; return true" onMouseOut="img_inact(\'calculators\');"><img src="../images/nav-calculators-off.gif" width=143 height=20 alt="Calculators" border="0" name="calculators"></a></td>';
mainnav[6] += '</tr>';

mainnav[7] = '<tr>';
mainnav[7] += '<td width="143"><a href="' + link7 + '" onMouseOver="img_act(\'communitylinks\'); window.status=\'Community Corner\'; return true" onMouseOut="img_inact(\'communitylinks\');"><img src="../images/nav-communitylinks-off.gif" width=143 height=21 alt="Community Corner" border="0" name="communitylinks"></a></td>';
mainnav[7] += '</tr>';

mainnav[8] = '<tr>';
mainnav[8] += '<td width="143"><a href="' + link8 + '" onMouseOver="img_act(\'stockchecker\'); window.status=\'Stock Checker\'; return true" onMouseOut="img_inact(\'stockchecker\');"><img src="../images/nav-stockchecker-off.gif" width=143 height=20 alt="Stock Checker" border="0" name="stockchecker"></a></td>';
mainnav[8] += '</tr>';

mainnav[9] = '<tr>';
mainnav[9] += '<td width="143"><a href="' + link9 + '" onMouseOver="img_act(\'help\'); window.status=\'Help\'; return true" onMouseOut="img_inact(\'help\');"><img src="../images/nav-help-off.gif" width=143 height=21 alt="Help" border="0" name="help"></a></td>';
mainnav[9] += '</tr>';
			
mainnav[10] = '<tr>';
mainnav[10] += '<td width="143"><a href="' + link10 + '" onMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'home\');"><img src="../images/nav-home-off.gif" width=143 height=19 alt="Home" border="0" name="home"></a></td>';
mainnav[10] += '</tr>';

mainnav[11] = '<tr>';
mainnav[11] += '<td width="143"><a href="' + link12 + '" onMouseOver="img_act(\'employment\'); window.status=\'Employment\'; return true" onMouseOut="img_inact(\'employment\');"><img src="../images/nav-employment-off.gif" width=143 height=21 alt="Employment" border="0" name="employment"></a></td>';
mainnav[11] += '</tr>';


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 navigate()
{
var place = document.form1.quicknav.selectedIndex;
if (document.form1.quicknav[place].value != "make")
	{
	location.href = document.form1.quicknav.options[place].value;
	}
}

function open_apps(nameofapp) {
	 	var pWidth = ( ((parseInt(screen.width) / 2)) - 300 )
		var pHeight = (((parseInt(screen.height) / 2)) - 250)
		aWindow = window.open('https://www.fnbwaterlooonline.com/Forms/OnlineForm.cgi?form=' + nameofapp,'application',"toolbar=0,location=0,directories=0,status=0,menubar=0,width=600,height=500,top=" + pHeight + ",left=" + pWidth + ",scrollbars=1,resizable=1,status=1");
	  } 