﻿//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 smenu printing section
var smenu = "";

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

if(! (t == "General"))
{
smenu += '<a href="../leaders/index.html">Introduction</a>';
}

if(! (t == "Symposium"))
{
smenu += '<a href="../leaders/symposium.html">Symposium on Evangelical Anabaptism</a>';
}

if(! (t == "Symposium 08"))
{
smenu += '<a href="../leaders/symposium08.html">2008 Symposium</a>';
}

if(! (t == "Symposium 07"))
{
smenu += '<a href="../leaders/symposium07.html">2007 Symposium</a>';
}

if(! (t == "Symposium 06"))
{
smenu += '<a href="../leaders/symposium06.html">2006 Symposium</a>';
}

if(! (t == "Faith and Life"))
{
smenu += '<a href="../leaders/flintro.html">Faith and Life Series</a>';
}

if(! (t == "IPS"))
{
smenu += '<a href="../leaders/lips.html">Institute of Pastoral Studies</a>';
}

if(! (t == "Leadership Development"))
{
smenu += '<a href="../leaders/ldevelop.html">RBC and Leadership Development</a>';
}

if(! (t == "Church Resources"))
{
smenu += '<a href="../leaders/flintro.html">Church Resources</a>';
}

smenu += '<a href="http://mailhide.recaptcha.net/d?k=01bd9axmkE0jZGnLrFt_pgpw==&amp;c=GJdN0LEfvrbvANkBfz1A6FTqh5fPDBMXNtJv1UCZJyo=" onclick="window.open(\'http://mailhide.recaptcha.net/d?k=01bd9axmkE0jZGnLrFt_pgpw==&amp;c=GJdN0LEfvrbvANkBfz1A6FTqh5fPDBMXNtJv1UCZJyo=\', \'\', \'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300\'); return false;" title="Reveal this e-mail address">Contact Us</a>';

document.write(smenu);

