function fecha() {
  var diasemana = new Array('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado');
  var nombremes = new Array('enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre');
  var ahora;
  var fecha = new Date();
  var anio = fecha.getYear();
  var mes = fecha.getMonth();
  var dia = fecha.getDay();
  var num = fecha.getDate();
  ahora = diasemana[dia] + ", " + num + " de " + nombremes[mes] + " de " + anio;
  return ahora;
}
function arriba(){
	valor=parseInt(contenido.style.top);
	contenido.style.top = valor + 5;
	 if(valor==0){
	 contenido.style.top= 0;
	 }
    a1 = setTimeout('arriba()',12);
}


function abajo(){
	maximo = parseInt(contenido.style.height) * -1;
	valor = parseInt(contenido.style.top);
	contenido.style.top = valor - 5;
   if(valor == maximo){
	contenido.style.top = maximo;
    }
    a2 = setTimeout('abajo()',6);
	}