var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
function closer()
{
	window.close();
}
function launch(url,name,howWide,howHigh, scroll)
{
	var i = 0;
	var newWindow = new Array();
	newWindow[i] = window.open(url,name,'toolbar=no,scrollbars='+scroll+',width='+howWide+',height='+howHigh+'');
	newWindow[i].focus();
	i++;
}
function todayIs()
{		
	var today = new Date();
	theMonth = today.getMonth();
	theDay = today.getDay();
	theDate = today.getDate();
	theYear = today.getFullYear();
	stringYear = theYear.toString();
	kYear = stringYear.charAt(2) + stringYear.charAt(3);
	for (i = 0; i < days.length; i++)
	{
		if (i == theDay)
		{
			theRealDay = days[i];
		}
	}
	for (i = 0; i < months.length; i++)
	{
		if (i == theMonth)
		{
			theRealMonth = months[i];
		}
	}	

	document.writeln((theMonth + 1) + "-" + theDate + "-" + kYear);
}
function lastPosted() // when was page last modified?
{ 
	update = new Date(document.lastModified);
	theMonth = update.getMonth();
	theDate = update.getDate();
	theDay = update.getDay();
	theYear = update.getFullYear();
	stringYear = theYear.toString();
	kYear = stringYear.charAt(2) + stringYear.charAt(3);
	for (i = 0; i < days.length; i++)
	{
		if (i == theDay)
		{
			theRealDay = days[i];
		}
	}
	for (i = 0; i < months.length; i++)
	{
		if (i == theMonth)
		{
			theRealMonth = months[i];
		}
	}
	document.writeln((theMonth + 1) + "-" + theDate + "-" + kYear);
}