function slideSwitch() {

    var j = jQuery.noConflict();

    var jactive = j('#slideshow DIV.active');

    if ( jactive.length == 0 ) jactive = j('#slideshow DIV:last');

    // use this to pull the divs in the order they appear in the markup
    var jnext =  jactive.next().length ? jactive.next()
    : j('#slideshow DIV:first');

    // uncomment below to pull the divs randomly
    // var jsibs  = jactive.siblings();
    // var rndNum = Math.floor(Math.random() * jsibs.length );
    // var jnext  = j( jsibs[ rndNum ] );


    jactive.addClass('last-active');

    jnext.css({
        opacity: 0.0
    })
    .addClass('active')
    .animate({
        opacity: 1.0
    }, 1000, function() {
        jactive.removeClass('active last-active');
    });
}

j(function() {
    setInterval( "slideSwitch()", 10000 );
});

