How to reference a specific field value in javascript code

Try keeping all your richtext code as is, but change the iframe line to:

<iframe src="" height="800" width="400" scrolling="no">

If that doesn't work then try again with exactly the same code you listed above for entire richtext view, including the hardcoded file and see if that works...