//specify the HTML used in the gmaps infobox
var html = "<strong>North Kingstown, RI</strong><br/><img src=\"../images/northkingstown_small.gif\" alt=\"The North Kingstown, RI Logo\"/>";

//specify the lat and lon for the map's starting point:
var lat = 41.57388;
var lon = -71.447418;

	var map = new GMap2(document.getElementById("gmap"));
	point = new GLatLng(lat,lon);
	initMap(map, point, html);
	
	addPOI('41.521078', '-71.443148', 'Gilbert Stuart Museum');
	addPOI('41.543276', '-71.425552', 'Rome Point and<br/>Chafee Nature Preserve');
	addPOI('41.550599', '-71.440659', 'Annaquatucket Ponds');
	addPOI('41.571472', '-71.452503', 'Wickford Village');
	addPOI('41.572483', '-71.445551', 'Wickford Cove');
	addPOI('41.578567', '-71.453276', 'Wilson Park');
	addPOI('41.584364', '-71.458545', 'Smith\'s Castle');
	
	map.panTo(point);

/*

//A backup of the NK code that appears before the closing HTML tag:
				  <script language="javascript">
					var map = new GMap2(document.getElementById("gmap"));
					point = new GLatLng(lat,lon);
					initMap(map, point, html);
					
					addPOI('41.521078', '-71.443148', 'Gilbert Stuart Museum');
			        addPOI('41.543276', '-71.425552', 'Rome Point and<br/>Chafee Nature Preserve');
			        addPOI('41.550599', '-71.440659', 'Annaquatucket Ponds');
			        addPOI('41.571472', '-71.452503', 'Wickford Village');
			        addPOI('41.572483', '-71.445551', 'Wickford Cove');
			        addPOI('41.578567', '-71.453276', 'Wilson Park');
			        addPOI('41.584364', '-71.458545', 'Smith\'s Castle');
					
					map.panTo(point);
				  </script>

*/