<!--
function Today(theDate){
	var curdate = new Date();

	months = new Array(12);
	days = new Array(7);
	
	months[0]="January";
	months[1]="February";
	months[2]="March";
	months[3]="April";
	months[4]="May";
	months[5]="June";
	months[6]="July";
	months[7]="August";
	months[8]="September";
	months[9]="October";
	months[10]="November";
	months[11]="December";

	days[0]="Sunday";
	days[1]="Monday";
	days[2]="Tuesday";
	days[3]="Wednesday";
	days[4]="Thursday";
	days[5]="Friday";
	days[6]="Saturday";
	
	if (theDate == "current"){
	return (days[curdate.getDay()] + ", " + curdate.getDate() + " " + months[curdate.getMonth()] + ", " + curdate.getFullYear() );
	}

	if (theDate == "ampm"){
		if (curdate.getHours() < 12){
			if (curdate.getHours() < 5){
				return ("Good Evening and welcome");
			}
			else{
				return ("Good Morning and welcome");
			}
		}
		if (curdate.getHours() > 11){
			if (curdate.getHours() < 18){
				return ("Good Afternoon and welcome");
			}
			else{
				return ("Good Evening and welcome");
			}
		}
	}

	if (theDate == "theTime"){
		if (curdate.getMinutes() > 9){
			return (curdate.getHours() + ":" + curdate.getMinutes());
		}
		if (curdate.getMinutes() < 10){
			return (curdate.getHours() + ":0" + curdate.getMinutes());
		}
	}
	
	if (theDate == "theUSTime"){
		var theUSHour = curdate.getHours();
		var meridian = "AM"
		if (theUSHour > 12){
			meridian = "PM";
			}
		if (theUSHour == 24){
			meridian = "AM";
			}
		if (theUSHour > 12){
			theUSHour = theUSHour - 12;
		}
		if (theUSHour == 0){
			theUSHour = 12;
			}
		if (curdate.getMinutes() > 9){
			return (theUSHour + ":" + curdate.getMinutes() + " " + meridian);
		}
		if (curdate.getMinutes() < 10){
			return (theUSHour + ":0" + curdate.getMinutes() + " " + meridian);
		}
	}
}
// end of script -->