/*~~~~~~~~~~~~~~~~~~~~~~~~~~ Customise your plugin here ~~~~~~~~~~~~~~~~~~~~~~~~~~*/ var parallax_options={ speed : 0.7//The speed of parallax images (between 0 and 1 inclusive) } /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ $(document).ready(function(){function e(){c||(f(),g(),d=window.outerHeight,j(),h(),l())}function f(){$(".banner-thumbnail-wrapper, .index-section-image, #page-thumb, .index-item-image-wrapper, .Index-page-image").each(function(b,c){var d=$(this).find("img");if(d.length>0){var e={wrapper:d.parent(),image:d.clone()},f=e.image.width()/e.image.height();if(!(f>=0)){var g=e.image.attr("data-image-dimensions").split("x");f=parseInt(g[0])/parseInt(g[1])}e.ratio=f;var h=e.image.attr("src");void 0==h&&(h=e.image.attr("data-src")),d.after(''),d.remove(),e.image=$(this).find("img"),e.image.addClass("sqpl-parallax"),a.push(e)}})}function g(){for(i=0;i=e.top&&b<=e.top+f){var h=k(a[i]),j=e.top+h