var Months = new Array(12);
Months[0] = "";
Months[1] = "January";
Months[2] = "February";
Months[3] = "March";
Months[4] = "April";
Months[5] = "May";
Months[6] = "June";
Months[7] = "July";
Months[8] = "August";
Months[9] = "September";
Months[10] = "October";
Months[11] = "November";
Months[12] = "December";
if (!mode)
{
	if (mode > 4)
	{
		var mode = 1;
	}
}
if (!boldme)
{
	var boldme = 1;
}
update = new Date(document.lastModified);
var theMonth = update.getMonth() + 1;
var theDay = update.getDate();
update = new Date(document.lastModified) + "";
var theYear = update.substr(update.length - 4, 4);

if (theYear == "1969")
{
	update = new Date();
	theMonth = update.getMonth() + 1;
	theDay = update.getDate();
	update = new Date() + "";
	theYear = update.substr(update.length - 4, 4);
}

if (theYear < 2000)
{
	theYear = parseInt(theYear) + 100;
}

if (mode == 1)
{
	// 11/28/2002
	if (boldme == 1)
	{
		document.writeln("<STRONG>" + theMonth + "/" + theDay + "/" + theYear + "</STRONG>");
	} else {
		document.writeln(theMonth + "/" + theDay + "/" + theYear);
	}
} else if (mode == 2) {
	// 28 November 2002
	if (boldme == 1)
	{
		document.writeln("<STRONG>" + theDay + " " + Months[theMonth] + " " + theYear + "</STRONG>");
	} else {
		document.writeln(theDay + " " + Months[theMonth] + " " + theYear);
	}
} else if (mode == 3) {
	// 28 Nov 2002
	if (boldme == 1)
	{
		document.writeln("<STRONG>" + theDay + " " + Months[theMonth].substr(0, 3) + " " + theYear + "</STRONG>");
	} else {
		document.writeln(theDay + " " + Months[theMonth].substr(0, 3) + " " + theYear);
	}
} else if (mode == 4) {
	// Novmeber 28, 2002
	if (boldme == 1)
	{
		document.writeln("<STRONG>" + Months[theMonth] + " " + theDay + ", " + theYear + "</STRONG>");
	} else {
		document.writeln(Months[theMonth] + " " + theDay + ", " + theYear);
	}
}
