<html>
<head>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<style>
 td { padding:2px 5px 2px 5px;}
</style>
<link href="../CSS/Base.css" rel=stylesheet>
<script type="text/javascript" src="../JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.notification.js.php"></script>
<link type="text/css" rel="stylesheet" href="../CSS/Notification.css" />
<script language=javascript src="../JS/CheckQuestion.js.php"></script>
<script language=javascript src="../JS/HighLight.js.php"></script>
<script language=javascript>
function Check_Form_Validator()
{
	if (!CheckNotNull(document.getElementById("optionText"), "设定指定的输入内容")) {return false;}
}
function SubmitCallBack() {
    if( Check_Form_Validator() != false )
	{
	    var theValue = Trim(document.getElementById("optionText").value);
		var theValueString = theValue.replace(/\n/g,"######");
		theValueString = theValueString.replace(/\r/g,"");
		parent.document.getElementById('optionText').value = theValueString;
		parent.hidePopWin();
	}
}
function Init(){   
   var theValueString = parent.document.getElementById('optionText').value;
   var theInitValue = '';
   if( Trim(theValueString) != '' )
   {
	   var theStringArray = theValueString.split("######");
	   for( i=0;i<theStringArray.length;i++)
	   {
		   theInitValue += theStringArray[i] + "\n";
	   }
   }
   document.getElementById("optionText").value = theInitValue;
}
</script>
<meta content="mshtml 6.00.3790.0" name=generator></head>
<body oncontextmenu="return false" onload="javascript:Init();">
   <form name="Check_Form" method="post" action="">
  <table class=datatable style="line-height: 150%;border-collapse:collapse;" cellspacing=0 cellpadding=0 bordercolor=#b5cfd9 border=1 width=100%>
   <div class=position>位置：&nbsp; 我的问卷 &raquo; 编辑问题 &raquo; 设定输入内容指定列表</div>
   <tr><td bgcolor="#f5f5f5"><b>设定输入内容指定列表</b></td></tr>
   <tr><td>&nbsp;(在此输入，每个指定内容一行)
          &nbsp;<textarea rows=12 cols=86 name="optionText" id="optionText"></textarea>      
	  </td>
   </tr><table><table width=100%>
   <tr> 
  	 <td>
         <input class=inputsubmit name="Action" type="button" id="submit" value="确定" onClick="javascript:SubmitCallBack();"> 
         <input class=inputsubmit type="button" name="close" value="关闭" onClick="javascript:parent.hidePopWin();">
      </td>
    </tr>
  </form>
 </table>
 <script type="text/javascript">initInputHighlightScript();</script> 
</body></html>