function start_scroll_news_text() {
 $id("scrolling_text").style.marginLeft = $id("scrolling_text_frame").clientWidth +"px";

 // Getting the scrolling_text_width here because with changing of margin we'll change the width as well
 $id("scrolling_text").style.position = 'absolute';
 var scrolling_text_width = $id("scrolling_text").clientWidth;

 $id("scrolling_text").style.position   = 'relative';
 $id("scrolling_text").style.visibility = 'visible';

 scroll_news_text(scrolling_text_width);

 $id("scrolling_text").onmouseover = function() {
  clearTimeout(scrolling_text_timer);
 }

 $id("scrolling_text").onmouseout = function() {
  scroll_news_text(scrolling_text_width);
 }
}



var scrolling_text_timer;

function scroll_news_text(scrolling_text_width) {
 var scrolling_step = 3;
 var current_margin = $id("scrolling_text").style.marginLeft.replace("px", "");

 $id("scrolling_text").style.marginLeft = (current_margin*(-1) < scrolling_text_width)
                                          ? (current_margin - scrolling_step) +"px"
                                          : $id("scrolling_text_frame").clientWidth +"px";

 scrolling_text_timer = setTimeout("scroll_news_text("+ scrolling_text_width +")", 50);
}

