google.load("maps", "2");
	
	
	var showInfoWindow = function(marker)
	{	
			var html = '<h3>ACTS Church</h3><p>1304 Ranch Road 620 N<br />Austin, TX 78734</p><a href="http://maps.google.com/maps?q=ACTS+CHURCH+LAKEWAY,+Austin,+TX&hl=en&ll=30.3773,-97.946516&spn=0.01132,0.009624&sll=30.377309,-97.94598&sspn=0.01132,0.009624&vpsrc=6&hq=ACTS+CHURCH+LAKEWAY,&hnear=Austin,+Travis,+Texas&t=h&z=17&iwloc=A" target="_blank">Get Directions Here</a>';
    	marker.openInfoWindowHtml(html);
	}
	
  // Call this function when the page has been loaded
  function initialize() 
  {		
      var map = new google.maps.Map2(document.getElementById("map-canvas"));
      var geocoder = new GClientGeocoder();
      geocoder.getLatLng(
          "1304 Ranch Road 620 N, Austin, TX 78734",
					function(point) 
          {
              if (point)
              {
                  map.setCenter(point, 13);
                  map.addControl(new GSmallMapControl());
                  map.addControl(new GMapTypeControl());
                  marker = new GMarker(point);
                  map.addOverlay(marker);
                  showInfoWindow(marker);

									GEvent.addListener(marker, "click", function() {
									  	showInfoWindow(marker);
									});

              }
          }
      );  
  }

	

google.setOnLoadCallback(initialize);
