//*********************************************
// Tree Menu Copyright Simon Rycroft
// For more scripts go to:
// http://www.d-zineworx.co.uk
//*********************************************

// opens menu section - do not alter
var cmtouse = "cmsidesub";
if (cmsidechange!=""){
	cmtouse = cmsidechange;
}

function openMenu(cat) {
this.cat = cat;
document.write('<span class = "level1">');
if (cat == '&nbsp;Alvin Ailey'){
document.write('<a href = "alvin_index.html?page=alvin" target="_top" class="'+cmtouse+'">');
}
/*else if (cat == '&nbsp;Elizabeth'){
document.write('<a href = "elizabeth_index.html?page=liz" target="_top" class="'+cmtouse+'">');
}*/
else if (cat == '&nbsp;Face of America'){
document.write('<a href = "face_index.html?page=face" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Leonardo Da Vinci'){
document.write('<a href = "leo_index.html?page=leo" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Orpheus Chamber<br>&nbsp;&nbsp;&nbsp;&nbsp;Orchestra'){
document.write('<a href = "orpheus_index.html?page=orpheus" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Past Sponsorships'){
document.write('<a href = "past_index.html?page=past" target="_top" class="'+cmtouse+'">');
}

if (lev1img=='yes') {
document.write('<img src="' + imgPath + lev1OpName +'" width="' + lev1OpWidth + '" height="' + lev1OpHeight + '"border="0">');
}
document.write(cat + '</a><span><br>');
for (x=0;x<thisMenu.length;x++){
 document.write('<span class = "level2">');
 if (lev2img=='yes') {
 document.write('<img src="' + imgPath + lev2Name +'" width="' + lev2Width + '" height="' + lev2Height + '">');
 }
 if (lev2Char=='yes') {
 document.write(bullet);
 }
 document.write('<a href="' + thisMenu[x].linkb + '" class="'+cmtouse+'">' + thisMenu[x].name + '</a><span><br>');
}
}

// closes menu section - do not alter
function closeMenu(cat,pass) {
this.cat = cat;
this.pass = pass;
document.write('<span class = "level1">');
if (cat == '&nbsp;Alvin Ailey'){
document.write('<a href = "alvin_index.html?page=alvin" target="_top" class="'+cmtouse+'">');
}
/*else if (cat == '&nbsp;Elizabeth'){
document.write('<a href = "elizabeth_index.html?page=liz" target="_top" class="'+cmtouse+'">');
}*/
else if (cat == '&nbsp;Face of America'){
document.write('<a href = "face_index.html?page=face" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Leonardo Da Vinci'){
document.write('<a href = "leo_index.html?page=leo" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Orpheus Chamber<br>&nbsp;&nbsp;&nbsp;&nbsp;Orchestra'){
document.write('<a href = "orpheus_index.html?page=orpheus" target="_top" class="'+cmtouse+'">');
}
else if (cat == '&nbsp;Past Sponsorships'){
document.write('<a href = "past_index.html?page=past" target="_top" class="'+cmtouse+'">');
}

if (lev1img=='yes') {
document.write('<img src="' + imgPath + lev1ClosName +'" width="' + lev1ClosWidth + '" height="' + lev1ClosHeight + '"border="0">');
}
document.write(cat + '</a><span><br>');
}

function printLink(cat,pass) {
this.cat = cat;
this.pass = pass;
document.write('<span class = "level1">');
document.write('<a href = "' + pass+'" class="'+cmtouse+'" target="_top">');
if (lev1img=='yes') {
document.write('<img src="' + imgPath + lev1ClosName +'" width="' + lev1ClosWidth + '" height="' + lev1ClosHeight + '"border="0">');
}
document.write(cat + '</a><span><br>');
}
