<!-- Display a different image for each day of week.
<!-- Also different image on special days of year eg. Christmas. 
<!-- by JSA 2004.08.18 -->

	dayimg = new Array();
	// Images for normal days
	dayimg[0]="Yellow_dog_laughs"
	dayimg[1]="Yellow_dog_loves"
	dayimg[2]="Yellow_dog_relaxed"
	dayimg[3]="Yellow_dog_sings"
	dayimg[4]="Yellow_dog_thinks"
	dayimg[5]="Yellow_dog_wonders"
	dayimg[6]="Yellow_dog_writes"
	//
	// Images for special days
	dayimg[7]="dog_tine_md_wht"	// Valentine

	// set date variables
	var today=new Date()
	var dayofweek=today.getDay()
	var dayofmonth=today.getDate()
	var month=today.getMonth()
	var daymonth=(dayofmonth) + ((month+1)/100)

	// test for special days.
	//If match then adjust dayofweek variable to point to special image in array
	if (daymonth == 14.02) dayofweek = 7	// Valentine

	document.write('<img src="images/' + dayimg[dayofweek] + '.gif">')
//-->