
<%@ page validaterequest="false" language="vb" autoeventwireup="false" inherits="WebExam.Web.newcomment, App_Web_sqbwmzfw" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title></title>
		
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../../../../style/main.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="../../../../jslib/requestUrl.js"></script>
        <script language="vbscript" src="../../../../jslib/URLDecode.vbs"></script>
		<script language=javascript >
          var text1="";
          
          var iftest=true;
	      function text(){
	       return text1
	
	     }
	      function ifPlainText(){return iftest}
		  function window.onload(){
		   //var work=requestQueryString("work",1);
		   var comment=requestQueryString("cmnt",2);
		   document.getElementById("filename").value=comment;
		   document.getElementsByName("mytext")[0].src="../../richedit/richedit.htm?testclass=q";
		   if (comment=="")return;
		   //var testId=requestQueryString("test",2);
		   var ph="../../../../data/testcomment/"+comment;
		   var commentXML=new ActiveXObject("Microsoft.XMLDOM");
		   commentXML.async = false;
		   commentXML.load(ph);
		   var textNode=commentXML.selectSingleNode("/TestCommon/Text");
		   if(textNode==null)return;
		   if(textNode.getAttribute("PlainText")=="0")
		    iftest=false;
		   else
		    iftest=true;
		   text1=textNode.text;
		   
		
		  }
		</script>
	</HEAD>
	<body language="javascript" leftMargin="0" topMargin="0">
		<form id="Form1" method="post" runat="server">
			<TABLE style="WIDTH: 100%" cellSpacing="0" cellPadding="0" align="center" border="0" class="buinput2">
				<tr>
					<td align="center">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr height="28">
								<td align="center" bgColor="#006699"><font color="#ffffff"><b>试题讲评</b></font>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td align="center">
						<iframe name="mytext" marginWidth="0" marginHeight="0" src=""
							frameBorder="no" width="770" height="410"></iframe>
					</td>
				</tr>
			</TABLE>
			<INPUT id="filename" type="hidden" name="filename">
			<INPUT id="plainTextBox" type="hidden" name="plainTextBox">
			<asp:Button id="Bttj" runat="server" Width="0px" Height="0px"></asp:Button><INPUT type="hidden" name="test_0">
		</form>
		<script language="JavaScript">



function submitInfo() {

if ((Form1.test_0.value==""))
{ 
alert("短文内容必须输入！");mytext.focus();return}


Form1.Bttj.click();

}

 
		</script>
	</body>
</HTML>
