		function pobla () {
				document.busqueda.poblacionb.value="Todas";
				document.getElementById("flotante").style.display="none";
			}
		function MM_jumpMenu(targ,selObj,restore){ //v3.0
		  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
		  if (restore) selObj.selectedIndex=0;
		}
		
		function selecciona() {
				poblaciona=document.busqueda.poblacion.value;
				document.busqueda.poblacionb.value=poblaciona;
				document.getElementById("flotante").style.display="none";
		}
		function cambia(nombre,ancho,alto,titulo,descripcion){
		document.images.foto.src="../admin/fotos/"+nombre
		document.images.foto.width=600
		document.images.foto.height=450
		document.getElementById("tit").innerHTML = titulo;
		document.getElementById("desc").innerHTML = descripcion;
		}

		function verificar(valor)
		{
			error=0;
			texto="";
		if(document.formu.nombre.value.replace(/ /g, '') == '') {
			error=1;
			texto="The field Name cannot be empty";
		}
		
		if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.formu.email.value)){
		} else {
		if(error==1) {
			texto=texto+"<br>";
		}
		error=1;
		texto=texto+"The field E-mail is incorrect or is empty";
		
		}
		
		if(document.formu.coment.value.replace(/ /g, '') == '') {
			if(error==1) {
				texto=texto+"<br>";
			}
			error=1;
			texto=texto+"The field Coments cannot be empty";
		}
		
		
		if(error==1) {
		document.getElementById("error").style.display='block'
		document.getElementById("error").innerHTML=texto
		 
		return (false);
		}
		
		}
		-->

