anchor.diff:  		</c:if>
   		<tr>
   			<td colspan="4">
  -				<div style="display: none" id="newPointOfContact">
  +				<c:set var="newPOCStyle" value="display:none" />
  +				<c:if
  +					test="${empty studyForm.map.studyBean.primaryPOCBean.domain.id}">
  +					<c:set var="newPOCStyle" value="display:block" />
  +				</c:if>
  +				<c:if test="${openPOC eq true }">
  +					<c:set var="newPOCStyle" value="display:block" />
  +				</c:if>
  +				<div style="${newPOCStyle}" id="newPointOfContact">
   					<a name="submitPointOfContact"> <c:set var="pocForm"
   							value="studyForm" /> <c:set var="poc" value="studyBean.thePOC" />
   						<%@include
  
positive.code: 			</td>
  		</tr>
  	</table>
  	<br>
  	<table width="100%" align="center" class="submissionView"
  		id="accessBlock">
  		<c:set var="groupAccesses"
  			value="${studyForm.map.studyBean.groupAccesses}" />
  		<c:set var="userAccesses"
  			value="${studyForm.map.studyBean.userAccesses}" />
  		<c:set var="accessParent" value="studyBean" />
  		<c:set var="dataType" value="Study" />
  		<c:set var="parentForm" value="studyForm" />
  		<c:set var="parentAction" value="study" />
  		<c:set var="parentPage" value="2" />
  		<c:set var="isPublic" value="true" />
  		<c:set var="isOwner" value="true" />
  		<c:set var="ownerName" value="pansu" />
  		<c:set var="newData" value="true" />
  
  
  		<script type='text/javascript' src='javascript/addDropDownOptions.js'></script>
  		<script type='text/javascript' src='/caNanoLab/dwr/engine.js'></script>
  		<script type='text/javascript' src='/caNanoLab/dwr/util.js'></script>
  		<script type="text/javascript"
  			src="javascript/AccessibilityManager.js"></script>
  		<script type='text/javascript'
  			src='/caNanoLab/dwr/interface/AccessibilityManager.js'></script>
  		<link rel="StyleSheet" type="text/css" href="css/promptBox.css">
  
  
  
  		<tr>
  			<td class="cellLabel" width="15%" id="addAccessLabel">
  				Access to the Study
  			</td>
  			<td>
  
  				<a href="#" onclick="openSubmissionForm('Access');" id="addAccess"
  					style="display: block"><img align="top"
  						src="images/btn_add.gif" border="0" /> </a>
  			</td>
  		</tr>
  		<tr>
  			<td colspan="2">
  
  
  				<table class="editTableWithGrid" width="95%" align="center">
  					<tr>
  						<th width="40%">
  							Group Name
  						</th>
  						<th width="55%">
  							Access
  						</th>
  						<th></th>
  					</tr>
  
  					<tr valign="top">
  						<td>
  							Curator
  						</td>
  						<td>
  							read update delete
  						</td>
  						<td align="right">
  
  
  
  
  
  						</td>
  					</tr>
  
  					<tr valign="top">
  						<td>
  							Public
  						</td>
  						<td>
  							read
  						</td>
  						<td align="right">
  
  
  
  							<a
  								href="javascript:setTheAccess('sampleForm', 'group', 'Public', 'Sample', '11337747');">Edit</a>&nbsp;
  
  
  						</td>
  					</tr>
  
  				</table>
  				<br />
  
  			</td>
  		</tr>
  		<tr>
  			<td colspan="2">
  
  
  			</td>
  		</tr>
  		<tr>
  			<td colspan="2">
  
  
  				<div style="display: none" id="newAccess">
  					<table class="subSubmissionView" width="85%" align="center">
  						<tr>
  							<th colspan="4">
  								Access Information
  							</th>
  						</tr>
  						<tr>
  							<td class="cellLabel" width="25%">
  								Access by *
  							</td>
  							<td colspan="3">
  								<input type="radio" name="sampleBean.theAccess.accessBy"
  									value="group" checked="checked"
  									onclick="displayAccessNameLabel();" id="byGroup">
  								Collaboration Group
  								<input type="radio" name="sampleBean.theAccess.accessBy"
  									value="user" onclick="displayAccessNameLabel();" id="byUser">
  								User&nbsp;&nbsp;
  
  								<input type="radio" name="sampleBean.theAccess.accessBy"
  									value="public" onclick="displayAccessNameLabel();"
  									id="byPublic">
  								Public
  
  							</td>
  						</tr>
  						<tr>
  
  							<td class="cellLabel" id="accessNameLabel">
  								Collaboration Group Name *
  							</td>
  							<td>
  								<input type="text" name="sampleBean.theAccess.groupName"
  									value="" id="groupName">
  								<input type="text"
  									name="sampleBean.theAccess.userBean.loginName" value=""
  									id="userName" style="display: none">
  							</td>
  							<td>
  								<a href="#userNameField" id="browseIcon"
  									onclick="javascript:showMatchedGroupOrUserDropdown('michal')"><img
  										src="images/icon_browse.jpg" align="middle"
  										alt="search existing collaboration groups" border="0" /> </a>
  							</td>
  							<td width="50%">
  								<table class="invisibleTable">
  									<tr>
  										<td>
  											<img src="images/ajax-loader.gif" border="0" class="counts"
  												id="loaderImg" style="display: none">
  										</td>
  										<td>
  											<select name="sampleBean.theAccess.userBean.loginName"
  												size="10" onclick="updateUserLoginName()"
  												id="matchedUserNameSelect" style="display: none"></select>
  											<select name="sampleBean.theAccess.groupName" size="10"
  												onclick="updateGroupName()" id="matchedGroupNameSelect"
  												style="display: none"></select>
  										</td>
  										<td>
  											<a id="cancelBrowse" style="display: none"
  												href="javascript:cancelBrowseSelect();">Cancel</a>
  										</td>
  									</tr>
  								</table>
  							</td>
  						</tr>
  						<tr>
  							<td class="cellLabel" width="10%">
  								Access to the Study *
  							</td>
  							<td colspan="2">
  								<select name="sampleBean.theAccess.roleName" id="roleName">
  									<option></option>
  									<option value="R">
  										read
  									</option>
  									<option value="CURD">
  										read update delete
  									</option>
  								</select>
  							</td>
  							<td></td>
  						</tr>
  						<tr>
  							<td>
  								<input id="deleteAccess" type="button" value="Remove"
  									onclick="javascript:deleteTheAccess('sample', 4);"
  									style="display: none;">
  							</td>
  							<td align="right" colspan="3">
  								<div align="right">
  									<input type="hidden" name="sampleBean.theAccess.roleName"
  										value="" id="hiddenRoleName">
  									<input type="hidden" name="sampleBean.theAccess.groupName"
  										value="" id="hiddenGroupName">
  									<input type="button" value="Save"
  										onclick="javascript:addAccess('sample', 4, true);" />
  									<input type="button" value="Cancel"
  										onclick="javascript:closeSubmissionForm('Access');">
  								</div>
  							</td>
  						</tr>
  					</table>
  				</div>
  			</td>
  		</tr>
  
  
  	</table>
  	<br>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  	<table width="100%" class="invisibleTable">
  		<tr>
  			<td align="left" width="600">
  
  
  			</td>
  			<td align="right" width="300">
  
  
  				<input type="reset" value="Reset" onclick="this.form.reset();"
  					id="resetButton" />
  				&nbsp;
  
  
  
  
  
  
  
  				<input type="submit" value="Submit" disabled="disabled"
  					id="submitButton">
  
  
  				<input type="hidden" name="dispatch" value="create">
  				<input type="hidden" name="page" value="2">
  
  
  			</td>
  		</tr>
  	</table>
  	<br />
  	<c:if test="${!empty updateStudy}">
  		<c:set var="updateId" value="0" />
  	</c:if>
  
negative.code: 		</tr>
  		<tr>
  			<td class="cellLabel">
  				Point of Contact *
  			</td>
  			<td colspan="3">
  				<c:set var="disableOuterButtons" value="false"/>
  				<c:set var="newAddPOCButtonStyle" value="display:block" />
  				<c:if
  					test="${empty studyForm.map.studyBean.primaryPOCBean.domain.id}">
  					<c:set var="newAddPOCButtonStyle" value="display:none" />
  					<c:set var="disableOuterButtons" value="true"/>
  				</c:if>
  				<a href="#"
  					onclick="javascript:confirmAddNew(['Access'], 'PointOfContact', 'Point Of Contact', 'clearPointOfContact()');"
  					id="addPointOfContact" style="${newAddPOCButtonStyle}"><img
  						align="top" src="images/btn_add.gif" border="0" /></a>
  			</td>
  		</tr>
  		<c:set var="source" value="study" />
  