function slideSwitch1() {
    var $active1 = $('#slidetoptravel DIV.active');
 
    if ( $active1.length == 0 ) $active1 = $('#slidetoptravel DIV:last');
 
    // use this to pull the divs in the order they appear in the markup
    var $next1 =  $active1.next().length ? $active1.next()
        : $('#slidetoptravel DIV:first');
 
    // uncomment below to pull the divs randomly
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );
 
 
    $active1.addClass('last-active');
 
    $next1.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active1.removeClass('active last-active');
        });
}
 
$(function() {
    setInterval( "slideSwitch1()", 5000 );
});

function opentermswin1 (theURL,winName,features) { 
  window.open(theURL,winName,features);
}
