// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='';

// get the filename
var pathfrag = document.location.pathname;
var frag = pathfrag.split('/');
frag.reverse();
thisPage=frag[0];

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='img/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='v_blue_arrow.gif';			// open image name
lev1OpHeight='4';				// image height
lev1OpWidth='9';				// image width

lev1ClosName='clear.gif';		// closed image name
lev1ClosHeight='7';			// image height
lev1ClosWidth='9';				// image width

// do you want to use images for the sub-category bullets?
lev2img='no';		// insert yes or no

// give image names and dimensions
lev2Name='';			// image name
lev2Height='';				// image height
lev2Width='';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='no';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '';

// base target - the frame that the links are targetting
base = '';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************

// Alvin Ailey
if (page=='alvin') {
thisMenu = new Array();
thisMenu[0] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sponsor Statement','alvin_statement.html?page=alvin');
//thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About Alvin Ailey','alvin_exhibit.html?page=alvin');
thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Events','alvin_events.html?page=alvin');
thisMenu[2] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Community Outreach','alvin_community.html?page=alvin');
//thisMenu[4] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press Room','alvin_pressroom.html?page=alvin');
}

// Elizabeth
if (page=='liz') {
thisMenu = new Array();
thisMenu[0] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sponsor Statement','elizabeth_statement.html?page=liz');
thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About Elizabeth','elizabeth_exhibit.html?page=liz');
thisMenu[2] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Events','elizabeth_events.html?page=liz');
thisMenu[3] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Community Outreach','elizabeth_community.html?page=liz');
thisMenu[4] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press Room','elizabeth_pressroom.html?page=liz');
}

// Face of America
if (page=='face') {
thisMenu = new Array();
//thisMenu[0] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About the Race','face_race.html?page=face');
//thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press Room','face_pressroom.html?page=face');
}

// Leonardo Da Vinci
if (page=='leo') {
thisMenu = new Array();
thisMenu[0] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sponsor Statement','leo_statement.html?page=leo');
thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About the Exhibition','leo_exhibit.html?page=leo');
thisMenu[2] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Events','leo_events.html?page=leo');
thisMenu[3] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Community Outreach','leo_community.html?page=leo');
//thisMenu[4] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press Room','leo_pressroom.html?page=leo');
}

// Orpheus Chamber Orchestra
if (page=='orpheus') {
thisMenu = new Array();
thisMenu[0] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sponsor Statement','orpheus_statement.html?page=orpheus');
thisMenu[1] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About Orpheus','orpheus_exhibit.html?page=orpheus');
thisMenu[2] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Events','orpheus_events.html?page=orpheus');
thisMenu[3] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Community Outreach','orpheus_community.html?page=orpheus');
//thisMenu[4] = new subMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press Room','orpheus_pressroom.html?page=orpheus');
}

// Past Sponsorships
if (page=='past') {
thisMenu = new Array();

}

