function load() {
var map = new GMap2(document.getElementById("map-google"));
var bottomLeft = new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(10,35));
map.setMapType(G_NORMAL_MAP);
map.setCenter(new GLatLng(46.74,1.60), 5);
var baseIcon = new GIcon();
baseIcon.iconSize = new GSize(12, 20);
baseIcon.shadowSize = new GSize(22, 20);
baseIcon.iconAnchor = new GPoint(6, 20);
baseIcon.image = 'http://www.bpw.fr/datas/img/theme/gmap-pointer.png';
baseIcon.shadow = "http://www.bpw.fr/datas/img/theme/gmap-shadow.png";
baseIcon.infoWindowAnchor = new GPoint(0, 0);  

function createMarker(point, url, icon)
{
 var marker = new GMarker(point, icon);
 map.addOverlay(marker);
 GEvent.addListener(marker, "click", function() {
		   window.location=url;
 });
}

var point0 = new GLatLng(44.837856,-0.579185);
var point1 = new GLatLng(48.444082,1.483543);
var point2 = new GLatLng(43.703427,7.266266);
var point3 = new GLatLng(48.007716,0.198579);
var point4 = new GLatLng(50.637183,3.063017);
var point5 = new GLatLng(43.297612,5.381042);
var point6 = new GLatLng(48.856667,2.350987);
var point7 = new GLatLng(42.701574,2.89415);
var point8 = new GLatLng(45.439637,4.387831);
var point9 = new GLatLng(48.582933,7.743749);
var point10 = new GLatLng(43.125161,5.931112);
var point11 = new GLatLng(47.390294,0.688851);
createMarker(point0, 'http://www.bpw.fr/fr/clubs/bordeaux.html', baseIcon);
createMarker(point1, 'http://www.bpw.fr/fr/clubs/chartres.html', baseIcon);
createMarker(point2, 'http://www.bpw.fr/fr/clubs/cotedazur.html', baseIcon);
createMarker(point3, 'http://www.bpw.fr/fr/clubs/lemans.html', baseIcon);
createMarker(point4, 'http://www.bpw.fr/fr/clubs/lille.html', baseIcon);
createMarker(point5, 'http://www.bpw.fr/fr/clubs/marseille.html', baseIcon);
createMarker(point6, 'http://www.bpw.fr/fr/clubs/paris.html', baseIcon);
createMarker(point7, 'http://www.bpw.fr/fr/clubs/perpignan.html', baseIcon);
createMarker(point8, 'http://www.bpw.fr/fr/clubs/rhonealpes.html', baseIcon);
createMarker(point9, 'http://www.bpw.fr/fr/clubs/strasbourg.html', baseIcon);
createMarker(point10, 'http://www.bpw.fr/fr/clubs/toulon.html', baseIcon);
createMarker(point11, 'http://www.bpw.fr/fr/clubs/tours.html', baseIcon);
}
