I have just upgraded to IE9 RC (which i must add isnt too bad an attempt by microsoft, so far, they still have time to mess it up! Please dont comment below on how wonderful
In order to use the getElementsById tag, you'll need to use the Release Candidate as this has fixed the issue.
getElementsById