// JavaScript Document
function buscar(){
	var texto = document.getElementById('q').value;
	if (texto==""){
		alert("Debe escribir una expresión.");
		return false;
	}else{
		if (IsValidoString(texto)){
			if (texto.length<3){
				alert("El Criterio debe ser más específico.");
				return false;
			}
			return true;	
		}else{
			alert("Hay Caracter(es) no permitido(s)");
			return false;
		}
	}
}