(function(c){c.ajaxSettings.accepts._default="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){var d=a[0]||a,g="change";if(d.type=="radio"||d.type=="checkbox")g="click";else if(b&&(d.type=="text"||d.type=="textarea"||d.type=="password"))g="keyup";return g}});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(h){var f=window.delayedObserverStack[h];f.timer&&clearTimeout(f.timer); f.timer=setTimeout(function(){f.timer=null;f.callback(f.obj,f.obj.formVal())},f.delay*1E3);f.oldVal=f.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 h=c(this);h.bind(c.fieldEvent(h,a),function(){var f=window.delayedObserverStack[g];f.obj.formVal()!=f.oldVal&&window.delayedObserverCallback(g)})}):d.bind(c.fieldEvent(d,a),function(){var h=window.delayedObserverStack[g]; h.obj.formVal()!=h.oldVal&&window.delayedObserverCallback(g)})},formVal:function(){var a=this[0];if(a.tagName=="FORM")return this.serialize();return a.type=="checkbox"||a.type=="radio"?this.filter("input:checked").val()||"":this.val()}})})(jQuery); (function(c){c.fn.extend({visualEffect:function(a,b){speed=b?b.duration*1E3:null;e=a.replace(/\_(.)/g,function(d,g){return g.toUpperCase()});return 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){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);