/* =========================================================================

JavaScript Source File -- Created with SAPIEN Technologies PrimalScript 3.1

NAME: 

AUTHOR: Nicole A Stoffel, Gamma Sigma Sigma
DATE  : 1/22/2005

COMMENT: 

============================================================================ */

function init() {
	var navMenu='';
	var mainDir = '';
//	alert(document.title.indexOf('/calendar_files'));
	if (document.URL.indexOf('/calendar_files/') > -1 ||
		document.URL.indexOf('/scrapbook/') > -1)
		mainDir = '../';
	if (document.title == 'Gamma Sigma Sigma Homepage')
		navMenu+='<span style="height:22px">Home</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'index.htm">Home</a></span><br>';
	if (document.title == 'GSS - Current Members')
		navMenu+='<span style="height:22px">Members</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'members.htm">Members</a></span><br>';
	if (document.title == 'GSS - Service Projects')
		navMenu+='<span style="height:22px">Service</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'Service2.htm">Service</a></span><br>';
	if (document.title == 'Scrapbook')
		navMenu+='<span style="height:22px">Scrapbook</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'scrapbook2.htm">Scrapbook</a></span><br>';
	if (document.title.indexOf('January') > -1 ||
		document.title.indexOf('February') > -1 ||
		document.title.indexOf('March') > -1 ||
		document.title.indexOf('April') > -1 ||
		document.title.indexOf('May') > -1 ||
		document.title.indexOf('June') > -1)
		navMenu+='<span style="height:22px">Calendar</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'calendar2.htm">Calendar</a></span><br>';
	if (document.title == 'GSS - Alumni')
		navMenu+='<span style="height:22px">Alumni</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'Alumni.htm">Alumni</a></span><br>';
	if (document.title == 'GSS - History')
		navMenu+='<span style="height:22px">History</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'history.htm">History</a></span><br>';
	if (document.title == 'GSS - Contact Us')
		navMenu+='<span style="height:22px">Contact Us</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'contactUs.htm">Contact Us</a></span><br>';
	if (document.title == 'GSS - Links')
		navMenu+='<span style="height:22px">Links</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'Links.htm">Links</a></span><br>';
	if (document.title == 'GSS - FAQ')
		navMenu+='<span style="height:22px">FAQ</span><br>';
	else
		navMenu+='<span style="height:22px"><a href="'+mainDir+'faq.htm">FAQ</a></span><br>';
	navElement = document.getElementById("navDiv");
	navElement.innerHTML = navMenu;
}


