<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html lang="ko">
<head>
	<meta charset="utf-8"/>
	<meta name="robots" content="noindex,nofollow"/>
	<title>휴대폰번호 변경 본인인증</title>
</head>
<body
		data-success="<c:out value='${success}'/>"
		data-message="<c:out value='${message}'/>"
		data-phone-no="<c:out value='${phoneNo}'/>">
<script>
	(function () {
		var success = document.body.getAttribute("data-success") === "Y";
		var message = document.body.getAttribute("data-message");
		var phoneNo = document.body.getAttribute("data-phone-no");

		if (window.opener && !window.opener.closed
				&& typeof window.opener.completeKmcPhoneReset === "function") {
			window.opener.completeKmcPhoneReset(success, message, phoneNo);
		} else {
			alert(message);
		}
		window.close();
	}());
</script>
</body>
</html>
