﻿//Function to assign t the value of the Title section of page following the second colon
function titletest ()
{		t="";
		t=document.title.toString();
		var c = t.indexOf(":")+1;
		var c = t.indexOf(":",c)+2;
		t = t.substring(c)
//		alert(t)
//		return t;

}

//Call above function
titletest();

//Iniatialize ssmenu printing section
var smenu = "";

/*If units for pages.  Creates possibility of eliminating current location 
from smenus
*/

smenu += '<a href="../memorabilia.html">&laquo;To Memorabilia</a>';

if(! (t == "Cross Reference 2007"))
{
smenu += '<a href="crossref07.html">Cross Reference 2007</a>';
}

if(! (t == "Cross Reference 2006"))
{
smenu += '<a href="crossref06.html">Cross Reference 2006</a>';
}

if(! (t == "Recordings 2009"))
{
smenu += '<a href="chorale09.html">Chorale 2009</a>';
}

if(! (t == "Recordings 2008"))
{
smenu += '<a href="chorale08.html">Chorale 2008</a>';
}

if(! (t == "Recordings 2007"))
{
smenu += '<a href="chorale07.html">Chorale 2007</a>';
}

if(! (t == "Recordings 2006"))
{
smenu += '<a href="chorale06.html">Chorale 2006</a>';
}

if(! (t == "Recordings 2005"))
{
smenu += '<a href="chorale05.html">Chorale 2005</a>';
}

if(! (t == "Recordings 2004"))
{
smenu += '<a href="chorale04.html">Chorale 2004</a>';
}

if(! (t == "Recordings 2003"))
{
smenu += '<a href="chorale03.html">Chorale 2003</a>';
}

if(! (t == "Recordings 2002"))
{
smenu += '<a href="chorale02.html">Chorale 2002</a>';
}



document.write(smenu);

