1 <html><head><title>iframe test
</title></head>
2 <script type=
"text/javascript">
3 function createStruct(wnd
,viewer
,popup
){
4 iframe
=wnd
.document
.createElement('iframe');
5 viewer
.appendChild(iframe
);
6 iframe
.contentWindow
.document
.write('<SCRIPT src=\"iframe_in_empty_frame.js\"></SCR'+'IPT>');
10 wnd
= window
.open("", wndname
, 'width=780,height=572,scrollbars=no,resizeable=no,statusbar=no,status=no,left = '+((screen
.width
/ 2) - 780 / 2)+', var top = '+((screen
.height
/ 2) - 572 / 2)+'');
13 wnd
.document
.write('<html><body onload="finished();"><script>function finished() {if (window.opener) {window.opener.createStruct(this,document.getElementById("viewer"),true);}}</scr'+'ipt><div id="viewer"></div></body></html>');