Hello,

I am trying to find an error which keeps appearing on a web page. the scripts function correctly but I would like to remove the warning in the status bar.

error reported is: Expected ','

Code JavaScript:
  <script type="text/javascript" language="JavaScript">
  <!--
    var now = new Date();
    var days = new Array[
      'Sunday','Monday','Tuesday',
      'Wednesday','Thursday','Friday','Saturday'];
    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 =  days[now.getDay()] + ", " +
      date + " " +
        months[now.getMonth()] + " " +
       (fourdigits(now.getYear()));
     document.write(today);
  //-->
</script> <a href="http://dww/?sethome=mypage.html" class="about_service" onclick="javascript:window.location.href=http://mysite;">Make this my homepage</a>

The line referred to is the last line posted above. Can anyone help me out?