if (!window.imgdir)
{
var imgdir="http://www.pfbib.com/images/"
var sitedir="http://www.pfbib.com/site/"
var securedir="http://www.pfbib.com/site/"
var homedir="http://www.pfbib.com/"
}

function Include()
{
this.domain = "pfbib";
this.friendly = "Plantation Federal Bank";
this.ib = "https://www.pfbib.com/onlineserv/HB";
this.ib_demo = "https://www.pfbib.com/onlineserv/HB/demo.html";
this.ib_open_window = true;
this.cm_open_window = false;
this.ib_register = "https://www.pfbib.com/onlineserv/HB/OnlineForm.cgi?form=enhancedNDB";
//this.cm = "https://www.pfbib.com/onlineserv/CM/";
this.cm = sitedir + "ebs_cash.html";
this.headergraphic = "";
this.contentgraphic = "";

this.setHeaderGraphic = setHeaderGraphic;
this.setContentGraphic = setContentGraphic;
this.makeHeader = makeHeader;
this.makeTopNav = makeTopNav;
this.makeMainNav = makeMainNav;
this.makeLoginArea = makeLoginArea;
this.makeUltraseek = makeUltraSeek;
this.makeFooter = makeFooter;
this.makeFooterHome = makeFooterHome;
this.makeFooterLogos = makeFooterLogos;
this.makeFooterLogosHome = makeFooterLogosHome;
this.openIB = openIB;
this.openIBRegister = openIBRegister;
this.openCM = openCM;
this.makeHeader_new = makeHeader_new;

}

var AllPointCode = "";
/*var AllPointCode = '<!-- AllPoint Header --><!--Field Style--><style type=\'text/css\'>.drop2{font-weight: normal;color: black;font-size: 10px;font-family: Arial;}</style><!--End Field Style--><!--Form Function--><script>function clearDefault(el) {if (el.defaultValue==el.value) el.value = "";}</script><!--End Form Function--><!-- End AllPoint Header --><!-- AllPoint --><script src="https://js.locatorsearch.com/allpoint_image.js" language="JavaScript" type="text/javascript"></script><!-- End AllPoint -->';*/


var phishingMessage = '';


/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/



/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/


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

//CODE GOES HERE

content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr><td bgcolor="#000000"><img src="' + imgdir + 'clearpix.gif" width="1" height="3"></td></tr>';
content[index++] = '</table>';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '	<tr valign="top">';
content[index++] = '		<td width="230"><a href="' + homedir + 'home.html"><img src="' + imgdir + 'logo-pfbib.gif" width="200" height="124" alt="Plantation Federal" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="30" height="1"></td>';
content[index++] = '		<td width="310"><img src="' + imgdir + 'top-photo.jpg" width="301" height="124" alt="" border="0"></td>';
content[index++] = inc.makeLoginArea();
content[index++] = '	<td width="28"><img src="' + imgdir + 'clearpix.gif" width="28" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '</table>';
/*
content[index++] = '<table width="100%" border="0" cellspacing="0" cellpadding="0" >';
content[index++] = '	<tr>';
content[index++] = '		<td>';
*/
content[index++] = inc.makeTopNav();
/*
content[index++] = '		</td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
*/
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr valign="top">';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<td width="200" bgcolor="#DAD4C9">';
content[index++] = inc.makeMainNav();
content[index++] = '    </td>';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<td width="30"><img src="' + imgdir + 'clearpix.gif" width="30" height="10" alt="" border="0" name=""></td>';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<td width="530" valign="top" valign="top">	';
content[index++] = '			<!-- begin nested content table -->';
content[index++] = '			<!-- begin nested content table -->';
content[index++] = '			<!-- begin nested content table -->	';
content[index++] = '			<table width="100%" border="0" cellspacing="0" cellpadding="15" valign="top">';
/*if (busypage==1){
content[index++] = '				<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="20"></td></tr>';
content[index++] = '				<tr valign="top">';
content[index++] = '					<td width="300" class="ficontent" valign="top">' + inc.headergraphic + '<br><br>';
}
else{*/
//content[index++] = '				<tr><td><img src="' + imgdir + 'clearpix.gif" width="1" height="20"></td></tr>';
content[index++] = '				<tr valign="top">';
content[index++] = '				<td>' + phishingMessage + '</td>';
content[index++] = '				</tr>';
content[index++] = '				<tr valign="top">';
content[index++] = '					<td class="ficontent" valign="top">' + inc.headergraphic + '<br><br>';
if (busypage==1){
content[index++] = '			<table width="220" border="0" cellspacing="0" cellpadding="0" align="right" valign="top">';
content[index++] = '<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '					<td width="220">' + inc.contentgraphic + '<br><br><span class="header">&nbsp;&nbsp;Quick Links</span><br>';
//content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_glossary.html">Bank Term Glossary</a></span><br>';
content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_people.html">Our People</a></span><br>';
content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_locations.html">Find a Branch</a></span>';
if (window.allpointdep)
{
//content[index++] = '<br><br>' + AllPointCode;
}
content[index++] = '</td>';
content[index++] = '					<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '				</tr>';
content[index++] = '				</table>';
}

