//-------------------------Full Date-------------------------------------------------
// This program takes the standard JavaScript date functions and converts them
// into a more readable format.
// Written by Mark J. Bartlett (CaptnElmo2@aol.com) on June 27, 1998
//-----------------------------------------------------------------------------------

function FullDate() {
//-- Retrieving Initial Calender Data from Local Computer --
	localdat = new Date();
	localday=localdat.getDay();
	localmonth = localdat.getMonth();
	localdate= localdat.getDate();

comma = "<img src='date/comma.gif' width=10 height=20 border=0 alt=','>"
space = "<img src='date/space.gif' width=6 height=20 border=0 alt=' '>"

//-- Converting the Day
	if(localday == 0)
		day = "<img src='date/sunday.gif' width=52 height=20 border=0 alt='Sunday'>"

	if(localday == 1)
		day = "<img src='date/monday.gif' width=56 height=20 border=0 alt='Monday'>"

	if(localday == 2)
		day = "<img src='date/tuesday.gif' width=51 height=20 border=0 alt='Tuesday'>"

	if(localday == 3)
		day = "<img src='date/wednesday.gif' width=74 height=20 border=0 alt='Wednesday'>"

	if(localday == 4)
		day = "<img src='date/thursday.gif' width=61 height=20 border=0 alt='Thursday'>"

	if(localday == 5)
		day = "<img src='date/friday.gif' width=45 height=20 border=0 alt='Friday'>"

	if(localday == 6)
		day = "<img src='date/saturday.gif' width=60 height=20 border=0 alt='Saturday'>"


//-- Converting the Month --
	if(localmonth == 0)
		month = "<img src='date/january.gif' width=53 height=20 border=0 alt='January'>"

	else if(localmonth == 1)
		month = "<img src='date/february.gif' width=64 height=20 border=0 alt='February'>"

	else if(localmonth == 2)
		month = "<img src='date/march.gif' width=49 height=20 border=0 alt='March'>"

	else if(localmonth == 3)
		month = "<img src='date/april.gif' width=38 height=20 border=0 alt='April'>"

	else if(localmonth == 4)
		month = "<img src='date/may.gif' width=30 height=20 border=0 alt='May'>"

	else if(localmonth == 5)
		month = "<img src='date/june.gif' width=34 height=20 border=0 alt='June'>"

	else if(localmonth == 6)
		month = "<img src='date/july.gif' width=28 height=20 border=0 alt='July'>"

	else if(localmonth == 7)
		month = "<img src='date/august.gif' width=49 height=20 border=0 alt='August'>"

	else if(localmonth == 8)
		month = "<img src='date/september.gif' width=74 height=20 border=0 alt='September'>"

	else if(localmonth == 9)
		month = "<img src='date/october.gif' width=60 height=20 border=0 alt='October'>"

	else if(localmonth == 10)
		month = "<img src='date/november.gif' width=70 height=20 border=0 alt='November'>"

	else if(localmonth == 11)
		month = "<img src='date/december.gif' width=69 height=20 border=0 alt='December'>"


//-- Converting the Day of Month --
	if(localdate<40)
		date1 = "<img src='date/3.gif' width=8 height=20 border=0 alt='3'>"

	if(localdate <30)
		date1 = "<img src='date/2.gif' width=10 height=20 border=0 alt='2'>"

	if(localdate<20)
		date1 = "<img src='date/1.gif' width=7 height=20 border=0 alt='1'>"

	if(localdate<10)
		date1 = "<img src='date/space.gif' width=1 height=25 border=0 alt='0'>"

	subtractive=Math.floor(localdate/10)*10;
	localdate=localdate-subtractive;

	if(localdate==0)
		date2 = "<img src='date/0.gif' width=12 height=20 border=0 alt='0'>"

	if(localdate==1)
		date2 = "<img src='date/1.gif' width=7 height=20 border=0 alt='1'>"

	if(localdate==2)
		date2 = "<img src='date/2.gif' width=10 height=20 border=0 alt='2'>"

	if(localdate==3)
		date2 = "<img src='date/3.gif' width=8 height=20 border=0 alt='3'>"

	if(localdate==4)
		date2 = "<img src='date/4.gif' width=11 height=20 border=0 alt='4'>"

	if(localdate==5)
		date2 = "<img src='date/5.gif' width=10 height=20 border=0 alt='5'>"

	if(localdate==6)
		date2 = "<img src='date/6.gif' width=10 height=20 border=0 alt='6'>"

	if(localdate==7)
		date2 = "<img src='date/7.gif' width=10 height=20 border=0 alt='7'>"

	if(localdate==8)
		date2 = "<img src='date/8.gif' width=10 height=20 border=0 alt='8'>"

	if(localdate==9)
		date2 = "<img src='date/9.gif' width=10 height=20 border=0 alt='9'>"


//-- Writing Final Date to Web Page --
	document.write(day+comma+month+space+date1+date2);

}
