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

function Include()
{
this.domain = "priorityonefl";
this.friendly = "PriorityONE Credit Union of Florida";
this.ib = "https://www.priorityonefl.org/index.html";
this.ib_demo = "https://www.priorityonefl.org/index.html?demo";
this.ib_open_window = false;
this.cm_open_window = true;
this.ib_register = "https://www.priorityonefl.org/onlineserv/HB/dimlDisplayer.cgi?DIML_FILE=enhancedNDB.diml";
this.cm = "https://www.priorityonefl.org/onlineserv/CM/";
this.headergraphic = "";
this.contentgraphic = "";

this.setHeaderGraphic = setHeaderGraphic;
this.setContentGraphic = setContentGraphic;
this.makeHeader = makeHeader;
this.makeLeftNav = makeLeftNav;
this.makeLeftNavHome = makeLeftNavHome;
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++] = '<!-- MASTHEAD AND LOGIN TABLE -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr>';
content[index++] = '      <td background="' + imgdir + 'bg_header.gif" width="605"><img src="' + imgdir + 'logo-priorityonefl.gif" width="255" height="106" alt="Priority ONE Credit Union of Florida - Anytime, anywhere, you are priority ONE." border="0"></td>';
content[index++] = '		<td width="155" align="center"><img src="' + imgdir + 'login-accountaccess.gif" width="96" height="19" alt="Online Access" border="0"><br /><img src="' + imgdir + 'clearpix.gif" width="1" height="5"><br /><a href="javascript:inc.openIB()"><img src="' + imgdir + 'login-submit.gif" width="47" height="16" alt="LOGIN" border="0"></a><br /><img src="' + imgdir + 'clearpix.gif" width="1" height="5"><br /><span class="login"><a href="javascript:inc.openIB(\'demo\')" class="login">Demo</a> | <a href="' + sitedir + 'products_online_access.html" class="login">More Info</a></span></td>';
content[index++] = '		<td width="10"><img src="' + imgdir + 'clearpix.gif" width="10" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<!-- TOP NAVIGATION AND HEADER -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr>';
content[index++] = inc.makeMainNav();
content[index++] = '	</tr>';
content[index++] = '	<tr>';
content[index++] = '		<td>' + inc.headergraphic + '</td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<!-- MAIN TABLE -->';
content[index++] = '<!-- MAIN TABLE -->';
content[index++] = '<!-- MAIN TABLE -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr>';
content[index++] = '		<td width="18" bgcolor="#ECF0F8" ><img src="' + imgdir + 'clearpix.gif" width="18" height="1"></td>';
content[index++] = '		<td width="155" bgcolor="#ECF0F8" valign="top"><img src="' + imgdir + 'clearpix.gif" width="155" height="10"><br />';
content[index++] = '<!-- LEFT NAVIGATION NESTED TABLE -->';
content[index++] = inc.makeLeftNav();
content[index++] = '<br clear="all" /><br clear="all" /><br clear="all" />';
content[index++] = '<!-- END LEFT NAVIGATION -->';
content[index++] = '		</td>';
content[index++] = '		<td width="37"><img src="' + imgdir + 'clearpix.gif" width="37" height="1"></td>';
content[index++] = '		<td width="530" class="ficontent" valign="top"><img src="' + imgdir + 'clearpix.gif" width="530" height="13"><br />';
//CODE GOES HERE


var index = 0;

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

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

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

var css_top = 390;
var css_left = 5;

