title: Scrolling vertical text in 2 different divs
body: <p>I want to scroll 2 <code>div</code>s when I start the page. I add to the onload the events, but it stops here:</p>
  
  <pre><code>var cross_marquee=document.getElementById(marque)
  cross_marquee.style.top=0
  </code></pre>
  
  <p>Can someone help me?</p>
  
  <p>The code is:</p>
  
  <pre><code>var delayb4scroll=2000
  var marqueespeed=1
  var pauseit=0
  
  var copyspeed=marqueespeed
  var pausespeed=(pauseit==0)? copyspeed: 0
  var actualheight=''
  var actualheightDiv2=''
  
  function scrollmarquee(){
  if (parseInt(cross_marquee.style.top)&gt;(actualheight*(-1)+8))
  cross_marquee.style.top=parseInt(cross_marquee.sty le.top)-copyspeed+"px"
  else
  cross_marquee.style.top=parseInt(marqueeheight)+8+ "px"
  }
  
  function initializemarquee(marque, container){
  var cross_marquee=document.getElementById(marque)
  cross_marquee.style.top=0
  marqueeheight=document.getElementById(container).o ffsetHeight
  actualheight=cross_marquee.offsetHeight
  if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
  cross_marquee.style.height=marqueeheight+"px"
  cross_marquee.style.overflow="scroll"
  return
  }
  setTimeout('lefttime=setInterval("scrollmarquee()" ,30)', delayb4scroll)
  }
  
  window.onload=initializemarquee('wtvmarquee', 'wtmarqueecontainer')
  window.onload=initializemarquee("wtvmarqueeDiv2", "wtmarqueecontainerDiv2")
  </code></pre>