$(function() 
{
$(".frame").children().css({display: "block"});
frameShow("slideshow_left");
frameShow("slideshow_right");
});


function frameShow(id)
	{
	$("#" + id).children(":last-child").animate({opacity: 1}, 2000)
	.animate({opacity: 0}, 1000, function()
		{
		$(this).clone().prependTo("#" + id).css({"opacity": "1", "z-index": "1"});
		$(this).remove();
		frameShow(id);
		});
	}
