If you open up a document sent from the internet, most fileds show up as type "1282". To fix, add the following to the GetDocType function in the DocumentViewerFunction script library:
Case 1282<br/>
GetDocType = "RFC822Text"<br/>
I also noticed there is a duplicate case statement for 1024 (DATETIMES) at the bottom of the case block.