function Dater() {now = new Date();
aDay = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
aMonth = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');if(now.getDate()==1) post='st'; if(now.getDate()==2) post='nd';
        if(now.getDate()==3) post='rd'; if(now.getDate()>=4 && now.getDate()<=20) post='th';
        if(now.getDate()==21) post='st'; if(now.getDate()==22) post='nd';
        if(now.getDate()==23) post='rd'; if(now.getDate()>=24 && now.getDate()<=30) post='th';
        if(now.getDate()==31) post='st';
     
 myDate = aDay[now.getDay()]+" "+now.getDate()+'<sup>'+post+'</sup> '+aMonth[now.getMonth()]+' ';        if (navigator.appName == "Netscape") {myDate += (now.getYear() + 1900);}
        else if (navigator.appName == "Microsoft Internet Explorer"){myDate += (now.getYear());}
        document.write(myDate);
}

