function slideSwitch(slideshowID)
{
    var j = jQuery.noConflict();
    
    if (j('#' + slideshowID + ' IMG').length == 1) return;
    
    var active = j('#' + slideshowID + ' IMG.active');
    if (j(active).length == 0 && j('#' + slideshowID + ' IMG:last').length > 0)
    {
        j(active) = j('#' + slideshowID + ' IMG:last');
    }
    
    var next = j(active).next().length ? j(active).next() : j('#' + slideshowID + ' IMG:first');
    
    j(active).addClass('last-active');
    
    j(next).css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            j(active).removeClass('active last-active');
        });
}






