style.display = 'none';
		getJSON('/x/loc/autocomplete?k='+document.getElementById('search-location').value.trim(), function(status, res) {
			if (status == 200 && typeof res != 'undefined') {
				var suggestions = '';
				for (var item of res) {
					var display = item.name;
					if (item.country) {
						display+=', '+item.country;
					}
					display+=' '+item.emoji;
					suggestions += '<div class="search-option" id="loc-option-'+item.name+'" data-val="'+item.name+'">'+display+'</div>';
				}
				if (su