//function load() {
						//<![CDATA[
						// Variable qui va correspondre à l'affichage de la carte dans la "div"
						var map = new GMap2(document.getElementById("map"));
						// Centre la carte aux coordonnées indiquées
						var bewan = new GLatLng(50.3899408,4.460295);
						map.setCenter(bewan, 10);
						map.addControl(new GSmallMapControl());
						<!--map.addControl(new GSmallMapControl());-->
						map.addControl(new GMapTypeControl());
						var icoMarker = new GIcon();
						icoMarker.image = "http://typo3.groupebullman.be/fileadmin/templates/ds/page/images/gmaps_logo.png";
						//icoMarker.shadow = "http://www.agc-architecture-citytrip.com/RSK/IMG/map_items/agc_marker_shad.png";
						icoMarker.iconSize = new GSize(58,58);
						//icoMarker.shadowSize = new GSize (30,17);
						icoMarker.iconAnchor = new GPoint(8,38);
						icoMarker.infoWindowAnchor = new GPoint (60,00);
						if (GBrowserIsCompatible())
						{
						// this variable will collect the html which will eventually be placed in the side_bar
						var side_bar_html = "";
						// arrays to hold copies of the markers and html used by the side_bar
						// because the function closure trick doesnt work there
						var gmarkers = [];
						var htmls = [];
						var to_htmls = [];
						var from_htmls = [];
						var i = 0;
						var places = [];
						places[0] = 'Bullman';
						places[1] = 'Bullman';
						places[2] = 'Bullman';
						places[3] = 'Bullman';
						places[4] = 'Bullman';
						// A function to create the marker and set up the event window
						function createMarker(point,name,obj)
						{
						to_htmls[i] = '<strong>Aller chez '+places[i]+'</strong> - <a href="javascript:switchContent(\''+i+'\',\'from\')">Itinéraire retour</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' +
						'<br><br>Adresse de départ :<form action="http://maps.google.com/maps" method="get" target="_blank">' +
						'<input style="color:#666;" type="text" SIZE=20 MAXLENGTH=40 name="saddr" id="saddr" value="" /><br><br>' +
						'<INPUT style="color:#000;" value="Calculer l\'itinéraire" TYPE="SUBMIT">' +
						'<input type="hidden" name="daddr" value="' + point.lat() + ',' + point.lng() +
						// "(" + name + ")" +
						'"/>';
						// alert(to_htmls[i]);
						var infoTabs = [
						// new GInfoWindowTab(obj.tab1_title, obj.tab1_content),
						new GInfoWindowTab("Itinéraire", "<div class='infoWindowText' id='m"+i+"'>"+to_htmls[i]+"</div>")// "<div class='infoWindowText' id='m"+i+"'><a href=\"javascript:switchContent('"+i+"','to')\">Aller</a> - <a href=\"javascript:switchContent('"+i+"','from')\">Retour</a></div>")
						];
						var marker = new GMarker(point,icoMarker);
						// The info window version with the "to here" form open
						to_htmls[i] = '<strong>Aller chez '+places[i]+'</strong> - <a href="javascript:switchContent(\''+i+'\',\'from\')">Itinéraire retour</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' +
						'<br><br>Adresse de départ :<form action="http://maps.google.com/maps" method="get"'+
						' target="_blank">' +
						'<input style="color:#666;" type="text" SIZE=20 MAXLENGTH=40 name="saddr" id="saddr" value="" /><br><br>' +
						'<INPUT style="color:#000;" value="Calculer l\'itinéraire" TYPE="SUBMIT">' +
						'<input type="hidden" name="daddr" value="' + point.lat() + ',' + point.lng() +
						// "(" + name + ")" +
						'"/>';
						// The info window version with the "to here" form open
						from_htmls[i] = '<a href="javascript:switchContent(\''+i+'\',\'to\')">Aller chez '+places[i]+'</a> - <strong>Itinéraire retour</strong>' +
						"<br><br>Adresse d'arrivée :<form action='http://maps.google.com/maps' method='get' target='_blank'>" +
						'<input type="text" SIZE=20 MAXLENGTH=40 name="daddr" id="daddr" value="" /><br><br>' +
						'<INPUT style="color:#000;" value="Calculer l\'itinéraire" TYPE="SUBMIT">' +
						'<input type="hidden" name="saddr" value="' + point.lat() + ',' + point.lng() +
						// "(" + name + ")" +
						'"/>';
						// The inactive version of the direction info
						//html = html + '<br>Directions: <a href="javascript:tohere('+i+')">To here</a> - <a href="javascript:fromhere('+i+')">From here</a>';*/
						GEvent.addListener(marker, "click", function()
						{
						marker.openInfoWindowTabsHtml(infoTabs);
						});
						GEvent.addListener(marker, "infowindowopen", function()
						{
						// initLightbox();
						});
						// save the info we need to use later for the side_bar
						gmarkers[i] = marker;
						// add a line to the side_bar html
						side_bar_html += '<li><a href="javascript:myclick(' + i + ')">' + name + '</a></li>';
						i++;
						return marker;
						}
						// This function picks up the click and opens the corresponding info window
						function myclick(i)
						{
						GEvent.trigger(gmarkers[i], "click");
						}
						function switchContent(id,type)
						{
						if(type=="to" && document.getElementById("m"+id)) document.getElementById("m"+id).innerHTML=to_htmls[id];
						if(type=="from" && document.getElementById("m"+id)) document.getElementById("m"+id).innerHTML=from_htmls[id];
						}
						// add the points
						var point = new GLatLng(50.8719806,4.4061878);
						var marker = createMarker(point,"bewan",{tab1_title:"Adresse",tab1_content:"<div style='position:relative; width:180px; height:150px;' class='infoWindowText'><strong style='font-size:14px;'>Deli XL</strong><br><br>Route de Philippeville 113 - 6010 Couillet<br>Téléphone : 071/25.68.11<br>Fax : 071/34.43.37<br><br><a href='mailto:info@delixl.be'>info@delixl.be</a><strong></div>"});
						map.addOverlay(marker);
						var point2 = new GLatLng(50.3899408,4.460295);
						var marker2 = createMarker(point2,"bewan",{tab1_title:"Adresse",tab1_content:"<div style='position:relative; width:180px; height:150px;' class='infoWindowText'><strong style='font-size:14px;'>Deli XL</strong><br><br>Rue de Gilly 393A - 6200 Châtelineau<br>Téléphone : 071/25.68.11<br>Fax : 071/34.43.37<br><br><a href='mailto:info@delixl.be'>info@delixl.be</a><strong></div>"});
						map.addOverlay(marker2);
						var point3 = new GLatLng(50.4118555,4.5027727);
						var marker3 = createMarker(point3,"bewan",{tab1_title:"Adresse",tab1_content:"<div style='position:relative; width:180px; height:150px;' class='infoWindowText'><strong style='font-size:14px;'>Deli XL</strong><br><br>Rue de la Providence,17 - 6030 Marchienne-au-Pont<br>Téléphone : 071/25.68.11<br>Fax : 071/34.43.37<br><br><a href='mailto:info@delixl.be'>info@delixl.be</a><strong></div>"});
						map.addOverlay(marker3);
						var point4 = new GLatLng(50.4116071,4.396998);
						var marker4 = createMarker(point4,"bewan",{tab1_title:"Adresse",tab1_content:"<div style='position:relative; width:180px; height:150px;' class='infoWindowText'><strong style='font-size:14px;'>Deli XL</strong><br><br>Rue de la Providence,17 - 6030 Marchienne-au-Pont<br>Téléphone : 071/25.68.11<br>Fax : 071/34.43.37<br><br><a href='mailto:info@delixl.be'>info@delixl.be</a><strong></div>"});
						map.addOverlay(marker4);
						var point5 = new GLatLng(50.1499242,4.2602884);
						var marker5 = createMarker(point5,"bewan",{tab1_title:"Adresse",tab1_content:"<div style='position:relative; width:180px; height:150px;' class='infoWindowText'><strong style='font-size:14px;'>Deli XL</strong><br><br>Rue de la Providence,17 - 6030 Marchienne-au-Pont<br>Téléphone : 071/25.68.11<br>Fax : 071/34.43.37<br><br><a href='mailto:info@delixl.be'>info@delixl.be</a><strong></div>"});
						map.addOverlay(marker5);
						<!--myclick("0");-->
						switchContent("0","to");
						}
						else{
						alert("Sorry, the Google Maps API is not compatible with this browser");
						}
						//}
						//]]>
