jQuery.noConflict();
var divTip_count;
var divTip_interval;
var old_divTip = 0;
var current_divTip = 0;

jQuery(document).ready(function(){
  divTip_count = jQuery("#showhits div.tip").size();
  jQuery("#showhits div.tip:eq("+current_divTip+")").css('top','120px');  
  jQuery("#showhits div.tip:eq("+current_divTip+")").show().animate({top: 0},7100);  
  old_divTip = current_divTip;
        
  divTip_interval = setInterval(divTip_rotate,3500); 
  /*jQuery('#showhits').hover(function() {
    clearInterval(divTip_interval);
  }, function() {
    divTip_interval = setInterval(divTip_rotate,500); 
  });*/
});
function divTip_rotate() {
  current_divTip = (old_divTip + 1) % divTip_count; 
  jQuery("#showhits div.tip:eq(" + old_divTip + ")").animate({top: -300},3300, function() {
    jQuery(this).css('top','248px');
  });
  
  jQuery("#showhits div.tip:eq(" + current_divTip + ")").show().animate({top: 0},7100);  
  old_divTip = current_divTip;
  //alert(current_divTip);
}
