<script type="text/javascript" src="JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="JS/Jquery.col.js.php"></script>
<link rel="stylesheet" type="text/css" href="CSS/Box.css" >
<!--[if IE 6]>
<link rel="stylesheet" href="CSS/Slider.ie6.css" type="text/css" media="screen">
<![endif]-->
<link rel="stylesheet" type="text/css" href="CSS/RightMenu.css">
<style>
#overlay{ background-image: url(Images/overlay.png); }
* html #overlay{
	background-color: #333;
	background-color: transparent;
	background-image: url(Images/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="Images/overlay.png", sizingMethod="scale");
	}
.edit_active_table {border:2px solid #cc0000;margin-bottom:8px;}
</style>

<!--该调查问卷由科维能动EnableQ在线问卷调查引擎系统生成 -->
{processBar}
<form action="" method="post" name="Survey_Form" enctype="multipart/form-data" onsubmit="return false;">
<table bgcolor="#ffffff" cellpadding="0" cellspacing="0" width="100%">
 <noscript><tr><td style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px;">We're sorry. You must have JavaScript enabled to enjoy the survey.</td></tr></noscript>
 <tr><td>
 <!-- BEGIN QUESTION -->
 <table width="100%" cellpadding="0" cellspacing="0" style="display:{isShowQuestion_{questionID}};" class="pertable" id="question_{questionID}" onactivate="OnQuestionFocus(question_{questionID},ajaxAction_{questionID});" ondeactivate="OnQuestionBlur(question_{questionID},ajaxAction_{questionID},1);">
   <tr id="ajaxAction_{questionID}" style="display:none">
     <td>
	   <span style="float:left" style="color:#cc0000">&nbsp;点击问题或选项文字进行直接编辑</span>
	   <span style="float:right">
        <a href="javascript:void(0);" onclick="javascript:parent.showPopWin('System/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&isPre=1&Action=View&questionID={questionID}&questionType={questionType}', 900, 450, parent.refreshParent, null,'修改调查问题');" style="color:#cc0000">修改</a>&nbsp;
		<a href="javascript:ajax_qtn_action('System/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&isPre=1&Actiones=Copy&questionID={questionID}&isAjax=1');" onclick="return  window.confirm('您真的想从该问题复制一份副本吗？问题的逻辑关系将不被复制!')" style="color:#cc0000">复制</a>&nbsp;
        <a href="javascript:void(0);" onclick="javascript:parent.sendActionURL('System/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&DOes=EditLogic&questionID={questionID}&isPre=1','定义问题逻辑关系');" style="color:#cc0000">逻辑关系</a>&nbsp;
		<a href="javascript:ajax_qtn_action('System/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&isPre=1&Action=Delete&questionID={questionID}&isAjax=1');" onclick="return  window.confirm('您真的想删除该条问题吗？本操作不可恢复！')" style="color:#cc0000">删除</a>&nbsp;
	   </span>
   </td></tr>
   {questionList}
  </table>
 <!-- END QUESTION -->
  </td></tr>
  <tr align="center"> 
     <td>
        <input name="thisFields" type="hidden" id="thisFields" value="{thisFields}">
        <input name="thisFiles" type="hidden" id="thisFiles" value="{thisFiles}">
        <input name="thisSizes" type="hidden" id="thisSizes" value="{thisSizes}">
        <input name="thisHidden" type="hidden" id="thisHidden" value="{thisHidden}">
        <input name="allHidden" type="hidden" id="allHidden" value="{allHidden}">
        <input name="allFields" type="hidden" id="allFields" value="{allFields}">
		<input name="thisCheck" type="hidden" id="thisCheck" value="{thisCheck}">
		<input name="thisStep" type="hidden" id="thisStep" value="{thisStep}">
		<input name="surveyID" type="hidden" value="{surveyID}">
		<input name="isPublic" type="hidden" value="{isPublic}">
		<input name="surveyQuotaFlag" id="surveyQuotaFlag" type="hidden">
		<input name="screeningFlag" id="screeningFlag" type="hidden">
		<input name="surveyQuotaId" id="surveyQuotaId" type="hidden">
		{hiddenFields}
		<input name="Action" type="hidden" id="Action">
		{actionButton}
     </td>
   </tr>
  </form>
</table>
<!--该调查问卷由科维能动EnableQ在线问卷调查引擎系统生成 -->

<script> var loadingImage = 'Images/loading.gif'; var closeButton = 'Images/closewindow.gif';</script>
<script type="text/javascript" src="JS/PicBox.js.php"></script>
<script type="text/javascript" src="JS/MouseRight.js.php"></script>
<script type="text/javascript" src="JS/PageEdit.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 type="text/javascript" src="JS/CheckQuestion.en.php"></script>
<script type="text/javascript" src="JS/AjaxChangeStat.js.php"></script>
<script language=javascript>
function Survey_Form_Submit()
{
	if( Survey_Form_Validator() != false)
	{
		document.Survey_Form.submit();
	}
}
function Survey_Form_Validator()
{
   {check_survey_form_list}
}
function Check_Survey_Conditions()
{
   {check_survey_conditions_list}
}
function Init()
{
   Check_Survey_Conditions();
   initLightbox();
}
</script>
<script>Init();</script>

<link href="CSS/SideBar.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="JS/SideBar.js.php"></script>
<div id="sideBar">	
	<a href="javascript:void(0);" id="sideBarTab" onfocus="this.blur();"><img src="Images/slide-button.gif"/></a>
	<div id="sideBarContents" style="display:none">
		<div id="sideBarContentsInner" style="display:none">
			<h2>操作小提示</h2>			
			<ul>
				<li><b>[预览]</b> 点击问卷中的问题或选项的文字，可直接对其进行编辑与修改；</li>
				<li><b>[预览]</b> 点击问卷中的对应问题，系统提供对其进行快捷操作的导航；</li>
				<li><b>[预览]</b> 点击鼠标右键，系统提供问卷操作的快捷菜单导航；</li>
				<li><b>[执行]</b> 设计好的问卷要供被调查者填写数据，需把问卷转成“执行”状态；</li>
				<li><b>[执行]</b> 执行状态的问卷为保持数据完整性，将关闭问卷部分设计功能。</li>
				<li>更多帮助信息，方便访问<a href="http://doc.itenable.com.cn" target=_blank><b>EnableQ在线文档中心</b></a></li>
			</ul>			
		</div>
	</div>	
</div>
<script>initSideBar();</script>
