$(document).ready(function(){
							   
	// create the scroller function
	jQuery.fn.scroller = function()
	{
		//var args = arguments[0] || {}; // get the arguments
		var s = $(this[0]); // get the element

		s.css("right", '0px') // set the tickers initial position
		
		// scroll one image along
		s.animate
		(
			{ right: 220 }, 1000, 'linear', 
			function()
			{
				// take the first image off the front of the queue and place it at the end
				$(this).find("img:first").insertAfter($(this).find("img:last"));
				// reset the scroller to take into account the scroll and wait 6 seconds before calling the scroller function again
				$(this).css("right", '0px').delay(4000).scroller();
			}
		);
	}
	// start the scroller working with an initial delay of 6 seconds
	$("#Ticker .scroller").delay(4000).scroller();
	
});