 					}
 				});
 			});
+			/*
 			function getWorms(n){
 				$("##wscallrslt").html('<img src="/images/indicator.gif">fetching from WoRMS....');
 				$.ajax({

				<li>common name STARTS WITH #common_name#</li>
			</cfif>
		</cfif>
		<cfset sql="select scientific_name,taxon_name_id from (select scientific_name, taxon_name.taxon_name_id from #tabls# where 1=1 #tbljoin# #whr# ">
		<cfset sql=sql & "
		group by scientific_name,taxon_name_id
		order by scientific_name)
		where rownum<1001">

	</ul>

					}
				});
			}
			*/
			function refreshWorms(tid,aid){
				$("##RefreshWormsSpan").html('<img src="/images/indicator.gif">fetching....');
				$.ajax({
					url: "/component/taxonomy.cfc?queryformat=column&&=#name#",
					type: "GET",
					dataType: "json",
					data: {
						method:  "updateWormsArctosByAphiaID",
						taxon_name_id : tid,
						aphiaid : aid,
						returnformat : "json"
					},
					success: function(r) {
						if (r.STATUS=='success'){
							var theLink='<span class="likeLink" onclick="reloadHash(\'WoRMSviaArctos\')">Success! click to reload</span>';
							$("##RefreshWormsSpan").html(theLink);
						} else {
							var m="The request to WoRMS failed";
							if (r.hasOwnProperty("MSG")){
								m+=": " + r.MSG;
							}
							$("##RefreshWormsSpan").html(m);
						}
					},
					error: function (xhr, textStatus, errorThrown){
					    alert('Validator Error: ' + errorThrown + ': ' + textStatus + ': ' + xhr);
					}
				});
			}




			function reloadHash(a){
				//var x=location.href.replace(location.hash,"");
				//var x2=x+'##' + a;
