			<!-- PHP Remarks Support -->
			<%
				String imageIdPath = rootOutputDirectory.getName().concat(outputDirectory.toString().substring(rootOutputDirectory.toString().length()));

				imageIdPath = imageIdPath.replace('\\','/');
			%>
			<?
				include "$resPath/php/remarks.php";
				$userRemarks = new UserRemarks("${imageIdPath}/$label","$currentPage");
			?>
			<!-- PHP Remarks Support -->

            <a name="remarksheader"></a>
            <div class="remarksheader">
	            <span id="remarkscount"></span>&nbsp;$text.remarks-section
 				<span class="small">
                	&nbsp;&nbsp;&nbsp;[<a href="javascript:toggleRemarksVisibility()" title="$text.remarks-info"
						<ja:if test="<%= slideModel.hasStatusBar() %>">
	                		onmouseover="setStatusbarTip('$text.remarks-info', 0);" onmouseout="setStatusbarTip('&nbsp;',0);"
	                	</ja:if>
                	>$text.toggle-remarks</a>]
                </span>
            </div>

			<div id="remarks" class="remarksbody" style="visibility:hidden; display:none;">
				<?
					$userRemarks->executeAction();
				?>
			</div>
			<script language="javascript">
				setRemarksCount( "<? $userRemarks->showRemarksCount(); ?>" );

				<? $userRemarks->forceDisplayRemarksIfNecessary(); ?>
				<ja:if test="<%= slideModel.isVariableValueEqual( Constants.USER_VAR_REMARKS_FORCE_VISIBLE, imageDirectory, true ) %>">
					showRemarks();
               	</ja:if>
			</script>
