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.234503,13.17103),{icon: new GIcon(G_DEFAULT_ICON,"https://gmaps-samples.googlecode.com/svn/trunk/markers/red/blank.png")})); map.setCenter(new GLatLng(49.234503,13.17103),20); return map; }