<div class="portletBody"> 
	<form name="Options" action="#toolForm("$action")" method="post">
		<h3>
				$tlang.getString("merge.show")
		</h3>
		#if ($alertMessage)<div class="alertMessage">$tlang.getString("gen.alert") $validator.escapeHtml($alertMessage)</div>#end
		<p class="instruction">
			$tlang.getString("merge.select")
		</p>
		<table class="listHier lines nolines" cellspacing="0" summary="$tlang.getString("merge.list.summary")">
		  <tr> 
			<th id="announcementSite">$tlang.getString("gen.site")</th>
			<th id="checkbox">$tlang.getString("merge.showann")</th>
		  </tr>
		  #set ($siteNumber =1)
		  #foreach ($announcementEntry in $mergedAnnouncementsCollection)
			#if ($announcementEntry.isVisible())
				<tr> 
					<td headers="announcementSite"><h4><label for="site$siteNumber">$announcementEntry.getDisplayName()</label></h4></td>
					<td headers="checkbox">
						<input type="checkbox" id="site$siteNumber" name="$announcementEntry.getReference()" value="$announcementEntry.getReference()"
						#if($announcementEntry.isMerged())
						checked
						#end
					/>
				</td>
				 </tr>
				 #set($siteNumber=$siteNumber + 1)
			#end
		  #end
		 </table>
		<div class="act">
			<input type="submit" accesskey="s" class="active" name="eventSubmit_doUpdate" value="$tlang.getString("gen.save")" />
			<input type="submit" accesskey="x" name="eventSubmit_doCancel" value="$tlang.getString("gen.cancel")" />
		</div>
		<input type="hidden" name="state" value="$state" />
	</form>
</div>

