if (!window.imgdir)
{
var imgdir="http://www.atlfedcu.com/images/"
var sitedir="http://www.atlfedcu.com/site/"
var securedir="http://www.atlfedcu.com/site/"
var homedir="http://www.atlfedcu.com/"
}

function Include()
{
this.domain = "atlfedcu";
this.friendly = "Atlantic Federal Credit Union";
this.ib = "https://www.atlfedcu.com/onlineserv/HB";
this.ib_demo = "https://www.atlfedcu.com/onlineserv/HB/demo.html";
this.ib_open_window = true;
this.cm_open_window = true;
this.ib_register = "https://www.atlfedcu.com/onlineserv/HB";
this.cm = "https://www.atlfedcu.com/onlineserv/HB";
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.makeFooterLogos = makeFooterLogos;
this.openIB = openIB;
this.openIBRegister = openIBRegister;
this.openCM = openCM;

}


/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||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++] = '<!-- begin header table -->';
content[index++] = '<!-- begin header table -->';
content[index++] = '<!-- begin header table -->';
content[index++] = inc.makeTopNav();
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr valign="top">';
content[index++] = '		<td width="545" valign="top" class="datestamp"><img src="' + imgdir + 'header-greenline.jpg" width="545" height="10" alt="" border="0"><br>';
content[index++] = '		<img src="' + imgdir + 'clearpix.gif" width="27" height="1" alt="" border="0">' + makeDateStamp() + '</td><td width="215" valign="top"><!-- BEGIN HEADER -->' + inc.headergraphic + '<!-- END HEADER --><br>';
content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="1" height="3" alt="" border="0"></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" bgcolor="#ffffff">';
content[index++] = '	<tr valign="top">';
content[index++] = '		';
content[index++] = '		<!-- BEGIN NAV CELL -->';
content[index++] = '		<td width="186" align="left" valign="top" background="' + imgdir + 'nav-bg.gif">';
content[index++] = '			<!-- begin navigation table -->';
content[index++] = '			<!-- begin navigation table -->';
content[index++] = '			<!-- begin navigation table -->';
content[index++] = inc.makeMainNav();
content[index++] = '			<!-- end navigation table -->';
content[index++] = '			<!-- end navigation table -->';
content[index++] = '			<!-- end navigation table -->';
content[index++] = '		</td>';
content[index++] = '		<!-- END NAV CELL -->';
content[index++] = '		';
content[index++] = '		<!-- BEGIN SPACER CELL -->';
content[index++] = '		<td width="24" background="' + imgdir + 'spacer-bg.gif"><img src="' + imgdir + 'spacer-bg.gif" width="24" height="2" alt="" border="0"></td>';
content[index++] = '		<!-- END 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="529"><img src="' + imgdir + 'clearpix.gif" width="529" height="1" alt="" border="0"><br>';
content[index++] = '			<!-- begin nested content table -->';
content[index++] = '			<table width="529" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '    			<tr valign="top">';
content[index++] = '        			<td width="100%" class="ficontent" valign="top">';
//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="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr valign="top">';
content[index++] = '		<td width="180" valign="top" background="' + imgdir + 'header-logo-bg.jpg"><img src="' + imgdir + 'header-logo.gif" width="186" height="120" alt="Atlantic Federal Credit Union" border="0"></td>';
content[index++] = '		<td width="638" valign="top" background="' + imgdir + 'header-bg-back.jpg"><img src="' + imgdir + 'clearpix.gif" width="219" height="1" alt="" border="0"><a href="' + homedir + 'index.html" onMouseOver="img_act(\'subhome\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'subhome\');"><img src="' + imgdir + 'nav-subhome-off.gif" width="40" height="20" alt="Home" border="0" name="subhome"></a><a href="' + sitedir + 'about.html" onMouseOver="img_act(\'subaboutus\'); popUp(\'HM_Menu12\',event); window.status=\'About Us\'; return true" onMouseOut="img_inact(\'subaboutus\'); popDown(\'HM_Menu12\');"><img src="' + imgdir + 'nav-subaboutus-off.gif" width="51" height="20" alt="About Us" border="0" name="subaboutus"></a><a href="' + sitedir + 'contact.html" onMouseOver="img_act(\'subcontactus\'); window.status=\'Contact Us\'; return true" onMouseOut="img_inact(\'subcontactus\');"><img src="' + imgdir + 'nav-subcontactus-off.gif" width="61" height="20" alt="Contact Us" border="0" name="subcontactus"></a><a href="' + sitedir + 'calculators.html" onMouseOver="img_act(\'subcalcs\'); window.status=\'Calculators\'; return true" onMouseOut="img_inact(\'subcalcs\');"><img src="' + imgdir + 'nav-subcalcs-off.gif" width="62" height="20" alt="Calculators" border="0" name="subcalcs"></a><a href="' + sitedir + 'privacy.html" onMouseOver="img_act(\'subprivacy\'); window.status=\'Privacy\'; return true" onMouseOut="img_inact(\'subprivacy\');"><img src="' + imgdir + 'nav-subprivacy-off.gif" width="74" height="20" alt="Privacy" border="0" name="subprivacy"></a><a href="' + sitedir + 'sitemap.html" onMouseOver="img_act(\'subsitemap\'); window.status=\'\'; return true" onMouseOut="img_inact(\'subsitemap\');"><img src="' + imgdir + 'nav-subsitemap-off.gif" width="46" height="20" alt="Site Map" border="0" name="subsitemap"></a><br>';