if (busypage==2){
content[index++] = '			<table width="220" border="0" cellspacing="0" cellpadding="0" align="right" valign="top">';
content[index++] = '<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '					<td width="220" align="center">' + inc.contentgraphic + '<br><br>';
content[index++] = '</td>';
content[index++] = '					<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '				</tr>';
content[index++] = '				</table>';
}

//}
content.join("");


//CODE GOES HERE


var index = 0;

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/


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

//CODE GOES HERE

content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr><td bgcolor="#000000"><img src="' + imgdir + 'clearpix.gif" width="1" height="3"></td></tr>';
content[index++] = '</table>';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '	<tr valign="top">';
content[index++] = '		<td width="230"><a href="' + homedir + 'home.html"><img src="' + imgdir + 'logo-pfbib.gif" width="200" height="124" alt="Plantation Federal" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="30" height="1"></td>';
content[index++] = '		<td width="310"><img src="' + imgdir + 'top-photo.jpg" width="301" height="124" alt="" border="0"></td>';
content[index++] = inc.makeLoginArea();
content[index++] = '	<td width="28"><img src="' + imgdir + 'clearpix.gif" width="28" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="1"></td></tr>';
content[index++] = '</table>';
/*
content[index++] = '<table width="100%" border="0" cellspacing="0" cellpadding="0" >';
content[index++] = '	<tr>';
content[index++] = '		<td>';
*/
content[index++] = inc.makeTopNav();
/*
content[index++] = '		</td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
*/
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- end header table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<!-- begin main table -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr valign="top">';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<!-- begin main nav cell -->';
content[index++] = '		<td width="200" bgcolor="#DAD4C9">';
content[index++] = inc.makeMainNav();
content[index++] = '    </td>';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		<!-- end main nav cell -->';
content[index++] = '		';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<!-- begin main spacer cell -->';
content[index++] = '		<td width="30"><img src="' + imgdir + 'clearpix.gif" width="30" height="10" alt="" border="0" name=""></td>';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		<!-- end main spacer cell -->';
content[index++] = '		';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<!-- begin main content cell -->';
content[index++] = '		<td width="530" valign="top" valign="top">	';
content[index++] = '			<!-- begin nested content table -->';
content[index++] = '			<!-- begin nested content table -->';
content[index++] = '			<!-- begin nested content table -->	';
content[index++] = '			<table width="100%" border="0" cellspacing="0" cellpadding="15" valign="top">';
/*if (busypage==1){
content[index++] = '				<tr><td colspan="4"><img src="' + imgdir + 'clearpix.gif" width="1" height="20"></td></tr>';
content[index++] = '				<tr valign="top">';
content[index++] = '					<td width="300" class="ficontent" valign="top">' + inc.headergraphic + '<br><br>';
}
else{*/
//content[index++] = '				<tr><td><img src="' + imgdir + 'clearpix.gif" width="1" height="20"></td></tr>';
content[index++] = '				<tr valign="top">';
content[index++] = '					<td class="ficontent" valign="top"><span class="header">For your protection, we recommend that you do not email account numbers, debit card numbers, passwords, or other critical financial information.</span><br><br>'+ inc.headergraphic + '<br><br>';

