jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(f,a,d,c,b){return jQuery.easing[jQuery.easing.def](f,a,d,c,b)},easeInQuad:function(f,a,d,c,b){return c*(a/=b)*a+d},easeOutQuad:function(f,a,d,c,b){return-c*(a/=b)*(a-2)+d},easeInOutQuad:function(f,a,d,c,b){if((a/=b/2)<1)return c/2*a*a+d;return-c/2*(--a*(a-2)-1)+d},easeInCubic:function(f,a,d,c,b){return c*(a/=b)*a*a+d},easeOutCubic:function(f,a,d,c,b){return c*((a=a/b-1)*a*a+1)+d},easeInOutCubic:function(f,a,d,c,b){if((a/=b/2)<1)return c/
2*a*a*a+d;return c/2*((a-=2)*a*a+2)+d},easeInQuart:function(f,a,d,c,b){return c*(a/=b)*a*a*a+d},easeOutQuart:function(f,a,d,c,b){return-c*((a=a/b-1)*a*a*a-1)+d},easeInOutQuart:function(f,a,d,c,b){if((a/=b/2)<1)return c/2*a*a*a*a+d;return-c/2*((a-=2)*a*a*a-2)+d},easeInQuint:function(f,a,d,c,b){return c*(a/=b)*a*a*a*a+d},easeOutQuint:function(f,a,d,c,b){return c*((a=a/b-1)*a*a*a*a+1)+d},easeInOutQuint:function(f,a,d,c,b){if((a/=b/2)<1)return c/2*a*a*a*a*a+d;return c/2*((a-=2)*a*a*a*a+2)+d},easeInSine:function(f,
a,d,c,b){return-c*Math.cos(a/b*(Math.PI/2))+c+d},easeOutSine:function(f,a,d,c,b){return c*Math.sin(a/b*(Math.PI/2))+d},easeInOutSine:function(f,a,d,c,b){return-c/2*(Math.cos(Math.PI*a/b)-1)+d},easeInExpo:function(f,a,d,c,b){return a==0?d:c*Math.pow(2,10*(a/b-1))+d},easeOutExpo:function(f,a,d,c,b){return a==b?d+c:c*(-Math.pow(2,-10*a/b)+1)+d},easeInOutExpo:function(f,a,d,c,b){if(a==0)return d;if(a==b)return d+c;if((a/=b/2)<1)return c/2*Math.pow(2,10*(a-1))+d;return c/2*(-Math.pow(2,-10*--a)+2)+d},
easeInCirc:function(f,a,d,c,b){return-c*(Math.sqrt(1-(a/=b)*a)-1)+d},easeOutCirc:function(f,a,d,c,b){return c*Math.sqrt(1-(a=a/b-1)*a)+d},easeInOutCirc:function(f,a,d,c,b){if((a/=b/2)<1)return-c/2*(Math.sqrt(1-a*a)-1)+d;return c/2*(Math.sqrt(1-(a-=2)*a)+1)+d},easeInElastic:function(f,a,d,c,b){f=1.70158;var e=0,g=c;if(a==0)return d;if((a/=b)==1)return d+c;e||(e=b*0.3);if(g<Math.abs(c)){g=c;f=e/4}else f=e/(2*Math.PI)*Math.asin(c/g);return-(g*Math.pow(2,10*(a-=1))*Math.sin((a*b-f)*2*Math.PI/e))+d},easeOutElastic:function(f,
a,d,c,b){f=1.70158;var e=0,g=c;if(a==0)return d;if((a/=b)==1)return d+c;e||(e=b*0.3);if(g<Math.abs(c)){g=c;f=e/4}else f=e/(2*Math.PI)*Math.asin(c/g);return g*Math.pow(2,-10*a)*Math.sin((a*b-f)*2*Math.PI/e)+c+d},easeInOutElastic:function(f,a,d,c,b){f=1.70158;var e=0,g=c;if(a==0)return d;if((a/=b/2)==2)return d+c;e||(e=b*0.3*1.5);if(g<Math.abs(c)){g=c;f=e/4}else f=e/(2*Math.PI)*Math.asin(c/g);if(a<1)return-0.5*g*Math.pow(2,10*(a-=1))*Math.sin((a*b-f)*2*Math.PI/e)+d;return g*Math.pow(2,-10*(a-=1))*Math.sin((a*
b-f)*2*Math.PI/e)*0.5+c+d},easeInBack:function(f,a,d,c,b,e){if(e==undefined)e=1.70158;return c*(a/=b)*a*((e+1)*a-e)+d},easeOutBack:function(f,a,d,c,b,e){if(e==undefined)e=1.70158;return c*((a=a/b-1)*a*((e+1)*a+e)+1)+d},easeInOutBack:function(f,a,d,c,b,e){if(e==undefined)e=1.70158;if((a/=b/2)<1)return c/2*a*a*(((e*=1.525)+1)*a-e)+d;return c/2*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)+d},easeInBounce:function(f,a,d,c,b){return c-jQuery.easing.easeOutBounce(f,b-a,0,c,b)+d},easeOutBounce:function(f,a,d,c,b){return(a/=
b)<1/2.75?c*7.5625*a*a+d:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+0.75)+d:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+0.9375)+d:c*(7.5625*(a-=2.625/2.75)*a+0.984375)+d},easeInOutBounce:function(f,a,d,c,b){if(a<b/2)return jQuery.easing.easeInBounce(f,a*2,0,c,b)*0.5+d;return jQuery.easing.easeOutBounce(f,a*2-b,0,c,b)*0.5+c*0.5+d}});
(function(f){function a(b){b=b.replace(/left|top/g,"0px");b=b.replace(/right|bottom/g,"100%");b=b.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");b=b.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(b[1],10),b[2],parseFloat(b[3],10),b[4]]}if(!document.defaultView||!document.defaultView.getComputedStyle){var d=f.curCSS;f.curCSS=function(b,e,g){if(e==="background-position")e="backgroundPosition";if(e!=="backgroundPosition"||!b.currentStyle||b.currentStyle[e])return d.apply(this,
arguments);var h=b.style;if(!g&&h&&h[e])return h[e];return d(b,"backgroundPositionX",g)+" "+d(b,"backgroundPositionY",g)}}var c=f.fn.animate;f.fn.animate=function(b){if("background-position"in b){b.backgroundPosition=b["background-position"];delete b["background-position"]}if("backgroundPosition"in b)b.backgroundPosition="("+b.backgroundPosition;return c.apply(this,arguments)};f.fx.step.backgroundPosition=function(b){if(!b.bgPosReady){var e=f.curCSS(b.elem,"backgroundPosition");e||(e="0px 0px");e=
a(e);b.start=[e[0],e[2]];e=a(b.end);b.end=[e[0],e[2]];b.unit=[e[1],e[3]];b.bgPosReady=true}e=[];e[0]=(b.end[0]-b.start[0])*b.pos+b.start[0]+b.unit[0];e[1]=(b.end[1]-b.start[1])*b.pos+b.start[1]+b.unit[1];b.elem.style.backgroundPosition=e[0]+" "+e[1]}})(jQuery);
(function(f){function a(c){var b;if(c&&c.constructor==Array&&c.length==3)return c;if(b=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(b[1]),parseInt(b[2]),parseInt(b[3])];if(b=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))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(c))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(c))return[parseInt(b[1]+b[1],16),parseInt(b[2]+b[2],16),parseInt(b[3]+b[3],16)];return d[f.trim(c).toLowerCase()]}f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(c,b){f.fx.step[b]=function(e){if(e.state==0){var g;g=e.elem;var h=b,i;do{i=f.curCSS(g,h);if(i!=""&&i!="transparent"||f.nodeName(g,"body"))break;h="backgroundColor"}while(g=g.parentNode);
g=a(i);e.start=g;e.end=a(e.end)}e.elem.style[b]="rgb("+[Math.max(Math.min(parseInt(e.pos*(e.end[0]-e.start[0])+e.start[0]),255),0),Math.max(Math.min(parseInt(e.pos*(e.end[1]-e.start[1])+e.start[1]),255),0),Math.max(Math.min(parseInt(e.pos*(e.end[2]-e.start[2])+e.start[2]),255),0)].join(",")+")"}});var d={}})(jQuery);jQuery.easing.def="easeInOutCubic";

