function load() {
    if (GBrowserIsCompatible()) {
      
      // this variable will collect the html which will eventually be placed in the side_bar
      var side_bar_html = "";
    
      // arrays to hold copies of the markers and html used by the side_bar
      // because the function closure trick doesnt work there
      var gmarkers = [];
      var i = 0;


      // A function to create the marker and set up the event window
      function createMarker(point,name,html) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        // save the info we need to use later for the side_bar
        gmarkers[i] = marker;
        // add a line to the side_bar html
        side_bar_html += '<a href="javascript:myclick(' + i + ')">' + name + '</a><br>';
        i++;
        return marker;
      }


      // This function picks up the click and opens the corresponding info window
      function myclick(i) {
        GEvent.trigger(gmarkers[i], "click");
      }


      // create the map
      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.setCenter(new GLatLng(54.409904644843415, 22.60336184501648),
         4);
      map.enableDoubleClickZoom();
     // map.addControl(new GMapTypeControl());

      // add the points    
      
       var marker = new GMarker(new GLatLng(54.409904644843415, 18.60336184501648));
         GEvent.addListener(marker, "click", function() {
           var html = '<div style="text-align: center;"><b>PROSERWIS</b><br />Gdańsk</div>';
           marker.openInfoWindowHtml(html);
         });
         map.addOverlay(marker);
         GEvent.trigger(marker, "click");
	 

      // put the assembled side_bar_html contents into the side_bar div
      
      
    }

    else {
      alert("Sorry, Browser is not compatilibe with Google Maps.");
    }
}