Scroll to the top of an element when document is loaded
Three concerns:


Error if there is not element called 'foo'
I have no idea what that boolean in the function is for.  Passing booleans at parameters is  very bad.  I have no idea what happens if I were to pass it false or any other value. Not scroll into view? I know that it is for topAlign but why not leave it out.
you can't use the onload event again without messing it up.