anchor.diff:  						   		<html:hidden property="specimenCollectionGroupName" styleId="specimenCollectionGroupName"/>
   								<html:hidden property="parentSpecimenName"/>
   								<label for="parentSpecimenId">
  -									<%= "<a class='blue_ar_b' href=\"QuerySpecimenSearch.do?pageOf=pageOfNewSpecimenCPQuery&operation=edit&refresh=false&id="+form.getParentSpecimenId()+"\">"+form.getParentSpecimenName()+"</a>"%>
  +									<% if (isWithinFrame) { 
  +										out.print("<a class='blue_ar_b' href=\"QuerySpecimenSearch.do?pageOf=pageOfNewSpecimenCPQuery&operation=edit&refresh=false&id="+form.getParentSpecimenId()+"\">"+form.getParentSpecimenName()+"</a>");
  +									   } else {
  +										out.print("<a class='blue_ar_b' href=\"SearchObject.do?pageOf=pageOfNewSpecimen&operation=search&id="+form.getParentSpecimenId()+"\">"+form.getParentSpecimenName()+"</a>");										
  +									   }
  +									%>
   								</label>
   
    			        	  </td>
  
positive.code: 	String exceedsMaxLimit = (String)request.getAttribute(Constants.EXCEEDS_MAX_LIMIT);
  	String submittedFor=(String)request.getAttribute(Constants.SUBMITTED_FOR);
  	String pageOf = (String)request.getAttribute(Constants.PAGE_OF);
  	boolean isAddNew = false;
  	String signedConsentDate = "";
  	String selectProperty="";
  
negative.code: 										if(StringUtils.isBlank(form.getParentSpecimenGSID()))
  										{
  
  											if (isWithinFrame)
  												out.print("Please first assign a GSID to <a class='blue_ar_b' href=\"QuerySpecimenSearch.do?pageOf=pageOfNewSpecimenCPQuery&operation=edit&refresh=false&id="+form.getParentSpecimenId()+"\">Parent</a>");
  											else
  												out.print("Please first assign a GSID to <a class='blue_ar_b' href=\"SearchObject.do?pageOf=pageOfNewSpecimen&operation=search&id="+form.getParentSpecimenId()+"\">Parent</a>");
  										}
  										else
  										{
  