title: Prototype 1.5 DOM loaded event
body: <p>I inherited a website that uses Prototype 1.5.1.1, and it uses <code>Event.observe(window, 'load', ...)</code> for some code that really should run as soon as the DOM is loaded, rather than the whole document. Eventually I'll either upgrade or switch frameworks, but in the meantime I'd like to fix this issue to prevent jumpy layout syndrome.</p>
  
  <p>In Prototype 1.6, I would use <code>dom:loaded</code>, and in jQuery I would use <code>$(document).ready(...)</code>, but I can't find an equivalent for 1.5. A few sources mention <code>'contentloaded'</code>, but that seems to only be in Prototype 1.6's prereleases, and not 1.5 (and it's also not mentioned in my copy of Prototype's source code).</p>
  
  <p>So, is there an event that's fired by Prototype 1.5 after the DOM is complete, but before images are downloaded?</p>