If the IFRAME's content is loaded using src attribute, then moving the IFRAME around works fine. However, if the IFRAME's content is filled using the frame.document.open, frame.document.write and frame.document.close, then the content disappears after it's moved to a new place. How to avoid this?