<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">
<LINK href="../CSS/Base.css" rel=stylesheet>
<link href="../CSS/Common.css" rel="stylesheet" type="text/css"/>
<link href="../CSS/SurveyList.css" rel="stylesheet" type="text/css"/>
<LINK href="../CSS/Window.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="../JS/Browser.js.php"></script>
<script type="text/javascript" src="../JS/Common.js.php"></script>
<script type="text/javascript" src="../JS/Window.js.php"></script>
<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 src="../JS/Editor.js.php"></script>
<link rel="stylesheet" type="text/css" href="../CSS/Calendar.css">
<script type="text/javascript" src="../Calendar/Calendar.js.php"></script>
<script type="text/javascript" src="../Calendar/Calendar.lang.js.php"></script>
<script type="text/javascript" src="../Calendar/Calendar.init.js.php"></script>
<script language=javascript>
var editTextRange;
function Check_Form_Validator()
{
	if (!CheckNotNull(document.Check_Form.surveyName, "调查问卷标识名")) {return false;}
	if (!CheckNoChinese(document.Check_Form.surveyName, "调查问卷标识名")) {return false;}
	if (!CheckSpecicalChar(document.Check_Form.surveyName, "调查问卷标识名")) {return false;}
	if (!CheckNotNull(document.Check_Form.surveyTitle, "调查问卷标题")) {return false;}
	if (!CheckSpecicalChar(document.Check_Form.surveyTitle, "调查问卷标题")) {return false;}
	if (!CheckRadioNoClick(document.Check_Form.exitMode,"调查问卷提交后的到达页") ) {return false;}
	if (IsInCheckBox(document.Check_Form.exitMode,1 ))
	{
		if (!CheckNotNull(document.Check_Form.exitPage, "调查问卷提交后的到达页/URL")) {return false;}
		if (!CheckURL(document.Check_Form.exitPage, "调查问卷提交后的到达页/URL")) {return false;}
    }
	if (IsInCheckBox(document.Check_Form.exitMode,2 ))
	{
		if (!CheckNotNull(document.Check_Form.exitTitleHead, "调查问卷提交后的到达页/标题")) {return false;}
		if (!CheckNotNull(document.Check_Form.exitTextBody, "调查问卷提交后的到达页/内容")) {return false;}
	}
	if (!CheckURL(document.Check_Form.apiURL, "与其他项目管理平台的对接URL")) {return false;}
	if ( document.Check_Form.isCheckIP.value != "0" )
	{
		if (!CheckNotNull(document.Check_Form.maxIpTime,"防重复提交的限制间隔")) {return false;}
		if (!CheckNumber(document.Check_Form.maxIpTime,"防重复提交的限制间隔",5,50000000)) {return false;}
	}
	if (!CheckNotNull(document.Check_Form.beginTime, "调查问卷开始时间")) {return false;}
	if (!CheckDate(document.Check_Form.beginTime, "调查问卷开始时间")) {return false;}	
	if (!CheckNotNull(document.Check_Form.endTime, "调查问卷结束时间")) {return false;}
	if (!CheckDate(document.Check_Form.endTime, "调查问卷结束时间")) {return false;}
	if ( document.Check_Form.beginTime.value >= document.Check_Form.endTime.value )
	{
		document.Check_Form.endTime.focus();
		$.notification('开始时间止不应在结束时间后');
		return false;
    }
	if (!CheckNumber(document.Check_Form.maxResponseNum,"问卷收到对应的回收份数结束",20,50000)) {return false;}
	if (document.Check_Form.isWaiting.checked )
	{
		if (!CheckNumber(document.Check_Form.waitingTime,"每问卷分页要求最短回复时间",1,200)) {return false;}
    }
	if (document.Check_Form.isLimited.checked )
	{
		if (!CheckNumber(document.Check_Form.limitedTime,"问卷回复最长回复时间",20,20000)) {return false;}
    }
	var isUseOriPassportCheck = {isUseOriPassportCheck};
	if (document.Check_Form.isPublic.value == "0" && (isUseOriPassportCheck == '3' || isUseOriPassportCheck == '5') )
    {
		if (!CheckNotNull(document.Check_Form.adUserName, "目录系统中的账户")) {return false;}
	}
	if (document.Check_Form.isPublic.value == "0" && isUseOriPassportCheck == '1' )
    {
 		if( document.Check_Form.mainAttribute.options.length != 0 )
		{
			if (!CheckListMaxSelect(document.Check_Form.mainAttribute, "主要样本属性",6)) {return false;}
		}
	}
	if( document.Check_Form.isPublic.value == "2" )
	{
		if (!CheckNotNull(document.Check_Form.tokenCode, "问卷控制令牌")) {return false;}
    }
}
function CheckSpecicalChar(objField, strText)
{
    var objValue = Trim(objField.value);
    if (objValue=="") return true;
	var strErr = "“" + strText + "”不能包含单引号、双引号、反斜线等非法字符！";
	var Re = /[\x22\x27\x5C]+/ig;
	if ( Re.test(objField.value))
	{
        objField.focus();
		$.notification(strErr);
		return false;
	}
	return true;
}
function checkValid()
{
	if (event.keyCode<48 || event.keyCode>126)
	{
		event.keyCode=0;
	}
}
function checkType()
{ 
	var isUseOriPassportCheck = {isUseOriPassportCheck};
	var isUseAjaxPassportCheck = {isUseAjaxPassportCheck};

    document.getElementById("onlyMembers").style.display  = "none";
    document.getElementById("adUsers").style.display = "none";
	document.getElementById("onlyMainAttribute").style.display  = "none";
	switch(document.Check_Form.isPublic.value)
	{
	   case "1" :  //公开
		  document.getElementById("onlyMembers").style.display  = "none";
		  document.getElementById("onlyMainAttribute").style.display  = "none";
		  document.getElementById("onlyToken").style.display = "none";
		  document.getElementById("ajaxResponseURL_ID").style.display = "none";	
	   break;
	   case "2" :  //令牌
		  document.getElementById("onlyToken").style.display = "";
		  document.getElementById("onlyMembers").style.display  = "none";
		  document.getElementById("onlyMainAttribute").style.display  = "none";
		  document.getElementById("ajaxResponseURL_ID").style.display = "none";
	   break;
	   case "0":   //私有
		  document.getElementById("onlyToken").style.display = "none";
		  if( isUseOriPassportCheck == '1' )   //EnableQ
		  {
			 document.getElementById("onlyMembers").style.display  = "";
			 document.getElementById("onlyMainAttribute").style.display  = "";
			 document.getElementById("adUsers").style.display = "none";
		  }
		  else
		  {
			  if( isUseOriPassportCheck == '3' || isUseOriPassportCheck == '5' )   //AD
			  {
				 document.getElementById("onlyMembers").style.display  = "none";
				 document.getElementById("onlyMainAttribute").style.display  = "none";
				 document.getElementById("adUsers").style.display = "";
			  }
		  }
		  if( isUseAjaxPassportCheck == '1' )  //ajax
		  {
			  document.getElementById("ajaxResponseURL_ID").style.display = "";
		  }
		  else
		  {
			  document.getElementById("ajaxResponseURL_ID").style.display = "none";
		  }		
	   break;
	}
}

