var map = null;
var geocoder = null;
var address = "278 Lacewood Drive Halifax Nova Scotia B3M 3N8";

function load() {
	if (GBrowserIsCompatible()) {
	map = new GMap2(document.getElementById("map"));
	map.addControl(new GSmallMapControl());
	geocoder = new GClientGeocoder();
	
	if (geocoder) {
	geocoder.getLatLng(
	  address,
	  function(point) {
		if (!point) {
		  alert(address + " not found");
		} else {
		  map.setCenter(point, 13);
		  var marker = new GMarker(point);
		  map.addOverlay(marker);
		  marker.openInfoWindowHtml("<strong>Winston's Pub &amp; Eatery</strong><br />278 Lacewood Drive<br />Halifax  N.S.<br />B3M 3N8");
		}
	  }
	);
	}
	  
  }
}
