function slideSwitch(switchSpeed) {
    var $active = $('.csc-textpic-imagecolumn ul li.active');
    
    if ( $active.length == 0 ) $active = $('.csc-textpic-imagecolumn ul li:last');

    var $next =  $active.next('li').length ? $active.next('li')
       : $('.csc-textpic-imagecolumn ul li:first');

    /*
    var $sibs  = $active.siblings();
    var rndNum = Math.floor(Math.random() * $sibs.length );
    var $next  = $( $sibs[ rndNum ] );
    */
    
    $active.addClass('last-active');
    
    
    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, switchSpeed, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
   // setInterval ( "slideSwitch(1000)", 3000 );  
  // setInterval ( "slideSwitch(800)", 2200 );  
 // setInterval ( "slideSwitch(600)", 1600 );  
 //   setInterval ( "slideSwitch(600)", 900 );
        setInterval ( "slideSwitch(800)", 2000 );
});








