//<![CDATA[

function loadMap() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));
    map.enableContinuousZoom();
    var geocoder = new GClientGeocoder();
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
	
	var icon = new GIcon();
	icon.image = "images/map_marker.png";
	icon.iconSize = new GSize(60, 35);
	icon.iconAnchor = new GPoint(30, 35);
	icon.infoWindowAnchor = new GPoint(25, 1);
  }
  
  var geocoder = new GClientGeocoder();
  var galAddress = "1140 E. Altamonte Drive, Altamonte Springs, FL";
  
  showAddress(galAddress);

function showAddress(address) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
        map.setCenter(point, 13);
        var marker = new GMarker(point, icon);
        map.addOverlay(marker);
        var tmpVal="Galiano Career Academy<br />1140 E. Altamonte Drive<br />Suite #1020<br />Altamonte Springs, FL";
        marker.openInfoWindowHtml(tmpVal);
      }
    }
  );
}
}


//]]>