 		    scaleControl: true
 		};
 		map = new google.maps.Map(document.getElementById('map'),mapOptions);
-		var wkt=$("#wkt_polygon").val();
+
 		//using regex, we will get the indivudal Rings
 		var regex = /\(([^()]+)\)/g;
 		var Rings = [];

	}

	function initializeMap() {
		var infowindow = new google.maps.InfoWindow();
		var mapOptions = {
			zoom: 3,

 						<div style="font-size:x-small">
							Error is not displayed here; examine the locality before doing anything.
							<br>Large WKT (>~30K characters) will not work properly
							<cfif len(wkt_polygon) gt 0>
								<br><span class="likeLink" onclick="openOutsidePoints();">
									click here to view specimens using "outside" points in a new window
								</span>
							</cfif>
						</div>
						<div id="map"></div>
	                </td>
