anchor.diff:         else
          {
            confirmation=true;
  -       }   
  -     if(confirmation == true)
  +       }  
  +       return confirmation; 
  +}
  +
  +  //submits the page to start the search  
  +  function doSearchDE()
  +  {
  +      var confirmation = getConfirmation(); 
  +     if(confirmation)
        {     
        <%  if (!sMenuAction.equals("searchForCreate") && sAppendAction.equals("Was Appended")) { %>
        var conf = confirm("You did not press the Append button so these results will not be appended.");
  
positive.code:     {
          return true;  // only interest on return kay
      }
  
      //check if it is valid for search
      if(bUnAppendWarning)
      {
        var conf = confirm("You did not press the Append button so these results will not be appended.");
        if (conf == false)
                return false;     //user canceled, may append again, do nothing
      }
      // all other case go to servlet to search
      <% if (sMenuAction.equals("searchForCreate")) { %>
          if (opener && opener.document != null && opener.document.SearchActionForm != null)
            opener.document.SearchActionForm.isValidSearch.value = "true";
      <% } %>
      hourglass();
      window.status = "Searching Keyword, it may take a minute, please wait....."
      document.searchResultsForm.Message.style.visibility="visible";
      document.searchParmsForm.actSelect.value = "Search";
      document.searchParmsForm.submit();
      return false;
  }
  
  function LoadKeyHandler()
  
negative.code: 
  	}
  
  function getConfirmation()
  {
  	var confirmation =false;
          if(testIsValidObject(document.searchParmsForm.keyword)&&(document.searchParmsForm.keyword.value==null || isEmpty(document.searchParmsForm.keyword.value)))
          {
           confirmation =  confirm("The Search Term is empty and will cause all caDSR content to be retrieved.\n"
  