 var headline_count4;
 var headline_interval4;
 var old_headline4 = 0;
 var current_headline4 = 0;
 
 $(document).ready(function(){
   headline_count4 = $("div.headline4").size();
   $("div.headline4:eq("+current_headline4+")").css('top','5px');
 
   headline_interval4 = setInterval(headline_rotate4,5000); //time in milliseconds
   $('.scrollup4').hover(function() {
     clearInterval(headline_interval4);
   }, function() {
     headline_interval4 = setInterval(headline_rotate4,5000); //time in milliseconds
     headline_rotate4();
   });
 });
 
 function headline_rotate4() {
   current_headline4 = (old_headline4 + 1) % headline_count4; 
   $("div.headline4:eq(" + old_headline4 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.headline4:eq(" + current_headline4 + ")").show().animate({top: 5},"slow");  
   old_headline4 = current_headline4;
 }