//CODE GOES HERE
content[index++] = '			<table width="0" cellspacing="0" cellpadding="3">';
content[index++] = '				<tr><td><a href="' + sitedir + 'service_locations.html" class="nav">Contact Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'join.html" class="nav">Join Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'products_loans.html" class="nav">Borrow from Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'atm_locator.html" class="nav">Find an ATM</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'products_conv_shared.html" class="nav">Shared Service Centers</a></td></tr>';
content[index++] = '				<tr><td><a href="javascript:void(0);" onClick="checkorderAlert();" class="nav">Order Checks</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'frequent_forms.html" class="nav">Need a form?</a></td></tr>';
content[index++] = ' 				<tr><td><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.venicomwireless.com/wireless/launch/index.php?oc=PRIORITY&\')" class="nav">My Free Phone</a></td></tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top-40) + 'px; left: ' + css_left + 'px; "><a href="http://www.deluxe-check-order.com/?url=www.priorityonefl.org&urltext=Return+to+PriorityONE+website."><img src="' + imgdir + 'personal-checks4.gif" width="145" height="53" border="0" /></a></div></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+20) + 'px; left: ' + css_left + 'px; "><a href="http://www.familysecurityplan.com/"><img src="' + imgdir + 'insurance.jpg"  border="0" /></a></div></td>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+60) + 'px; left: ' + css_left + 'px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=https://www.myinsuranceinfo.com/myinfo/myinfo.nsf/revhomea?OpenPage\');"><img src="' + imgdir + 'MyInslinklogo.gif" width="165" height="41" border="0" /></a></div></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top: ' + (css_top+114) + 'px; left: ' + css_left + 'px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.carfinderssfl.com/\');"><img src="' + imgdir + 'carfinders.jpg" width="123" height="64" alt="Car Finders" border="0"></a></div></td>';
content[index++] = '        </tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+211) + 'px; left: ' + css_left + 'px; "><a href="https://priorityonefl.merchantsinfo.com/"><img src="' + imgdir + 'safechoice.gif" width="125" height="42" border="0" /></a></div></td>';
content[index++] = '				</tr>';
/*content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top: ' + (css_top+194) + 'px; left: ' + css_left + 'px; "><a href="javascript:openWindow(\'' + sitedir + 'homepartners.html\',\'mvdemo\',\'scrollbars=no,menubar=no,status=no,width=775,height=330,left=0,top=0\')"><img src="' + imgdir + 'logo_keys_new200806.gif" width="165" height="72" alt="Mortgages. Easy. Now." border="0"></a></div></td>';
content[index++] = '        </tr>';*/
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="66"><div style="position: absolute; top: ' + (css_top+294) + 'px; left: 35px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://anytime.cuna.org/13700/index.php\');"><img src="' + imgdir + 'nav-anytime.gif" width="106" height="66" alt="anytime adviser" border="0"></a></div></td>';
content[index++] = '        </tr>';
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="73"><div style="position: absolute; top: ' + (css_top+317) + 'px; left: 30px; "></div>';
content[index++] = '          <br /><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top:' + (css_top+447) + 'px; left: ' + css_left + 'px; "><br /><a href="javascript:openWindow(\'http://www.priorityonefl.org/bridge/GRP/mvbpp_flash_demo/index.html\',\'mvdemo\',\'scrollbars=no,menubar=no,status=no,width=775,height=550,left=0,top=0\')"><img src="' + imgdir + 'bppdemo.gif" alt="Bill Pay and Presentment Demo" border="0" /></a></div>';
content[index++] = '          </td>';
content[index++] = '        </tr>';
content[index++] = '			</table>';
//CODE GOES HERE

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

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

var css_top = 390;
var css_left = 5;

