Potential fix for IE's silly window.onload behaviour.