lected + '>'+ locationLevels[i] +'</option>';
					optionList += optionValue;
					// console.log("Added " + locationLevels[i] + ", " + level);
					level += 10;
				}
				//
				// Update selector
				document.getElementById("locationlist").innerHTML = optionList;
				// console.log("Set Location Options - Location list populated.");
			},
			error: function () {
				console.log("[ERROR] Set Location Options - Can not communicate to the Domoticz server (" +  requestUrl + ")");
				return false;