var map = null;
function initialize()
{
if (GBrowserIsCompatible())
{
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(50.201847,1.800107),9);
map.setMapType(G_NORMAL_MAP);
map.addControl(new GSmallMapControl());
addMarker(50.1336, 1.94709, '

Abbatiale, SAINT-RIQUIER
s\'y rendre
© Philippe Guillaume
', 1);addMarker(50.087, 1.90911, '
Eglise Saint-Martin, BELLANCOURT
s\'y rendre
© Philippe Guillaume
', 2);addMarker(50.1094, 1.83725, '
Eglise Saint-Sepulcre, ABBEVILLE
s\'y rendre
© Philippe Guillaume
', 3);addMarker(50.1336, 1.94709, '
Centre Culturel - Salle de conférence, SAINT-RIQUIER
s\'y rendre
© Philippe Guillaume
', 4);addMarker(50.1445, 1.97405, '
Eglise Saint-Martin, ONEUX
s\'y rendre
© Philippe Guillaume
', 5);addMarker(50.2713, 1.67314, '', 6);addMarker(50.3412, 1.83687, '
Abbaye de Valloires, ARGOULES
s\'y rendre
© Jacques Jullien
', 7);addMarker(50.0396, 1.98094, '
Eglise Saint-Jean-Baptiste, LONG
s\'y rendre
© Philippe Guillaume
', 9);addMarker(50.1049, 1.84037, '
Théâtre Municipal, ABBEVILLE
s\'y rendre
© Philippe Guillaume
', 10);addMarker(50.1087, 1.8324, '', 11);addMarker(49.8984, 2.2723, '', 12);addMarker(50.1079, 1.8357, '', 13);addMarker(50.133, 1.94981, '', 14);addMarker(50.133, 1.94981, '', 15);addMarker(50.1336, 1.94709, '
Parvis de l'Abbatiale, SAINT-RIQUIER
s\'y rendre
© Philippe Guillaume
', 16); }
}
function addMarker(lat, lon, info, _nb)
{
// Create our "tiny" marker icon
var blueIcon = new GIcon(G_DEFAULT_ICON);
blueIcon.iconSize = new GSize(30,30);
blueIcon.shadowSize = new GSize(1,1);
/*var strChUserAgent = navigator.userAgent;
var intSplitStart = strChUserAgent.indexOf("(",0);
var intSplitEnd = strChUserAgent.indexOf(")",0);
var strChStart = strChUserAgent.substring(0,intSplitStart);
var strChMid = strChUserAgent.substring(intSplitStart, intSplitEnd);
if(strChMid.indexOf("MSIE 6") != -1)
IE6 = true;
else
IE6 = false;*/
blueIcon.image = "http://www.festival-de-saint-riquier.fr/images/map.png";
// Set up our GMarkerOptions object
var markerOptions = { icon:blueIcon };
var point = new GLatLng(lat,lon);
var _m = new GMarker(point,markerOptions);
GEvent.addListener(_m, "mouseover", function(){_m.openInfoWindowHtml(info)});
GEvent.addListener(_m, "click", function(){_m.openInfoWindowHtml(info)});
map.addOverlay(_m);
if(_nb == -1)
{
map.openInfoWindowHtml(point, info);
}
}