anchor.diff:  				ret += values[i] + ' ';
   			}
   		}
  -		$('workflowsValue').value = ret;
  +		$j('#workflowsValue').val(ret);
   		refreshWorkflowsDisplay();
   	}
   	
   	function refreshWorkflowsDisplay() {
   		var tableId = 'workflowsDisplay';
  -		var value = $('workflowsValue').value;
  +		var value = $j('#workflowsValue').val();
   		value = value.substring(value.indexOf(":") + 1);
   		values = helper(value);
   		dwr.util.removeAllRows(tableId);
  
positive.code: 	}
  	
  	function cleanupWorkflowsValue() {
  		var value = $('workflowsValue').value;
  		if (value == '' || value == 'null') value = ':';
  		$('workflowsValue').value = value;
  	}
  	
  	function addWorkflow(conceptId) {
  		$('workflowsValue').value = $('workflowsValue').value + ' ' + conceptId;
  		refreshWorkflowsDisplay();
  	}
  	
  	function removeWorkflow(conceptId) {
  		var value = $('workflowsValue').value;
  		if (value == '' || value == 'null') value = ':';
  		var progId = value.substring(0, value.indexOf(":"));
  		value = value.substring(value.indexOf(":") + 1);
  
negative.code: <%@ include file="localHeader.jsp" %>
  
  <openmrs:htmlInclude file="/scripts/dojo/dojo.js" />
  <openmrs:htmlInclude file="/dwr/util.js" />
  
  <script type="text/javascript">
  	var idToNameMap = new Array();
  