if (!window.imgdir)
{

var imgdir="/images/"
var sitedir="/site/"
var securedir="/site/"
var homedir="/"
}
if(window.homepage)
{

var imgdir="images/";
var sitedir="site/";
var securedir="site/";
var homedir="";
}

function Include()
{
this.domain = "evabank";
this.friendly = "Eva Bank";
this.headergraphic = "";
this.contentgraphic = "";

this.setHeaderGraphic = setHeaderGraphic;
this.setContentGraphic = setContentGraphic;
this.makeHeader = makeHeader;
this.makeFooter = makeFooter;

}

function makeHeader()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
content[index++] = '<a name="top"></a>';
content[index++] = '<!-- BEGIN LOGO AND LOGIN -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#630031">';
content[index++] = '	<tr>';
content[index++] = '		<td colspan="3"><img src="' + imgdir + 'clearpix.gif" width="1" height="2"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr>';
content[index++] = '		<td width="539"><img src="' + imgdir + 'logo-evabank.gif" width="180" height="51" alt="EvaBank" border="0"></td>';
content[index++] = '		<td width="217" align="right" bgcolor="#330000"><img src="' + imgdir + 'label-onlinebanking.gif" width="217" height="27" alt="Online Banking" border="0"><br><a href="https://www.evabankonline.com/onlineserv/HB" onMouseOver="img_act(\'login\'); window.status=\'Login\'; return true" onMouseOut="img_inact(\'login\');"><img src="' + imgdir + 'nav-login-off.gif" width="56" height="18" alt="Login" border="0" name="login"></a><img src="' + imgdir + 'clearpix.gif" width="5" height="1"><a href="https://www.evabankonline.com/onlineserv/HB/demo.html" onMouseOver="img_act(\'demo\'); window.status=\'Demo\'; return true" onMouseOut="img_inact(\'demo\');"><img src="' + imgdir + 'nav-demo-off.gif" width="56" height="18" alt="Demo" border="0" name="demo"></a><img src="' + imgdir + 'clearpix.gif" width="5" height="1"><a href="more_info.html" onMouseOver="img_act(\'moreinfo\'); window.status=\'More Info\'; return true" onMouseOut="img_inact(\'moreinfo\');"><img src="' + imgdir + 'nav-moreinfo-off.gif" width="72" height="18" alt="More Info" border="0" name="moreinfo"></a><img src="' + imgdir + 'clearpix.gif" width="9" height="1">		';
content[index++] = '		</td>';
content[index++] = '		<td width="4"><img src="' + imgdir + 'clearpix.gif" width="4" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr>';
content[index++] = '		<td colspan="3"><img src="' + imgdir + 'clearpix.gif" width="1" height="5"></td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<!-- END LOGO AND LOGIN -->';
content[index++] = '<!-- BEGIN TOP NAV -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr>';
content[index++] = '		<td bgcolor="#8F9CA2" align="right"><a href="javascript:open_apps(\'guestbook_app\')" onMouseOver="img_act(\'contactus\'); window.status=\'Contact Us\'; return true" onMouseOut="img_inact(\'contactus\');"><img src="' + imgdir + 'nav-contactus-off.gif" width="84" height="21" alt="Contact Us" border="0" name="contactus"></a><a href="locations.html" onMouseOver="img_act(\'locations\'); window.status=\'Locations\'; return true" onMouseOut="img_inact(\'locations\');"><img src="' + imgdir + 'nav-locations-off.gif" width="76" height="21" alt="Locations" border="0" name="locations"></a><a href="calculators.html" onMouseOver="img_act(\'calculators\'); window.status=\'Calculators\'; return true" onMouseOut="img_inact(\'calculators\');"><img src="' + imgdir + 'nav-calculators-off.gif" width="86" height="21" alt="Calculators" border="0" name="calculators"></a><a href="site_map.html" onMouseOver="img_act(\'sitemap\'); window.status=\'Site Map\'; return true" onMouseOut="img_inact(\'sitemap\');"><img src="' + imgdir + 'nav-sitemap-off.gif" width="71" height="21" alt="Site Map" border="0" name="sitemap"></a><a href="faq.html" onMouseOver="img_act(\'help\'); window.status=\'Help\'; return true" onMouseOut="img_inact(\'help\');"><img src="' + imgdir + 'nav-help-off.gif" width="43" height="21" alt="Help" border="0" name="help"></a><a href="../index.html" onMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'home\');"><img src="' + imgdir + 'nav-home-off.gif" width="54" height="21" alt="Home" border="0" name="home"></a></td>';
content[index++] = '	</tr>	';
content[index++] = '	<tr><td bgcolor="#4F6E7D"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '	<tr><td bgcolor="#E3F6FF"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '	<tr><td bgcolor="#4F6E7D"><img src="' + imgdir + 'nav-bluepix.gif" width="1" height="1" border="0" alt=""></td></tr>';
content[index++] = '</table>';
content[index++] = '<!-- END TOP NAV -->';
content[index++] = '<!-- BEGIN MAIN TABLE -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr>';
content[index++] = '		<td width="180" valign="top">';
content[index++] = '			<table width="180" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '				<tr><td><img src="' + imgdir + 'nav-top.gif" width="180" height="4" alt="" border="0"></td></tr>';
content[index++] = '				<tr><td><img src="' + imgdir + 'nav-bg.gif" width="180" height="4" alt="" border="0"></td></tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="online_services.html" onMouseOver="img_act(\'onlineservices\'); window.status=\'Online Services\'; popUp(\'HM_Menu1\',event); return true" onMouseOut="img_inact(\'onlineservices\'); popDown(\'HM_Menu1\');"><img src="' + imgdir + 'nav-onlineservices-off.gif" width="180" height="30" alt="Online Services" border="0" name="onlineservices"></a></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="checking.html" onMouseOver="img_act(\'checking\'); window.status=\'Checking\'; popUp(\'HM_Menu2\',event); return true" onMouseOut="img_inact(\'checking\'); popDown(\'HM_Menu2\'); "><img src="' + imgdir + 'nav-checking-off.gif" width="180" height="30" alt="Checking" border="0" name="checking"></a></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="savings.html" onMouseOver="img_act(\'savings\'); window.status=\'Savings and Investments\'; popUp(\'HM_Menu3\',event); return true" onMouseOut="img_inact(\'savings\'); popDown(\'HM_Menu3\'); "><img src="' + imgdir + 'nav-savings-off.gif" width="180" height="44" alt="Savings and Investments" border="0" name="savings"></a></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="loans.html" onMouseOver="img_act(\'loans\'); window.status=\'Loans\'; return true" onMouseOut="img_inact(\'loans\');"><img src="' + imgdir + 'nav-loans-off.gif" width="180" height="30" alt="Loans" border="0" name="loans"></a></td>';
content[index++] = '				</tr>';
//content[index++] = '				<tr>';
//content[index++] = '					<td><img src="' + imgdir + 'nav-mortgages-off.gif" width="180" height="30" alt="Mortgages" border="0" name="mortgages" onMouseOver="img_act(\'mortgages\'); window.status=\'Mortgages\'; popUp(\'HM_Menu5\',event); return true" onMouseOut="img_inact(\'mortgages\');popDown(\'HM_Menu5\'); "></td>';
//// content[index++] = '					<td><a href="#" onMouseOver="img_act(\'mortgages\'); window.status=\'Mortgages\'; popUp(\'HM_Menu5\',event); return true" onMouseOut="img_inact(\'mortgages\');popDown(\'HM_Menu5\'); "><img src="' + imgdir + 'nav-mortgages-off.gif" width="180" height="30" alt="Mortgages" border="0" name="mortgages"></a></td>';
//content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="more_info.html" onMouseOver="img_act(\'solutions\'); window.status=\'Solutions\'; return true" onMouseOut="img_inact(\'solutions\');"><img src="' + imgdir + 'nav-solutions-off.gif" width="180" height="30" alt="Solutions" border="0" name="solutions"></a></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="small_business.html" onMouseOver="img_act(\'smallbusiness\'); window.status=\'Small Business\'; popUp(\'HM_Menu4\',event); return true" onMouseOut="img_inact(\'smallbusiness\'); popDown(\'HM_Menu4\'); "><img src="' + imgdir + 'nav-smallbusiness-off.gif" width="180" height="30" alt="Small Business" border="0" name="smallbusiness"></a></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><a href="about_us.html" onMouseOver="img_act(\'aboutus\'); window.status=\'About Us\'; return true" onMouseOut="img_inact(\'aboutus\');"><img src="' + imgdir + 'nav-aboutus-off.gif" width="180" height="30" alt="About Us" border="0" name="aboutus"></a></td>';
content[index++] = '				</tr>';

