<!--#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 = ""

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

function DataDown(Prn,Prc)
{
	document.Survey.action = "DATARESET.asp?PROJECT_NAME="+Prn+"&PROJECT_CODES=" + Prc;
	document.Survey.submit();
}


//-->
</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;">
			<%=SURVEYTITLE%> 데이터 초기화<br><br>
			<font color='red'>데이터와 리스트가 같이 초기화 됨으로 실사 시작전에 한번씩만 실행해 주시며, <br>
			실사 진행 후는 클릭하시면 안됩니다.</font>
			<table style="width:80%">
			<tr>
				<td style='padding:20px 20px 20px 20px;'><input type='button' name='B1' style='height:50px;font-size:18px' value='초기화' onclick='javascript:DataDown("<%=PROJECTCODE%>","<%=PROJECTCODE%>");'></td>

			</tr>

			<tr>
				<td style='padding:20px 20px 20px 20px;' colspan='2'><input type='button' name='B5' style='height:50px;width:300px;font-size:18px' value='목록으로' onclick='location.href="MAIN.asp"'></td>
			</tr>

			</table>
		</p>
		</div>
<!--
		<div class="indivs">
			<div class="outdiv">
		<div class="indiv">

				<table id='A2C_table' class='attab01' cellpadding='0' cellspacing='0' border='0'>
					<colgroup>
						<col width="100.00%"/>
					</colgroup>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="1"/>
					<a href="javascript:setRadioValue('A2C','1');" id="LA2C_1" style="vertical-align: top;">현대자동차</a></td>
					</tr>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="2"/>
					<a href="javascript:setRadioValue('A2C','2');" id="LA2C_2" style="vertical-align: top;">기아자동차</a></td>
					</tr>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="3"/>
					<a href="javascript:setRadioValue('A2C','3');" id="LA2C_3" style="vertical-align: top;">한국지엠[쉐보레]</a></td>
					</tr>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="4"/>
					<a href="javascript:setRadioValue('A2C','4');" id="LA2C_4" style="vertical-align: top;">르노삼성</a></td>
					</tr>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="5"/>
					<a href="javascript:setRadioValue('A2C','5');" id="LA2C_5" style="vertical-align: top;">쌍용자동차</a></td>
					</tr>
					<tr>
					<td><input type="radio" name="A2C" class="radio1" value="6"/>
					<a href="javascript:setRadioValue('A2C','6');" id="LA2C_6" style="vertical-align: top;">수입차업체</a></td>
					</tr>
					<tr>
					</tr>
				</table>

		</div>
	</div>
-->
		</div>
	</div>
	<div id="timerLabel"></div>


</form>
</div>
</body>
</html>