JavaScript separation and the window.onload problem
The problem with window.onload is that JavaScript enhancements can only be applied after the page content has downloaded. But what if users start playing with your page before the download is complete?