function slideSwitch(switchSpeed) {
    var $active = jQuery('#slideheader a.active');
 
    if ( $active.length == 0 ) $active = jQuery('#slideheader a:last');
 
    var $next =  $active.next('a').length ? $active.next('a')
       : jQuery('#slideheader a:first');
 
    $active.addClass('last-active').fadeOut(switchSpeed);
 
	$next.addClass('active').fadeIn(switchSpeed);
	$active.removeClass('active last-active');
}
 
jQuery(function() {
    interval = "";
    jQuery('#slideheader a:first').css("display", "block").addClass('active');
    interval = setInterval ( "slideSwitch(1000)", 8000 );    
});
