			<!-- PHP Remarks Support -->
			<?php
				$userRemarks->setImageId("<%= indexModel.getCurrentIndexViewerRemarksId(); %>");
			?>
			<!-- 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="<%= indexModel.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;">
				<?php
					$userRemarks->executeAction();
				?>
			</div>
			<script language="javascript">
				setRemarksCount( "<?php $userRemarks->showRemarksCount(); ?>" );

				<?php $userRemarks->forceDisplayRemarksIfNecessary(); ?>
				<ja:if test="<%= indexModel.isRemarksSectionAlwaysOpen() %>">
					showRemarks();
				</ja:if>
				<ja:if test="<%= indexModel.isRemarksSectionOpenIfRemarksExist() %>">
					<?php $userRemarks->displayRemarksIfNotEmpty(); ?>
				</ja:if>
			</script>
