anchor.diff:  	document.getElementById("divForSearchingMode").innerHTML="";
   	document.getElementById("searchtextfield").value="";
   	document.getElementById("findAnyWord").checked=true;
  -	anyWordCriteria=true;
   	label.innerHTML="";
   	pervVocabCheckboxId="vocab_"+'<%=srcVocabURN%>';
   	<%if(sourceVocabMessage!=null)
  
positive.code: 	   serachForTermInVocab('search');
  	}
  }   
  /* this function is used to get the message if user select the ANy_WORD option*/
  function getWarningMessage()
  {
  		
  			if(document.getElementById("findAnyWord").checked==0)
  			{
  				anyWordCriteria=false;
  			}
  			else if(document.getElementById("findAnyWord").checked && !anyWordCriteria)
  			{
  				var request = newXMLHTTPReq();
  				var param = "ANY_WORD="+document.getElementById("findAnyWord").value;
  				var actionUrl="SearchPermissibleValues.do";
  				request.onreadystatechange=function(){getWarningMsg(request)};
  				request.open("POST",actionUrl,true);
  				request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
  				request.send(param);
  			}
  }
  function getWarningMsg(request)
  {
  	if(request.readyState == 4)  
  	{	  		
  		if(request.status == 200)
  		{	
  			var responseTextValue =  request.responseText;
  			document.getElementById("divForMappingMode").style.display = 'none';
  			document.getElementById("divForSearchingMode").style.display = '';
  			document.getElementById("divForSearchingMode").innerHTML = responseTextValue;
  			anyWordCriteria=true;
  		}
  	}
  }
  </script>
  </head>
  <body onLoad="editSelectedPV();">
  
negative.code: 	<td class="content_txt_bold"  width="5%" nowrap>Select Criteria:</td>
  	<td colspan="2" valign="top" height="20px" >
  		<table cellpadding="0" cellspacing="0" ><tr>
  			<td><input type="radio"	name="searchCriteria" id="findAnyWord" value='<%=VISearchAlgorithm.ANY_WORD%>' checked='true' /></td><td class="content_txt"  >&nbsp;&nbsp;Any Word&nbsp;&nbsp;&nbsp;</td>
  			<td><input type="radio" name="searchCriteria" id="findExactPhrase" value='<%=VISearchAlgorithm.EXACT_PHRASE%>' /></td><td class="content_txt"  >&nbsp;&nbsp;Exact Phrase&nbsp;&nbsp;&nbsp;</td>
  		</tr>
  		</table>
  	</td>
  