(function(a) {
	jQuery.fn.extend({
		newsUp: function(b) {
			var c = a.extend({
				playTime: 3000,
				speed: 1000
			},
			b);
			return a(this).each(function() {
				var d = a(this),
				e = a("li:first", this).outerHeight(true),
				g = setInterval(f, c.playTime);
				function f() {
					d.animate({
						marginTop: "-" + e + "px"
					},
					c.speed,
					function() {
						d.css({
							marginTop: "0px"
						});
						a("li:first", this).appendTo(this)
					})
				}
				d.mouseover(function() {
					clearInterval(g)
				});
				d.mouseout(function() {
					g = setInterval(f, c.playTime)
				})
			})
		}
	})
})(jQuery);

