anchor.diff:      { 
       	if(document.getElementById("subjectOption").value=='N'|| document.getElementById("subjectOption").value=='F')
       	
  -		return (obj.lastName +" "+ (obj.middleName==null?'':obj.middleName)+" "+obj.firstName)
  +		return (obj.lastName +", "+ ((obj.middleName==null||obj.middleName=='')?'':(obj.middleName+", "))+obj.firstName)
   		
   		else if(document.getElementById("subjectOption").value=='Identifier'){
   		return obj.value}
  
positive.code: <body>
  <chrome:search title="Search">
  	<form:form id="searchForm" name="searchForm" method="post">
  
  		<table border="0" id="table1" cellspacing="0" cellpadding="0"
  			width="100%">
  
negative.code: }
  
  function submitPage(){
  	document.getElementById("selected-id").value =  document.getElementById("registration-hidden").value;
  	document.getElementById("searchForm").submit();
  }
  
  