function wagt_map_2() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagt_map_2')) return false;
    var map = new GMap2(document.getElementById('wagt_map_2'));
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
    var geocoder = new GClientGeocoder();
    
    var icon = new GIcon();
    var markerStyle = 'Push-Pin';
    var markerColor = 'Deep Jungle';
    icon.image = 'http://google.webassist.com/google/markers/pushpin/deepjungle.png';
    icon.shadow = 'http://google.webassist.com/google/markers/pushpin/shadow.png';
    icon.iconSize = new GSize(40,41);
    icon.shadowSize = new GSize(40,41);
    icon.iconAnchor = new GPoint(7,38);
    icon.infoWindowAnchor = new GPoint(26,4);
    icon.printImage = 'http://google.webassist.com/google/markers/pushpin/deepjungle.gif';
    icon.mozPrintImage = 'http://google.webassist.com/google/markers/pushpin/deepjungle_mozprint.png';
    icon.printShadow = 'http://google.webassist.com/google/markers/pushpin/shadow.gif';
    icon.transparent = 'http://google.webassist.com/google/markers/pushpin/deepjungle_transparent.png';
	
    var address_0 = {
      street: 'Gosford',
      city: 'Shannon',
      state: 'Quebec',
      zip: 'G0A4N0',
      country: 'Canada',
      infowindow: 'custom',
      infowindowtext: '',
      full: '',
      isdefault: false
	  
	};
	  
      /* Creer des points */
      //Hauts-Boisés de Shannon - Rue Maple
      var point1 = new GLatLng(46.152724,-70.322027);
      //Hauts-Boisés de Shannon - Rue Elm
      //var point2 = new GLatLng(46.8765,-71.5081);
	
    geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
          map.setCenter(point, 10);
        }
        else {
          map.setCenter(new GLatLng(46.152724,-70.322027), 13);
        }

/*Gestion des marqueurs et evenements avances*/

         /*Afficher un marqueur avec une fenêtre d'information au clic (fonction a déclarer une seule fois)*/

         function createMarker(point, texte, icon)
         {
         var marker = new GMarker(point, icon);
         map.addOverlay(marker);
         GEvent.addListener(marker, "click", function() {
                   marker.openInfoWindowHtml(texte);
          });
         }
        
         createMarker(point1, '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Domaine du Lac Falardeau</strong><br />Saint-Zacharie, Quebec</span>', icon);                                        

/*Initialise les outils de geodoing et place un marqueur a partir d'une adresse */        


      }
    );

  }
}
