<!-- // Hide script
// Function to return the local system date in HTML format!
function showDate() {
	// Create the long date string to display
	var theDate = new Date();
	var thedayname = "";
	var themonthname = "";
	var retval = "";
	// Seperate the date values
	with (theDate) {
		var thedaynum = getDay();
		var thedaydate = getDate();
		var themonthnum = getMonth();
		var theyear = getFullYear();
	}
	// Get the day name
	if (thedaynum == 0) {thedayname = "Sunday";}
	if (thedaynum == 1) {thedayname = "Monday";}
	if (thedaynum == 2) {thedayname = "Tuesday";}
	if (thedaynum == 3) {thedayname = "Wednesday";}
	if (thedaynum == 4) {thedayname = "Thursday";}
	if (thedaynum == 5) {thedayname = "Friday";}
	if (thedaynum == 6) {thedayname = "Saturday";}
	// Get the month name
	if (themonthnum == 0) {themonthname = "January";}
	if (themonthnum == 1) {themonthname = "February";}
	if (themonthnum == 2) {themonthname = "March";}
	if (themonthnum == 3) {themonthname = "April";}
	if (themonthnum == 4) {themonthname = "May";}
	if (themonthnum == 5) {themonthname = "June";}
	if (themonthnum == 6) {themonthname = "July";}
	if (themonthnum == 7) {themonthname = "August";}
	if (themonthnum == 8) {themonthname = "September";}
	if (themonthnum == 9) {themonthname = "October";}
	if (themonthnum == 10) {themonthname = "November";}
	if (themonthnum == 11) {themonthname = "December";}
	// Get the th/st/rd bit!
	var thedaydatestr = thedaydate.toString();
	var abbrev = "";
	var posis = thedaydatestr.length -1;
	if ((thedaydate == 11) || (thedaydate == 12) || (thedaydate == 13)){abbrev = "th";}
	else if (thedaydatestr.charAt(posis) == "1"){abbrev = "st";}
	else if (thedaydatestr.charAt(posis) == "2"){abbrev = "nd";}
	else if (thedaydatestr.charAt(posis) == "3"){abbrev = "rd";}
	else {abbrev = "th";}
	// Generate return value
	retval = thedayname + " " + thedaydate.toString() + abbrev + " " +
		themonthname + ", " + theyear.toString();
	return retval;
}

// Welcome greeting
function DoGreet() {
	var grhours = new Date().getHours();
	var retval
	if (grhours < 12) { 
		retval = "Good morning."; 
	}
	else if ((grhours >= 12) && (grhours < 18)) {
		retval = "Good afternoon.";
	}
	else if (grhours >= 18) {
		retval = "Good evening.";
	}
	return retval;
}

// End hiding -->