anchor.diff:  				
   				 document.getElementById(selectedCheckedBoxVocabDivID).style.display = 'none';
   			}
  +			
  +			/* code to support one vocab at a time  START*/
  +			var elements=document.getElementsByName("vocabNameAndVersionCheckbox");
  +			for(var i=0;i<elements.length;i++)
  +			{
  +				
  +				if(elements[i].id!=vocabCheckBoxId)
  +				{
  +					//alert(elements[i].id+"    "+vocabCheckBoxId);
  +					document.getElementById("main_div_"+elements[i].id).style.display = 'none';
  +					
  +					uncheckAllAndDeleteFromArray(elements[i].id.replace("vocab_",""));
  +					//need to delete all the rows of right hand side selected list
  +					var tableid =document.getElementById("selectedPermValues_"+elements[i].id.replace("vocab_",""));
  +					for(var j=0;j<tableid.rows.length;j++)
  +					{
  +						tableid.rows[j].myRow.one.checked=1;
  +						
  +					}
  +					
  +					deleteSelectedPvsRow();
  +				}
  +				else
  +				{
  +					document.getElementById("main_div_"+elements[i].id).style.display = '';
  +				}
  +				
  +			}
  +			/* to support one vocab at a time  ENDED*/
   		
   		}
   	
  
positive.code: 		{
  			if(vocabCheckboxes[i].checked==1)
  			{
  					targetVocabsForSearchTerm=targetVocabsForSearchTerm+vocabCheckboxes[i].value+"@"
  			}
  		}
  		var searchTerm=document.getElementById("searchtextfield").value;
  
negative.code: 		
  		if (document.getElementById(medCheckBoxId).checked==true)
  		{
  			document.getElementById("main_div_"+medCheckBoxId).style.display = '';
  		} 
  		else 
  		{
  			document.getElementById("main_div_"+medCheckBoxId).style.display = 'none';
  		}
  	}
  	 /*store all the ids of selected checkbox in the array*/
  	 function getCheckedBoxId(checkedBoxId)
  	 {
  	 	if(document.getElementById(checkedBoxId).checked)
  		{
  			selectedPvsCheckedBoxIdArray[selectedPvsCheckedBox]=checkedBoxId;
  			selectedPvsCheckedBox++;
  		}
  		else if( !document.getElementById(checkedBoxId).checked)
  		{
  			deleteValueFromArray(checkedBoxId,selectedPvsCheckedBoxIdArray);
  		}
  	 }
  
  	 /** CHECKED and UNCHECKED METHOS for CHECKBOXES */
  	 /*when user click on the root node ro checkbox of the Vocabulary*/
  	 function setStatusOfAllCheckBox(rootCheckedBoxId)
  	 {
  