<!--#include file="../Lib/Config.asp"-->
<!--#include file="../Lib/Func.asp"-->
<!--#include file="../Lib/FileLib.asp"-->
<!--#include file="../Lib/DBConn.asp"-->
<!--#include file="../Lib/AN_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 DELAYTIMES
Dim ST
Dim SPSS

VARS = ""

PARTSTR = ""
ST = SURVEYTITLE

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

HTMLSCRIPT = ""

DELAYTIMES=0

PAGE=""
NPAGE=""

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();
}

function fadeCk()
{
	$(".btnC").hide();
	$(".btnC").delay(<%=DELAYTIMES%>).fadeIn(400);
}

$(document).ready(function(){

	tcount=<%=DELAYTIMES/1000%>;
	fadeCk();
//	fc();

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

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


//-->
</script>
<div style="width:100%;">
<form name="Survey" method="post" action="Survey.asp">
<!--#include file="../Lib/Variable.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>	
<% if ST<>"" Then %>
		<script language="javascript">
		$(document).ready(function(){		
			roundTable("STBody");
		});
		</script>
<% End if %>
		</div>

		<div class="indivs">
		<p style="text-align:center;font-size:24px;">
			<table style="width:80%">
			<tr>
				<td style='padding:20px 20px 20px 20px;'><input type='button' name='B1' style='height:50px;width:200px;font-size:18px' value='현황페이지' onclick='location.href="Index1.asp"'></td>
				<td style='padding:20px 20px 20px 20px;'><input type='button' name='B2' style='height:50px;width:200px;font-size:18px' value='데이터 다운로드' onclick='location.href="Index2.asp"'></td>
			</tr>
			<tr>
				<td style='padding:20px 20px 20px 20px;'><input type='button' name='B3' style='height:50px;width:200px;font-size:18px' value='데이터 초기화' onclick='location.href="Index3.asp"'></td>
				<td style='padding:20px 20px 20px 20px;'><input type='button' name='B4' style='height:50px;width:200px;font-size:18px' value='쿼터수정페이지' onclick='location.href="Index4.asp"'></td>
			</tr>
			<tr>
				<td style='padding:20px 20px 20px 20px;' colspan='2'><input type='button' name='B5' style='height:50px;width:400px;font-size:18px' value='통화중/전화안받음 초기화' onclick='location.href="Index5.asp"'></td>				
			</tr>
			</table>
		</p>
		</div>
	</div>
	<div id="timerLabel"></div>
</form>
</div>
</body>
</html>