removed extra window.onload; fixes for header suuppression