function VisualizarFecha()
{
	date = new Date();
	var day_of_week_number = date.getDay();
	var day_of_month = date.getDate();
	var month_number = date.getMonth();
	var year = date.getYear();
	if (year<200) year+=1900;
	var day_of_week = '';
	var month = '' 

	var hours = date.getHours();
	var message = '';

	if (hours >= 6) { time_of_day = 'Buenos Días'; message='Morning Message';}
	if ((hours >= 14) && (hours < 21)) { time_of_day = 'Buenas Tardes'; message='Afternoon Message'}
	if (hours >= 21) { time_of_day = 'Buenas Noches'; message='Evening Message';}
	if ((hours >= 0) && (hours < 6)){ time_of_day = 'Buenas Noches'; message='Night Message';}

	if(month_number == 0){month = 'Enero';}
	if(month_number == 1){month = 'Febrero';}
	if(month_number == 2){month = 'Marzo';}
	if(month_number == 3){month = 'Abril';}
	if(month_number == 4){month = 'Mayo';}
	if(month_number == 5){month = 'Junio';}
	if(month_number == 6){month = 'Julio';}
	if(month_number == 7){month = 'Agosto';}
	if(month_number == 8){month = 'Septiembre';}
	if(month_number == 9){month = 'Octubre';}
	if(month_number == 10){month = 'Noviembre';}
	if(month_number == 11){month ='Diciembre';}
	
	if(day_of_week_number == 0){day_of_week = 'Domingo';}
	if(day_of_week_number == 1){day_of_week = 'Lunes';}
	if(day_of_week_number == 2){day_of_week = 'Martes';}
	if(day_of_week_number == 3){day_of_week = 'Miercoles';}
	if(day_of_week_number == 4){day_of_week = 'Jueves';}
	if(day_of_week_number == 5){day_of_week = 'Viernes';}
	if(day_of_week_number == 6){day_of_week = 'Sábado';} 

	var date_to_show='&nbsp;'+day_of_week+', '+day_of_month+' '+month+' '+year+'. '+time_of_day;
	document.write(date_to_show);
}

function formHandler(form){
var URL = form.site.options[form.site.selectedIndex].value;
window.location.href = URL;
// End -->
}
function calculomedia()
		{
			var a;
			var b;
			a= Math.round(Math.random()*3)+1;
			b= Math.round(Math.random()*58)+1;
			
			document.write ("Tiempo previsto de lectura: " + a + "' " + b + "''  " );			
		}