content[index++] = '				<tr>';
content[index++] = '					<td><a href="http://www.evabankforeclosures.com/" onMouseOver="img_act(\'foreclosures\'); window.status=\'foreclosures\'; return true" onMouseOut="img_inact(\'foreclosures\');"><img src="' + imgdir + 'nav-foreclosures-off.gif" width="180" height="30" alt="Foreclosures" border="0" name="foreclosures"></a></td>';
content[index++] = '				</tr>';

content[index++] = '				<tr>';
content[index++] = '					<td><a href="customer_education.html" onMouseOver="img_act(\'ce\'); window.status=\'Customer Education\'; return true" onMouseOut="img_inact(\'ce\');"><img src="' + imgdir + 'nav-ce-off.gif" width="180" height="30" alt="Customer Education" border="0" name="ce"></a></td>';
content[index++] = '				</tr>';


content[index++] = '				<tr><td><img src="' + imgdir + 'nav-bottom.gif" width="180" height="5" alt="" border="0"></td></tr>';


content[index++] = '				<tr>';
content[index++] = '					<td align="center"><a href="kids_page.html"><img src="' + imgdir + 'nav-kidspage.gif" width="143" height="119" alt="" border="0"></a></td>';
content[index++] = '				</tr>	';
content[index++] = '			</table>';
content[index++] = '		</td>';
content[index++] = '		<td width="46"><img src="' + imgdir + 'clearpix.gif" width="46" height="1"></td>';
content[index++] = '		<td width="534" valign="top">';
content[index++] = '			<table width="534" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '<!-- header -->';
content[index++] = '				<tr>';
content[index++] = '					<td>' + inc.headergraphic + '</td>';
content[index++] = '				</tr>';
content[index++] = '<!-- end header -->';
content[index++] = '				<tr>';
content[index++] = '					<td valign="top">';
content[index++] = '<table border="0" cellspacing="0" cellpadding="0">';
content[index++] = '							<tr>';
content[index++] = '								<td width="315" class="ficontent" valign="top">';
//CODE GOES HERE

