function load() {
   if (GBrowserIsCompatible()) {
     var map = new GMap2(document.getElementById("map"));
     map.enableScrollWheelZoom(); 

     var icon = new GIcon();
     icon.image = "foot.gif";
     icon.iconSize = new GSize(12, 20);
     icon.iconAnchor = new GPoint(6, 20);
     icon.infoWindowAnchor = new GPoint(5,1);

     map.addMapType(G_PHYSICAL_MAP);
     map.addControl(new GSmallMapControl());
     map.addControl(new GMapTypeControl());
     map.setCenter(new GLatLng(40,0), 5);
     map.setMapType(G_PHYSICAL_MAP);

     var point = new GLatLng(38.27800,-0.85852);
     map.addOverlay(createMarker(point,icon));

   }
}

function createMarker(point,icon) {
   var marker = new GMarker(point,icon);
   


   return marker;
}
















