!function(){window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame,window.SimpleParallax=function(a){this.elementList=[],this.transformVendor=this.getTransformVender(),this.offset=0,this.setupScrollHandler();var b=this;requestAnimationFrame(function(){b.animate(b)}),void 0!==a&&this.addElement(a)},window.SimpleParallax.prototype.setupScrollHandler=function(){var a=this;window.addEventListener("scroll",function(){a.offset=this.pageYOffset})},window.SimpleParallax.prototype.animate=function(a){for(var b=a.elementList.length,c=0;cwindow.innerHeight&&(d+=(a.elementList[c].element.offsetTop+a.elementList[c].element.offsetHeight-window.innerHeight)*a.elementList[c].speed);var e=-(a.offset*a.elementList[c].speed-d);a.elementList[c].element.style[a.transformVendor]="translate3d(0px, "+e+"px, 0px)"}requestAnimationFrame(function(){a.animate(a)})},window.SimpleParallax.prototype.getTransformVender=function(){for(var a,b=["webkitTransform","MozTransform","msTransform","OTransform","transform"],c=0;c