if (busypage==1){
content[index++] = '			<table width="220" border="0" cellspacing="0" cellpadding="0" align="right" valign="top">';
content[index++] = '<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '					<td width="220">' + inc.contentgraphic + '<br><br><span class="header">&nbsp;&nbsp;Quick Links</span><br>';
//content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_glossary.html">Bank Term Glossary</a></span><br>';
content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_people.html">Our People</a></span><br>';
content[index++] = '<img src="' + imgdir + 'li-arrow.gif" width="10" height="10" alt="" border="0">&nbsp;&nbsp;<span class="quicklinkstext"><a href="' + sitedir + 'info_locations.html">Find a Branch</a></span>';
content[index++] = '</td>';
content[index++] = '					<td width="5"><img src="' + imgdir + 'clearpix.gif" width="5" height="1"></td>';
content[index++] = '				</tr>';
content[index++] = '				</table>';
}
//}
content.join("");


//CODE GOES HERE


var index = 0;

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


/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

//CODE GOES HERE
content[index++] = '			<table width="759" border="0" cellspacing="0" cellpadding="0" background="' + imgdir + 'nav-top-bg.gif">';
content[index++] = '				<tr>';
content[index++] = '					<td align="right"><a href="' + sitedir + 'info_contacts.html" onMouseOver="img_act(\'contactus\'); window.status=\'Contact Us\'; return true" onMouseOut="img_inact(\'contactus\');"><img src="' + imgdir + 'nav-contactus-off.gif" width="75" height="25" alt="Contact Us" border="0" name="contactus"></a><a href="' + sitedir + 'privacy.html" onMouseOver="img_act(\'privacy\'); window.status=\'Privacy Statement\'; return true" onMouseOut="img_inact(\'privacy\');"><img src="' + imgdir + 'nav-privacy-off.gif" width="54" height="25" alt="" border="0" name="privacy"></a><a href="https://www.pfbib.com/onlineserv/HB/security_site/privacy.html" onMouseOver="img_act(\'security\'); window.status=\'Security\'; return true" onMouseOut="img_inact(\'security\');"><img src="' + imgdir + 'nav-security-off.gif" width="60" height="25" alt="" border="0" name="security"></a><a href="' + sitedir + 'faq.html" onMouseOver="img_act(\'faq\'); window.status=\'FAQs\'; return true" onMouseOut="img_inact(\'faq\');"><img src="' + imgdir + 'nav-faq-off.gif" width="43" height="25" alt="FAQs" border="0" name="faq"></a><a href="' + homedir + 'home.html" onMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'home\');"><img src="' + imgdir + 'nav-home-off.gif" width="70" height="25" alt="Home" border="0" name="home"></a></td>';
content[index++] = '				</tr>';
content[index++] = '			</table>';
content.join("");

//CODE GOES HERE

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

//CODE GOES HERE

