	function getAllCityForTheProvince(ProvinceID,cityID) { 

			// czyszczenie SELECT'A "miasto"
			var oneChild;
			var mainObj = document.getElementById("miasto");
			//usuwamy wszytskie dzieci z SELECT'A "miasto"
			while (mainObj.childNodes.length > 0) {
				oneChild = mainObj.lastChild
				mainObj.removeChild(oneChild);
			}
			// tworzymy OPTION z nazwą "wybierz" i dodajemy do SELECT'A
			createOptionSelect = document.createElement("OPTION");
			createOptionSelect.innerHTML = 'wybierz';
			document.getElementById('miasto').appendChild(createOptionSelect);

		if (document.getElementById('region').options[document.getElementById('region').selectedIndex].id) {

			// ustawienie zmiennej z id województwa
			if (!ProvinceID) {
				ProvinceID =  document.getElementById('region').options[document.getElementById('region').selectedIndex].id;
			}

			// odczytujemy ID województwa
			var defList = document.getElementById(pad(ProvinceID)+'_dt').nextSibling;

			while ( defList.nodeName == '#text' && defList.nodeName != null) {
				defList = defList.nextSibling;
			}

			for(var j=0;j<defList.childNodes.length;j++) {

				if(defList.childNodes[j].nodeName == "DL") {
					citiesList = defList.childNodes[j];
					break;
				}
			}

			//Szukamy DLki z miastami w ramach znalezionego województwa
			for (var i=0;i<citiesList.childNodes.length;i++) {
				if (citiesList.childNodes[i].nodeName == "DT") {

					// znajdujemy nazwę miasta
					city = citiesList.childNodes[i].childNodes[0].nodeValue;

					// nadajemy DT znalezionego miasta id
					citiesList.childNodes[i].id = pad(city)+'_dt';
					// tworzymy OPTION z nazwą miasta i dodajemy do SELECT'A
					createOption = document.createElement("OPTION");
					createOption.innerHTML = city;
					createOption.value = city;
					createOption.id = city;
					if ( pad(cityID) == pad(city) ) {
						createOption.selected = true;
					}
					document.getElementById('miasto').appendChild(createOption);
				}
			}
		}
	}