jQuery(function($){
	$('#full-screen-image img:not(":first")').hide();
    var count=0;
    var countImages = $('#full-screen-image img').size();	    

    if(countImages>1){
        setInterval(nextImage,5000); //The number here dictates the length of time between the animation
    }

    function nextImage() {
        $('#full-screen-image img:eq('+count+')').fadeOut(1500); //Length of FadeOut transition
        if(count<countImages-1){
            count++;
        } else {
            count=0;
        }
       $('#full-screen-image img:eq('+count+')').fadeIn(1500); //Length of FadeIn transition
    }
});//end jquery
