<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$textEncoding">
<title>$title</title>
<link href="$stylePath" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 10px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #E2DDA7;
}
-->
</style>

</head>

<body>
	<table id="thumbs" border=0>
		<tr>
			<td align="center"><ja:if exists="parentIndexPage">
				<a title="$text.up" target="_top" href="$parentIndexPage"><img border=0 src="$resPath/up.gif" alt="Up"></a></ja:if>
			</td>
		</tr>
		<tr>
			<td>
			<ja:if exists="indexNum">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td align="right">					
							<ja:if exists="previousIndexPage">
								<a href="$previousIndexPage">
							</ja:if>
							<ja:else>
								<a href="$lastIndexPage">
							</ja:else>
							<img src="$resPath/smprev.gif" alt="$text.previousPage" width="19" height="38"" border=0></a>
						</td>
						<td class="imgNumber" width=92 height=38 background="$resPath/numberplate.gif" align="center" valign="middle">$indexNum/$totalIndexes</td>
						<td align="left">
							<ja:if exists="nextIndexPage">
								<a href="$nextIndexPage">
							</ja:if>
							<ja:else>
								<a href="$firstIndexPage">
							</ja:else>
							<img src="$resPath/smnext.gif" alt="$text.nextPage" width="19" height="38"" border=0></a>
						</td>
					</tr>
				</table>
			</ja:if>
			</td>
		</tr>
		<ja:rowiterator>
			<tr>
				<ja:coliterator>
					<%
						int finalThumbWidth = maxThumbWidth+16;
						int finalThumbHeight = maxThumbHeight+16;
					%>
					<td align="center">
						<ja:if exists="iconPath">
							<a target="_top" href="$closeupPath"><img src="$thumbPath" border=0 alt="$label"></a>
							<br><span class="imgNumber">$fileName</span>
						</ja:if>
						<ja:else>
							<a target="slide" href="$closeupPath"><img src="$thumbPath" border=0 alt="$label"></a>
						</ja:else>
					</td>
				</ja:coliterator>
			</tr>
		</ja:rowiterator>
	</table>
</body>
</html>