function checkIpMode()
{ 
	if (document.Check_Form.isCheckIP.value != "0" )
	{
		document.getElementById("IpTime").style.display = "";
    }
	else
	{
		document.getElementById("IpTime").style.display = "none";
	}
}

function checkWaiting()
{
	if (document.getElementById("isWaiting").checked )
	{
		document.getElementById("waitingTime").disabled = false;
		document.getElementById("isLimited").disabled = true;
    }
	else
	{
		document.getElementById("waitingTime").disabled = true;
		document.getElementById("isLimited").disabled = false;
	}

	if (document.getElementById("isLimited").checked )
	{
		document.getElementById("limitedTime").disabled = false;
		document.getElementById("isWaiting").disabled = true;
    }
	else
	{
		document.getElementById("limitedTime").disabled = true;
		document.getElementById("isWaiting").disabled = false;
	}
}

function Check_Survey_Lang(objValue)
{
   var str = document.getElementById("exitPage").value;
   var replacestr = '';
   if( objValue == 'cn' )
   {
		replacestr = str.replace(/qlang=en/g,'qlang=cn'); 
   }
   else
   {
		replacestr = str.replace(/qlang=cn/g,'qlang=en'); 
   }
   document.getElementById("exitPage").value = replacestr;
}
function checkViewResult()
{
	if (document.getElementById("isViewResult").checked )
	{
		document.getElementById("isShowResultBut").disabled = false;
	}
	else
	{
		document.getElementById("isShowResultBut").disabled = true;
	}
}
function checkSystemTpl()
{
	switch(document.Check_Form.panelID.value)
	{
		case '30001':
		case '30002':
		case '30003':
		case '30004':
		case '30005':
		case '30006':
			document.getElementById("theme").disabled = true;
		break;
		default:
			document.getElementById("theme").disabled = false;
		break;
	}
}
function checkRecFile()
{
	if (document.getElementById("isRecord").checked )
	{
		document.getElementById("isUploadRec").disabled = false;
		document.getElementById("isOfflineModi").disabled = true;
		document.getElementById("isOfflineModi").checked = false;
	}
	else
	{
		document.getElementById("isUploadRec").disabled = true;
		document.getElementById("isUploadRec").checked = false;
		document.getElementById("isOfflineModi").disabled = false;
	}
}
function Init()
{
	checkType();
	checkIpMode();
	checkWaiting();
	checkViewResult();
	checkRecFile();
	checkSystemTpl();
	adjustMenuWarpSize();
}
var http_request = false;
function AjaxRequest(url)
{
	http_request = false;
	if(window.ActiveXObject){
		try{
			http_request = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e){
			try{
				http_request = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {}
		}
	}
	else if(window.XMLHttpRequest){
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType){
			http_request.overrideMimeType('text/xml');
		}
	}
	
	if (!http_request){
		$.notification("Cannot create an XMLHTTP instance");
		return false;
	}
	http_request.onreadystatechange = NotesContents;
	http_request.open('GET', url, true);
	http_request.send(null);
}

function NotesContents()
{
	if (http_request.readyState == 4){
		if(http_request.status == 200){
			if(http_request.responseText == "false")
			   document.getElementById("surveyNameInfo").innerHTML="<img src=../Images/check_no.gif border=0> <span class=red>输入的调查问卷标识名已存在&nbsp;</span>";
			else if(http_request.responseText == "true")
			   document.getElementById("surveyNameInfo").innerHTML="<img src=../Images/check_yes.gif border=0> <span class=green>输入的调查问卷标识名可使用&nbsp;</span>";
			else if(http_request.responseText == "null") 
			   document.getElementById("surveyNameInfo").innerHTML="<img src=../Images/check_no.gif border=0> <span class=red>输入的调查问卷标识名为空&nbsp;</span>";
		}
		else{
			$.notification('网络传输问题');
		}
	}
}
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false" style="background-color:#244d8f;" onload="javascript:Init()">

