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

<og:head headType="init" />

<style type="text/css">
/* MATRIX 、MATRIX2 共通属性 */
/*  Groups      Side        Header      Body  */
	td.MENU_G , td.MENU_S , th.MENU_H , td.MENU_B {
		padding-top:2px; word-break:keep-all; white-space:nowrap;
		border:1px solid black; font-weight:bold; 
		vertical-align:middle ;
		background-color:#f9f8b9;
	}
	
	td.MENU_G { width:100px; height:30px; text-align:center; white-space:nowrap ; }
	td.MENU_G a:hover img { filter:xray(); }

	td.MENU_S { width:100px; background-color:#f9f8b9; text-align:center; vertical-align:center ;  }
	th.MENU_H { height:30px; text-align:center; color:#ffffff; }
	td.MENU_B { width:163px; vertical-align:top; }

	td.MENU_G { background-color: white; }
	td.MENU_B { background-color: transparent; }
	td.MENU_S { background-color: rgb(117,130,170); color : white; }

	table.MTRIX_GRP { text-align:center; margin : 10px 0 0 10px ; }

	table.MTRIX_GRP td { background-color:lavender;border: 1px solid #9999cc;}

	<og:equals val1="{@group}" val2="{@group}">
		<og:text>table.MTRIX_GRP td.{@group} { background-color:linen; }</og:text>
	</og:equals>

	<og:equals val1="{@group}" nullCheck="true" >
		<og:text>table.MTRIX_GRP td.GUI_ALL { background-color:linen; }</og:text>
	</og:equals>

	a:link,a:visited { color:darkslateblue; }

	th.MENU_H a:link, th.MENU_H a:visited {
		display: block;
		width:163px;
		line-height: 65px;
		layout-grid-line: 65px;
		background-image: url(../image/menu_button.png);
		background-repeat: no-repeat;
		margin: 0;
		padding: 0;
		border: 0;
		vertical-align:middle;
	}

/* ========== menuType = "MATRIX" のみ =============== */
	th.CLR0 ,	th.CLR5 { background-color:#80a0a0; }
	th.CLR1 ,	th.CLR6 { background-color:#ea6a30; }
	th.CLR2 ,	th.CLR7 { background-color:#6562a6; }
	th.CLR3 ,	th.CLR8 { background-color:#ae3a45; }
	th.CLR4 ,	th.CLR9 { background-color:#daa520; }

	table.MTRIX_TBL {
		margin : 10px 0 0 10px ;
	/*	text-align:center;	*/
		border: 0;
		padding: 0;
	}

/* ========== menuType = "MATRIX2" のみ =============== */
	table.MTRIX_BTN {
		margin : 10px 0 0 10px ;
	/*	table-layout : fixed ;	*/
		border: 0;
		padding: 0;
	}

	table.MTRIX_BTN td.MENU_G , table.MTRIX_BTN td.MENU_S , table.MTRIX_BTN td.MENU_B {
		border: 1px solid #9999cc;
		background-color: transparent;
		width: 163px; 
	}

	table.MTRIX_BTN td.MENU_B { text-align:left;font-size: 90%;}

	table.MTRIX_BTN th.CLR0 { background-color:rgb(117,130,170); }

	table.MTRIX_BTN th.MENU_H {
		width: 163px;
		height: 65px;
		vertical-align:middle;
		border: 0;
	}
	
	table.MTRIX_BTN th.MENU_H a:hover { background-position: 0px -85px; }

	ul.gamen-menu {
		width: 90%;
		height: 100%;
		margin: 5px 1px 7px 0.5em;
		padding: 0; 
		white-space: normal;
		list-style-type: square;
		list-style-image: url(../image/square.png);
	}

	ul.gamen-menu li {
		word-break: break-all;
		margin: 0.6em 0 0.6em 20px;
		padding: 0 0px 0 5px;
		word-break: keep-all;
		white-space: normal;
/*		white-space: nowrap;	*/
		color:darkslateblue;
	}
</style>

<body oncontextmenu="return false">

<jsp:directive.include file="/jsp/custom/matrix_info.jsp" />

<!-- ボタンメニューは、ここでjspInit(セッションタイムアウト対策) -->
<og:equals val1="{@buttonRequest}" val2="true">
	<og:jspInit />
</og:equals>

<!-- グループ部分 -->
<table class="MTRIX_GRP" summary="Matrix Menu Group" >
	  <og:topMenu 
		menuType	= "GROUP" 
		href		= "matrixMenu.jsp" 
		target		= "_top" 
		imageOnly	= "false"
		sideCount	= "8"
		cache		= "{@cache}"
		match		= "{@match}"
		unmatch		= "{@unmatch}"
		buttonRequest = "{@buttonRequest}"
	  />
</table>

<og:equals val1="{@buttonRequest}" val2="true">
<!-- MATRIX2（大分類無しボタンメニュー） -->
	<table class="MTRIX_BTN" summary="Matrix Menu Group" >
	  <og:topMenu 
		menuType	= "MATRIX2" 
		href		= "matrixMenu.jsp" 
		target		= "_top" 
		imageOnly	= "false"
		cache		= "{@cache}"
		match		= "{@match}"
		unmatch		= "{@unmatch}"
		sideCount	= "6"
		minCellCount= "8"
		maxCellCount= "8"
		buttonRequest = "{@buttonRequest}"
		groups		= "{@group}"
	  />
	</table>
</og:equals>

<og:equals val1="{@buttonRequest}" val2="true" notEquals="true">
<!-- MATRIX（大分類付きマルチメニュー） -->
	<table class="MTRIX_TBL" summary="Matrix Menu" >
	  <og:topMenu
		menuType	= "MATRIX" 
		groups		= "{@group}"
		target		= "CONTENTS" 
		expand		= "{@expand}"
		sideCount	= "6"
		minCellCount= "8"
		maxCellCount= "8"
		match		= "{@match}"
		unmatch		= "{@unmatch}"
	  />
	</table>
</og:equals>

<jsp:directive.include file="/jsp/custom/menu_end.jsp" />

</body>
</jsp:root>
