(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){a=a[0]||a;var f="change";if(a.type=="radio"||a.type=="checkbox")f="click";else if(b&&a.type=="text"||a.type=="textarea")f="keyup";return f}});c.fn.extend({delayedObserver:function(a,b){var f=c(this);if(typeof window.delayedObserverStack=="undefined")window.delayedObserverStack=[];if(typeof window.delayedObserverCallback=="undefined")window.delayedObserverCallback=function(g){var d=window.delayedObserverStack[g];d.timer&&clearTimeout(d.timer);d.timer= setTimeout(function(){d.timer=null;d.callback(d.obj,d.obj.formVal())},d.delay*1E3);d.oldVal=d.obj.formVal()};window.delayedObserverStack.push({obj:f,timer:null,delay:a,oldVal:f.formVal(),callback:b});var h=window.delayedObserverStack.length-1;f[0].tagName=="FORM"?c(":input",f).each(function(){var g=c(this);g.bind(c.fieldEvent(g,a),function(){var d=window.delayedObserverStack[h];d.obj.formVal()!=d.oldVal&&window.delayedObserverCallback(h)})}):f.bind(c.fieldEvent(f,a),function(){var g=window.delayedObserverStack[h]; g.obj.formVal()!=g.oldVal&&window.delayedObserverCallback(h)})},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){e=a.replace(/\_(.)/g,function(b,f){return f.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);