
				
		function validar(accion) {
 			
			if(document.formfrontPro.idOrganismo.value == 0 && document.getElementById("check3").checked){
				alert('Si desea buscar por Organismos, seleccione uno de la lista.');
				return;
			}
 			
 			cont = 0;
		    
			if(document.getElementById("check1").checked) cont ++; 
			if(document.getElementById("check2").checked) cont ++;
			if(document.getElementById("check3").checked) cont ++;
			if(document.getElementById("check4").checked) cont ++;
			
		    if (cont == 0){
		    	if (confirm('Si no selecciona ningún criterio de búsqueda \n pueden generarse muchos registros. \n ¿Desea Continuar?')){
		    			enviar(accion);
		    	}
		    }else{
		    	enviar(accion);
		    }
		}
				
		function enviar(accion) {
			document.formfrontPro.action="buscadorProyectos-id" + idioma + ".do?accion=" + accion;
			document.formfrontPro.submit();
		}
				
		function entrarProyecto(id) {
			document.location="./accederProyecto-id" + idioma + ".do?accion=verproyecto&id=" + id;
		}