$(document).ready(function(){
	$('#header_animation img').hide();
	$('#header_animation img:first').show();
	$('#header_animation img:first').addClass('visible');
	
	setInterval(animer, 4000);
})

function animer(){
	var visible = $('#header_animation img.visible');
	var next = $('#header_animation img.visible').next();
	if(next.size() == 0) {
		next = $('#header_animation img:first');
	}
	visible.fadeOut(2000);
	next.fadeIn(2000)
	visible.removeClass('visible');
	next.addClass('visible');
}
