(function(e){var f={},h="doTimeout",i=Array.prototype.slice;e[h]=function(){return g.apply(window,[0].concat(i.call(arguments)))};e.fn[h]=function(){var b=i.call(arguments),a=g.apply(this,[h+b[0]].concat(b));return typeof b[0]==="number"||typeof b[1]==="number"?this:a};function g(t){var u=this,d,s={},c=t?e.fn:e,v=arguments,q=4,b=v[1],r=v[2],x=v[3];if(typeof b!=="string"){q--;b=t=0;r=v[1];x=v[2]}if(t){d=u.eq(0);d.data(t,s=d.data(t)||{})}else{if(b){s=f[b]||(f[b]={})}}s.id&&clearTimeout(s.id);delete s.id;function a(){if(t){d.removeData(t)}else{if(b){delete f[b]}}}function w(){s.id=setTimeout(function(){s.fn()},r)}if(x){s.fn=function(j){if(typeof x==="string"){x=c[x]}x.apply(u,i.call(v,q))===true&&!j?w():a()};w()}else{if(s.fn){r===undefined?a():s.fn(r===false);return true}else{a()}}}})(jQuery);
