var general = {
  init: function() {
    $('form input:visible:not(.no-focus):first').focus();
  }
};

$(function(){ general.init(); });

var general = {
  init: function() {
    $('form:not(.no-focus) input:visible:not(.no-focus):first').focus();
  }
};

$(function(){ general.init(); });

Make it possible to excluded an entire form with the .no-focus class.
Make it possible to excluded an entire form with the .no-focus class.
