{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\f0\fs20 /*\par
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/\par
 *\par
 * Uses the built in easing capabilities added In jQuery 1.1\par
 * to offer multiple easing options\par
 *\par
 * TERMS OF USE - jQuery Easing\par
 * \par
 * Open source under the BSD License. \par
 * \par
 * Copyright \'a9 2008 George McGinley Smith\par
 * All rights reserved.\par
 * \par
 * Redistribution and use in source and binary forms, with or without modification, \par
 * are permitted provided that the following conditions are met:\par
 * \par
 * Redistributions of source code must retain the above copyright notice, this list of \par
 * conditions and the following disclaimer.\par
 * Redistributions in binary form must reproduce the above copyright notice, this list \par
 * of conditions and the following disclaimer in the documentation and/or other materials \par
 * provided with the distribution.\par
 * \par
 * Neither the name of the author nor the names of contributors may be used to endorse \par
 * or promote products derived from this software without specific prior written permission.\par
 * \par
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY \par
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\par
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\par
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\par
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\par
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED \par
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\par
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED \par
 * OF THE POSSIBILITY OF SUCH DAMAGE. \par
 *\par
*/\par
\par
// t: current time, b: begInnIng value, c: change In value, d: duration\par
jQuery.easing['jswing'] = jQuery.easing['swing'];\par
\par
jQuery.extend( jQuery.easing,\par
\{\par
\tab def: 'easeOutQuad',\par
\tab swing: function (x, t, b, c, d) \{\par
\tab\tab //alert(jQuery.easing.default);\par
\tab\tab return jQuery.easing[jQuery.easing.def](x, t, b, c, d);\par
\tab\},\par
\tab easeInQuad: function (x, t, b, c, d) \{\par
\tab\tab return c*(t/=d)*t + b;\par
\tab\},\par
\tab easeOutQuad: function (x, t, b, c, d) \{\par
\tab\tab return -c *(t/=d)*(t-2) + b;\par
\tab\},\par
\tab easeInOutQuad: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d/2) < 1) return c/2*t*t + b;\par
\tab\tab return -c/2 * ((--t)*(t-2) - 1) + b;\par
\tab\},\par
\tab easeInCubic: function (x, t, b, c, d) \{\par
\tab\tab return c*(t/=d)*t*t + b;\par
\tab\},\par
\tab easeOutCubic: function (x, t, b, c, d) \{\par
\tab\tab return c*((t=t/d-1)*t*t + 1) + b;\par
\tab\},\par
\tab easeInOutCubic: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d/2) < 1) return c/2*t*t*t + b;\par
\tab\tab return c/2*((t-=2)*t*t + 2) + b;\par
\tab\},\par
\tab easeInQuart: function (x, t, b, c, d) \{\par
\tab\tab return c*(t/=d)*t*t*t + b;\par
\tab\},\par
\tab easeOutQuart: function (x, t, b, c, d) \{\par
\tab\tab return -c * ((t=t/d-1)*t*t*t - 1) + b;\par
\tab\},\par
\tab easeInOutQuart: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d/2) < 1) return c/2*t*t*t*t + b;\par
\tab\tab return -c/2 * ((t-=2)*t*t*t - 2) + b;\par
\tab\},\par
\tab easeInQuint: function (x, t, b, c, d) \{\par
\tab\tab return c*(t/=d)*t*t*t*t + b;\par
\tab\},\par
\tab easeOutQuint: function (x, t, b, c, d) \{\par
\tab\tab return c*((t=t/d-1)*t*t*t*t + 1) + b;\par
\tab\},\par
\tab easeInOutQuint: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;\par
\tab\tab return c/2*((t-=2)*t*t*t*t + 2) + b;\par
\tab\},\par
\tab easeInSine: function (x, t, b, c, d) \{\par
\tab\tab return -c * Math.cos(t/d * (Math.PI/2)) + c + b;\par
\tab\},\par
\tab easeOutSine: function (x, t, b, c, d) \{\par
\tab\tab return c * Math.sin(t/d * (Math.PI/2)) + b;\par
\tab\},\par
\tab easeInOutSine: function (x, t, b, c, d) \{\par
\tab\tab return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;\par
\tab\},\par
\tab easeInExpo: function (x, t, b, c, d) \{\par
\tab\tab return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;\par
\tab\},\par
\tab easeOutExpo: function (x, t, b, c, d) \{\par
\tab\tab return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;\par
\tab\},\par
\tab easeInOutExpo: function (x, t, b, c, d) \{\par
\tab\tab if (t==0) return b;\par
\tab\tab if (t==d) return b+c;\par
\tab\tab if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;\par
\tab\tab return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;\par
\tab\},\par
\tab easeInCirc: function (x, t, b, c, d) \{\par
\tab\tab return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;\par
\tab\},\par
\tab easeOutCirc: function (x, t, b, c, d) \{\par
\tab\tab return c * Math.sqrt(1 - (t=t/d-1)*t) + b;\par
\tab\},\par
\tab easeInOutCirc: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;\par
\tab\tab return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;\par
\tab\},\par
\tab easeInElastic: function (x, t, b, c, d) \{\par
\tab\tab var s=1.70158;var p=0;var a=c;\par
\tab\tab if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;\par
\tab\tab if (a < Math.abs(c)) \{ a=c; var s=p/4; \}\par
\tab\tab else var s = p/(2*Math.PI) * Math.asin (c/a);\par
\tab\tab return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;\par
\tab\},\par
\tab easeOutElastic: function (x, t, b, c, d) \{\par
\tab\tab var s=1.70158;var p=0;var a=c;\par
\tab\tab if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;\par
\tab\tab if (a < Math.abs(c)) \{ a=c; var s=p/4; \}\par
\tab\tab else var s = p/(2*Math.PI) * Math.asin (c/a);\par
\tab\tab return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;\par
\tab\},\par
\tab easeInOutElastic: function (x, t, b, c, d) \{\par
\tab\tab var s=1.70158;var p=0;var a=c;\par
\tab\tab if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);\par
\tab\tab if (a < Math.abs(c)) \{ a=c; var s=p/4; \}\par
\tab\tab else var s = p/(2*Math.PI) * Math.asin (c/a);\par
\tab\tab if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;\par
\tab\tab return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;\par
\tab\},\par
\tab easeInBack: function (x, t, b, c, d, s) \{\par
\tab\tab if (s == undefined) s = 1.70158;\par
\tab\tab return c*(t/=d)*t*((s+1)*t - s) + b;\par
\tab\},\par
\tab easeOutBack: function (x, t, b, c, d, s) \{\par
\tab\tab if (s == undefined) s = 1.70158;\par
\tab\tab return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;\par
\tab\},\par
\tab easeInOutBack: function (x, t, b, c, d, s) \{\par
\tab\tab if (s == undefined) s = 1.70158; \par
\tab\tab if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;\par
\tab\tab return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;\par
\tab\},\par
\tab easeInBounce: function (x, t, b, c, d) \{\par
\tab\tab return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;\par
\tab\},\par
\tab easeOutBounce: function (x, t, b, c, d) \{\par
\tab\tab if ((t/=d) < (1/2.75)) \{\par
\tab\tab\tab return c*(7.5625*t*t) + b;\par
\tab\tab\} else if (t < (2/2.75)) \{\par
\tab\tab\tab return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;\par
\tab\tab\} else if (t < (2.5/2.75)) \{\par
\tab\tab\tab return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;\par
\tab\tab\} else \{\par
\tab\tab\tab return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;\par
\tab\tab\}\par
\tab\},\par
\tab easeInOutBounce: function (x, t, b, c, d) \{\par
\tab\tab if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;\par
\tab\tab return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;\par
\tab\}\par
\});\par
\par
/*\par
 *\par
 * TERMS OF USE - EASING EQUATIONS\par
 * \par
 * Open source under the BSD License. \par
 * \par
 * Copyright \'a9 2001 Robert Penner\par
 * All rights reserved.\par
 * \par
 * Redistribution and use in source and binary forms, with or without modification, \par
 * are permitted provided that the following conditions are met:\par
 * \par
 * Redistributions of source code must retain the above copyright notice, this list of \par
 * conditions and the following disclaimer.\par
 * Redistributions in binary form must reproduce the above copyright notice, this list \par
 * of conditions and the following disclaimer in the documentation and/or other materials \par
 * provided with the distribution.\par
 * \par
 * Neither the name of the author nor the names of contributors may be used to endorse \par
 * or promote products derived from this software without specific prior written permission.\par
 * \par
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY \par
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\par
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\par
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\par
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\par
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED \par
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\par
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED \par
 * OF THE POSSIBILITY OF SUCH DAMAGE. \par
 *\par
 */\par
}
 
