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(61.94896,5.09166);
     var point2 = new GLatLng(61.95690,5.10785);
     var point3 = new GLatLng(61.95280,5.09942);
     var point4 = new GLatLng(61.94989,5.11273);
     var point5 = new GLatLng(61.95122,5.11080);


     map.addMapType(G_PHYSICAL_MAP);
     map.addControl(new GSmallMapControl());
     map.addControl(new GMapTypeControl());
     map.setCenter(new GLatLng(61.95129,5.10210), 10);
     map.setMapType(G_PHYSICAL_MAP);

     map.addOverlay(createMarker(point1,"Veten, 613m, PF 613m",icon1));
     map.addOverlay(createMarker(point2,"Brurahornet, 604m, PF 179m",icon1));
     map.addOverlay(createMarker(point3,"Brurahornet PF saddle, 425m",icon2));
     map.addOverlay(createMarker(point4,"Gottrøysa, 556m, PF 26m",icon1));
     map.addOverlay(createMarker(point5,"Gottrøysa PF saddle, 530m",icon2));
   }
}

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




