function slideSwitchIndex() {

    var j = jQuery.noConflict();

    var jactiveIndex = j('#slideshowIndex DIV.activeIndex');

    if ( jactiveIndex.length == 0 ) jactiveIndex = j('#slideshowIndex DIV:lastIndex');

    // use this to pull the divs in the order they appear in the markup
    var jnext =  jactiveIndex.next().length ? jactiveIndex.next()
    : j('#slideshowIndex 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 ] );


    jactiveIndex.addClass('last-activeIndex');

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

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

