jQuery.effects||(function(n){n.effects={};n.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(a,b){n.fx.step[b]=function(c){if(!c.colorInit){c.start=k(c.elem,b);c.end=l(c.end);c.colorInit=true}c.elem.style[b]="rgb("+Math.max(Math.min(parseInt((c.pos*(c.end[0]-c.start[0]))+c.start[0],10),255),0)+","+Math.max(Math.min(parseInt((c.pos*(c.end[1]-c.start[1]))+c.start[1],10),255),0)+","+Math.max(Math.min(parseInt((c.pos*(c.end[2]-c.start[2]))+c.start[2],10),255),0)+")"}});function l(a){var b;if(a&&a.constructor==Array&&a.length==3){return a}if(b=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a)){return[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10)]}if(b=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a)){return[parseFloat(b[1])*2.55,parseFloat(b[2])*2.55,parseFloat(b[3])*2.55]}if(b=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a)){return[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]}if(b=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a)){return[parseInt(b[1]+b[1],16),parseInt(b[2]+b[2],16),parseInt(b[3]+b[3],16)]}if(b=/rgba\(0, 0, 0, 0\)/.exec(a)){return t.transparent}return t[n.trim(a).toLowerCase()]}function k(a,c){var b;do{b=n.curCSS(a,c);if(b!=""&&b!="transparent"||n.nodeName(a,"body")){break}c="backgroundColor"}while(a=a.parentNode);return l(b)}var t={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};var p=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function o(){var e=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,d={},b,a;if(e&&e.length&&e[0]&&e[e[0]]){var c=e.length;while(c--){b=e[c];if(typeof e[b]=="string"){a=b.replace(/\-(\w)/g,function(g,f){return f.toUpperCase()});d[a]=e[b]}}}else{for(b in e){if(typeof e[b]==="string"){d[b]=e[b]}}}return d}function s(b){var c,a;for(c in b){a=b[c];if(a==null||n.isFunction(a)||c in r||(/scrollbar/).test(c)||(!(/color/i).test(c)&&isNaN(parseFloat(a)))){delete b[c]}}return b}function m(c,a){var d={_:0},b;for(b in a){if(c[b]!=a[b]){d[b]=a[b]}}return d}n.effects.animateClass=function(c,b,d,a){if(n.isFunction(d)){a=d;d=null}return this.each(function(){var f=n(this),i=f.attr("style")||" ",e=s(o.call(this)),g,h=f.attr("className");n.each(p,function(v,j){if(c[j]){f[j+"Class"](c[j])}});g=s(o.call(this));f.attr("className",h);f.animate(m(e,g),b,d,function(){n.each(p,function(v,j){if(c[j]){f[j+"Class"](c[j])}});if(typeof f.attr("style")=="object"){f.attr("style").cssText="";f.attr("style").cssText=i}else{f.attr("style",i)}if(a){a.apply(this,arguments)}})})};n.fn.extend({_addClass:n.fn.addClass,addClass:function(b,c,d,a){return c?n.effects.animateClass.apply(this,[{add:b},c,d,a]):this._addClass(b)},_removeClass:n.fn.removeClass,removeClass:function(b,c,d,a){return c?n.effects.animateClass.apply(this,[{remove:b},c,d,a]):this._removeClass(b)},_toggleClass:n.fn.toggleClass,toggleClass:function(a,b,c,d,e){if(typeof b=="boolean"||b===undefined){if(!c){return this._toggleClass(a,b)}else{return n.effects.animateClass.apply(this,[(b?{add:a}:{remove:a}),c,d,e])}}else{return n.effects.animateClass.apply(this,[{toggle:a},b,c,d])}},switchClass:function(c,a,b,d,e){return n.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});n.extend(n.effects,{version:"1.8",save:function(b,a){for(var c=0;c<a.length;c++){if(a[c]!==null){b.data("ec.storage."+a[c],b[0].style[a[c]])}}},restore:function(b,a){for(var c=0;c<a.length;c++){if(a[c]!==null){b.css(a[c],b.data("ec.storage."+a[c]))}}},setMode:function(b,a){if(a=="toggle"){a=b.is(":hidden")?"show":"hide"}return a},getBaseline:function(b,a){var d,c;switch(b[0]){case"top":d=0;break;case"middle":d=0.5;break;case"bottom":d=1;break;default:d=b[0]/a.height}switch(b[1]){case"left":c=0;break;case"center":c=0.5;break;case"right":c=1;break;default:c=b[1]/a.width}return{x:c,y:d}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper")){return c.parent()}var b={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},a=n("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});c.wrap(a);a=c.parent();if(c.css("position")=="static"){a.css({position:"relative"});c.css({position:"relative"})}else{n.extend(b,{position:c.css("position"),zIndex:c.css("z-index")});n.each(["top","left","bottom","right"],function(e,d){b[d]=c.css(d);if(isNaN(parseInt(b[d],10))){b[d]="auto"}});c.css({position:"relative",top:0,left:0})}return a.css(b).show()},removeWrapper:function(a){if(a.parent().is(".ui-effects-wrapper")){return a.parent().replaceWith(a)}return a},setTransition:function(b,d,c,a){a=a||{};n.each(d,function(e,f){unit=b.cssUnit(f);if(unit[0]>0){a[f]=unit[0]*c+unit[1]}});return a}});function q(b,c,a,d){if(typeof b=="object"){d=c;a=null;c=b;b=c.effect}if(n.isFunction(c)){d=c;a=null;c={}}if(n.isFunction(a)){d=a;a=null}if(typeof c=="number"||n.fx.speeds[c]){d=a;a=c;c={}}c=c||{};a=a||c.duration;a=n.fx.off?0:typeof a=="number"?a:n.fx.speeds[a]||n.fx.speeds._default;d=d||c.complete;return[b,c,a,d]}n.fn.extend({effect:function(g,a,e,d){var b=q.apply(this,arguments),f={options:b[1],duration:b[2],callback:b[3]},c=n.effects[g];return c&&!n.fx.off?c.call(this,f):this},_show:n.fn.show,show:function(a){if(!a||typeof a=="number"||n.fx.speeds[a]){return this._show.apply(this,arguments)}else{var b=q.apply(this,arguments);b[1].mode="show";return this.effect.apply(this,b)}},_hide:n.fn.hide,hide:function(a){if(!a||typeof a=="number"||n.fx.speeds[a]){return this._hide.apply(this,arguments)}else{var b=q.apply(this,arguments);b[1].mode="hide";return this.effect.apply(this,b)}},__toggle:n.fn.toggle,toggle:function(a){if(!a||typeof a=="number"||n.fx.speeds[a]||typeof a=="boolean"||n.isFunction(a)){return this.__toggle.apply(this,arguments)}else{var b=q.apply(this,arguments);b[1].mode="toggle";return this.effect.apply(this,b)}},cssUnit:function(c){var b=this.css(c),a=[];n.each(["em","px","%","pt"],function(e,d){if(b.indexOf(d)>0){a=[parseFloat(b),d]}});return a}});n.easing.jswing=n.easing.swing;n.extend(n.easing,{def:"easeOutQuad",swing:function(b,a,c,d,e){return n.easing[n.easing.def](b,a,c,d,e)},easeInQuad:function(b,a,c,d,e){return d*(a/=e)*a+c},easeOutQuad:function(b,a,c,d,e){return -d*(a/=e)*(a-2)+c},easeInOutQuad:function(b,a,c,d,e){if((a/=e/2)<1){return d/2*a*a+c}return -d/2*((--a)*(a-2)-1)+c},easeInCubic:function(b,a,c,d,e){return d*(a/=e)*a*a+c},easeOutCubic:function(b,a,c,d,e){return d*((a=a/e-1)*a*a+1)+c},easeInOutCubic:function(b,a,c,d,e){if((a/=e/2)<1){return d/2*a*a*a+c}return d/2*((a-=2)*a*a+2)+c},easeInQuart:function(b,a,c,d,e){return d*(a/=e)*a*a*a+c},easeOutQuart:function(b,a,c,d,e){return -d*((a=a/e-1)*a*a*a-1)+c},easeInOutQuart:function(b,a,c,d,e){if((a/=e/2)<1){return d/2*a*a*a*a+c}return -d/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(b,a,c,d,e){return d*(a/=e)*a*a*a*a+c},easeOutQuint:function(b,a,c,d,e){return d*((a=a/e-1)*a*a*a*a+1)+c},easeInOutQuint:function(b,a,c,d,e){if((a/=e/2)<1){return d/2*a*a*a*a*a+c}return d/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(b,a,c,d,e){return -d*Math.cos(a/e*(Math.PI/2))+d+c},easeOutSine:function(b,a,c,d,e){return d*Math.sin(a/e*(Math.PI/2))+c},easeInOutSine:function(b,a,c,d,e){return -d/2*(Math.cos(Math.PI*a/e)-1)+c},easeInExpo:function(b,a,c,d,e){return(a==0)?c:d*Math.pow(2,10*(a/e-1))+c},easeOutExpo:function(b,a,c,d,e){return(a==e)?c+d:d*(-Math.pow(2,-10*a/e)+1)+c},easeInOutExpo:function(b,a,c,d,e){if(a==0){return c}if(a==e){return c+d}if((a/=e/2)<1){return d/2*Math.pow(2,10*(a-1))+c}return d/2*(-Math.pow(2,-10*--a)+2)+c},easeInCirc:function(b,a,c,d,e){return -d*(Math.sqrt(1-(a/=e)*a)-1)+c},easeOutCirc:function(b,a,c,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+c},easeInOutCirc:function(b,a,c,d,e){if((a/=e/2)<1){return -d/2*(Math.sqrt(1-a*a)-1)+c}return d/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(b,h,c,d,e){var g=1.70158;var f=0;var a=d;if(h==0){return c}if((h/=e)==1){return c+d}if(!f){f=e*0.3}if(a<Math.abs(d)){a=d;var g=f/4}else{var g=f/(2*Math.PI)*Math.asin(d/a)}return -(a*Math.pow(2,10*(h-=1))*Math.sin((h*e-g)*(2*Math.PI)/f))+c},easeOutElastic:function(b,h,c,d,e){var g=1.70158;var f=0;var a=d;if(h==0){return c}if((h/=e)==1){return c+d}if(!f){f=e*0.3}if(a<Math.abs(d)){a=d;var g=f/4}else{var g=f/(2*Math.PI)*Math.asin(d/a)}return a*Math.pow(2,-10*h)*Math.sin((h*e-g)*(2*Math.PI)/f)+d+c},easeInOutElastic:function(b,h,c,d,e){var g=1.70158;var f=0;var a=d;if(h==0){return c}if((h/=e/2)==2){return c+d}if(!f){f=e*(0.3*1.5)}if(a<Math.abs(d)){a=d;var g=f/4}else{var g=f/(2*Math.PI)*Math.asin(d/a)}if(h<1){return -0.5*(a*Math.pow(2,10*(h-=1))*Math.sin((h*e-g)*(2*Math.PI)/f))+c}return a*Math.pow(2,-10*(h-=1))*Math.sin((h*e-g)*(2*Math.PI)/f)*0.5+d+c},easeInBack:function(b,a,c,d,e,f){if(f==undefined){f=1.70158}return d*(a/=e)*a*((f+1)*a-f)+c},easeOutBack:function(b,a,c,d,e,f){if(f==undefined){f=1.70158}return d*((a=a/e-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(b,a,c,d,e,f){if(f==undefined){f=1.70158}if((a/=e/2)<1){return d/2*(a*a*(((f*=(1.525))+1)*a-f))+c}return d/2*((a-=2)*a*(((f*=(1.525))+1)*a+f)+2)+c},easeInBounce:function(b,a,c,d,e){return d-n.easing.easeOutBounce(b,e-a,0,d,e)+c},easeOutBounce:function(b,a,c,d,e){if((a/=e)<(1/2.75)){return d*(7.5625*a*a)+c}else{if(a<(2/2.75)){return d*(7.5625*(a-=(1.5/2.75))*a+0.75)+c}else{if(a<(2.5/2.75)){return d*(7.5625*(a-=(2.25/2.75))*a+0.9375)+c}else{return d*(7.5625*(a-=(2.625/2.75))*a+0.984375)+c}}}},easeInOutBounce:function(b,a,c,d,e){if(a<e/2){return n.easing.easeInBounce(b,a*2,0,d,e)*0.5+c}return n.easing.easeOutBounce(b,a*2-e,0,d,e)*0.5+d*0.5+c}})})(jQuery);(function(b){b.effects.clip=function(a){return this.queue(function(){var q=b(this),m=["position","top","left","height","width"];var n=b.effects.setMode(q,a.options.mode||"hide");var l=a.options.direction||"vertical";b.effects.save(q,m);q.show();var t=b.effects.createWrapper(q).css({overflow:"hidden"});var r=q[0].tagName=="IMG"?t:q;var p={size:(l=="vertical")?"height":"width",position:(l=="vertical")?"top":"left"};var s=(l=="vertical")?r.height():r.width();if(n=="show"){r.css(p.size,0);r.css(p.position,s/2)}var o={};o[p.size]=n=="show"?s:0;o[p.position]=n=="show"?0:s/2;r.animate(o,{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){if(n=="hide"){q.hide()}b.effects.restore(q,m);b.effects.removeWrapper(q);if(a.callback){a.callback.apply(q[0],arguments)}q.dequeue()}})})}})(jQuery);