//The following script retrieves the current dat using the Date() function and places that value in 
// a variable called todayDate, and then parses out the Day of the Week, Month, Date and Year.

		//Retrieve the current date:
		var todayDate = new Date()

		//Parse out the Day of the Week:
		var tDay = todayDate.getDay()
		    if (tDay == 0) {tDay = "Sunday"}
		    if (tDay == 1) {tDay = "Monday"}
		    if (tDay == 2) {tDay = "Tuesday"}
		    if (tDay == 3) {tDay = "Wednesday"}
		    if (tDay == 4) {tDay = "Thursday"}
		    if (tDay == 5) {tDay = "Friday"}
		    if (tDay == 6) {tDay = "Saturday"}

		//Parse out the month:
		var tMon = todayDate.getMonth()
		    if (tMon == 0) {tMon = "January"}
		    if (tMon == 1) {tMon = "February"}
		    if (tMon == 2) {tMon = "March"}
		    if (tMon == 3) {tMon = "April"}
		    if (tMon == 4) {tMon = "May"}
		    if (tMon == 5) {tMon = "June"}
		    if (tMon == 6) {tMon = "July"}
		    if (tMon == 7) {tMon = "August"}
		    if (tMon == 8) {tMon = "September"}
		    if (tMon == 9) {tMon = "October"}
		    if (tMon == 10) {tMon = "November"}
		    if (tMon == 11) {tMon = "December"}

		//Get Date:
		var tDat = todayDate.getDate()
		
		// Get Year:
		var tYear = todayDate.getYear()

		//document.write(todayDate + "<br>")
		document.write(" " + tDay + ", " + tMon + " " + tDat + ", " + tYear)
