// AboutUs Banking Section Nav Bar - the nav bar specific to each Area that is vertically placed along the left side
var aAboutUsSection	= new Array();				var aAboutUsURL	= new Array();

aAboutUsSection[0]		= new Array();				aAboutUsURL[0]		= new Array();
aAboutUsSection[0][0]	= "Information";			aAboutUsURL[0][0]	= AU + NFO + "info.htm";
aAboutUsSection[0][1]	= "Our Background";			aAboutUsURL[0][1]	= AU + NFO + "our-background.htm";
aAboutUsSection[0][2]	= "2010 Annual Meeting";	aAboutUsURL[0][2]	= AU + NFO + "2010annual-general-meeting.htm";
aAboutUsSection[0][3]	= "Board of Directors";		aAboutUsURL[0][3]	= AU + NFO + "board-of-directors.htm";
aAboutUsSection[0][4]	= "Board of Directors Bios";	aAboutUsURL[0][4]	= AU + NFO + "board-of-directors-bios.htm";
aAboutUsSection[0][5]	= "Annual Reports";			aAboutUsURL[0][5]	= AU + NFO + "annual-reports.htm";
aAboutUsSection[0][6]	= "Investment Shares";		aAboutUsURL[0][6]	= AU + NFO + "investment-shares.htm";

aAboutUsSection[0][7]		= new Array();				aAboutUsURL[0][7]		= new Array();
aAboutUsSection[0][7][0]	= "Careers";				aAboutUsURL[0][7][0]	= AU + NFO + "careers.htm";


aAboutUsSection[0][8]		= new Array();				aAboutUsURL[0][8]		= new Array();
aAboutUsSection[0][8][0]	= "Media Room";				aAboutUsURL[0][8][0]	= AU + NWS + "current-news.htm";
aAboutUsSection[0][8][1]	= "Current Releases";		aAboutUsURL[0][8][1]	= AU + NWS + "current-news.htm";
aAboutUsSection[0][8][2]	= "Archived Releases";		aAboutUsURL[0][8][2]	= AU + NWS + "archived-news.htm";
aAboutUsSection[0][8][3]	= "Online Media Kit";		aAboutUsURL[0][8][3]	= AU + NWS + "online-media-kit.htm";
aAboutUsSection[0][8][4]	= "Media Inquiries";		aAboutUsURL[0][8][4]	= AU + NWS + "media-inquiries.htm";

aAboutUsSection[0][9] = new Array();					aAboutUsURL[0][9] = new Array();
aAboutUsSection[0][9][0] = "SMILE Newsletter";			aAboutUsURL[0][9][0] = "/smile/default.htm";

aAboutUsSection[0][9][1] = new Array();
aAboutUsSection[0][9][1] = "The Greening of SMILE";		aAboutUsURL[0][9][1] = "/smile/greeningsmile.aspx";

// Examples of calls to this function:
//		SectionNavBarAboutUs("AboutUs Accounts", "Advantage Savings")
//			- this makes all the pages for the "Account Services" section visible,
//			  and highlights the "Advantage Savings" label to show it is the current page being viewed
//		SectionNavBarAboutUs("AboutUs Borrowing", "AboutUs Borrowing")
//			- this makes all the pages for the "AboutUs Borrowing" section visible,
//			  and highlights the "AboutUs Borrowing" label to show it is the current page being viewed

function SectionNavBarAboutUs( currentSection, currentPage ) {
	SectionNavBar( currentSection, currentPage, aAboutUsSection, aAboutUsURL );
}

function SectionNavBarAboutUsOLD( currentSection, currentPage ) {
	for (i=0; i < aAboutUsSection.length; i++) {
		if(aAboutUsSection[i][0] == currentPage)  // the current page is the Section header page - use a graphic arrow icon and change the color
			document.write( '<img src="/images/Avroarrow.gif" /><div class="leftnavCurrentLinkText leftnavCurrent"> ' + aAboutUsSection[i][0] + '</div>');
		else if (aAboutUsSection[i][0] == "")  // no link on the sectional header
			document.write( '<div class="leftnavCurrent">' + aAboutUsSection[i][0] + '</div>');
		else
			document.write( '<div class="leftnavCurrent"><a href="' + aAboutUsURL[i][0] + '">' + aAboutUsSection[i][0] + '</a></div>');
		if( isAreaLandingPage || aAboutUsSection[i][0] == currentSection ){ // this is the section of the current page
			//document.write( '<div class="leftnavCurrent">' );
			for (j=1; j < aAboutUsSection[i].length; j++) {
				if(aAboutUsSection[i][j] == currentPage)  // this is the current page - use a graphic arrow icon and change the color
					document.write( '<div class="leftnavCurrentLinkText"><img src="/images/Avroarrow.gif" /> ' + aAboutUsSection[i][j] + '</div>');
				else
					document.write( '<div class="leftnavLinkText" style="padding-left: 20px;"><a href="' + aAboutUsURL[i][j] + '">' + aAboutUsSection[i][j] + '</a></div>');
			}
		}
		document.write( '<div class="leftnavHorizontalDivider"></div>' );
	}
}
