	(function($) {
		jQuery.fn.textBeat = function(options) {
			var own = this;
			own.css({
				overflow: "hidden"
			});
			var showTime;
			var ul = own.find("ul");
			var li = own.find("li");
			var a = own.find("a");
			var settings = {
				length: 10,
				speed: 1000
			};
			jQuery.extend(settings, options);
			ul.css({
				margin: 0,
				padding: 0,
				border: "none"
			});
			a.css({
				display: "block"
			});
			a.each(function() {
				var value = $(this).text();
				if (value.length >= settings.length) {
					value = value.replace(value.slice(settings.length),"...");
					$(this).text(value);
				}
			});
			function show() {
				ul = own.find("ul");
				li = own.find("li");
				a = own.find("a");
				li.eq(0).clone(true).appendTo(ul);
				li.eq(0).remove();
				}
				showTime = setInterval(show, settings.speed);
				own.find("ul").hover(function() {
					clearInterval(showTime);
				},
				function() {
					showTime = setInterval(show, settings.speed);
				});
			}
		})(jQuery);
