function _fusionrefreshscroll(){window._fusionscrolltop=window.pageyoffset,window._fusionscrollleft=window.pagexoffset}function _fusionparallaxall(){var a;for(_fusionrefreshscroll(),a=0;ae?e=0:"up"===this.settings.direction&&0e?e=0:"left"===this.settings.direction&&0m.find(".parallax-inner").length&&m.prepend('
'),m.css({position:"relative",overflow:"hidden",zindex:1,"background-image":"none"}).attr("style",m.attr("style")).find(".parallax-inner").css({pointerevents:"none",width:c,height:d,position:"absolute",zindex:-1,top:0,left:g,opacity:math.abs(parsefloat(this.settings.opacity)/100),backgroundposition:a?"0 0 ":this.settings.xpos+" "+this.settings.ypos,backgroundrepeat:a?"repeat":"no-repeat",backgroundsize:a?"auto":"cover"}),""!==this.settings.image&&"none"!==this.settings.image&&m.find(".parallax-inner").css({opacity:math.abs(parsefloat(this.settings.opacity)/100),backgroundimage:"url("+this.settings.image+")"}),i=0,m.offset().top>b._fusionwindowheight&&(i=m.offset().top-b._fusionwindowheight),j=m.offset().top+m.height()+parseint(m.css("paddingtop"),10)+parseint(m.css("paddingbottom"),10),this.movemax=c-f,this.scrolltopmin=i,this.scrolltopmax=j):(h=900,h=jquery(b).height(),c=m.width()+parseint(m.css("paddingright"),10)+parseint(m.css("paddingleft"),10),d=m.height()+parseint(m.css("paddingtop"),10)+parseint(m.css("paddingbottom"),10),k=d,d+=h*math.abs(parsefloat(this.settings.velocity)),l=0,"down"===this.settings.direction&&(l-=d-k),1>m.find(".parallax-inner").length&&m.prepend('
'),m.css({position:"relative",overflow:"hidden",zindex:1,"background-image":"none"}).attr("style",m.attr("style")).find(".parallax-inner").css({pointerevents:"none",width:c,height:d,position:"absolute",zindex:-1,top:l,left:0,opacity:math.abs(parsefloat(this.settings.opacity)/100),backgroundposition:a?"0 0 ":this.settings.xpos+" "+this.settings.ypos,backgroundrepeat:a?"repeat":"no-repeat",backgroundsize:a?"auto":"cover"}),""!==this.settings.image&&"none"!==this.settings.image&&m.find(".parallax-inner").css({opacity:math.abs(parsefloat(this.settings.opacity)/100),backgroundimage:"url("+this.settings.image+")"}),i=0,m.offset().top>b._fusionwindowheight&&(i=m.offset().top-b._fusionwindowheight),j=m.offset().top+m.height()+parseint(m.css("paddingtop"),10)+parseint(m.css("paddingbottom"),10),this.movemax=d-k,this.scrolltopmin=i,this.scrolltopmax=j))},ismobile:function(){return cssua.ua.mobile}}),a.fn[f]=function(b){return this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b))}),this}}(jquery,window,document),jquery(document).ready(function(a){"use strict";function b(){var a;for(_fusionrefreshscroll(),a=0;a div").remove(),a(".fusion-bg-parallax").next().addclass("bg-parallax-parent"),a(".fusion-bg-parallax").attr("style","").css("display","none"),a(".fusion-bg-parallax").each(function(){a(this).fusionimageparallax({image:a(this).data("bg-image"),direction:a(this).data("direction"),mobileenabled:a(this).data("mobile-enabled"),mobiledevice:b(),opacity:a(this).data("opacity"),width:a(this).data("bg-width"),height:a(this).data("bg-height"),velocity:a(this).data("velocity"),align:a(this).data("bg-align"),repeat:a(this).data("bg-repeat"),target:a(this).next(),complete:function(){}})})});