 <cfset title="Review Annotations">
 
 
-<cfdump var=#action#>
-<!----
-	Ways to get here:
-		1) From a data object (specimen, project, etc)
-			--> find all annotations concerning it
-				-->create links to group page for any group annotations
-		3) From a group of annotations
-
----->
+
 
 <cfif isdefined("id") and len(id) gt 0>
 

</form>
----->
<!---- if we have any useful IDs, find the annotations and what's referenced by them ---->
<cfif action is "nothing">

	<script>


	function reviewAnnotation(annotation_id) {
		$.getJSON("/component/functions.cfc",
				{
					method : "reviewAnnotation",
					annotation_id : annotation_id,

					queryformat : 'column'
				},
				function (r) {
					if (r.DATA.STATUS=='success'){
						$("#reviewer_comment_" + r.DATA.ANNOTATION_ID).removeClass('badPick').addClass('goodPick');
						} else {

						$("#reviewer_comment_" + r.DATA.ANNOTATION_ID).removeClass('goodPick').addClass('badPick');

					}
				}
			);
		}
