/** * jQuery.Preload * https://github.com/htmlhero/jQuery.preload * * Created by Andrew Motoshin * http://htmlhero.ru * * Version: 1.5.0 * Requires: jQuery 1.6+ * */ !function(a){a.preload=function(){var b=[],c=function(a){for(var c=0;c0&&h>e&&(g=b.slice(e,h),b=b.slice(0,e),h=b.length),!h)return d(b,f,!0),void 0;for(var i,j=arguments.callee,k=0,l=function(){k++,k===h&&(d(b,f,!g),j(g,e,f))},m=0;m1&&(c=arguments[0],d=arguments[1]),c=a.extend({recursive:!0,part:0},c);var e=this,f=b(e,c);return a.preload(f,c.part,function(a){a&&"function"==typeof d&&d.call(e.get())}),this}}(jQuery);