

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
	
	<script src="/res/js/jquery-1.11.1.min.js"></script>
	<script src="/res/js/bootstrap.min.js"></script>
	<script src="/res/js/comm.js"></script>
	<script src="/res/js/sendPost.js"></script>
	<script type="text/javascript" src="/res/js/default.js"></script>
	<script type="text/javascript" src="/res/js/jquery.popupoverlay.js"></script>
	<script type="text/javascript" src="/res/js/jquery.numeric.js"></script>
	
	<link href="/res/css/bootstrap.min.css" rel="stylesheet">        
	<link href="/res/css/style_home.css" rel="stylesheet">
	<link href="/res/css/common.css" rel="stylesheet">
	
	
	
<script>
var timeLimit = 60

function confirm(sn){

	/* if( timeLimit == -1 ) {
		alert('제한시간이 초과되었습니다.');
		return;
	} */
	
	/* window.open('http://ictmarket.or.kr:8443/ajax/ajax4.do?id=PRE0000190234&seq=1&yn=1&sn=3537942&SECU_CODE=7995'
				,'_blank','width=820, height=980, toolbar=no, menubar=no, scrollbars=no, resizable=no' ) */
				
	//sendPopPost2("http://ictmarket.or.kr:8443/ajax/ajax4.do",{id:'PRE0000190234',seq:'1',yn:'1',sn:'3537942',SECU_CODE:'7995'},"800","1000","0","0","_blank","no","no","no","no");			
	//sendPost("http://ictmarket.or.kr:8443/ajax/ajax4.do",{id:'PRE0000190234',seq:'1',yn:'1',sn:'3537942',SECU_CODE:'7995'});
	//window.close();
	//?id=PRE0000190234&seq=1&yn=1&sn=3537942&SECU_CODE=7995	
	
	var CON_STATUS_CD = "K2104";	

	if ( CON_STATUS_CD === 'K2105' || CON_STATUS_CD === 'K2106'){		
		alert("해당 판매점은 사전승낙 취소 또는 철회된 판매점으로 사전승낙서를 표시할 수 없습니다.");
		window.close();
		return
	}
	
	$("#precon_id").val('PRE0000190234');
	$("#precon_seq").val('1');
	$("#PRINT_MNO").val('Y');
	$("#PRINT_MVNO").val('N');
	$("#yn").val('1');
	$("#sn").val('3537942');
	$("#SECU_CODE").val('7995');
	$("#SERVICE_TYPE_CD").val('F4001');

	myPop = window.open('','report_popup','width=820, height=980, toolbar=no, menubar=no, scrollbars=no, resizable=no' );
	
	var host      = self.location.host;			// ip:port
	
	//Http, Https 분기 체크
	var url       = "https://ictmarket.or.kr:8443";	// 운영 WebApplication URL.
	if (window.location.protocol != "https:") {
		url = "http://ictmarket.or.kr:8443";
	}
	
	$("#popUbi").attr("action",url+"/ajax/ajax4.do");
	$("#popUbi").attr("target","report_popup");
	
	$("#popUbi").submit();
	
}
/*
$(document).ready(function(){
  tid=setInterval('msg_time()',1000);  
});

function msg_time() {   
  $("#timer").html(timeLimit);  
  timeLimit = timeLimit - tid;
  
  if (timeLimit < 0) {    
  	clearInterval(tid);
  }
} */


</script>

<form id="popUbi" method="POST">
<input type="hidden" id="precon_id" name="id" value="'PRE0000190234" />
<input type="hidden" id="precon_seq" name="seq" />
<input type="hidden" id="PRINT_MNO" name="PRINT_MNO" />
<input type="hidden" id="PRINT_MVNO" name="PRINT_MVNO" />
<input type="hidden" id="yn" name="yn" />
<input type="hidden" id="sn" name="sn" />
<input type="hidden" id="SECU_CODE" name="SECU_CODE" />
<input type="hidden" id="CON_STATUS_CD"  />
<input type="hidden" id="SERVICE_TYPE_CD" name="SERVICE_TYPE_CD" />
</form>

<body style="overflow: hidden;">
		  
	        <div class="modal-content">
	          <div class="modal-header">
	            <h5 class="modal-title" id="cert-popLabel">사전승낙서 확인</h5>	            
	          </div>
	          <div class="modal-body" style="padding-bottom: 0px;">
	          	<div class="form-group">
						<!-- 한국정보통신협회에서 제공하는 판매점의 사전승낙이 유효한지 해드립니다.<br/><br/>
						아래 [사전승낙서 확인] 버튼을 클릭 시 표시되는 사전승낙서 화면 에서도<br/><br/>
						아래와 동일한 보안문자를 표시해야 정상적인 승낙서 입니다.<br/><br/>										
						1분안에 클릭하셔야 유효합니다.<br/><br/> -->
						판매점 사전승낙서가 유효한지 확인합니다.<br/><br/>
						아래 [확인하기] 버튼 클릭 시에 나타나는 사전승낙서 화면에도<br/><br/>
						아래와 동일한 보안문자가 표기되어있어야 정상적인 승낙서입니다.						
	          	</div>
	          </div>
	          <div class="modal-footer"></div>
	        </div> 
	        <div style="background-image: url('/res/imgs/images.jpg'); width: 100%; margin-top:10px;  text-align: center; font-size: 6em; ">
				7995
			</div>	
			<div class="btn_bottom_wrap" style="font-size: 30px;">
				<button type="button" class="btn_prev lightgray" id="reqBtn" onclick="javascript:confirm('3537942')" style="width: 200px; height: 60px; font-size: 15px; ">
					확인하기<p style="color: #2d8fe4;">(1분 이내에 클릭해주세요)</p>
				</button>
				
			</div>
	      	
	      	
</body>
</html>