<!-- Navigation buttons above photo -->
<table summary="Navigation" align="center" border="0">
<tr>
  <% int columns=0 %>
   <ja:if exists="previousIndexPage">
      <td width="32"><a href="$previousIndexPage"><img src="$resPath/previous.gif" border=0 alt="$txtPrevious" title="$txtPrevious" align="middle"></a></td>
			<% columns+=1 %>
   </ja:if>
	 <ja:else>
	   	 <ja:if exists="totalIndexes">
	       <td  width="32"> </td>
				 <% columns+=1 %>
			 </ja:if>
	 </ja:else>
	 <ja:if exists="parentIndexPage">
	    <td width="32"><a href="$parentIndexPage"><img src="$resPath/index.gif" border=0 alt="$txtUp" title="$txtUp" align="middle"></a></td>
			<% columns+=1 %>
	 </ja:if>
	 <ja:else>
	    <ja:if exists="linkHome">
	 		   <!-- Link to homepage if it exists -->
	       <td width="32"><a href="$linkHome"><img src="$resPath/index.gif" border=0 alt="$txtUp" title="$txtUp" align="middle"></a></td>
				 <% columns+=1 %>
	    </ja:if>
 	 </ja:else>
   <ja:if test="$navPages">
	   <ja:if exists="totalIndexes">
	    <td>$txtPage $indexNum $txtOf $totalIndexes</td>
			<% columns+=1 %>
		 </ja:if>
    </ja:if>

   <ja:if exists="nextIndexPage">
      <td width="32"><a href="$nextIndexPage"><img src="$resPath/next.gif" border=0 alt="$txtNext" title="$txtNext" align="middle"></a></td>
			<% columns+=1 %>
   </ja:if>
	 <ja:else>
	 	 <ja:if exists="totalIndexes">
	    <td  width="32"> </td>
			<% columns+=1 %>
		 </ja:if>
	 </ja:else>
	<% if (columns==0) out.print("<td></td>")%>
</tr>
</table>

