 </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",
+		function reviewAnnotation(annotation_id) {
+			$.getJSON("/component/functions.cfc",
 				{
 					method : "reviewAnnotation",
 					annotation_id : annotation_id,

					queryformat : 'column'
				},
				function (r) {
					console.log(r);


					if (r.DATA.STATUS=='success'){
						$("#reviewer_comment_" + r.DATA.ANNOTATION_ID).removeClass().addClass('goodPick');
						} else {

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

					}

					/*
					if(r!='success'){
						alert(r);
						if (r=='You must create an account or log in to save searches.'){

							return false;
						} else {
							saveSearch(returnURL,r);
						}
					} else {

						pathArray = window.location.href.split( '/' );
						protocol = pathArray[0];
						host = pathArray[2];
						url = protocol + '//' + host;


						alert('Saved search \n' + url + '/saved/' + sn + '\n Find it in the My Stuff tab.');
					}
					*/
				}
			);
		}

</cfif>

---->
<cfinclude template="/includes/_footer.cfm">