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