Dean Edwards counters Dojo's Alex Russell's hideous hacks with two standards friendly approaches. Looking at the The DOM Content loaded problem and the sluggishness of walking a DOM Tree, Dean talks about speed improvements, including the use of XPaths.
Dean Edwards gets to grips with the window.onload
problem - where it only gets fired once the document and its associated styles and images are loading. The ideal solution is one that that detects when the document is available as a DOM.