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(62.13603,5.87057);
     var point2 = new GLatLng(62.11605,5.80962);
     var point3 = new GLatLng(62.10065,5.87597);
     var point4 = new GLatLng(62.13277,5.84068);
     var point5 = new GLatLng(62.13400,5.85464);

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

     map.addOverlay(createMarker(point1,"Snøhornet, 1024m, PF 411m",icon1));
     map.addOverlay(createMarker(point2,"Snøhornet PF saddle, 613m",icon2));
     map.addOverlay(createMarker(point3,"Parent mountain - Vardehornet, 1107m",icon2));
     map.addOverlay(createMarker(point4,"Litlehornet, 965m, PF 127m",icon1));
     map.addOverlay(createMarker(point5,"Litlehornet PF saddle, 838m",icon2));
   }
}

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




