meses = new Array ("ENERO","FEBRERO","MARZO","ABRIL","MAYO","JUNIO","JULIO","AGOSTO","SETIEMBRE","OCTUBRE","NOVIEMBRE","DICIEMBRE");
        data = new Date();
        index = data.getMonth();
		var an=data.getYear();
		if (an<1000){
			an = 1900+an;
		}
        document.write( data.getDate() + " DE " + meses[index] + " '06 ");
        var Hora;
        var Minutos;
        var AmPm;
        Hora = data.getHours();
        if (Hora >= 12) {
                AmPm = " P.M.";
        }
        else {
                AmPm = " A.M.";
        }
             if (Hora > 12) {
                Hora -= 12;
        }
        if (Hora == 0) {
                Hora = 12;
        }
        Minutos = data.getMinutes();
        if (Minutos < 10) {
                Minutos = "0" + Minutos;
        }