The DOMContentLoaded, a.k.a. domload, a.k.a. window.onload problem gets solved more and more. There’s now a solution for Internet Explorer that doesn’t require an external script. And there’s a solution that works on Safari via document.readyState (which btw. also works on Konqueror).