function loadmap(longitude,latitude,scale,text) {
	  
	  var location = new GLatLng(latitude, longitude, true);

      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById('map'));
        map.setCenter(location, scale);
        map.addControl(new GSmallMapControl());		

        var marker = new GMarker(location);
		
		GEvent.addListener(marker, 'click',
                  function() {
                  marker.openInfoWindowHtml(text);
                  }
         );
         map.addOverlay(marker);
      }
    }

