How do i get rid of document.write from an embedded form?

How do i get rid of document.write from an embedded form?

Hi, i recently embedded a document into mt website to a google doc because this formatting is better. When i did at the top of the document in my website it reads document.write(' and at the bottom it reads  ');. how do i get rid of this. I changed it from a script to an iframe so the css formatting i previously had would work with it.