I think I got it to work properly, or at least it works for me on a local machine. I changed one thing, var iframeprops='width=150 height=150 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"'.
New code:
var iframeprops='scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"'
I used the code from Iframe SSI script II to fix it. I hope this works for everyone else.
