<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>

<%@ taglib prefix="compress" uri="http://htmlcompressor.googlecode.com/taglib/compressor"%>

<!DOCTYPE html>
<html lang="kr">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
		<link rel="stylesheet" href="/pb/css/reset.css">
		<link rel="stylesheet" href="/pb/css/common.css">
		<link rel="stylesheet" href="/pb/css/content.css?date=202301160001">
		<link rel="stylesheet" href="/pb/css/popup.css">
		<script src="/pb/js/jquery-3.5.0.js"></script>
		<script src="/pb/js/common.js"></script>
		<link rel="icon" href="data:;base64,iVBORw0KGgo=">
		<script src="<c:url value='/js/jquery.js' />"></script>
		<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script>
		<c:if test="${!empty loginId}">
			<!-- 자동완성 START-->
			<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
			<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
			<script src="<c:url value='/js/recent_search.js' />"></script>
			<!-- 자동완성 END -->
		</c:if>
		<c:set var="RequestUrl" value="${pageContext.request.requestURL}"/>
		<c:if test="${RequestUrl.indexOf('RefundReRegist.do') == -1}">
			<script src="<c:url value='/js/ncms_common.js' />"></script>
		</c:if>
		<script>
			$( document ).ready(function() {
				labelSet();
			});
			function labelSet(){//Ajax load를 위해 메소드로 구현
				$("input[type='checkBox'],input[type=radio]").each(function(index, item){
					$(this).after("<label for='"+$(this).attr('id')+"'></label>") ;
				});
			}
			
			// 페이지 뒤로 가기 시 이벤트 발생
			window.onpageshow = function(event) {
				// 뒤로 가기, 새로고침 등 캐시 복원 시
				if ( event.persisted || (window.performance && window.performance.navigation.type == 2)) {
				} else { // 새 페이지 열릴 시
					<c:if test="${!empty message}">alert("${message}");</c:if>
				}
			}
		</script>
	</head>
	<decorator:head />
	<c:import url="/EgovPageLink.do?link=blank" />
	<c:import url="/sym/mms/EgovMainMenuHead.do" />
	<!-- 왼쪽 팝업 시작-->
	<c:import url="/sym/mms/EgovMainMenuLeft.do" />
	<!-- 왼쪽 팝업 끝-->
	
	<!-- body 시작 -->
	<decorator:body />
	<!-- body 끝 -->
	
	<c:import url="/sym/mms/EgovMainFooter.do" />
</html>