	//<![CDATA[

	google.load("maps", "2.x",{"other_params":"sensor=false"});

        
	var contenuListe = "";
	var tableauMarqueurs = [];
	var tableauInfoBulle = [];
	var i = 0;
	var miniIconeVert;
	var maCarte;
        
	
	var urlXml = "http://www.cabinetgaillard.com/xml/donnees.xml";

	function initialize() {
     
	if (google.maps.BrowserIsCompatible()) {
            
	    miniIconeVert = new google.maps.Icon();
            miniIconeVert.image = "http://www.cabinetgaillard.com/images/puce.png";
	    miniIconeVert.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
	    miniIconeVert.iconSize = new google.maps.Size(15, 25);
	    miniIconeVert.shadowSize = new google.maps.Size(25, 22);
	    miniIconeVert.iconAnchor = new google.maps.Point(6, 20);
	    miniIconeVert.infoWindowAnchor = new google.maps.Point(5, 1);

	    maCarte = new google.maps.Map2(document.getElementById("EmplacementDeCarteGlobale"));

	    maCarte.setCenter(new google.maps.LatLng(43.641347,6.878720), 15);

	    maCarte.addControl(new google.maps.SmallMapControl());

	    maCarte.addControl(new google.maps.MenuMapTypeControl());

	    var requete = google.maps.XmlHttp.create();
	    requete.open("GET", urlXml, true);
  
	    requete.onreadystatechange = function() {

	        if (requete.readyState == 4) {

	            var xmlDoc = requete.responseXML;

	            var marqueurs = xmlDoc.documentElement.getElementsByTagName("marker");

	            contenuListe += '<ol>';
                       
	            for (var i = 0; i < marqueurs.length; i++) {

	                var lat = parseFloat(marqueurs[i].getAttribute("lat"));

	                var lng = parseFloat(marqueurs[i].getAttribute("lng"));

	                var pointSoc = new GLatLng(lat,lng);

	                var typeSoc = marqueurs[i].getAttribute("type");

	                var nomSoc = marqueurs[i].getAttribute("nom");

	                var adresseSoc = marqueurs[i].getAttribute("adresse");

	                var codepostalSoc = marqueurs[i].getAttribute("codepostal");

	                var villeSoc = marqueurs[i].getAttribute("ville");

	                var marqueur = creationMarqueur(lat,lng,pointSoc,typeSoc,nomSoc,adresseSoc,codepostalSoc,villeSoc);
	
	                maCarte.addOverlay(marqueur);
	            }
	            contenuListe += '</ol>';
	            
	        }
	    }
	    requete.send(null);

	
	}else{
	
	alert('Désolé, mais votre navigateur n\'est pas compatible avec Google Maps');
	}
	}


	function creationMarqueur(lat,lng,pointSoc,typeSoc,nomSoc,adresseSoc,codepostalSoc,villeSoc) {
	
	    var marqueur = new google.maps.Marker(pointSoc,miniIconeVert);
	
	    var contenuInfoBulle =   '<b>Société</b> : '+nomSoc+'<br />'
	                            +'<b>Adresse</b> : '+adresseSoc+'<br />'
	                            +'<b>Code postal</b> : '+codepostalSoc+'<br />'
	                            +'<b>Ville</b> : '+villeSoc+'<br />'
	
	    google.maps.Event.addListener(marqueur, "click", function() {
	
	        marqueur.openInfoWindowHtml(contenuInfoBulle);
	    });
	
	    tableauMarqueurs[i] = marqueur;

	    tableauInfoBulle[i] = contenuInfoBulle;

	    contenuListe += '<li><a href="javascript:clickLien(' + i + ')">' + nomSoc + '</a></li>';

	    i++;
	    return marqueur;
	}

	
	function clickLien(i) {
	
	    tableauMarqueurs[i].openInfoWindowHtml(tableauInfoBulle[i]);
	}

	
	google.setOnLoadCallback(initialize);
	//]]>
	


