 
 <span class="likeLink" onclick="test()">test</span>
 
-<textarea id="opatgt"></textarea>
 	<cfoutput>
 		<cfquery name="geogDetails" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 		 select * from geog_auth_rec where geog_auth_rec_id = #geog_auth_rec_id#

	                	<label for="wkt_polygon">wkt_polygon</label>
	                	<textarea name="wkt_polygon" id="wkt_polygon" class="hugetextarea" rows="60" cols="10">#wkt_polygon#</textarea>
 						<div style="font-size:x-small">
							Points are rounded/combined; small "errors" may be artifacts. Error is not displayed here; examine the locality before
							doing anything.
							<br>Large WKT (>~30K characters) will not work properly
						</div>
						<div id="map"></div>
	                </td>

    	}
    	if (opa.length>0){
    		var opastr=opa.join('|');
    		var theURL='/SpecimenResults.cfm?geog_auth_rec_id=';
    		theURL += $("#geog_auth_rec_id").val();
    		theURL += '&coordslist=' + opastr;

    		console.log(opastr);
    		console.log(theURL);
    		window.open(theURL);
