<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" session="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="ko">
<head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
	<meta http-equiv="content-language" content="ko">
	<meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1" />
	<title><spring:message code="sys.name" /></title>
	<style>
body { background: #fff;}
div.popup{
	background:#E0E0E0;
	border:1px solid #CDCDD1;
	height:${noticeVO.npHeight}px;
	padding: 0 5px 0 5px;
}
div.window_pop{
	margin:5px 5px 5px 5px;	
	border:1px solid #CDCDD1;
}
div.window_pop_html{
	padding:5px 0 0 10px;	
	/*background: url("images/bg_pop.gif") no-repeat 100% 100%;*/
	height:${noticeVO.npHeight - 85}px;
	background-color: #fff;
}
div.window_pop_title{
	margin:10px 0 10px 10px;	
	font-weight: bold;
}
div.button {
	vertical-align:bottom;
	text-align:right;
	height:15px;
	padding:2px 20px 0 5px;
}
div.button img{
	border:1px solid #CDCDD1;
}
</style>

<script type="text/javascript">
function setCookie(name, value, expiredays) {
	var todayDate = new Date(); 
	todayDate.setDate(todayDate.getDate() + expiredays); 
	var cookieValue = name + '=' + escape(value) + "; path=/;";
	if(expiredays) {
		cookieValue += ' expires=' + todayDate.toGMTString()+';';
	}//if

	document.cookie = cookieValue;
}

function closePop(window_name){
	setCookie(window_name, 1, 0);
	window.close();
}
</script>

</head>

<body>
	<div class="popup">
<div id="popup_title_${noticeVO.npIdx}" class="window_pop_title" >◈${noticeVO.npSubject}</div>
<div class="window_pop_html">${noticeVO.npText}</div>
<div class="button">   
	<a href="javascript:closePop('popup_window${noticeVO.npIdx}');"><img src="/images/new/popup_window_close.gif" align="absmiddle" border="0"/></a>
	<a href="javascript:window.close();"><img src="/images/new/popup_window_hide.gif" align="absmiddle" border="0"/></a>   
</div>
</div>
</body>

</html>
