anchor.diff:  	}
   		deleteFromArray(checkedObjtodelete,selectedPvs);
   		selectedPvs=removeElementsFromArray(selectedPvs, isNullOrUndefined);
  +		/* In each case ok button should be enabled because Requirement has changed, user  should able to add any entity without  limit
   		if(selectedPvs.length==0)
   			{
   				document.getElementById("deactivateDiv").innerHTML="<a href='javascript:doNothing();'><img id='okImage' src='images/advancequery/b_ok_inactive.gif' border='0' alt='OK' width='44' height='23'></a>"
   			}
  +		if(parent.conceptCodes.length >0) // VI open in Edit Mode then 'OK' Button should be enabled.
  +		{
  +			document.getElementById("deactivateDiv").innerHTML="<a href='javascript:addPvsToCondition();'><img id='okImage' src='images/advancequery/b_ok.gif' border='0' alt='OK' width='44' height='23'></a>";
  +		}*/
   		
   		
   }
  
positive.code: 		
  	}
  	}
  	if(selectedPvs.length>0) //Check to enable 'OK'  button
  	{
  		document.getElementById("deactivateDiv").innerHTML="<a href='javascript:addPvsToCondition();'><img id='okImage' src='images/advancequery/b_ok.gif' border='0' alt='OK' width='44' height='23'></a>"
  	}
  }
  // method is used to create the rows in the talbe
  function createRows(vocabURN,selectedPvsCheckedBoxId,conceptDetail)
  
negative.code: 		pervVocabCheckboxId="vocab_"+vocabURN;
  	}
  	//need to enabled the ok button
  	/*if(selectedPvs.length>0) //Check to enable 'OK'  button
  	{
  		// In each case ok button should be enabled because Requirement has changed, user  should able to add any entity without  limit
  			document.getElementById("deactivateDiv").innerHTML="<a href='javascript:addPvsToCondition();'><img id='okImage' src='images/advancequery/b_ok.gif' border='0' alt='OK' width='44' height='23'></a>";
  	}*/
  	
  };
  
  