var controlDef = $H({
	datepicker : $A([{ 
		id 			: "deptDate",
		targetInput	: "deptDate",
		dateOffset: 0,
		linkDP	: "arriDate",
		linkOffset : 3,
	  template_container: templates.datepicker_container,
	  template_main: templates.datepicker_main,
	  pickerImg: "himgDeptDate"
		},{ 
		id 			: "arriDate",
		targetInput	: "arriDate",
		dateOffset: 4,
	  template_container: templates.datepicker_container,
	  template_main: templates.datepicker_main,
	  pickerImg: "himgArriDate"
		}]), 	
	cityinput : $A([{
		id: "hinpFromCity",
		options: {
			useSuggest: true,
			useValidate: true,
			validateURL: System.constant.VALIDATE_URL,
			language: System.currentLanguage,
			showAirport: true,
			suggestTemplateObj: templates.suggest,
			useHotCity: true,
			hotCityImage: "himgDeptHotCity",
			hotCityList : System.language._HOT_CITY_LIST,
			hotCityTemplateObj: templates.hotcity,
			homeCountry : System.language._CHINA
		}
		},
		{
		id: "hinpToCity",
		options: {
			useSuggest: true,
			useValidate: true,
			validateURL: System.constant.VALIDATE_URL,
			language: System.currentLanguage,
			showAirport: true,
			suggestTemplateObj: templates.suggest,
			useHotCity: true,
			hotCityImage: "himgArriHotCity",
			hotCityList : System.language._HOT_CITY_LIST,
			hotCityTemplateObj: templates.hotcity,
			homeCountry : System.language._CHINA
		}
		}]),
	coolselect : $A([{
		id: "hselDaysRange",
		templateObj :templates.coolselect,
		hostDiv: "nextNDaysOutDiv",
	  options: {
	  	options: System.language._DAYS_RANGE,
	  	name: "daysRange"
	  }
		}]),
	htmlformelement: $A ([
		{
		id:	"hrndRoundTrip"
		},{
		id: "hrndOneWay"
		}
	])
	});
	

	