var index = 0;

return (content.join(""));
}



function setContentGraphic(graphic , alt_tag)
{
if (!alt_tag)
var alt_tag = "";

if (graphic == null)
	{
	this.contentgraphic = "";
	}
else
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" width="165" height="218" alt="' + alt_tag + '" border="0" align="right">';
	}	
}

function setHeaderGraphic(graphic , alt_tag)
{
if (!alt_tag)
var alt_tag = "";

if (graphic == null)
	{
	this.headergraphic = "";
	}
else
	{
	this.headergraphic = '<img src="' + imgdir + 'hed-' + graphic + '.gif" width="534" height="64" alt="' + alt_tag + '" border="0">';;
	}	
}


function makeFooter()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
content[index++] = '</td>								';
content[index++] = '								<td width="26"><img src="' + imgdir + 'clearpix.gif" width="26" height="1"></td>';
content[index++] = '								<td width="165" valign="top">';
content[index++] = '									<table border="0" cellspacing="0" cellpadding="0" bgcolor="#EDF0F2">';
content[index++] = '										<tr>';
content[index++] = '											<td valign="top">' + inc.contentgraphic + '</td>';
content[index++] = '										</tr>';
content[index++] = '										';
content[index++] = '									</table>';
content[index++] = '								</td>';
content[index++] = '								<td width="28"><img src="' + imgdir + 'clearpix.gif" width="28" height="1"></td>';
content[index++] = '							</tr>						';
content[index++] = '						</table>';
content[index++] = '</td>';
content[index++] = '				</tr>';
content[index++] = '<!-- footer -->';
content[index++] = '				<tr>';
content[index++] = '					<td class="subnav"><br><br><a href="disclosures.html" class="subnav">Disclosures</a><br><img src="' + imgdir + 'foot-line.gif" width="534" height="17" alt="" border="0"></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '					<td><img src="' + imgdir + 'foot-address.gif" width="280" height="27" alt="1710 Cherokee Avenue, SW, Cullman, AL 35055 Phone:(256) 255-2250  Fax:(256) 796-2869" border="0"><a href="http://www.fdic.gov" target="_blank"><img src="' + imgdir + 'foot-memberfdic.gif" width="72" height="27" alt="Member FDIC" border="0"></a><a href="http://www.hud.gov" target="_blank"><img src="' + imgdir + 'foot-ehl.gif" width="56" height="27" alt="Equal Housing Lender" border="0"></a><a href="http://ifs.intuit.com" target="_blank"><img src="https://www.evabankonline.com/mstinc/web/images/logo_91x22.png" width="91" height="22" border="0" alt="" /></a></td>';
content[index++] = '				</tr>';
content[index++] = '<!-- end footer -->';
content[index++] = '			</table>';
content[index++] = '		</td>';
content[index++] = '	</tr>';
content[index++] = '</table>';

//CODE GOES HERE

return (content.join(""));
}

