$(document).ready(function(){
	frame = 1;
	loop = $('#slideshow img').length;
	$('#slideshow img:eq(0)').siblings().fadeOut('fast');
	function animation(){
		$('#slideshow img:eq('+frame+')').fadeIn(1000,function(){
			frame++;
			if(frame>=loop){
				frame=0;
			}
		}).siblings().fadeOut(1000);
	}
	var animationSet = setInterval(function() {
		animation();
	}, 4000);
});
