function wagt_map_1() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagt_map_1')) return false;
    var map = new GMap2(document.getElementById('wagt_map_1'));
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());
    //map.addControl(new GOverviewMapControl());
    var geocoder = new GClientGeocoder();
    
    var icon = new GIcon();
    var markerStyle = 'Google Traditional (flat)';
    var markerColor = 'Pacifica';
    icon.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon.iconSize = new GSize(34,35);
    icon.shadowSize = new GSize(34,35);
    icon.iconAnchor = new GPoint(9,23);
    icon.infoWindowAnchor = new GPoint(19,0);
    icon.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';

    var address_0 = {
      street: '<?=$indirizzo?>',
      city: '<?=$localita?>',
      state: '<?=$provincia?>',
      zip: '<?=$cap?>',
      country: '<?=$cap?>',
      infowindow: 'custom',
      infowindowtext: "<span style=\"font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;\"><strong><?=$nome?></strong><br /><?=$indirizzo?>,<br /><?=$localita?> <?=$provincia?>, <?=$cap?>, <?=$nazione?></span>",
      full: "<?=$indirizzo?>, <?=$localita?>, <?=$provincia?>, <?=$cap?>, <?=$nazione?>",
      isdefault: true
    };
    
    geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_0.infowindowtext);
          });
          map.addOverlay(marker);
          marker.openInfoWindowHtml(address_0.infowindowtext);
        }
        else {
          map.setCenter(new GLatLng(43.1177, 12.0362), 13);
        }
      }
    );

  }
}
