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

function slideSwitch() {
    var $active = $('div.active');
    
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow div:first');

if(jQuery.browser.msie)
{
    $active.children().fadeOut();
} else {
    $active.animate({opacity: 0.0}, 'slow', 'swing');
}   
    $active.removeClass('active');

if(jQuery.browser.msie)
{    
    $next.children().fadeIn();
} else {
    $next.animate({opacity: 1.0}, 'slow', 'swing');
}

    $next.addClass('active');
}

