function Abrir_Ventana(){
	var contestacion;
	var hora;
	var ExpDate;
	var seg;
	date= new Date();
	hora=date.getHours();
	//if (hora>10){
		contestacion=LeerCookie("Ventana_24horas");
		if(contestacion=="true"){
			Abrir();
		}
		if (contestacion=="?"){
			contestacion=confirm("¿Quiere ver las últimas noticias actualizadas?");
			if (contestacion!=null) {
				expDate = new Date();
				seg= date.getTime() + (24 - hora) * (3600000);
				expDate.setTime(seg);
				expDate= expDate.toGMTString();
				CrearCookieCaducidad1dia("Ventana_24horas",contestacion,expDate)
			}
			if (contestacion==true){
				Abrir();
			}
		}
	//}
}

function Abrir(){
	var url="http://www.lavozdegalicia.es/veinticuatro_horas/index_frame.jsp";
	window.open(es2gal(url),'24Horas','height=400,width=250,scrollbars=yes,status=false,menubar=false,resizable=false,location=no ');
}
