<link rel="stylesheet" type="text/css" href="CSS/Standard.css">
<link rel="stylesheet" type="text/css" href="CSS/Box.css" >
<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;}
.edit_inactive_table { border:2px;}
</style>

<!--该调查问卷由科维能动EnableTQA系统生成 -->
<div id="content-wrap">
<div id="content-cont">
<div class="featurebox">
{processBar}
<H4>&nbsp;<span class="textEdit" id="surveyTitle_1_{surveyID}">{surveyTitle}</span></H4>
<H2><span class="textEdit" id="surveyTitle_2_{surveyID}">{surveySubTitle}</span></H2>
<H5><span class="textEdit" id="surveyTitle_3_{surveyID}">{surveyInfo}</span></H5>
<table bgcolor="#ffffff" cellpadding="0" cellspacing="0" width="100%">
<form action="" method="post" name="Survey_Form" enctype="multipart/form-data" onsubmit="return false;">
 <noscript><tr><td style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px;">系统检查到您的浏览器可能未开启JavaScript支持，问卷访问部分功能可能会受影响！</td></tr></noscript>
 <tr><td height=5 class="surveyclear">&nbsp;</td></tr>
 <tr><td class="surveybegin">
 <!-- BEGIN QUESTION -->
 <table width="100%" style="display:{isShowQuestion_{questionID}};" class="edit_inactive_table" id="question_{questionID}" onactivate="OnQuestionFocus(question_{questionID},ajaxAction_{questionID});" ondeactivate="OnQuestionBlur(question_{questionID},ajaxAction_{questionID});">
   <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('Survey/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&isPre=1&Action=View&questionID={questionID}&questionType={questionType}', 760, 450, parent.refreshParent, null,'修改调查问题');" style="color:#cc0000">修改</a>&nbsp;
		<a href="javascript:AjaxChangeRequest('Survey/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('Survey/DesignSurvey.php?surveyID={surveyID}&surveyTitle={surveyURLTitle}&DOes=EditLogic&questionID={questionID}&isPre=1','定义问题逻辑关系');" style="color:#cc0000">逻辑关系</a>&nbsp;
		<a href="javascript:AjaxChangeRequest('Survey/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}
  <tr><td height=5 class="surveyclear">&nbsp;</td></tr>
  </table>
 <!-- END QUESTION -->
  </td></tr>
  <tr><td height=5></td></tr>
  <tr align="center"> 
     <td>
        <input name="thisFields" type="hidden" id="thisFields" value="{thisFields}">
        <input name="allFields" type="hidden" id="allFields" value="{allFields}">
		<input name="thisStep" type="hidden" id="thisStep" value="{thisStep}">
		<input name="surveyID" type="hidden" value="{surveyID}">
		<input name="isPublic" type="hidden" value="{isPublic}">
		{hiddenFields}
		<input name="Action" type="hidden" id="Action">
		{actionButton}
     </td>
   </tr>
  </form>
</table>
</div></div></div>
<!--该调查问卷由科维能动EnableTQA系统生成 -->

<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/CheckQuestion.js.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>
