  jQuery(function($){
    var counter = 1;
    setInterval(function(){
      var img = $('#homepageCollage img:visible');
      img.fadeOut(2000);
      if(counter<4)
      {
        img.next().fadeIn(2000);     
        counter++; 
      }
      else
      {
        $('#homepageCollage img:eq(0)').fadeIn(2000);
        counter = 1;
      } 
    }, 7000);
  });