// LeftMenu.js 	26 Jul 2008 	[GF]

var bp = new Array();

// About pages 30 Jul 2008
bp['about'] = '<div>'

/*bp['about']+='<br><a href="http://discovergrace.wordpress.com/" target="_blank">'
  + 'GRACE Blog' + '</a></br>'*/
for(m=2;m<aboutLink.length;m++) // begins with 2 to avoid the "Home" and dummy blog link
	{ bp['about']+='<br><a href="..' + aboutLink[m] + '">' + aboutText[m] + '</a></br>'}
 	
bp['about']+='</div>';

// education pages 22 Jul 2011
m=0;/*eduText[m] = 'Subscribe to our Blog';
 		eduLink[m] = 'http://discovergrace.wordpress.com/" target="_blank';
m++;*/eduText[m] = 'About Education'; 		 	eduLink[m] = '../education/';
m++;eduText[m] = 'Art in the Schools'; 		eduLink[m] = '../education/artintheschools.htm';
m++;eduText[m] = 'Art in the Schools Display'; 	eduLink[m] = '../Education/AIS_Display.htm';
m++;eduText[m] = 'Adult Programs';				eduLink[m] = '../education/AdultPrograms.htm';
m++;eduText[m] = 'Teen Programs';					eduLink[m] = '../education/TeenPrograms.htm'; var yt=m;
/*m++;eduText[m] = 'Summer Camps'; 					eduLink[m] = '/Education/Summer.htm';*/
m++;eduText[m] = 'Youth & Family Programs'; eduLink[m] = '../education/Youth.htm';	var ym=m;
/*
if(staging)
	{m++;eduText[m] = '<span style="color:#808000;">Boy Scout Programs</span>'; 	
			 eduLink[m] = '../education/BoyScoutPrograms.htm'; 
	};
m++;eduText[m] = '<span style="color:green;">Girl Scout Programs</span>'; 	
	eduLink[m] = '../education/GirlScoutPrograms.htm'; var gsm=m;
*/
m++;eduText[m] = 'Archives'; 		eduLink[m] = '../education/archived.htm';
m++;eduText[m] = 'Internships';	eduLink[m] = '../education/Internship.htm';

bp['education']= '<div>';
for(mx=0;mx<eduLink.length;mx++)
		{ bp['education']+='<br><a href="' + eduLink[mx] + '">' 
			+ eduText[mx] + '</a></br>'};
bp['education']+='</div>';

var eypText = new Array(); // education Youth Programs
var eypLink = new Array();

m=0;eypText[m] = 'About education'; 			eypLink[m] = '/education/';

m++;eypText[m] = 'Art in the Schools'; 	eypLink[m] = '/Education/artintheschools.htm';
m++;eypText[m] = 'Art in the Schools Display'; 	eypLink[m] = '/Education/AIS_Display.htm';
m++;eypText[m] = 'Adult Programs';			eypLink[m] = '/education/AdultPrograms.htm';
m++;eypText[m] = 'Teen Programs';				eypLink[m] = '/education/TeenPrograms.htm'; 
 var yt=m;
m++;eypText[m] = 'Explore More' ;  	 		eypLink[m] = '/Education/ExploreMore.htm';
/*m++;eypText[m] = 'Creation Station' ; 
	eypLink[m] = '/Education/CreationStation.htm';*/
m++;eypText[m] = 'Weekend Workshops' ; 	eypLink[m] = '/Education/WeekendWorkshops.htm';
m++;eypText[m] = 'Birthday pARTies' ; 	eypLink[m] = '/About/BirthdayParty.htm';
m++;eypText[m] = 'Super Studio'; 				eypLink[m] = '/Education/SuperStudio.htm';
m++;eypText[m] = 'TGIF - Free Fridays'; eypLink[m] = '/Education/TGIF.htm';
/*
m++;eypText[m] = '<b style="color:red;">Preschool Programs</b>'; 
	eypLink[m] = '/Education/Preschool.htm';
m++;eypText[m] = '<b style="color:#808000;">Boy Scout Programs</b>'; 
	eypLink[m] = '/Education/BoyScoutPrograms.htm';
m++;eypText[m] = '<b style="color:green;">Girl Scout Programs</b>'; 
	eypLink[m] = '/Education/GirlScoutPrograms.htm';
*/
bp['youth']= '<div>';
for(mx=0;mx<eypLink.length;mx++)
		{ 
			if(mx<=yt)
				{bp['youth']+='<br><a href="..' + eypLink[mx] + '">' 
					+ eypText[mx] + '</a></br>'};
			if(mx==yt)
				{bp['youth']+='<br><b style="color:black;">Youth and Family</b> &nbsp; &nbsp;</br>'};
			if(mx>yt)
				{bp['youth']+='<a href="..' + eypLink[mx] + '">' 
					+ eypText[mx] + '</a><br>'};
		};
