<%@ page language="C#" autoeventwireup="true" inherits="msDoc_openMsDoc, App_Web_cgc-ekss" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>文件浏览</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  
    
 <script src="../msDoc/ntko.js" type="text/javascript"></script>
    <style type="text/css">
        #Button1
        {
            width: 86px;
        }
        #Submit1
        {
            width: 78px;
        }
    </style>
</head>
<body onload="init();openDocumentFromUrl('<%= URL %>'); ">
    <center>
			<form id="ReadForm" method="post" enctype="multipart/form-data" >  
			<input id=filename  style="WIDTH: 95px; HEIGHT: 22px" type=hidden  value='<% = filename %>' name=filename />
				
							<object id="TANGER_OCX" classid="clsid:C9BC4DFF-4248-4a3c-8A49-63A7D317F404" codebase="../OfficeControl.cab#version=5,0,1,1" width="100%" height="100%">
								<param name="IsUseUtf8url"  value="-1" />
								<PARAM NAME="_ExtentX" VALUE="18150" />
								<PARAM NAME="_ExtentY" VALUE="14605"/>
								<PARAM NAME="BorderColor" VALUE="14402205"/>
								<PARAM NAME="BackColor" VALUE="-2147483643"/>
								<PARAM NAME="ForeColor" VALUE="-2147483640"/>
								<PARAM NAME="TitlebarColor" VALUE="14402205"/>
								<PARAM NAME="TitlebarTextColor" VALUE="0"/>
								<PARAM NAME="BorderStyle" VALUE="1"/>
								<PARAM NAME="Titlebar" VALUE="0"/>
								<PARAM NAME="Toolbars" VALUE="1"/>
								<PARAM NAME="Caption" VALUE="文档编辑"/>
								<param name="ProductCaption" value="江苏维通科技有限公司"/>
                               <param name="ProductKey" value="F6AAFE9E7E5B77F2080F88260EBBD41856E07BEE"/>
								<PARAM NAME="IsShowToolMenu" VALUE="1"/>
								<PARAM NAME="IsNoCopy" VALUE='<% = misNoCopy %>'/>
								<PARAM NAME="IsHiddenOpenURL" VALUE="0"/>
								<PARAM NAME="MaxUploadSize" VALUE="0">
								<PARAM NAME="Menubar" VALUE="0">
								<PARAM NAME="Statusbar" VALUE="1">
								<PARAM NAME="FileNew" VALUE="0">
								<PARAM NAME="FileOpen" VALUE="0">
								<PARAM NAME="FileClose" VALUE="-1">
								<PARAM NAME="FileSave" VALUE='<% = misSave %>'/>
								<PARAM NAME="FileSaveAs" VALUE='<% = misSave %>'/>
								<PARAM NAME="FilePrint" VALUE='<% = misPrint %>'/>
								<PARAM NAME="FilePrintPreview" VALUE='<% = misPrint %>' />
								<PARAM NAME="FilePageSetup" VALUE="-1"/>
								<PARAM NAME="FileProperties" VALUE="0"/>
								<PARAM NAME="IsStrictNoCopy" VALUE="0"/>
								<PARAM NAME="IsUseUTF8URL" VALUE="0"/>
								<PARAM NAME="MenubarColor" VALUE="-2147483643"/>
								<PARAM NAME="IsUseControlAgent" VALUE="0"/>
								<PARAM NAME="IsUseUTF8Data" VALUE="0"/>
								<PARAM NAME="IsSaveDocExtention" VALUE="0"/>
								<PARAM NAME="IsDirectConnect" VALUE="0"/>
								<PARAM NAME="SignCursorType" VALUE="0"/>
								<PARAM NAME="IsResetToolbarsOnOpen" VALUE="0"/>
								<PARAM NAME="IsSaveDataIfHasVDS" VALUE="0"/>
								<SPAN STYLE="color:red">不能装载文档控件。请在浏览器的选项中检查浏览器的安全设置。</SPAN>
							</object>
							
								
							<!-- OnDocumentClosed and OnDocumentOpened -->
							<SCRIPT type="JScript" event="OnDocumentClosed()" for="TANGER_OCX_OBJ">
		                     TANGER_OCX_OnDocumentClosed();
							</SCRIPT>
							<SCRIPT type="JScript" event="OnDocumentOpened(TANGER_OCX_str,TANGER_OCX_obj)" for="TANGER_OCX_OBJ">
		                      TANGER_OCX_OnDocumentOpened(TANGER_OCX_str,TANGER_OCX_obj);
							</SCRIPT>
							<SCRIPT type="JScript">
		                     var canceled = new Object();
							</SCRIPT>
							<SCRIPT type="JScript" event="OnFileCommand(cmd,canceled)" for="TANGER_OCX_OBJ">
		                      if (cmd == 3) //user has clicked on file save menu or button
		                         {
		                    	//save to server
		                    	//cancel default process
		                    	//TANGER_OCX_SaveEditToServerDisk();
			                    //document.all("TANGER_OCX").CancelLastCommand = true;
		                        }
							</SCRIPT>
					
			</form>
		</center>
		<script  language="javascript">
        function click() {if (event.button==2) {alert('禁止查看源码！');}}document.onmousedown=click
		</script >
	</body>

</html>
