//specify the HTML used in the gmaps infobox
var html = "<strong>Newport, RI</strong>";

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

	var map = new GMap2(document.getElementById("gmap"));
	point = new GLatLng(lat,lon);
	initMap(map, point, html);
	

	addPOI('41.491221', '-71.317213', 'Newport Convention Center');
	addPOI('41.491092', '-71.313629', 'Eisenhower Park');
	addPOI('41.491237', '-71.327105', 'Goat Island');
	addPOI('41.489662', '-71.318521', 'Long Wharf Mall');
	addPOI('41.46808', '-71.34014', 'Fort Adams');
	addPOI('41.475757', '-71.30024', 'Cliff Walk');
	addPOI('41.529961', '-71.273053', 'Newport Vineyards');
	addPOI('41.538265', '-71.248226', 'Greenvale Vineyards');
	
	
	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>

*/