function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(56.2032657, 22.6818666), 14);
        map.addControl(new GSmallMapControl());
        
		var icon = new GIcon();
        icon.image = "img/logo_google.gif";
        icon.iconSize = new GSize(151, 22);
        icon.iconAnchor = new GPoint(0, 0);
        icon.infoWindowAnchor = new GPoint(0, 0);
        
		var bounds = map.getBounds();
        var southWest = bounds.getSouthWest();
        var northEast = bounds.getNorthEast();
		var point = new GLatLng(56.2032657, 22.6818666);
		
        map.addOverlay(new GMarker(point, icon));
      }
}

function popupWindow(mypage, myname, w, h){
	var win= null;
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	var settings  ='height='+h+',';
	    settings +='width='+w+',';
	    settings +='top='+wint+',';
	    settings +='left='+winl+',';
	    settings +='scrollbars=no,';
	    settings +='resizable=no';
	win = window.open(mypage, myname, settings);
}