I had the very same problem - ie I needed to call some javascript to make a table scrollable and could not use the body.onload because I am using AJAX to dynamically update content and the body.onload is not always called.
The thing with making tables scrollable in IE using javascript is that the executing javascript must be called only after the entire DOM model of the page is rendered and complete. IE does not like you using some DOM methods on an object it hasn't finished parsing completely.
The solution to this that worked for me is to use the little kown "defer" attribute in your javascript tag declaration. Place this after your table rendering code.
<script language="javascript" defer>
makeScrollableTable('table1',true,150);
</script>
See
http://www.websiteoptimization.com/speed/tweak/defer/ for more details on the use of the "defer" attribute.
btw what table scrolling library are you using?
Hope this helps. I've spend a lot of time figuring this one out.
Regards,
Sanjiv