content[index++] = '			<table border="0" cellspacing="0" cellpadding="0" background="' + imgdir + 'nav-left-bg.gif">';
content[index++] = '				<tr><td><a href="' + sitedir + 'info.html" onMouseOver="img_act(\'company\'); popUp(\'HM_Menu1\',event); window.status=\'Company Information\'; return true" onMouseOut="img_inact(\'company\'); popDown(\'HM_Menu1\');"><img src="' + imgdir + 'nav-company-off.gif" width="200" height="28" alt="Company Information" border="0" name="company"></a><br><a href="' + sitedir + 'ebs.html" onMouseOver="img_act(\'electronic\'); popUp(\'HM_Menu2\',event); window.status=\'Electronic Banking Services\'; return true" onMouseOut="img_inact(\'electronic\'); popDown(\'HM_Menu2\');"><img src="' + imgdir + 'nav-electronic-off.gif" width="200" height="28" alt="Electronic Banking Services" border="0" name="electronic"></a><br><a href="' + sitedir + 'deposit.html" onMouseOver="img_act(\'deposit\'); popUp(\'HM_Menu3\',event); window.status=\'Deposit and Loan Services\'; return true" onMouseOut="img_inact(\'deposit\');"><img src="' + imgdir + 'nav-deposit-off.gif" width="200" height="28" alt="Deposit and Loan Services" border="0" name="deposit"></a><br><a href="' + sitedir + 'add.html" onMouseOver="img_act(\'additional\'); popUp(\'HM_Menu4\',event); window.status=\'Additional Services\'; return true" onMouseOut="img_inact(\'additional\'); popDown(\'HM_Menu4\');"><img src="' + imgdir + 'nav-additional-off.gif" width="200" height="28" alt="Additional Services" border="0" name="additional"></a><br><a href="' + sitedir + 'calculators.html" onMouseOver="img_act(\'calculators\'); popUp(\'HM_Menu5\',event); window.status=\'Financial Calculators\'; return true" onMouseOut="img_inact(\'calculators\'); popDown(\'HM_Menu5\');"><img src="' + imgdir + 'nav-calculators-off.gif" width="200" height="28" alt="Financial Calculators" border="0" name="calculators"></a><br><a href="' + sitedir + 'info_locations.html" onMouseOver="img_act(\'locations\'); popUp(\'HM_Menu6\',event); window.status=\'Locations and Hours\'; return true" onMouseOut="img_inact(\'locations\'); popDown(\'HM_Menu6\');"><img src="' + imgdir + 'nav-locations-off.gif" width="200" height="28" alt="Locations and Hours" border="0" name="locations"></a><br><a href="' + sitedir + 'info_fees.html" onMouseOver="img_act(\'fees\'); window.status=\'Schedule of Fees\'; return true" onMouseOut="img_inact(\'fees\');"><img src="' + imgdir + 'nav-fees-off.gif" width="200" height="28" alt="Schedule of Fees" border="0" name="fees"></a><br><a href="' + sitedir + 'community.html" onMouseOver="img_act(\'community\'); popUp(\'HM_Menu7\',event); window.status=\'Community Links\'; return true" onMouseOut="img_inact(\'community\'); popDown(\'HM_Menu7\');"><img src="' + imgdir + 'nav-community-off.gif" width="200" height="28" alt="Community Links" border="0" name="community"></a><br><a href="' + sitedir + 'info_contacts.html" onMouseOver="img_act(\'contactus_left\'); window.status=\'Contact Us\'; return true" onMouseOut="img_inact(\'contactus_left\');"><img src="' + imgdir + 'nav-contactus_left-off.gif" width="200" height="28" alt="Contact Us" border="0" name="contactus_left"></a></td></tr>';
content[index++] = '			</table>';

content.join("");

//CODE GOES HERE

return (content.join(""));
}
//Removed from nav 201-81488
//<br><a href="' + sitedir + 'investment.html" onMouseOver="img_act(\'investment\'); window.status=\'Investment Services\'; return true" onMouseOut="img_inact(\'investment\');"><img src="' + imgdir + 'nav-investment-off.gif" width="200" height="28" alt="Investment Services" border="0" name="investment"></a>

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

if (graphic == null)
	{
	this.contentgraphic = "";
	}
if (graphic == "drewdonna")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}	
else if (graphic == "patT")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}		
	
else if (graphic == "dep&loan")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}
else if (graphic == "5-dep&loan")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}
else if (graphic == "fatherson")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}	
else if (graphic == "ednorris")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}		
	
else if (graphic == "investment")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="143" height="209" border="0">';
	}			
else if (graphic == "2-investment")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="138" height="209" border="0">';
	}	
else if (graphic == "kids")
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="170" height="209" border="0">';
	}
	else if (graphic == "locations")
	{
	this.contentgraphic = '<br /><br /><br /><br /><img src="' + imgdir + 'photo-pawleys_branch.jpg" alt="" width="209" height="143" border="0"><br><img src="' + imgdir + 'clearpix.gif" alt="" width="1" height="77" border="0"><br><img src="' + imgdir + 'photo-murrells_branch.jpg" alt="" width="209" height="143" border="0"><br><img src="' + imgdir + 'clearpix.gif" alt="" width="1" height="77" border="0"><br><img src="' + imgdir + 'photo-myrtle_branch.jpg" alt="" width="209" height="143" border="1">';
	}			
else
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" width="209" height="143" border="0">';
	}
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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" alt="' + alt_tag + '" border="0">';
	}	
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

//CODE GOES HERE

