 		        infowindow.open(map,marker);
 		    });
 		}
+
+		function initialize(condition) {
+			$("input[id^='coordinates_']").each(function(e){
+				var sid='coordinates_' + String(e+1);
+				console.log('init for ' + sid);
+			});
+		}
+
+
 		jQuery(document).ready(function() {
-
-			initializeMap();
-
-														<div class="mapdiv" id="mapdiv_#specimen_event_id#"></div>
-
-
-											<input type="text" id="coordinates_#specimen_event_id#" value="#dec_lat#,#dec_long#,#err_in_m#,#geog_a">
-											<input type="text" id="error_#specimen_event_id#" value="#err_in_m#">
-											<input type="text" id="geog_polygon_#specimen_event_id#" value="#geog_polygon#">
-
-
+			initialize();
+
+			//initializeMap();
 
 
 			/*

			*/
		});
	</script>
<cfif isdefined("collection_object_id")>
	<cfset checkSql(collection_object_id)>
	<cfoutput>

<cftry>
	<script>

		var map1, map2, map3, map4, map5, map6;
		var bounds = new google.maps.LatLngBounds();
		var markers = new Array();
		var ptsArray=[];
