function MapCreate(map) { if (map == null) map = "Map"; if (typeof(map) == "string") map = new GMap2(document.getElementById(map)); map.setUIToDefault(); map.setMapType(G_HYBRID_MAP); map.addOverlay(new GMarker(new GLatLng(49.784344444,14.874877778),{icon: new GIcon(G_DEFAULT_ICON,"https://gmaps-samples.googlecode.com/svn/trunk/markers/red/blank.png")})); map.setCenter(new GLatLng(49.784344444,14.874877778),20); return map; }