function loadGMap(x,y,zoom) {

	if (GBrowserIsCompatible()) {
		//podmieĹ„ nazwy
		//GMap_names();
		
		div=document.getElementById("mapa");
   	var map = new GMap2(div);
		
		//kontrolki
		map.addControl(new GSmallMapControl());
		map.addControl(new GScaleControl());
		map.addControl(new GMapTypeControl());
		
		//centruj
   	map.setCenter(new GLatLng(x,y),zoom);
		
		
		var pos_icon = new GIcon();
		pos_icon.image = location.protocol+"//"+location.hostname+"/img/other/gmap_marker.png";
		//pos_icon.shadow = location.protocol+"//"+location.hostname+"/img/other/gmap_marker_shadow.png";
		
		pos_icon.iconSize = new GSize(60, 33);
		//pos_icon.shadowSize = new GSize(55, 36);
		pos_icon.iconAnchor = new GPoint(-6, 15);
		
		
		pos_x=41.914880;
		pos_y=12.473496;
		
		var pos_point=new GLatLng(pos_x,pos_y);
		var marker = new GMarker(pos_point,pos_icon);
		map.addOverlay(marker);
	}
}

function GMap_names () {
	G_NORMAL_MAP.getName = function(short) { 
       	if(short) {return "MAP"} 
       	return "Mapa"; 
     	}
	G_SATELLITE_MAP.getName = function(short) { 
       	if(short) {return "SAT"} 
       	return "Zdj. Sat."; 
     	} 
	G_HYBRID_MAP.getName = function(short) { 
       	if(short) {return "HYB"} 
       	return "Hybryda"; 
     	}
}

