// Get today's current date.
	var now = new Date();

// Array list of days.
	var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Satuday');
	//var days = new Array("Ch&#7911; nh&#7853;t","Th&#7913; hai","Th&#7913; ba","Th&#7913; t&#432;","Th&#7913; n&#259;m","Th&#7913; s�u","Th&#7913; b&#7843;y");

// Array list of months.
	var months = new Array('JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','SEP','NOV');

// Calculate the number of the current day in the week.
	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();


function fourDigits(number)	{
	return ((number < 1000) ? number + 1900 : number);
}

//function displayDate() {
// Calculate four digit year.
	// Join it all together
	var today =  days[now.getDay()] + ', ' + months[now.getMonth()] + ', ' + date + ', ' + (fourDigits(now.getYear())) ;	
		 
		 // Print out the data.
	window.document.write('<span class = client_datetime>' + today + '</span>');
//}
