<!--#include file="Lib/Config.asp"-->
<!--#include file="Lib/Func.asp"-->
<!--#include file="Lib/FileLib.asp"-->
<!--#include file="Lib/DBConn.asp"-->
<!--#include file="Lib/Header.asp"-->
<%
Dim HTMLSCRIPT
Dim JSCRIPT
Dim CODES,QUESTION
Dim ATT
Dim VARS,VAR
Dim PAGE,NPAGE
Dim IDKEY,RESTYPE,VC_ID
Dim SKINSTR,PARTSTR
Dim ST
Dim SPSS

VARS = ""

PARTSTR = "[[!!PART!!]]"
ST = "[[!!ST!!]]"

If PARTSTR ="　" Then PARTSTR =""
If ST ="　" Then ST =""

HTMLSCRIPT = "[[!!HTMLSCRIPT!!]]"

PAGE="[[!!VAR!!]]"
NPAGE="[[!!NVAR!!]]"

SPSS="[[!!SPSS!!]]"

'VAR = Left(VAR,Len(VAR)-1)
%>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" language="javascript">
<!--
<% Server.Execute("Lib/Prev.asp") %>

function next()
{
<%
	Response.Write JSCRIPT
%>
	var obj;

	document.Survey.submit();
}

$(document).ready(function(){

           $("#prev").click(function(){
                     new_prev();
           });

           $("#next").click(function(){
                     next();
           });
});

//-->
</script>
<div style="width:100%;">
<form name="Survey" method="post" action="Survey.asp">
<!--#include file="Lib/Variable.asp"-->
<!--#include file="Lib/CATI_INFO.asp"-->
	<% 
	SKINSTR = LoadSkin("./SKIN/" & SKIN &"/Skin.asp")
	SKINSTR = Replace(SKINSTR,"##SURVEYTITLE##",SURVEYTITLE)
	SKINSTR = Replace(SKINSTR,"##CLIENTIMG##",CLIENTIMAGE)
	SKINSTR = Replace(SKINSTR,"##PVALUE##",FORMATNUMBER(CDbl((CInt(Request.Form("PVALUE"))+1)/TOTALCOUNT)*100,1))
	SKINSTR = Replace(SKINSTR,"##PARTSTR##",PARTSTR)
	If PARTSTR<>"" Then
	SKINSTR = Replace(SKINSTR,"<!--","")
	SKINSTR = Replace(SKINSTR,"//-->","")
	End if
	Response.Write SKINSTR
	%>
	<div class="surveyBox">

		<div id="stArea" style="text-align:center;margin-bottom:5px;">
		<table id="STBody" style="margin:0 auto; width:960px;">
		<tr>
			<td width="100%" style="text-align:left;font:14px/1.5 'Malgun Gothic',sans-serif;font-weight:bold;">
			<%=ST%>
			</td>
		</tr>
		</table>	
		</div>

		<div class="indivs">
		<p style="text-align:center;font-size:24px;">
		<%=HTMLSCRIPT%>
		</p>
		</div>
	</div>
	<div id="timerLabel"></div>
	<!--#include file="Lib/Bottom.asp"-->
	<div id="mainCopy"><%=SurveyCpRight%></div>
</form>
</div>
</body>
</html>