


// DateCal   JavaScript v1.00
// Copyright (c) 1998 Carolyn B. Allard
// All rights reserved.
// PLEASE NOTE:  You have complete freedom to use this script as long 
// as this copyright information is presented each time it is used.  
// This script can be modified.
// There is no warranty implied or stated.  Use at your own risk.
// background variables
var today = new Date()
var bkgd = "Sunday.jpg"
var dow = today.getDay()
var tble

//foreground variables
var today = new Date()
var month = today.getMonth()
var date = today.getDate()
var year = today.getYear()
var month_whole = "January"
var year_whole = 1900
var wholeDate = "today"

// background figuring
if (dow == 0) {bkgd = "Sunday"}
if (dow == 1) {bkgd = "Monday"}
if (dow == 2) {bkgd = "Tuesday"}
if (dow == 3) {bkgd = "Wednesday"}
if (dow == 4) {bkgd = "Thursday"}
if (dow == 5) {bkgd = "Friday"}
if (dow == 6) {bkgd = "Saturday"}

// foreground figuring
if (month == 0) {month_whole = "January"}
if (month == 1) {month_whole = "February"}
if (month == 2) {month_whole = "March"}
if (month == 3) {month_whole = "April"}
if (month == 4) {month_whole = "May"}
if (month == 5) {month_whole = "June"}
if (month == 6) {month_whole = "July"}
if (month == 7) {month_whole = "August"}
if (month == 8) {month_whole = "September"}
if (month == 9) {month_whole = "October"}
if (month == 10) {month_whole = "November"}
if (month == 11) {month_whole = "December"}

year_whole =  year

wholeDate = month_whole + " " + date + ", " + year_whole

// creating table
dday = bkgd;

tble = wholeDate;




// end hiding-->

