<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result" useTabLink="true">
	<style>
		ul { float:left; }
	</style>
	<script>
	<og:text>
		setTimeout(function(){
			window.open("about:blank","_top").close();
		}, {@SYS.MAX_INACTIVE_INTERVAL}*1000+20000);
	</og:text>
	</script>
</og:head>

<og:equals val1="{@command}" val2="NEW">
	<!-- 共通前処理 -->
	<og:userInfo command="REMOVE"	key="BASE_GAMENID" />
	<og:userInfo command="SET"		key="BASE_GAMENID" value="{@GAMENID}" />

	<!-- 画面編集用前処理 -->
	<og:userInfo command="REMOVE"	key="EDIT_NAME" />
	<og:userInfo command="SET"		key="EDIT_NAME" value="{@editName}" />

	<!-- 出力方法編集用前処理 -->
	<og:fileUD typeDownload="true" />
	<og:userInfo command="SET"		key="CLM_NAMES" value="{@DB.CLM_NAMES}" />
</og:equals>

<og:text><img src="{@SYS.JSP_IMG}/close.gif" alt="close" onClick="top.window.close();" style="float:left; padding:2px; margin-right: 20px;" /></og:text>

<!-- 画面リソースの3桁目を指定しない、または"e"を指定した場合は、edit=trueの引数が送られる -->
<og:equals val1="{@edit}" val2="true">
	<og:tabLink listType="TAG" openTab="true" openTabName="CLMSEQ" constKeys="command" constVals="RENEW" target="EDIT">
		<og:tabList name="CLMSEQ" href="result_CLMSEQ.jsp" lbl="CONFIG_CLMSEQ" keys="fullEdit,readonly" vals="{@fullEdit},{@readonly}"/>
		<og:tabList name="REPORT" href="result_REPORT.jsp" lbl="CONFIG_REPORT" />
	</og:tabLink>
</og:equals>

<og:equals val1="{@edit}" val2="true" notEquals="true">
	<og:tabLink listType="TAG" openTab="true" openTabName="REPORT" constKeys="command" constVals="RENEW" target="EDIT">
		<og:tabList name="REPORT" href="result_REPORT.jsp" lbl="CONFIG_REPORT" />
	</og:tabLink>
</og:equals>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
