function loadMap() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('map')) return false;
    var map = new GMap2(document.getElementById('map'));
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());
    var geocoder = new GClientGeocoder();
    
    var icon = new GIcon();
    var markerStyle = 'Flag';
    var markerColor = 'Pacifica';
    icon.image = 'images/map-marker-large.png';
    icon.iconSize = new GSize(80,80);
    icon.iconAnchor = new GPoint(40,75);
    icon.infoWindowAnchor = new GPoint(60,30);
    icon.printImage = 'images/map-marker-large.png';
    icon.mozPrintImage = 'images/map-marker-large.png';
    icon.printShadow = 'images/map-marker-large.png';
    icon.transparent = 'images/map-marker-large.png';

var address_0 = {
      street: '1123 Walnut St',
      city: 'Philadelphia',
      state: 'PA',
      zip: '',
      country: 'USA',
      full: '1123 Walnut St Philadelphia, PA',
	  infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Irish Pub Philadelphia</strong><br />12th & Walnut Philadelphia, PA</span>',
      isdefault: true
    };
	
var address_1 = {
      street: '2007 Walnut St',
      city: 'Philadelphia',
      state: 'PA',
      zip: '',
      country: 'USA',
      full: '2007 Walnut St Philadelphia, PA',
	  infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Irish Pub Philadelphia</strong><br />20th & Walnut Philadelphia, PA</span>',
      isdefault: true
    };
	    
    geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
         map.setCenter(new GLatLng(39.950027, -75.169066), 14);
          var marker = new GMarker(point, icon);
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
    geocoder.getLatLng (
      address_1.full,
      function(point) {
        if(point) {
          map.setCenter(new GLatLng(39.950027, -75.169066), 14);
          var marker = new GMarker(point, icon);
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
  }
}