<?xml version="1.0" encoding="windows-1256" ?>
<!--
Copyright © 2005, Ghasem Kiani.
License: GPL.
-->
<jsp:root version="2.0" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:h="urn:jsptagdir:/WEB-INF/tags/html" xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:directive.tag body-content="scriptless" />
<jsp:directive.attribute name="id" required="true" />
<jsp:directive.attribute name="fill" />
<jsp:directive.attribute name="stroke" />
<jsp:directive.attribute name="strokeWidth" />
<jsp:directive.attribute name="r" />
<jsp:directive.attribute name="width" />
<jsp:directive.attribute name="height" />
<jsp:directive.attribute name="body" />
<jsp:directive.attribute name="noCache" />
<c:if test="${empty fill}">
<c:set scope="page" value="none" var="fill" />
</c:if>
<c:if test="${empty stroke}">
<c:set scope="page" value="black" var="stroke" />
</c:if>
<c:if test="${empty strokeWidth}">
<c:set scope="page" value="1" var="strokeWidth" />
</c:if>
<c:if test="${empty r}">
<c:set scope="page" value="5" var="r" />
</c:if>
<c:if test="${empty width}">
<c:set scope="page" value="auto" var="width" />
</c:if>
<c:if test="${empty height}">
<c:set scope="page" value="auto" var="height" />
</c:if>
<c:if test="${empty body}">
<c:set scope="page" var="body">
<jsp:doBody />
</c:set>
</c:if>
<table cellpadding="0" cellspacing="0" style="direction: ltr; width: ${width}; height: ${height};">
<tr>
<h:svg image="/${id}nw.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<circle cx="100%" cy="100%" fill="${fill}" r="${r/2}" stroke="${stroke}" stroke-width="${strokeWidth}" />
</svg>
</h:svg>
<c:url value="/${id}nw.png" var="bg" />
<td style="width: ${r};">
<h:img src="/${id}nw.png" style="margin: 0; padding: 0; width: ${r}; height: ${r};" />
</td>
<h:svg image="/${id}n.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<rect fill="${fill}" height="50%" stroke="${stroke}" stroke-width="${0}" width="100%" x="0" y="50%" />
<line stroke="${stroke}" stroke-width="${strokeWidth}" x1="0" x2="100%" y1="50%" y2="50%" />
</svg>
</h:svg>
<c:url value="/${id}n.png" var="bg" />
<td style="background: url(${bg});">
&nbsp;
</td>
<h:svg image="/${id}ne.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<circle cx="0" cy="100%" fill="${fill}" r="${r/2}" stroke="${stroke}" stroke-width="${strokeWidth}" />
</svg>
</h:svg>
<c:url value="/${id}ne.png" var="bg" />
<td style="width: ${r};">
<h:img src="/${id}ne.png" style="margin: 0; padding: 0; width: ${r}; height: ${r};" />
</td>
</tr>
<tr>
<h:svg image="/${id}w.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<rect fill="${fill}" height="100%" stroke="${stroke}" stroke-width="${0}" width="50%" x="50%" y="0" />
<line stroke="${stroke}" stroke-width="${strokeWidth}" x1="50%" x2="50%" y1="0" y2="100%" />
</svg>
</h:svg>
<c:url value="/${id}w.png" var="bg" />
<td style="background: url(${bg});">
&nbsp;
</td>
<h:svg image="/${id}c.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<rect fill="${fill}" height="100%" stroke="${stroke}" stroke-width="${0}" width="100%" x="0" y="0" />
</svg>
</h:svg>
<c:url value="/${id}c.png" var="bg" />
<td style="background: url(${bg}); vertical-align: top;">
<jsp:text>
${body}
</jsp:text>
</td>
<h:svg image="/${id}e.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<rect fill="${fill}" height="100%" stroke="${stroke}" stroke-width="${0}" width="50%" x="0" y="0" />
<line stroke="${stroke}" stroke-width="${strokeWidth}" x1="50%" x2="50%" y1="0" y2="100%" />
</svg>
</h:svg>
<c:url value="/${id}e.png" var="bg" />
<td style="background: url(${bg});">
&nbsp;
</td>
</tr>
<tr style="height: ${r};">
<h:svg image="/${id}sw.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<circle cx="100%" cy="0" fill="${fill}" r="${r/2}" stroke="${stroke}" stroke-width="${strokeWidth}" />
</svg>
</h:svg>
<c:url value="/${id}sw.png" var="bg" />
<td style="width: ${r};">
<h:img src="/${id}sw.png" style="margin: 0; padding: 0; width: ${r}; height: ${r};" />
</td>
<h:svg image="/${id}s.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<rect fill="${fill}" height="50%" stroke="${stroke}" stroke-width="${0}" width="100%" x="0" y="0" />
<line stroke="${stroke}" stroke-width="${strokeWidth}" x1="0" x2="100%" y1="50%" y2="50%" />
</svg>
</h:svg>
<c:url value="/${id}s.png" var="bg" />
<td style="background: url(${bg});">
&nbsp;
</td>
<h:svg image="/${id}se.png" noCache="${noCache}">
<svg height="${r}" width="${r}" xmlns="http://www.w3.org/2000/svg">
<circle cx="0" cy="0" fill="${fill}" r="${r/2}" stroke="${stroke}" stroke-width="${strokeWidth}" />
</svg>
</h:svg>
<c:url value="/${id}se.png" var="bg" />
<td style="width: ${r};">
<h:img src="/${id}se.png" style="margin: 0; padding: 0; width: ${r}; height: ${r};" />
</td>
</tr>
</table>
</jsp:root>