// http://maaki.com/thomas/SmoothDivScroll/index.html
jQuery(function() {

	if ($('div#logoParade div.scrollableArea').length == 1)
	{
/*		var scrollableArea = $('div#logoParade div.scrollableArea');
		
		var tempContainer = $('<div></div>');
		
		for(var i=0; i<20; i++)
		{
			$(scrollableArea).children().each(function(){ 
				$(this).clone().appendTo($(tempContainer));
			});
		}
		$(scrollableArea).append($(tempContainer).html());*/
		
		$("div#logoParade").smoothDivScroll({
			autoScroll: 			"always"
		, 	autoScrollDirection: 	"endlessloop"
		, 	pauseAutoScroll: 		"mouseover"
		,	autoScrollSpeed:		1
		});
	}
});