<object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" width="0">
</object>
<input type="button" value="打印预览" onclick="document.all.WebBrowser.ExecWB(7,1)"/>
</object>
<input type="button" value="打印预览" onclick="document.all.WebBrowser.ExecWB(7,1)"/>
<input type="image" src="print.gif" onclick="var newwin=window.open(window.location.href);newwin.attachEvent('onload',function(){newwin.document.getElementById('').style.display='none';newwin.document.getElementById('preview').onclick();});return false;" />