function load() {
   if (GBrowserIsCompatible()) {
     var map = new GMap2(document.getElementById("map"));
     var icon1 = new GIcon();
     icon1.image = "/fpage/google/markerie.gif";
     icon1.shadow = "/fpage/google/dithshadow.gif";
     icon1.iconSize = new GSize(12, 20);
     icon1.shadowSize = new GSize(22, 20);
     icon1.iconAnchor = new GPoint(6, 20);
     icon1.infoWindowAnchor = new GPoint(5, 1);
     var icon2 = new GIcon();
     icon2.image = "/fpage/google/dd-startie.gif";
     icon2.shadow = "/fpage/google/dithshadow.gif";
     icon2.iconSize = new GSize(12, 20);
     icon2.shadowSize = new GSize(22, 20);
     icon2.iconAnchor = new GPoint(6, 20);
     icon2.infoWindowAnchor = new GPoint(5, 1);

     var point1 = new GLatLng(65.16882,12.17096);
     var point2 = new GLatLng(65.11505,12.19647);
     var point3 = new GLatLng(65.10341,12.14192);

     map.addMapType(G_PHYSICAL_MAP);
     map.addControl(new GSmallMapControl());
     map.addControl(new GMapTypeControl());
     map.setCenter(new GLatLng(65.13346,12.16144), 11);
     map.setMapType(G_PHYSICAL_MAP);

     map.addOverlay(createMarker(point1,"Holmshatten/Holmsfjellet, 620m, PF 597m",icon1));
     map.addOverlay(createMarker(point2,"Holmshatten PF saddle, 23m",icon2));
     map.addOverlay(createMarker(point3,"Parent mountain - Litlhornet, 797m",icon2));
   }
}

function createMarker(point,what,icon) {
   var marker = new GMarker(point,icon);
   GEvent.addListener(marker, "click", function() {
     marker.openInfoWindowHtml(what);
   });
   return marker;
}