content[index++] = '		<td width="192"><img src="' + imgdir + 'label-neighbors.gif" width="137" height="39" alt="Neighbors Online!" border="0"><br><img src="' + imgdir + 'label-ib.gif" width="192" height="14" alt="Personal Online Banking Login" border="0"><br><a href="https://www.pfbib.com/onlineserv/HB" target="_new" onMouseOver="img_act(\'login_ib\'); window.status=\'Login\'; return true" onMouseOut="img_inact(\'login_ib\');"><img src="' + imgdir + 'nav-login-off.gif" width="51" height="15" alt="Login" border="0" name="login_ib"></a><a href="https://www.pfbib.com/onlineserv/HB/demo.html" target="_new" onMouseOver="img_act(\'demo_ib\'); window.status=\'Demo\'; return true" onMouseOut="img_inact(\'demo_ib\');"><img src="' + imgdir + 'nav-demo-off.gif" width="53" height="15" alt="Demo" border="0" name="demo_ib"></a><a href="' + sitedir + 'ebs_online.html" onMouseOver="img_act(\'info_ib\'); window.status=\'Info\'; return true" onMouseOut="img_inact(\'info_ib\');"><img src="' + imgdir + 'nav-info-off.gif" width="36" height="15" alt="Info" border="0" name="info_ib"></a><br><img src="' + imgdir + 'clearpix.gif" width="1" height="10"><br><img src="' + imgdir + 'label-cm.gif" width="192" height="14" alt="Business Online Banking Login" border="0"><br><a href="https://www.pfbib.com/onlineserv/CM" target="_new" onMouseOver="img_act(\'login_cm\'); window.status=\'Login\'; return true" onMouseOut="img_inact(\'login_cm\');"><img src="' + imgdir + 'nav-login-off.gif" width="51" height="15" alt="Login" border="0" name="login_cm"></a><a href="http://www.cmdemo.com" target="_new" onMouseOver="img_act(\'demo_cm\'); window.status=\'Demo\'; return true" onMouseOut="img_inact(\'demo_cm\');"><img src="' + imgdir + 'nav-demo-off.gif" width="53" height="15" alt="Demo" border="0" name="demo_cm"></a><a href="' + sitedir + 'ebs_cash.html" onMouseOver="img_act(\'info_cm\'); window.status=\'Info\'; return true" onMouseOut="img_inact(\'info_cm\');"><img src="' + imgdir + 'nav-info-off.gif" width="36" height="15" alt="Info" border="0" name="info_cm"></a></td>';
content.join("");
//old demo link
//http://www.cmdemo.com/customer_demo/index2.html
//CODE GOES HERE

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

//CODE GOES HERE

