
var map_0, geoXml=null;
if(typeof window.addEventListener != 'undefined') {
	window.addEventListener('load', load_0, false);
	window.addEventListener('onunload', GUnload, false);
}
else if(typeof document.addEventListener != 'undefined') {
	document.addEventListener('load', load_0, false);
	document.addEventListener('onunload', GUnload, false);
}
else if(typeof window.attachEvent != 'undefined') {
	window.attachEvent('onload', load_0);
	window.attachEvent('onunload', GUnload);
}
function load_0() {
latlng="45.986109,6.168652";
	if (GBrowserIsCompatible()) {
		map_0 = new GMap2(document.getElementById("Googlemap_0"));
		map_0.clearOverlays();
		map_0.enableDoubleClickZoom();
		map_0.enableContinuousZoom();
		map_0.setMapType(G_NORMAL_MAP); // Vue carte, (G_SATELLITE_MAP: Vue satellite) - (G_HYBRID_MAP: Vue mixte)

		if(latlng!="") {
			var coord=new GLatLng(45.986109,6.168652);
			map_0.setCenter(coord, 13);
		}

		geoXml = new GGeoXml("http://www.google.com/maps/ms?output=nl&hl=fr&ie=UTF8&msa=0&msid=104594204276340936544.00048042a8c979479c9fb&ll=45.986109,6.168652&spn=0.07586,0.181789&z=13&iwloc=A&count=0");
		map_0.addOverlay(geoXml);
		//geoXml.gotoDefaultViewport(map_0);
		map_0.setUIToDefault();

		PosLib = document.getElementById("Lib_0");
		TagSmall=document.createElement("small")
		Lien = document.createElement('a');
		Lien.setAttribute('href',"http://maps.google.fr/maps/ms?hl=fr&ie=UTF8&msa=0&msid=104594204276340936544.00048042a8c979479c9fb&ll=45.986109,6.168652&spn=0.07586,0.181789&z=13&iwloc=A&count=0");
		Lien.appendChild(document.createTextNode("Agrandir le plan"));
		TagSmall.appendChild(Lien);
		PosLib.appendChild(TagSmall);
	}
	else {
		document.getElementById("Googlemap_0").innerHTML="Sorry, your browser can't display Google Maps...";
		}
}
