// JavaScript Document
	
			var iconComptoire = new GIcon();
			iconComptoire.image = "../images/images_icone/spot.png";
			//icon.shadow = "images/ombre_1.png";
			iconComptoire.iconSize = new GSize(32, 32);
			//icon.shadowSize = new GSize(34, 30);
			iconComptoire.iconAnchor = new GPoint(10, 29);
			iconComptoire.infoWindowAnchor = new GPoint(10, 10);
			
function initialize() 
{

	map = new GMap2( Dom.get('gmap_sejour') );
	map.addControl(new GSmallMapControl());
	map.setCenter(new GLatLng(lati, longi), 5);
	rajoute_marker(lati,longi,info_bulle_adresse);
}


function rajoute_marker(lat,long,infoHtml)
{
	
		if(lat != 'undefined' || long != 'undefined' )
		{

						var marker = new GMarker(new GLatLng(lat, long),iconComptoire);
						
						GEvent.addListener(marker, 'click', function() {
							affiche_point_vente(marker,infoHtml);
						}); 
						map.addOverlay(marker);
		
		}
}


function affiche_point_vente(marker,info) 
{
	
	map.setZoom(13);
	map.panTo(marker.getLatLng());
	marker.openInfoWindowHtml("<p style='width:150px;'>" + unescape(info) + "</p>");

	
									
}