document.writeln("<SCRIPT LANGUAGE=\"JavaScript\"> ");
document.writeln("<!-- Begin ");
document.writeln("dayName = new Array(\"\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\") ");
document.writeln("monName = new Array(\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\") ");
document.writeln("now = new Date ");
document.writeln("\/\/ End --> ");
document.writeln("<\/script>");
document.writeln("<SCRIPT LANGUAGE=\"JavaScript\"> ");
document.writeln("<!-- Begin ");
document.writeln("var strDay; ");
document.writeln("if ((now.getDate() == 1) || (now.getDate() != 11) && (now.getDate() % 10 == 1)) \/\/ Correction for 11th and 1st\/21st\/31st ");
document.writeln("strDay = \"st \"; ");
document.writeln("else if ((now.getDate() == 2) || (now.getDate() != 12) && (now.getDate() % 10 == 2)) \/\/ Correction for 12th and 2nd\/22nd\/32nd ");
document.writeln("strDay = \"nd \"; ");
document.writeln("else if ((now.getDate() == 3) || (now.getDate() != 13) && (now.getDate() % 10 == 3)) \/\/ Correction for 13th and 3rd\/23rd\/33rd ");
document.writeln("strDay = \"rd \"; ");
document.writeln("else ");
document.writeln("strDay = \"th \"; ");
document.writeln("document.write( ");
document.writeln("dayName[now.getDay()] ");
document.writeln("+ ");
document.writeln("\" the \" ");
document.writeln("+ ");
document.writeln("now.getDate() ");
document.writeln("+ ");
document.writeln("strDay ");
document.writeln("+ ");
document.writeln("\"of \" ");
document.writeln("+ ");
document.writeln("monName[now.getMonth()] ");
document.writeln("+ ");
document.writeln("\", \" ");
document.writeln("+ ");
document.writeln("now.getFullYear() ");
document.writeln(") ");
document.writeln("\/\/ End --> ");
document.writeln("<\/script>");