// JavaScript Document

// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================



var TheFontStyle = "plain"; 
var TheSeparator = " ";
var ShowDay ="yes";

var Days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var TheDate = new Date();

var TheWeekDay = TheDate.getDay();
var Day ="";
if (ShowDay == "yes"){
    Day = Days[TheWeekDay];
    Day += " ";}

var TheMonth = TheDate.getMonth() + 1;
if (TheMonth < 10) TheMonth = "0" + TheMonth;

if (TheMonth == 1) TheMonth = "January";
if (TheMonth == 2) TheMonth = "February";
if (TheMonth == 3) TheMonth = "March";
if (TheMonth == 4) TheMonth = "April";
if (TheMonth == 5) TheMonth = "May";
if (TheMonth == 6) TheMonth = "June";
if (TheMonth == 7) TheMonth = "July";
if (TheMonth == 8) TheMonth = "August";
if (TheMonth == 9) TheMonth = "September";
if (TheMonth == 10) TheMonth = "October";
if (TheMonth == 11) TheMonth = "November";
if (TheMonth == 12) TheMonth = "December";

var TheMonthDay = TheDate.getDate();
if (TheMonthDay < 10) TheMonthDay = "0" + TheMonthDay;

var TheYear = TheDate.getYear();
if (TheYear < 1000) TheYear += 1900;

var FontTagLeft  = "";
var FontTagRight = "";

if (TheFontStyle == "bold"){
    FontTagLeft = "<b>";
    FontTagRight ="</b>";}
    
if (TheFontStyle == "italic"){
    FontTagLeft = "<i>";
    FontTagRight ="</i>";}
    
if (TheFontStyle == "bolditalic"){
    FontTagLeft = "<b><i>"; 
    FontTagRight = "</i></b>";}    

var D = "";
D += FontTagLeft+Day+TheSeparator+TheSeparator+TheMonthDay+TheSeparator+TheSeparator+TheMonth+TheSeparator+TheSeparator+TheYear+FontTagRight;
D += "</font>";

document.write(D);


