<!--#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"-->
<!--#include file="Template/Single.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 = "DINY"
CODES = "900∮거절∑901∮통화중∑902∮결번 / 오번∑903∮추후 전화요청∑904∮전화 안받음∑905∮대상자 아님"

ATT = ""
QUESTION = "중단 사유에 대한 내용을 선택해 주시기 바랍니다."
PARTSTR = "중단사유"
ST = "　"

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

Call QuestionSingle(VARS,CODES,QUESTION,1,HTMLSCRIPT,JSCRIPT)

PAGE="DINY"
NPAGE="MAIN"

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

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

<% If SurveyStatus=0 Then %>
function prev()
{
	history.go(-2);
}
<% End If %>
function next()
{

<%
	Response.Write JSCRIPT
%>

	var obj;

	document.Survey.submit();
}

$(document).ready(function(){

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

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

//-->
</script>
<div style="width:100%;">
<form name="Survey" onsubmit="return false;" method="post" action="CloseCheck.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,"##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">
		<%=HTMLSCRIPT%>
		</div>
	</div>
	<div id="timerLabel"></div>
<br>
<div style="text-align:center;">
						<input type="button" value=" 완료 " style="height:70px;font-size:20px;width:200px;height:50px;font-size:20px" onclick="javascript:next();">
						<input type="button" value=" 취소 " style="height:70px;font-size:20px;width:200px;height:50px;font-size:20px" onclick="javascript:history.back();">
</div>
</form>
</div>
</body>
</html>
