Adding a check for existance of document.getElementById() before using it.
This fixes an IE7 issue.  Tweeking css.