jQuery.fn.scroller = function (options) {
	settings = jQuery.extend({
		//
	}, options);
	
    return this.each(function(){
    	var _this = $(this);
    	var _p = $('p', this).first();
    	var _tWidth = 0;
		var _html = '';

		_html = _p.html();
		_p.html(_html + ' / ' );
		_tWidth = _p.width();
		var n = Math.ceil(2*$('body').width()/_tWidth);
		for (var i=0;i<(n-1);i++) {
			_p.html(_p.html() + _html + ' / ');
		}
		_p.width(4*$('body').width());
		
		doScroll();
		
		function doScroll () {
			_p.css('left', 0);
			_p.animate({
				left: -1*_tWidth
			}, 30000, 'linear', function () {
				doScroll();
			});
		}
    });
};
