function load()
{
	if (GBrowserIsCompatible())
	{
		var Hotels = [
			{
				name: "Wyspianski Hotel ***",
				address: "ul. Westerplatte 15",
				coords: [50.060865127571084, 19.944133758544922]
			},
			{
				name: "Best Western Premier ****",
				address: "ul. Opolska 14a",
				coords: [50.098119608470014, 19.9127197265625]
			},
			{
				name: "Hotel Sheraton *****",
				address: "ul. Powiśle 7",
				coords: [50.055850672175566, 19.930003881454468]
			},
			{
				name: "Ibis Centrum Hotel **",
				address: "ul. Syrokomli 2",
				coords: [50.05562335614857, 19.925336837768555]
			},
			{
				name: "Novotel Centrum Hotel ****",
				address: "ul. T. Kościuszki 5",
				coords: [50.05487940525795, 19.925358295440674]
			},
			{
				name: "Cracovia Hotel ***",
				address: "al. F. Focha 1",
				coords: [50.059074310807965, 19.92367386817932]
			},
			{
				name: "Novotel Bronowice Hotel ***",
				address: "ul. Armi Krajowej 11",
				coords: [50.07085114896987, 19.897398948669434]
			},
			{
				name: "Matejko Sq.",
				address: "",
				coords: [50.06645066886604, 19.941998720169067]
			},
			{
				name: "Radisson Sas Hotel *****",
				address: "ul. Straszewskiego 17",
				coords: [50.058619708222025, 19.933147430419922]
			},
			{
				name: "Qubus Hotel *****",
				address: "ul. Nadwiślańska 6",
				coords: [50.047108562128514, 19.95138645172119]
			},
			{
				name: "Chopin Hotel ***",
				address: "ul. Przy Rondzie 2",
				coords: [50.065149041040654, 19.961503744125366]
			},
			{
				name: "Ruczaj Hotel ***",
				address: "ul. Ruczaj 44",
				coords: [50.02603553162685, 19.91896390914917]
			},
			{
				name: "Sympozjum Hotel *****",
				address: "ul. Kobierzyńska 47",
				coords: [50.02330597357645, 19.910316467285156]
			},
			{
				name: "Ester Hotel ***",
				address: "ul. Szeroka 20 ",
				coords: [50.051786374654206, 19.94863986968994]
			},
			{
				name: "Royal Hotel ***",
				address: "ul. Św. Gertrudy 26 - 29",
				coords: [50.054514314027614, 19.939595460891724]
			},
			{
				name: "Andels Hotel ****",
				address: "ul. Pawia 3",
				coords: [50.06579641590865, 19.94516372680664]
			},
			{
				name: "Batory Hotel ***",
				address: "ul. Sołtyka 19",
				coords: [50.06042431733932, 19.95039939880371]
			},
			{
				name: "Holiday Inn Hotel *****",
				address: "ul. Wielopole 4",
				coords: [50.05926717120973, 19.942846298217773]
			},
			{
				name: "System Premium Hotel ***",
				address: "al. 29 Listopada 189",
				coords: [50.10072103894662, 19.96387481689453]
			},
			{
				name: "Kościuszko Hotel ****",
				address: "ul. Papiernicza 3",
				coords: [50.09248269116339, 19.941633939743042]
			},
			{
				name: "Express by Holiday Inn Hotel ***",
				address: "ul. Opolska 14",
				coords: [50.08999094860926, 19.930862188339233]
			},
			{
				name: "System Pop Hotel **",
				address: "ul. J.Conrada 35",
				coords: [50.08862112334296, 19.90100383758545]
			},
			{
				name: "Major Hotel ***",
				address: "ul. Gdyńska 6",
				coords: [50.08981197868749, 19.912397861480713]
			},
			{
				name: "Logos Hotel ***",
				address: "ul. Szujskiego 5",
				coords: [50.063998896054464, 19.929102659225464]
			}
		];
		var map = new GMap2(document.getElementById("gmap"));
		map.setCenter(new GLatLng(50.07, 19.93), 13);
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		var markers = new Array();
		var cracowIcon = new GIcon();
		cracowIcon.image = 'http://www.cracowtours.pl/graphics/fl_crac.png';
		cracowIcon.shadow = 'http://www.cracowtours.pl/graphics/cien.png';
		cracowIcon.transparent = 'http://www.cracowtours.pl/graphics/alpha_fl_crac.png';
		cracowIcon.iconSize = new GSize(29, 30);
		cracowIcon.shadowSize = new GSize(44, 30);
		cracowIcon.iconAnchor = new GPoint(2, 30);
		cracowIcon.infoWindowAnchor = new GPoint(13, 14);
		for (var i = 0; i < Hotels.length; i++)
		{
			markers[i] = new GMarker(new GLatLng(Hotels[i]['coords'][0], Hotels[i]['coords'][1]), cracowIcon);
			markers[i].hotelData = Hotels[i];
			map.addOverlay(markers[i]);
			GEvent.addListener(map, "click",
				function (marker, point)
				{
					if (marker && marker.hotelData)
						marker.openInfoWindowHtml("<b>"+marker.hotelData['name']+"</b><br /><br />"+marker.hotelData['address']);
				}
			);
		}
	}
}
