document.writeln("<SCRIPT LANGUAGE=\"JavaScript\">");
document.writeln("<!-- Begin");
document.writeln("dayName = new Array(\"\", \"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"日\")");
document.writeln("monName = new Array(\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\")");
document.writeln("now = new Date");
document.writeln("//  End -->");
document.writeln("</script>");
document.writeln("<SCRIPT LANGUAGE=\"JavaScript\">");
document.writeln("");
document.writeln("<!-- This script and many more are available free online at -->");
document.writeln("<!-- The JavaScript Source!! http://javascript.internet.com -->");
document.writeln("");
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 = \"\";");
document.writeln("else if ((now.getDate() == 3) || (now.getDate() != 13) && (now.getDate() % 10 == 3)) 	// Correction for 13th and 3rd/23rd/33rd");
document.writeln("	strDay = \"\";");
document.writeln("else");
document.writeln("	strDay = \"\";");
document.writeln("document.write(now.getFullYear()");
document.writeln("+");
document.writeln("\"-\"");
document.writeln("+");
document.writeln("monName[now.getMonth()]");
document.writeln("+");
document.writeln("\"-\"");
document.writeln("+");
document.writeln("now.getDate()");
document.writeln("+");
document.writeln("\" \"");
document.writeln("+");
document.writeln("dayName[now.getDay()]");
document.writeln(")");
document.writeln("//  End -->");
document.writeln("</script>");
