var now = new Date();
var thisDay = now.getDay()
var year = now.getYear()
var mName = now.getMonth() + 1;
var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
if(thisDay==1) Day ="MONDAY";
if(thisDay==2) Day ="TUESDAY";
if(thisDay==3) Day ="WEDNESDAY";
if(thisDay==4) Day ="THURSDAY";
if(thisDay==5) Day ="FRIDAY";
if(thisDay==6) Day ="SATURDAY";
if(thisDay==7) Day ="SUNDAY";
if(mName==1) Month="JANUARY";
if(mName==2) Month="FEBRUARY";
if(mName==3) Month="MARCH";
if(mName==4) Month="APRIL";
if(mName==5) Month="MAY";
if(mName==6) Month="JUNE";
if(mName==7) Month="JULY";
if(mName==8) Month="AUGUST";
if(mName==9) Month="SEPTEMBER";
if(mName==10) Month="OCTOBER";
if(mName==11) Month="NOVEMBER";
if(mName==12) Month="DECEMBER";
// String to display current date.
   var todaysDate =(" "
	   + Day
	   + ", "
       + Month
       + " "
       + dayNr
	   + ", "
	   +year);
       
// Write date to page.
document.open();
document.write("<FONT FACE=Verdana, Arial, Helvetica, sans-serif; SIZE=1 color=ffffff> "+todaysDate+"</FONT>");
// -->