// Footer Nav Bar - the global nav bar at the very bottom of every page
var aFooter	= new Array();		var aFooterURL	= new Array();

aFooter[0]	= "Privacy";		aFooterURL[0]	= MISC + "privacy.htm";

aFooter[1]	= "Disclaimers";	aFooterURL[1]	= MISC + "disclaimers.htm";

aFooter[2]	= "Site Map";		aFooterURL[2]	= MISC + "site-map.htm";

// FooterNavBar - put the global horizontal links across the top of every page
// Most calls to this function are simply:
//		FooterNavBar()	- this makes the label a link to its landing page
//						- this is automatically done within the /includes/footer.htm 
// If you are calling this function from an actual Area landing page (like personal-banking.htm)
// you must add the following line AFTER the include call to nav-personal.inc or nav-business.inc
//		<script type="text/javascript" language="javascript">sThisPage = "Page Label";</script>

function FooterNavBar( ) {
	var iLastFooter = aFooter.length - 1;
	for (i=0; i <= iLastFooter; i++) {
		if( isArray( aFooter[i] ) ){
			sLabel = aFooter[i][0];	sURL = aFooterURL[i][0];
		} else {
			sLabel = aFooter[i];	sURL = aFooterURL[i];
		}
		if( sLabel == sThisPage ) // the current page is the Footer landing page - no link
			document.write( '<span class="FooterNavCurrent">' + sLabel + '</span>' );
		else  // the current page is NOT the Footer landing page - link to the landing page
			document.write( '<a class="footer" href="' + sURL + '">' + sLabel + '</a>');
		if( i != iLastFooter )document.write( ' &#8226;&nbsp;' );
	}
}