function slideSwitch(){
      var $active = $('#slideshow .active');
      var $next = ($('#slideshow .active').next().length > 0) ? $('#slideshow .active').next() : $('#slideshow a:first');
      $active.fadeOut(function(){
      $active.removeClass('active');
      $next.fadeIn().addClass('active');
      });
    }
$(document).ready(function(){
    setInterval( "slideSwitch()", 10000 );
});

