function swapImages(){
  var $active = $('#contentRight .active');
  var $next = ($('#contentRight .active').next().length > 0) ? $('#contentRight .active').next() : $('#contentRight img:first');
  $active.fadeOut(1000,function(){
  $active.removeClass('active');
  $next.fadeIn(1000).addClass('active');
  });
}

$(document).ready(function(){
  // Run our swapImages() function every 5secs
  setInterval('swapImages()', 5000);
});	
