var map = null;
    var geocoder = null;

    function initializeMap() {
	//alert('init');
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_village"));
        map.setCenter(new GLatLng(47.15984, 2.988281), 5);
      //  map.addControl(new GLargeMapControl()); // outils à gauche
	//map.enableScrollWheelZoom();		
	 map.setUIToDefault();

        geocoder = new GClientGeocoder();
      }
	//  alert(adresseVillage);
   if(document.getElementById('map_village')) {  showAddress(adresseVillage);}
    }

    function showAddress(address) {
	//	alert('show adresse');
      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(address);
            }
          }
        );
      }
    }

/**
 * Exécution de fonctions Javascript après chargement de l'arbre DOM
 *
 * @author     Eric Giovannetti <eric@bleuroy.com>
 * @copyright   BleuRoy.com
 * @version    1.0.0
 */
/**
 * Lance les fonctions nécessaires au chargement de la page
 */ 
var j = jQuery.noConflict();

j(document).ready(function(){

	MENU_Gestion("horizontal");
    ROLLOVER_Gestion();
    if(document.getElementById('elementFaq')) { FAQ_Gestion(); }
    if(document.getElementById('iframe')) { createIframe(); }

/**
 * Gestion du menu
 */ 
    j(".menuNiveau1 > li:eq(1) a").addClass("marron");
    j(".menuNiveau1 > li:eq(2) a").addClass("marron");
    j(".menuNiveau1 > li:eq(3) a").addClass("marron");
 
    j('#main  .blocAccueil').hover(
        function () {
            j(this).addClass("on");
        }, 
        function () {
            j(this).removeClass("on");
        }
    );

});