<!--
		var currentProvince = 0;

		function displayMap(map)
		{
			// in comment daar deze niet meer gebruikt moet worden, dit is nu een swf ipv een gif. 28/11/2006 alexlaba
//			if (document.images)
//			{
//				tocon                  = new Image();
//				tocon.src              = "/images/" + map + ".gif";
//				imgOn                  = eval("tocon.src");
//            document["kaartr2"].src = imgOn;
//			}
		}

		function displayProvinces(country)
		{
			var selProvince = document.getElementById("selProvince");

			selProvince.options.length = 0;

			var option = new Option("", "");
			selProvince.options[selProvince.options.length] = option;

			for (i=0; i<country.provinces.length; i++)
			{
				province = country.provinces[i];
				if(typeof(province) != "undefined"){
				option = new Option(province.name, province.id);
				selProvince.options[selProvince.options.length] = option;
				}
			}
		}

		function displayCities(provindex)
		{
			var selCity = document.getElementById("selCity");
			var selProvince = document.getElementById("selProvince");

			clearFields();
			selCity.options.length = 0;

			if (provindex < 0) return;
			province = ctryBelgium.provinces[provindex];
			if (province)
			{
				displayMap(province.kaart);
				for(w=0;w<selProvince.options.length;w++){
					if(selProvince.options[w].value == provindex){
						selProvince.options[w].selected = true;
					}
				}
				currentProvince = provindex;
				for (i=0; i<province.cities.length; i++)
				{
					city = province.cities[i];
					option = new Option(city.zip + " " + city.name, city.zip);
					selCity.options[selCity.options.length] = option;
				}
			}
		}
		function changeProvince(provindex)
		{
			if(typeof(zip) == 'undefined'){
				zip = "";
			}
			document.frmSearch.zip.value = zip;
			document.frmSearch.city.value = '';
			if(typeof(provindex) == 'object'){
			currentProvince = provindex.value;
			}else{
				if(provindex != ''){
				currentProvince = provindex + 1;
				}else{
				currentProvince = provindex;
				}
			}
			currentCity = -1;
			if (currentProvince >= 0){
				displayCities(currentProvince);
				document.frmSearch.prv_cde.value = currentProvince;
			}else{
				displayMap("kaartr");
				displayCities(-1);
			}
		}

		function change_image(imgName, image)
		{
			if ( document.images )
			{
				tocon                 = new Image();
				tocon.src             = "/images/" + image + ".jpg";
				imgOn                 = eval("tocon.src");
				document[imgName].src = imgOn;
			}
		}

		function selectCity(cityindex)
		{
			var selCity = document.getElementById("selCity");
			province = ctryBelgium.provinces[currentProvince];
			city = province.cities[cityindex];
			document.frmSearch.zip.value = city.zip;
			document.frmSearch.city.value = city.name;
		}

		function clearFields()
		{
//			document.frmSearch.zip.value = "";
//			document.frmSearch.city.value = "";
			document.frmSearch.prv_cde.value = "";
		}

		//-->


