//Copyright Psand Ltd. 2002. //Author - L.Hempelskunt sinister@computertorture.com //Free Software released under GPL - http://www.gnu.org //daily.js v1.0 5/2/02 //Writes a "day of the year" greeting to the document, //if a greeting is present in the asSpecials array. //Could be used as birthday or on this day 20 years ago etc... //Made xml compliant output. var asSpecials=new Array( "1/1:Happy New Year!", "14/2:Wishing you a great Valentine's day", "29/2:Wishing you a great Leap Day!", "1/4:#apr1l_foo1s.day|Sense of humour failure", "1/5:Wishing you a great 1st of May.", "31/10:Have a spooky halloween......", "31/10:Wooooooooo.......", "5/11:Remember Guy Fawkes, the Government torturer.", "23/12:A very Merry Christmas to ALL.", "24/12:A very Merry Christmas to ALL.", "25/12:A very Merry Christmas to ALL.", "26/12:A very Merry Christmas to ALL.", "27/12:A very Merry Christmas to ALL."); var dToday=new Date(); var iDate=dToday.getDate(); var iMonth=dToday.getMonth()+1; var sToday=''+iDate+'/'+iMonth; var sOut='

'; for (var i=0;i'; } } } sOut+='<\/b><\/p>'; document.write(sOut);