<!-- 
//Calculates the day of the week, month, day of month and year
var itsDay        = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var itsMonth      = new Array("January","February","March","April","May","June","July","August","September","October","November","December");

var now = new Date;

var theDay        = now.getDay();
var theMonth      = now.getMonth();
var theDayOfMonth = now.getDate();
var theYear       = now.getFullYear();

// Assigns st,nd,rd,th to the day of the month 
if(theDayOfMonth > 3 && theDayOfMonth < 21 || theDayOfMonth > 23 && theDayOfMonth < 31) {
  theSuffix = "th";
}
if(theDayOfMonth == 1 || theDayOfMonth == 21 || theDayOfMonth == 31) {
  theSuffix = "st";
}
if(theDayOfMonth == 2 || theDayOfMonth == 22 || theDayOfMonth == 32) {
  theSuffix = "nd";
}
if(theDayOfMonth == 3 || theDayOfMonth == 23) {
  theSuffix = "rd";
}
//*********************************************************************

// Holds all the variable data for output

var theDateOutput = itsDay[theDay] + " " + itsMonth[theMonth] + " " + theDayOfMonth + theSuffix + ", " + theYear + "    ";
// -->


