(function(a){a.fn.ajaxHybsForm=function(b){return this.ajaxForm(b).unbind("submit.form-plugin-hybs").bind("submit.form-plugin-hybs",function(){var d,e,c;d=this.clk;e="";if(d&&d.tagName&&"INPUT"==d.tagName&&"command"==d.name){c=this.elements["hX_"+d.value+"CMD"];if(c){e=(c.length)?c[0].value:c.value}}if(e&&a.inArray(e,b.cmds)>=0){if(a(this).data(a.hybs.defaults.sHybsCmd)){alert("Don't push twice.")}else{a(this).data(a.hybs.defaults.sHybsCmd,{cmd:e,obj:d}).ajaxSubmit(b)}return false}else{a(this).removeData(a.hybs.defaults.sHybsCmd);return true}}).unbind("submit.form-plugin")}})(jQuery);