<div style="line-height:10px">&nbsp;</div>
<div id="menu">
  <span style="float:left;padding-left:26px;"><div class="navmenu">我的问卷 &raquo; {surveyTitle}</div></span>
  <span style="float:right">
  <ul><li><a href="ShowMain.php">我的问卷</a>
	  <li class="current"><a href="ShowSurveyList.php?Action=Edit&surveyID={surveyID}">属性</a></li>
	  <li style="display:{isDeployStat}"><a href="GetSurveyCode.php?Action=Edit&surveyID={surveyID}">分发</a></li>
	  <li><a href="ShowSurveyList.php?Action=EditUser&surveyID={surveyID}">用户</a></li>
	  <li style="display:{haveTask}"><a href="{taskURL}">任务</a></li>
	  <li style="display:{havePlan}"><a href="{planURL}">计划</a></li>
  </ul></span>
</div>
<div class="wrap q_clear" id=wrap>
<div>
<div class=content>
<div class=q_clear id=mysurvey><h1>调整调查问卷属性</h1><br/></div>
<div id=myname>依据不同项目要求，选择开启或关闭对应控制选项，以达到个性化调整调查问卷属性的目的</div>
<div class="datalist">
  <form action="" method="post" id="Check_Form" name="Check_Form" onsubmit="return Check_Form_Validator()">
   <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
     <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;调查问卷基本信息</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
     <tr><td align=right colspan=2><SPAN style="PADDING-RIGHT: 16px">注：以下带“<SPAN  class=red>*</SPAN>”的为必填项</SPAN></td></tr>
	 <tr height="28" valign=center> 
        <td width="17%"><span class=red>*</span> 调查问卷标识名：</td>
        <td width="83%" valign=center>
	  	 <input class="textInput" name="surveyName" type="text" id="surveyName" size="25" onkeypress="checkValid()"  style="ime-mode:disabled" onPaste="return false;" onKeyUp="AjaxRequest('AjaxCheckSurveyName.php?surveyName='+this.value+'&oldName={surveyName}');"  value="{surveyName}">&nbsp;* 使用汉语拼音或者英文名称&nbsp;&nbsp;
		 <span id="surveyNameInfo"></span>
