// JavaScript Document
$(document).ready(function() {
		var count=2;
		var previous=1;
		window.setInterval(function(){imageRotation();},5000); 
		
		function imageRotation() {
			$('#image-'+previous).fadeOut();
			$('#image-'+count).fadeIn();
			previous = count;
			count ++;
			if(count==4) {
				count=1;
			}
			
		};
		
});