jquery(document).ready(function(){if(jquery(".upb_row_bg").each(function(e,t){jquery(t).parent()[0].style.setproperty("background-image","none","important")}),0');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).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 }); }")})})}});