anchor.diff:  		<table border="0" cellpadding="5" cellspacing="0" width="100%" id="deidReportInfo" style='display:none'>
   			<tr>
   				<td colspan="3" class="formTitle" height="20">
  -					<bean:message key="viewSurgicalPathologyReport.deIdentifiedReportInformation.title"/>
  +					<bean:message key="viewSPR.deIdentifiedReportInformation.title"/>
   				</td>
   			</tr>
   		<!--	<tr>
  
positive.code: <%@ page import="edu.wustl.catissuecore.util.global.Constants"%>
  <%@ page import="edu.wustl.catissuecore.domain.pathology.ConceptReferent"%>
  <%@ page import="edu.wustl.catissuecore.domain.pathology.Concept"%>
  
  <script src="jss/ajax.js"></script>
  <script language="JavaScript" type="text/javascript" src="jss/javaScript.js"></script>
  <LINK href="css/styleSheet.css" type=text/css rel=stylesheet>
  <script language="JavaScript">
  
  function finishReview()
  {
  	if(confirmSubmit())
  	{
  		document.forms[0].submittedFor.value='review';
  		document.forms[0].forwardTo.value='success';
  		var action="SurgicalPathologyReportEventParam.do?operation=edit&requestFor=REVIEW"
  		document.forms[0].action=action;
  		document.forms[0].submit();
  	}
  }
  
  function submitAcceptComments()
  {
  	if(confirmSubmit())
  	{
  		document.forms[0].submittedFor.value='quarantine';
  		document.forms[0].forwardTo.value='success';
  		var action="SurgicalPathologyReportEventParam.do?operation=edit&requestFor=ACCEPT"
  		document.forms[0].acceptReject.value=1;
  		document.forms[0].action=action;
  		document.forms[0].submit();
  	}
  }
  //<!--function to submit quarantine comments-->
  function submitRejectComments()
  {
  	if(confirmSubmit())
  	{
  		document.forms[0].submittedFor.value='quarantine';
  		document.forms[0].forwardTo.value='success';
  		var action="SurgicalPathologyReportEventParam.do?operation=edit&requestFor=REJECT"
  		document.forms[0].acceptReject.value=2;
  		document.forms[0].action=action;
  		document.forms[0].submit();
  		
  	}
  }
  
  function replaceNewLine(str)
  {
  	var tempStr=str = str.replace(/\r+/gim, "$");
  	return tempStr;
  }
  //Added by Ashish
  function selectByOffset(checkbox,start,end,colour,conceptName)
  {
  	var innerHtml = document.getElementById("deidentifiedReportText").innerHTML;
  	var i = ReplaceTags(innerHtml);
  	var tempStr = replaceNewLine(i);
  
  	var startArr = start.split(",");
  	var endArr = end.split(",");
  	var conceptNameArr = conceptName.split(",");
  	var newtext = "";
  	var count = 0;
  	for(var x=0;x<startArr.length;x++)
  	{		
  		var startOff=startArr[x]-1;
  		startOff=startOff;
  		var endOff=endArr[x]-1;
  		endOff=endOff;
  		var subStr = tempStr.substring(startOff,endOff);
  		
  		var textBeforeString = i.substring(0,startArr[x]);
  		var textAfterString = i.substring(endArr[x]);
  		
  		if(checkbox.checked==false)
  		{
  			//background color is set to default 'light-gray' color. Refer stylesheet.jss
  			colour='#F4F4F5';
  			//conceptName="";
  		}
  		var text = "<span title="+conceptNameArr[x]+" style='background-color:"+colour+"'>"+subStr+"</span>";
  			
  		if(count == 0)
  		{
  			newtext = innerHtml.replace(subStr,text);
  			count++;
  		}
  		else
  		{
  			newtext = newtext.replace(subStr,text);
  		}	
  		
  		//newtext = 	textBeforeString + text + textAfterString;
  	}
  	document.getElementById("deidentifiedReportText").innerHTML=newtext;
  }
  var regExp = /<\/?[^>]+>/gi;
  function ReplaceTags(xStr)
  {
    xStr = xStr.replace(regExp,"");
    return xStr;
  }
  
  //>>>>>>>>>>>>>>>>>>>>>>>>>> AJAX code start
  	var url,request;
  	function getReport()
  	{
  		var identifier=document.getElementById('reportId').value;
  		url="FetchReport.do?reportId="+identifier;
  		sendRequestForReportInfo();
  	}
  // function to send request to server	
  	function sendRequestForReportInfo()
  	{
  		request = newXMLHTTPReq();
  		if(request)
  		{  					
  			request.onreadystatechange = setReport; 	
  			try
  			{		
  				request.open("GET", url, true);
  				request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  				request.send();
  			}
  			catch(e)
  			{}			
  		}
  	}
  //To set the values of form that are fetched using AJAX call
  	function setReport()
  	{
  		if(request.readyState==4 && request.status == 200)
  		{
  			/* Response contains required output.
  			 * Get the response from server.
  			 */				
  			var responseString = request.responseText;
  			
  			if(responseString != null && responseString != "")
  			{	
  				var xmlDocument = getDocumentElementForXML(responseString); 
  				
  				var reportAccessionNumber = xmlDocument.getElementsByTagName('IdentifiedReportAccessionNumber')[0].firstChild.nodeValue;	
  				var reportSite = xmlDocument.getElementsByTagName('IdentifiedReportSite')[0].firstChild.nodeValue;			
  				var identifierReportText = xmlDocument.getElementsByTagName('IdentifiedReportTextContent')[0].firstChild.nodeValue;
  				var deIdentifierReportText = xmlDocument.getElementsByTagName('DeIdentifiedReportTextContent')[0].firstChild.nodeValue;
  				
  				if(reportAccessionNumber!=null)
  				{
  					document.getElementById("identifiedReportAccessionNumber").value = reportAccessionNumber;
  					document.getElementById("identifiedReportSite").value = reportSite;
  					document.getElementById("identifiedReportText").value = identifierReportText;
  					document.getElementById("deidentifiedReportText").value = deIdentifierReportText;
  				}
  				
  			}
  		}
  	}
  	
  	function getDocumentElementForXML(xmlString)
  	{
  	    var document = null;
  	    if (window.ActiveXObject) // code for IE
  	    {
  	                document = new ActiveXObject("Microsoft.XMLDOM");
  	                document.async="false";
  	                document.loadXML(xmlString);
  	    }
  	    else // code for Mozilla, Firefox, Opera, etc.
  	    {
  	                var parser = new DOMParser();
  	                document = parser.parseFromString(xmlString,"text/xml");
  	    }           
  		return document;
  	}	
  //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>AJAX code end
  
  </script>
  
  <head>
  <style>
  pre {
   white-space: pre-wrap;       /* css-3 */
   white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
   white-space: -pre-wrap;      /* Opera 4-6 */
   white-space: -o-pre-wrap;    /* Opera 7 */
   word-wrap: break-word;       /* Internet Explorer 5.5+ */
  }
  </style>
  </head>
  
  
  <html:form action="ViewSurgicalPathologyReport">
  <!-- Main table start -->
  <table id="reportTable" summary="" cellspacing="5" cellpadding="0" border="0"  style="table-layout:fixed" width="750" >
  	 <tr>
  		<td>
  			<html:hidden property="id" />
  			<html:hidden property="identifiedReportId" />
  			<html:hidden property="deIdentifiedReportId" />
  
negative.code: 							<b>
  								<bean:message key="participant.race" /> : 
  							</b>
  							<logic:notEmpty name="viewSurgicalPathologyReportForm" property="race" >
  									<%=formSPR.getRace()%>
  							</logic:notEmpty>
  					     </td>
  					</tr>
  					<tr>
  