//CODE GOES HERE

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeDateStamp()
{

var myDate = new Date();
var day = myDate.getDay();
var month = myDate.getMonth();
var date = myDate.getDate();
var year = "";

if (document.all)
	{
	year = myDate.getYear();
	}
else
	{
	year =myDate.getYear() + 1900;
	}	

var months = new Array ("January", "February","March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

var days = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");


//alert (days[day] + ", " + months[month] + " " + date + ",  " + year);
var finalDate = (days[day] + ", " + months[month] + " " + date + ",  " + year);


var content = new Array();
var index = 0;
content[index++] = '<td align="right" valign="middle"><font face="Verdana,Arial,Helvetica,sans-serif" size="1" color="#741533">' + finalDate + '</font><img src="' + imgdir + 'clearpix.gif" width="15" height="1" alt="" border="0"></td>';

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/




/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/












/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/





/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/
function makeFooter()
{
var content = new Array();
var index = 0;

//CODE GOES HERE




content[index++] = '        	</td>';
content[index++] = '				</tr>';
content[index++] = '				</table>';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '		</td>';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = inc.makeFooterLogos();
content.join("");

//CODE GOES HERE

return (content.join(""));
}
//==================================
function makeFooterHome()
{
var content = new Array();
var index = 0;

//CODE GOES HERE




content[index++] = '        	</td>';
content[index++] = '				</tr>';
content[index++] = '				</table>';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '			<!-- end nested content table -->';
content[index++] = '		</td>';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '		<!-- end main content cell -->';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = inc.makeFooterLogosHome();
content.join("");

//CODE GOES HERE

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

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

//CODE GOES HERE
content[index++] = '				<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '				<tr>';
content[index++] = '	<td width="230"><img src="' + imgdir + 'clearpix.gif" width="230" height="1"></td>';
content[index++] = '					<td width="530">';
content[index++] = '<!-- BEGIN FOOTER --><br><img src="' + imgdir + 'clearpix.gif" width="1" height="10"><br>';
content[index++] = '<a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.fdic.gov\');"><img src="' + imgdir + 'footer-fdic.gif" width="57" height="35" alt="Member FDIC" border="0"></a><a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.hud.gov\');"><img src="' + imgdir + 'footer-ehl.gif" width="62" height="35" alt="Equal Housing Lender" border="0"></a>';
content[index++] = '<div style="display: inline;float: left;"><script type="text/javascript" src="https://seal.verisign.com/getseal?host_name=www.pfbib.com&amp;size=M&amp;use_flash=YES&amp;use_transparent=YES&amp;lang=en"></script><br /><a href="http://www.verisign.com/ssl-certificate/" target="_blank"  style="color:#000000; text-decoration:none; font:bold 7px verdana,sans-serif; letter-spacing:.5px; text-align:center; margin:0px; padding:0px;">ABOUT SSL CERTIFICATES</a></div>';
content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="10" height="10"><img src="' + imgdir + 'clearpix.gif" width="10" height="10"></a><a href="http://ifs.intuit.com" onclick="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=\' + this.href); return false;"><img src="/mstinc/web/images/logo_91x22.png" width="91" height="22" alt="" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="15" height="1"><a href="http://www.fsbib.com" target="_blank"><img src="' + imgdir + 'footer-firstsavers.gif" width="46" height="58" alt="First Savers Bank" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="15" height="1"><a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.lpl.com/PFS\');"><img border="0" src="' + imgdir + 'footer-pfs.gif"></a><br><img src="' + imgdir + 'clearpix.gif" width="1" height="10"><br>';
content[index++] = '<!-- END FOOTER -->';
content[index++] = '					</td>';
content[index++] = '				</tr>';
content[index++] = '			</table>';
content.join("");

//CODE GOES HERE
//<a href="https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.pfbib.com&lang=en" target="_blank"><img style="position: relative; top: 15px" src="https://seal.verisign.com/sealdata/DigitalInsight/logo/logo.gif" alt="VeriSign" border="0"></a>

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

//=================================

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

//CODE GOES HERE
content[index++] = '				<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '				<tr>';
content[index++] = '	<td width="230"><img src="' + imgdir + 'clearpix.gif" width="230" height="1"></td>';
content[index++] = '					<td width="530">';
content[index++] = '<!-- BEGIN FOOTER --><br><img src="' + imgdir + 'clearpix.gif" width="1" height="10"><br>';
content[index++] = '<a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.fdic.gov\');"><img src="' + imgdir + 'footer-fdic.gif" width="57" height="35" alt="Member FDIC" border="0" style="float: left;"></a><a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.hud.gov\');"><img src="' + imgdir + 'footer-ehl.gif" width="62" height="35" alt="Equal Housing Lender" border="0" style="float: left;"></a>';
content[index++] = '<div style="display: inline;float: left;"><script type="text/javascript" src="https://seal.verisign.com/getseal?host_name=www.pfbib.com&amp;size=M&amp;use_flash=YES&amp;use_transparent=YES&amp;lang=en"></script><br /><a href="http://www.verisign.com/ssl-certificate/" target="_blank"  style="color:#000000; text-decoration:none; font:bold 7px verdana,sans-serif; letter-spacing:.5px; text-align:center; margin:0px; padding:0px;">ABOUT SSL CERTIFICATES</a></div>';
content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="10" height="10"></a><a href="http://ifs.intuit.com" onclick="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=\' + this.href);return false;"><img src="/mstinc/web/images/logo_91x22.png" width="91" height="22" alt="" border="0" style="float: left;"></a><img src="' + imgdir + 'clearpix.gif" width="15" height="1"><a href="http://www.fsbib.com" target="_blank"><img src="' + imgdir + 'footer-firstsavers.gif" width="46" height="58" alt="First Savers Bank" border="0" style="float: left;"></a><img src="' + imgdir + 'clearpix.gif" width="15" height="1"><a href="javascript:third_party(\'' + sitedir + 'popup_third_party.html?location=http://www.lpl.com/PFS\');"><img border="0" src="' + imgdir + 'footer-pfs.gif" style="float: left;"></a><br><img src="' + imgdir + 'clearpix.gif" width="1" height="10"><br>';
content[index++] = '<!-- END FOOTER -->';
content[index++] = '					</td>';
content[index++] = '				</tr>';
content[index++] = '			</table>';
content.join("");

//CODE GOES HERE

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

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/





function openIB(which)
{
if (which == 'demo')
	{
	if (this.ib_open_window == true)
		{
		window.open(this.ib_demo);
		}
	else
		{
		location.href = this.ib_demo;
		}
	}
else if (which == 'topdemo')
	{
		top.location.href = this.ib_demo;
	}			
else if (which == 'top')
	{
		top.location.href = this.ib;
	}	
else
	{
	if (this.ib_open_window == true)
		{
		window.open(this.ib);
		}
	else
		{
		location.href = this.ib;
		}
	}
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function openIBRegister()
{
	window.open(this.ib_register);
}

function openCM()
{
if (this.cm_open_window == true)
	{	
	window.open(this.cm);
	}
else
	{
	location.href = this.cm;
	}
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function make_NAMEHERE_dropdown()
{

var items = new Array();
var index = -1;
items[index++] = new Array('#' , 'Make a Selection &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' , 'same');
items[index++] = new Array('link1.html' , 'Personal Checking Accounts' , 'same');
items[index++] = new Array('checking_business.html' , 'Business Checking Accounts' , 'same');
items[index++] = new Array('checking_fastline.html' , 'Fastline' , 'same');
items[index++] = new Array('checking_local.html' , 'Local Connections' , 'same');
		
writeout_dropdown(items);		
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function writeout_dropdown(items)
{
var whole = '<form name="form1">';
whole += '<select name="dropdown_nav" onChange="javascript:changeLocations();" class="dropdown">';
for (i=0; i < items.length; i++)
	{
	if (items[i][2] == "new")
		{
		var target="?new";
		}
	else if (items[i][2] == "top")
		{
		var target="?top";
		}	
	else
		{
		var target="";
		}	
	whole += '<option value="' + items[i][0] + target + '">' + items[i][1] + '</option>';
	}
whole += '</select>';
document.write(whole);
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function changeLocations()
{
var location = document.form1.dropdown_nav[document.form1.dropdown_nav.selectedIndex].value;

var first = location.indexOf("?");
if (first != -1)
	{
	var target = location.substring(first + 1 , location.length);
	location = location.substring(0 , first);
	}
else
	{
	var target = "";
	}	
	
	//alert(target);
	//alert(location);
	
if (target == "new")
	{
	window.open(location);
	}
else if (target == "top")
	{
	top.location.href = location;
	}	
else
	{
	window.location.href = location;
	}	

}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function make_NAMEHERE_subnav(whichnumber , breaknumber)
{
var items = new Array();
var index = -1;

items[index++] = new Array('<a href="link1.html">' , 'LINK1' , '</a>');
items[index++] = new Array('<a href="link2.html">' , 'LINK2' , '</a>');
items[index++] = new Array('<a href="link3" target="_new">' , 'LINK3' , '</a>');
items[index++] = new Array('<a href="link4.html">' , 'LINK4' , '</a>');


writeitout(items , whichnumber , breaknumber);
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function writeitout(items , whichnumber , breaknumber)
{
var whole = '<div align="center" class="subnav">';
var spacer = ""
for (i=0; i < items.length; i++)
	{
	if (i != whichnumber)
		{
		spacer = " | ";
		if (i == items.length - 1)
			spacer = "";
		else if (i == breaknumber)
			spacer = "<br />";
		whole += items[i][0] + items[i][1] + items[i][2] + spacer;
		}
	else
		{
		spacer = " | ";
		if (i == items.length - 1)
			spacer = "";
		else if (i == breaknumber)
			spacer = "<br />";
		whole += items[i][1] + spacer;
		}
	}
whole += '</div><br />';
document.write(whole);
}

