(function(a){a.fn.ajaxHybsForm=function(b){return this.ajaxForm(b).unbind("submit.form-plugin").bind("submit.form-plugin",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}})}})(jQuery);