 var tip_count;
 var tip_interval;
 var old_tip = 0;
 var current_tip = 0;
 $(document).ready(function(){
   tip_count = $("div.tip").size();
   $("div.tip:eq("+current_tip+")").css('top','8px');
   tip_interval = setInterval(tip_rotate,10000); //time in milliseconds
   $('#scrolltip').hover(function() {
     clearInterval(tip_interval);
   }, function() {
     tip_interval = setInterval(tip_rotate,10000); //time in milliseconds
     tip_rotate();
   });
 });
 function tip_rotate() {
   current_tip = (old_tip + 1) % tip_count; 
   $("div.tip:eq(" + old_tip + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.tip:eq(" + current_tip + ")").show().animate({top: 5},"slow");  
   old_tip = current_tip;
 }

