anchor.diff:  		}
   	</script>
   	<div id="formEntryTableParent${model.id}">
  -	<table id="formEntryTable${model.id}">
  +	<table id="formEntryTable${model.id}" cellspacing="0" cellpadding="3">
   		<thead>
   			<tr>
   				<th><spring:message code="general.name"/></th>
  +				<th><!-- Hidden column for sorting previous column --></th>
   				<th><spring:message code="Form.version"/></th>
  +				<th class="EncounterTypeClass"><spring:message code="Encounter.type"/></th>
   			</tr>
   		</thead>
   		<tbody>
  -			<c:forEach var="entry" items="${model.formToEntryUrlMap}">
  +			<c:forEach var="entry" items="${model.formToEntryUrlMap}" varStatus="rowCounter">
   				<openmrs:hasPrivilege privilege="${entry.value.requiredPrivilege}">
   					<c:url var="formUrl" value="${entry.value.formEntryUrl}">
   						<c:param name="personId" value="${model.personId}"/>
  
positive.code: 	returnUrl (String): where to go back to when a form has been cancelled or successfully filled out
  --%>
  
  <openmrs:htmlInclude file="/scripts/jquery/jquery-1.3.2.min.js" />
  <openmrs:htmlInclude file="/scripts/jquery/dataTables/css/dataTables.css" />
  <openmrs:htmlInclude file="/scripts/jquery/dataTables/js/jquery.dataTables.min.js" />
  
negative.code: 			   without that selector, the .dialog() call for the popup was calling this twice */
  			$j("#formEntryTableParent${model.id} > #formEntryTable${model.id}").dataTable({
  				"bPaginate": false,
  				"bAutoWidth": false,
  				"aaSorting": [[0, 'asc']],
  				"aoColumns":
  					[
  						{ "iDataSort": 1 },
  						{ "bVisible": false, "sType": "numeric" },
  						null,
  						{ "sClass": "EncounterTypeClass" }
  					]
  			});
  		});
  		function startDownloading() {
  