$(document).ready(function(){
	arimg = 			[];
	arimg = 			$('#cont_galery').find('img');
	imcount = 			arimg.length;
	
		$.each(arimg, function(i){
			arimg[i]=$(this);	   
		});
	$('#cont_galery').find('img:not(:last)').hide();
		setInterval(slideshow,4100);
	i=5
	function slideshow(){
			if(i<(imcount-1)){i++}
			else {i=0}
			if(i==0) j=imcount-1;
			else j=i-1;
			arimg[i].fadeIn(1500);
			arimg[j].fadeOut(1500);
	}
});