var controlDef = $H({
	datepicker : $A([{ 
		id 			: "hdatFromDate",
		targetInput	: "hinpFromDate",
		dateOffset: 0,
		linkDP	: "hinpToDate",
		linkOffset : 3,
	  template_container: templates.datepicker_container,
	  template_main: templates.datepicker_main,
	  pickerImg: "himgFromDate"
		},{ 
		id 			: "hdatToDate",
		targetInput	: "hinpToDate",
		dateOffset: 4,
	  template_container: templates.datepicker_container,
	  template_main:templates.datepicker_main,
	  pickerImg: "himgToDate"
		}]), 	
	cityinput : $A([{
		id: "hinpToCity",
		options: {
			useSuggest: true,
			useValidate: true,
			validateURL: System.constant.VALIDATE_URL,
			language: System.currentLanguage,
			suggestShowAirport: false,
			suggestTemplateObj: templates.suggest,
			useHotCity: true,
			hotCityImage: "himgArriHotCity",
			hotCityList : System.language._HOT_CITY_LIST,
			hotCityTemplateObj: templates.hotcity
		}
		}]),
	coolselect : $A([{
		id: "hselSearchHistory",
		templateObj :templates.searchhistory,
		hostDiv: "hdivSearchHistory",
		options: {
		}
		},{
		id: "hselHotelPrice",
		templateObj :templates.coolselect,
		hostDiv: "hdivHotelPrice",
	  options: {
	  	options: System.language._PRICE_RANGE,
	  	name: "priceRange"
	  }
		},{
		id: "hselHotelRoomNumber",
		templateObj :templates.coolselect,
		hostDiv: "hdivHotelRoomNumber",
	  options: {
	  	options: System.language._ROOM_NUMBER,
	  	name: "roomNum"
	  }
		}]),
	htmlformelement: $A ([
		{
		id:	"hinpHotelName"
		},{
		id: "hinpFreeInternet"
		},{
		id: "hinpFreeBusinessCenter"
		}
	])
	});
	
	var adDef = {
	};
	
	var sortButtonDef = {
		id: "hbtgSort",
		name: "sort",
		template: templates.msbg,
		hostDiv: "hdivSortZone",
		options: {
			buttonDef: [
				{
					status: [
						{value: 0,caption: System.language._SORT.price.asc ,disableCaption: System.language._SORT.price.deactive ,selected: true},
						{value: 1,caption: System.language._SORT.price.desc,disableCaption: System.language._SORT.price.deactive}
					],
					activate: false,	
					name: "lowestPrice"
				},{
					status: [
						{value: 0,caption: System.language._SORT.star.asc,disableCaption: System.language._SORT.star.deactive,selected: true},
						{value: 1,caption: System.language._SORT.star.desc,disableCaption: System.language._SORT.star.deactive}
					],
					activate: false,
					name: "star"
				}
			],
			mutexActive: true
		}
	};
