var map = null;
var geocoder = null;
function initialize() {
  if (GBrowserIsCompatible()) {
	map = new GMap2(document.getElementById("map_canvas"));
	//pointCentre = new GLatLng(45.8404000, 4.735245);
	pointCentre = new GLatLng(45.8415000, 4.735245);
	point = new GLatLng(45.8397000, 4.735245);
	// poisitionnement sur la France
	//map.setCenter(new GLatLng(48.866667, 2.333333), 4);
	map.setCenter(pointCentre, 15);
	geocoder = new GClientGeocoder();
	// affichage du paneau de controle
	// on supprime l'affichage mixte
	map.removeMapType(G_HYBRID_MAP);
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
		
	// personalisation de l'icone
	var blueIcon = new GIcon(G_DEFAULT_ICON);
	blueIcon.image = "images/marker-blue.png";
	markerOptions = { icon:blueIcon };
	
	var orangeIcon = new GIcon(G_DEFAULT_ICON);
	orangeIcon.image = "images/marker-orange.png";
	markerOptions = { icon:orangeIcon };
	var marker = new GMarker(point, markerOptions);
	
	map.addOverlay(marker);
	marker.openInfoWindowHtml('<span style="font-family:Verdana; font-size:12px; color:#025C91"><strong>COMSIDER</strong><br />Parc tertiaire Bois-Dieu<br />4, all&eacute;e des Ecureuils <br/> 69380 LISSIEU</span>');
  }
}