content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="1" height="11" alt="" border="0"><br>';

content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="307" height="1" alt="" border="0"><a href="https://www.atlfedcu.com/onlineserv/HB"><img src="' + imgdir + 'login-header_new.gif" alt="Home Banking and Bill Payer Login" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"><br>';

content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="307" height="1" alt="" border="0"><img src="' + imgdir + 'login-left_new.gif" border="0"><a href="https://www.atlfedcu.com/onlineserv/HB/demo.html"><img src="' + imgdir + 'login-demo.gif" width="28" height="12" alt="Demo" border="0"></a><img src="' + imgdir + 'login-divider1.gif" width="15" height="12" alt="" border="0"><a href="' + sitedir + 'faq-internetbanking.html"><img src="' + imgdir + 'login-moreinfo.gif" width="40" height="12" alt="More Info" border="0"></a><img src="' + imgdir + 'login-right_new.gif" border="0"><br>';


//content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="363" height="1" alt="" border="0"><img src="' + imgdir + 'login-arrow-off.gif" width="31" height="42" alt="" border="0"><a href="https://www.atlfedcu.com/onlineserv/HB"><img src="' + imgdir + 'login-header.gif" width="135" height="42" alt="Online Banking and Bill Payer Login" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"><br>';
//content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="363" height="1" alt="" border="0"><img src="' + imgdir + 'login-left.gif" width="41" height="12" alt="" border="0"><a href="https://www.atlfedcu.com/onlineserv/HB/demo.html"><img src="' + imgdir + 'login-demo.gif" width="28" height="12" alt="Demo" border="0"></a><img src="' + imgdir + 'login-divider1.gif" width="15" height="12" alt="" border="0"><a href="faq-internetbanking.html"><img src="' + imgdir + 'login-moreinfo.gif" width="40" height="12" alt="More Info" border="0"></a><img src="' + imgdir + 'login-right.gif" width="42" height="12" alt="" border="0"><br>';
content[index++] = '<img src="' + imgdir + 'clearpix.gif" width="219" height="1" alt="" border="0"><img src="' + imgdir + 'clearpix.gif" width="355" height="35" alt="" border="0"></td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeMainNav()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
content[index++] = '			<table width="186" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '				<tr valign="top">';
content[index++] = '  					<td width="" align="left" valign="top"><a href="' + sitedir + 'membership.html" onMouseOver="img_act(\'membership\'); popUp(\'HM_Menu1\',event);  window.status=\'Membership\'; return true" onMouseOut="img_inact(\'membership\'); popDown(\'HM_Menu1\');"><img src="' + imgdir + 'nav-membership-off.gif" width="186" height="24" alt="Membership" border="0" name="membership"></a><br>';
content[index++] = '<a href="' + sitedir + 'electronic.html" onMouseOver="img_act(\'electronic\'); popUp(\'HM_Menu2\',event); window.status=\'Electronic Services\'; return true" onMouseOut="img_inact(\'electronic\'); popDown(\'HM_Menu2\');"><img src="' + imgdir + 'nav-electronic-off.gif" width="186" height="24" alt="Electronic Services" border="0" name="electronic"></a><br>';
content[index++] = '<a href="' + sitedir + 'loans.html" onMouseOver="img_act(\'loans\'); popUp(\'HM_Menu3\',event); window.status=\'Loans\'; return true" onMouseOut="img_inact(\'loans\'); popDown(\'HM_Menu3\');"><img src="' + imgdir + 'nav-loans-off.gif" width="186" height="24" alt="Loans" border="0" name="loans"></a><br>';
content[index++] = '<a href="' + sitedir + 'deposit.html" onMouseOver="img_act(\'deposit\'); popUp(\'HM_Menu4\',event); window.status=\'Deposit Accounts\'; return true" onMouseOut="img_inact(\'deposit\'); popDown(\'HM_Menu4\');"><img src="' + imgdir + 'nav-deposit-off.gif" width="186" height="24" alt="Deposit Accounts" border="0" name="deposit"></a><br>';
content[index++] = '<a href="' + sitedir + 'investments.html" onMouseOver="img_act(\'investment\'); popUp(\'HM_Menu5\',event); window.status=\'Investment Accounts\'; return true" onMouseOut="img_inact(\'investment\'); popDown(\'HM_Menu5\');"><img src="' + imgdir + 'nav-investment-off.gif" width="186" height="24" alt="Investment Accounts" border="0" name="investment"></a><br>';
content[index++] = '<a href="' + sitedir + 'cards.html" onMouseOver="img_act(\'cards\'); popUp(\'HM_Menu6\',event); window.status=\'Cards\'; return true" onMouseOut="img_inact(\'cards\'); popDown(\'HM_Menu6\');"><img src="' + imgdir + 'nav-cards-off.gif" width="186" height="24" alt="Cards" border="0" name="cards"></a><br>';
content[index++] = '<a href="' + sitedir + 'convenient.html" onMouseOver="img_act(\'convenience\'); popUp(\'HM_Menu7\',event); window.status=\'Convenience Services\'; return true" onMouseOut="img_inact(\'convenience\'); popDown(\'HM_Menu7\');"><img src="' + imgdir + 'nav-convenience-off.gif" width="186" height="24" alt="Convenience Services" border="0" name="convenience"></a><br>';
content[index++] = '<a href="' + sitedir + 'applications.html" onMouseOver="img_act(\'apps\');  popUp(\'HM_Menu8\',event); window.status=\'Applications and Forms\'; return true" onMouseOut="img_inact(\'apps\'); popDown(\'HM_Menu8\');"><img src="' + imgdir + 'nav-apps-off.gif" width="186" height="24" alt="Applications and Forms" border="0" name="apps"></a><br>';
content[index++] = '<a href="' + sitedir + 'rates.html" onMouseOver="img_act(\'rates\'); popUp(\'HM_Menu9\',event); window.status=\'Rates\'; return true" onMouseOut="img_inact(\'rates\'); popDown(\'HM_Menu9\');"><img src="' + imgdir + 'nav-rates-off.gif" width="186" height="24" alt="Rates" border="0" name="rates"></a><br>';
content[index++] = '<a href="' + sitedir + 'insurance.html" onMouseOver="img_act(\'insurance\'); popUp(\'HM_Menu10\',event); window.status=\'Insurance\'; return true" onMouseOut="img_inact(\'insurance\'); popDown(\'HM_Menu10\');"><img src="' + imgdir + 'nav-insurance-off.gif" width="186" height="24" alt="Insurance" border="0" name="insurance"></a><br>';
content[index++] = '<a href="' + sitedir + 'faq.html" onMouseOver="img_act(\'faqs\');  window.status=\'FAQs\'; return true" onMouseOut="img_inact(\'faqs\'); "><img src="' + imgdir + 'nav-faqs-off.gif" width="186" height="24" alt="FAQs" border="0" name="faqs"></a><br>';
content[index++] = '<a href="' + sitedir + 'jobs.html" onMouseOver="img_act(\'job\');  window.status=\'Job Opportunities\'; return true" onMouseOut="img_inact(\'job\'); "><img src="' + imgdir + 'nav-job-off.gif" width="186" height="24" alt="Job Opportunities" border="0" name="job"></a><br>';
if (window.whatsnew)
{
	content[index++] = '<div style="background: white; text-align: center; border: 1px solid #EDE6C1; margin-left: 19px"><a href="http://www.benefits-plus.org" target="_blank"><img src="' + imgdir + 'card_80px.jpg" border="0" alt="Benefits Plus#&174; logo" /></a></div>';
}
if (window.turboTax)
{
	content[index++] = '<div style="background-image: url(\'https://www.atlfedcu.com/images/nav-bg.gif\') repeat-y; text-align: center; margin-left: 25px; margin-top:20px;"><table><tr><td><div id="ttBanner" style="display:none"><!-- TT Banner --></div><script src="https://www.atlfedcu.com/mstinc/turbotax/js/tt.js" type="text/javascript">/* for ie */</script><script type="text/javascript">if(typeof tt!=\'undefined\')tt.show(\'atlfedcu.com\',0);</script></td></tr></table></div>';
}
content[index++] = '<br>';
content[index++] = '<br>';
content[index++] = '<br>';
content[index++] = '					</td>				';
content[index++] = '				</tr>';
content[index++] = '			</table>';
//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function setContentGraphic(graphic , alt_tag)
{
if (!alt_tag)
var alt_tag = "";

if (graphic == null)
	{
	this.contentgraphic = "";
	}
else
	{
	this.contentgraphic = '';
	}	
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||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

//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);


return (finalDate);
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||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++] = '		</td>';
content[index++] = '		<!-- END MAIN CONTENT CELL -->';
content[index++] = '		<!-- BEGIN SPACER CELL -->';
content[index++] = '		<td width="21" bgcolor="#ffffff"><img src="' + imgdir + 'clearpix.gif" width="21" height="2" alt="" border="0"></td>';
content[index++] = '		<!-- END SPACER CELL -->';
content[index++] = '		';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<!-- end main table -->';
content[index++] = '<!-- end main table -->';
content[index++] = '<!-- end main table -->';
content[index++] = '<!-- begin footer table -->';
content[index++] = '<!-- begin footer table -->';
content[index++] = '<!-- begin footer table -->';
content[index++] = inc.makeFooterLogos();
content[index++] = '<!-- end footer table -->';
content[index++] = '<!-- begin footer table -->';
content[index++] = '<!-- begin footer table -->';

