In an HTML doc I would place this is the head section of the document. like <script type="text/javascript">window.onload=function etc. </script>

Have had no luck doing so with the PHP ' includes system ' inserting in 'html_header.php'

Suggestions ?