mydate=new Date()
today=mydate.getDay()
if (today==1)
document.write('<body background="pics/starfield.gif">');
else if (today==2)
document.write('<body background="pics/starbkgrd5.gif">');
else if (today==3)
document.write('<body background="pics/starbkgrd6.gif">');
else if (today==4)
document.write('<body background="pics/starbkgrd4.jpg">');
else if (today==5)
document.write('<body background="pics/starbkgrd9.jpg">');
else if (today==6)
document.write('<body background="pics/starfield.gif">');
else
document.write('<body background="pics/starbkgrd5.gif">');
// to work out which day of the week has which background, starbkgrd 4 appears on Thursdays and Fridays. 
