(function($) {
	$.fn.newsScroll = function(options) {
		return this.each(function() {
			var
				$this = $(this),
				defaults = {
					speed: 2000,
					delay: 10000,
					list_item_height: $this.children("p").outerHeight()
				},
				settings = $.extend({}, defaults, options);
			setInterval(function() {
				$this.children("p:first")
				.animate({ 
					marginTop : "-" + $this.children("p:first").outerHeight(),
					opacity: "hide" },
					settings.speed,
					function() {
						$this.children("p:first")
						.appendTo($this)
						.css("marginTop", 0) 
						.fadeIn(300);
					}
				);
			}, settings.delay);
		});
	}
})(jQuery);