/*!
 * liScroll 1.0
 * Examples and documentation at: 
 * http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
 * 2007-2010 Gian Carlo Mingati
 * Version: 1.0.2 (30-MARCH-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
jQuery.fn.liScroll=function(c){c=jQuery.extend({travelocity:0.07},c);return this.each(function(){function e(b,i){a.animate({left:"-="+b},i,"linear",function(){a.css("left",g);e(f,h)})}var a=jQuery(this);a.addClass("newsticker");var d=0;a.wrap("<div class='mask'></div>");a.parent().wrap("<div class='tickercontainer'></div>");var g=a.parent().parent().width();a.find("li").each(function(b){d+=jQuery(this,b).outerWidth(true)});a.width(d);var f=d+g,h=f/c.travelocity;e(f,h);a.hover(function(){jQuery(this).stop()}, function(){var b=jQuery(this).offset().left+d;e(b,b/c.travelocity)})})};
