<#if {{optNavCenter:a}}>
	<center>
<#endif>
<#if {{optNavRight:a}}>
	<p align=right>
<#endif>
		<table border=0 cellspacing=0 cellspacing=3>
		<tr>
			<td>
				<font face=arial size=-1>
				<#if !{{firstImage}}>
					<#if {{optNavIncFirst}}>
						<a href="{{firstImagePageURL}}">First</a>&nbsp;
					<#endif>
					<#if {{optNavIncNext}}>
						<a href="{{prevImagePageURL}}">Previous</a>&nbsp;
					<#endif>
				<#else>
					<#if {{optNavIncFirst}}>
						First&nbsp;
					<#endif>
					<#if {{optNavIncNext}}>
						Previous&nbsp;
					<#endif>
				<#endif>
				</font>
			</td>
			<td>
				&nbsp;
			</td>
			<td align=center>
				<font face=arial size=-1>
				<#if {{optNavIncNumbers}}>
				<replicateimages {{optNavMaxNumbers}}>
					<#if {{currentImage}}>
							[{{imageNum}}]
					<#else>
						<a href={{imagePageURL}}>[{{imageNum}}]</a>
					<#endif>
					&nbsp;
				</replicateimages>
				<#endif>
				</font>
			</td>
			<td>
				&nbsp;
			</td>
			<td align=right>
				<font face=arial size=-1>
				<#if !{{lastImage}}>
					<#if {{optNavIncNext}}>
						<a href="{{nextImagePageURL}}">Next</a>&nbsp;
					<#endif>
					<#if {{optNavIncFirst}}>
						<a href="{{lastImagePageURL}}">Last</a>&nbsp;
					<#endif>
				<#else>
					<#if {{optNavIncNext}}>
						Next&nbsp;
					<#endif>
					<#if {{optNavIncFirst}}>
						Last&nbsp;
					<#endif>
				<#endif>
				</font>
			</td>
		</tr>
		<tr>
			<td>
				<font face=arial size=-1>
					<#if {{optNavIncHome}}>
						<a href="{{optNavHomeUrl}}">Home</a>
					<#endif>
				</font>
			</td>
			<td>&nbsp;</td>
			<td><font face=arial size=-1>
				<a href={{pageURL}}>Back to Thumbnails</a>
				</font>
			</td>
			<td>&nbsp;</td>
			<td align=right>
				<font face=arial size=-1>
					<#if {{optNavIncPage}}>
					Image {{imageNum}} of {{images}}
					<#endif>
				</font>
			</td>
		</tr>
		</table>
<#if {{optNavCenter:a}}>
	</center>
<#endif>
<#if {{optNavRight:a}}>
	</p>
<#endif>		
<br>