  var t;
  var current = last;
  var x, y;
  var NS = false;
  var scroll = true;
  
  function setDIVXY(el,x,y) {
    if (NS) {
      el.x = x;
      el.y = y;
    } else {
      el.style.left = x;
      el.style.top = y;
    }
  }  
  function wa_scroll_news() {
    
      n = document.all("wa_news" + current);
      n.style.visibility = "hidden";
      if (scroll) {
      current = current + 1;
      }      
      if (current>last) current = 1;
      n = document.all("wa_news" + current);
      setDIVXY(n,x,y);
      n.style.visibility = "";
      t = setTimeout("wa_scroll_news()", 3000);
    
  }
  function wa_news() {
    anc = document.all("wa_news_anchor");
    el = anc;
    x = el.offsetLeft;
    while ((el = el.offsetParent) != null) x += el.offsetLeft;
    el = anc;
    y = el.offsetTop;
    while ((el = el.offsetParent) != null) y += el.offsetTop;
    y = y - 7;
    t = setTimeout("wa_scroll_news()", 100);
  }
  function stop_scroll(stop) {
    if (stop) {
        scroll = false;
    } else {
        scroll = true;
    }
  }