var deltaX = 5;
var deltaT = 42;	
var imageWidth = 60;

$(document).ready (function ()
{
	setTimeout("animate3()", deltaT); //start animation
});

function animate3 ()
{
	var left = parseInt ($("#container3 img").css("left"));
	left -= deltaX;

	if (left <= -imageWidth) //if first image is no longer visible
	{
		left += imageWidth;
		$("#container3 img:first").remove ().insertAfter("#container3 img:last");
	}

	$("#container3 img").css("left", left + "px");

	setTimeout ("animate3()", deltaT); //continue animation
}

