// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
today =  days[now.getDay()] + ", " +
               date + " " +
                months[now.getMonth()] + ", " +
                (fourdigits(now.getYear())) ;

// Print out the data.
//document.write("<span class='topnav'>Today\'s date is " +today+ ".</span>");
//document.write('<a href="JavaScript: newWindow = openWin(\'../xmas/index.shtml\', \'xmas\', \'width=600,height=485,toolbar=0,location=center,directories=0,status=0,menuBar=0,scrollBars=0,resizable=0\'); newWindow.focus()"><img src="../xmas/xmas_banner.gif" width="425" height="72" border="0"></a>');
