function countryCodes() {

	return CodeCountryPairs = new Array (
			'Amsterdam=AMS',
			
			'Athens=ATH',
			
			'Bangalore=BLR',
			
			'Brussels=BRU',
			
			'Calcutta=CCU',
			
			'Chennai=MAA',
			
			'Copenhagen=CPH',
			
			'Delhi=DEL',
			
			'Dhaka=DAC',
			
			'Dusseldorf=DUS',
										 
			'Frankfurt=FRA',
			
			'Geneva=GVA',
			
			'Glasgow=GLA',
			
			'Helsinki=HEL',
			
			'Hyderabad=HYD',
			
			'Istanbul=IST',
			
			'Lagos=LOS',
			
			'London=LON',
			
			'Moscow=MOW',
			
			'Mumbai=BOM',
			
			'Munich=MUC',
			
			'Nice=NCE',
			
			'Oslo=OSL',
			
			'Paris=PAR',
			
			'Prague=PRG',
			
			'Sofia=SOF',
			
			'Stockholm=STO',
			
			'Zurich=ZRH'

		);
}		     



function GetResults(sSearch) {

	var arrCountryCodePairs = new countryCodes(),
		i, arrResults = new Array(arrCountryCodePairs.length), arrBits, objResult, iCount = 0;

	for (i=0; i < arrCountryCodePairs.length; i++) {
		arrBits = arrCountryCodePairs[i].split('=');

		if (arrBits.length > 1){
			if (arrBits[1].toLowerCase().indexOf(sSearch.toLowerCase()) != -1) {
				objResult = {};
				objResult.id = arrBits[0];
				objResult.text = arrBits[1];

				arrResults[iCount] = objResult;
				iCount++;
			}
		}
	}

	return arrResults;
}

function HandleChoice(sID, sText, arrExtra) {
	return alert(sID +' : '+ sText);
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


