
function getPageName(fullName){
	var fullPageName = fullName.split("/");
	return fullPageName[fullPageName.length-1].split(".")[0];
}

function PrintList(currURL,prefix){
	var ref=getPageName(currURL);
	 var newHighlight = '<a class="Highlight">&nbsp New!</a>';
	 document.write('<table BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="123" style="border-collapse: collapse" height="100">');
     document.write('<tr><td VALIGN="top" HEIGHT="100" ALIGN="center" width="203" bgcolor="#FFFFFF">');
	 document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="179">');
	 document.write('<tr><td width="100%" height="25">');	
	if (ref != "index") {
		document.write('<a class="NotActive" href='+ prefix +'index.htm>Home</a></td></tr>');
	}
	else
	{	 	
		document.write('<a class="Active">'+'Home'+'</a></td></tr>');
	}
	document.write('<tr><td width="100%" height="25">');
	if (ref != "about_us") {
		document.write('<a class="NotActive" href='+ prefix +'about_us.htm>About Us</a></td></tr>');
	}
	else
	{
		document.write('<a class="Active">' +'About Us' +'</a></td></tr>');
	}
	document.write('<tr><td width="100%" height="25">');
	if (ref != "camp_schedule") {
		document.write('<a class="NotActive" href='+ prefix +'camp_schedule.htm>Camps</a></td></tr>');
	}
	else
	{	
		document.write('<a class="Active">'+'Camps'+'</a></td></tr>');
	}
	document.write('<tr><td width="100%" height="25">');
	if (ref != "map") {
		document.write('<a class="NotActive" href='+ prefix +'map.htm>Map</a></td></tr>');
	}
	else
	{
		document.write('<a class="Active">'+'Map'+'</a></td></tr>');
	}
	document.write('<tr><td width="100%" height="25">');
	if (ref != "photosIndex" && ref != "constructionpix" && ref != "scenespix") {
		document.write('<a class="NotActive" href='+ prefix +'photosIndex.htm>Photo Gallery</a></td></tr>');
	}
	else
	{		
		document.write('<a class="Active">'+'Photo Gallery'+'</a></td></tr>');
	}
	document.write('<tr><td width="100%" height="25">');
	if (ref != "registration") {
		 document.write('<a class="NotActive" href='+ prefix +'registration.htm>Registration</a></td></tr>');
	}
	else
	{
		 document.write('<a class="Active">'+'Registration'+'</a></td></tr>');
	}
	document.write('</table></td></tr></table>');	
};
