anchor.diff:      {
           return true;  // only interest on return kay
       }
  -
  -    //check if it is valid for search
  -    if(bUnAppendWarning)
  +    var confirmation = getConfirmation();
  +    if(confirmation)
       {
  -      var conf = confirm("You did not press the Append button so these results will not be appended.");
  -      if (conf == false)
  +    	//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;
  +    	}
  +   		 // 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()
  
positive.code:        else
         {
           confirmation=true;
         }   
       if(confirmation == true)
       {     
       <%  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.");
  
negative.code: <!-- Copyright (c) 2006 ScenPro, Inc.
      $Header: /cvsshare/content/cvsroot/cdecurate/WebRoot/jsp/SearchParameters.jsp,v 1.11 2008-04-02 16:06:17 chickerura Exp $
      $Name: not supported by cvs2svn $
  -->
  
  