      var now = new Date();
      var months = new Array(
        'JANUARY','FEBRUARY','MARCH','APRIL','MAY',
        'JUNE','JULY','AUGUST','SEPTEMBER','OCTOBER',
        'NOVEMBER','DECEMBER');
      var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
        function fourdigits(number)	{
          return (number < 1000) ? number + 1900 : number;}
      today = months[now.getMonth()] + " " +
        date + ", " +
          (fourdigits(now.getYear()));
      document.write(today);