 	    	if (typ=='specimen_part'){
 	    		$("##eventPartLink_" + id).parent().parent().addClass('highlightedEventRelated');
 	    	}
-
-
-
-
-
-
 		}
 
 

			//	$( "##eventPartLink_" + related_key).append("<br><span class=\"infoLink\" onclick=\"delinkSpecEvt('specimen_part','" + related_key + "');\">Remove Link</span>");

			//}
			console.log('looking for eventPartLink_' + related_key);

			addSpecEvtLnkLnks(related_thing,related_key,specimen_event_id);


			highlightSpecimenEvent(specimen_event_id);

		}


		}
		function madeSpecimenEventLink(specimen_event_id,related_thing,related_key){
			alert('madeSpecimenEventLink from' +  specimen_event_id + ' to ' + related_thing + ' value ' + related_key);
			//console.log(related_thing);

			//if (related_thing=='specimen_part'){
			//	console.log('here we are');
