<html>
<head>
<title>{surveyTitle}</title>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="Offline/resources/pad.css">
<link rel="stylesheet" type="text/css" href="Offline/resources/miniphone.css">
<script> var secs = {waitingTime};limitedSecs = {limitedTime};</script>
<script type="text/javascript" src="JS/Waiting.en.php"></script>

<script type="text/javascript" src="JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="JS/Jquery.col.js.php"></script>
<script type="text/javascript" src="JS/Jquery.android.js.php"></script>
<script type="text/javascript" src="JS/CheckQuestion.en.php"></script>
{androidScript}
<script language=javascript>
function Survey_Form_Submit()
{
	if( Survey_Form_Validator() != false)
	{
		var thisCheckStr = document.Survey_Form.thisCheck.value;
{survey_quota_list}
		if( thisCheckStr != '')
		{
			var thisCheck = thisCheckStr.substr(0,thisCheckStr.length-1).split('|');
			var ajaxURL = 'JS/AjaxCheckTextRepeat.php?qid={surveyID}&qlang={surveyLang}&hash='+thisCheckStr;
			for(var m=0;m<thisCheck.length;m++)
			{
			   var qtnType = thisCheck[m].split('*');
			   switch(qtnType[0])
			   {
					case '4':
					case '23':
					   var objValue = eval('document.Survey_Form.'+qtnType[1]+'.value');
					   ajaxURL += '&'+qtnType[1]+'='+escape(objValue);
					break;
					case '0':
					break;
					case 's1':
					    var theFieldsList = qtnType[3].split('$');
						for(var t=0;t<theFieldsList.length;t++)
						{
						    var objField = eval('document.Survey_Form.'+theFieldsList[t]);
							if( objField != null )
							{
								ajaxURL += '&'+theFieldsList[t]+'='+escape(objField.value);
							}
							else
							{
								ajaxURL += '&'+theFieldsList[t]+'=0';
							}
						}
					break;
					default:
					   var objField = eval('document.Survey_Form.'+qtnType[1]);
					   ajaxURL += '&'+qtnType[1]+'='+getRadioCheckBoxValue(objField);
					break;
 			   }
			}
			var js = document.createElement( "script" ); 
			js.type = "text/javascript" ; 
			js.setAttribute( "src" , ajaxURL);  
			document.body.appendChild(js);
		}
		else
		{
			if( document.getElementById('SurveyPreSubmit') != null ) document.getElementById('SurveyPreSubmit').disabled = true;
			if( document.getElementById('SurveyNextSubmit') != null ) document.getElementById('SurveyNextSubmit').disabled = true;
			if( document.getElementById('SurveyOverSubmit') != null ) document.getElementById('SurveyOverSubmit').disabled = true;
			document.Survey_Form.submit();
		}
	}
}
function Survey_Form_Validator()
{
   {check_survey_form_list}
}
function Check_Survey_Conditions()
{
   {check_survey_conditions_list}
}
function ReloadImage()
{
	document.getElementById('verifyImage').src = 'JS/CreateVerifyCode.js.php?sid=' + Math.random(); 
}
function Init()
{
   Check_Survey_Conditions();
   {waitingScript}
   {limitedScript}
   {readGpsSimInfo}
}
window.onRexseeReady = function() {	
	rexseeMenu.setOptionsMenuId("mainOptionsMenu1");
	rexseeSpecialKey.enableBackKeyListener(false);
	if( rexseeGps.isReady() )
	{
		rexseeGps.start();
	}
	//关闭滑到底部事件
	try {
	　　rexseeBrowser.setAllowScrollEvent(false);
	} catch (e) {}
}
</script>

<body oncontextmenu="return false" style="background:#e5e5e5;color:#666;margin:0px;">

<div style="padding:3px;font-weight:bold;background: -webkit-gradient(linear, left top, right bottom, from(#6A0500), to(#a80900));color:#fff;font-size:18px;">
 <table width=100%>
   <tr>
   <td width=85 style="padding:0px"><a href="Android/index.php"><img src="Images/return.png" width=85 height=30 border=0></a></td>
   <td align=center width=* style="color:#fff;font-size:18px;padding:0px">FILL IN THE SURVEY</td>
   <td width=85 id="processValueId" align=right class="pageTitle" style="padding:0px;font-size:16px" >&nbsp;{processValue}</td>
   </tr>
 </table>
</div>

<!--该调查问卷由科维能动EnableQ在线问卷调查引擎系统生成 -->
<div id="content-wrap">
<div id="content-cont">
<div class="featurebox">
{limitedTimeBar}
<H4>&nbsp;{surveyTitle}</H4>
<H2>{surveySubTitle}</H2>
<H5>{surveyInfo}</H5>
<form action="" method="post" name="Survey_Form" enctype="multipart/form-data" onsubmit="return false;">
<table cellpadding="0" cellspacing="0" width="100%">
 <tr><td class="surveybegin">
 <!-- BEGIN QUESTION -->
 <table width="100%" style="display:{isShowQuestion_{questionID}};" class="pertable" id="question_{questionID}">
 {questionList}
  <tr><td height=5 class="surveyclear">&nbsp;</td></tr>
  </table>
 <!-- END QUESTION -->
 {secureImage}
  </td></tr>
  <tr><td height=5></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="passPortType" type="hidden" value="{passPortType}">
		<input name="surveyQuotaFlag" id="surveyQuotaFlag" type="hidden">
		<input name="screeningFlag" id="screeningFlag" type="hidden">
		<input name="surveyQuotaId" id="surveyQuotaId" type="hidden">
		<input name="isCheckCode" id="isCheckCode" value="{isCheckCode}" type="hidden">
		<input name="GpsInfo" id="GpsInfo" type="hidden">
		<input name="SimInfo" id="SimInfo" type="hidden">
		{hiddenFields}
		<input name="Action" type="hidden" id="Action">
		{actionButton}
     </td>
   </tr>
  </form>
</table>
</div></div></div>
<script>Init();</script>
<!--该调查问卷由科维能动EnableQ在线问卷调查引擎系统生成 -->
<script>scroll(0, 0);</script>
</body>
</html>