(function(c){c().ajaxSend(function(a,b){b.setRequestHeader("Accept","text/javascript, text/html, application/xml, text/xml, */*")})})(jQuery);(function(c){c.fn.reset=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};c.fn.enable=function(){return this.each(function(){this.disabled=false})};c.fn.disable=function(){return this.each(function(){this.disabled=true})}})(jQuery);
(function(c){c.extend({fieldEvent:function(a,b){a=a[0]||a;var d="change";if(a.type=="radio"||a.type=="checkbox")d="click";else if(b&&a.type=="text"||a.type=="textarea")d="keyup";return d}});c.fn.extend({delayedObserver:function(a,b){var d=c(this);if(typeof window.delayedObserverStack=="undefined")window.delayedObserverStack=[];if(typeof window.delayedObserverCallback=="undefined")window.delayedObserverCallback=function(f){observed=window.delayedObserverStack[f];observed.timer&&clearTimeout(observed.timer);
observed.timer=setTimeout(function(){observed.timer=null;observed.callback(observed.obj,observed.obj.formVal())},observed.delay*1E3);observed.oldVal=observed.obj.formVal()};window.delayedObserverStack.push({obj:d,timer:null,delay:a,oldVal:d.formVal(),callback:b});var g=window.delayedObserverStack.length-1;d[0].tagName=="FORM"?c(":input",d).each(function(){var f=c(this);f.bind(c.fieldEvent(f,a),function(){observed=window.delayedObserverStack[g];observed.obj.formVal()!=observed.obj.oldVal&&window.delayedObserverCallback(g)})}):
d.bind(c.fieldEvent(d,a),function(){observed=window.delayedObserverStack[g];observed.obj.formVal()!=observed.obj.oldVal&&window.delayedObserverCallback(g)})},formVal:function(){var a=this[0];if(a.tagName=="FORM")return this.serialize();return a.type=="checkbox"||self.type=="radio"?this.filter("input:checked").val()||"":this.val()}})})(jQuery);
(function(c){c.fn.extend({visualEffect:function(a){e=a.replace(/\_(.)/g,function(b,d){return d.toUpperCase()});return eval("$(this)."+e+"()")},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){this.hide("blind",{direction:"horizontal"},a,b);return 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);
