jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutSine",swing:function(b,e,c,d,f){return jQuery.easing[jQuery.easing.def](b,e,c,d,f)},easeInSine:function(b,e,c,d,f){return-d*Math.cos(e/f*(Math.PI/2))+d+c},easeOutSine:function(b,e,c,d,f){return d*Math.sin(e/f*(Math.PI/2))+c},easeInOutSine:function(b,e,c,d,f){return-d/2*(Math.cos(Math.PI*e/f)-1)+c},easeInExpo:function(b,e,c,d,f){return e==0?c:d*Math.pow(2,10*(e/f-1))+c},easeOutExpo:function(b,e,c,d,f){return e==f?c+d:d*(-Math.pow(2,-10*e/f)+1)+c},easeInOutExpo:function(b,
e,c,d,f){if(e==0)return c;if(e==f)return c+d;if((e/=f/2)<1)return d/2*Math.pow(2,10*(e-1))+c;return d/2*(-Math.pow(2,-10*--e)+2)+c},easeInElastic:function(b,e,c,d,f){var b=1.70158,g=0,k=d;if(e==0)return c;if((e/=f)==1)return c+d;g||(g=f*0.3);k<Math.abs(d)?(k=d,b=g/4):b=g/(2*Math.PI)*Math.asin(d/k);return-(k*Math.pow(2,10*(e-=1))*Math.sin((e*f-b)*2*Math.PI/g))+c},easeOutElastic:function(b,e,c,d,f){var b=1.70158,g=0,k=d;if(e==0)return c;if((e/=f)==1)return c+d;g||(g=f*0.3);k<Math.abs(d)?(k=d,b=g/4):
b=g/(2*Math.PI)*Math.asin(d/k);return k*Math.pow(2,-10*e)*Math.sin((e*f-b)*2*Math.PI/g)+d+c},easeInOutElastic:function(b,e,c,d,f){var b=1.70158,g=0,k=d;if(e==0)return c;if((e/=f/2)==2)return c+d;g||(g=f*0.3*1.5);k<Math.abs(d)?(k=d,b=g/4):b=g/(2*Math.PI)*Math.asin(d/k);if(e<1)return-0.5*k*Math.pow(2,10*(e-=1))*Math.sin((e*f-b)*2*Math.PI/g)+c;return k*Math.pow(2,-10*(e-=1))*Math.sin((e*f-b)*2*Math.PI/g)*0.5+d+c},easeInBounce:function(b,e,c,d,f){return d-jQuery.easing.easeOutBounce(b,f-e,0,d,f)+c},easeOutBounce:function(b,
e,c,d,f){return(e/=f)<1/2.75?d*7.5625*e*e+c:e<2/2.75?d*(7.5625*(e-=1.5/2.75)*e+0.75)+c:e<2.5/2.75?d*(7.5625*(e-=2.25/2.75)*e+0.9375)+c:d*(7.5625*(e-=2.625/2.75)*e+0.984375)+c},easeInOutBounce:function(b,e,c,d,f){if(e<f/2)return jQuery.easing.easeInBounce(b,e*2,0,d,f)*0.5+c;return jQuery.easing.easeOutBounce(b,e*2-f,0,d,f)*0.5+d*0.5+c}});
(function(b){b.fn.swipe=function(e){if(!this)return!1;var c={fingers:1,threshold:75,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,click:null,triggerOnTouchEnd:!0,allowPageScroll:"auto"},d="left",f="right",g="up",k="down",h="none",n="horizontal",q="vertical",r="auto",o="start",m="move",s="end",u="cancel",p="start";if(e.allowPageScroll==void 0&&(e.swipe!=void 0||e.swipeStatus!=void 0))e.allowPageScroll=h;e&&b.extend(c,e);return this.each(function(){function e(b){p=
o;B=b.touches.length;distance=0;direction=null;B==c.fingers?(A.x=z.x=b.touches[0].pageX,A.y=z.y=b.touches[0].pageY,c.swipeStatus&&w(b,p)):y(b)}function t(b){if(!(p==s||p==u)){z.x=b.touches[0].pageX;z.y=b.touches[0].pageY;direction=E();B=b.touches.length;p=m;var e=direction;if(c.allowPageScroll==h)b.preventDefault();else{var o=c.allowPageScroll==r;switch(e){case d:(c.swipeLeft&&o||!o&&c.allowPageScroll!=n)&&b.preventDefault();break;case f:(c.swipeRight&&o||!o&&c.allowPageScroll!=n)&&b.preventDefault();
break;case g:(c.swipeUp&&o||!o&&c.allowPageScroll!=q)&&b.preventDefault();break;case k:(c.swipeDown&&o||!o&&c.allowPageScroll!=q)&&b.preventDefault()}}B==c.fingers?(distance=D(),c.swipeStatus&&w(b,p,direction,distance),!c.triggerOnTouchEnd&&distance>=c.threshold&&(p=s,w(b,p),y(b))):(p=u,w(b,p),y(b))}}function x(b){b.preventDefault();distance=D();direction=E();c.triggerOnTouchEnd?(p=s,B==c.fingers&&z.x!=0?distance>=c.threshold||(p=u):p=u,w(b,p),y(b)):p==m&&(p=u,w(b,p),y(b))}function y(){B=0;A.x=0;
A.y=0;z.x=0;z.y=0}function w(b,e){c.swipeStatus&&c.swipeStatus.call(C,b,e,direction||null,distance||0);e==u&&c.click&&B==1&&(isNaN(distance)||distance==0)&&c.click.call(C,b,b.target);if(e==s)switch(c.swipe&&c.swipe.call(C,b,direction,distance),direction){case d:c.swipeLeft&&c.swipeLeft.call(C,b,direction,distance);break;case f:c.swipeRight&&c.swipeRight.call(C,b,direction,distance);break;case g:c.swipeUp&&c.swipeUp.call(C,b,direction,distance);break;case k:c.swipeDown&&c.swipeDown.call(C,b,direction,
distance)}}function D(){return Math.round(Math.sqrt(Math.pow(z.x-A.x,2)+Math.pow(z.y-A.y,2)))}function E(){var b;b=Math.round(Math.atan2(z.y-A.y,A.x-z.x)*180/Math.PI);b<0&&(b=360-Math.abs(b));return b<=45&&b>=0?d:b<=360&&b>=315?d:b>=135&&b<=225?f:b>45&&b<135?k:g}var C=b(this),B=0,A={x:0,y:0},z={x:0,y:0};try{this.addEventListener("touchstart",e,!1),this.addEventListener("touchmove",t,!1),this.addEventListener("touchend",x,!1),this.addEventListener("touchcancel",y,!1)}catch(F){}})}})(jQuery);
jQuery.browser.msie||eval(function(b,e,c,d,f,g){f=function(b){return(b<e?"":f(parseInt(b/e)))+((b%=e)>35?String.fromCharCode(b+29):b.toString(36))};if(!"".replace(/^/,String)){for(;c--;)g[f(c)]=d[c]||f(c);d=[function(b){return g[b]}];f=function(){return"\\w+"};c=1}for(;c--;)d[c]&&(b=b.replace(RegExp("\\b"+f(c)+"\\b","g"),d[c]));return b}("9 17={3i:'0.1.3',16:1e-6};l v(){}v.23={e:l(i){8(i<1||i>7.4.q)?w:7.4[i-1]},2R:l(){8 7.4.q},1u:l(){8 F.1x(7.2u(7))},24:l(a){9 n=7.4.q;9 V=a.4||a;o(n!=V.q){8 1L}J{o(F.13(7.4[n-1]-V[n-1])>17.16){8 1L}}H(--n);8 2x},1q:l(){8 v.u(7.4)},1b:l(a){9 b=[];7.28(l(x,i){b.19(a(x,i))});8 v.u(b)},28:l(a){9 n=7.4.q,k=n,i;J{i=k-n;a(7.4[i],i+1)}H(--n)},2q:l(){9 r=7.1u();o(r===0){8 7.1q()}8 7.1b(l(x){8 x/r})},1C:l(a){9 V=a.4||a;9 n=7.4.q,k=n,i;o(n!=V.q){8 w}9 b=0,1D=0,1F=0;7.28(l(x,i){b+=x*V[i-1];1D+=x*x;1F+=V[i-1]*V[i-1]});1D=F.1x(1D);1F=F.1x(1F);o(1D*1F===0){8 w}9 c=b/(1D*1F);o(c<-1){c=-1}o(c>1){c=1}8 F.37(c)},1m:l(a){9 b=7.1C(a);8(b===w)?w:(b<=17.16)},34:l(a){9 b=7.1C(a);8(b===w)?w:(F.13(b-F.1A)<=17.16)},2k:l(a){9 b=7.2u(a);8(b===w)?w:(F.13(b)<=17.16)},2j:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x+V[i-1]})},2C:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x-V[i-1]})},22:l(k){8 7.1b(l(x){8 x*k})},x:l(k){8 7.22(k)},2u:l(a){9 V=a.4||a;9 i,2g=0,n=7.4.q;o(n!=V.q){8 w}J{2g+=7.4[n-1]*V[n-1]}H(--n);8 2g},2f:l(a){9 B=a.4||a;o(7.4.q!=3||B.q!=3){8 w}9 A=7.4;8 v.u([(A[1]*B[2])-(A[2]*B[1]),(A[2]*B[0])-(A[0]*B[2]),(A[0]*B[1])-(A[1]*B[0])])},2A:l(){9 m=0,n=7.4.q,k=n,i;J{i=k-n;o(F.13(7.4[i])>F.13(m)){m=7.4[i]}}H(--n);8 m},2Z:l(x){9 a=w,n=7.4.q,k=n,i;J{i=k-n;o(a===w&&7.4[i]==x){a=i+1}}H(--n);8 a},3g:l(){8 S.2X(7.4)},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(y){8(F.13(y-x)<=17.16)?x:y})},1o:l(a){o(a.K){8 a.1o(7)}9 V=a.4||a;o(V.q!=7.4.q){8 w}9 b=0,2b;7.28(l(x,i){2b=x-V[i-1];b+=2b*2b});8 F.1x(b)},3a:l(a){8 a.1h(7)},2T:l(a){8 a.1h(7)},1V:l(t,a){9 V,R,x,y,z;2S(7.4.q){27 2:V=a.4||a;o(V.q!=2){8 w}R=S.1R(t).4;x=7.4[0]-V[0];y=7.4[1]-V[1];8 v.u([V[0]+R[0][0]*x+R[0][1]*y,V[1]+R[1][0]*x+R[1][1]*y]);1I;27 3:o(!a.U){8 w}9 C=a.1r(7).4;R=S.1R(t,a.U).4;x=7.4[0]-C[0];y=7.4[1]-C[1];z=7.4[2]-C[2];8 v.u([C[0]+R[0][0]*x+R[0][1]*y+R[0][2]*z,C[1]+R[1][0]*x+R[1][1]*y+R[1][2]*z,C[2]+R[2][0]*x+R[2][1]*y+R[2][2]*z]);1I;2P:8 w}},1t:l(a){o(a.K){9 P=7.4.2O();9 C=a.1r(P).4;8 v.u([C[0]+(C[0]-P[0]),C[1]+(C[1]-P[1]),C[2]+(C[2]-(P[2]||0))])}1d{9 Q=a.4||a;o(7.4.q!=Q.q){8 w}8 7.1b(l(x,i){8 Q[i-1]+(Q[i-1]-x)})}},1N:l(){9 V=7.1q();2S(V.4.q){27 3:1I;27 2:V.4.19(0);1I;2P:8 w}8 V},2n:l(){8'['+7.4.2K(', ')+']'},26:l(a){7.4=(a.4||a).2O();8 7}};v.u=l(a){9 V=25 v();8 V.26(a)};v.i=v.u([1,0,0]);v.j=v.u([0,1,0]);v.k=v.u([0,0,1]);v.2J=l(n){9 a=[];J{a.19(F.2F())}H(--n);8 v.u(a)};v.1j=l(n){9 a=[];J{a.19(0)}H(--n);8 v.u(a)};l S(){}S.23={e:l(i,j){o(i<1||i>7.4.q||j<1||j>7.4[0].q){8 w}8 7.4[i-1][j-1]},33:l(i){o(i>7.4.q){8 w}8 v.u(7.4[i-1])},2E:l(j){o(j>7.4[0].q){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][j-1])}H(--n);8 v.u(a)},2R:l(){8{2D:7.4.q,1p:7.4[0].q}},2D:l(){8 7.4.q},1p:l(){8 7.4[0].q},24:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(7.4.q!=M.q||7.4[0].q!=M[0].q){8 1L}9 b=7.4.q,15=b,i,G,10=7.4[0].q,j;J{i=15-b;G=10;J{j=10-G;o(F.13(7.4[i][j]-M[i][j])>17.16){8 1L}}H(--G)}H(--b);8 2x},1q:l(){8 S.u(7.4)},1b:l(a){9 b=[],12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;b[i]=[];J{j=10-G;b[i][j]=a(7.4[i][j],i+1,j+1)}H(--G)}H(--12);8 S.u(b)},2i:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}8(7.4.q==M.q&&7.4[0].q==M[0].q)},2j:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x+M[i-1][j-1]})},2C:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x-M[i-1][j-1]})},2B:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}8(7.4[0].q==M.q)},22:l(a){o(!a.4){8 7.1b(l(x){8 x*a})}9 b=a.1u?2x:1L;9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2B(M)){8 w}9 d=7.4.q,15=d,i,G,10=M[0].q,j;9 e=7.4[0].q,4=[],21,20,c;J{i=15-d;4[i]=[];G=10;J{j=10-G;21=0;20=e;J{c=e-20;21+=7.4[i][c]*M[c][j]}H(--20);4[i][j]=21}H(--G)}H(--d);9 M=S.u(4);8 b?M.2E(1):M},x:l(a){8 7.22(a)},32:l(a,b,c,d){9 e=[],12=c,i,G,j;9 f=7.4.q,1p=7.4[0].q;J{i=c-12;e[i]=[];G=d;J{j=d-G;e[i][j]=7.4[(a+i-1)%f][(b+j-1)%1p]}H(--G)}H(--12);8 S.u(e)},31:l(){9 a=7.4.q,1p=7.4[0].q;9 b=[],12=1p,i,G,j;J{i=1p-12;b[i]=[];G=a;J{j=a-G;b[i][j]=7.4[j][i]}H(--G)}H(--12);8 S.u(b)},1y:l(){8(7.4.q==7.4[0].q)},2A:l(){9 m=0,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(F.13(7.4[i][j])>F.13(m)){m=7.4[i][j]}}H(--G)}H(--12);8 m},2Z:l(x){9 a=w,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(7.4[i][j]==x){8{i:i+1,j:j+1}}}H(--G)}H(--12);8 w},30:l(){o(!7.1y){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][i])}H(--n);8 v.u(a)},1K:l(){9 M=7.1q(),1c;9 n=7.4.q,k=n,i,1s,1n=7.4[0].q,p;J{i=k-n;o(M.4[i][i]==0){2e(j=i+1;j<k;j++){o(M.4[j][i]!=0){1c=[];1s=1n;J{p=1n-1s;1c.19(M.4[i][p]+M.4[j][p])}H(--1s);M.4[i]=1c;1I}}}o(M.4[i][i]!=0){2e(j=i+1;j<k;j++){9 a=M.4[j][i]/M.4[i][i];1c=[];1s=1n;J{p=1n-1s;1c.19(p<=i?0:M.4[j][p]-M.4[i][p]*a)}H(--1s);M.4[j]=1c}}}H(--n);8 M},3h:l(){8 7.1K()},2z:l(){o(!7.1y()){8 w}9 M=7.1K();9 a=M.4[0][0],n=M.4.q-1,k=n,i;J{i=k-n+1;a=a*M.4[i][i]}H(--n);8 a},3f:l(){8 7.2z()},2y:l(){8(7.1y()&&7.2z()===0)},2Y:l(){o(!7.1y()){8 w}9 a=7.4[0][0],n=7.4.q-1,k=n,i;J{i=k-n+1;a+=7.4[i][i]}H(--n);8 a},3e:l(){8 7.2Y()},1Y:l(){9 M=7.1K(),1Y=0;9 a=7.4.q,15=a,i,G,10=7.4[0].q,j;J{i=15-a;G=10;J{j=10-G;o(F.13(M.4[i][j])>17.16){1Y++;1I}}H(--G)}H(--a);8 1Y},3d:l(){8 7.1Y()},2W:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}9 T=7.1q(),1p=T.4[0].q;9 b=T.4.q,15=b,i,G,10=M[0].q,j;o(b!=M.q){8 w}J{i=15-b;G=10;J{j=10-G;T.4[i][1p+j]=M[i][j]}H(--G)}H(--b);8 T},2w:l(){o(!7.1y()||7.2y()){8 w}9 a=7.4.q,15=a,i,j;9 M=7.2W(S.I(a)).1K();9 b,1n=M.4[0].q,p,1c,2v;9 c=[],2c;J{i=a-1;1c=[];b=1n;c[i]=[];2v=M.4[i][i];J{p=1n-b;2c=M.4[i][p]/2v;1c.19(2c);o(p>=15){c[i].19(2c)}}H(--b);M.4[i]=1c;2e(j=0;j<i;j++){1c=[];b=1n;J{p=1n-b;1c.19(M.4[j][p]-M.4[i][p]*M.4[j][i])}H(--b);M.4[j]=1c}}H(--a);8 S.u(c)},3c:l(){8 7.2w()},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(p){8(F.13(p-x)<=17.16)?x:p})},2n:l(){9 a=[];9 n=7.4.q,k=n,i;J{i=k-n;a.19(v.u(7.4[i]).2n())}H(--n);8 a.2K('\\n')},26:l(a){9 i,4=a.4||a;o(1g(4[0][0])!='1f'){9 b=4.q,15=b,G,10,j;7.4=[];J{i=15-b;G=4[i].q;10=G;7.4[i]=[];J{j=10-G;7.4[i][j]=4[i][j]}H(--G)}H(--b);8 7}9 n=4.q,k=n;7.4=[];J{i=k-n;7.4.19([4[i]])}H(--n);8 7}};S.u=l(a){9 M=25 S();8 M.26(a)};S.I=l(n){9 a=[],k=n,i,G,j;J{i=k-n;a[i]=[];G=k;J{j=k-G;a[i][j]=(i==j)?1:0}H(--G)}H(--n);8 S.u(a)};S.2X=l(a){9 n=a.q,k=n,i;9 M=S.I(n);J{i=k-n;M.4[i][i]=a[i]}H(--n);8 M};S.1R=l(b,a){o(!a){8 S.u([[F.1H(b),-F.1G(b)],[F.1G(b),F.1H(b)]])}9 d=a.1q();o(d.4.q!=3){8 w}9 e=d.1u();9 x=d.4[0]/e,y=d.4[1]/e,z=d.4[2]/e;9 s=F.1G(b),c=F.1H(b),t=1-c;8 S.u([[t*x*x+c,t*x*y-s*z,t*x*z+s*y],[t*x*y+s*z,t*y*y+c,t*y*z-s*x],[t*x*z-s*y,t*y*z+s*x,t*z*z+c]])};S.3b=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[1,0,0],[0,c,-s],[0,s,c]])};S.39=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[c,0,s],[0,1,0],[-s,0,c]])};S.38=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[c,-s,0],[s,c,0],[0,0,1]])};S.2J=l(n,m){8 S.1j(n,m).1b(l(){8 F.2F()})};S.1j=l(n,m){9 a=[],12=n,i,G,j;J{i=n-12;a[i]=[];G=m;J{j=m-G;a[i][j]=0}H(--G)}H(--12);8 S.u(a)};l 14(){}14.23={24:l(a){8(7.1m(a)&&7.1h(a.K))},1q:l(){8 14.u(7.K,7.U)},2U:l(a){9 V=a.4||a;8 14.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.U)},1m:l(a){o(a.W){8 a.1m(7)}9 b=7.U.1C(a.U);8(F.13(b)<=17.16||F.13(b-F.1A)<=17.16)},1o:l(a){o(a.W){8 a.1o(7)}o(a.U){o(7.1m(a)){8 7.1o(a.K)}9 N=7.U.2f(a.U).2q().4;9 A=7.K.4,B=a.K.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,D=7.U.4;9 b=P[0]-A[0],2a=P[1]-A[1],29=(P[2]||0)-A[2];9 c=F.1x(b*b+2a*2a+29*29);o(c===0)8 0;9 d=(b*D[0]+2a*D[1]+29*D[2])/c;9 e=1-d*d;8 F.13(c*F.1x(e<0?0:e))}},1h:l(a){9 b=7.1o(a);8(b!==w&&b<=17.16)},2T:l(a){8 a.1h(7)},1v:l(a){o(a.W){8 a.1v(7)}8(!7.1m(a)&&7.1o(a)<=17.16)},1U:l(a){o(a.W){8 a.1U(7)}o(!7.1v(a)){8 w}9 P=7.K.4,X=7.U.4,Q=a.K.4,Y=a.U.4;9 b=X[0],1z=X[1],1B=X[2],1T=Y[0],1S=Y[1],1M=Y[2];9 c=P[0]-Q[0],2s=P[1]-Q[1],2r=P[2]-Q[2];9 d=-b*c-1z*2s-1B*2r;9 e=1T*c+1S*2s+1M*2r;9 f=b*b+1z*1z+1B*1B;9 g=1T*1T+1S*1S+1M*1M;9 h=b*1T+1z*1S+1B*1M;9 k=(d*g/f+h*e)/(g-h*h);8 v.u([P[0]+k*b,P[1]+k*1z,P[2]+k*1B])},1r:l(a){o(a.U){o(7.1v(a)){8 7.1U(a)}o(7.1m(a)){8 w}9 D=7.U.4,E=a.U.4;9 b=D[0],1l=D[1],1k=D[2],1P=E[0],1O=E[1],1Q=E[2];9 x=(1k*1P-b*1Q),y=(b*1O-1l*1P),z=(1l*1Q-1k*1O);9 N=v.u([x*1Q-y*1O,y*1P-z*1Q,z*1O-x*1P]);9 P=11.u(a.K,N);8 P.1U(7)}1d{9 P=a.4||a;o(7.1h(P)){8 v.u(P)}9 A=7.K.4,D=7.U.4;9 b=D[0],1l=D[1],1k=D[2],1w=A[0],18=A[1],1a=A[2];9 x=b*(P[1]-18)-1l*(P[0]-1w),y=1l*((P[2]||0)-1a)-1k*(P[1]-18),z=1k*(P[0]-1w)-b*((P[2]||0)-1a);9 V=v.u([1l*x-1k*z,1k*y-b*x,b*z-1l*y]);9 k=7.1o(P)/V.1u();8 v.u([P[0]+V.4[0]*k,P[1]+V.4[1]*k,(P[2]||0)+V.4[2]*k])}},1V:l(t,a){o(1g(a.U)=='1f'){a=14.u(a.1N(),v.k)}9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,D=7.U.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 14.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*D[0]+R[0][1]*D[1]+R[0][2]*D[2],R[1][0]*D[0]+R[1][1]*D[1]+R[1][2]*D[2],R[2][0]*D[0]+R[2][1]*D[1]+R[2][2]*D[2]])},1t:l(a){o(a.W){9 A=7.K.4,D=7.U.4;9 b=A[0],18=A[1],1a=A[2],2N=D[0],1l=D[1],1k=D[2];9 c=7.K.1t(a).4;9 d=b+2N,2h=18+1l,2o=1a+1k;9 Q=a.1r([d,2h,2o]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2h)-c[1],Q[2]+(Q[2]-2o)-c[2]];8 14.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 14.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.U)}},1Z:l(a,b){a=v.u(a);b=v.u(b);o(a.4.q==2){a.4.19(0)}o(b.4.q==2){b.4.19(0)}o(a.4.q>3||b.4.q>3){8 w}9 c=b.1u();o(c===0){8 w}7.K=a;7.U=v.u([b.4[0]/c,b.4[1]/c,b.4[2]/c]);8 7}};14.u=l(a,b){9 L=25 14();8 L.1Z(a,b)};14.X=14.u(v.1j(3),v.i);14.Y=14.u(v.1j(3),v.j);14.Z=14.u(v.1j(3),v.k);l 11(){}11.23={24:l(a){8(7.1h(a.K)&&7.1m(a))},1q:l(){8 11.u(7.K,7.W)},2U:l(a){9 V=a.4||a;8 11.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.W)},1m:l(a){9 b;o(a.W){b=7.W.1C(a.W);8(F.13(b)<=17.16||F.13(F.1A-b)<=17.16)}1d o(a.U){8 7.W.2k(a.U)}8 w},2k:l(a){9 b=7.W.1C(a.W);8(F.13(F.1A/2-b)<=17.16)},1o:l(a){o(7.1v(a)||7.1h(a)){8 0}o(a.K){9 A=7.K.4,B=a.K.4,N=7.W.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;8 F.13((A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2])}},1h:l(a){o(a.W){8 w}o(a.U){8(7.1h(a.K)&&7.1h(a.K.2j(a.U)))}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=F.13(N[0]*(A[0]-P[0])+N[1]*(A[1]-P[1])+N[2]*(A[2]-(P[2]||0)));8(b<=17.16)}},1v:l(a){o(1g(a.U)=='1f'&&1g(a.W)=='1f'){8 w}8!7.1m(a)},1U:l(a){o(!7.1v(a)){8 w}o(a.U){9 A=a.K.4,D=a.U.4,P=7.K.4,N=7.W.4;9 b=(N[0]*(P[0]-A[0])+N[1]*(P[1]-A[1])+N[2]*(P[2]-A[2]))/(N[0]*D[0]+N[1]*D[1]+N[2]*D[2]);8 v.u([A[0]+D[0]*b,A[1]+D[1]*b,A[2]+D[2]*b])}1d o(a.W){9 c=7.W.2f(a.W).2q();9 N=7.W.4,A=7.K.4,O=a.W.4,B=a.K.4;9 d=S.1j(2,2),i=0;H(d.2y()){i++;d=S.u([[N[i%3],N[(i+1)%3]],[O[i%3],O[(i+1)%3]]])}9 e=d.2w().4;9 x=N[0]*A[0]+N[1]*A[1]+N[2]*A[2];9 y=O[0]*B[0]+O[1]*B[1]+O[2]*B[2];9 f=[e[0][0]*x+e[0][1]*y,e[1][0]*x+e[1][1]*y];9 g=[];2e(9 j=1;j<=3;j++){g.19((i==j)?0:f[(j+(5-i)%3)%3])}8 14.u(g,c)}},1r:l(a){9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=(A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2];8 v.u([P[0]+N[0]*b,P[1]+N[1]*b,(P[2]||0)+N[2]*b])},1V:l(t,a){9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,N=7.W.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 11.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*N[0]+R[0][1]*N[1]+R[0][2]*N[2],R[1][0]*N[0]+R[1][1]*N[1]+R[1][2]*N[2],R[2][0]*N[0]+R[2][1]*N[1]+R[2][2]*N[2]])},1t:l(a){o(a.W){9 A=7.K.4,N=7.W.4;9 b=A[0],18=A[1],1a=A[2],2M=N[0],2L=N[1],2Q=N[2];9 c=7.K.1t(a).4;9 d=b+2M,2p=18+2L,2m=1a+2Q;9 Q=a.1r([d,2p,2m]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2p)-c[1],Q[2]+(Q[2]-2m)-c[2]];8 11.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 11.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.W)}},1Z:l(a,b,c){a=v.u(a);a=a.1N();o(a===w){8 w}b=v.u(b);b=b.1N();o(b===w){8 w}o(1g(c)=='1f'){c=w}1d{c=v.u(c);c=c.1N();o(c===w){8 w}}9 d=a.4[0],18=a.4[1],1a=a.4[2];9 e=b.4[0],1W=b.4[1],1X=b.4[2];9 f,1i;o(c!==w){9 g=c.4[0],2l=c.4[1],2t=c.4[2];f=v.u([(1W-18)*(2t-1a)-(1X-1a)*(2l-18),(1X-1a)*(g-d)-(e-d)*(2t-1a),(e-d)*(2l-18)-(1W-18)*(g-d)]);1i=f.1u();o(1i===0){8 w}f=v.u([f.4[0]/1i,f.4[1]/1i,f.4[2]/1i])}1d{1i=F.1x(e*e+1W*1W+1X*1X);o(1i===0){8 w}f=v.u([b.4[0]/1i,b.4[1]/1i,b.4[2]/1i])}7.K=a;7.W=f;8 7}};11.u=l(a,b,c){9 P=25 11();8 P.1Z(a,b,c)};11.2I=11.u(v.1j(3),v.k);11.2H=11.u(v.1j(3),v.i);11.2G=11.u(v.1j(3),v.j);11.36=11.2I;11.35=11.2H;11.3j=11.2G;9 $V=v.u;9 $M=S.u;9 $L=14.u;9 $P=11.u;",
62,206,"||||elements|||this|return|var||||||||||||function|||if||length||||create|Vector|null|||||||||Math|nj|while||do|anchor||||||||Matrix||direction||normal||||kj|Plane|ni|abs|Line|ki|precision|Sylvester|A2|push|A3|map|els|else||undefined|typeof|contains|mod|Zero|D3|D2|isParallelTo|kp|distanceFrom|cols|dup|pointClosestTo|np|reflectionIn|modulus|intersects|A1|sqrt|isSquare|X2|PI|X3|angleFrom|mod1|C2|mod2|sin|cos|break|C3|toRightTriangular|false|Y3|to3D|E2|E1|E3|Rotation|Y2|Y1|intersectionWith|rotate|v12|v13|rank|setVectors|nc|sum|multiply|prototype|eql|new|setElements|case|each|PA3|PA2|part|new_element|round|for|cross|product|AD2|isSameSizeAs|add|isPerpendicularTo|v22|AN3|inspect|AD3|AN2|toUnitVector|PsubQ3|PsubQ2|v23|dot|divisor|inverse|true|isSingular|determinant|max|canMultiplyFromLeft|subtract|rows|col|random|ZX|YZ|XY|Random|join|N2|N1|D1|slice|default|N3|dimensions|switch|liesIn|translate|snapTo|augment|Diagonal|trace|indexOf|diagonal|transpose|minor|row|isAntiparallelTo|ZY|YX|acos|RotationZ|RotationY|liesOn|RotationX|inv|rk|tr|det|toDiagonalMatrix|toUpperTriangular|version|XZ".split("|"),
0,{}));
eval(function(b,e,c,d,f,g){f=function(b){return(b<e?"":f(parseInt(b/e)))+((b%=e)>35?String.fromCharCode(b+29):b.toString(36))};if(!"".replace(/^/,String)){for(;c--;)g[f(c)]=d[c]||f(c);d=[function(b){return g[b]}];f=function(){return"\\w+"};c=1}for(;c--;)d[c]&&(b=b.replace(RegExp("\\b"+f(c)+"\\b","g"),d[c]));return b}(";5(10.M)(w($){$.N({11:w(j,k){5(!j)t{};w B(d,e){5(!d)t y;6 f='',2=y,E=y;6 g=d.x,12=l(d.O||d.P);6 h=d.v||d.F||'';5(d.G){5(d.G.7>0){$.Q(d.G,w(n,a){6 b=a.x,u=l(a.O||a.P);6 c=a.v||a.F||'';5(b==8){t}z 5(b==3||b==4||!u){5(c.13(/^\\s+$/)){t};f+=c.H(/^\\s+/,'').H(/\\s+$/,'')}z{2=2||{};5(2[u]){5(!2[u].7)2[u]=p(2[u]);2[u][2[u].7]=B(a,R);2[u].7=2[u].7}z{2[u]=B(a)}}})}};5(d.I){5(d.I.7>0){E={};2=2||{};$.Q(d.I,w(a,b){6 c=l(b.14),C=b.15;E[c]=C;5(2[c]){5(!2[c].7)2[c]=p(2[c]);2[c][2[c].7]=C;2[c].7=2[c].7}z{2[c]=C}})}};5(2){2=$.N((f!=''?A J(f):{}),2||{});f=(2.v)?(D(2.v)=='16'?2.v:[2.v||'']).17([f]):f;5(f)2.v=f;f=''};6 i=2||f;5(k){5(f)i={};f=i.v||f||'';5(f)i.v=f;5(!e)i=p(i)};t i};6 l=w(s){t J(s||'').H(/-/g,\"18\")};6 m=w(s){t(D s==\"19\")||J((s&&D s==\"K\")?s:'').1a(/^((-)?([0-9]*)((\\.{0,1})([0-9]+))?$)/)};6 p=w(o){5(!o.7)o=[o];o.7=o.7;t o};5(D j=='K')j=$.S(j);5(!j.x)t;5(j.x==3||j.x==4)t j.F;6 q=(j.x==9)?j.1b:j;6 r=B(q,R);j=y;q=y;t r},S:w(a){6 b;T{6 c=($.U.V)?A 1c(\"1d.1e\"):A 1f();c.1g=W}X(e){Y A L(\"Z 1h 1i 1j 1k 1l\")};T{5($.U.V)b=(c.1m(a))?c:W;z b=c.1n(a,\"v/1o\")}X(e){Y A L(\"L 1p Z K\")};t b}})})(M);",62,
88,"||obj|||if|var|length||||||||||||||||||||||return|cnn|text|function|nodeType|null|else|new|parseXML|atv|typeof|att|nodeValue|childNodes|replace|attributes|String|string|Error|jQuery|extend|localName|nodeName|each|true|text2xml|try|browser|msie|false|catch|throw|XML|window|xml2json|nn|match|name|value|object|concat|_|number|test|documentElement|ActiveXObject|Microsoft|XMLDOM|DOMParser|async|Parser|could|not|be|instantiated|loadXML|parseFromString|xml|parsing".split("|"),0,{}));
var imgLogo="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11e1c387,90f1ca95,e0f2c791,61efc088,0,0,0,0,0,0,0,0,11e1b487,90f1bf8a,e0f0b982,61efb279,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71f3d2a2,f0f3cf9d,fff5cd99,fff5c992,fff5c38c,c0f2bd83,31eab67d,0,0,0,0,0,71f3d4a5,f0f3ce9b,fff5c892,fff4c088,fff3b97e,c0efaf74,31eaa668,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41f3d8ad,d0f3d7aa,fff7d6a6,fff6d29f,fff5cd99,fff5c992,fff5c38c,fff4bf86,fff3bb80,a0efb479,11e1a569,0,41f3e0b4,d0f5e0b6,fff7dcaf,fff7d5a4,fff5cd99,fff5c48e,fff3bd84,fff3b67a,fff1af71,a0edac6c,11e1965a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,81d38477,fff8dfb3,fff7daac,fff7d6a6,fff6d29f,fff5cd99,fff5c992,fff5c38c,fff4bf86,fff3bb80,fff3b67b,f0efb074,b0da9177,fff8e5bb,fff8e5bb,fff8e1b6,fff7d9aa,fff6d29f,fff5ca94,fff4c28a,fff3ba80,fff2b376,fff1ae6f,f0eeac6d,51e68e5e,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffc04d4f,ffe6ae8f,fff7d6a6,fff6d29f,fff5cd99,fff5c992,fff5c38c,fff4bf86,fff3bb80,fff0a772,ffdf5845,ffba2b36,ffc04f51,ffe7b69b,fff8e4ba,fff8deb1,fff7d6a6,fff6cf9b,fff5c790,fff4bf86,fff3b77c,ffefa26b,ffdf5643,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffb32c39,ffb32c39,ffc9615b,ffeebc92,fff5cd99,fff5c992,fff5c38c,fff3b982,fff0865e,ffe34938,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffc96662,fff0cba7,fff7dbad,fff6d3a1,fff5cb96,fff4bd88,fff0875e,ffe34938,ffd7302f,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffb32c39,ffb32c39,ffb32c39,ffb7363f,ffd57c68,fff1be8d,fff4ad7e,fff37453,ffee543c,ffe24234,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffb32c39,ffb73741,ffd68475,fff3cda1,fff5b589,fff37555,ffee543c,ffe24234,ffd7302f,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd56157,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd56259,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0b12a38,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,81ce262b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11d25a4b,d0bb383d,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,ffba2b36,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,ffe24234,ffd7302f,71cd242b,0,0,0,0,0,0,0,0,0,0,0,0,0,61e77e61,f0e57559,ffe56c54,ffd65648,ffb8323b,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,f0e04133,61d52f2d,11a51e2d,90af2a37,ffb32c39,ffb32c39,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,ffee543c,f0e04133,61d52f2d,0,0,0,0,0,0,0,0,0,0,0,0,31ef8c72,c0f08b70,ffef8469,ffeb7b60,ffe77258,ffe36850,ffe05e49,ffcb433e,ffb52e39,ffb32c39,ffd55d55,fff47f62,fff36a4d,81eb533b,11d23c2d,0,0,0,31ac2a34,c0b12a38,ffb32c39,ffb32c39,ffd55d55,fff47f62,fff36a4d,81eb533b,11d23c2d,0,0,0,0,0,0,0,0,0,0,0,11e18769,a0f29376,fff69578,fff59276,fff18a6d,ffed8065,ffe9775d,ffe56e55,ffe2644d,ffde5945,ffd84d3e,ffc03639,ffd55d55,c0f27f61,21e8644d,0,0,0,0,0,0,0,61b02a37,e0b02b38,ffd55d55,c0f27f61,21e8644d,0,0,0,0,0,0,0,0,0,0,0,0,0,c0ab304a,ffdb7068,fff69578,fff69578,fff38f72,ffef856a,ffeb7c61,ffe77359,ffe46951,ffe05f4a,ffdc5542,ffd4483b,90b83939,0,0,0,0,0,0,0,0,0,0,11a51e2d,31c14949,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ffb2374f,ffef8c74,fff59376,fff28b6f,ffed8166,ffe9785e,ffe66f56,ffe2654e,ffc0413c,ffa12732,819a242f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ff8a0036,ff91093a,ffbf4a57,fff49073,fff0876b,ffec7d62,ffdc6453,ffb5353b,ffa62934,ff9f2632,819a242f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ff97123e,ffda675f,ffd3504d,ffbc343d,ffb3303a,ffaa2b36,ffa22833,819a242f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ffae203e,ffcc3c43,ffc1373f,ffb7323b,ffae2d38,ffa62934,819e2631,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ffb1223f,ffd03f45,ffc73a41,ffbc343d,ffb32f3a,ffaa2b36,81a22831,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0870035,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ffb42340,ffd64247,ffcb3c43,ffc0373f,ffb7323b,ffae2d38,81a62a33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,81880035,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ff8a0036,ffb72441,ffdc4549,ffd03f44,ffc53940,ffbb343d,ffb16a7c,d0a9afcc,31a1c1e0,0,0,0,0,0,0,0,0,0,71abc9e6,b0a8c7e6,41a1c4e3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41850033,d0880035,ff8a0036,ff8a0036,ff8a0036,ffba2642,ffe1484b,ffd54246,ffc7616d,ffb7b2cc,ffb0cdec,ffabcaea,ffa6c7e9,909fbfe4,1187b4d2,0,0,0,0,0,41b4cce7,d0b3cde8,ffb0cdec,ffabcaea,ffa6c7e9,a09ec1e5,1187b4d2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61860034,f0880035,ff8a0036,ffbc2743,ffe35d62,ffca9fb0,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,f09abee3,7195bbe1,0,0,21b9d1e8,b0bcd3ec,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,f09abee3,7195bbe1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1178002d,90880035,ffa05a78,ffc8d1e7,ffbfd6f0,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff9cc0e6,ff98bee5,d090bae2,908eacc6,f0c2d8ee,ffbfd6f0,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff9cc0e6,ff98bee5,e091b9e2,318cb1db,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff3f677e,ffa8c1db,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff9cc0e6,ff98bee5,ff4988ba,ff0c4161,ff3f677e,ffa8c1db,ffbad3ee,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff9cc0e6,ff8eb8e0,ff4988ba,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff103d55,ff5e829c,ffb5d0ed,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff6ea4d0,ff1369a0,ff005591,ff033a5b,ff04334b,ff04334b,ff5e829c,ffaac5e2,ffb0cdec,ffabcaea,ffa6c7e9,ffa1c3e8,ff6ea4d0,ff1369a0,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff04334b,ff04334b,ff19465f,ff7a9cb9,ffabcaea,ff99bce1,ff4985b5,ff10669e,ff005d97,ff005591,ff033a5b,ff04334b,ff04334b,ff04334b,ff19465f,ff7a9cb9,ffabcaea,ff93b7dd,ff4985b5,ff10669e,ff005d97,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff447092,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,ff033a5b,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff3e6b8e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,ff033a5b,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,ff033a5b,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,ff033a5b,ff04334b,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,ff005591,81004d8a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31002f49,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,8100558e,41003756,c0033249,ff04334b,ff04334b,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,ff10669e,ff005d97,8100558e,11004b78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61033249,e003324a,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,c011659d,21005593,0,0,0,51032f48,e003324a,ff04334b,ff04334b,ff28597e,ff4279ac,ff2d71a5,b011659c,21005593,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11002d3c,81043149,ff04334b,ff28597e,e04277a9,512f6ea0,0,0,0,0,0,0,11002d3c,81043149,f003324a,ff28597e,e04277a9,412f6ea1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21002e46,71225173,0,0,0,0,0,0,0,0,0,0,21002e46,71225173,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",CU3ERPlayer=
{stage:"#cu3er",slides:".CU3ERslides",json:null,jsonOriginal:null,slidesTotal:0,no:0,xml:null,current:0,nextSlide:0,rnd:null,transition:null,originalJSONelements:null,elements:null,tempTimeout:[],randomise:"false",a:0,totalInd:3,images:null,autoplay:!1,loop:0,doCheck:!0,mOver:!1,currentLoop:1,debugMode:!1,canvasSupported:!1,paused:!1,pauseType:0,inTransition:!0,directionReverse:!1,keyboardControlls:!0,rollOverPause:!1,support3d:!1,disable3d:!1,touchable:!1,displayVersion:null,licenseStr:"",level:2,
devices_2d:["CPU OS 3_2","CPU OS 3_3","CPU OS 3_4","CPU OS 3_5","CPU OS 3_6","CPU OS 3_7","CPU OS 3_8","CPU OS 3_9","CPU OS 4_0","CPU OS 4_1","CPU OS 4_2"],simple_devices:["Android 2.1","Android 1.6","Android 1.5","Apple-iPhone1C2","Apple-iPhone/50"," Apple-iPhone/701"," Apple-iPhone/703"],nextFlag:!0,force_simple:!1,easingValues:{"Sine.easeInOut":"easeInOutSine","Sine.easeOut":"easeOutSine","Sine.easeIn":"easeInSine","Bounce.easeOut":"easeOutBounce","Bounce.easeInOut":"easeInOutBounce","Bounce.easeIn":"easeInBounce",
"Elastic.easeOut":"easeOutElastic","Elastic.easeInOut":"easeInOutElastic","Elastic.easeIn":"easeInElastic","Expo.easeOut":"easeOutExpo","Expo.easeInOut":"easeInOutExpo","Expo.easeIn":"easeInExpo","Sine.easeIn.3d":"cubic-bezier(0.42, 0, 1, 1)","Sine.easeOut.3d":"cubic-bezier(0, 0, 0.58, 1)","Sine.easeInOut.3d":"cubic-bezier(0.42, 0, 0.58, 1)","Elastic.easeIn.3d":"cubic-bezier(0.5, 0, 1, 0)","Elastic.easeOut.3d":"cubic-bezier(1, 0, 0.5, 1)","Elastic.easeInOut.3d":"cubic-bezier(1, 0, 0.7, 1)","Bounce.easeIn.3d":"cubic-bezier(0, 0.35, .5, 1)",
"Bounce.easeOut.3d":"cubic-bezier(0, 0.5, 0.35, 1)","Bounce.easeInOut.3d":"cubic-bezier(0, 0.7, 0, 1)","Expo.easeIn.3d":"cubic-bezier(0.5, 0, 0.7, 0)","Expo.easeOut.3d":"cubic-bezier(1, 0, 0.5, 1)","Expo.easeInOut.3d":"cubic-bezier(1, 0.3, 0, 1)"},initJS:function(b){var e=this.id;this.check3D();var c=jQuery("script:regex(src, jquery.cu3er.js)"),d=typeof b.vars.css_location!="undefined"&&b.vars.css_location!=""?b.vars.css_location:c.attr("src").replace(/js\/jquery\.cu3er\.js/,"")+"css/CU3ER.css",f=
document.createElement("link");f.setAttribute("rel","stylesheet");f.setAttribute("type","text/css");f.setAttribute("href",d);document.getElementsByTagName("head")[0].appendChild(f);jQuery.browser.msie&&(d=typeof b.vars.css_location!="undefined"&&b.vars.css_location!=""?b.vars.css_location.replace(/\.css/,"ieFix.css"):c.attr("src").replace(/js\/jquery\.cu3er\.js/,"")+"css/CU3ERieFix.css",f=document.createElement("link"),f.setAttribute("rel","stylesheet"),f.setAttribute("type","text/css"),f.setAttribute("href",
d),document.getElementsByTagName("head")[0].appendChild(f));this.debugMode=typeof b.vars.debug!="undefined"?b.vars.debug:!1;this.stage="#"+e;this.slides=this.stage+" .CU3ERslides";this.disable3d=typeof b.vars.js_disable_3d!="undefined"&&b.vars.js_disable_3d==!0?!0:!1;this.checkTouch();this.keyboardControlls=typeof b.vars.keyboard_controlls!="undefined"&&b.vars.keyboard_controlls==!1?!1:!0;this.checkCanvas();jQuery(this.stage).css("margin","0 auto").empty().append('<div class="CU3ERlayer"></div><div class="CU3ERslides"><div class="CU3ERslides-holder"></div><div class="CU3ERtransition-holder"></div></div>').css({"z-index":400});
jQuery(this.stage+" .CU3ERlayer").css({position:"absolute",top:0,left:0,width:"100%",height:"100%","z-index":1E3,display:"block"});if(typeof b.vars.force_2d_devices=="object")this.devices_2d=jQuery.extend(!0,{},this.devices_2d,b.vars.force_2d_devices);for(i in this.devices_2d)if(navigator.userAgent.toLowerCase().indexOf(String(this.devices_2d[i]).toLowerCase())!=-1)CU3ER[e].level=1,this.support3d=!1;if(typeof b.vars.force_simple_devices=="object")this.simple_devices=jQuery.extend(!0,{},this.simple_devices,
b.vars.force_simple_devices);for(i in this.simple_devices)if(navigator.userAgent.toLowerCase().indexOf(String(this.simple_devices[i]).toLowerCase())!=-1)CU3ER[e].level=0,this.support3d=!1,this.force_simple=!0;if(typeof b.vars.force_2d!="undefined"&&b.vars.force_2d==!0)CU3ER[e].level=1,this.support3d=!1;if(typeof b.vars.force_simple!="undefined"&&b.vars.force_simple==!0)CU3ER[e].level=0,this.support3d=!1,this.force_simple=!0;if(typeof b.vars.xml_location!="undefined"&&b.vars.xml_location!="")jQuery.get(b.vars.xml_location,
function(c){setTimeout(function(){CU3ER[e].initPlayer(c,b)},75)});else{var g=this.decodeXML(b.vars.xml_encoded),g=g.replace(RegExp(/\+/g)," ");setTimeout(function(){CU3ER[e].initPlayer(g,b)},75)}},decodeXML:function(b){arr=b.split("%3C%21%5BCDATA%5B");arrFinal=[];arrFinal.push(decodeURIComponent(arr[0]));for(var b=function(b){arrPerc=b.split("%25");for(b=0;b<arrPerc.length;b++)arrPerc[b]=decodeURIComponent(arrPerc[b]);return arrPerc.join("%")},e=1;e<arr.length;e++)arr2=arr[e].split("%5D%5D%3E"),arrFinal.push(b(arr2[0])+
"]]\>"+decodeURIComponent(arr2[1]));return strFinal=arrFinal.join("<![CDATA[")},initPlayer:function(b,e){var c=this.id;CU3ER[c].xml=b;json=jQuery.xml2json(b);json2=jQuery.xml2json(b,!0);json.settings.width=typeof e.vars.width!="undefined"?e.vars.width:json.project_settings.width;json.settings.height=typeof e.vars.height!="undefined"?e.vars.height:json.project_settings.height;if(typeof e.vars.folder_images!="undefined")json.settings.folder_images=e.vars.folder_images;CU3ER[c].json=json;CU3ER[c].json.custom=
typeof e.custom!="undefined"?e.custom:{};json.slides.transition=null;json.slides.transition=json2.slides[0].transition;switch(this.level){case 2:CU3ER[c].displayVersion=CU3ER[c].support3d?"JS-3D":CU3ER[c].isCameraFlat()?"JS-Slicing":"JS-Simple";break;case 1:CU3ER[c].displayVersion=CU3ER[c].isCameraFlat()?"JS-Slicing":"JS-Simple";break;case 0:CU3ER[c].displayVersion="JS-Simple"}this.onSliderInit();if(typeof e.vars.xml_encoded!="undefined"&&e.vars.xml_encoded!=""&&typeof e.vars.xml_location!="undefined"&&
e.vars.xml_location!=""){var d=this.decodeXML(e.vars.xml_encoded),d=d.replace(RegExp(/\+/g)," "),f=jQuery.xml2json(d,!0),d=jQuery.xml2json(d);if(typeof d.licence!="undefined")CU3ER[c].licenseStr=d.licence;if(typeof d.settings!="undefined"){if(typeof d.settings.folder_images!="undefined")json.settings.folder_images=d.settings.folder_images;if(typeof d.settings.background!="undefined")json.settings.background=d.settings.background;if(typeof d.settings.auto_play!="undefined")json.settings.auto_play=
d.settings.auto_play;if(typeof d.settings.start_slide!="undefined")json.settings.start_slide=d.settings.start_slide;if(typeof d.settings.randomize_slides!="undefined")json.settings.randomize_slides=d.settings.randomize_slides;if(typeof d.settings.loop!="undefined")json.settings.loop=d.settings.loop;if(typeof d.settings.branding!="undefined")json.settings.branding=d.settings.branding;if(typeof d.settings.camera!="undefined")json.settings.camera=d.settings.camera;if(typeof d.settings.shadow!="undefined")json.settings.shadow=
d.settings.shadow}if(typeof d.slides.slide!="undefined")json.slides.slide=d.slides.slide;if(typeof f.slides[0].transition!="undefined")json.slides.transition=f.slides[0].transition;if(typeof d.defaults!="undefined"){if(typeof d.defaults.slide!="undefined")json.defaults.slide=d.defaults.slide;if(typeof f.defaults.transition!="undefined")json.defaults.transition=f.defaults.transition}if(typeof f.preloader!="undefined"){if(typeof d.preloader.image!="undefined")json.preloader.image=d.preloader.image;
if(typeof d.preloader.background!="undefined")json.preloader.background=d.preloader.background;if(typeof d.preloader.loader!="undefined")json.preloader.loader=d.preloader.loader}if(typeof f.controls!="undefined"){if(typeof d.controls.next_button!="undefined")json.controls.next_button=d.controls.next_button;if(typeof d.controls.prev_button!="undefined")json.controls.prev_button=d.controls.prev_button;if(typeof d.controls.auto_play_indicator!="undefined")json.controls.auto_play_indicator=d.controls.auto_play_indicator}if(typeof d.description!=
"undefined")json.description=d.description;if(typeof f.thumbnails!="undefined")json.thumbnails=f.thumbnails}json2=null;CU3ER[c].jsonOriginal=jQuery.extend(!0,{},json);CU3ER[c].randomise=json.settings.randomize_slides;CU3ER[c].autoplay=typeof json.settings.auto_play!="undefined"?json.settings.auto_play:CU3ER[c].autoplay;CU3ER[c].loop=typeof json.settings.loop!="undefined"?json.settings.loop:CU3ER[c].loop;CU3ER[c].current=typeof json.settings.start_slide!="undefined"?parseInt(json.settings.start_slide)-
1:CU3ER[c].current;CU3ER[c].current=typeof e.vars.start_slide!="undefined"?parseInt(e.vars.start_slide)-1:CU3ER[c].current;CU3ER[c].nextSlide=CU3ER[c].current;if((e.vars.pause_on_rollover==!0||typeof json.settings.pause_on_rollover!="undefined"&&json.settings.pause_on_rollover=="true")&&!CU3ER[c].isTouch())CU3ER[c].rollOverPause=!0;CU3ER[c].isTouch()&&jQuery(CU3ER[c].stage).swipe({swipeLeft:function(){if(!CU3ER[c].inTransition)CU3ER[c].inTransition=!0,CU3ER[c].doCheck=!1,setTimeout(function(){CU3ER[c].next()},
50)},swipeRight:function(){if(!CU3ER[c].inTransition)CU3ER[c].inTransition=!0,CU3ER[c].doCheck=!1,setTimeout(function(){CU3ER[c].prev()},50)},threshold:50});if(typeof json.controls.prev_button!="undefined")typeof json.controls.prev_button.symbol!="undefined"&&CU3ER[c].totalInd++,json.controls.prev_button.type="prev",json.controls.prev_button.type1="Prev",CU3ER[c].drawButtons(json.controls.prev_button,json.slides.width,json.slides.height,json.settings.width,json.settings.height);if(typeof json.controls.next_button!=
"undefined")typeof json.controls.next_button.symbol!="undefined"&&CU3ER[c].totalInd++,json.controls.next_button.type="next",json.controls.next_button.type1="Next",CU3ER[c].drawButtons(json.controls.next_button,json.slides.width,json.slides.height,json.settings.width,json.settings.height);CU3ER[c].currSlideNo=CU3ER[c].current+1;jQuery(CU3ER[c].stage).css({width:parseInt(json.settings.width)+"px",height:parseInt(json.settings.height)+"px",position:"relative",overflow:"hidden",outline:"none","font-size":0});
jQuery(CU3ER[c].slides).css({width:Math.round(parseFloat(json.slides.width))+"px",height:Math.round(parseFloat(json.slides.height))+"px",outline:"none"});CU3ER[c].drawProgressBar(typeof CU3ER[c].json.preloader.image!="undefined"?{type:"sliderLoad",width:CU3ER[c].json.preloader.image.width,height:CU3ER[c].json.preloader.image.height,loaderTweenShowTint:CU3ER[c].json.preloader.loader.tweenShow.tint,loaderTreenOverTint:CU3ER[c].json.preloader.loader.tweenOver.tint,loaderTweenShowAlpha:CU3ER[c].json.preloader.image.alpha_loader,
loaderTweenOverAlpha:CU3ER[c].json.preloader.image.alpha_loader,bgTweenShowAlpha:CU3ER[c].json.preloader.image.alpha_bg,bgTweenOverAlpha:CU3ER[c].json.preloader.image.alpha_bg,bgTweenShowTint:CU3ER[c].json.preloader.background.tweenShow.tint,bgTweenOverTint:CU3ER[c].json.preloader.background.tweenOver.tint,image:CU3ER[c].json.settings.folder_images+"/fallback/preloader_image.png",posX:CU3ER[c].json.preloader.image.x,posY:CU3ER[c].json.preloader.image.y,align_pos:CU3ER[c].json.preloader.image.align_pos,
align_to:CU3ER[c].json.preloader.image.align_to,padding:0,shape:CU3ER[c].json.preloader.type,radius:typeof CU3ER[c].json.preloader.radius!="undefined"?CU3ER[c].json.preloader.radius:null}:{type:"sliderLoad",width:typeof CU3ER[c].json.preloader.width!="undefined"?CU3ER[c].json.preloader.width:null,height:typeof CU3ER[c].json.preloader.height!="undefined"?CU3ER[c].json.preloader.height:null,loaderTweenShowTint:CU3ER[c].json.preloader.loader.tweenShow.tint,loaderTreenOverTint:CU3ER[c].json.preloader.loader.tweenOver.tint,
loaderTweenShowAlpha:CU3ER[c].json.preloader.loader.tweenShow.alpha,loaderTweenOverAlpha:CU3ER[c].json.preloader.loader.tweenOver.alpha,bgTweenShowAlpha:CU3ER[c].json.preloader.background.tweenShow.alpha,bgTweenOverAlpha:CU3ER[c].json.preloader.background.tweenOver.alpha,bgTweenShowTint:CU3ER[c].json.preloader.background.tweenShow.tint,bgTweenOverTint:CU3ER[c].json.preloader.background.tweenOver.tint,image:typeof CU3ER[c].json.preloader.image!="undefined"?CU3ER[c].json.settings.folder_images+"/fallback/preloader_image.png":
null,posX:CU3ER[c].json.preloader.x,posY:CU3ER[c].json.preloader.y,align_pos:CU3ER[c].json.preloader.align_pos,align_to:CU3ER[c].json.preloader.align_to=="stage"?"stage":"slides",padding:CU3ER[c].json.preloader.background.padding,shape:CU3ER[c].json.preloader.type,radius:typeof CU3ER[c].json.preloader.radius!="undefined"?CU3ER[c].json.preloader.radius:null});CU3ER[c].updateIndicator(++CU3ER[c].a,CU3ER[c].totalInd,CU3ER[c].stage+" .CU3ERindicator",!0);if(e.vars.pause_on_rollover==!0||typeof json.settings.pause_onrollover!=
"undefined"&&json.settings.pause_on_rollover=="true")CU3ER[c].rollOverPause=!0;CU3ER[c].debug("xml loaded");CU3ER[c].is3D()?typeof json.settings.background.image!="undefined"&&json.settings.background.image.use_image=="true"?(json.settings.background.color.transparent=="false"&&jQuery(CU3ER[c].stage).css("backgroundColor",json.settings.background.color.text.replace("0x","#")),jQuery(CU3ER[c].stage).prepend('<div class="CU3ERbackground"></div>'),CU3ER[c].drawBackground(json.settings.background)):(CU3ER[c].updateIndicator(++CU3ER[c].a,
CU3ER[c].totalInd,CU3ER[c].stage+" .CU3ERindicator",!0),typeof json.settings.background.color.transparent!="undefined"&&json.settings.background.color.transparent=="true"?jQuery(CU3ER[c].stage).css("backgroundColor","transparent"):jQuery(CU3ER[c].stage).css("backgroundColor",json.settings.background.color.text.replace("0x","#"))):(jQuery(CU3ER[c].stage).prepend('<div class="CU3ERbackground"></div>'),CU3ER[c].drawBackground(json.settings.background));CU3ER[c].debug("background loaded");CU3ER[c].drawSlides(json.slides,
json.defaults,json.settings,json.thumbnails);typeof json.description!="undefined"&&CU3ER[c].drawDescription(json.description)},drawBackground:function(b){var e=this.id,c=this.el;if(CU3ER[e].is3D()){var d=/https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?/.test(CU3ER[e].json.settings.background.image.url)?CU3ER[e].json.settings.background.image.url:CU3ER[e].json.settings.folder_images+"/"+CU3ER[e].json.settings.background.image.url,f=new Image;jQuery(f).attr("src",d).bind("load",function(){CU3ER[e].updateIndicator(++CU3ER[e].a,
CU3ER[e].totalInd,CU3ER[e].stage+" .CU3ERindicator",!0);var g=[];g[0]=typeof b.image.scaleX!="undefined"?parseFloat(b.image.scaleX):1;g[1]=typeof b.image.scaleY!="undefined"?parseFloat(b.image.scaleY):1;var k=f.width*g[0],h=f.height*g[1];cssBgd=CU3ER[e].calculatePosition({align_pos:typeof b.image.align_pos!="undefined"?b.image.align_pos:"TL",x:typeof b.image.x!="undefined"?b.image.x:0,y:typeof b.image.y!="undefined"?b.image.y:0,width:k,height:h,fullWidth:CU3ER[e].json.settings.width,fullHeight:CU3ER[e].json.settings.height});
cssBgdFixed={width:k+"px",height:h+"px",position:"absolute",backgroundColor:typeof b.color.transparent!="undefined"&&b.color.transparent=="true"?"transparent":b.color.text.replace("0x","#"),zIndex:"-1",display:"none"};cssBgd=jQuery.extend(cssBgdFixed,cssBgd);jQuery(".CU3ERbackground",c).css(cssBgd).append('<img src="'+d+'" />').find("img").css({WebkitTransform:"scaleX("+g[0]+") scaleY("+g[1]+")","WebkitTransform-origin":"top left"})})}else d=CU3ER[e].json.settings.folder_images+"/fallback/bg.png",
f=new Image,jQuery(f).attr("src",d).bind("load",function(){CU3ER[e].updateIndicator(++CU3ER[e].a,CU3ER[e].totalInd,CU3ER[e].stage+" .CU3ERindicator",!0);cssBgd=CU3ER[e].calculatePosition({align_pos:"TL",x:0,y:0,width:f.width,height:f.height,fullWidth:CU3ER[e].json.settings.width,fullHeight:CU3ER[e].json.settings.height});cssBgdFixed={width:f.width+"px",height:f.height+"px",position:"absolute",background:'url("'+d+'") top left no-repeat',zIndex:"-1",display:"none"};cssBgd=jQuery.extend(cssBgdFixed,
cssBgd);jQuery(".CU3ERbackground",c).css(cssBgd)})},drawSlides:function(b,e,c,d){var f=this.id,g=this.el;if(typeof b.slide.length=="undefined"){var k=b.slide;b.slide=[];b.slide[0]=k}var h={title:{x:0,y:0,width:90,height:62,font:"Arial",text_size:12,text_bold:"false",text_italic:"false",text_align:"left",text_leading:0,text_letterspacing:0,use_caption:"false",use_heading:"false",use_numbering:"false",use_numbering_separator:".",tweenShow:{tint:"#ffffff",alpha:0.75},tweenOver:{tint:"#ffffff",alpha:1},
tweenSelected:{tint:"#fffff0",alpha:0.75}}},k={flipDepth:"300"},n={time:5,color:"0x000000",image:{align_pos:"TL",x:0,y:0,scaleX:1,scaleY:1}};if(CU3ER[f].is3D()){slides1=jQuery.extend(!0,{},e,b);this.originalJSONelements=b=jQuery.extend(e,b);for(i in CU3ER[f].json.slides.slide)if(typeof i=="number"||!isNaN(i))CU3ER[f].json.slides.slide[i].originalPosition=i;if(CU3ER[f].randomise=="true")CU3ER[f].json.slides.slide=jQuery.shuffle(CU3ER[f].json.slides.slide);if(typeof options!="undefined"&&options.vars.reverse==
!0||b.reverse=="true")CU3ER[f].json.slides.slide=CU3ER[f].json.slides.slide.reverse(),CU3ER[f].json.slides.transition=CU3ER[f].json.slides.transition.reverse();for(i in CU3ER[f].json.slides.slide)if(typeof i=="number"||!isNaN(i))CU3ER[f].slidesOrder[i]=parseInt(CU3ER[f].json.slides.slide[i].originalPosition)+1;typeof d!="undefined"&&(d=jQuery.extend(h,d));typeof d!="undefined"&&(e=d.align_to=="stage"?this.stage:this.slides,jQuery(e).append('<div class="CU3ERthumbs"><div class="CU3ERThumbsScroll"><div class="CU3ERthumbsBG"></div><div class="CU3ERthumbs-holder"></div></div></div>'));
if(typeof CU3ER[f].json.settings.camera=="undefined")CU3ER[f].json.settings=jQuery.extend({camera:{x:0,y:0,z:0,angleX:0,angleY:0,angleZ:0,lend:8}},CU3ER[f].json.settings);var h=typeof CU3ER[f].json.custom.x!="undefined"?CU3ER[f].json.custom.x:CU3ER[f].json.settings.camera.x,q=typeof CU3ER[f].json.custom.y!="undefined"?CU3ER[f].json.custom.y:-parseFloat(CU3ER[f].json.settings.camera.y),r=typeof CU3ER[f].json.custom.z!="undefined"?CU3ER[f].json.custom.z:CU3ER[f].json.settings.camera.z,o=typeof CU3ER[f].json.custom.angleX!=
"undefined"?CU3ER[f].json.custom.angleX:CU3ER[f].json.settings.camera.angleX,m=typeof CU3ER[f].json.custom.angleY!="undefined"?CU3ER[f].json.custom.angleY:parseFloat(CU3ER[f].json.settings.camera.angleY),s=typeof CU3ER[f].json.custom.angleZ!="undefined"?CU3ER[f].json.custom.angleZ:CU3ER[f].json.settings.camera.angleZ,e=typeof CU3ER[f].json.custom.lens!="undefined"?CU3ER[f].json.custom.lens:parseInt(CU3ER[f].json.settings.camera.lens)*100,h=typeof h=="undefined"||isNaN(h)?0:h,q=typeof q=="undefined"||
isNaN(q)?0:q,r=typeof r=="undefined"||isNaN(r)?0:r,o=typeof o=="undefined"||isNaN(o)?0:o,m=typeof m=="undefined"||isNaN(m)?0:m,s=typeof s=="undefined"||isNaN(s)?0:s,e=typeof e=="undefined"||isNaN(e)?800:e,u,p,v,t;u=Math.PI/180;p=-o;v=m;t=s;var x;p=$M([[1,0,0,0],[0,Math.cos(p*u),Math.sin(-p*u),0],[0,Math.sin(p*u),Math.cos(p*u),0],[0,0,0,1]]);v=$M([[Math.cos(v*u),0,Math.sin(v*u),0],[0,1,0,0],[Math.sin(-v*u),0,Math.cos(v*u),0],[0,0,0,1]]);u=$M([[Math.cos(t*u),Math.sin(-t*u),0,0],[Math.sin(t*u),Math.cos(t*
u),0,0],[0,0,1,0],[0,0,0,1]]);t=1;t=$M([[t,0,0,0],[0,t,0,0],[0,0,t,0],[0,0,0,1]]);x=$M([[1,0,0,0],[0,1,0,0],[0,0,1,0],[h,q,r,1]]);p=p.x(v).x(u).x(t).x(x);t="matrix3d(";t+=p.e(1,1).toFixed(10)+","+p.e(1,2).toFixed(10)+","+p.e(1,3)+","+p.e(1,4).toFixed(10)+",";t+=p.e(2,1).toFixed(10)+","+p.e(2,2).toFixed(10)+","+p.e(2,3)+","+p.e(2,4).toFixed(10)+",";t+=p.e(3,1).toFixed(10)+","+p.e(3,2).toFixed(10)+","+p.e(3,3)+","+p.e(3,4).toFixed(10)+",";t+=p.e(4,1).toFixed(10)+","+p.e(4,2).toFixed(10)+","+p.e(4,3)+
","+p.e(4,4).toFixed(10);t+=")";h="@-webkit-keyframes translateHolder { from { -webkit-transform: translateX("+h+"px) translateY("+q+"px) translateZ("+r+"px) rotate3d("+o+", "+m+", "+s+", "+m+"deg); } 50% {-webkit-transform: translateX("+h+"px) translateY("+q+"px) translateZ(-250px) rotate3d("+o+", "+m+", "+s+", "+m+"deg); } to {-webkit-transform: translateX("+h+"px) translateY("+q+"px) translateZ("+r+"px) rotate3d("+o+", "+m+", "+s+", 0deg);} }";try{var y=document.styleSheets[document.styleSheets.length-
1];y.insertRule(h,y.cssRules.length)}catch(w){y=""}jQuery(".CU3ERslides",g).css("-webkit-perspective",e+"px").find(".CU3ERslides-holder").css("-webkit-transform",t).parent().css("-webkit-perspective-origin","50% 50%").find(".CU3ERtransition-holder").css("-webkit-transform",t);for(i in b.slide)if(typeof i=="number"||!isNaN(i)){e=jQuery.extend(!0,{},n,CU3ER[f].jsonOriginal.defaults.slide,CU3ER[f].jsonOriginal.slides.slide[i]);h=jQuery.extend(!0,{},k,CU3ER[f].jsonOriginal.defaults.transition,CU3ER[f].jsonOriginal.slides.transition[i]);
h="@-webkit-keyframes translateSliceHolder"+i+" { 0% { -webkit-transform: translateZ(0px); } 50% { -webkit-transform: translateZ("+-parseInt(h.flipDepth)+"px); } 100% { -webkit-transform: translateZ(0px); } }";try{y.insertRule(h,y.cssRules.length)}catch(D){}h=/https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?/.test(b.slide[i].url)?b.slide[i].url:c.folder_images+"/"+b.slide[i].url;o=parseFloat(e.image.scaleX);m=parseFloat(e.image.scaleY);s="";typeof b.slide[i].color!="undefined"?s=' style="background-color:'+
b.slide[i].color.replace("0x","#")+';"':typeof slides1.slide.color!="undefined"&&(s=' style="background-color:'+slides1.slide.color.replace("0x","#")+';"');q=typeof b.slide[i].link!="undefined"&&typeof b.slide[i].link.text!="undefined"?b.slide[i].link.text:typeof CU3ER[f].jsonOriginal.defaults.slide.link!="undefined"&&typeof CU3ER[f].jsonOriginal.defaults.slide.link.text!="undefined"?CU3ER[f].jsonOriginal.defaults.slide.link.text:"#";r=typeof b.slide[i].link!="undefined"&&typeof b.slide[i].link.target!=
"undefined"&&q!="#"?' target="'+b.slide[i].link.target+'"':typeof CU3ER[f].jsonOriginal.defaults.slide.link.target!="undefined"&&q!="#"?' target="'+CU3ER[f].jsonOriginal.defaults.slide.link.target+'"':"";p=q!="#"?' style="width:'+b.width+"px;height:"+b.height+'px;display:block;"':' style="cursor:default !important;"';typeof b.slide[i].use_image!="undefined"&&b.slide[i].use_image=="false"?jQuery(".CU3ERslides-holder",g).append('<div class="CU3ERslide"'+s+'><div class="CU3ERslideImage"'+s+'><a href="'+
q+'"'+r+p+"><img /></a></div></div>"):jQuery(".CU3ERslides-holder",g).append('<div class="CU3ERslide notLoaded"'+s+'><div class="CU3ERslideImage"'+s+'><a href="'+q+'"'+r+p+'><img src="'+h+'" rel="'+o+":"+m+":"+e.image.x+":"+e.image.y+":"+e.image.align_pos+'" /></a></div></div>').find(".CU3ERslide img").bind("load",function(){var c=this.width,d=this.height,e=jQuery(this)[0],g=jQuery(e).attr("rel").split(":");jQuery("<img/>").attr("src",jQuery(e).attr("src")).load(function(){if(c==this.width)var h=
c*parseFloat(g[0]);else g[0]=Math.round(this.width*g[0]/c*Math.pow(10,2))/Math.pow(10,2),h=c*parseFloat(g[0]);if(d==this.height)var m=d*parseFloat(g[1]);else g[1]=Math.round(this.height*g[1]/d*Math.pow(10,2))/Math.pow(10,2),m=d*parseFloat(g[1]);optionsImage={align_pos:g[4],x:g[2],y:g[3],fullWidth:b.width,fullHeight:b.height,width:h,height:m};g[5]=this.width;g[6]=this.height;h=CU3ER[f].calculatePosition(optionsImage);h.position="relative";m=g.join(":");jQuery(e).css({WebkitTransform:"scaleX("+g[0]+
") scaleY("+g[1]+")","WebkitTransform-origin":"top left"}).css(h).attr("rel",m).parent().parent().parent().removeClass("notLoaded").trigger("classChanged")})});h={};if(typeof d!="undefined"){q="";if(typeof d.thumb!="undefined"&&typeof d.thumb.title!="undefined"&&(typeof d.thumb.title.use_numbering!="undefined"&&d.thumb.title.use_numbering=="true"&&(q+=parseInt(i)+1+d.thumb.title.use_numbering_separator+" "),typeof d.thumb.title.use_heading!="undefined"&&d.thumb.title.use_heading=="true"&&typeof b.slide[i].description!=
"undefined"&&(q+=typeof b.slide[i].description.heading!="undefined"?b.slide[i].description.heading+" ":""),typeof d.thumb.title.use_caption!="undefined"&&d.thumb.title.use_caption=="true"&&typeof b.slide[i].caption!="undefined"&&(q+=typeof b.slide[i].caption!="undefined"?b.slide[i].caption+" ":""),q!="")){q='<div class="CU3ERtitle">'+q+"</div>";h.position="absolute";h.left=parseInt(d.thumb.title.x)+"px";h.top=parseInt(d.thumb.title.y)+"px";h.width=d.thumb.title.width+"px";h.height=d.thumb.title.height+
"px";h.opacity=d.thumb.title.tweenShow.alpha;h.color=d.thumb.title.tweenShow.tint.replace("0x","#");h.fontSize=d.thumb.title.text_size+"px";h.fontFamily=d.thumb.title.font;h.fontWeight=d.thumb.title.text_bold=="true"?"bold":"normal";h.fontStyle=d.thumb.title.text_italic=="true"?"italic":"normal";h.textAlign=d.thumb.title.text_align;q.textDecoration="none";h.overflow="hidden";if(typeof d.thumb.title.text_leading!="undefined"&&d.thumb.title.text_leading>0)h.lineHeight=d.thumb.title.text_leading+"px";
if(typeof d.thumb.title.text_letterspacing!="undefined"&&d.thumb.title.text_letterspacing>0)h.letterSpacing=d.thumb.title.text_letterspacing+"px"}typeof d.thumb!="undefined"&&typeof d.thumb.image!="undefined"?(e=c.folder_images+"/fallback/thumb_slide"+(parseInt(b.slide[i].originalPosition)+1)+".png",jQuery(".CU3ERthumbs-holder",g).append('<div class="CU3ERThumb"><div class="CU3ERThumbBG"></div><a href="#" title=""><div width="'+d.thumb.width+'" height="'+d.thumb.height+'" style="background: url(\''+
e+'\') no-repeat top left;"><img src="'+e+'" /></div>'+q+"</a></div>")):jQuery(".CU3ERthumbs-holder",g).append('<div class="CU3ERThumb"><div class="CU3ERThumbBG"></div><a href="#" title="">'+q+"</a></div>");jQuery(".CU3ERtitle",g).css(h).hover(function(){jQuery(this).css({color:d.thumb.title.tweenOver.tint.replace("0x","#")})},function(){jQuery(this).css({color:d.thumb.title.tweenShow.tint.replace("0x","#")})})}}this.slidesTotal=b.slide.length;typeof d!="undefined"&&this.drawThumbnails(d);images=
jQuery(".CU3ERslides-holder div.CU3ERslide img",g);jQuery(images[CU3ER[f].no]).hasClass("notLoaded")?jQuery(images[CU3ER[f].no]).bind("load",function(){CU3ER[f].updateIndicator(++CU3ER[f].a,CU3ER[f].totalInd,CU3ER[f].stage+" .CU3ERindicator",!0);CU3ER[f].debug("first slide loaded")}):(CU3ER[f].updateIndicator(++CU3ER[f].a,CU3ER[f].totalInd,CU3ER[f].stage+" .CU3ERindicator",!0),CU3ER[f].debug("first slide loaded"));optionsSlides={align_pos:b.align_pos,x:b.x,y:b.y,width:b.width,height:b.height,fullWidth:jQuery(CU3ER[f].stage).width(),
fullHeight:jQuery(CU3ER[f].stage).height()};cssSlides=this.calculatePosition(optionsSlides);jQuery(CU3ER[f].slides).css(cssSlides).css("z-index",415).find(".CU3ERtransition-holder").css({width:b.width+"px",height:b.height+"px",position:"absolute",top:0,left:0}).parent().find(".CU3ERslides-holder").css({width:b.width+"px",height:b.height+"px",position:"absolute",top:0,left:0}).find(".CU3ERslide").css({width:b.width+"px",height:b.height+"px",display:"block",overflow:"hidden"}).find(".CU3ERSlideImage").css({width:b.width+
"px",height:b.height+"px",overflow:"hidden"})}else{this.originalJSONelements=b=jQuery.extend(e,b);for(i in CU3ER[f].json.slides.slide)CU3ER[f].json.slides.slide[i].originalPosition=i;if(CU3ER[f].randomise=="true")CU3ER[f].json.slides.slide=jQuery.shuffle(CU3ER[f].json.slides.slide);if(typeof options!="undefined"&&options.vars.reverse==!0||b.reverse=="true")CU3ER[f].json.slides.slide=CU3ER[f].json.slides.slide.reverse(),CU3ER[f].json.slides.transition=CU3ER[f].json.slides.transition.reverse();for(i in CU3ER[f].json.slides.slide)CU3ER[f].slidesOrder[i]=
parseInt(CU3ER[f].json.slides.slide[i].originalPosition)+1;typeof d!="undefined"&&(d=jQuery.extend(h,d));typeof d!="undefined"&&(e=d.align_to=="stage"?this.stage:this.slides,jQuery(e).append('<div class="CU3ERthumbs"><div class="CU3ERThumbsScroll"><div class="CU3ERthumbsBG"></div><div class="CU3ERthumbs-holder"></div></div></div>'));for(i in b.slide)if(typeof i=="number"||!isNaN(i))if(b.slide[i].url="slide"+(parseInt(i)+1)+".png",h=c.folder_images+"/fallback/"+b.slide[i].url,e=c.folder_images+"/fallback/thumb_"+
b.slide[i].url,typeof b.slide[i].link!="undefined"?(q=typeof b.slide[i].link!="undefined"&&typeof b.slide[i].link.text!="undefined"?b.slide[i].link.text:typeof CU3ER[f].jsonOriginal.defaults.slide.link!="undefined"&&typeof CU3ER[f].jsonOriginal.defaults.slide.link.text!="undefined"?CU3ER[f].jsonOriginal.defaults.slide.link.text:"#",r=typeof b.slide[i].link.target!="undefined"?' target="'+b.slide[i].link.target+'"':typeof CU3ER[f].jsonOriginal.defaults.slide.link.target!="undefined"?' target="'+CU3ER[f].jsonOriginal.defaults.slide.link.target+
'"':""):(q="#",r=""),q!="#"?(r=typeof b.slide[i].link.target=="undefined"?"_blank":b.slide[i].link.target,jQuery(".CU3ERslides-holder",g).append('<div class="CU3ERslide notLoaded"><a href="'+q+'" target="'+r+'"><img src="'+h+'" alt="" /></a></div>').find(".CU3ERslide img").bind("load",function(){jQuery(this).parent().parent().removeClass("notLoaded").trigger("classChanged")})):jQuery(".CU3ERslides-holder",g).append('<div class="CU3ERslide notLoaded"><img src="'+h+'" alt="" /></div>').find(".CU3ERslide img").bind("load",
function(){jQuery(this).parent().removeClass("notLoaded").trigger("classChanged")}),h={},typeof d!="undefined"){q="";if(typeof d.thumb!="undefined"&&typeof d.thumb.title!="undefined"&&(typeof d.thumb.title.use_numbering!="undefined"&&d.thumb.title.use_numbering=="true"&&(q+=parseInt(i)+1+d.thumb.title.use_numbering_separator+" "),typeof d.thumb.title.use_heading!="undefined"&&d.thumb.title.use_heading=="true"&&typeof b.slide[i].description!="undefined"&&(q+=typeof b.slide[i].description.heading!=
"undefined"?b.slide[i].description.heading+" ":""),typeof d.thumb.title.use_caption!="undefined"&&d.thumb.title.use_caption=="true"&&typeof b.slide[i].caption!="undefined"&&(q+=typeof b.slide[i].caption!="undefined"?b.slide[i].caption+" ":""),q!="")){q='<div class="CU3ERtitle">'+q+"</div>";h.position="absolute";h.left=parseInt(d.thumb.title.x)+"px";h.top=parseInt(d.thumb.title.y)+"px";h.width=d.thumb.title.width+"px";h.height=d.thumb.title.height+"px";h.opacity=d.thumb.title.tweenShow.alpha;h.color=
d.thumb.title.tweenShow.tint.replace("0x","#");h.fontSize=d.thumb.title.text_size+"px";h.fontFamily=d.thumb.title.font;h.fontWeight=d.thumb.title.text_bold=="true"?"bold":"normal";h.fontStyle=d.thumb.title.text_italic=="true"?"italic":"normal";h.textAlign=d.thumb.title.text_align;q.textDecoration="none";h.overflow="hidden";if(typeof d.thumb.title.text_leading!="undefined"&&d.thumb.title.text_leading>0)h.lineHeight=d.thumb.title.text_leading+"px";if(typeof d.thumb.title.text_letterspacing!="undefined"&&
d.thumb.title.text_letterspacing>0)h.letterSpacing=d.thumb.title.text_letterspacing+"px"}typeof d.thumb!="undefined"&&typeof d.thumb.image!="undefined"?jQuery(".CU3ERthumbs-holder",g).append('<div class="CU3ERThumb"><div class="CU3ERThumbBG"></div><a href="#" title=""><div class="CU3ERThumbImage" width="'+d.thumb.width+'" height="'+d.thumb.height+'" style="background: url(\''+e+'\') no-repeat top left;"><img src="'+e+'" /></div>'+q+"</a></div>"):jQuery(".CU3ERthumbs-holder",g).append('<div class="CU3ERThumb"><div class="CU3ERThumbBG"></div><a href="#" title="">'+
q+"</a></div>");jQuery(".CU3ERtitle",g).css(h).hover(function(){jQuery(this).css({color:d.thumb.title.tweenOver.tint.replace("0x","#")})},function(){jQuery(this).css({color:d.thumb.title.tweenShow.tint.replace("0x","#")})})}this.slidesTotal=b.slide.length;typeof d!="undefined"&&this.drawThumbnails(d);images=jQuery(".CU3ERslides-holder div.CU3ERslide img",g);jQuery(images[CU3ER[f].current]).bind("load",function(){CU3ER[f].updateIndicator(++CU3ER[f].a,CU3ER[f].totalInd,CU3ER[f].stage+" .CU3ERindicator",
!0);CU3ER[f].debug("first slide loaded")});optionsSlides={align_pos:b.align_pos,x:b.x,y:b.y,width:b.width,height:b.height,fullWidth:CU3ER[f].json.settings.width,fullHeight:CU3ER[f].json.settings.height};cssSlides=this.calculatePosition(optionsSlides);jQuery(CU3ER[f].slides).css(cssSlides).find(".CU3ERslides-holder").css({width:b.width+"px",height:b.height+"px",position:"absolute",top:0,left:0}).parent().find(".CU3ERtransition-holder").css({width:b.width+"px",height:b.height+"px",position:"absolute",
top:0,left:0})}},drawCircularProgressBar:function(b){var e=this.id,c=this.el;this.stopFlag=!1;clearTimeout(this.circularPBOptions.tempTimeout);var d=b.align_to=="stage"?this.stage:this.slides,f=parseInt(this.circularPBOptions.radius)*2+parseInt(this.circularPBOptions.padding);jQuery(".CU3ERindicator",c).remove();jQuery(d).append('<div class="CU3ERindicator"><canvas id="CU3ERprogressbar" width="'+(f+3)+'" height="'+(f+3)+'"></canvas></div>');var g=this.circularPBOptions.color1.replace("0x",""),k=this.circularPBOptions.color2.replace("0x",
""),d=this.circularPBOptions.opacity2,h=document.getElementById("CU3ERprogressbar").getContext("2d");h.beginPath();h.lineWidth=this.circularPBOptions.radius;var n=parseInt(g.substr(0,2),16),q=parseInt(g.substr(2,2),16),g=parseInt(g.substr(4,2),16);h.strokeStyle="rgba("+n+", "+q+", "+g+", "+this.circularPBOptions.opacity1+")";h.arc(this.circularPBOptions.radius,this.circularPBOptions.radius,this.circularPBOptions.radius/2,Math.PI*2,0,!0);h.stroke();h.closePath();h.beginPath();n=this.circularPBOptions.radius-
this.circularPBOptions.padding;h.lineWidth=n;q=parseInt(k.substr(0,2),16);g=parseInt(k.substr(2,2),16);k=parseInt(k.substr(4,2),16);h.strokeStyle="rgba("+q+", "+g+", "+k+", "+d+")";h.arc(this.circularPBOptions.radius,this.circularPBOptions.radius,n/2,Math.PI*2,0,!1);h.stroke();h.closePath();clearTimeout(this.circularPBOptions.tempTimeout);this.startCircularProgressbar(this.circularPBOptions);b.align_to=="stage"?(d=this.json.settings.width,h=this.json.settings.height):(d=this.json.slides.width,h=this.json.slides.height);
optionsProgress={align_pos:b.align_pos,x:b.posX,y:b.posY,width:f-3,height:f,fullWidth:d,fullHeight:h};cssProgress=this.calculatePosition(optionsProgress);jQuery(".CU3ERindicator",c).css({width:parseInt(b.radius)*2+parseInt(b.padding)+"px",height:parseInt(b.radius)*2+parseInt(b.padding)+"px",position:"absolute",background:"transparent","z-index":470,opacity:1,cursor:"pointer","-webkit-transform":"rotateZ(-90deg) translateZ(3px)","-moz-transform":"rotate(-90deg)",transform:"rotate(-90deg)","-o-transform":"rotate(-90deg)"}).css(cssProgress).hover(function(){CU3ER[e].circularPBOptions.color2=
b.colorLoaderHover.replace("0x","");CU3ER[e].circularPBOptions.opacity1=b.hoverAlpha;CU3ER[e].changeColorOnCircularProgressbar(CU3ER[e].circularPBOptions)},function(){CU3ER[e].circularPBOptions.color2=b.colorLoader.replace("0x","");CU3ER[e].circularPBOptions.opacity1=b.bgAlpha;CU3ER[e].changeColorOnCircularProgressbar(CU3ER[e].circularPBOptions)})},startCircularProgressbar:function(b,e){var c=this.id,d=typeof e!="undefined"?e:!1;this.degMovement=Math.ceil(360/Math.ceil(this.sleepDuration/35));var f=
b.startPoint*Math.PI/180,g=b.endPoint*Math.PI/180,k=this.circularPBOptions.color1.replace("0x",""),h=this.circularPBOptions.color2.replace("0x",""),n=this.circularPBOptions.opacity1,q=this.circularPBOptions.opacity2,r=document.getElementById("CU3ERprogressbar").getContext("2d"),o=parseInt(this.circularPBOptions.radius)*2+parseInt(this.circularPBOptions.padding);r.clearRect(0,0,o+3,o+3);r.beginPath();r.width=b.radius*2;r.height=b.radius*2;r.lineWidth=b.radius;var o=parseInt(k.substr(0,2),16),m=parseInt(k.substr(2,
2),16),k=parseInt(k.substr(4,2),16);r.strokeStyle="rgba("+o+", "+m+", "+k+", "+n+")";r.arc(b.radius,b.radius,b.radius/2,Math.PI*2,0,!0);r.stroke();r.closePath();r.beginPath();r.lineWidth=b.radius-b.padding;n=parseInt(h.substr(0,2),16);k=parseInt(h.substr(2,2),16);h=parseInt(h.substr(4,2),16);o=b.radius-b.padding;r.strokeStyle="rgba("+n+", "+k+", "+h+", "+q+")";r.arc(b.radius,b.radius,o/2,f,g,!1);r.stroke();r.closePath();this.circularPBOptions.endPoint=b.endPoint+this.degMovement;if(this.circularPBOptions.endPoint<=
365){if(this.stopFlag==!1)this.circularPBOptions.tempTimeout=setTimeout(function(){CU3ER[c].startCircularProgressbar(CU3ER[c].circularPBOptions,d)},30)}else CU3ER[c].circularPBOptions.endPoint=0,d&&CU3ER[c].skipTo(CU3ER[c].calculateNext(CU3ER[c].current),!0,!0)},animateCircularProgressbarTo:function(b){var e=b.startPoint*Math.PI/180,c=b.endDeg*Math.PI/180,d=this.circularPBOptions.color1.replace("0x",""),f=this.circularPBOptions.color2.replace("0x",""),g=this.circularPBOptions.opacity1,k=this.circularPBOptions.opacity2,
h=document.getElementById("CU3ERprogressbar").getContext("2d"),n=parseInt(this.circularPBOptions.radius)*2+parseInt(this.circularPBOptions.padding);h.clearRect(0,0,n+3,n+3);h.beginPath();n=this.circularPBOptions.radius-this.circularPBOptions.padding;h.width=b.radius*2;h.height=b.radius*2;h.lineWidth=b.radius;var n=parseInt(d.substr(0,2),16),q=parseInt(d.substr(2,2),16),d=parseInt(d.substr(4,2),16);h.strokeStyle="rgba("+n+", "+q+", "+d+", "+g+")";h.arc(b.radius,b.radius,b.radius/2,Math.PI*2,0,!0);
h.stroke();h.closePath();h.beginPath();h.lineWidth=b.radius-b.padding;g=parseInt(f.substr(0,2),16);d=parseInt(f.substr(2,2),16);f=parseInt(f.substr(4,2),16);n=b.radius-b.padding;h.strokeStyle="rgba("+g+", "+d+", "+f+", "+k+")";h.arc(b.radius,b.radius,n/2,e,c,!1);h.stroke();h.closePath()},stopCircularProgressbar:function(){clearTimeout(this.circularPBOptions.tempTimeout);clearTimeout(this.tempTimeout[this.current]);this.stopFlag=!0;this.circularPBOptions.endPoint-=this.degMovement;clearTimeout(this.circularPBOptions.tempTimeout)},
changeColorOnCircularProgressbar:function(b){var e=b.startPoint*Math.PI/180,c=b.endPoint*Math.PI/180,d=this.circularPBOptions.color1.replace("0x",""),f=this.circularPBOptions.color2.replace("0x",""),g=this.circularPBOptions.opacity1,k=this.circularPBOptions.opacity2,h=document.getElementById("CU3ERprogressbar").getContext("2d");h.beginPath();h.width=b.radius*2;h.height=b.radius*2;h.lineWidth=b.radius;var n=parseInt(d.substr(0,2),16),q=parseInt(d.substr(2,2),16),d=parseInt(d.substr(4,2),16);h.strokeStyle=
"rgba("+n+", "+q+", "+d+", "+g+")";h.arc(b.radius,b.radius,b.radius/2,Math.PI*2,0,!0);h.stroke();h.beginPath();h.lineWidth=b.radius-b.padding;g=parseInt(f.substr(0,2),16);n=parseInt(f.substr(2,2),16);f=parseInt(f.substr(4,2),16);q=b.radius-b.padding;h.strokeStyle="rgba("+g+", "+n+", "+f+", "+k+")";h.arc(b.radius,b.radius,q/2,e,c,!1);h.stroke()},drawProgressBar:function(b){var e=this.id,c=this.el,d=b.align_to=="stage"?this.stage:this.slides;jQuery(".CU3ERindicator",c).remove();jQuery(d).append('<div class="CU3ERindicator"></div>');
jQuery(".CU3ERindicator",c).append('<div class="CU3ERprogressAlpha"></div><div class="CU3ERprogress"></div>');var f={loaderTweenShowTint:"#ff0000",loaderTreenOverTint:"#ff0000",loaderTweenShowAlpha:0.75,loaderTweenOverAlpha:1,bgTweenShowAlpha:0.75,bgTweenOverAlpha:1,bgTweenShowTint:"#ff0000",bgTweenOverTint:"#ff0000",loaderTweenShowTint:"#ff0000",padding:5,width:120,height:20,x:0,y:0,preloaderImage:"http://getcu3er.com/CU3ER-images/CU3ER.png",preloaderWidth:80,preloaderHeight:122,preloaderAlign_pos:"MC",
preloaderX:0,preloaderY:0},b=jQuery.extend(f,b),d=!1,g=CU3ER[e].xml,k;try{k=window.ActiveXObject?g.xml:(new XMLSerializer).serializeToString(g)}catch(h){k=g}if(typeof k=="undefined"||k=="")k=g;k=k.match(/(<licence>(.)*<\/licence>)+/gi);k!=null?k.push(CU3ER[e].licenseStr):k=Array(CU3ER[e].licenseStr);if(k!=null){for(g=0;g<k.length;g++)k[g]=k[g].split("<licence>").join("").split("</licence>").join(""),k[g]=k[g].split("<![CDATA[").join("").split("]]\>").join("");g=!1;if(k.length!=0){var n=document.location.href.toLowerCase(),
n=n.split("https://").join("").split("http://").join("").split("www.").join(""),n=n.split("/")[0];n=="file:"&&(n="localdrive");for(var q=n.split(".");q.length>4;)q.splice(0,1);for(var r=q,o,m,s,u="",p=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"],n=n[p[3]](p[5])[p[1]](p[0])[p[3]](p[4])[p[1]](p[0])[p[3]](p[2])[p[1]](p[0]),n=n[p[3]](p[6])[0],g=0;g<32;g++){o=g%2+1;for(s=m=0;s<n[p[8]];)m+=(n[p[7]](s)+3)%(g+1)*(n[p[7]](s)+2),s+=o;m=m%94+33;m==60&&(m=58);m==62&&
(m=59);u+=String[p[9]](m)}var v=!1;for(l=0;l<k.length;l++)v=v||u==k[l].toString();u=u.split("+").join(" ");for(l=0;l<k.length;l++)v=v||u==k[l].toString();if(q.length>3){u="";q=q.slice(1);q=q.slice(1);n=q.join(".");p=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];n=n[p[3]](p[5])[p[1]](p[0])[p[3]](p[4])[p[1]](p[0])[p[3]](p[2])[p[1]](p[0]);n=n[p[3]](p[6])[0];for(g=0;g<32;g++){o=g%2+1;for(s=m=0;s<n[p[8]];)m+=(n[p[7]](s)+3)%(g+1)*(n[p[7]](s)+2),s+=o;m=m%94+33;
m==60&&(m=58);m==62&&(m=59);u+=String[p[9]](m)}for(l=0;l<k.length;l++)v=v||u==k[l].toString();u=u.split("+").join(" ");for(l=0;l<k.length;l++)v=v||u==k[l].toString()}q=r;if(q.length>2){u="";q=q.slice(1);n=q.join(".");p=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];n=n[p[3]](p[5])[p[1]](p[0])[p[3]](p[4])[p[1]](p[0])[p[3]](p[2])[p[1]](p[0]);n=n[p[3]](p[6])[0];for(g=0;g<32;g++){o=g%2+1;for(s=m=0;s<n[p[8]];)m+=(n[p[7]](s)+3)%(g+1)*(n[p[7]](s)+2),s+=o;m=m%94+
33;m==60&&(m=58);m==62&&(m=59);u+=String[p[9]](m)}for(l=0;l<k.length;l++)v=v||u==k[l].toString();u=u.split("+").join(" ");for(l=0;l<k.length;l++)v=v||u==k[l].toString()}g=v?!0:!1}else g=!1}else g=!1;if(b.type=="sliderLoad")if(k=typeof CU3ER[e].json.settings.branding!="undefined"?typeof CU3ER[e].json.settings.branding.remove_logo_loader!="undefined"?CU3ER[e].json.settings.branding.remove_logo_loader:"false":"false",g&&k=="true")if(typeof b.image=="undefined"||b.image==null){if(jQuery(".CU3ERprogress",
c).css("backgroundColor",b.loaderTweenShowTint.replace("0x","#")).hover(function(){jQuery(this).css({backgroundColor:b.loaderTweenOverTint.replace("0x","#"),opacity:b.loaderTweenOverAlpha,cursor:"pointer"})},function(){jQuery(this).css({backgroundColor:b.loaderTweenShowTint.replace("0x","#"),opacity:b.loaderTweenShowAlpha})}),b.shape=="circular")if(this.supportCanvas())return this.circularPBOptions={color1:b.bgTweenShowTint.replace("0x",""),color2:b.loaderTweenShowTint.replace("0x",""),opacity1:b.bgTweenShowAlpha,
opacity2:b.loaderTweenShowAlpha,padding:b.padding,radius:b.radius,startPoint:0,endPoint:0,tempTimeout:null,shape:"circular",startSlider:!0},this.drawCircularProgressBar(b),!1;else b.width=parseInt(CU3ER[e].json.preloader.radius)*2,b.height=parseInt(CU3ER[e].json.preloader.radius)/4<10?10:parseInt(CU3ER[e].json.preloader.radius)/4}else jQuery(".CU3ERprogress, .CU3ERprogressAlpha",c).css("background",'transparent url("'+b.image+'") no-repeat top left');else b.image=f.preloaderImage,b.width=f.preloaderWidth,
b.height=f.preloaderHeight,b.align_pos=f.preloaderAlign_pos,b.posX=f.preloaderX,b.posY=f.preloaderY,b.loaderTreenOverTint="transparent",b.loaderTweenShowTint="transparent",b.bgTweenShowTint="transparent",b.bgTweenOverTint="transparent",b.loaderTweenShowAlpha=0.5,b.loaderTweenOverAlpha=0.5,b.bgTweenShowAlpha=0.5,b.bgTweenOverAlpha=0.5,jQuery(".CU3ERprogress, .CU3ERprogressAlpha",c).css({background:'transparent url("'+b.image+'") no-repeat top left'}),d=!0;else if(jQuery(".CU3ERprogress",c).css("backgroundColor",
b.loaderTweenShowTint.replace("0x","#")).hover(function(){jQuery(this).css({backgroundColor:b.loaderTweenOverTint.replace("0x","#"),opacity:b.loaderTweenOverAlpha,cursor:"pointer"})},function(){jQuery(this).css({backgroundColor:b.loaderTweenShowTint.replace("0x","#"),opacity:b.loaderTweenShowAlpha})}),b.shape=="circular")if(this.supportCanvas())return this.circularPBOptions={color1:b.bgTweenShowTint.replace("0x",""),color2:b.loaderTweenShowTint.replace("0x",""),opacity1:b.bgTweenShowAlpha>0?b.bgTweenShowAlpha:
"0.75",opacity2:b.loaderTweenShowAlpha>0?b.loaderTweenShowAlpha:"0.75",padding:b.padding,radius:b.radius,startPoint:0,endPoint:0,tempTimeout:null,shape:"circular"},this.drawCircularProgressBar(b),!1;else b.width=parseInt(CU3ER[e].json.controls.auto_play_indicator.radius)*2,b.height=parseInt(CU3ER[e].json.controls.auto_play_indicator.radius)/4<10?10:parseInt(CU3ER[e].json.controls.auto_play_indicator.radius)/4;b.align_to=="stage"?(e=this.json.settings.width,f=this.json.settings.height):(e=this.json.slides.width,
f=this.json.slides.height);optionsProgress={align_pos:b.align_pos,x:b.posX,y:b.posY,width:b.width,height:b.height,fullWidth:e,fullHeight:f};cssProgress=this.calculatePosition(optionsProgress);jQuery(".CU3ERindicator",c).css({width:parseInt(b.width)-parseInt(b.padding)+"px",height:parseInt(b.height)+"px",position:"absolute",background:"transparent","z-index":450,opacity:1,cursor:"pointer","line-height":"1px"}).css(cssProgress);jQuery(".CU3ERprogressAlpha",c).css({width:parseInt(b.width)-parseInt(b.padding)+
"px",height:parseInt(b.height)+"px"});b.type=="sliderLoad"&&jQuery(".CU3ERindicator",c).css({opacity:1,cursor:"default",background:"transparent"}).unbind();e=b.height%2==0?2:1;f=parseInt(b.height)-2*parseInt(b.padding)<1?e:+(parseInt(b.height)-2*parseInt(b.padding));e={top:parseInt(b.padding),left:parseInt(b.padding),maxWidth:parseInt(b.width)-parseInt(b.padding)-parseInt(b.padding)*2+"px",height:f+"px","line-height":"1px"};jQuery.browser.msie&&(f=jQuery("<div>").css({top:0,left:0,width:parseInt(b.width)-
parseInt(b.padding)-parseInt(b.padding)*2+"px",height:f+"px",position:"absolute","line-height":"1px"}),jQuery(".CU3ERprogress",c).wrap(f));jQuery(".CU3ERprogress",c).css({width:0,height:parseInt(b.height),position:"absolute","z-index":451,opacity:b.loaderTweenShowAlpha,padding:0,margin:0,left:0,top:0,"line-height":"1px"});jQuery(".CU3ERprogress",c).css("z-index",452);(typeof b.image=="undefined"||b.image==null)&&jQuery(".CU3ERprogress",c).css(e);jQuery(".CU3ERprogressAlpha",c).css({opacity:b.bgTweenShowAlpha,
width:parseInt(b.width)-parseInt(b.padding)+"px",height:parseInt(b.height)+"px",background:typeof b.image=="undefined"||b.image==null?b.bgTweenShowTint.replace("0x","#"):'transparent url("'+b.image+'") no-repeat top left',padding:0,margin:0,left:0,top:0,"line-height":"1px"});jQuery(".CU3ERprogress",c).css({opacity:b.loaderTweenShowAlpha});d&&(jQuery(".CU3ERprogress",c).css({opacity:1}),jQuery(".CU3ERindicator",c).css({opacity:1,cursor:"pointer","z-index":1001}).bind("click",function(){window.open("http://getcu3er.com/?cu3er=REFERRAL",
"CU3ER")}),d=!1)},drawButtons:function(b,e,c,d,f){var g=this.id,k=this.el,h=jQuery.extend(!0,{},{align_to:"slides",align_pos:"TL",x:"0",y:"0",width:40,height:40,background:{tweenShow:{tint:"#ffffff",alpha:0.85,x:0,y:0,scaleX:1,scaleY:1},tweenOver:{tint:"#ffffff",alpha:1,x:0,y:0,scaleX:1,scaleY:1},tweenHide:{tint:"#ffffff",alpha:0,x:0,y:0,scaleX:1,scaleY:1}}}),b=jQuery.extend(!0,h,b);jQuery(b.align_to=="stage"?this.stage:this.slides).append('<div class="CU3ERbutton'+b.type1+'"><div class="CU3ERshowBtn"><div class="CU3ERButton'+
b.type1+'BG"></div></div><div class="CU3ERoverBtn"><div class="CU3ERButton'+b.type1+'BG"></div></div></div>');typeof b.symbol!="undefined"&&(jQuery(".CU3ERbutton"+b.type1+" .CU3ERshowBtn",k).append('<img src="'+CU3ER[g].json.settings.folder_images+"/fallback/"+b.type+'_symbol_show.png" />').find("img").css({"z-index":451,position:"absolute",top:0,left:0}).load(function(){CU3ER[g].transition==null&&(CU3ER[g].updateIndicator(++CU3ER[g].a,CU3ER[g].totalInd,CU3ER[g].stage+" .CU3ERindicator",!0),CU3ER[g].debug(b.type1+
" button loaded"))}).error(function(){CU3ER[g].transition==null&&(CU3ER[g].updateIndicator(++CU3ER[g].a,CU3ER[g].totalInd,CU3ER[g].stage+" .CU3ERindicator",!0),CU3ER[g].debug(b.type1+" button not exist"))}),jQuery(".CU3ERbutton"+b.type1+" .CU3ERoverBtn",k).append('<img src="'+CU3ER[g].json.settings.folder_images+"/fallback/"+b.type+'_symbol_over.png" />').find("img").css({"z-index":451,position:"absolute",top:0,left:0}));optionsButton={align_pos:b.align_pos,x:Math.round(parseFloat(b.x)),y:Math.round(parseFloat(b.y)),
width:Math.round(parseFloat(b.width)),height:Math.round(parseFloat(b.height)),fullWidth:b.align_to=="slides"?parseInt(e):parseInt(d),fullHeight:b.align_to=="slides"?parseInt(c):parseInt(f)};var n=this.calculatePosition(optionsButton);optionsButtonHover={align_pos:b.align_pos,x:parseInt(b.x)+parseInt(b.background.tweenOver.x),y:parseInt(b.y)+parseInt(b.background.tweenOver.y),width:Math.round(parseFloat(b.width)*parseFloat(b.background.tweenOver.scaleX)),height:Math.round(parseFloat(b.height)*parseFloat(b.background.tweenOver.scaleY)),
fullWidth:b.align_to=="slides"?parseInt(e):parseInt(d),fullHeight:b.align_to=="slides"?parseInt(c):parseInt(f)};var q=this.calculatePosition(optionsButtonHover);jQuery(".CU3ERbutton"+b.type1+" .CU3ERoverBtn",k).css("display","none").find(".CU3ERButton"+b.type1+"BG").css({opacity:b.background.tweenOver.alpha,backgroundColor:b.background.tweenOver.tint.replace("0x","#"),width:Math.round(parseInt(b.width)*parseFloat(b.background.tweenOver.scaleX))+"px",height:Math.round(parseInt(b.height)*parseFloat(b.background.tweenOver.scaleY))+
"px",position:"absolute",top:0,left:0}).borderRadius(b.background.round_corners);jQuery(".CU3ERbutton"+b.type1,k).css({width:Math.round(parseFloat(b.width))+"px",height:Math.round(parseFloat(b.height))+"px",position:"absolute",cursor:"pointer",zIndex:451,"-webkit-transform":"translateZ(1px)",display:"none"}).css(n).hover(function(){var c=jQuery(this);jQuery(c).css(q).css({width:Math.round(parseInt(b.width)*parseFloat(b.background.tweenOver.scaleX))+"px",height:Math.round(parseInt(b.height)*parseFloat(b.background.tweenOver.scaleY))+
"px"});jQuery(".CU3ERshowBtn",jQuery(this)).css("display","none");jQuery(".CU3ERoverBtn",jQuery(this)).css("display","block")},function(){var c=jQuery(this);jQuery(c).css(n).css({width:parseInt(b.width)+"px",height:parseInt(b.height)+"px"});jQuery(".CU3ERoverBtn",jQuery(this)).css("display","none");jQuery(".CU3ERshowBtn",jQuery(this)).css("display","block")}).borderRadius(b.background.round_corners).bind("click touchstart",function(){if(b.type=="prev"){if(!CU3ER[g].inTransition)CU3ER[g].inTransition=
!0,CU3ER[g].doCheck=!1,setTimeout(function(){CU3ER[g].prev()},50)}else if(!CU3ER[g].inTransition)CU3ER[g].inTransition=!0,CU3ER[g].doCheck=!1,setTimeout(function(){CU3ER[g].next()},50);return!1}).find(".CU3ERshowBtn .CU3ERButton"+b.type1+"BG").css({width:Math.round(parseFloat(b.width))+"px",height:Math.round(parseFloat(b.height))+"px",backgroundColor:b.background.tweenShow.tint.replace("0x","#"),position:"absolute",opacity:b.background.tweenShow.alpha,top:0,left:0}).borderRadius(b.background.round_corners)},
drawDescription:function(b){var e=this.el,b=jQuery.extend({align_to:"slides",align_pos:"TL",x:0,y:0,width:400,height:100,background:{tweenShow:{tint:"#ff0000",alpha:"0.85"},tweenOver:{tint:"#ff0000",alpha:"1"},tweenHide:{tint:"#ff0000",alpha:"0"}}},b),c=b.align_to=="stage"?this.stage:this.slides;if(b.align_to=="stage")var d=this.json.settings.width,f=this.json.settings.height;else d=this.json.slides.width,f=this.json.slides.height;b.fullWidth=d;b.fullHeight=f;b.height=Math.round(b.height);b.width=
Math.round(b.width);jQuery(c).append('<div class="CU3ERdescription"></div>');c=this.calculatePosition(b);jQuery(".CU3ERdescription",e).css({position:"absolute",width:parseInt(b.width)+"px",height:parseInt(b.height)+"px",opacity:1,background:"transparent",zIndex:450,"-webkit-transform":"translateZ(1px)",display:"none"}).css(c).append('<div class="CU3ERDescBG"></div><div class="CU3ERDescriptionText"></div>').hover(function(){jQuery(this).find(".CU3ERDescBG").css({opacity:b.background.tweenOver.alpha,
background:b.background.tweenOver.tint.replace("0x","#")});typeof b.heading!="undefined"&&jQuery(this).find("h2").css({opacity:b.heading.tweenOver.alpha,color:b.heading.tweenOver.tint.replace("0x","#")});typeof b.paragraph!="undefined"&&jQuery(this).find("p").css({opacity:b.paragraph.tweenOver.alpha,color:b.paragraph.tweenOver.tint.replace("0x","#")})},function(){jQuery(this).find(".CU3ERDescBG").css({opacity:b.background.tweenShow.alpha,background:b.background.tweenShow.tint.replace("0x","#")});
typeof b.heading!="undefined"&&jQuery(this).find("h2").css({opacity:b.heading.tweenShow.alpha,color:b.heading.tweenShow.tint.replace("0x","#")});typeof b.paragraph!="undefined"&&jQuery(this).find("p").css({opacity:b.paragraph.tweenShow.alpha,color:b.paragraph.tweenShow.tint.replace("0x","#")})}).find(".CU3ERDescBG").css({position:"relative",top:0,left:0,width:parseInt(b.width)+"px",height:parseInt(b.height)+"px",opacity:b.background.tweenShow.alpha,background:b.background.tweenShow.tint.replace("0x",
"#"),"z-index":451}).borderRadius(b.background.round_corners).parent().find(".CU3ERDescriptionText").css({position:"absolute",top:0,left:0,display:"block",width:parseInt(b.width)+"px",height:parseInt(b.height)+"px","z-index":452})},drawThumbnails:function(b){var e=this.id,c=this.el;CU3ER[e].debug("creating css for thumbnails");var d=0,f=0,b=jQuery.extend(!0,{},{x:0,y:0,align_pos:"TL",thumb:{background:{tweenShow:{x:0,y:0,tint:"0x000000",alpha:0.75},tweenOver:{x:0,y:0,tint:"0x000000",alpha:1},tweenHide:{x:0,
y:0,tint:"0x000000",alpha:0},tweenSelected:{x:0,y:0,tint:"0x000000",alpha:0.5}},title:{tweenShow:{x:0,y:0,tint:"0xFFFFFF",alpha:0.75},tweenOver:{x:0,y:0,tint:"0xFFFFFF",alpha:1},tweenHide:{x:0,y:0,tint:"0xFFFFFF",alpha:0},tweenSelected:{x:0,y:0,tint:"0xFFFFF0",alpha:0.5}},image:{tweenShow:{x:0,y:0,alpha:0.75},tweenOver:{x:0,y:0,alpha:1},tweenHide:{x:0,y:0,alpha:0},tweenSelected:{x:0,y:0,alpha:0.5},x:0,y:0,width:30,height:30,round_corners:"0,0,0,0"},x:0,y:0}},b);if(b.align_to=="stage")var g=this.json.settings.width,
k=this.json.settings.height;else g=this.json.slides.width,k=this.json.slides.height;cssThumbs=this.calculatePosition({x:Math.round(parseFloat(b.x)),y:Math.round(parseFloat(b.y)),align_pos:b.align_pos,width:parseInt(b.width),height:parseInt(b.height),fullWidth:g,fullHeight:k});if(b.scroll=="horizontal"){var k=parseInt(b.width),g=parseInt(this.slidesTotal*parseInt(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x))),h=Math.floor(parseInt(b.width)/(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x)));
h*(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x))+parseInt(b.thumb.width)<b.width&&h++;var n=Math.floor(parseInt(b.height)/(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y)));n*(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y))+parseInt(b.thumb.height)<b.height&&n++;var n=n==0?1:n,h=h==0?1:h,k=g-parseInt(h)*parseInt(n)*parseInt(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x)),k=k>0?parseInt(b.width)+parseInt(b.padding_x)+parseInt(k):b.width,k=g/parseInt(h*parseInt(parseInt(b.thumb.width)+
parseInt(b.thumb.spacing_x))),k=Math.ceil(k)>parseInt(n)?parseInt(n):Math.ceil(k),k=parseInt(k)*parseInt(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y)),q=parseInt(b.width)-parseInt(b.padding_x)+"px",r=parseInt(b.height)+parseInt(b.padding_y)+"px",k=Math.ceil(this.slidesTotal/h),k=k<=n?k:n;cssThumbHolderScroll=this.calculatePosition({x:0,y:0,align_pos:"TL",width:parseInt(b.width),height:Math.floor(k)*parseInt(b.thumb.height)+Math.floor(n)*parseInt(b.thumb.spacing_y)+parseInt(b.thumb.y)+parseInt(b.padding_y),
fullWidth:q,fullHeight:r});cssThumbHolder=this.calculatePosition({x:parseInt(b.padding_x),y:0,align_pos:"ML",width:parseInt(b.width),height:Math.floor(k)*parseInt(b.thumb.height)+Math.floor(n)*parseInt(b.thumb.spacing_y)+parseInt(b.thumb.y)+parseInt(b.padding_y)-parseInt(b.thumb.spacing_y),fullWidth:q,fullHeight:r});var o=!1,m=jQuery(".CU3ERThumb",c),s=this.slidesTotal<=h?this.slidesTotal:Math.ceil(this.slidesTotal/Math.floor(n));m.each(function(){d==s&&f+1<s&&(d=0,f++,o=!0);var c=d*parseInt(b.thumb.width)+
d*parseInt(b.thumb.spacing_x)+parseInt(b.thumb.x),g=f*parseInt(b.thumb.height)+f*parseInt(b.thumb.spacing_y)+parseInt(b.thumb.y),c=CU3ER[e].calculatePosition({x:c,y:g,width:parseInt(b.thumb.width),height:Math.floor(n)*parseInt(b.thumb.height),fullWidth:parseInt(q),fullHeight:parseInt(r),align_pos:"TL"});jQuery(this).css(c).css({position:"absolute"});d++})}else{k=parseInt(b.height)-parseInt(b.padding_y);g=parseInt(this.slidesTotal*parseInt(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y))+parseInt(b.thumb.y)+
parseInt(b.padding_y));n=Math.floor(parseInt(b.height)/(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y)));n*(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y))+parseInt(b.thumb.height)<b.height&&n++;h=Math.floor(parseInt(b.width)/(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x)));h*(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x))+parseInt(b.thumb.width)<b.width&&h++;var n=n==0?1:n,h=h==0?1:h,k=g-parseInt(n)*parseInt(h)*parseInt(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y)),
k=k>0?parseInt(b.height)+parseInt(k):b.height,u=g/parseInt(n*parseInt(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y))),k=Math.ceil(u)>parseInt(h)?parseInt(h):Math.ceil(u),k=parseInt(k)*parseInt(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x));totalH1=u/h;q=parseInt(b.width)+parseInt(b.padding_x)+"px";r=parseInt(b.height)-parseInt(b.padding_y)+"px";k=Math.ceil(this.slidesTotal/n);k=k<=h?k:h;cssThumbHolderScroll=this.calculatePosition({x:0,y:0,align_pos:"TL",width:Math.floor(k)*parseInt(b.thumb.width)+
Math.floor(h)*parseInt(b.thumb.spacing_x)+parseInt(b.thumb.x)+parseInt(b.padding_x),height:parseInt(b.height),fullWidth:q,fullHeight:r});cssThumbHolder=this.calculatePosition({x:0,y:parseInt(b.padding_y),align_pos:"TC",width:Math.floor(k)*parseInt(b.thumb.width)+Math.floor(h)*parseInt(b.thumb.spacing_x)+parseInt(b.thumb.x)+parseInt(b.padding_x)-parseInt(b.thumb.spacing_x),height:parseInt(b.height),fullWidth:q,fullHeight:r});m=jQuery(".CU3ERThumb",c);o=!1;d=f=0;m.each(function(){var c=d*parseInt(b.thumb.width)+
d*parseInt(b.thumb.spacing_x)+parseInt(b.thumb.x),g=f*parseInt(b.thumb.height)+f*parseInt(b.thumb.spacing_y)+parseInt(b.thumb.y),c=CU3ER[e].calculatePosition({x:c,y:g,width:Math.floor(h)*parseInt(b.thumb.width),height:parseInt(b.thumb.height),fullWidth:parseInt(q),fullHeight:parseInt(r),align_pos:"TL"});jQuery(this).css(c).css({position:"absolute"});d++;d>=h&&(d>1&&(o=!0),d=0,f++)})}typeof b.background!="undefined"&&jQuery(".CU3ERthumbsBG",c).css({background:b.background.color.replace("0x","#"),opacity:b.background.alpha,
width:parseInt(b.width)+"px",height:parseInt(b.height)+"px",position:"absolute",top:0,left:0,outline:"none"}).borderRadius(b.background.round_corners);jQuery(".CU3ERthumbs",c).css(cssThumbs).css({width:parseInt(b.width),height:parseInt(b.height),position:"absolute",visibility:"hidden",zIndex:415,outline:"none","-webkit-transform":"translateZ(4px)"}).find(".CU3ERThumbsScroll").css({width:parseInt(b.width),height:parseInt(b.height),outline:"none",overflow:"hidden",position:"absolute"}).css(cssThumbHolderScroll).find(".CU3ERthumbs-holder").css({width:"1000px",
height:"1000px",position:"relative",outline:"none"}).css(cssThumbHolder).find(".CU3ERThumbBG").css({position:"absolute",top:0,left:0,background:b.thumb.background.tweenShow.tint.replace("0x","#"),opacity:b.thumb.background.tweenShow.alpha,width:b.thumb.width+"px",height:b.thumb.height+"px",outline:"none"}).borderRadius(b.thumb.background.round_corners).parent().css({cursor:"pointer",width:b.thumb.width+"px",height:b.thumb.height+"px"}).hover(function(){var d=jQuery(this);jQuery(".CU3ERThumbBG",c).each(function(){jQuery(this).css({background:jQuery(this).parent().hasClass("current")?
b.thumb.background.tweenSelected.tint.replace("0x","#"):b.thumb.background.tweenShow.tint.replace("0x","#"),opacity:jQuery(this).parent().hasClass("current")?b.thumb.background.tweenSelected.alpha:b.thumb.background.tweenShow.alpha})});jQuery(this).find(".CU3ERThumbBG").css({background:jQuery(d).hasClass("current")?b.thumb.background.tweenSelected.tint.replace("0x","#"):b.thumb.background.tweenOver.tint.replace("0x","#"),opacity:jQuery(d).hasClass("current")?b.thumb.background.tweenSelected.alpha:
b.thumb.background.tweenOver.alpha});typeof b.thumb.title!="undefined"&&jQuery(this).find(".CU3ERtitle").css({color:jQuery(d).hasClass("current")?b.thumb.title.tweenSelected.tint.replace("0x","#"):b.thumb.title.tweenOver.tint.replace("0x","#"),opacity:jQuery(d).hasClass("current")?b.thumb.background.tweenSelected.alpha:b.thumb.background.tweenOver.alpha});typeof b.thumb.image!="undefined"&&(jQuery(".CU3ERThumb img",c).each(function(){jQuery(this).parent().css({opacity:jQuery(this).hasClass("current")?
b.thumb.image.tweenSelected.alpha:b.thumb.image.tweenShow.alpha})}),jQuery(this).find("img").parent().css({opacity:jQuery(this).parent().hasClass("current")?b.thumb.image.tweenSelected.alpha:b.thumb.image.tweenOver.alpha}))},function(){var d=jQuery(this);jQuery(".CU3ERThumbBG",c).each(function(){jQuery(this).css({background:jQuery(this).parent().hasClass("current")?b.thumb.background.tweenSelected.tint.replace("0x","#"):b.thumb.background.tweenShow.tint.replace("0x","#"),opacity:jQuery(this).parent().hasClass("current")?
b.thumb.background.tweenSelected.alpha:b.thumb.background.tweenShow.alpha})});typeof b.thumb.title!="undefined"&&jQuery(this).find(".CU3ERtitle").css({color:jQuery(d).hasClass("current")?b.thumb.title.tweenSelected.tint.replace("0x","#"):b.thumb.title.tweenShow.tint.replace("0x","#"),opacity:jQuery(d).hasClass("current")?b.thumb.title.tweenSelected.alpha:b.thumb.title.tweenShow.alpha});typeof b.thumb.image!="undefined"&&jQuery(".CU3ERThumb img",c).each(function(){jQuery(this).parent().css({opacity:jQuery(this).parent().parent().parent().hasClass("current")?
b.thumb.image.tweenSelected.alpha:b.thumb.image.tweenShow.alpha})})}).bind("classChanged",function(){typeof b.thumb.background!="undefined"&&(jQuery(".CU3ERThumbBG",c).css({background:b.thumb.background.tweenShow.tint.replace("0x","#"),opacity:b.thumb.background.tweenShow.alpha}),jQuery(this).find(".CU3ERThumbBG").css({background:b.thumb.background.tweenSelected.tint.replace("0x","#"),opacity:b.thumb.background.tweenSelected.alpha}));typeof b.thumb.title!="undefined"&&(jQuery(".CU3ERtitle",c).css({color:b.thumb.title.tweenShow.tint.replace("0x",
"#"),opacity:b.thumb.title.tweenShow.alpha}),jQuery(this).find(".CU3ERtitle").css({color:b.thumb.title.tweenSelected.tint.replace("0x","#"),opacity:b.thumb.title.tweenSelected.alpha}));typeof b.thumb.image!="undefined"&&(jQuery(".CU3ERThumb img",c).each(function(){jQuery(this).parent().css({opacity:b.thumb.image.tweenShow.alpha})}),jQuery(this).find("img").parent().css({opacity:b.thumb.image.tweenSelected.alpha}))}).borderRadius(b.thumb.background.round_corners).find(".CU3ERThumbBG").css({position:"absolute",
top:0,left:0,background:b.thumb.background.tweenShow.tint.replace("0x","#"),opacity:b.thumb.background.tweenShow.alpha,width:b.thumb.width+"px",height:b.thumb.height+"px",outline:"none"}).borderRadius(b.thumb.background.round_corners).parent().find("a").css({outline:"none",width:b.thumb.width+"px",height:b.thumb.height+"px"}).find("div:first").css({width:b.thumb.width+"px",height:b.thumb.height+"px",position:"relative",cursor:"pointer",overflow:"hidden",outline:"none"});typeof b.thumb.image!="undefined"&&
jQuery(".CU3ERthumbs .CU3ERthumbs-holder .CU3ERThumb a img",c).css({width:b.thumb.image.width+"px",height:b.thumb.image.height+"px",outline:"none",opacity:0}).borderRadius(b.thumb.image.round_corners).parent().css({overflow:"hidden",width:b.thumb.image.width+"px",height:b.thumb.image.height+"px",left:b.thumb.image.x+"px",top:b.thumb.image.y+"px",position:"relative"}).borderRadius(b.thumb.image.round_corners);if(typeof b.scroller!="undefined")b.scroll=="horizontal"?(k=parseInt(b.width),n=n==0?1:n,
b.scroller.maximum=g=Math.ceil(this.slidesTotal/Math.floor(n))*(parseInt(b.thumb.width)+parseInt(b.thumb.spacing_x))+parseInt(b.padding_x)+parseInt(b.thumb.x),b.scroller.slider.width=Math.round(k/g*100),b.scroller.scroll="horizontal"):(k=parseInt(b.height),h=h==0?1:h,b.scroller.maximum=g=Math.ceil(this.slidesTotal/Math.floor(h))*(parseInt(b.thumb.height)+parseInt(b.thumb.spacing_y))+parseInt(b.padding_y)+parseInt(b.thumb.y),b.scroller.slider.width=Math.round(k/g*100),b.scroller.scroll="vertical"),
b.scroller.slider.width<100&&this.drawScrollBar(b.scroller);else{var k=b.scroll=="horizontal"?parseInt(b.thumb.spacing_x):parseInt(b.thumb.spacing_y),h=this.slidesTotal<=h?this.slidesTotal:h,u=b.scroll=="horizontal"?n:h,p=b.scroll=="horizontal"?parseInt(b.thumb.width):parseInt(b.thumb.height);b.maximum=Math.ceil(this.slidesTotal/Math.floor(h))*(parseInt(b.thumb.height)+parseInt(k))-Math.floor(u)*parseInt(k)+parseInt(b.padding_x);if(Math.round(b.maximum/g*100)<100)o?b.maximim=Math.ceil(this.slidesTotal/
Math.floor(u))*p+k:b.maximum=g-p+k,this.attachScrollBehavior(b)}m=jQuery(".CU3ERthumbs .CU3ERthumbs-holder .CU3ERThumb",c);m.each(function(b){jQuery(m[b]).bind("click touchstart",function(){if(CU3ER[e].current!=b&&!CU3ER[e].inTransition)CU3ER[e].inTransition=!0,CU3ER[e].doCheck=!1,setTimeout(function(){CU3ER[e].skipTo(b,!0,!1)},50);return!1})})},drawScrollBar:function(b){var e=this.id,c=this.el;CU3ER[e].debug("drawing scrollbar and attaching scroll behavior");var b=jQuery.extend(!0,{align_pos:"TL",
x:0,y:0,width:10,height:10,round_corners:"5,5,5,5",bar:{color:"0x777777",alpha:0.9},slider:{thickness:6,color:"0xbbbbbb",alpha:1}},b),d=!1,f=0,g=0,k=0,h=0,n=jQuery(".CU3ERthumbsBG",c).outerWidth(),q=jQuery(".CU3ERthumbsBG",c).outerHeight(),n=this.calculatePosition({width:parseInt(b.width),height:parseInt(b.height),x:parseInt(b.x),y:parseInt(b.y),align_pos:b.align_pos,fullWidth:n,fullHeight:q});jQuery(".CU3ERthumbs",c).append('<div class="CU3ERscroll-holder"><div class="CU3ERscroll"></div></div>');
jQuery(".CU3ERthumbs",c).bind("mouseover",function(d){var f=jQuery(d.currentTarget).offset();if(b.scroll=="horizontal"){var g=Math.round(f.left+jQuery(d.currentTarget).width()/3),h=Math.round(f.left+jQuery(d.currentTarget).width()/3*2),f=jQuery(".CU3ERThumbsScroll",c).width(),k=jQuery(".CU3ERscroll",c).width(),q=Math.round((parseInt(b.height)-parseInt(b.slider.thickness))/2),n=(f-k-q)*100/parseInt(f),n=n*b.maximum/100,k=(f-k)*100/parseInt(f),k=k*b.maximum/100,d=parseInt(d.clientX);if(d<g){var t=-parseInt(jQuery(".CU3ERthumbs-holder",
c).css("marginLeft"));scrollPXMovement=Math.round((g-d)*(g-d)/(g+t))*50;scrollPX=t-scrollPXMovement>0?t-scrollPXMovement:0;scrollPercentage=parseInt(scrollPX/b.maximum*100);d=Math.ceil(scrollPercentage*parseInt(f)/100);CU3ER[e].scrollTo(d>q?d:q,scrollPX,"LR",!0)}else d>h&&(t=-parseInt(jQuery(".CU3ERthumbs-holder",c).css("marginLeft")),scrollPXMovement=Math.round((h-d)*(h-d)/(h+t))*50,scrollPX=t+scrollPXMovement<n?t+scrollPXMovement:n,scrollPX2=t+scrollPXMovement<k?t+scrollPXMovement:k,scrollPercentage=
parseInt(scrollPX/b.maximum*100),d=Math.ceil(scrollPercentage*parseInt(f)/100),CU3ER[e].scrollTo(d,scrollPX2,"LR",!0))}else g=Math.round(f.top+jQuery(d.currentTarget).height()/3),h=Math.round(f.top+jQuery(d.currentTarget).height()/3*2),f=jQuery(".CU3ERscroll-holder",c).height(),k=jQuery(".CU3ERscroll",c).height(),q=Math.round((parseInt(b.width)-parseInt(b.slider.thickness))/2),n=(f-k-q)*100/parseInt(f),n=n*b.maximum/100,k=(f-k)*100/parseInt(f),k=k*b.maximum/100,d=parseInt(d.clientY),d<g?(t=-parseInt(jQuery(".CU3ERthumbs-holder",
c).css("marginTop")),scrollPXMovement=Math.round((g-d)*(g-d)/(g+t))*50,scrollPX=t-scrollPXMovement>0?t-scrollPXMovement:0,scrollPercentage=scrollPX/b.maximum*100,d=Math.ceil(scrollPercentage*parseInt(f)/100),CU3ER[e].scrollTo(d>q?d:q,scrollPX,"TB",!0)):d>h&&(t=-parseInt(jQuery(".CU3ERthumbs-holder",c).css("marginTop")),scrollPXMovement=Math.round((h-d)*(h-d)/(h+t))*50,scrollPX=t+scrollPXMovement<n?t+scrollPXMovement:n,scrollPX2=t+scrollPXMovement<k?t+scrollPXMovement:k,scrollPercentage=scrollPX/b.maximum*
100,d=Math.ceil(scrollPercentage*parseInt(f)/100),CU3ER[e].scrollTo(d,scrollPX2,"TB",!0))});jQuery(".CU3ERscroll-holder",c).css(n).css({width:b.width+"px",height:b.height+"px",position:"absolute",background:b.bar.color.replace("0x","#"),opacity:b.bar.alpha,"z-index":1E7,outline:"none",lineHeight:"1px"}).borderRadius(b.round_corners).find(".CU3ERscroll").css({background:b.slider.color.replace("0x","#"),opacity:b.slider.alpha,height:b.scroll=="horizontal"?b.slider.thickness+"px":Math.floor(b.slider.width)+
"%",width:b.scroll=="horizontal"?Math.floor(b.slider.width)+"%":b.slider.thickness+"px",position:"absolute",top:b.scroll=="horizontal"?Math.round((parseInt(b.height)-parseInt(b.slider.thickness))/2):Math.round((parseInt(b.width)-parseInt(b.slider.thickness))/2),left:b.scroll=="horizontal"?Math.round((parseInt(b.height)-parseInt(b.slider.thickness))/2):Math.round((parseInt(b.width)-parseInt(b.slider.thickness))/2),cursor:"pointer","z-index":10000001,outline:"none",lineHeight:"1px"}).borderRadius(b.round_corners).bind("mousedown",
function(b){d=!0;b.preventDefault();f=b.clientX;g=b.clientY;k=parseFloat(jQuery(".CU3ERscroll",c).css("left"));h=parseFloat(jQuery(".CU3ERscroll",c).css("top"))});jQuery(document).bind("mousemove",function(q){if(d)if(b.scroll=="horizontal"){var o=jQuery(".CU3ERscroll-holder",c).width(),m=jQuery(".CU3ERscroll",c).width(),m=o-m,n=m*100/parseInt(o),n=Math.ceil(n*b.maximum/100),q=parseInt(q.clientX-f)+k;q>m?(q=m-Math.round((parseInt(b.height)-parseInt(b.slider.thickness))/2),scrollPX=n):q<0?(q=Math.round((parseInt(b.height)-
parseInt(b.slider.thickness))/2),scrollPX=0):(scrollPercentage=q*100/parseInt(o),scrollPX=Math.ceil(scrollPercentage*b.maximum/100));CU3ER[e].scrollTo(q,scrollPX,"LR",!1)}else o=jQuery(".CU3ERscroll-holder",c).height(),m=jQuery(".CU3ERscroll",c).height(),m=o-m,n=m*100/parseInt(o),n=Math.ceil(n*b.maximum/100),q=parseInt(q.clientY-g)+h,q>m?(q=m-Math.round((parseInt(b.width)-parseInt(b.slider.thickness))/2),scrollPX=n):q<0?(q=Math.round((parseInt(b.width)-parseInt(b.slider.thickness))/2),scrollPX=0):
(scrollPercentage=q*100/parseInt(o),scrollPX=Math.ceil(scrollPercentage*b.maximum/100)),CU3ER[e].scrollTo(q,scrollPX,"TB",!1)}).bind("mouseup",function(){d=!1})},updateIndicator:function(b,e,c,d){var f=this.id,g=this.el;if(b==e)typeof this.circularPBOptions!="undefined"&&typeof this.circularPBOptions.startSlider!="undefined"&&this.circularPBOptions.startSlider==!0?(this.circularPBOptions.endDeg=360,this.animateCircularProgressbarTo(this.circularPBOptions),CU3ER[f].initSlider()):jQuery(c).find(".CU3ERprogress").animate({width:typeof b==
"string"?b:"100%"},"normal",function(){d==!0?(jQuery(".CU3ERindicator",g).fadeOut(400,function(){jQuery(this).remove()}),setTimeout(function(){CU3ER[f].initSlider()},400)):jQuery(c).fadeOut("fast").css("display","block").remove()});else{var k=jQuery(c).find(".CU3ERprogress").css("width"),h=Math.round(100/e*b);typeof this.circularPBOptions!="undefined"&&typeof this.circularPBOptions.startSlider!="undefined"&&this.circularPBOptions.startSlider==!0?(this.circularPBOptions.endDeg=360*h/100,this.animateCircularProgressbarTo(this.circularPBOptions)):
h>parseInt(k)&&jQuery(c).find(".CU3ERprogress").animate({width:typeof b=="string"?b:Math.round(100/e*b)+"%"})}},initSlider:function(){var b=this.id,e=this.el;this.keyboardControlls&&jQuery(document).bind("keydown",function(c){if(c.which=="37"&&!CU3ER[b].inTransition)CU3ER[b].inTransition=!0,CU3ER[b].doCheck=!1,setTimeout(function(){CU3ER[b].prev()},50);if(c.which=="39"&&!CU3ER[b].inTransition)CU3ER[b].inTransition=!0,CU3ER[b].doCheck=!1,setTimeout(function(){CU3ER[b].next()},50)});jQuery(".CU3ERindicator",
e).fadeOut("fast");var c=CU3ER[b].xml,d;try{d=window.ActiveXObject?c.xml:(new XMLSerializer).serializeToString(c)}catch(f){d=c}if(typeof d=="undefined"||d=="")d=c;var g=d.match(/(<licence>(.)*<\/licence>)+/gi);g!=null?g.push(CU3ER[b].licenseStr):g=Array(CU3ER[b].licenseStr);if(g!=null){for(c=0;c<g.length;c++)g[c]=g[c].split("<licence>").join("").split("</licence>").join(""),g[c]=g[c].split("<![CDATA[").join("").split("]]\>").join("");c=!1;if(g.length!=0){var k=document.location.href.toLowerCase(),
k=k.split("https://").join("").split("http://").join("").split("www.").join(""),k=k.split("/")[0];k=="file:"&&(k="localdrive");for(var h=k.split(".");h.length>4;)h.splice(0,1);for(var n=h,q,r,o="",m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"],k=k[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]),k=k[m[3]](m[6])[0],c=0;c<32;c++){q=c%2+1;for(d=r=0;d<k[m[8]];)r+=(k[m[7]](d)+3)%(c+1)*(k[m[7]](d)+2),d+=q;r=r%94+33;r==60&&(r=58);r==62&&
(r=59);o+=String[m[9]](r)}var s=!1;for(l=0;l<g.length;l++)s=s||o==g[l].toString();o=o.split("+").join(" ");for(l=0;l<g.length;l++)s=s||o==g[l].toString();if(h.length>3){o="";h=h.slice(1);h=h.slice(1);k=h.join(".");m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];k=k[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]);k=k[m[3]](m[6])[0];for(c=0;c<32;c++){q=c%2+1;for(d=r=0;d<k[m[8]];)r+=(k[m[7]](d)+3)%(c+1)*(k[m[7]](d)+2),d+=q;r=r%94+33;
r==60&&(r=58);r==62&&(r=59);o+=String[m[9]](r)}for(l=0;l<g.length;l++)s=s||o==g[l].toString();o=o.split("+").join(" ");for(l=0;l<g.length;l++)s=s||o==g[l].toString()}h=n;if(h.length>2){o="";h=h.slice(1);k=h.join(".");m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];k=k[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]);k=k[m[3]](m[6])[0];for(c=0;c<32;c++){q=c%2+1;for(d=r=0;d<k[m[8]];)r+=(k[m[7]](d)+3)%(c+1)*(k[m[7]](d)+2),d+=q;r=r%94+
33;r==60&&(r=58);r==62&&(r=59);o+=String[m[9]](r)}for(l=0;l<g.length;l++)s=s||o==g[l].toString();o=o.split("+").join(" ");for(l=0;l<g.length;l++)s=s||o==g[l].toString()}c=s?!0:!1}else c=!1}else c=!1;jQuery(".CU3ERbackground",e).css({display:"block"});jQuery(".CU3ERslides-holder div.CU3ERslide, .CU3ERthumbs",e).css("visibility","visible");if(!c){CU3ER[b].rnd!=null&&CU3ER[b].rnd.remove();for(c="";c.length<16;)c+=String.fromCharCode(65+Math.floor(Math.random()*25));d=json.settings.branding.align_to==
"stage"?this.stage:this.slides;if(this.supportCanvas()){jQuery(d).append('<div class="'+c+'"><canvas id="l-'+c+'"/></div>');CU3ER[b].rnd=jQuery("."+c);cssBrandingFixed={position:"absolute",width:"40px",height:"40px",display:"none",cursor:"pointer","z-index":1E3};g=document.getElementById("l-"+c);g.width=g.height=40;k=g.getContext("2d");h=k.getImageData(0,0,g.width,g.height);n=imgLogo.split(",");for(c=0;c<g.height;c++)for(d=0;d<g.width;d++)m=(d+c*40)*4,s=parseInt(n[d+c*40],16),q=s>>24&255,r=s>>16&
255,o=s>>8&255,s&=255,h.data[m+0]=r,h.data[m+1]=o,h.data[m+2]=s,h.data[m+3]=q;k.putImageData(h,0,0)}else jQuery(d).append('<div class="'+c+'"></div>'),CU3ER[b].rnd=jQuery("."+c),CU3ER[b].rnd=jQuery("."+c,e),cssBrandingFixed={position:"absolute",width:"40px",height:"40px",cursor:"pointer",background:'transparent url("http://getcu3er.com/CU3ER-images/cu3er_logo.png") no-repeat top right',display:"none","z-index":1E3};optionsBranding={align_pos:CU3ER[b].json.settings.branding.align_pos,x:CU3ER[b].json.settings.branding.x,
y:CU3ER[b].json.settings.branding.y,width:40,height:40,fullWidth:CU3ER[b].json.settings.width,fullheight:CU3ER[b].json.settings.height};cssBranding=this.calculatePosition(optionsBranding);if(typeof cssBranding.bottom=="undefined")cssBranding.top="5px";if(typeof cssBranding.left=="undefined")cssBranding.right="5px";cssBranding=jQuery.extend(cssBrandingFixed,cssBranding);CU3ER[b].rnd.css(cssBranding);CU3ER[b].rnd.fadeIn("slow").bind("click",function(){window.open("http://getcu3er.com/?cu3er=REFERRAL",
"CU3ER")})}this.circularPBOptions={color1:null,color2:null,opacity1:null,opacity2:null,padding:null,radius:null,startPoint:null,endPoint:null,tempTimeout:null,shape:"linear"};c=this.elements=jQuery(".CU3ERslides-holder div.CU3ERslide",e);c.css("display","none");CU3ER[b].handleAutoHide({prev_button:CU3ER[b].json.controls.prev_button,next_button:CU3ER[b].json.controls.next_button},CU3ER[b].json.controls.auto_play_indicator,CU3ER[b].json.description,CU3ER[b].json.thumbnails);this.transition=jQuery.extend(!0,
{},CU3ER[b].jsonOriginal.defaults.transition,CU3ER[b].jsonOriginal.slides.transition[CU3ER[b].current]);this.transition.scaleX=typeof this.json.slides.slide[this.current].image!="undefined"?this.json.slides.slide[this.current].image.scaleX:1;this.transition.scaleY=typeof this.json.slides.slide[this.current].image!="undefined"?this.json.slides.slide[this.current].image.scaleY:1;c=this.elements;if(c.length==1)jQuery(".CU3ERslides-holder",e).append(jQuery(c[0]).clone()),c=this.elements=jQuery(".CU3ERslides-holder div.CU3ERslide",
e);jQuery(c[CU3ER[b].current]).css("display","block");jQuery(CU3ER[b].stage).find("a").css({"text-decoration":"none"});jQuery(CU3ER[b].stage).find("img").css({border:"none"});jQuery(".CU3ERbuttonNext, .CU3ERbuttonPrev",e).fadeIn("fast");this.rollOverPause&&jQuery(this.stage).hover(function(){if(CU3ER[b].pauseType!=2)CU3ER[b].pauseType=1,CU3ER[b].mOver=!0,CU3ER[b].pause()},function(){if(CU3ER[b].pauseType!=2&&(CU3ER[b].mOver=!1,CU3ER[b].paused))CU3ER[b].pauseType=1,CU3ER[b].pause()});this.switchThumbnailClass(this.current);
this.onLoadComplete(this.slidesOrder);this.onTransitionComplete()},calculatePosition:function(b){var e={};switch(b.align_pos){case "TL":e={top:parseFloat(b.y)+"px",left:parseFloat(b.x)+"px"};break;case "TC":e={top:parseFloat(b.y)+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)/2)-Math.floor(parseFloat(b.width)/2)+parseFloat(b.x))+"px"};break;case "TR":e={top:parseFloat(b.y)+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)-parseFloat(b.width)+parseFloat(b.x)))+"px"};break;case "BL":e=
{top:Math.round(Math.floor(parseFloat(b.fullHeight)-parseFloat(b.height))+parseFloat(b.y))+"px",left:parseFloat(b.x)+"px"};break;case "BC":e={top:Math.round(Math.floor(parseFloat(b.fullHeight)-parseFloat(b.height))+parseFloat(b.y))+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)/2)-Math.floor(parseFloat(b.width)/2)+parseFloat(b.x))+"px"};break;case "BR":e={top:Math.round(Math.floor(parseFloat(b.fullHeight)-parseFloat(b.height))+parseFloat(b.y))+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)-
parseFloat(b.width)+parseFloat(b.x)))+"px"};break;case "ML":e={top:Math.round(Math.floor(parseFloat(b.fullHeight)/2)-Math.floor(parseFloat(b.height)/2)+parseFloat(b.y))+"px",left:parseFloat(b.x)+"px"};break;case "MC":e={top:Math.round(Math.floor(parseFloat(b.fullHeight)/2)-Math.floor(parseFloat(b.height)/2)+parseFloat(b.y))+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)/2)-Math.floor(parseFloat(b.width)/2)+parseFloat(b.x))+"px"};break;case "MR":e={top:Math.round(Math.floor(parseFloat(b.fullHeight)/
2)-Math.floor(parseFloat(b.height)/2)+parseFloat(b.y))+"px",left:Math.round(Math.floor(parseFloat(b.fullWidth)-parseFloat(b.width)+parseFloat(b.x)))+"px"}}return e},attachScrollBehavior:function(b){var e=this.id,c=this.el;CU3ER[e].debug("attaching scroll behavior to thumbs since there is no scroller");jQuery(".CU3ERthumbs",c).bind("mouseover",function(d){var f=jQuery(d.currentTarget).offset();if(b.scroll=="horizontal"){var g=jQuery(".CU3ERThumbsScroll",c).width(),k=jQuery(".CU3ERthumbs-holder .CU3ERThumb",
c),k=(jQuery(k[0]).width()+parseInt(jQuery(k[0]).css("left")))*k.length;if(k>g){var g=Math.round(f.left+parseInt(b.width)/3),h=Math.round(f.left+parseInt(b.width)/3*2),d=parseInt(d.clientX),f=parseInt(b.maximum)-parseInt(b.width)+CU3ER[e].slidesTotal*b.thumb.spacing_x;d<g?(k=-parseInt(jQuery(".CU3ERthumbs-holder",c).css("margin-left")),scrollPXMovement=Math.floor((g-d)*(g-d)/(g+k))*50,scrollPX=k-scrollPXMovement>0?k-scrollPXMovement:0,CU3ER[e].scrollTo(0,scrollPX,"LR",!0)):d>h&&(k=-parseInt(jQuery(".CU3ERthumbs-holder",
c).css("margin-left")),scrollPXMovement=Math.floor((h-d)*(h-d)/(h+k))*50,scrollPX=k+scrollPXMovement<f?k+scrollPXMovement:f,CU3ER[e].scrollTo(0,scrollPX,"LR",!0))}}else g=jQuery(".CU3ERThumbsScroll",c).height(),k=jQuery(".CU3ERthumbs-holder .CU3ERThumb",c),k=(jQuery(k[0]).height()+parseInt(jQuery(k[0]).css("top")))*k.length,k>g&&(g=Math.round(f.top+parseInt(b.height)/3),h=Math.round(f.top+parseInt(b.height)/3*2),d=parseInt(d.clientY),f=parseInt(b.maximum)-parseInt(b.height)+CU3ER[e].slidesTotal*b.thumb.spacing_y,
d<g?(k=-parseInt(jQuery(".CU3ERthumbs-holder",c).css("margin-top")),scrollPXMovement=Math.floor((g-d)*(g-d)/(g+k))*50,scrollPX=k-scrollPXMovement>0?k-scrollPXMovement:0,CU3ER[e].scrollTo(0,scrollPX,"TB",!0)):d>h&&(k=-parseInt(jQuery(".CU3ERthumbs-holder",c).css("margin-top")),scrollPXMovement=Math.floor((h-d)*(h-d)/(h+k))*50,scrollPX=k+scrollPXMovement<f?k+scrollPXMovement:f,CU3ER[e].scrollTo(0,scrollPX,"TB",!0)))})},scrollTo:function(b,e,c,d){var f=this.el;d===!1?c=="TB"?(jQuery(".CU3ERscroll",f).stop().css({top:b}),
jQuery(".CU3ERthumbs-holder",f).stop().css({marginTop:-e+"px"})):(jQuery(".CU3ERscroll",f).stop().css({left:b}),jQuery(".CU3ERthumbs-holder",f).stop().css({marginLeft:-e+"px"})):c=="TB"?(jQuery(".CU3ERscroll",f).stop().animate({top:b},"slow"),jQuery(".CU3ERthumbs-holder",f).stop().animate({marginTop:-e+"px"},"noramal")):(jQuery(".CU3ERscroll",f).stop().animate({left:b},"slow"),jQuery(".CU3ERthumbs-holder",f).stop().animate({marginLeft:-e+"px"},"normal"))},next:function(){if(this.isFlash)this.registerFlash(),
this.swf.next();else if(this.inTransition!==!0||this.doCheck===!1)this.stopFlag=!0,clearTimeout(this.circularPBOptions.tempTimeout),this.nextFlag=!0,this.skipTo(this.calculateNext(this.current),!0,!1)},prev:function(){if(this.isFlash)this.registerFlash(),this.swf.prev();else if(this.inTransition!==!0||this.doCheck===!1)this.stopFlag=!0,clearTimeout(this.circularPBOptions.tempTimeout),this.nextFlag=!1,this.skipTo(this.calculatePrevious(this.current),!0,!1)},skipTo:function(b,e,c){var d=this.id,f=this.el;
if(this.isFlash)this.registerFlash(),this.swf.skipTo(b-1);else if(this.inTransition!==!0||this.doCheck==!1){this.doCheck=!0;b=typeof e!="undefined"&&e===!0?b:b-1;e=typeof c!="undefined"?c:!0;this.inTransition=!0;clearTimeout(this.tempTimeout[this.current]);clearTimeout(this.tempTimeout[b]);clearTimeout(this.circularPBOptions.tempTimeout);this.stopFlag=!0;c=this.elements;jQuery(c[b]).hasClass("notLoaded")?(jQuery(c[CU3ER[d].current]).parent().append('<div class="CU3ERpreloader"></div>'),loaderCSS=
{width:50,height:50,align_pos:"MC",x:0,y:0,fullWidth:CU3ER[d].json.slides.width,fullHeight:CU3ER[d].json.slides.height},preloaderCSSFinal=CU3ER[d].calculatePosition(loaderCSS),jQuery(".CU3ERpreloader",f).css(preloaderCSSFinal).css({"z-index":1E3}),jQuery(c[CU3ER[d].calculateNext(CU3ER[d].current)]).bind("classChanged",function(){CU3ER[d].skipTo(b,!0,!0)})):(jQuery(".CU3ERpreloader",f).remove(),this.nextSlide=b,this.startTransition(e));var e=CU3ER[d].xml,g;try{g=window.ActiveXObject?e.xml:(new XMLSerializer).serializeToString(e)}catch(k){g=
e}if(typeof g=="undefined"||g=="")g=e;c=g.match(/(<licence>(.)*<\/licence>)+/gi);c!=null?c.push(CU3ER[d].licenseStr):c=Array(CU3ER[d].licenseStr);if(c!=null){for(g=0;g<c.length;g++)c[g]=c[g].split("<licence>").join("").split("</licence>").join(""),c[g]=c[g].split("<![CDATA[").join("").split("]]\>").join("");g=!1;if(c.length!=0){var h=document.location.href.toLowerCase(),h=h.split("https://").join("").split("http://").join("").split("www.").join(""),h=h.split("/")[0];h=="file:"&&(h="localdrive");for(var n=
h.split(".");n.length>4;)n.splice(0,1);var q=n,r,o="",m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"],h=h[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]),h=h[m[3]](m[6])[0];for(g=0;g<32;g++){r=g%2+1;for(e=b=0;e<h[m[8]];)b+=(h[m[7]](e)+3)%(g+1)*(h[m[7]](e)+2),e+=r;b=b%94+33;b==60&&(b=58);b==62&&(b=59);o+=String[m[9]](b)}var s=!1;for(l=0;l<c.length;l++)s=s||o==c[l].toString();o=o.split("+").join(" ");for(l=0;l<c.length;l++)s=s||o==c[l].toString();
if(n.length>3){o="";n=n.slice(1);n=n.slice(1);h=n.join(".");m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];h=h[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]);h=h[m[3]](m[6])[0];for(g=0;g<32;g++){r=g%2+1;for(e=b=0;e<h[m[8]];)b+=(h[m[7]](e)+3)%(g+1)*(h[m[7]](e)+2),e+=r;b=b%94+33;b==60&&(b=58);b==62&&(b=59);o+=String[m[9]](b)}for(l=0;l<c.length;l++)s=s||o==c[l].toString();o=o.split("+").join(" ");for(l=0;l<c.length;l++)s=s||o==c[l].toString()}n=
q;if(n.length>2){o="";n=n.slice(1);h=n.join(".");m=["","join","www.","split","http://","https://","/","charCodeAt","length","fromCharCode"];h=h[m[3]](m[5])[m[1]](m[0])[m[3]](m[4])[m[1]](m[0])[m[3]](m[2])[m[1]](m[0]);h=h[m[3]](m[6])[0];for(g=0;g<32;g++){r=g%2+1;for(e=b=0;e<h[m[8]];)b+=(h[m[7]](e)+3)%(g+1)*(h[m[7]](e)+2),e+=r;b=b%94+33;b==60&&(b=58);b==62&&(b=59);o+=String[m[9]](b)}for(l=0;l<c.length;l++)s=s||o==c[l].toString();o=o.split("+").join(" ");for(l=0;l<c.length;l++)s=s||o==c[l].toString()}g=
s?!0:!1}else g=!1}else g=!1;if(!g){CU3ER[d].rnd!=null&&CU3ER[d].rnd.remove();for(g="";g.length<16;)g+=String.fromCharCode(65+Math.floor(Math.random()*25));e=json.settings.branding.align_to=="stage"?this.stage:this.slides;if(this.supportCanvas()){jQuery(e).append('<div class="'+g+'"><canvas id="l-'+g+'"/></div>');CU3ER[d].rnd=jQuery("."+g);cssBrandingFixed={position:"absolute",width:"40px",height:"40px",cursor:"pointer","z-index":1E3};f=document.getElementById("l-"+g);f.width=f.height=40;c=f.getContext("2d");
h=c.getImageData(0,0,f.width,f.height);n=imgLogo.split(",");for(g=0;g<f.height;g++)for(e=0;e<f.width;e++)m=(e+g*40)*4,s=parseInt(n[e+g*40],16),q=s>>24&255,r=s>>16&255,o=s>>8&255,s&=255,h.data[m+0]=r,h.data[m+1]=o,h.data[m+2]=s,h.data[m+3]=q;c.putImageData(h,0,0)}else jQuery(e).append('<div class="'+g+'"></div>'),CU3ER[d].rnd=jQuery("."+g),CU3ER[d].rnd=jQuery("."+g,f),cssBrandingFixed={position:"absolute",width:"40px",height:"40px",cursor:"pointer",background:'transparent url("http://getcu3er.com/CU3ER-images/cu3er_logo.png") no-repeat top right',
"z-index":1E3};optionsBranding={align_pos:CU3ER[d].json.settings.branding.align_pos,x:CU3ER[d].json.settings.branding.x,y:CU3ER[d].json.settings.branding.y,width:40,height:40,fullWidth:CU3ER[d].json.settings.width,fullheight:CU3ER[d].json.settings.height};cssBranding=this.calculatePosition(optionsBranding);if(typeof cssBranding.bottom=="undefined")cssBranding.top="5px";if(typeof cssBranding.left=="undefined")cssBranding.right="5px";cssBranding=jQuery.extend(cssBrandingFixed,cssBranding);CU3ER[d].rnd.css(cssBranding);
CU3ER[d].rnd.bind("click",function(){window.open("http://getcu3er.com/?cu3er=REFERRAL","CU3ER")})}}},clearTimeouts:function(){var b=this.id;clearTimeout(this.tempTimeout[this.nextSlide]);clearTimeout(this.tempTimeout[this.current]);for(i in this.tempTimeout)clearTimeout(CU3ER[b].tempTimeout[i]),delete CU3ER[b].tempTimeout[i];clearTimeout(this.tempTimeout)},destroy:function(){var b=this.id;this.paused=!0;clearTimeout(this.tempTimeout[this.nextSlide]);clearTimeout(this.tempTimeout[this.current]);for(i in this.tempTimeout)clearTimeout(CU3ER[b].tempTimeout[i]),
delete CU3ER[b].tempTimeout[i];clearTimeout(this.tempTimeout);CU3ER[b]=null},destroyAll:function(){for(i in CU3ER){CU3ER[i].paused=!0;clearTimeout(CU3ER[i].tempTimeout[this.nextSlide]);clearTimeout(CU3ER[i].tempTimeout[this.current]);for(a in CU3ER[i].tempTimeout)clearTimeout(CU3ER[i].tempTimeout[a]),delete CU3ER[i].tempTimeout[a];clearTimeout(CU3ER[i].tempTimeout)}},startTransition:function(b){var e=this.id,c=this.el;this.clearTimeouts();jQuery(".CU3ERtransition",c).remove();this.first=this.last=
!1;if(this.json.slides.slide.length==1)var d=0;else if(b==!0)if(this.current==parseInt(this.slidesTotal-1)&&this.nextSlide==0)this.directionReverse=!1,this.last=!0,d=this.json.slides.slide[this.current].originalPosition;else if(this.current==0&&this.nextSlide==parseInt(this.slidesTotal-1))this.first=this.directionReverse=!0,d=this.json.slides.slide[this.nextSlide].originalPosition;else if(this.current>this.nextSlide)this.directionReverse=!0,d=this.json.slides.slide[this.nextSlide].originalPosition;
else{if(this.current<this.nextSlide)this.directionReverse=!1,d=this.json.slides.slide[this.current].originalPosition}else this.nextFlag==!0?(this.directionReverse=!1,d=this.json.slides.slide[this.current].originalPosition):(this.directionReverse=!0,d=this.json.slides.slide[this.nextSlide].originalPosition);this.onTransition(d+1);this.transition=jQuery.extend(!0,{},{type:"3D",columns:"3",rows:"3",type2D:"slide",flipAngle:"180",flipOrder:"315",flipShader:"none",flipOrderFromCenter:"false",flipDirection:"right",
flipColor:"0x878787",flipBoxDepth:"10",flipDepth:"250",flipEasing:"Sine.easeOut",flipDuration:".6",flipDelay:".15"},CU3ER[e].jsonOriginal.defaults.transition,CU3ER[e].jsonOriginal.slides.transition[d]);this.transition.classNo=d;this.transition.scaleX=typeof this.json.slides.slide[d].image!="undefined"?this.json.slides.slide[d].image.scaleX:1;this.transition.scaleY=typeof this.json.slides.slide[d].image!="undefined"?this.json.slides.slide[d].image.scaleY:1;b=this.transition.flipOrder=="90"||this.transition.flipOrder==
"270"?parseInt(this.transition.rows):this.transition.flipOrder=="0"||this.transition.flipOrder=="180"?parseInt(this.transition.columns):parseInt(this.transition.rows)*parseInt(this.transition.columns);this.transition.time=parseFloat(parseFloat(this.transition.flipDuration)+parseFloat(this.transition.flipDelay)*(b-1));b=this.elements;this.switchThumbnailClass(this.nextSlide);jQuery(".CU3ERlayer",c).css("display","block");b.length==2?jQuery(b[0]).trigger("startTransition"):jQuery(b[CU3ER[e].current]).trigger("startTransition");
this.is3D()||this.isCameraFlat()?this.transition.type=="3D"||parseInt(this.transition.rows)>1||parseInt(this.transition.columns)>1?this.transitionSlices():typeof this.transition.type2D!="undefined"||this.transition.type2D=="slide"?this.transitionSlices():this.transitionFade():this.transitionFade()},transitionFade:function(){var b=this.id,e=this.elements;jQuery(e).css({"z-index":1,opacity:1});e.each(function(c){c!=CU3ER[b].current&&jQuery(this).css({display:"none"})});if(!this.is3D())var c=this.transition.type==
"2D"&&this.transition.type2D=="fade"?parseFloat(CU3ER[b].transition.time)*1E3:parseFloat(this.transition.flipDuration)*1E3;var d=typeof CU3ER[b].transition.flipEasing!="undefined"?CU3ER[b].transition.flipEasing:"Sine.easeInOut";this.nextSlide<this.current?(jQuery(e[CU3ER[b].nextSlide]).css({display:"block","z-index":1,"-wekbit-transform":"translateZ(2px)"}),jQuery(e[this.current]).css({"z-index":2,opacity:1,"-webkit-animation":"","-wekbit-transform":"translateZ(1px)"}).fadeOut({duration:c,easing:CU3ER[b].easingValues[d],
complete:function(){CU3ER[b].onTransitionComplete()}})):(jQuery(e[this.current]).css({"z-index":1,"-webkit-transform":"translateZ(2px)"}),jQuery(e[this.nextSlide]).css({"z-index":2,"-webkit-transform":"translateZ(1px)"}).fadeIn({duration:c,easing:CU3ER[b].easingValues[d],complete:function(){jQuery(e[CU3ER[b].current]).css({opacity:1,display:"none"});CU3ER[b].onTransitionComplete()}}))},transitionSlices:function(){var b=this.id,e=this.el;jQuery(".CU3ERtransition-holder",e).css("display","block");var c=
{fade:1,up:2,down:3,left:4,right:5,random:6},d=this.is3D()?this.transition.type:"2D",f=[],g=this.transition.flipDirection.split(",");if(this.transition.type2D=="fade"&&d=="2D")c=1;else if(g.length>1){for(m=0;m<g.length;m++)f[m]=c[g[m]];c=6}else c=c[g[0]];var k=this.directionReverse,f=this.setDirections(this.transition,c,f),c=parseInt(this.transition.rows)*parseInt(this.transition.columns),g=this.elements,h="",n=0,q=0,r=Math.ceil(jQuery(".CU3ERslides-holder",e).width()/parseInt(this.transition.columns)),
o=Math.ceil(jQuery(".CU3ERslides-holder",e).height()/parseInt(this.transition.rows)),m=jQuery(".CU3ERslides-holder",e).width(),h=jQuery(".CU3ERslides-holder",e).height();jQuery(g[CU3ER[b].current]).css("display","none");jQuery(g[CU3ER[b].nextSlide]).css("display","block");jQuery(".CU3ERtransition-holder",e).append('<div class="CU3ERtransition"></div>').find(".CU3ERtransition").css({position:"absolute",top:0,left:0,margin:0,padding:0,width:m+"px",height:h+"px","z-index":400});m=function(c){var d=jQuery(".CU3ERslides-holder",
e),f=d.width(),d=d.height();c.el.width=f;c.el.height=d;var g=c.el.getContext("2d");if(c.bgcolor!=null){for(var h=c.bgcolor.replace("0x","").match(/(.{2})/g),k=3;k--;)h[k]=parseInt(h[k],16);h="rgba("+h.join(", ")+", 100)";g.fillStyle=h}else g.fillStyle="rgba(255, 255, 255, 0)";g.fillRect(0,0,f,d);if(typeof jQuery(c.image).attr("src")!="undefined"){h=jQuery(c.image)[0];if(typeof jQuery(c.image).attr("rel")!="undefined"&&jQuery(c.image).attr("rel")!="")k=jQuery(c.image).attr("rel").split(":"),k[0]!=
c.scaleX&&k[5]!=h.width&&(c.scaleX=k[0]),k[1]!=c.scaleY&&k[6]!=h.height&&(c.scaleY=k[1]);var k=isNaN(parseInt(jQuery(c.image).css("left")))?0:parseInt(jQuery(c.image).css("left")),m=isNaN(parseInt(jQuery(c.image).css("top")))?0:parseInt(jQuery(c.image).css("top")),q,o;q=k<0?k:0;o=m<0?m:0;var n=jQuery("<canvas>")[0],p=h.width*parseFloat(c.scaleX),r=h.height*parseFloat(c.scaleY);n.width=Math.max(h.width,p);n.height=Math.max(h.height,r);var s=n.getContext("2d");if(c.bgcolor!=null)s.fillStyle=c.bgcolor,
s.fillRect(0,0,Math.max(h.width,p),Math.max(h.height,r));try{s.drawImage(h,q,o,p,r)}catch(t){CU3ER[b].debug(q,o,p,r)}try{f=Math.min(h.width,f),d=Math.min(h.height,d),g.drawImage(n,0,0,f,d,Math.max(0,k),Math.max(0,m),f,d)}catch(u){CU3ER[b].debug(f,d,Math.max(0,k),Math.max(0,m),p,r)}}};if(this.supportCanvas()){if(typeof CU3ER[b].jsonOriginal.slides.slide.length=="undefined")var h=jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide,CU3ER[b].jsonOriginal.slides.slide),s=jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide,
CU3ER[b].jsonOriginal.slides.slide);else h=jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide,CU3ER[b].json.slides.slide[this.current]),s=jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide,CU3ER[b].json.slides.slide[this.nextSlide]);var u=jQuery("<canvas>"),p=typeof h.color!="undefined"?h.color:null;p==null&&(p=typeof CU3ER[b].json.settings.background.color!="undefined"?CU3ER[b].json.settings.background.color:null);m({scaleX:d=="2D"&&!CU3ER[b].is3D()?1:typeof h.image!="undefined"?h.image.scaleX:
1,scaleY:d=="2D"&&!CU3ER[b].is3D()?1:typeof h.image!="undefined"?h.image.scaleY:1,bgcolor:p,image:jQuery(g[CU3ER[b].current]).find("img")[0],el:u[0]});var v=jQuery("<canvas>"),p=typeof s.color!="undefined"?s.color:null;p==null&&(p=typeof CU3ER[b].json.settings.background.color!="undefined"?CU3ER[b].json.settings.background.color:null);m({scaleX:d=="2D"&&!CU3ER[b].is3D()?1:typeof s.image!="undefined"?s.image.scaleX:1,scaleY:d=="2D"&&!CU3ER[b].is3D()?1:typeof s.image!="undefined"?s.image.scaleY:1,bgcolor:p,
image:jQuery(g[CU3ER[b].nextSlide]).find("img")[0],el:v[0]})}for(var m=0;m<c;m++){var t=n*r,x=q*o;CU3ER[b].transition.columns==1?(t=0,x=q*o,q==c-1&&(h=jQuery(".CU3ERtransition-holder",e).height()-(c-1)*o,x=q*o-(o-h)),q++):CU3ER[b].transition.rows==1?(x=0,t=n*r,n==c-1&&(h=jQuery(".CU3ERtransition-holder",e).width()-(c-1)*r,t=n*r-(r-h)),n++):n%(parseInt(CU3ER[b].transition.columns)-1)==0?n>0&&parseInt(CU3ER[b].transition.columns)>0?(h=jQuery(".CU3ERtransition-holder",e).width()-(parseInt(CU3ER[b].transition.columns)-
1)*r,t=n*r-(r-h),q==parseInt(CU3ER[b].transition.rows)-1&&(h=jQuery(".CU3ERtransition-holder",e).height()-(parseInt(CU3ER[b].transition.rows)-1)*o,x=q*o-(o-h)),n=0,q++):(q==parseInt(CU3ER[b].transition.rows)-1&&(h=jQuery(".CU3ERtransition-holder",e).height()-(parseInt(CU3ER[b].transition.rows)-1)*o,x=q*o-(o-h)),n++):(q==parseInt(CU3ER[b].transition.rows)-1&&(h=jQuery(".CU3ERtransition-holder",e).height()-(parseInt(CU3ER[b].transition.rows)-1)*o,x=q*o-(o-h)),n++);h=x;s=t;if(k){var y=[];for(a=0;a<f.length;a++){switch(f[a]){case 1:p=
1;break;case 2:p=3;break;case 3:p=2;break;case 4:p=5;break;case 5:p=4;break;default:p=2}y[a]=p}}else y=f;switch(y[m]){case 1:var p={top:0,position:"absolute",left:0,display:"none"},w={top:0,position:"absolute",left:0};break;case 3:jQuery.browser.msie?(p={top:o+"px",position:"absolute",left:0},w={top:0,position:"absolute",left:0}):(p={top:o+"px",position:"absolute"},w={});break;case 2:jQuery.browser.msie?(p={top:-parseInt(o)+"px",position:"absolute",left:0,"margin-top":0},w={top:0,position:"absolute",
left:0}):(p={"margin-top":-(parseInt(o)*2)+"px",position:"absolute"},w={});break;case 4:jQuery.browser.msie?(p={"margin-left":parseInt(r+3)+"px","float":"left",top:0,left:0},w={"float":"left",top:0,left:0}):(p={"margin-left":parseInt(r+3)+"px","float":"left"},w={"float":"left"});break;case 5:p=jQuery.browser.msie?{"margin-left":-parseInt(r+3)+"px","float":"left",top:0,left:0}:{"margin-left":-parseInt(r+3)+"px","float":"left"};w={"float":"left"};break;default:jQuery.browser.msie?(p={top:o+"px",position:"absolute",
left:0},w={top:0,position:"absolute",left:0}):(p={top:o+"px",position:"absolute"},w={})}d=="2D"?(this.supportCanvas()?(h=jQuery("<div>").attr("class","CU3ERtrans").css({position:"absolute",left:s+"px",top:h+"px",width:parseInt(r)+2+"px",height:parseInt(o)+1+"px","z-index":400,overflow:"hidden"}).append('<div class="CU3ERsliceHolder"><div class="CU3ERcurrentSlice" style="width: '+r+"px; height: "+o+'px;"></div><div class="CU3ERnextSlice"></div></div>'),jQuery(h).find(".CU3ERsliceHolder").css({width:"5000px",
height:"5000px",position:"relative",top:0,left:0}).find(".CU3ERcurrentSlice").css({width:parseFloat(r)+"px",height:parseFloat(o)+"px",overflow:"hidden"}).css(w).append(jQuery(g[CU3ER[b].current]).find("img").clone()).find("img").replaceWith("<canvas>"),jQuery(h).find(".CU3ERnextSlice").css({width:parseFloat(r)+"px",height:parseFloat(o)+"px",postion:"absolute",overflow:"hidden",position:"absolute"}).css(p).append(jQuery(g[CU3ER[b].nextSlide]).find("img").clone()).find("img").replaceWith("<canvas>"),
jQuery(h).find(".CU3ERcurrentSlice").find("canvas").each(function(){var c=u[0];this.width=r;this.height=o;var d=this.getContext("2d"),e=t,f=x;try{d.drawImage(c,e,f,r,o,0,0,r,o)}catch(g){CU3ER[b].debug(e,f,r,o,g)}}),jQuery(h).find(".CU3ERnextSlice").find("canvas").each(function(){var c=v[0];this.width=r;this.height=o;var d=this.getContext("2d"),e=t,f=x;try{d.drawImage(c,e,f,r,o,0,0,r,o)}catch(g){CU3ER[b].debug(e,f,r,o,g)}})):(h=jQuery("<div>").attr("class","CU3ERtrans").css({position:"absolute",left:s+
"px",top:h+"px",width:parseInt(r)+2+"px",height:parseInt(o)+1+"px","z-index":400,overflow:"hidden"}).append('<div class="CU3ERsliceHolder"><div class="CU3ERcurrentSlice" style="width: '+r+"px; height: "+o+'px;"></div><div class="CU3ERnextSlice" style="width: '+r+"px; height: "+o+'px;"></div></div>'),jQuery(h).find(".CU3ERsliceHolder").css({width:"700px",height:"700px",position:"relative",top:0,left:0}).find(".CU3ERcurrentSlice").css({width:parseFloat(r)+2+"px",height:parseFloat(o)+1+"px",overflow:"hidden",
position:"relative"}).css(w).append(jQuery(g[CU3ER[b].current]).find("img").clone()).find("img").css({position:"absolute",left:-t+"px",top:-x+"px"}),jQuery(h).find(".CU3ERnextSlice").css({width:parseFloat(r)+2+"px",height:parseFloat(o)+1+"px",overflow:"hidden",position:"absolute"}).css(p).append(jQuery(g[CU3ER[b].nextSlide]).find("img").clone()).find("img").css({position:"absolute",left:-t+"px",top:-x+"px"})),jQuery(".CU3ERtransition",e).append(h),jQuery(".CU3ERtransition-holder",e).css({overflow:"hidden"}),
jQuery(g[CU3ER[b].current]).css("display","none")):(h=jQuery("<div>").attr("class","CU3ERtrans").css({position:"absolute",left:s+"px",top:h+"px",width:parseInt(r)+1+"px",height:parseInt(o)+1+"px","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden","-webkit-animation-timing-function":"ease-in-out","z-index":1E3}).append('<div class="CU3ERsliceHolder"><div class="CU3ERcurrentSlice"></div><div class="CU3ERnextSlice"></div></div>'),jQuery(h).find(".CU3ERsliceHolder").css({width:parseInt(r)+
"px",height:parseInt(o)+"px","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden","-webkit-animation-timing-function":"ease-in-out",overflow:"visible",position:"relative"}).find(".CU3ERcurrentSlice").css({width:parseInt(r)+"px",height:parseInt(o)+"px","-webkit-transform":"translateZ(2px)",top:0,left:0,overflow:"hidden"}).append(jQuery(g[CU3ER[b].current]).find("img").clone()).find("img").replaceWith("<canvas>"),jQuery(h).find(".CU3ERnextSlice").css({width:parseInt(r)+"px",
height:parseInt(o)+"px","-webkit-transform":"translateZ(1px)",overflow:"hidden",position:"absolute",top:0,left:0}).append(jQuery(g[CU3ER[b].nextSlide]).find("img").clone()).find("img").replaceWith("<canvas>"),jQuery(h).find(".CU3ERcurrentSlice").find("canvas").each(function(){var c=u[0];this.width=r;this.height=o;var d=this.getContext("2d"),e=t,f=x;try{d.drawImage(c,e,f,r,o,0,0,r,o)}catch(g){CU3ER[b].debug(e,f,r,o,g)}}),jQuery(h).find(".CU3ERnextSlice").find("canvas").each(function(){var c=v[0];this.width=
r;this.height=o;var d=this.getContext("2d"),e=t,f=x;try{d.drawImage(c,e,f,r,o,0,0,r,o)}catch(g){CU3ER[b].debug(e,f,r,o,g)}}),jQuery(".CU3ERtransition",e).css({"-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden"}).append(h),jQuery(".CU3ERtransition-holder",e).css({overflow:"visible","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden"}),jQuery(g[CU3ER[b].nextSlide]).css("display","none"))}jQuery(".CU3ERslides-holder",e).css("display","none");setTimeout(function(){CU3ER[b].animationSlices(y,
k)},50)},animationSlices:function(b,e){var c=this.id,d=jQuery(".CU3ERtrans",this.el),f={};f.rows=parseFloat(this.transition.rows);f.columns=parseFloat(this.transition.columns);f.flipOrder=parseFloat(this.transition.flipOrder);f.flipDuration=parseFloat(this.transition.flipDuration);f.flipDelay=parseFloat(this.transition.flipDelay);f.flipOrderFromCenter=this.transition.flipOrderFromCenter;if(this.directionReverse==!0)switch(parseInt(f.flipOrder)){case 0:f.flipOrder=180;break;case 45:f.flipOrder=225;
break;case 90:f.flipOrder=270;break;case 135:f.flipOrder=315;break;case 180:f.flipOrder=0;break;case 225:f.flipOrder=45;break;case 270:f.flipOrder=90;break;case 315:f.flipOrder=135}var g=this.getOrder(f),k=g[0],g=g[1];f.flipRandomize=0;if(typeof this.transition.flipDelayRandomize!="undefined")f.flipRandomize=parseFloat(this.transition.flipDelayRandomize),f.hasFlipRandomizeNew=!1;else if(typeof this.transition.flipRandomize!="undefined")f.flipRandomize=parseFloat(this.transition.flipRandomize),f.hasFlipRandomizeNew=
!0;var g=this.getOrderRandomized(f,k,g),k=g[0],h=g[1],e=parseInt(f.rows)*parseInt(f.columns),n=this.is3D()?this.transition.type:"2D",f=function(e){setTimeout(function(){var f=b[e],g=CU3ER[c].easingValues[typeof CU3ER[c].transition.flipEasing!="undefined"?CU3ER[c].transition.flipEasing+".3d":"Sine.easeInOut.3d"],h=CU3ER[c].easingValues[CU3ER[c].transition.flipEasing];if(n=="2D"){var k=CU3ER[c].transition.flipDuration*1E3;switch(f){case 1:jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css({"z-index":500,
display:"block"});jQuery(".CU3ERnextSlice",jQuery(d[e])).css({"z-index":501,display:"none"}).fadeIn(k,h);break;case 3:jQuery.browser.msie?(jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({top:0},k-30,h),jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({top:"-"+jQuery(".CU3ERcurrentSlice",d[e]).height()+"px"},k,h)):(jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({top:jQuery(".CU3ERnextSlice",d[e]).height()+"px"},k-30,h),jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({"margin-top":"-"+jQuery(".CU3ERcurrentSlice",
d[e]).height()+"px"},k,h));break;case 2:jQuery.browser.msie?(jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({top:0},k-30,h),jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({top:jQuery(".CU3ERcurrentSlice",d[e]).height()+"px"},k,h)):(jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({"margin-top":jQuery(".CU3ERnextSlice",jQuery(d[e])).css("margin-top")},k-30,h),jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({"margin-top":jQuery(".CU3ERcurrentSlice",d[e]).height()+"px"},k,h));break;case 4:jQuery(".CU3ERnextSlice",
jQuery(d[e])).animate({"margin-left":"0px"},k-30,h);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({"margin-left":-jQuery(".CU3ERcurrentSlice",d[e]).width()+"px"},k,h);break;case 5:jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({"margin-left":"0px"},k-30,h);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({"margin-left":jQuery(".CU3ERcurrentSlice",d[e]).width()+"px"},k,h);break;default:jQuery(".CU3ERcurrentSlice",jQuery(d[e])).animate({"margin-top":"-"+jQuery(".CU3ERcurrentSlice",d[e]).height()+
"px"},k,h),jQuery(".CU3ERnextSlice",jQuery(d[e])).animate({"margin-top":0},k,h)}}else switch(k=CU3ER[c].transition.flipDuration,f){case 3:jQuery(d[e]).css("-webkit-animation","translateSliceHolder"+CU3ER[c].transition.classNo+" "+(parseFloat(k)-0.05)+"s "+g);jQuery(".CU3ERnextSlice",jQuery(d[e])).css("-webkit-transform","translateZ(2px)").css("-webkit-animation","translateBottomUp "+k+"s "+g);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css("-webkit-transform","translateZ(1px)").css("-webkit-animation",
"translateTopUp "+k+"s "+g);break;case 2:jQuery(d[e]).css("-webkit-animation","translateSliceHolder"+CU3ER[c].transition.classNo+" "+(parseFloat(k)-0.05)+"s "+g);jQuery(".CU3ERnextSlice",jQuery(d[e])).css("-webkit-transform","translateZ(2px)").css("-webkit-animation","translateBottomDown "+k+"s "+g);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css("-webkit-transform","translateZ(1px)").css("-webkit-animation","translateTopDown "+k+"s "+g);break;case 4:jQuery(d[e]).css("-webkit-animation","translateSliceHolder"+
CU3ER[c].transition.classNo+" "+(parseFloat(k)-0.05)+"s "+g);jQuery(".CU3ERnextSlice",jQuery(d[e])).css("-webkit-transform","translateZ(2px)").css("-webkit-animation","translateBottomLeft "+k+"s "+g);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css("-webkit-transform","translateZ(1px)").css("-webkit-animation","translateTopLeft "+k+"s "+g);break;case 5:jQuery(d[e]).css("-webkit-animation","translateSliceHolder"+CU3ER[c].transition.classNo+" "+(parseFloat(CU3ER[c].transition.flipDuration)-0.05)+"s "+
g);jQuery(".CU3ERnextSlice",jQuery(d[e])).css("-webkit-transform","translateZ(2px)").css("-webkit-animation","translateBottomRight "+CU3ER[c].transition.flipDuration+"s "+g);jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css("-webkit-transform","translateZ(1px)").css("-webkit-animation","translateTopRight "+CU3ER[c].transition.flipDuration+"s "+g);break;default:jQuery(d[e]).css("-webkit-animation","translateSliceHolder"+CU3ER[c].transition.classNo+" "+(parseFloat(k)-0.05)+"s "+g),jQuery(".CU3ERnextSlice",
jQuery(d[e])).css("-webkit-transform","translateZ(2px)").css("-webkit-animation","translateBottomUp "+k+"s "+g),jQuery(".CU3ERcurrentSlice",jQuery(d[e])).css("-webkit-transform","translateZ(1px)").css("-webkit-animation","translateTopUp "+k+"s "+g)}},h[e])};for(i=0;i<e;i++)f(i);setTimeout(function(){n=="3D"&&jQuery(CU3ER[c].elements[CU3ER[c].nextSlide]).css({display:"block","-webkit-transform":"translateZ(1px)"});CU3ER[c].onTransitionComplete()},(k+parseFloat(CU3ER[c].transition.flipDuration)+0.05)*
1E3)},onTransitionComplete:function(){var b=this.id,e=this.el;jQuery.browser.msie||jQuery(".CU3ERbackground",e).css("display","block !important");this.current=this.nextSlide;this.currSlideNo=this.current+1;this.onSlide(this.currSlideNo);var c=this.elements;defaults=jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide,CU3ER[b].jsonOriginal.slides.slide[CU3ER[b].current]);defaults.time=parseInt(defaults.time)*1E3;this.sleepDuration=defaults.time;jQuery(".CU3ERslides-holder",e).css("display","block");
setTimeout(function(){jQuery(".CU3ERtransition-holder",e).css("display","none");jQuery(".CU3ERtransition",e).remove();CU3ER[b].inTransition=!1},50);jQuery(".CU3ERlayer",e).css({display:"none"});++CU3ER[b].currentLoop;CU3ER[b].destroyDescription();if(typeof CU3ER[b].json.description!="undefined"){var d=CU3ER[b].json.slides.slide.length==1?0:CU3ER[e.attr("id")].current;if(typeof CU3ER[e.attr("id")].json.slides.slide[d]!="undefined"&&typeof CU3ER[b].json.slides.slide[d].description!="undefined"&&(typeof CU3ER[b].json.slides.slide[d].description.heading!=
"undefined"&&CU3ER[b].json.slides.slide[d].description.heading!=""||typeof CU3ER[b].json.slides.slide[d].description.paragraph!="undefined"&&CU3ER[b].json.slides.slide[d].description.paragraph!=""))d=typeof CU3ER[b].jsonOriginal.defaults.slide.description!="undefined"?jQuery.extend(!0,{},CU3ER[b].jsonOriginal.defaults.slide.description,CU3ER[b].json.slides.slide[d].description):CU3ER[b].json.slides.slide[d].description,CU3ER[b].populateDescription(d),jQuery(".CU3ERdescription",e).css("display","block")}c.length==
2?jQuery(c[0]).trigger("endTransition"):jQuery(c[CU3ER[b].current]).trigger("endTransition");if(CU3ER[b].mOver==!1&&CU3ER[b].paused==!0&&CU3ER[b].rollOverPause==!0)CU3ER[b].continueTimers();else if(CU3ER[b].mOver==!0&&CU3ER[b].paused==!1&&CU3ER[b].rollOverPause==!0)CU3ER[b].stopTimers();else if(this.paused==!1&&typeof CU3ER[b].json.settings.auto_play!="undefined"&&CU3ER[b].json.settings.auto_play=="true"&&(CU3ER[b].loop==0||CU3ER[b].currentLoop<=CU3ER[b].loop*CU3ER[b].slidesTotal)){if(typeof CU3ER[b].json.controls.auto_play_indicator!=
"undefined"&&(c={type:"autoPlay",width:CU3ER[b].json.controls.auto_play_indicator.width,height:CU3ER[b].json.controls.auto_play_indicator.height,loaderTweenShowTint:CU3ER[b].json.controls.auto_play_indicator.loader.tweenShow.tint,loaderTreenOverTint:CU3ER[b].json.controls.auto_play_indicator.loader.tweenOver.tint,loaderTweenShowAlpha:CU3ER[b].json.controls.auto_play_indicator.loader.tweenShow.alpha,loaderTweenOverAlpha:CU3ER[b].json.controls.auto_play_indicator.loader.tweenOver.alpha,bgTweenShowAlpha:CU3ER[b].json.controls.auto_play_indicator.background.tweenShow.alpha,
bgTweenOverAlpha:CU3ER[b].json.controls.auto_play_indicator.background.tweenOver.alpha,bgTweenShowTint:CU3ER[b].json.controls.auto_play_indicator.background.tweenShow.tint,bgTweenOverTint:CU3ER[b].json.controls.auto_play_indicator.background.tweenOver.tint,image:null,posX:CU3ER[b].json.controls.auto_play_indicator.x,posY:CU3ER[b].json.controls.auto_play_indicator.y,align_pos:CU3ER[b].json.controls.auto_play_indicator.align_pos,align_to:CU3ER[b].json.controls.auto_play_indicator.align_to=="stage"?
"stage":"slides",padding:CU3ER[b].json.controls.auto_play_indicator.background.padding,shape:CU3ER[b].json.controls.auto_play_indicator.type,radius:CU3ER[b].json.controls.auto_play_indicator.radius},CU3ER[b].loop==0||CU3ER[b].currentLoop<=CU3ER[b].loop*CU3ER[b].slidesTotal))jQuery(".CU3ERindicator",e).stop().remove(),CU3ER[b].drawProgressBar(c),jQuery(".CU3ERprogress",e).animate({width:"100%"},defaults.time,function(){jQuery(".CU3ERprogress",e).css("width","0%")}),jQuery(".CU3ERindicator",e).bind("click",
function(){CU3ER[b].pauseType=2;CU3ER[b].pause()});CU3ER[b].tempTimeout[CU3ER[b].current]=setTimeout(function(){CU3ER[b].next()},defaults.time)}},isCameraFlat:function(){var b=!0;typeof this.json.settings.camera!="undefined"&&(typeof this.json.settings.camera.x!="undefined"&&this.json.settings.camera.x!=0&&(b=!1),typeof this.json.settings.camera.y!="undefined"&&this.json.settings.camera.y!=0&&(b=!1),typeof this.json.settings.camera.z!="undefined"&&this.json.settings.camera.z!=0&&(b=!1),typeof this.json.settings.camera.angleX!=
"undefined"&&this.json.settings.camera.angleX!=0&&(b=!1),typeof this.json.settings.camera.angleY!="undefined"&&this.json.settings.camera.angleY!=0&&(b=!1),typeof this.json.settings.camera.angleZ!="undefined"&&this.json.settings.camera.angleZ!=0&&(b=!1),typeof this.json.settings.camera.lens!="undefined"&&this.json.settings.camera.lens!=8&&(b=!1));this.force_simple==!0&&(b=!1);return b},setDirections:function(b,e,c){var b=parseInt(b.rows)*parseInt(b.columns),d=[];if(e==6)for(var f=0;f<b;f++)e=jQuery.shuffle(c),
d[f]=e[0];else for(f=0;f<b;f++)d[f]=e;return d},pause:function(){this.isFlash?(this.registerFlash(),this.swf.pauseCU3ER()):this.paused===!0?this.inTransition||this.continueTimers():this.inTransition||this.stopTimers()},continueTimers:function(){var b=this.id,e=this.el;this.paused=!1;this.pauseType=0;var c={time:5},c=jQuery.extend(!0,c,CU3ER[b].json.defaults.slide,CU3ER[b].json.slides[this.current]);c.time=parseInt(c.time)*1E3;if(this.supportCanvas()&&this.circularPBOptions.shape=="circular")this.stopFlag=
!1,this.startCircularProgressbar(this.circularPBOptions,!0);else{if(jQuery.browser.msie)var d=100,f=jQuery(".CU3ERprogress",e).css("width"),d=100-parseInt(f);else d=jQuery(".CU3ERprogress",e).css("maxWidth"),f=jQuery(".CU3ERprogress",e).width(),d=100-parseInt(f)*100/parseInt(d);c=parseInt(d)*c.time/100;jQuery(".CU3ERprogress",e).animate({width:"100%"},c,function(){jQuery(".CU3ERprogress",e).css("width","0%");CU3ER[b].skipTo(CU3ER[b].calculateNext(CU3ER[b].current),!0,!0)})}},stopTimers:function(){var b=
this.el;this.paused=!0;this.supportCanvas()&&this.circularPBOptions.shape=="circular"?(clearTimeout(this.circularPBOptions.tempTimeout),this.stopCircularProgressbar()):jQuery(".CU3ERprogress",b).stop();this.clearTimeouts()},handleAutoHide:function(b,e,c,d){var f=this.el;CU3ER[this.id].debug("attaching auto hide behavior");var g=this.elements,k=null,h=null;typeof b!="undefined"&&typeof b.next_button!="undefined"&&b.next_button.hide_on_transition=="true"&&jQuery(g).bind("endTransition",function(){clearTimeout(null);
jQuery(".CU3ERbuttonNext",f).fadeIn("fast")}).bind("startTransition",function(){jQuery(".CU3ERbuttonNext",f).fadeOut("fast")});typeof b!="undefined"&&typeof b.prev_button!="undefined"&&b.prev_button.hide_on_transition=="true"&&jQuery(g).bind("endTransition",function(){clearTimeout(null);jQuery(".CU3ERbuttonPrev",f).fadeIn("fast")}).bind("startTransition",function(){jQuery(".CU3ERbuttonPrev",f).fadeOut("fast")});typeof e!="undefined"&&e.hide_on_transition=="true"&&jQuery(g).bind("endTransition",function(){jQuery(".CU3ERindicator",
f).fadeIn("fast")}).bind("startTransition",function(){jQuery(".CU3ERindicator",f).fadeOut("fast")});typeof c!="undefined"&&c.hide_on_transition=="true"&&jQuery(g).bind("endTransition",function(){jQuery(".CU3ERDescriptionLinkHolder",f).html()!=""&&jQuery(".CU3ERDescriptionLinkHolder",f).html()!=null&&(clearTimeout(k),jQuery(".CU3ERdescription",f).fadeIn("fast"))}).bind("startTransition",function(){jQuery(".CU3ERdescription",f).fadeOut("fast")});typeof d!="undefined"&&d.hide_on_transition=="true"&&
jQuery(g).bind("endTransition",function(){clearTimeout(h);jQuery(".CU3ERthumbs",f).fadeIn("fast")}).bind("startTransition",function(){jQuery(".CU3ERthumbs",f).fadeOut("fast")});this.isTouch()||(typeof b!="undefined"&&typeof b.next_button!="undefined"&&b.next_button.auto_hide.text=="true"&&jQuery(g).bind("mouseover",function(){clearTimeout(null);jQuery(".CU3ERbuttonNext",f).fadeIn("fast")}).bind("mouseout",function(){bntNext=setTimeout(function(){jQuery(".CU3ERbuttonNext",f).fadeOut("fast")},parseInt(b.next_button.auto_hide.time)*
1E3)}).bind("endTransition",function(){bntNext=setTimeout(function(){jQuery(".CU3ERbuttonNext",f).fadeOut("fast")},parseInt(b.next_button.auto_hide.time)*1E3)}),typeof b!="undefined"&&typeof b.prev_button!="undefined"&&b.prev_button.auto_hide.text=="true"&&jQuery(g).bind("mouseover",function(){clearTimeout(null);jQuery(".CU3ERbuttonPrev",f).fadeIn("fast")}).bind("mouseout",function(){bntPrev=setTimeout(function(){jQuery(".CU3ERbuttonPrev",f).fadeOut("fast")},parseInt(b.prev_button.auto_hide.time)*
1E3)}).bind("endTransition",function(){bntPrev=setTimeout(function(){jQuery(".CU3ERbuttonPrev",f).fadeOut("fast")},parseInt(b.prev_button.auto_hide.time)*1E3)}),typeof d!="undefined"&&d.auto_hide=="true"&&jQuery(g).bind("mouseover",function(){clearTimeout(h);jQuery(".CU3ERthumbs",f).fadeIn("fast")}).bind("mouseout",function(){h=setTimeout(function(){jQuery(".CU3ERthumbs",f).fadeOut("fast")},parseInt(d.auto_hide.time)*1E3)}).bind("endTransition",function(){h=setTimeout(function(){jQuery(".CU3ERthumbs",
f).fadeOut("fast")},parseInt(d.auto_hide.time)*1E3)}),typeof c!="undefined"&&c.auto_hide=="true"&&jQuery(g).bind("mouseover",function(){jQuery(".CU3ERDescriptionLinkHolder",f).html()!=""&&jQuery(".CU3ERDescriptionLinkHolder",f).html()!=null&&(clearTimeout(k),jQuery(".CU3ERdescription",f).fadeIn("fast"))}).bind("mouseout",function(){k=setTimeout(function(){jQuery(".CU3ERdescription",f).fadeOut("fast")},parseInt(c.auto_hide.time)*1E3)}).bind("endTransition",function(){k=setTimeout(function(){jQuery(".CU3ERdescription",
f).fadeOut("fast")},parseInt(c.auto_hide.time)*1E3)}))},calculateNext:function(b){return this.elements.length-1==b?0:++b},calculatePrevious:function(b){var e=this.elements;return 0==b?e.length-1:--b},switchThumbnailClass:function(b){var e=jQuery(".CU3ERthumbs .CU3ERthumbs-holder .CU3ERThumb a",this.el);e.parent().removeClass("current");jQuery(e[b]).parent().addClass("current").trigger("classChanged")},populateDescription:function(b){var e=this.id,c=this.el,d=CU3ER[e].json.description.width+"px",f=
CU3ER[e].json.description.height+"px";jQuery(".CU3ERDescriptionText",c).append('<div class="CU3ERDescriptionLinkHolder"></div>').find(".CU3ERDescriptionLinkHolder").css({width:d,height:f});if(typeof b.heading!="undefined"&&b.heading!=""){headingCSS={};typeof CU3ER[e].json.description.heading.margin!="undefined"?(margins=CU3ER[e].json.description.heading.margin.split(","),headingCSS.paddingTop=parseInt(margins[0])+"px",headingCSS.paddingRight=parseInt(margins[1])+"px",headingCSS.paddingBottom=parseInt(margins[2])+
"px",headingCSS.paddingLeft=parseInt(margins[1])+"px"):(headingCSS.paddingTop="5px",headingCSS.paddingRight="5px",headingCSS.paddingBottom="5px",headingCSS.paddingLeft="5px");headingCSS.fontFamily=typeof CU3ER[e].json.description.heading.font!="undefined"?CU3ER[e].json.description.heading.font:"Georgia";headingCSS.fontWeight=CU3ER[e].json.description.heading.text_bold==!0?"bold":"normal";headingCSS.fontStyle=CU3ER[e].json.description.heading.text_italic==!0?"italic":"normal";headingCSS.textAlign=
typeof CU3ER[e].json.description.heading.text_align!="undefined"?CU3ER[e].json.description.heading.text_align:"left";headingCSS.lineHeight=typeof CU3ER[e].json.description.heading.text_leading!="undefined"&&CU3ER[e].json.description.heading.text_leading>0?CU3ER[e].json.description.heading.text_leading+"px":CU3ER[e].json.description.heading.text_size+"px";if(typeof CU3ER[e].json.description.heading.text_letterspacing!="undefined"&&CU3ER[e].json.description.heading.text_letterspacing>0)headingCSS.letterSpacing=
CU3ER[e].json.description.heading.text_letterspacing+"px";if(typeof b.link!="undefined")var g=typeof b.link.text!="undefined"?b.link.text:b.link;if(typeof b.link!="undefined"&&typeof g=="string"){var k=typeof b.link.target=="undefined"?"_self":b.link.target;jQuery(".CU3ERDescriptionLinkHolder",c).append('<h2><a href="'+g+'" target="'+k+'">'+b.heading+"</a></h2>").find("h2").css({fontSize:CU3ER[e].json.description.heading.text_size+"px",color:CU3ER[e].json.description.heading.tweenShow.tint.replace("0x",
"#")}).css(headingCSS).find("a").css({fontSize:CU3ER[e].json.description.heading.text_size+"px",color:CU3ER[e].json.description.heading.tweenShow.tint.replace("0x","#"),"line-height":headingCSS.lineHeight})}else jQuery(".CU3ERDescriptionLinkHolder",c).append("<h2>"+b.heading+"</h2>").find("h2").css({fontSize:CU3ER[e].json.description.heading.text_size+"px",color:CU3ER[e].json.description.heading.tweenShow.tint.replace("0x","#")}).css(headingCSS)}if(typeof b.paragraph!="undefined"&&b.paragraph!=""){descCSS=
{};typeof CU3ER[e].json.description.paragraph.margin!="undefined"?(margins=CU3ER[e].json.description.paragraph.margin.split(","),descCSS.paddingTop=parseInt(margins[0])+"px",descCSS.paddingRight=parseInt(margins[1])+"px",descCSS.paddingBottom=parseInt(margins[2])+"px",descCSS.paddingLeft=parseInt(margins[3])+"px"):(descCSS.paddingTop="0px",descCSS.paddingRight="5px",descCSS.paddingBottom="5px",descCSS.paddingLeft="5px");descCSS.fontFamily=typeof CU3ER[e].json.description.paragraph.font!="undefined"?
CU3ER[e].json.description.paragraph.font:"Arial";descCSS.fontWeight=CU3ER[e].json.description.paragraph.text_bold==!0?"bold":"normal";descCSS.fontStyle=CU3ER[e].json.description.paragraph.text_italic==!0?"italic":"normal";descCSS.textAlign=typeof CU3ER[e].json.description.paragraph.text_align!="undefined"?CU3ER[e].json.description.paragraph.text_align:"left";descCSS.lineHeight=typeof CU3ER[e].json.description.paragraph.text_leading!="undefined"&&CU3ER[e].json.description.paragraph.text_leading>0?
CU3ER[e].json.description.paragraph.text_leading+"px":CU3ER[e].json.description.paragraph.text_size+"px";if(typeof CU3ER[e].json.description.paragraph.text_letterspacing!="undefined"&&CU3ER[e].json.description.paragraph.text_letterspacing>0)descCSS.letterSpacing=CU3ER[e].json.description.paragraph.text_letterspacing+"px";typeof b.link!="undefined"&&(g=typeof b.link.text!="undefined"?b.link.text:b.link);typeof b.link!="undefined"&&typeof g=="string"?(k=typeof b.link.target=="undefined"?"_self":b.link.target,
jQuery(".CU3ERDescriptionLinkHolder",c).append('<p><a href="'+g+'" target="'+k+'">'+b.paragraph+"</a></p>").find("p").css({fontSize:CU3ER[e].json.description.paragraph.text_size+"px",color:CU3ER[e].json.description.paragraph.tweenShow.tint.replace("0x","#")}).css(descCSS).find("a").css({fontSize:CU3ER[e].json.description.paragraph.text_size+"px",color:CU3ER[e].json.description.paragraph.tweenShow.tint.replace("0x","#"),"line-height":descCSS.lineHeight})):jQuery(".CU3ERDescriptionLinkHolder",c).append("<p>"+
b.paragraph+"</p>").find("p").css({fontSize:CU3ER[e].json.description.paragraph.text_size+"px",color:CU3ER[e].json.description.paragraph.tweenShow.tint.replace("0x","#")}).css(descCSS)}typeof b.link!="undefined"&&(g=typeof b.link.text!="undefined"?b.link.text:b.link);typeof b.link!="undefined"&&typeof g=="string"&&jQuery(".CU3ERDescriptionLinkHolder",c).wrap('<a href="'+g+'" target="'+k+'" />');jQuery(".CU3ERdescription",c).find("a").css({"text-decoration":"none"})},destroyDescription:function(){jQuery(".CU3ERDescriptionText",
this.el).empty().parent().css("display","none")},checkCanvas:function(){var b=document.createElement("canvas");this.canvasSupported=b.getContext&&b.getContext("2d")},supportCanvas:function(){return this.canvasSupported},inArray:function(b){for(var e={},c=0;c<b.length;c++)e[b[c]]="";return e},getOrder:function(b){b.flipOrder=parseInt(b.flipOrder);b.rows=parseInt(b.rows);b.columns=parseInt(b.columns);b.flipDelay=parseFloat(b.flipDelay);var e=[],c=[],d;for(i=0;i<b.rows;i++)for(j=0;j<b.columns;j++){if(b.flipOrderFromCenter==
"false")switch(b.flipOrder){case 0:d=j;break;case 45:d=b.rows-1-i+j;break;case 90:d=b.rows-1-i;break;case 135:d=b.rows-1-i+b.columns-1-j;break;case 180:d=b.columns-1-j;break;case 225:d=b.columns-1-j+i;break;case 270:d=i;break;case 315:d=i+j}else switch(b.flipOrder){case 0:case 180:d=Math.abs(Math.floor((b.columns-1)/2-j));break;case 90:case 270:d=Math.abs(Math.floor((b.rows-1)/2-i));break;case 135:case 315:d=Math.abs(i+j-Math.floor((b.rows+b.columns-2)/2));break;case 45:case 225:d=Math.abs(i+(b.columns-
j)-Math.floor((b.rows+b.columns-2)/2))}e[j+i*b.columns]=d;c[j+i*b.columns]=-1}return[c,e]},getOrderRandomized:function(b,e,c){var d,f=[],g=0;for(i=0;i<b.rows;i++)for(j=0;j<b.columns;j++){if(b.hasFlipRandomizeNew){if(e[j+i*b.columns]==-1){var k=Math.round(j+Math.max(b.columns-j,j)*(Math.random()*2*b.flipRandomize-b.flipRandomize)),k=Math.max(0,Math.min(b.columns-1,k)),h=Math.round(i+Math.max(b.rows-i,i)*(Math.random()*2*b.flipRandomize-b.flipRandomize)),h=Math.max(0,Math.min(b.rows-1,h));d=c[k+h*b.columns];
e[k+h*b.columns]=j+i*b.columns}else d=c[e[j+i*b.columns]];flipDelay=d*b.flipDelay+Math.min(1,2*b.flipRandomize)*Math.max(0,2*b.flipDelay*Math.random()-b.flipDelay)}else d=c[j+i*b.columns],flipDelay=d*b.flipDelay*(1-b.flipRandomize);f[j+i*b.columns]=flipDelay*1E3;flipDelay>g&&(g=flipDelay)}return[g,f]},getDelayOrder:function(b){b.flipOrder=parseInt(b.flipOrder);b.rows=parseInt(b.rows);b.columns=parseInt(b.columns);b.flipDelay=parseFloat(b.flipDelay);var e=0,c=[];for(i=0;i<b.rows;i++)for(j=0;j<b.columns;j++)if(e=
j+i*b.columns,b.flipOrderFromCenter=="false")switch(b.flipOrder){case 0:c[e]=j;break;case 45:c[e]=b.rows-1-i+j;break;case 90:c[e]=b.rows-1-i;break;case 135:c[e]=b.rows-1-i+b.columns-1-j;break;case 180:c[e]=b.columns-1-j;break;case 225:c[e]=b.columns-1-j+i;break;case 270:c[e]=i;break;case 315:c[e]=i+j}else switch(b.flipOrder){case 0:case 180:c[e]=Math.abs(Math.floor((b.columns-1)/2-j));break;case 90:case 270:c[e]=Math.abs(Math.floor((b.rows-1)/2-i));break;case 135:case 315:c[e]=Math.abs(i+j-Math.floor((b.rows+
b.columns-2)/2));break;case 45:case 225:c[e]=Math.abs(i+(b.columns-j)-Math.floor((b.rows+b.columns-2)/2))}return c},check3D:function(){var b=this.id,e=document.createElement("div"),c=document.documentElement,d=document.head||document.getElementsByTagName("head")[0],f=!1;if(typeof e.style.WebkitPerspective!="undefined"){var e=document.createElement("style"),g=document.createElement("div"),k=(new Date).getTime()+Math.floor(Math.random()*1E3);g.id="cu3er3d_"+k;e.textContent="@media (-webkit-transform-3d), (cu3er3d_"+
k+"){#cu3er3d_"+k+"{height:3px}}";d.appendChild(e);c.appendChild(g);setTimeout(function(c){f=c.offsetHeight===3;CU3ER[b].support3d=f},50,g)}},is3D:function(){return this.disable3d?!1:this.support3d},checkTouch:function(){var b=document.createElement("div"),e=document.documentElement,c=document.head||document.getElementsByTagName("head")[0],d=!1;b.setAttribute("ongesturestart","return;");if(typeof b.ongesturestart=="function")this.touchable=!0;else{var b=document.createElement("style"),f=document.createElement("div");
b.textContent="@media (touch-enabled), (-webkit-touch-enabled), (-moz-touch-enabled), (-o-touch-enabled), (-ms-touch-enabled), (-khtml-touch-enabled), (cu3er3d){#cu3ertouch{height:3px}}";c.appendChild(b);f.id="cu3ertouch";e.appendChild(f);d=f.offsetHeight===3;b.parentNode.removeChild(b);f.parentNode.removeChild(f);this.touchable="ontouchstart"in window||d}},isTouch:function(){return this.touchable},debug:function(){this.debugMode==!0&&console.log(arguments)}};
jQuery.fn.borderRadius=function(b){typeof b=="undefined"&&(b="0, 0, 0, 0");b=b.split(",");return this.each(function(){jQuery(this).css({"-moz-border-radius-topleft":b[0]+"px","-moz-border-radius-topright":b[1]+"px","-moz-border-radius-bottomright":b[2]+"px","-moz-border-radius-bottomleft":b[3]+"px","-webkit-border-top-left-radius":b[0]+"px","-webkit-border-top-right-radius":b[1]+"px","-webkit-border-bottom-right-radius":b[2]+"px","-webkit-border-bottom-left-radius":b[3]+"px","border-top-left-radius":b[0]+
"px","border-top-right-radius":b[1]+"px","border-bottom-right-radius":b[2]+"px","border-bottom-left-radius":b[3]+"px"})})};jQuery.shuffle=function(b){for(var e,c,d=b.length;d;e=parseInt(Math.random()*d),c=b[--d],b[d]=b[e],b[e]=c);return b};
