/*
 * jQuery Conveyer Belt Plugin for WYSIWYG Web Builder 8
 * Copyright Pablo Software solutions 2011
 * http://www.wysiwygwebbuilder.com/
 */
(function(a){a.fn.conveyerbelt=function(b){var i=a.extend({spacing:5,speed:3},b);return this.each(function(){a.conveyerbelt(a(this),i)})};a.conveyerbelt=function(b,a){var c=b.html();b.html(c+c);var d=b.find("img");d.hide();for(var h=d.length,f=a.speed,e=0,c=0;c<h;c++){var g=d.eq(c);g.css({position:"absolute",left:e});g.show();e+=g.width();e+=a.spacing}setInterval(function(){for(var a=0;a<h;a++){var b=d.eq(a),c=parseInt(b.css("left"));c-=f;c<=-b.width()&&(c=e-b.width());b.css("left",c)}},30);b.mouseover(function(){f=
0});b.mouseout(function(){f=a.speed})}})(jQuery);
