var currentBadge = 0;

jQuery(document).ready(function(){
    setTimeout('startBadgeRotation()', 1500);
    
    $j('#shoot_img').show('slide', {},500);
    setTimeout("$j('#ship_img').show('slide', {}, 500);", 500);
    setTimeout("$j('#share_img').show('slide', {}, 500);", 1000);
    })

function startBadgeRotation(){
  $j('#b0').show('scale', {}, 250);
  setTimeout('continueBadgeRotation()', 2000);
}

function continueBadgeRotation(){
  $j("#b" + currentBadge).hide('scale', {}, 500, function (){
      currentBadge = (currentBadge + 1) % 5;
      $j("#b" + currentBadge).show('scale', {}, 250);
      });
  window.setTimeout("continueBadgeRotation();", 2000);
}

