docs: function _draw_local_doc(doc){
  	
  	//ll(doc['id']);
  
  	var personality = anchor.get_personality();
  	var cclass = golr_conf_obj.get_class(personality);
  
  	var txt = 'Nothing here...';
  	if( doc && cclass ){
  
  	    var tbl = new bbop.html.table();
  	    var results_order = cclass.field_order_by_weight('result');
  	    var each = bbop.core.each; // convenience
  	    each(results_order,
  		 function(fid){
  		     // 
  		     var field = cclass.get_field(fid);
  		     var val = doc[fid];
  
  		     // Determine if we have a list that we're working
  		     // with or not.
  		     if( field.is_multi() ){
  
  			 if( val ){
  			     val = val.join(', ');
  			 }else{
  			     val = 'n/a';
  			 }
  
  		     }else{
  
  			 // When handling just the single value, see
  			 // if we can link out the value.
  			 var link = null;
  			 if( val ){
  			     //link = linker.anchor({id: val});
  			     //link = linker.anchor({id: val}, 'term');
  			     link = linker.anchor({id: val}, fid);
  			     if( link ){ val = link; }
  			 }else{
  			     val = 'n/a';
  			 }
  		     }
  
  		     tbl.add_to([field.display_name(), val]);
  		 });
  	    txt = tbl.to_string();
  	}
  
  	// Create div.
  	var div = new bbop.html.tag('div', {'generate_id': true});
  	var div_id = div.get_id();
  
  	// Append div to body.
  	jQuery('body').append(div.to_string());
  
  	// Add text to div.
  	jQuery('#' + div_id).append(txt);
  
  	// Modal dialogify div; include self-destruct.
  	var diargs = {
  	    modal: true,
  	    draggable: false,
  	    width: width,
  	    close:
  	    function(){
  		// TODO: Could maybe use .dialog('destroy') instead?
  		jQuery('#' + div_id).remove();
  	    }	    
  	};
  	var dia = jQuery('#' + div_id).dialog(diargs);
      }