anchor.diff:                          }
                   }
           });
  -        updateHistory();
       }
   
       function executeSearch(term) {
  
positive.code:         $('#pid_results').html(finalStr.join(" "));
      }
  
      function prefToArray(pref) {
          var prefArray = pref.split('|');
          var finalArray = [];
          var prefLength = prefArray.length;
          for(var i=0; i<prefLength; i++) {
                  if(prefArray[i] !== " ") {
                          //alert(prefArray[i].charCodeAt(0));
                          finalArray.push(prefArray[i]);
                  }
          }
          return finalArray;
  
negative.code:   }
    /*]]>*/
    </style>
  
    <link rel="stylesheet" type="text/css" href="rcp_/css/jquery-ui-autocomplete.css" media="all" />
  
    <div class="portlet-container" id="pid_main">
      <script src="rcp_/js/jquery-1.5.1.js" type="text/javascript"> </script>
  