if(info.NO_OF_STNS) {
	if(info.NO_OF_STNS < 100) {
		var maxInputRange = info.NO_OF_STNS;
	} else {
		var maxInputRange = "100";
	}
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm3130_preload", preload: [{name: "RANGE_TYPE_1", range_type: 1}, {text: langs.getText("common","enter_stnrange")+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()+"<br><br>"+langs.getText("toolTip","maxinputrange")+" - "+maxInputRange}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("common","stnrange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm3130_mktbl", table: [{label: langs.getText("common","room_num")}, {label: langs.getText("common","status")}, 
														 {label: langs.getText("p3130","checkin_time")}, {label: langs.getText("common","guest_name")}, {label: langs.getText("common","cos")}, 
														 {label: langs.getText("common","icm_call")}, {label: langs.getText("common","txt_group")}, {label: langs.getText("common","wakeup")}, 
														 {label: langs.getText("common","wakeup")+" 1"}, {label: langs.getText("common","wakeup")+" 2"}, {label: langs.getText("common","wakeup")+" 3"}, 
														 {label: langs.getText("common","wakeup")+" 4"}, {label: langs.getText("common","wakeup")+" 5"}, {label: langs.getText("common","auth")}, 
														 {label: langs.getText("common","prepaid")}, {label: langs.getText("p3130","crt")}, {label: langs.getText("common","charge")}, 
														 {label: langs.getText("common","room_class")}, {label: langs.getText("common","multi_language")}, {label: langs.getText("common","wakeup_annc")}, 
														 {label: langs.getText("common","company_name")}, {label: langs.getText("common","street_addr")}, {label: langs.getText("common","city_addr")}],
										 data_form: [{key: "", tr: [{name: "CHK_ROOM", value: "", label: 1}, {name: "CHK_STATUS", value: "", label: 1}, 
																			  {name: "CHK_STIME", value: "", select:[{value: "0", option: langs.getText("p3130","opt_stime_frontsvc")}, {value: "1", option: langs.getText("p3130","opt_stime_vacant")}], message: "", show: 0}, {name: "CHK_TTIME", value: "", label: 1, cont: 1}, {name: "CHK_GUEST", value: "", label: 1}, {name: "CHK_COS", value: "", label: 1}, 
																			  {name: "CHK_ICM", value: "", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", show: 0}, {name: "CHK_GRP", value: "", label: 1}, {name: "CHK_WAKEUP", value: "", label: 1}, 
																			  {name: "CHK_WAKEUP1", value: "", label: 1}, {name: "CHK_WAKEUP2", value: "", label: 1}, {name: "CHK_WAKEUP3", value: "", label: 1}, 
																			  {name: "CHK_WAKEUP4", value: "", label: 1}, {name: "CHK_WAKEUP5", value: "", label: 1}, {name: "CHK_AUTH", value: "", select:[{value: "0", option: langs.getText("common","opt_no")}, {value: "1", option: langs.getText("common","opt_yes")}], message: "", show: 0}, 
																			  {name: "CHK_PREPAID", value: "", label: 1}, {name: "CHK_CRT", value: "", label: 1}, {name: "CHK_CHARGE", value: "", label: 1}, 
																			  {name: "CHK_CLASS", value: "", label: 1}, {name: "CHK_MULLAN", value: "", select:[{value: "1", option: langs.getText("common","opt_prompt")+"1"}, {value: "2", option: langs.getText("common","opt_prompt")+"2"}, {value: "3", option: langs.getText("common","opt_prompt")+"3"}, {value: "4", option: langs.getText("common","opt_prompt")+"4"}, {value: "5", option: langs.getText("common","opt_prompt")+"5"}, {value: "6", option: langs.getText("common","opt_prompt")+"6"}], message: "", show: 0}, {name: "CHK_WKUPANNC", value: "", label: 1}, 
																			  {name: "CHK_COMNAME", value: "", label: 1}, {name: "CHK_MAINADD", value: "", label: 1}, {name: "CHK_SUBADD", value: "", label: 1}]}],
									variable_data: []}
        ]}
    ]}
);
