var meses=new Array("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre")
var dias=new Array("Domingo","Lunes","Martes","Mi&eacute;rcoles","Jueves","Viernes","S&aacute;bado")
hoy=new Date()

//Esta función arregla un problema con los años en Netscape 2 y 3.
function anoEntero(f) // f es un objeto fecha y JS no admite la ñ en las funciones
{
 yr=f.getYear()
if (yr<1000)
 yr+=1900
return yr
}

document.write(dias[hoy.getDay()] + ", " +hoy.getDate() + " de " + meses[hoy.getMonth()]+ " de " + anoEntero(hoy))