window.onload = function () {
document.formBusqueda.q.focus();
}
function valida(e){
  tecla=(document.all) ? e.keyCode : e.which;
  if(tecla == 13)
    document.bsq.submit();
}

 $(document).ready(function() {
                $("#formBusqueda").ajaxForm({
                    type: "POST",
                    target: "#resultados"
                });   
            });
