function ShowMap2( Elem, Gmaps)
{
if (GBrowserIsCompatible())
{
var map = new GMap2(Elem);
var point=new GLatLng( Gmaps[0][0], Gmaps[0][1] );

map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(point, Gmaps[0][2]);

scale = new GScaleControl();
map.addControl(scale);

var icon = new GIcon();
icon.image = "http://www.4hotele.pl/hotele_gfx_pl/hotele_m_o_H.png";
icon.shadow = "http://www.4hotele.pl/hotele_gfx_pl/hotele_m_shadow.png";
icon.iconSize = new GSize(19, 32);
icon.shadowSize = new GSize(40, 32);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);

var marker = new GMarker(point , icon)
map.addOverlay( marker );
GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(Gmaps[0][3]);});
marker.openInfoWindowHtml(Gmaps[0][3]);
}
}


