(function(a){a.ajaxSettings.accepts._default="text/javascript, text/html, application/xml, text/xml, */*"})(jQuery),function(a){a.fn.reset=function(){return this.each(function(){(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)&&this.reset()})},a.fn.enable=function(){return this.each(function(){this.disabled=!1})},a.fn.disable=function(){return this.each(function(){this.disabled=!0})}}(jQuery),function(a){a.extend({fieldEvent:function(a,b){var c=a[0]||a,d="change";return c.type=="radio"||c.type=="checkbox"?d="click":b&&(c.type=="text"||c.type=="textarea"||c.type=="password")&&(d="keyup"),d}}),a.fn.extend({delayedObserver:function(b,c){var d=a(this);typeof window.delayedObserverStack=="undefined"&&(window.delayedObserverStack=[]),typeof window.delayedObserverCallback=="undefined"&&(window.delayedObserverCallback=function(a){var b=window.delayedObserverStack[a];b.timer&&clearTimeout(b.timer),b.timer=setTimeout(function(){b.timer=null,b.callback(b.obj,b.obj.formVal())},b.delay*1e3),b.oldVal=b.obj.formVal()}),window.delayedObserverStack.push({obj:d,timer:null,delay:b,oldVal:d.formVal(),callback:c});var e=window.delayedObserverStack.length-1;d[0].tagName=="FORM"?a(":input",d).each(function(){var c=a(this);c.bind(a.fieldEvent(c,b),function(){var a=window.delayedObserverStack[e];if(a.obj.formVal()==a.oldVal)return;window.delayedObserverCallback(e)})}):d.bind(a.fieldEvent(d,b),function(){var a=window.delayedObserverStack[e];if(a.obj.formVal()==a.oldVal)return;window.delayedObserverCallback(e)})},formVal:function(){var a=this[0];return a.tagName=="FORM"?this.serialize():a.type=="checkbox"||a.type=="radio"?this.filter("input:checked").val()||"":this.val()}})}(jQuery),function($){$.fn.extend({visualEffect:function(o,options){return options?speed=options.duration*1e3:speed=null,e=o.replace(/\_(.)/g,function(a,b){return b.toUpperCase()}),eval("$(this)."+e+"("+speed+")")},appear:function(a,b){return this.fadeIn(a,b)},blindDown:function(a,b){return this.show("blind",{direction:"vertical"},a,b)},blindUp:function(a,b){return this.hide("blind",{direction:"vertical"},a,b)},blindRight:function(a,b){return this.show("blind",{direction:"horizontal"},a,b)},blindLeft:function(a,b){return this.hide("blind",{direction:"horizontal"},a,b),this},dropOut:function(a,b){return this.hide("drop",{direction:"down"},a,b)},dropIn:function(a,b){return this.show("drop",{direction:"up"},a,b)},fade:function(a,b){return this.fadeOut(a,b)},fadeToggle:function(a,b){return this.animate({opacity:"toggle"},a,b)},fold:function(a,b){return this.hide("fold",{},a,b)},foldOut:function(a,b){return this.show("fold",{},a,b)},grow:function(a,b){return this.show("scale",{},a,b)},highlight:function(a,b){return this.show("highlight",{},a,b)},puff:function(a,b){return this.hide("puff",{},a,b)},pulsate:function(a,b){return this.show("pulsate",{},a,b)},shake:function(a,b){return this.show("shake",{},a,b)},shrink:function(a,b){return this.hide("scale",{},a,b)},squish:function(a,b){return this.hide("scale",{origin:["top","left"]},a,b)},slideUp:function(a,b){return this.hide("slide",{direction:"up"},a,b)},slideDown:function(a,b){return this.show("slide",{direction:"up"},a,b)},switchOff:function(a,b){return this.hide("clip",{},a,b)},switchOn:function(a,b){return this.show("clip",{},a,b)}})}(jQuery);