//CODE GOES HERE
content[index++] = '			<table width="0" cellspacing="0" cellpadding="3">';
content[index++] = '				<tr><td><a href="' + sitedir + 'service_locations.html" class="nav">Contact Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'join.html" class="nav">Join Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'products_loans.html" class="nav">Borrow from Us</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'atm_locator.html" class="nav">Find an ATM</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'products_conv_shared.html" class="nav">Shared Service Centers</a></td></tr>';
content[index++] = '				<tr><td><a href="javascript:void(0);" onClick="checkorderAlert();" class="nav">Order Checks</a></td></tr>';
content[index++] = '				<tr><td><a href="' + sitedir + 'frequent_forms.html" class="nav">Need a form?</a></td></tr>';
//content[index++] = ' 				<tr><td><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.venicomwireless.com/wireless/launch/index.php?oc=PRIORITY&\')" class="nav">My Free Phone</a></td></tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top-35) + 'px; left: ' + css_left + 'px; "><a href="http://www.deluxe-check-order.com/?url=www.priorityonefl.org&urltext=Return+to+PriorityONE+website."><img src="' + imgdir + 'personal-checks4.gif" width="145" height="53" border="0" /></a></div></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+20) + 'px; left: ' + css_left + 'px; "><a href="http://www.familysecurityplan.com/"><img src="' + imgdir + 'insurance.jpg"  border="0" /></a></div></td>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+60) + 'px; left: ' + css_left + 'px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=https://www.myinsuranceinfo.com/myinfo/myinfo.nsf/revhomea?OpenPage\');"><img src="' + imgdir + 'MyInslinklogo.gif" width="165" height="41" border="0" /></a></div></td>';
content[index++] = '				</tr>';
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top: ' + (css_top+114) + 'px; left: ' + css_left + 'px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.carfinderssfl.com/\');"><img src="' + imgdir + 'carfinders.jpg" width="123" height="64" alt="Car Finders" border="0"></a></div></td>';
content[index++] = '        </tr>';
content[index++] = '				<tr>';
content[index++] = '				    <td align="center"><div style="position: absolute; top: ' + (css_top+211) + 'px; left: ' + css_left + 'px; "><a href="https://priorityonefl.merchantsinfo.com/"><img src="' + imgdir + 'safechoice.gif" width="125" height="42" border="0" /></a></div></td>';
content[index++] = '				</tr>';
/*content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top: ' + (css_top+194) + 'px; left: ' + css_left + 'px; "><a href="javascript:openWindow(\'' + sitedir + 'homepartners.html\',\'mvdemo\',\'scrollbars=no,menubar=no,status=no,width=775,height=330,left=0,top=0\')"><img src="' + imgdir + 'logo_keys_new200806.gif" width="165" height="72" alt="Mortgages. Easy. Now." border="0"></a></div></td>';
content[index++] = '        </tr>';*/
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="66"><div style="position: absolute; top: ' + (css_top+294) + 'px; left: 35px; "><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://anytime.cuna.org/13700/index.php\');"><img src="' + imgdir + 'nav-anytime.gif" width="106" height="66" alt="anytime adviser" border="0"></a></div></td>';
content[index++] = '        </tr>';
content[index++] = '				<tr>';
content[index++] = '          <td><img src="' + imgdir + 'clearpix.gif" width="100" height="73"><div style="position: absolute; top: ' + (css_top+317) + 'px; left: 30px; "></div>';
content[index++] = '          <br /><img src="' + imgdir + 'clearpix.gif" width="100" height="100"><div style="position: absolute; top:' + (css_top+370) + 'px; left: ' + css_left + 'px; "><br /><a href="javascript:openWindow(\'http://www.priorityonefl.org/bridge/GRP/mvbpp_flash_demo/index.html\',\'mvdemo\',\'scrollbars=no,menubar=no,status=no,width=775,height=550,left=0,top=0\')"><img src="' + imgdir + 'bppdemo.gif" alt="Bill Pay and Presentment Demo" border="0" /></a></div>';
content[index++] = '          </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++] = '<td background="' + imgdir + 'nav-bg.gif"><img src="' + imgdir + 'clearpix.gif" width="90" height="1"><a href="' + homedir + 'index.html" onMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" onMouseOut="img_inact(\'home\');"><img src="' + imgdir + 'nav-home-off.gif" width="49" height="28" alt="Home" border="0" name="home"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="' + sitedir + 'advantage805.html" onMouseOver="img_act(\'advantage\'); window.status=\'advantage\'; return true" onMouseOut="img_inact(\'advantage\');"><img src="' + imgdir + 'nav-advantage-off.gif" width="82" height="28" alt="Advantage" border="0" name="advantage"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="' + sitedir + 'about.html" onMouseOver="img_act(\'aboutus\'); popUp(\'HM_Menu1\',event);  window.status=\'About Us\'; return true" onMouseOut="img_inact(\'aboutus\'); popDown(\'HM_Menu1\');"><img src="' + imgdir + 'nav-aboutus-off.gif" width="71" height="28" alt="About Us" border="0" name="aboutus"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="' + sitedir + 'products.html" onMouseOver="img_act(\'products\'); popUp(\'HM_Menu2\',event);  window.status=\'Products & Services\'; return true" onMouseOut="img_inact(\'products\'); popDown(\'HM_Menu2\');"><img src="' + imgdir + 'nav-products-off.gif" width="142" height="28" alt="Products and Services" border="0" name="products"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="' + sitedir + 'rates_calcs.html" onMouseOver="img_act(\'rates\'); popUp(\'HM_Menu3\',event);  window.status=\'Rates & Calculators\'; return true" onMouseOut="img_inact(\'rates\'); popDown(\'HM_Menu3\');"><img src="' + imgdir + 'nav-rates-off.gif" width="139" height="28" alt="Rates and Calculators" border="0" name="rates"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="' + sitedir + 'faq.html" onMouseOver="img_act(\'help\'); popUp(\'HM_Menu4\',event);  window.status=\'Help\'; return true" onMouseOut="img_inact(\'help\'); popDown(\'HM_Menu4\');"><img src="' + imgdir + 'nav-help-off.gif" width="41" height="28" alt="Help" border="0" name="help"></a><img src="' + imgdir + 'clearpix.gif" width="13" height="1"><a href="javascript:open_apps(\'guestbook_app\');" onMouseOver="img_act(\'email\'); popUp(\'HM_Menu5\',event);  window.status=\'Email Us\'; return true" onMouseOut="img_inact(\'email\'); popDown(\'HM_Menu5\');"><img src="' + imgdir + 'nav-email-off.gif" width="68" height="28" alt="Email Us" border="0" name="email"></a></td>';

//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" width="760" height="40" 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);


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++] = '<br /><br />';
content[index++] = '		</td>';
content[index++] = '		<td width="20" valign="top"><img src="' + imgdir + 'clearpix.gif" width="20" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
content[index++] = '<!-- MAIN TABLE END -->';
content[index++] = '<!-- FOOTER TABLE -->';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">';
content[index++] = '	<tr>';
content[index++] = '		<td width="18" bgcolor="#ECF0F8" ><img src="' + imgdir + 'clearpix.gif" width="18" height="1"></td>';
content[index++] = '		<td width="155" bgcolor="#ECF0F8" valign="top" class="nav"><img src="' + imgdir + 'clearpix.gif" width="155" height="50"><br /><a href="' + sitedir + 'sitemap.html" class="nav">Sitemap</a> | <a href="' + sitedir + 'privacy.html" class="nav">Privacy</a><br /><img src="' + imgdir + 'clearpix.gif" width="153" height="10"></td>';
content[index++] = '		<td width="37"><img src="' + imgdir + 'clearpix.gif" width="37" height="1"></td>';
content[index++] = '		<td width="530"><img src="' + imgdir + 'clearpix.gif" width="530" height="1"><br /></td>';
content[index++] = '		<td width="20" valign="top"><img src="' + imgdir + 'clearpix.gif" width="20" height="1"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr>';
content[index++] = '		<td colspan="5" bgcolor="#DB0C41"><img src="' + imgdir + 'clearpix.gif" width="1" height="2"></td>';
content[index++] = '	</tr>';
content[index++] = '	<tr>';
content[index++] = '    <td colspan="5">' + inc.makeFooterLogos() + '</td>';
content[index++] = '	</tr>';
content[index++] = '</table>';

