var nbctTimer = null;
function nbctRotate() {
  $('#nbct li.current').removeClass('current').fadeOut('slow', function() {
    showRandomNBCTs();
  });
}

function showRandomNBCTs() {
  var show = Math.floor(Math.random()*$('#nbct li').size() + 1);
  $('#nbct li:nth-child(' + show + ')').addClass('current').fadeIn('slow');
}

$(function() {
  showRandomNBCTs();
  nbctTimer = setInterval(nbctRotate, 5000);
});


