 //<![CDATA[

   var geocoder;
   var map;
   var placename = "Southpaws Playschool";
   var address = "2324B South Lamar Blvd, Austin TX 78704";
   var marker;

   // On page load, call this function
   function load()
   {
      // Create new map object
      map = new GMap2(document.getElementById("map"));
	  
	  map.addControl(new GSmallMapControl());

      // Create new geocoding object
      geocoder = new GClientGeocoder();

      // Retrieve location information, pass it to addToMap()
      geocoder.getLocations(address, addToMap);
   }

   // This function adds the point to the map

   function addToMap(response)
   {
      // Retrieve the object
      place = response.Placemark[0];

      // Retrieve the latitude and longitude
      point = new GLatLng(place.Point.coordinates[1],
                          place.Point.coordinates[0]);

      // Center the map on this point
      map.setCenter(point, 13);

      // Create a marker
      marker = new GMarker(point);
// Add address information to marker
		
      // Add the marker to map
      	map.addOverlay(marker);
		
		// Add HTML information to marker
		marker.openInfoWindowHtml('<strong>Southpaws Playschool</strong><br />2324B South Lamar Blvd<br />Austin TX<br />78704');
      

   }
    //]]>