//CODE GOES HERE

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

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

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

//CODE GOES HERE
content[index++] = '<center><!--<a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.verifiedbyvisa.com\');"><img src="' + imgdir + 'foot-visa.gif" width="114" height="61" alt="Verified by VISA" border="0"></a>--><a href="' + sitedir + 'partner_ncua.html"><!--[if lt IE 7]><script type="text/javascript" src="https://www.priorityonefl.org/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.priorityonefl.org/mstinc/web/images/ncua_140x109_blue.png" align="middle" width="140" height="109" border="0" alt="NCUA" /></a><img src="' + imgdir + 'clearpix.gif" width="26" height="1"><a href="' + sitedir + 'partner_americascu.html"><img src="' + imgdir + 'foot-americascu.gif" width="70" height="61" alt="America\'s Credit Unions" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="26" height="1"><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.hud.gov\');"><img src="' + imgdir + 'equalhl.gif" width="41" height="61" alt="Equal Housing Lender" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="23" height="1"><a href="' + sitedir + 'partner_cuservice.html"><img src="' + imgdir + 'foot-cuservice.gif" width="64" height="61" alt="CU Service Centers" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="26" height="1"><a href="' + sitedir + 'partner_carfax.html"><img src="' + imgdir + 'foot-carfax.gif" width="104" height="61" alt="CARFAX Vehicle History Reports" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="23" height="1"><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://www.equifax.com\');"><img src="' + imgdir + 'foot-equifax.gif" width="108" height="61" alt="EQUIFAX - Check your credit online now!" border="0"></a><img src="' + imgdir + 'clearpix.gif" width="23" height="1"><a href="javascript:third_party(\'' + sitedir + 'third_party_popup.html?location=http://secure2.arcot.com/vpas/5245/ i18n/en_US/index.html\');"><img src="' + imgdir + 'vbv.gif" width="97" height="55" alt="Verified by Visa" border="0"></a></center>';
//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);
}
