text: jQuery(document).ready(function(){if(jQuery(".upb_row_bg").each(function(e,t){jQuery(t).parent()[0].style.setProperty("background-image","none","important")}),0<jQuery(".vcpb-fs-jquery").length){jQuery.event.special.frame||function(r,e){function a(e,t){function a(){r.frameCount++,e.call(r)}var i,r=this;this.frameDuration=t||25,this.frameCount=-1,this.start=function(){a(),i=setInterval(a,this.frameDuration)},this.stop=function(){clearInterval(i),i=null}}function i(){var e=r.event.special.frame.handler,t=r.Event("frame"),a=this.array,i=a.length;for(t.frameCount=this.frameCount;i--;)e.call(a[i],t)}var n;r.event.special.frame||(r.event.special.frame={setup:function(e){if(n)n.array.push(this);else{(n=new a(i,e&&e.frameDuration)).array=[this];var t=setTimeout(function(){n.start(),clearTimeout(t),t=null},0)}},teardown:function(){for(var e=n.array,t=e.length;t--;)if(e[t]===this){e.splice(t,1);break}0===e.length&&(n.stop(),n=void 0)},handler:function(){r.event.handle?r.event.handle.apply(this,arguments):r.event.dispatch.apply(this,arguments)}})}(jQuery),function(u,s){function a(e){return"boolean"==typeof e?e:!!parseFloat(e)}function p(e,t){var i=[a(e.xparallax),a(e.yparallax)];this.ontarget=!1,this.decay=e.decay,this.pointer=t||[.5,.5],this.update=function(e,t){if(this.ontarget)this.pointer=e;else if((!i[0]||o(e[0]-this.pointer[0])<t[0])&&(!i[1]||o(e[1]-this.pointer[1])<t[1]))this.ontarget=!0,this.pointer=e;else{t=[];for(var a=2;a--;)i[a]&&(t[a]=e[a]+this.decay*(this.pointer[a]-e[a]));this.pointer=t}}}function r(e,t){var n,i=this,r=e instanceof u?e:u(e),o=[a(t.xparallax),a(t.yparallax)],s=0;this.pointer=[0,0],this.active=!1,this.activeOutside=t&&t.activeOutside||!1,this.update=function(e){var t=this.pos,a=this.size,i=[],r=2;if(0<s){for(2===s&&(s=0,n&&(e=n));r--;)o[r]&&(i[r]=(e[r]-t[r])/a[r],i[r]=i[r]<0?0:1<i[r]?1:i[r]);this.active=!0,this.pointer=i}else this.active=!1},this.updateSize=function(){var e=r.width(),t=r.height();i.size=[e,t],i.threshold=[1/e,1/t]},this.updatePos=function(){var e=r.offset()||{left:0,top:0},t=parseInt(r.css("borderLeftWidth"))+parseInt(r.css("paddingLeft")),a=parseInt(r.css("borderTopWidth"))+parseInt(r.css("paddingTop"));i.pos=[e.left+t,e.top+a]},u(window).bind("resize",i.updateSize).bind("resize",i.updatePos),r.bind("mouseenter",function(){s=1}).bind("mouseleave",function(e){s=2,n=[e.pageX,e.pageY]}),this.updateSize(),this.updatePos()}function n(o,r){var s=[],u=[],p=[],l=[];this.update=function(e){for(var t,a,i=[],r=2,n={};r--;)u[r]&&(i[r]=u[r]*e[r]+p[r],a=s[r]?(t=l[r],-1*i[r]):(t=100*i[r]+"%",i[r]*this.size[r]*-1),0===r?(n.left=t,n.marginLeft=a):(n.top=t,n.marginTop=a));o.css(n)},this.setParallax=function(e,t,a,i){for(e=[e||r.xparallax,t||r.yparallax],a=[a||r.xorigin,i||r.yorigin],i=2;i--;)s[i]=d.px.test(e[i]),"string"==typeof a[i]&&(a[i]=d.percent.test(a[i])?parseFloat(a[i])/100:h[a[i]]||1),s[i]?(u[i]=parseInt(e[i]),p[i]=a[i]*(this.size[i]-u[i]),l[i]=100*a[i]+"%"):(u[i]=!0===e[i]?1:d.percent.test(e[i])?parseFloat(e[i])/100:e[i],p[i]=u[i]?a[i]*(1-u[i]):0)},this.getPointer=function(){for(var e=o.offsetParent(),t=o.position(),a=[],i=[],r=2;r--;)a[r]=s[r]?0:t[0===r?"left":"top"]/(e[0===r?"outerWidth":"outerHeight"]()-this.size[r]),i[r]=(a[r]-p[r])/u[r];return i},this.setSize=function(e,t){this.size=[e||o.outerWidth(),t||o.outerHeight()]},this.setSize(r.width,r.height),this.setParallax(r.xparallax,r.yparallax,r.xorigin,r.yorigin)}function l(e){var t=u(this),a=e.data,i=t.data(f),r=a.port,n=a.mouse,o=i.mouse;a.timeStamp!==e.timeStamp&&(a.timeStamp=e.timeStamp,r.update(y),!r.active&&n.ontarget||n.update(r.pointer,r.threshold)),o?(o.update(i.freeze?i.freeze.pointer:r.pointer,r.threshold),o.ontarget&&(delete i.mouse,i.freeze&&t.unbind(m).addClass(a.freezeClass)),n=o):n.ontarget&&!r.active&&t.unbind(m),i.layer.update(n.pointer)}var f="parallax",c={mouseport:"body",xparallax:!0,yparallax:!0,xorigin:.5,yorigin:.5,decay:.66,frameDuration:30,freezeClass:"freeze"},h={left:0,top:0,middle:.5,center:.5,right:1,bottom:1},d={px:/^\d+\s?px$/,percent:/^\d+\s?%$/},m="frame."+f,o=Math.abs,y=[0,0];u.fn[f]=function(e){var o=u.extend({},u.fn[f].options,e),i=arguments,t=this;return o.mouseport instanceof u||(o.mouseport=u(o.mouseport)),o.port=new r(o.mouseport,o),o.mouse=new p(o),o.mouseport.bind("mouseenter",function(){o.mouse.ontarget=!1,t.each(function(){var e=u(this);e.data(f).freeze||e.bind(m,o,l)})}),t.bind("freeze",function(e){var t=u(this),a=t.data(f),i=a.mouse||a.freeze||o.mouse,r=d.percent.exec(e.x)?parseFloat(e.x.replace(/%$/,""))/100:e.x||i.pointer[0],n=d.percent.exec(e.y)?parseFloat(e.y.replace(/%$/,""))/100:e.y||i.pointer[1];e=e.decay,a.freeze={pointer:[r,n]},a.mouse=new p(o,i.pointer),e!==s&&(a.mouse.decay=e),t.bind(m,o,l)}).bind("unfreeze",function(e){var t,a=u(this),i=a.data(f);e=e.decay,i.freeze&&(t=i.mouse?i.mouse.pointer:i.freeze.pointer,i.mouse=new p(o),i.mouse.pointer=t,e!==s&&(i.mouse.decay=e),delete i.freeze,a.removeClass(c.freezeClass).bind(m,o,l))}).each(function(e){var t=u(this),a=new n(t,e=i[e+1]?u.extend({},o,i[e+1]):o);t.data(f,{layer:a,mouse:new p(e,a.getPointer())})})},u.fn[f].options=c,u(document).ready(function(){u(document).mousemove(function(e){y=[e.pageX,e.pageY]})})}(jQuery),jQuery(".vcpb-fs-jquery").each(function(){for(var e=jQuery(this),t=e.data("parallax_sense"),a=e.outerWidth()*(t/100),i=e.data("img-array"),r=(i=i.split(",")).length,n=0;n<r;n++)jQuery(e).prepend('<img class="ultimate_h_parallax" src="'+i[n]+'"></div>');var o=jQuery(e).find(".ultimate_h_parallax");o.css({"max-width":"none",position:"absolute"}),o.css("min-width",o.parent().outerWidth()+a+"px")});var resiz=function(){jQuery(".vcpb-fs-jquery").each(function(){var e=jQuery(this),t=e.data("parallax_sense"),a=e.outerWidth()*(t/100),i=jQuery(e).find(".ultimate_h_parallax");i.parent().outerHeight()>i.outerHeight()&&i.css("min-height",i.parent().outerHeight()+a+"px"),i.outerHeight()>i.outerWidth()&&i.css("width","auto"),jQuery(e).css("background-image","")})};resiz(),jQuery(window).resize(function(){resiz()}),jQuery(window).on("load",function(){jQuery(".vcpb-fs-jquery").each(function(){var layer_count=jQuery(this).find(".ultimate_h_parallax").length;layer_count=1/layer_count;var lay_opt=new Array;if(jQuery(this).find(".ultimate_h_parallax").each(function(e){lay_opt.push("{'xparallax':"+layer_count*(e+1)+" , 'yparallax':"+layer_count*(e+1)+"}")}),lay_opt=lay_opt.join(","),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var is_mobile="true";else var is_mobile="false";var is_img_parallax_disable_on_mobile=jQuery(this).parent().data("img-parallax-mobile-disable").toString();if("true"==is_mobile&&"true"==is_img_parallax_disable_on_mobile)var disable_row_effect="true";else var disable_row_effect="false";"false"==disable_row_effect&&eval("jQuery(this).find('.ultimate_h_parallax').parallax({mouseport: jQuery(this).parent()},"+lay_opt+"); var mouse = {x: 0, y: 0}; document.addEventListener('mousemove', function(e){  mouse.x = e.clientX || e.pageX; mouse.y = e.clientY || e.pageY; jQuery(this).parent().trigger({type: 'mousemove', pageX: mouse.x, pageY: mouse.y }); }, true); jQuery(this).parent().trigger({type: 'mouseenter', pageX: 0, pageY: 0}); var x = 1; document.onmousemove = document.onmouseover = function (e) { if(x > 1) return false; mouse.x = e.clientX || e.pageX;  mouse.y = e.clientY || e.pageY; x++; if(x == 2) jQuery(this).parent().trigger({type: 'mousemove', pageX: mouse.x, pageY: mouse.y }); }")})})}});