anchor.diff:  ***********************************************************************/
   
   allInputs.change( function() {
  -	var fieldset_child_id = grab_fsc_id($(this));
  -	var entered_value = $(this).val();
  +	var field = $(this);
  +	var field_type = grab_type(field);
  +	var fieldset_child_id = grab_fsc_id(field, field_type);
  +	var entered_value = grab_value(field, field_type)
   	if (fieldset_child_id in json_holder) {
   		for (var group in json_holder[fieldset_child_id]) {
   			var action = json_holder[fieldset_child_id][group]['action'];
  
positive.code: 				for (var dependency in json_holder[fieldset_child_id][group]["clause"][clause])
  				{
  					var relationship = json_holder[fieldset_child_id][group]["clause"][clause][dependency]['relationship'];
  					var value = json_holder[fieldset_child_id][group]["clause"][clause][dependency]['value'];
  					// Short circuit from looking at each dependency in the case
  					// we determine a true dependency (OR)
  					if (evaluate(entered_value, relationship, value)) {
  
negative.code: 
  ***************************************************************************/
  
  function grab_fsc_id(field, field_type) {
  	switch(field_type)
  	{
  		case 'text':
  			var id_array = field.attr('id').split('-');
  			return id_array[id_array.length-1];
  		case 'radio':
  			var id_array = field.closest("div").attr("id").split('-');
  			return id_array[id_array.length-1];
  		case 'textarea':
  			var id_array = field.attr('id').split('-');
  			return id_array[id_array.length-1];
  		case 'checkbox':
  			var id_array = field.closest("div").attr("id").split('-');
  			return id_array[id_array.length-1];
  		case 'select':
  			var id_array = field.attr('id').split('-');
  			return id_array[id_array.length-1];
  		case 'multi-select':	
  			var id_array = field.attr('id').split('-');
  			return id_array[id_array.length-1];
  		default:
  			return ''
  	}
  };
  
  /***************************************************************************
  