function displayPoints(longitude, latitude, mag, dataFile) {
      // Create our "tiny" marker icon
var icon = new GIcon();
icon.image = "http://www.google.com/mapfiles/marker.png";
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
icon.iconSize = new GSize(12, 20);
icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);
			
			// Using XML and Asynchronous RPC ("AJAX") with Maps
      //
      // In this example, we download a static file ("data.xml") that contains a
      // list of lat/lng coordinates in XML. When the download completes, we parse
      // the XML and create a marker at each of those lat/lngs.
      
      // Center the map on 
      var map = new GMap(document.getElementById("map"));
      map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());
			map.addControl(new GScaleControl());
      map.centerAndZoom(new GPoint(longitude, latitude), mag);
			map.setMapType(G_SATELLITE_TYPE);
       // Creates a marker whose info window displays the given number
      function createMarker(point, html) {
        var marker = new GMarker(point, icon);
      
        // Show this marker's index in the info window when it is clicked
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
      
        return marker;
      }
      // Download the data in data.xml and load it on the map. The format we
      // expect is:
      // <markers>
      //   <marker lat="37.441" lng="-122.141"/>
      //   <marker lat="37.322" lng="-121.213"/>
      // </markers>
      var request = GXmlHttp.create();
      request.open("GET", dataFile, true);
      request.onreadystatechange = function() {
        if (request.readyState == 4) {
          var xmlDoc = request.responseXML;
          var markers = xmlDoc.documentElement.getElementsByTagName("marker");
          for (var i = 0; i < markers.length; i++) {
            var point = new GPoint(parseFloat(markers[i].getAttribute("lng")),
                                   parseFloat(markers[i].getAttribute("lat")));
						var re = /\W/g;
						var keyWords = markers[i].getAttribute("location");
						
						var html = '<b><a href='+markers[i].getAttribute("url")+'>'+markers[i].getAttribute("location")+
								'</b></a><br />Latitude='+markers[i].getAttribute("lat")+'<br />Longitude='+markers[i].getAttribute("lng");
																	 
				    var marker = createMarker(point, html);
						map.addOverlay(marker);
          }
        }
      }
      request.send(null);
    }
