function bindInputComp() {
	//绑定日历
	$("#txtfltdate").setCalendar('txtfltdate',false,'txtfltdate','','','2008-12-01','2016-12-30','','','','text','txtarrcity');
	$("#txtbackdate").setCalendar('txtbackdate',false,'txtbackdate','','','2008-12-01','2016-12-30','','','','text','','txtfltdate', 'txtfltdate');
	$("#txtfltdate1").setCalendar('txtfltdate1',false,'txtfltdate1','','','2008-12-01','2016-12-30','','','','text','txtarrcity1');
	$("#txtfltdate2").setCalendar('txtfltdate2',false,'txtfltdate2','','','2008-12-01','2016-12-30','','','','text','txtarrcity2','txtfltdate1', 'txtfltdate1');
	
	//把城市框绑定城市suggest
	$("#txtdepcity").autocomplete({get:filtCity, callback: fillDepCity1,
											 right:1, left:2, showwho:1, width:180, next:'txtfltdate'});
	$("#txtdepcity1").autocomplete({get:filtCity, callback: fillDepCity1,
											 right:1, left:2, showwho:1, width:180, next:'txtfltdate1'});
	$("#txtdepcity2").autocomplete({get:filtCity, callback: fillDepCity2,
											 right:1, left:2, showwho:1, width:180, next:'txtfltdate2'});
	$("#txtarrcity").autocomplete({get:filtCity, callback: fillArrCity1,
											 right:1, left:2, showwho:1, width:180, next:'txtbackdate'});
	$("#txtarrcity1").autocomplete({get:filtCity, callback: fillArrCity1,
											 right:1, left:2, showwho:1, width:180, next:'txtdepcity2'});
	$("#txtarrcity2").autocomplete({get:filtCity, callback: fillArrCity2,
											 right:1, left:2, showwho:1, width:180});
	//把出票城市绑定到出票城市suggest
	$("#ticketCitycn").autocomplete({get:filtTicketCity, callback: fillTicketCity,
											 right:1, left:2, showwho:1, width:180});
	//把航空公司绑定到航空公司suggest
	if ($(":text[@complete=carrier]")) {
		$(":text[@complete=carrier]").autocomplete({get:filtCarrier, callback: fillCarrier,
											 right:2, left:1, showwho:1, width:180});
	}
}

