function showOnePointOnMap(nameDiv,lat,lng){
	if (GBrowserIsCompatible()){
		var mapOptions = {

        }
        var map = new GMap2(document.getElementById(nameDiv), mapOptions);
		var point = new GLatLng( lat,lng);
		map.setCenter(point, 13);
		map.setUIToDefault();


		var icon = new GIcon(G_DEFAULT_ICON);
		icon.image = "http://www.numabilis.com/files/demos/google-maps/blue-dot.png";
		var options = { icon: icon};
		var marker = new GMarker(point, options);
		map.addOverlay(marker);
		var geocoder = new GClientGeocoder();
	}
	else{
		alert("Votre navigateur n'est pas compatible pour afficher la carte convenablement.");
	}
}
function showOnePointOnMapV3(nameDiv,lat,lng){

	var myOptions = {
      zoom: 13,
      center: new google.maps.LatLng(lat, lng),
      mapTypeControl: true,
      mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
      navigationControl: true,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    }
    var map = new google.maps.Map(document.getElementById(nameDiv), myOptions);

}
/*
var gmarkers = [];
var map='';
var baseIcon = new GIcon();
var bounds = new GLatLngBounds();



 function loadMap(div_name,xmlfile)
 {
	 if (GBrowserIsCompatible()) {
          var mapOptions = {
            googleBarOptions : {
              style : "new"
            }
          }
          map = new GMap2(document.getElementById("map"), mapOptions);
          map.setCenter(new GLatLng(33.956461,-118.396225), 13);
          map.setUIToDefault();
          //map.enableGoogleBar();

		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.iconSize = new GSize(32, 32);
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);

        }
	else
		alert("Sorry, the Google Maps API is not compatible with this browser");

	if(xmlfile!='')
		 loadMapFromXML(xmlfile);
 }

function showLogement(lat,lng,id,html,type){
	if(lat != "0" && lng != "0"){
		var point = new GLatLng(lat,lng);

		var icon = new GIcon(baseIcon);
		icon.image = "/images/gmaps/pink.png";
		if(type=="P")
			icon.image = "/images/gmaps/green.png";
		if(type=="V")
			icon.image = "/images/gmaps/orange.png";
		if(type=="D")
			icon.image = "/images/gmaps/darkgreen.png";

		var marker = new GMarker(point,icon);

		GEvent.addListener(marker, "click", function() {
		    marker.openInfoWindowHtml(html);
		  });

		map.addOverlay(marker);
	}
}

function showLogement2(lat,lng,id,html,type){
	if(lat != "0" && lng != "0"){
		var point = new GLatLng(lat,lng);

		return point;

		var icon = new GIcon(baseIcon);
		icon.image = "/images/gmaps/pink.png";
		if(type=="P")
			icon.image = "/images/gmaps/green.png";
		if(type=="V")
			icon.image = "/images/gmaps/orange.png";
		if(type=="D")
			icon.image = "/images/gmaps/darkgreen.png";

		var marker = new GMarker(point,icon);

		GEvent.addListener(marker, "click", function() {
		    marker.openInfoWindowHtml(html);
		  });

		var marker = new GMarker(point,icon);
		//return marker;
		//map.addOverlay(marker);
	}
}

function getPoint(lat,lng){
	if(lat != "0" && lng != "0" && lat != "" && lng != ""){
		var point = new GLatLng(lat,lng);
		var marker = new GMarker(point);
		bounds.extend(new GLatLng(lat, lng));
	}
}
*/