 var headline_count3;
 var headline_interval3;
 var old_headline3 = 0;
 var current_headline3 = 0;
 
 $(document).ready(function(){
   headline_count3 = $("div.headline3").size();
   $("div.headline3:eq("+current_headline3+")").css('top','5px');
 
   headline_interval3 = setInterval(headline_rotate3,8000); //time in milliseconds
   $('.scrollup3').hover(function() {
     clearInterval(headline_interval3);
   }, function() {
     headline_interval3 = setInterval(headline_rotate3,8000); //time in milliseconds
     headline_rotate3();
   });
 });
 
 function headline_rotate3() {
   current_headline3 = (old_headline3 + 1) % headline_count3; 
   $("div.headline3:eq(" + old_headline3 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','310px');
   });
   $("div.headline3:eq(" + current_headline3 + ")").show().animate({top: 5},"slow");  
   old_headline3 = current_headline3;
 }
