$(document).ready(function(){setInterval( "slideSwitch()", 6500 );});

function slideSwitch() {
    var $active = $('#header_slideshow_container img.active');
    var $next = $active.next();
	if(!$next.attr('src')){$next = $('#header_slideshow_container img').first();}
    $active.addClass('last-active');
	$next.css({opacity: 0.0}).addClass('active').animate({opacity: 1.0}, 800, function(){$active.removeClass('active last-active');});
}

