// Fecha 1.1 ©2003-2009 por Jonathan L. Rey para KINGSOFT

function volver() {
  var historia = ""
      historia = history.go(-1)
  return historia;
}

function _texto_mes() {
	var meses = new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
	return meses[this.getMonth()];}

function _texto_dia() {
	var dias= new Array("Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado");
	return dias[this.getDay()];}

function fecha() {
	Date.prototype.texto_mes = _texto_mes;
	Date.prototype.texto_dia = _texto_dia;

	var d = new Date();
	d.setTime (d.getTime());

	var dia = ""+d.getDate()
	var largo = dia.length-1
	document.write('<font face="Arial">');
	document.write(d.texto_dia()+' ');

	for (var posicion = 0;posicion<=largo;posicion++) {
	document.write(dia.charAt(posicion));
	}

	document.write(' de ');
	document.write(d.texto_mes());
	document.write(' del ');

	var ano = new Date()
        document.write(ano.getFullYear());	
}
