[VE][404] Error Message Feedback

Validating Error [404]: "character X is the first character of a 
delimiter but occurred as data"

Please, i donīt understand this error, Iīm using this javascript code:
<script type="text/javascript">
        var months=new Array(13);
        months[1]="Enero";
        months[2]="Febrero";
        months[3]="Marzo";
        months[4]="Abril";
        months[5]="Mayo";
        months[6]="Junio";
        months[7]="Julio";
        months[8]="Augosto";
        months[9]="Septiembre";
        months[10]="Octubre";
        months[11]="Noviembre";
        months[12]="Dciembre";
        var time=new Date();
        var lmonth=months[time.getMonth() + 1];
        var date=time.getDate();
        var year=time.getYear();
        if (year < 2000)   
        year = year + 1900;
        document.write(date + " de " + lmonth + " de " + year);
        </script>
The mistake appears in this line:  if (year < 2000)
My personal web page is a valid xhtml 1.0 strict.

Received on Monday, 11 September 2006 02:03:13 UTC