//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" bgcolor="#ffffff">';
content[index++] = '	<tr valign="bottom">';
if (window.homepage)
{
content[index++] = '		<td width="760"><img src="' + imgdir + 'clearpix.gif" width="653" height="1" alt="" border="0"><a href="' + sitedir + 'security.html"><img src="' + imgdir + 'footer-security.gif" alt="Security" border="0"></a></td><td width="21"><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"></td>';
}
else
{
content[index++] = '		<td width="760"><a href="#TOP"><img src="' + imgdir + 'backtotop.gif" width="186" height="43" alt="" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="467" height="1" alt="" border="0"><a href="' + sitedir + 'security.html"><img src="' + imgdir + 'footer-security.gif" alt="Security" border="0"></a></td><td width="21"><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"></td>';
}
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr>';
content[index++] = '		<td width="19"><img src="' + imgdir + 'clearpix.gif" width="19" height="1" alt="" border="0"></td><td width="720" valign="top" style="background-image: url(\'https://www.atlfedcu.com/images/footer-bg.gif\');background-repeat: repeat-x;"><img src="' + imgdir + 'footer-address.gif" width="167" height="46" alt="Atlantic Federal Credit Union 37 Market Street, Kenilworth, NJ 908-245-1750" border="0" style="float: left;  margin-right: 11px;"><a href="http://www.digitalinsight.com" target="_new"><!--[if lt IE 7]><script type="text/javascript" src="https://www.atlfedcu.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.atlfedcu.com/mstinc/web/images/di_91x22_2c.png" width="91" height="22" border="0" alt="Digital Insight, an Intuit company" style="float: left; margin-left:25px; margin-right: 12px;" /></a><a href="http://www.excessshare.com" target="_new"><img src="' + imgdir + 'footer-esi.gif" width="79" height="46" alt="ESI" border="0" style="float: left; margin-left: 54px; margin-right: 55px;"></a><a href="http://www.hud.gov" target="_new"><img src="' + imgdir + 'footer-ehl.gif" width="38" height="46" alt="Equal Housing Lender" border="0" style="float: left; margin-right:35px; margin-left: 8px;"><a href="http://www.ncua.gov" target="_new"><!--[if lt IE 7]><script type="text/javascript" src="https://www.atlfedcu.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.atlfedcu.com/mstinc/web/images/ncua_140x109_blue.png" width="140" height="109" border="0" alt="NCUA" /></a></td><td width="21" bgcolor="#ffffff"><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"></td>';
content[index++] = '	</tr>';
if (window.homepage)
{
content[index++] = '	<tr>';
content[index++] = '<td width="19"><img src="' + imgdir + 'clearpix.gif" width="19" height="1" alt="" border="0"></td><td width="720" valign="top"><div style="font-size: 9px; position: absolute; height: 46px; width: 180px; margin-top: -60px; margin-left: 310px; text-align: center;">Atlantic Federal supplements the federal NCUA insurance with coverage from ESI, the nation’s leading private insurer.  In total, each member’s savings are insured to $500,000. IRAs are separately insured to $500,000.</div> </td><td width="21" bgcolor="#ffffff"><img src="' + imgdir + 'clearpix.gif" width="21" height="1" alt="" border="0"></td>';
content[index++] = '	</tr>';
}
content[index++] = '</table>';
content[index++] = '<br><br>';

//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 makeAppLinks(whichapp)
{
var newlink = '';

if (whichapp == "share_savings")
	{
	newlink = "#";
	}
if (whichapp == "checking")
	{
	newlink = "#";
	}	
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||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);
}
