$.fn.hyhrolloverText = function()
{
	var obj = $(this);
	var body = obj.html();
	var width = obj.width();
	var size = Math.ceil(obj.parent().width()/width);

	obj.width(width*size+width);

	obj.data('play', 1);

	for(var x=1; x<size; ++x) {
		obj.append(body);
	}

	var timeout;

	obj.hover(function() {
		obj.data('play', 0);
		obj.stop();
		clearTimeout(timeout);
	}, function() {
		obj.data('play', 1);
		textMove();
	});

	function textMove() {
		obj.width(obj.width()+width);
		obj.append(body);
		obj.animate({left: ((obj.css('left').replace("px", ""))-width)}, width*30, 'linear');
		if(obj.data('play') == 1)
			timeout = setTimeout('textMove()', width*30);
	}

	textMove();
}

