function GetAirport(objLink, strItem) {
	var lst;
	
	lst = document.SearchForm.CA1;
	
	if (lst) {
		objLink.search = '?code=' + lst.value + '&item=' + strItem;
	}
	popupAirports();
}

function SetReturnAirport(strItem, strCountry, strCity, strAirport, strCode) {
	var lst, strValue;
	
	if (strItem != '')
		lst = document.SearchForm[strItem];
	
	if (lst) {
		lst.value = strCode;
		
		if (lst.selectedIndex == -1) {
			var opt;
			
			strValue = strCity + ((strCountry != '') ? ', ' + strCountry : '') + ' -' + strCode

			opt = new Option;
			opt.text = strValue;
			opt.value = strCode;
			opt.selected = true;
			lst.options[lst.length] = opt;
		}
	}
}

