
function openWindow(url) {

	var params = "width=500,height=200,location=no,status=no,scrollbars=yes,resizable=no,top=200,left=100";

	if (url == "fromFS") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltForm&Where=B_LOCATION_1','cities',params);
	}
	else if  (url == "toFS") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltForm&Where=E_LOCATION_1','cities',params);
	}
	else if  (url == "fromSC") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltSched&Where=B_LOCATION','cities',params);
	}
	else if  (url == "toSC") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltSched&Where=E_LOCATION','cities',params);
	}
	else if  (url == "fromWC") {
	citylist = window.open('/tw/lib/popup/build.html?Form=formCheckIn&Where=DeptCity','cities',params);
	}
	else if  (url == "toWC") {
	citylist = window.open('/tw/lib/popup/build.html?Form=formCheckIn&Where=dest','cities',params);
	}
	else if  (url == "fromRT") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormRT&Where=B_LOCATION_1','cities',params);
	}
	else if  (url == "toRT") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormRT&Where=E_LOCATION_1','cities',params);
	}
	else if  (url == "fromOW") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormOW&Where=B_LOCATION_1','cities',params);
	}
	else if  (url == "toOW") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormOW&Where=E_LOCATION_1','cities',params);
	}
	else if  (url == "fromMC1") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_1','cities',params);
	}
	else if  (url == "toMC1") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_1','cities',params);
	}
	else if  (url == "fromMC2") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_2','cities',params);
	}
	else if  (url == "toMC2") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_2','cities',params);
	}
	else if  (url == "fromMC3") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_3','cities',params);
	}
	else if  (url == "toMC3") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_3','cities',params);
	}
	else if  (url == "fromMC4") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_4','cities',params);
	}
	else if  (url == "toMC4") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_4','cities',params);
	}
	else if  (url == "fromMC5") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_5','cities',params);
	}
	else if  (url == "toMC5") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_5','cities',params);
	}
	else if  (url == "fromMC6") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=B_LOCATION_6','cities',params);
	}
	else if  (url == "toMC6") {
	citylist = window.open('/tw/lib/popup/build.html?Form=FltFormMC&Where=E_LOCATION_6','cities',params);
	}

}
