// Determines the browser/platform being used
var nscp = (navigator.appName == "Netscape")
var ismc = (navigator.appVersion.indexOf("Mac") != -1)
var vers = parseFloat(navigator.appVersion.substring(22,25))
var theNum = 0


var currentMenuChoice = 0

// The following variables set the current date
today = new Date();

var year = today.getFullYear();
var monthnum = today.getMonth();
var date = today.getDate();
		
var month = new Array();
month[0] = "January";
month[1] = "February";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "August";
month[8] = "September";
month[9] = "October";
month[10] = "November";
month[11] = "December";


function init()
{	
	if (nscp)
	{	document.captureEvents(Event.MOUSEMOVE)
	}
		
	document.onmousemove = checkIt

	checkMenu()
}

function getObj(obj)
{	if (nscp)
	{	compLayr = document.layers[obj]
	}
	else
	{	compLayr = eval("document.all." + obj + ".style")
	}
	return compLayr
}

function show(layr)
{	obj = getObj(layr)
	obj.visibility = "visible"
}

function hide(layr)
{	obj = getObj(layr)
	obj.visibility = "hidden"
}

function hideall(){
	for (i=0;i<9;i++)
	{hide('menu'+i);}
}

function menuRoll(which,status)
{	if (status)
	{	currentMenuChoice = which
	    hideall()
		show("menu" + currentMenuChoice)
		theNum = 1;
	}
}


function safemail(name, domain, display) {
displayed=(typeof(display)=="undefined") ? name+"@"+domain : display
document.write('<a class=inpage href=mailto:' + name + '&#064;' + domain + '>' + displayed +
'</a>');
}



