$(function() { // when the document is ready to be manipulated.
  if (GBrowserIsCompatible()) { // if the browser is compatible with Google Map's


	var map = new GMap2(document.getElementById("map_canvas"),
    { size: new GSize(440,375) } );
	map.setCenter(new GLatLng(29.714434,-95.39786), 16);
	map.setUIToDefault();

      function createMarker(point,html) {
        // ======== Add a "directions" link ======
        html += ' | <a href="http://maps.google.com/maps?saddr=&daddr=' + point.toUrlValue() + '" target ="_blank">Directions<\/a>';
      
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }

      // Set up three markers with info windows 
    

      var point = new GLatLng(29.714434,-95.39786);
      var marker = createMarker(point,'<a href="http://ped1.med.uth.tmc.edu/divisions/hematology/gulf-states/index.html"><strong>Adult Clinic, Suite 480 &amp;<br />Pediatric Clinic, Suite 500</a><br />UT Professional Building</strong><br />6410 Fannin<br />Houston Texas 77030')
      map.addOverlay(marker);

      


	  
}
else {alert("Your browser is not compatible with this instance of Google Maps.");}
});
