title: DIVs with style.display none still showing up
body: <p>on loading a page I have some javascript code which hides some layers</p>
  
  <pre><code>document.getElementById(layerName).style.display = "none";
  </code></pre>
  
  <p>Everything works well, but in IE and in Opera these DIVs are showing up for the first few milliseconds while the page loads. After that, it's back to normal.</p>
  
  <p>Is there a way around that?</p>
  
  <p>Thanks!</p>