anchor.diff:  				name="epochs[${epochCount.index }].inclusionEligibilityCriteriaAliased[PAGE.ROW.INDEX].notApplicableIndicator" />
   			</td>
   			<td class="alt"><a
  -				href="javascript:RowManager.deleteRow(instanceInclusionRow,PAGE.ROW.INDEX);"><img
  +				href="javascript:RowManager.deleteRow(instanceInclusionRow_${epochCount.index},PAGE.ROW.INDEX);"><img
   				src="<tags:imageUrl name="checkno.gif"/>" border="0"></a></td>
   		</tr>
  -
   	</table>
  -	</td>
  -</tr>
  -<hr>
  -</div>
  -
  -<div id="dummy-exclusionRow" style="display:none">
  -<tr>
  -	<td>
  +	</div>
  +	<div id="dummy-exclusionRow-${epochCount.index}" style="display:none">
   	<table border="0" cellspacing="0" cellpadding="0" id="mytable1">
  -
   		<tr>
   			<td class="alt" align="left"><input type="hidden"
   				id="epochs[${epochCount.index }].exclusionEligibilityCriteriaAliased[PAGE.ROW.INDEX].questionNumber"
  
positive.code:         document.getElementById(id).style.display = 'none';
  }
  var instanceInclusionRow = {
  	add_row_division_id: "addInclusionRowTable", 	        /* this id belongs to element where the row would be appended to */
  	skeleton_row_division_id: "dummy-inclusionRow",  	/* this id belongs to the element which hold the dummy row html to be inserted   */
  
  	initialIndex: 0,                         /* this is the initial count of the rows when the page is loaded  */
  	path: "epochs.eligibilityCriteria",                               /* this is the path of the collection that holds the rows  */
  };
  
  var instanceExclusionRow = {
  	add_row_division_id: "addExclusionRowTable", 	        /* this id belongs to element where the row would be appended to */
  	skeleton_row_division_id: "dummy-exclusionRow",  	/* this id belongs to the element which hold the dummy row html to be inserted   */
               /* this is the initial count of the rows when the page is loaded  */
  	initialIndex: 0, 
  	path: "epochs.eligibilityCriteria",                               /* this is the path of the collection that holds the rows  */
  };
  
  
  rowInserters.push(instanceInclusionRow);
  rowInserters.push(instanceExclusionRow);
  </script>
  </head>
  <body>
  <tags:tabForm tab="${tab}" flow="${flow}" formName="form">
  	<jsp:attribute name="singleFields">
  		<div><input type="hidden" name="_action" value=""> <input
  			type="hidden" name="_selected" value=""> <input type="hidden"
  			id="_selectedEpoch" name="_selectedEpoch" value=""></div>
  		<!-- MAIN BODY STARTS HERE -->
  
  		<c:forEach items="${command.epochs}" var="epoch"
  			varStatus="epochCount">
  			<c:if
  				test="${epoch.class.name=='edu.duke.cabig.c3pr.domain.TreatmentEpoch' }">
  				<tags:minimizablePanelBox
  					title="${epoch.name} : ${epoch.descriptionText }"
  					boxId="${epoch.name}">
  					<table border="0" id="table1" cellspacing="5">
  						<tr>
  							<td valign="top" width="600"><tags:minimizablePanelBox
  								boxId="InclusionTable" title="Inclusion Criteria">
  
  
  								<p id="instructions">*NA - Allow Not Applicable answer<br>
  								Yes and No are permissible answers</p>
  
  								<p><b>Inclusion Criterion</b><a
  									href="javascript:RowManager.addRow(instanceInclusionRow);"><img
  									src="<tags:imageUrl name="checkyes.gif"/>" border="0" alt="Add"></a></p>
  
  								<table border="0" cellspacing="0" cellpadding="0"
  									id="addInclusionRowTable">
  									<tr>
  										<td valign="top">
  										<table border="0" cellspacing="0" cellpadding="0"
  											id="addInclusionRowTable">
  											<tr>
  												<td class="alt"><b>Question<span class="red">*</span></b></td>
  												<td class="alt"><b>NA</b></td>
  												<th class="specalt"></th>
  											</tr>
  											<c:forEach varStatus="status"
  												items="${command.epochs[epochCount.index].inclusionEligibilityCriteria}">
  												<tr id="addInclusionRowTable-${status.index}">
  													<td class="alt"><form:hidden
  														path="epochs[${epochCount.index }].inclusionEligibilityCriteriaAliased[${status.index}].questionNumber" />
  													<form:textarea
  														path="epochs[${epochCount.index }].inclusionEligibilityCriteriaAliased[${status.index}].questionText"
  														rows="1" cols="50" cssClass="validate-notEmpty" /></td>
  													<td class="alt"><form:checkbox
  														path="epochs[${epochCount.index }].inclusionEligibilityCriteriaAliased[${status.index}].notApplicableIndicator" />
  													</td>
  													<td class="alt"><a
  														href="javascript:RowManager.deleteRow(instanceInclusionRow,PAGE.ROW.INDEX);"><img
  														src="<tags:imageUrl name="checkno.gif"/>" border="0"></a></td>
  												</tr>
  											</c:forEach>
  										</table>
  										</td>
  									</tr>
  								</table>
  
  							</tags:minimizablePanelBox></td>
  							<td>
  							<table border="0" cellspacing="0" cellpadding="0" id="details">
  								<tr>
  									<td width="600"><tags:minimizablePanelBox
  										boxId="ExclusionTable" title="Exclusion Criteria">
  
  										<table border="0" cellspacing="0" cellpadding="0"
  											id="addExclusionRowTable">
  											<tr>
  												<p id="instructions">*NA - Allow Not Applicable answer <br>
  												Yes and No are permissible answers</p>
  
  												<p><b>Exclusion Criterion</b><a
  													href="javascript:RowManager.addRow(instanceExclusionRow);"><img
  													src="<tags:imageUrl name="checkyes.gif"/>" border="0"
  													alt="Add"></a></p>
  
  											</tr>
  											<tr id="addExclusionRowTable-${epochCount.index }">
  												<td>
  												<table border="0" cellspacing="0" cellpadding="0"
  													id="mytable1">
  													<tr>
  														<td class="alt"><b>Question<span class="red">*</span></b></td>
  														<td class="alt"><b>*NA</b></td>
  														<th class="specalt"></th>
  
  													</tr>
  													<c:forEach varStatus="status"
  														items="${command.epochs[epochCount.index].exclusionEligibilityCriteria}">
  														<tr id="bex-${status.index}">
  															<td class="alt" align="left"><form:hidden
  																path="epochs[${epochCount.index }].exclusionEligibilityCriteriaAliased[${status.index}].questionNumber" />
  															<form:textarea
  																path="epochs[${epochCount.index }].exclusionEligibilityCriteriaAliased[${status.index}].questionText"
  																rows="1" cols="50" cssClass="validate-notEmpty" /></td>
  															<td class="alt" align="left"><form:checkbox
  																path="epochs[${epochCount.index }].exclusionEligibilityCriteriaAliased[${status.index}].notApplicableIndicator" />
  															</td>
  															<td class="alt"><a
  																href="javascript:RowManager.deleteRow(instanceExclusionRow,PAGE.ROW.INDEX);"><img
  																src="<tags:imageUrl name="checkno.gif"/>" border="0"></a></td>
  														</tr>
  													</c:forEach>
  												</table>
  												</td>
  											</tr>
  										</table>
  
  									</tags:minimizablePanelBox></td>
  								</tr>
  							</table>
  							</td>
  						</tr>
  					</table>
  				</tags:minimizablePanelBox>
  			</c:if>
  		</c:forEach>
  
  		<!-- MAIN BODY ENDS HERE -->
  	</jsp:attribute>
  </tags:tabForm>
  
  <div id="dummy-inclusionRow" style="display:none">
  <tr>
  	<td>
  	<table border="0" cellspacing="0" cellpadding="0" id="mytable1">
  
  		<tr>
  			<td class="alt" align="left"><input type="hidden"
  				id="epochs[${epochCount.index }].inclusionEligibilityCriteriaAliased[PAGE.ROW.INDEX].questionNumber"
  
negative.code: 				name="epochs[${epochCount.index }].exclusionEligibilityCriteriaAliased[PAGE.ROW.INDEX].notApplicableIndicator" />
  			</td>
  			<td class="alt"><a
  				href="javascript:RowManager.deleteRow(instanceExclusionRow_${epochCount.index},PAGE.ROW.INDEX);"><img
  				src="<tags:imageUrl name="checkno.gif"/>" border="0"></a></td>
  		</tr>
  	</table>
  	</div>
  </c:if>
  </c:forEach>
  </body>
  </html>
  