this is old Google Docs Viewer code