jQuery.fn.scrollNews=function(c){var d={speed:500,timer:3000,timerID:null};if(c){jQuery.extend(d,c)}var a=jQuery(this);function g(){a.hover(function(){f()},function(){e()});e()}function e(){d.timerID=setInterval(function(){b()},d.timer)}function f(){clearInterval(d.timerID)}function b(){var i=a.find("li:first");var h=parseInt(i.height());if(h){i.animate({marginTop:(0-h)},d.speed,function(){i.appendTo(a);i.css("marginTop",0)})}}g()};