m++;eypText[m] = 'Internships';					eypLink[m] = '/education/Internship.htm';
bp['youth']+='</div>';

bp['teen']= '<div>'
m=0;bp['teen']+='<br><a href="' + eduLink[m] + '">' + eduText[m] + '</a></br>';
m=1;bp['teen']+='<br><a href="' + eduLink[m] + '">' + eduText[m] + '</a></br>';
/*
m=2;bp['teen']+='<br><a style="color:black;" href="TeenPrograms.htm">' + eduText[m] + '</a>';
*/
bp['teen']+='<br><a href="Scholarships.htm">Scholarships</a></br>';
bp['teen']+='<a href="Volunteer.htm">Volunteer</a></br>';

m=3;bp['teen']+='<br><a href="' + eduLink[m] + '">' + eduText[m] + '</a></br>';
m=4;bp['teen']+='<br><a href="' + eduLink[m] + '">' + eduText[m] + '</a></br>';
/*
bp['teen']+='<br><a style="color:green;" href="GirlScoutPrograms.htm">Girl Scout Programs</a></br>';
*/
// Girl Scouts
var GS = '<br><a href="GirlScoutPrograms.htm">'
		+ '<span class="smallgreen">Girl Scout Programs</span></a>'
	+ '<p><a href="GirlScoutPrograms_Descriptions.htm">'
		+ '<span class="smallgreen">Program Descriptions</span></a>'
	+ '<p><a href="GirlScoutPrograms_Dates.htm">'
		+ '<span class="smallgreen">Dates & Times</span></a> '
	+ '<p><a href="GirlScoutPrograms_Guidelines.htm">'
		+ '<span class="smallgreen">Guidelines & Fees</span></a>'
	+ '<p><a href="GirlScoutPrograms_FAQs.htm">'
		+ '<span class="smallgreen">Frequently Asked Questions (FAQs)</span></a>'
	+ '<p><a href="https://spreadsheets.google.com/viewform?formkey=dF9ZczdBam9NQUxkNVA3b1BiNGYyS0E6MA">'
		+ '<span class="smallgreen">Registration Form</span></a>'
	/*+ '<p><a href="GirlScoutProgram.pdf" target="_blank">'
	+ '<span class="smallgreen">Upcoming Event</span></a>'*/
	;

// Support pages 
bp['support']= '<div>'
for(m=0;m<supLink.length;m++)
	{ bp['support']+='<br><a href="..' + supLink[m] + '">' + supText[m] + '</a></br>'};
bp['support']+='</div>'

// exhibition pages 6 Dec 2007

bp['exhibitions']='<div>'
for(m=0;m<exLink.length;m++)
	{ bp['exhibitions']+='<br><a href="..' + exLink[m].replace('/STAGING','') + '">' + exText[m] + '</a></br>'};
bp['exhibitions']+='</div>'

// Festival pages 2011-01-15 
bp['festival']='<div style="margin-top:50px;">'
for(m=0;m<festLink.length;m++)
	{ 
		if(festLink[m].slice(0,1)=="/")
			{bp['festival']+='<br><a href="..' + festLink[m] + '">' + festText[m] + '</a></br>'}
		else
			{bp['festival']+='<br><a href="' + festLink[m] + '">' + festText[m] + '</a></br>'};
	};
bp['festival']+='</div>'

// CChoice 
/*if(staging+local)
{
bp['choice']='<div>'
for(m=0;m<choiceLink.length;m++)
	{ bp['choice']+='<br><a href="..' + choiceLink[m] + '">' + choiceText[m] + '</a></br>'};
bp['choice']+='</div>'
};
*/

