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

    $(document).ready(function(){
      setInterval('swapImages()', 10000);
    });
