Report abuse


			
var map;
var centerLatitude = 40.6897;
var centerLongitude = -95.0446;
var startZoom = 3;

   function addMarker(latitude, longitude, description) {
       var marker = new GMarker(new GLatLng(latitude, longitude));
       GEvent.addListener(marker, 'click',
           function() {
              marker.openInfoWindowHtml(description);
           }
       );
       map.addOverlay(marker);
   }

   function init() {
       if (GBrowserIsCompatible()) {
           map = new GMap2(document.getElementById("map"));
           map.addControl(new GSmallMapControl());
           map.setCenter(new GLatLng(centerLatitude, centerLongitude), startZoom);
           for(i=0; i