<!--function Item(){  this.length = Item.arguments.length   for (var i = 0; i < this.length; i++)    this[i] = Item.arguments[i]}function Fecha() {  var ndia  = new Item('Domingo', 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sábado')  var nmes  = new Item('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre')  var ahora  var fecha = new Date()  var ano   = fecha.getYear()  var mes   = fecha.getMonth()  var dia   = fecha.getDay()  var aux   = "" + fecha    if (ano<10) {    ano2 = "200" + eval(ano)  }  else if (ano<80) {                // ano tiene 2 dígitos 19xx (más de 80)    ano2 = "20" + ano  }   else if (ano<=99) {               // ano tiene 2 dígitos 20xx (menor de 80)    ano2 = "19" + ano  }  else if (ano<1000) {              // ano tiene 3 dígitos (100 es 2000)    ano2 = eval(ano) + eval(1900)  }  else {    ano2 = ano                      // ano tiene 4 dígitos  }    ahora = ndia[dia] + ",<br>" + eval(aux.substring(7, 10)) + " de " + nmes[mes] + " de " + ano2  return ahora}document.write(Fecha());// -->// JavaScript Document