　　　</td></tr>
      <tr> 
           <td height="25"><SPAN class=red>*</SPAN> 问卷语言版本：</td>
           <td><input type="radio" value="cn" name="language"  onclick="Check_Survey_Lang('cn');" {surveyLang_cn}> 中文 &nbsp;&nbsp;<input type="radio" value="en" name="language" onclick="Check_Survey_Lang('en');" {surveyLang_en} > 英文</td>
      </tr>
      <tr> 
           <td height="25"><SPAN class=red>*</SPAN> 调查问卷标题：</td>
           <td><input class="textInput" name="surveyTitle" type="text" id="surveyTitle" size="80" maxlength="200" value="{surveyTitle}"></td>
      </tr>
      <tr> 
          <td height="23">&nbsp;&nbsp;&nbsp;调查问卷副标题：</td>
          <td><input class="textInput" name="surveySubTitle" type="text" id="surveySubTitle" size="90" value="{surveySubTitle}"></td>
      </tr>
      <tr>
          <td height="23">&nbsp;&nbsp;&nbsp;有关调查问卷说明：</td>
          <td><div style="background-color:#B7D1F4;border-bottom:1px #95b8e9 solid;">
			    <img SRC="../Images/Editor/head.gif" WIDTH="10" HEIGHT="26">
				<a href="javascript:void(0)" onclick="doExecCommand('Bold')"><img src="../Images/Editor/bold.gif" WIDTH="20" HEIGHT="20" title="Bold"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Italic')"><img src="../Images/Editor/italic.gif" WIDTH="20" HEIGHT="20" title="Italic"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Underline')"><img src="../Images/Editor/underline.gif" WIDTH="20" HEIGHT="20" title="Underline"></a>
				<img src="../Images/Editor/separator.gif" WIDTH="5" HEIGHT="20">
				<a href="javascript:void(0)" onclick="doExecCommand('Undo')"><img src="../Images/Editor/undo.gif" width="20" height="20" title="Undo"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Redo')"><img src="../Images/Editor/redo.gif" width="20" height="20" title="Redo"></a>
				<img src="../Images/Editor/separator.gif" WIDTH="5" HEIGHT="20">
				<a href="javascript:void(0)" onclick="doExecCommand('JustifyLeft')"><img src="../Images/Editor/jleft.gif" WIDTH="20" HEIGHT="20" title="JustifyLeft"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('JustifyCenter')"><img src="../Images/Editor/jcenter.gif" WIDTH="20" HEIGHT="20" title="JustifyCenter"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('JustifyRight')"><img src="../Images/Editor/jright.gif" WIDTH="20" HEIGHT="20" title="JustifyRight"></a>
				<img src="../Images/Editor/separator.gif" WIDTH="5" HEIGHT="20">
				<a href="javascript:void(0)" onclick="doExecCommand('Cut')"><img src="../Images/Editor/cut.gif" WIDTH="20" HEIGHT="20" title="Cut"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Copy')"><img src="../Images/Editor/copy.gif" WIDTH="20" HEIGHT="20" title="Copy"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Paste')"><img src="../Images/Editor/paste.gif" WIDTH="20" HEIGHT="20" title="Paste"></a>
				<a href="javascript:void(0)" onclick="doExecCommand('Delete')"><img src="../Images/Editor/delete.gif" WIDTH="16" HEIGHT="16" title="Delete"></a>
				<img src="../Images/Editor/separator.gif" WIDTH="5" HEIGHT="20">
				<a href="javascript:void(0)" onclick="doExecCommand('createLink')"><img src="../Images/Editor/link.gif" WIDTH="16" HEIGHT="16" title="CreateLink"></a>
				<img src="../Images/Editor/separator.gif" WIDTH="5" HEIGHT="20">
				<a href="javascript:void(0)" onclick="javascript:{var textEditor = document.getElementById('theEditor');textEditor.focus();editTextRange = textEditor.document.selection.createRange();showPopWin('ShowEditorImage.php', 590, 250, null, null,'插入图片与视频');}"><img src="../Images/Editor/image.gif" WIDTH="16" HEIGHT="16" title="InsertImage"></a>
			   </div>
		       <div style="background-color:#B7D1F4">
			    <img SRC="../Images/Editor/head.gif" WIDTH="10" HEIGHT="26">
				<select onchange="doSelectClick('FormatBlock',this);this.returnValue=false;" style="width: 80px;margin-bottom:4px;">
                  <option>段落格式</option>
                  <option VALUE="&lt;P&gt;">普通</option>
                  <option VALUE="&lt;PRE&gt;">已编排格式</option>
                  <option VALUE="&lt;H1&gt;">标题一</option>
                  <option VALUE="&lt;H2&gt;">标题二</option>
                  <option VALUE="&lt;H3&gt;">标题三</option>
                  <option VALUE="&lt;H4&gt;">标题四</option>
                  <option VALUE="&lt;H5&gt;">标题五</option>
                  <option VALUE="&lt;H6&gt;">标题六</option>
                  <option VALUE="&lt;H7&gt;">标题七</option>
                </select>
				<select onchange="doSelectClick('FontName',this);" style="width: 125px;margin-bottom:4px;">
				    <option selected>字体</option>
					<option value="宋体">宋体</option>
					<option value="黑体">黑体</option>
					<option value="楷体_GB2312">楷体</option>
					<option value="仿宋_GB2312">仿宋</option>
					<option value="隶书">隶书</option>
					<option value="幼圆">幼圆</option>
					<option value="Arial">Arial</option>
					<option value="Arial Black">Arial Black</option>
					<option value="Arial Narrow">Arial Narrow</option>
					<option value="Brush Script	MT">Brush Script MT</option>
					<option value="Century Gothic">Century Gothic</option>
					<option value="Comic Sans MS">Comic Sans MS</option>
					<option value="Courier">Courier</option>
					<option value="Courier New">Courier New</option>
					<option VALUE="Georgia">Georgia
					<option VALUE="impact">impact
					<option value="MS Sans Serif">MS Sans Serif</option>
					<option value="Script">Script</option>
					<option value="System">System</option>
					<option VALUE="Tahoma">Tahoma
					<option value="Times New Roman">Times New Roman</option>
					<option value="Verdana">Verdana</option>
					<option value="Wide	Latin">Wide Latin</option>
					<option value="Wingdings">Wingdings</option>
                </select>
				<select onchange="doSelectClick('FontSize',this);" style="width: 75px;margin-bottom:4px;">
                     <option>字体大小</option>
                     <option VALUE="1">8</option>
                     <option VALUE="2">10</option>
                     <option VALUE="3">12</option>
                     <option VALUE="4">14</option>
                     <option VALUE="5">18</option>
                     <option VALUE="6">24</option>
                     <option VALUE="7">36</option>
               </select>
              <select  name="ForeColor" onChange="doFormat('ForeColor',this[this.selectedIndex].style.color); this.selectedIndex=0" style="width: 80px;margin-bottom:4px;">
				  <OPTION selected>文字颜色
				  <OPTION style="BACKGROUND: #000000; Color: #000000">Black</option>
				  <OPTION style="BACKGROUND: #FFFFFF; Color: #FFFFFF">White</option>
				  <OPTION style="BACKGROUND: #0000FF; Color: #0000FF">Blue 1</option>
				  <OPTION style="BACKGROUND: #2222FF; Color: #2222FF">Blue 2</option>
				  <OPTION style="BACKGROUND: #4444FF; Color: #4444FF">Blue 3</option>
				  <OPTION style="BACKGROUND: #6666FF; Color: #6666FF">Blue 4</option>
				  <OPTION style="BACKGROUND: #333333; Color: #333333">Gray 1</option>
				  <OPTION style="BACKGROUND: #666666; Color: #666666">Gray 2</option>
				  <OPTION style="BACKGROUND: #999999; Color: #999999">Gray 3</option>
				  <OPTION style="BACKGROUND: #EEEEEE; Color: #EEEEEE">Gray 4</option>
				  <OPTION style="BACKGROUND: #004000; Color: #004000">Green 1</option>
				  <OPTION style="BACKGROUND: #006000; Color: #006000">Green 2</option>
				  <OPTION style="BACKGROUND: #008000; Color: #008000">Green 3</option>
				  <OPTION style="BACKGROUND: #00A000; Color: #00A000">Green 4</option>
				  <OPTION style="BACKGROUND: #FF0000; Color: #FF0000">Red 1</option>
				  <OPTION style="BACKGROUND: #FF2222; Color: #FF2222">Red 2</option>
				  <OPTION style="BACKGROUND: #FF4444; Color: #FF4444">Red 3</option>
				  <OPTION style="BACKGROUND: #FF6666; Color: #FF6666">Red 4</option>
				  <OPTION style="BACKGROUND: #FFFF00; Color: #FFFF00">Yellow 1</option>
				  <OPTION style="BACKGROUND: #FFFF33; Color: #FFFF33">Yellow 2</option>
				  <OPTION style="BACKGROUND: #FFFF66; Color: #FFFF66">Yellow 3</option>
				  <OPTION style="BACKGROUND: #FFFF99; Color: #FFFF99">Yellow 4</option>
				</select>
	            <select name="fontbackground" onChange="doFormat('BackColor',this[this.selectedIndex].style.color); this.selectedIndex=0" style="width: 80px;margin-bottom:4px;">
				  <OPTION selected>文字底色</option>
				  <OPTION style="BACKGROUND: #000000; Color: #000000">Black</option>
				  <OPTION style="BACKGROUND: #FFFFFF; Color: #FFFFFF">White</option>
				  <OPTION style="BACKGROUND: #0000FF; Color: #0000FF">Blue 1</option>
				  <OPTION style="BACKGROUND: #2222FF; Color: #2222FF">Blue 2</option>
				  <OPTION style="BACKGROUND: #4444FF; Color: #4444FF">Blue 3</option>
				  <OPTION style="BACKGROUND: #6666FF; Color: #6666FF">Blue 4</option>
				  <OPTION style="BACKGROUND: #333333; Color: #333333">Gray 1</option>
				  <OPTION style="BACKGROUND: #666666; Color: #666666">Gray 2</option>
				  <OPTION style="BACKGROUND: #999999; Color: #999999">Gray 3</option>
				  <OPTION style="BACKGROUND: #EEEEEE; Color: #EEEEEE">Gray 4</option>
				  <OPTION style="BACKGROUND: #004000; Color: #004000">Green 1</option>
				  <OPTION style="BACKGROUND: #006000; Color: #006000">Green 2</option>
				  <OPTION style="BACKGROUND: #008000; Color: #008000">Green 3</option>
				  <OPTION style="BACKGROUND: #00A000; Color: #00A000">Green 4</option>
				  <OPTION style="BACKGROUND: #FF0000; Color: #FF0000">Red 1</option>
				  <OPTION style="BACKGROUND: #FF2222; Color: #FF2222">Red 2</option>
				  <OPTION style="BACKGROUND: #FF4444; Color: #FF4444">Red 3</option>
				  <OPTION style="BACKGROUND: #FF6666; Color: #FF6666">Red 4</option>
				  <OPTION style="BACKGROUND: #FFFF00; Color: #FFFF00">Yellow 1</option>
				  <OPTION style="BACKGROUND: #FFFF33; Color: #FFFF33">Yellow 2</option>
				  <OPTION style="BACKGROUND: #FFFF66; Color: #FFFF66">Yellow 3</option>
				  <OPTION style="BACKGROUND: #FFFF99; Color: #FFFF99">Yellow 4</option>
				</select>		   
              </div>
		      <div id="theEditor" name="theEditor" contentEditable=true style="font-size:100%; overflow:auto;width:100%; font-family: verdana;border:#B7D1F4 1px solid;*padding:10px;height:100px;">{surveyInfo}</div>
	  </td></tr>   
      <tr><td height="25" rowspan=5><SPAN class=red>*</SPAN> 问卷提交后的到达方式：</td></tr>
	  <tr><td bgcolor="#f5f5f5" style="border-top:0px">常规到达方式 [ <span class=red>3</span> 种 ]</td></tr>
	  <tr><td>
		     <input type="radio" value="1" name="exitMode" {exitMode_1}>转向网址
		     <input name="exitPage" type="exitPage" id="exitPage" size="78" value="{exitPage}"> (URL) <br/>
		     <input type="radio" value="2" name="exitMode" {exitMode_2}>感谢信息<br>
			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="exitTitleHead" type="exitTitleHead" id="exitTitleHead" size="87" value="{exitTitleHead}"> (标题) <br/>
			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<textarea name="exitTextBody" rows=4 cols=87>{exitTextBody}</textarea> (内容) <br/>
			 <input type="radio" value="4" name="exitMode" {exitMode_4}>回复问卷的统计结果（需在个性设置处开启“允许答题者查看基于问题的回复结果统计”配置）
	  </td></tr>
	  <tr><td bgcolor="#f5f5f5">扩展到达方式 [ <span class=red>2</span> 种 ]</td></tr>
	  <tr><td>扩展到达方式依赖于对问题选项权重值的设定&nbsp;<input class=inputsubmit name="setGrade" type="button" id="setGrade" value="调整权重" onclick="javascript:window.location.href='ShowOptWeight.php?surveyID={surveyID}&surveyTitle={surveyTitle}';"><br/>
			 <input type="radio" value="3" name="exitMode" {exitMode_3}>评分量表计算结果&nbsp;&nbsp;<input class=inputsubmit name="setGrade" type="button" id="setGrade" value="设置规则" onclick="javascript:showPopWin('AjaxSurveyGrade.php?surveyID={surveyID}&surveyTitle={surveyTitle}', 850, 450, null, null,'设置量表评分规则');"><br/>
			 <input type="radio" value="5" name="exitMode" {exitMode_5}>指标体系运算结果&nbsp;&nbsp;<input class=inputsubmit name="setIndex" type="button" id="setIndex" value="指标设定" onclick="javascript:window.location.href='ShowSurveyIndex.php?surveyID={surveyID}&surveyTitle={surveyTitle}';">
		  </td>
      </tr>
      <tr><td height="25" rowspan=3><SPAN class=red>*</SPAN> 对接其他项目管理平台：</td></tr>
	  <tr><td style="border-top:0px">项目管理平台的对接URL：<input name="apiURL" type="apiURL" id="apiURL" size="87" value="{apiURL}">
	  </td></tr>
	  <tr><td>项目管理平台的对接变量：<input name="apiVarName" type="apiVarName" id="apiVarName" size="87" value="{apiVarName}"><br/><span class=red>*</span> 对接变量的格式：问卷标识ID#问卷标识名#问卷标识语言#样本标识ID#样本回复开始时间#样本回复结束时间#样本回复监控标记
	  </td></tr>
	  </table>
      
	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;调查问卷有效性要素</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
	  <tr><td height="25" width="22%"><SPAN class=red>*</SPAN> 问卷防重复提交设置：</td>
		  <td><select name="isCheckIP" id="isCheckIP" onChange="checkIpMode();">
					<option value="0" {isCheckIP0}>不采用提交问卷防重复限制</option>
					<option value="1" {isCheckIP1}>使用来源IP地址检测</option>
					<option value="2" {isCheckIP2}>使用客户端Cookie技术</option>
				</select>
		  </td>
	   </tr>
	   <tr id="IpTime"><td height="25"><SPAN  class=red>*</SPAN> 防重复提交的限制间隔：</td>
		   <td><input name="maxIpTime" type="text" id="maxIpTime" value="{maxIpTime}" size="6"> 分钟</td>
	  </tr>
	  <tr><td height="25"><SPAN class=red>*</SPAN> 是否设置访问问卷的IP地址段：</td>
		  <td><input class=inputsubmit name="mgtAllow" type="button" id="mgtAllow" value="设置" onclick="javascript:showPopWin('AjaxSurveyAllowIP.php?surveyID={surveyID}&surveyTitle={surveyTitle}', 660, 450, null, null,'设置可访问问卷的IP地址段');"></td>		  
	   </tr>
	  <tr><td align=left><SPAN  class=red>*</SPAN> 问卷开始时间：</td>
		   <td align=left><input class="text" name="beginTime" size='12' maxlength='10' id='beginTime' value='{beginTime}'> 00:00:00 <img src="../Images/calendar.gif" alt="开始时间"  id="date_start_trigger" align="absmiddle"></td>
	   </tr>
	  <tr><td align=left><SPAN class=red>*</SPAN> 问卷结束时间：</td>
		   <td align=left><input class="text" name="endTime" size='12' maxlength='10' id='endTime' value='{endTime}'> 00:00:00 <img src="../Images/calendar.gif" alt="结束时间"  id="date_end_trigger" align="absmiddle"> </td>
	   </tr>
	   <script type="text/javascript">
		  Calendar.setup({
		  inputField : "beginTime",
		  ifFormat : "%Y-%m-%d", 
		  range:[2007,2080],
		  showsTime : false, 
		  weekNumbers: false,
		  button : "date_start_trigger", 
		  singleClick : true,
		  step : 1
		 });
		  Calendar.setup({
		  inputField : "endTime",
		  ifFormat : "%Y-%m-%d", 
		  range:[2007,2080],
		  showsTime : false, 
		  weekNumbers: false,
		  button : "date_end_trigger", 
		  singleClick : true,
		  step : 1
		 });
	  </script>
	   <tr><td height="25">&nbsp;&nbsp;&nbsp;问卷收到对应的回收份数结束：</td>
		   <td><input name="maxResponseNum" type="text" id="maxResponseNum" value="{maxResponseNum}" size="6"> 份 (为空表示不采用此结束条件)</td>
	  </tr>
	  </table>

	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;安卓数据录入员端控制</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isRecord" id="isRecord" value="1" onclick="javascript:checkRecFile();" {isRecord}>离线安卓端需要对调查问卷回复过程全程录音</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isUploadRec" id="isUploadRec" value="1" {isUploadRec}>离线安卓端需要全程录音文件与回复数据一并上行</td>
      </tr>
	  <tr><td height="25" width="22%" align=center>离线安卓端<br/>需进行简单数据统计的调查问题：<br/>(按住Ctrl键点击鼠标进行多重选择)</td>
		  <td><select name="offlineCount[]" id="offlineCount" size=8 multiple style="width:670px;*width:680px">
		       {offlineCountList}
			  </select>
		  </td>
	  </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isOfflineModi" id="isOfflineModi" value="1" {isOfflineModi}>离线安卓端允许数据录入员修改问卷回复数据(非全程录音调查问卷)</td>
      </tr>
      <tr> 
          <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isPanelFlag" id="isPanelFlag" value="1" {isPanelFlag}>需要“样本标识标记”以区分不同回复数据</td>
      </tr>
	  </table>

	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;数据查看员权限控制</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
	  <tr><td height="25" width="22%" align=center>数据查看员<br/><font color=red>被禁止</font>查看详细数据的调查问题：<br/>(按住Ctrl键点击鼠标进行多重选择)</td>
		  <td><select name="forbidViewId[]" id="forbidViewId" size=10 multiple style="width:670px;*width:680px">
				<option value='t1' {t1}>地域来源信息</option>
				<option value='t2' {t2}>样本以及附属信息</option>
				<option value='t3' {t3}>全程录音文件信息</option>
				<option value='t4' {t4}>终端设备和GPS信息</option>
		       {forbidViewIdList}
			  </select>
		  </td>
	  </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isViewAuthData" value="1" {isViewAuthData}>数据查看员仅能查看审核通过的回复数据</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isViewAuthInfo" value="1" {isViewAuthInfo}>允许数据查看员查看所有审核信息明细</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isExportData" value="1" {isExportData}>禁止数据查看员导出问卷回复数据明细</td>
      </tr>
	  </table>

	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;数据录入员权限控制</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isImportData" value="1" {isImportData}>禁止数据录入员自CSV导入问卷回复数据</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isDeleteData" id="isDeleteData" value="1" {isDeleteData}>禁止数据录入员删除问卷已录入数据</td>
      </tr>
	  </table>

	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;调查问卷个性化设置</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isProperty" value="1" {isProperty}>显示题目属性(表明题目类型、是否必答、限选几项等)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isPreStep" value="1"  {isPreStep}>显示“上一页”按钮(是否允许答题者对回复过的题目答案进行修改)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isProcessBar" value="1"  {isProcessBar}>显示问卷回复进度状态条(仅适用多页调查问卷)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isCheckStat0" value="1"  {isCheckStat0}>问卷内配额与唯一性检查的数据运算范围包含未完成数据</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isViewResult" id="isViewResult" value="1" onclick="javascript:checkViewResult();" {isViewResult}>是否允许答题者查看基于问题的回复结果统计</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isShowResultBut" id="isShowResultBut" value="1"  {isShowResultBut}>显示“查看结果”按钮(是否在调查问卷第一页显示“查看结果”按钮)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isSecureImage" value="1" {isSecureImage}>使用验证码防止机器人填写问卷(仅适用于单页调查问卷)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isWaiting" id="isWaiting" value="1" onclick="javascript:checkWaiting()" {isWaiting}>开启最短回复时间限制：每问卷分页要求最短回复时间 <input name="waitingTime" type="text" id="waitingTime" value="{waitingTime}" size="6"> 秒(在该时间内问卷分页不允许提交)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isLimited" id="isLimited" value="1" onclick="javascript:checkWaiting()" {isLimited}>开启最长回复时间限制：问卷回复最长回复时间 <input name="limitedTime" type="text" id="limitedTime" value="{limitedTime}" size="10"> 秒(问卷须在该时间范围内全部完成)</td>
      </tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isDisRefresh" value="1"  {isDisRefresh}>开启问卷数据提交防刷新处理(同一IP地址来源20秒内禁止重复提交)</td>
      </tr>
      <!--<tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;<input type=checkbox name="isLogicAnd" value="1"  {isLogicAnd}>问卷逻辑关系设定问题间“与”关系(默认“或”关系)</td>
      </tr>-->
	  <tr>
	     <td width="22%"><SPAN class=red>*</SPAN> 问卷展示模板：&nbsp;&nbsp;<input class=inputsubmit name="mgtTpl" type="button" id="mgtTpl" value="调整" onclick="window.location.href='MgtTplFile.php';"></td>
		 <td><select name="panelID" id="panelID" onchange="javascript:checkSystemTpl();">
		   {panelList}
		  </select>
		 </td>
	  </tr>
	  <tr>
	     <td><SPAN class=red>*</SPAN> 问卷显示风格：</td>
		 <td><select name="theme" id="theme">
		    <option value="Standard" {theme_Standard}>标准的</option>
		    <option value="Coffee" {theme_Coffee}>咖啡色的</option>
		    <option value="PurplePink" {theme_PurplePink}>紫粉色的</option>
		    <option value="BrownBlue" {theme_BrownBlue}>棕蓝色的</option>
		    <option value="RedPink" {theme_RedPink}>红粉色的</option>
		    <option value="RedGray" {theme_RedGray}>红灰色的</option>		    
		    <option value="PurpleYellow" {theme_PurpleYellow}>紫黄色的</option>
			<option value="BlueBrown" {theme_BlueBrown}>蓝棕色的</option>
		    <option value="BlueGray" {theme_BlueGray}>蓝灰色的</option>
			<option value="BlueGrayII" {theme_BlueGrayII}>浅蓝灰色的</option>
		    <option value="BlueGreen" {theme_BlueGreen}>蓝绿色的</option>
		    <option value="GreenPink" {theme_GreenPink}>绿粉色的</option>
			<option value="Spring" {theme_Spring}>春绿色的</option>
		    <option value="Summer" {theme_Summer}>深夏色的</option>
		    <option value="UserDefine" {theme_UserDefine}>自定义的</option>
		  </select>
		 </td>
	  </tr></table>

	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;调查问卷唯一性回复地址</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
      <tr> 
         <td colspan=2>&nbsp;&nbsp;&nbsp;每个样本拥有该调查问卷唯一的访问地址(URL)，使用该URL以实现问卷回复过程的断点续答<br/>
					   &nbsp;&nbsp;&nbsp;每次新的生成操作或将问卷转回设计状态等动作将使原已生成的URL失效<br/>
					   &nbsp;&nbsp;&nbsp;设定(再次)生成URL的数量：<input name="uniCodeNum" id="uniCodeNum" value="" size=10 onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">&nbsp;&nbsp;<input class=stnsubmit name="uniCodeMake" type="button" id="uniCodeMake" value="生成并下载" onclick="javascript:makeUniCode();" {isCloseStatus}>&nbsp;(系统中已有数量：<span class=red id="haveUniCodeNumId">{haveUniCodeNum}</span>&nbsp;&nbsp;&nbsp;<a href="javascript:AjaxKeyRequest('AjaxUniKey.php?qid={surveyID}');" onclick="return window.confirm('您真的想删除系统中已生成的唯一访问地址(URL)吗？本操作不可恢复！')">删除</a>)
		 </td>
      </tr>
	  </table>
	  <script>
		function makeUniCode(){
			if( uniCodeNumValid() != false )
			{
				window.location.href= 'MakeUniCode.php?qid={surveyID}&uniCodeNum='+document.getElementById('uniCodeNum').value;
			}
		}
		function uniCodeNumValid()
		{
			if (!CheckNotNull(document.getElementById('uniCodeNum'),"设定生成URL的数量")) {return false;}
			if (!CheckNumber(document.getElementById('uniCodeNum'),"设定生成URL的数量",0,50000000)) {return false;}
		}
		var http_request = false;
		function AjaxKeyRequest(url)
		{
			http_request = false;
			if(window.ActiveXObject){
				try{ http_request = new ActiveXObject("Msxml2.XMLHTTP");}
				catch (e){ try{ http_request = new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {}
				}
			}
			else if(window.XMLHttpRequest){
				http_request = new XMLHttpRequest();
				if (http_request.overrideMimeType){ http_request.overrideMimeType('text/xml');}
			}	
			if (!http_request){ $.notification("Cannot create an XMLHTTP instance");return false;}
			http_request.onreadystatechange = function() {
			  if( http_request.readyState == 4 && http_request.status == 200) {
					 $('#haveUniCodeNumId').html('0');
					 $.notification('系统中已生成的唯一访问地址(URL)成功删除');
				}
			}
			http_request.open('GET', url, true);
			http_request.send(null);
		}
	  </script>
	  
	  <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
      <tr height=25 bgcolor="#e9e9e9"><td colspan=2><span class=red>&nbsp;调查问卷类型与抽样规则</span>&nbsp;<img src="../Images/info.gif" border=0></td></tr>
      <tr>
		  <td height="25" width="17%"><SPAN class=red>*</SPAN> 设置问卷类型：</td>
	  	  <td>
		   <span>
			  <SELECT name="isPublic" id="isPublic" onChange="checkType();">
			   <OPTION value="1" {option_1}>公开 （所有样本可查看与回复问卷）</OPTION>
			   <OPTION value="0" {option_0}>私有 （符合抽样规则的样本可查看与回复问卷）</OPTION>
			   <OPTION value="2" {option_2}>令牌控制 （通过令牌认证的样本可查看与回复问卷）</OPTION>
			  </SELECT>
		   </span>
		   <span style="display:{isAjaxPassport}" id="ajaxResponseURL_ID">&nbsp;
		   <input class=inputsubmit name="panelSetting" type="button" id="panelSetting" value="样本抽样规则" onclick="javascript:showModalDialog('{ajaxResponseURL}&surveyID={surveyID}&surveyTitle={surveyTitle}&hash={hashCode}&beginTime={beginTime}&endTime={endTime}&username={userName}', window, 'dialogWidth:700px;dialogHeight:500px;help:no;scroll:auto;status:no;');"></span>
		  </td>
	  </tr>
      <tr id="onlyToken">
		  <td height="25"><SPAN class=red>*</SPAN> 问卷控制令牌：</td>
	  	  <td><input name="tokenCode" type="text" id="tokenCode" value="{tokenCode}" size="16"></td>
	  </tr>
      <tr id="onlyMembers">
		  <td height="25" style="display:{isUseOriPassport}"><SPAN class=red>*</SPAN> 设置样本抽样规则：</td>
	  	  <td style="display:{isUseOriPassport}"><input class=inputsubmit name="setPanel" type="button" id="setPanel" value="样本抽样规则" onclick="javascript:showPopWin('ShowPanelReg.php?surveyID={surveyID}&surveyTitle={surveyTitle}', 690, 450, null, null,'私有问卷样本抽样规则');">
		 </td>
	  </tr>
	  <tr id="onlyMainAttribute">
		<td height="25" style="display:{isUseOriPassport}"><SPAN class=red>*</SPAN> 设置主要样本属性：<b>&nbsp;<a onmouseover="this.T_WIDTH=480;this.T_PADDING=0;this.T_BGCOLOR='#ffffff'; return escape('&nbsp;主要样本属性的数据来源是样本属性自定义字段中下拉框与单选字段类型的定义<br>&nbsp;在私有问卷设置抽样规则时，将需要指定哪些样本属性的数据与问卷数据一并记录<br>&nbsp;私有问卷数据分析中，这些记录的样本属性数据并可作为条件结果分析的过滤条件<br/>&nbsp;单一私有问卷可个性化定义这些样本属性<br/>&nbsp;其默认值来自样本管理配置中的默认样本属性设置<br>&nbsp;最多可指定6个主要样本属性')" href="javascript:void(0);"><font color=red><b>?</font></a></b></td>
	  	  <td style="display:{isUseOriPassport}"><select name="mainAttribute[]" id="mainAttribute" size=6 multiple>
		     {mainAttributeList}
		   </select>
		 </td>
	  <tr id="adUsers">
		  <td height="25"><SPAN class=red>*</SPAN> 提取目录系统账户：</td>
	  	  <td><textarea name="adUserName" id="adUserName" rows=6 cols=86>{adUserName}</textarea>
		      <br/><a href='javascript:void(0)' onclick="javascript:showPopWin('{LDAPActionURL}?Field=adUserName', 760, 420, null, null,'选择目录系统中的账户');"><span class=red>>>选择目录系统中的账户</span></a>
		  </td>
	  </tr>
	  </table>
  
      <div>
		  <input name="ori_adUserName" type="hidden" value="{adUserName}">
 		  <input name="passportType" type="hidden" value="{passportType}"> 
 		  <input name="surveyID" type="hidden" value="{surveyID}"> 
 		  <input name="ori_surveyName" type="hidden" value="{surveyName}"> 
 		  <input name="isPre" type="hidden" value="{isPre}"> 
 		  <input name="Action" type="hidden" id="Action" value="{Action}"> 
		  <input name="surveyInfo" id="surveyInfo" type="hidden">
	      <input type=submit class=inputsubmit value="确定" onclick="javascript:savesurveyinfo();">&nbsp;<input name="back2" class=inputsubmit type="button" value="返回"  onClick="javascript:window.location.href='{surveyListURL}'"></div>
    </form>       
 <script type="text/javascript">initInputHighlightScript();</script> 
 <script language=javascript src="../JS/Example.js.php"></script>
</div>
</div></div></div>
</body></html>
