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.32367,6.62921);
     var point2 = new GLatLng(62.30351,6.67608);
     var point3 = new GLatLng(62.32558,6.68249);
     var point4 = new GLatLng(62.33232,6.61854);
     var point5 = new GLatLng(62.33084,6.62207);


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

     map.addOverlay(createMarker(point1,"Dravlausegga, 1059m, PF 536m",icon1));
     map.addOverlay(createMarker(point2,"Dravlausegga PF saddle, 523m",icon2));
     map.addOverlay(createMarker(point3,"Dravlausegga parent mountain - Urfjellet, 1267m",icon2));
     map.addOverlay(createMarker(point4,"Straumshornet, 984m, PF 134m",icon1));
     map.addOverlay(createMarker(point5,"Straumshornet PF saddle, 850m",icon2));
   }
}

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




