window.open的问题.把两段代码放在一个HTML中
<input type="button" onclick="openwin()" value="点击播放"> <SCRIPT LANGUAGE="javascript">
<!--
function openwin() {window.open("111.htm","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,type=20,left=200,width=468,height=570")}
-->
</SCRIPT>
我就是想把下面代码和上面的代码放在一个文件中.window.open时不用再调另一个文件111了.直接从本文件中读取下面的代码.该怎样实现
<SCRIPT LANGUAGE="javascript">
<!--
var Real;
Real='Player.';
function DoFull()
{
eval(Real+'DisplaySize=3');
}
-->
</SCRIPT>
<div align="center"><input type="button" onMouseDown="DoFull()" value="全屏显示[ESC键返回]" style="border-style: ridge; border-width: 1"><font size="2"></div>
<object classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 id=Player width=468 height=400>
<param name=autostart value="true">
<param name=ShowStatusBar value="-1">
<param name=enableContextMenu value="0">
<param name=volume value="0">
<param name=Filename value="mms://nv.
</object>