function controlBusca(formulario) {
	var hayError;
	var textoError;
	textoError="";
	hayError = false;

	tamcadena=formulario.cadena.value.length;
	
	if(tamcadena < 3) {
		textoError=textoError+"La búsqueda debe ser como mínimo de 3 caracteres.\n";
		hayError = true;
	}

	if(hayError == true) {
	   alert(textoError);
	}
	else
	{
		formulario.submit();
	}
}

