$("document").ready(function()
{	
	var active = 1;
	
	showNext = function ()
	{
		active++;
		$("#content img").fadeTo("slow", 0.001, function()
		{
			$(this).attr("src", $(this).attr("src").replace(/[0-9]{1,2}/, active % 18));
			$(this).fadeTo("slow", 1);
		});
	}
	
	setInterval("showNext()", 5000);
});