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

column_config["pgm227"] = [{readOnly: true}, {maxLength:12}, {type: 'dropdown', source: ["1","2","3","4","5","6","7","8","9","10","11"]}, {type: 'dropdown', source: ["1","2","3","4","5","6","7","8","9","10","11"]}, {type: 'dropdown', source: ["1","2","3","4","5","6","7","8","9","10","11"]}];

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm227_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm227_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: "pgm227_mktbl_multiplechange", table: [{label: langs.getText("p227","title_chauthcos"), colspan: 3}],
																					 struct: [{tr:[{name: "CHECKLIST", radio: [{value: "1"}]}, {label: langs.getText("common","enter_stnrange")+" : "}, {name:"STN_AUTHSTART", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: " - ", cont: 1}, {name:"STN_AUTHEND", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: langs.getText("common","authcode")+" : "}, {name:"STN_CHAUTH", value: "", textfield: [{max: 12, size: 15}], message: "", cont: 1}]},
																								 {tr:[{name: "CHECKLIST", value: "0", radio: [{value: "2"}]}, {label: langs.getText("common","enter_stnrange")+" : "}, {name:"STN_COSSTART", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: " - ", cont: 1}, {name:"STN_COSEND", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: langs.getText("common","daytime")+" "}, {name:"STN_CHCOSDAY", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", cont: 1},
																																																																																																																																	   {label: langs.getText("common","nighttime")+" ", cont: 1}, {name:"STN_CHCOSNTRING", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", cont: 1},
																																																																																																																																	   {label: langs.getText("common","timed_ring")+" ", cont: 1}, {name:"STN_CHCOSTIMED", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"}, {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"}, {value: "11", option: "11"}], message: "", cont: 1}]},
																								 {tr:[{btn: langs.getText("common","btn_rangesave"), btn_type: "btn_p227_rangesave auth_write", colspan: 3}]}]},
		{key: "pgm227_mktbl_actbl", edit_table:[{label: langs.getText("common","sta_num")}, {label: langs.getText("common","authcode")}, {label: langs.getText("common","daytime") + " " + langs.getText("common","cos")},{label: langs.getText("common","nighttime") + " " + langs.getText("common","cos")},{label: langs.getText("common","timed_ring") + " " +  langs.getText("common","cos")}], 
                                    data_form:[{key: "", tr: [{name:"ADM227_INDEX", value:"", label: 1}, 
                                                              {name:"ADM227_AUTH", value:"", message: "", label: 1},
                                                              {name:"ADM227_DAY", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"},
                                                                                                                                                    {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"},
                                                                                                                                                    {value: "11", option: "11"}], message: "", show: 0},
                                                              {name:"ADM227_NTRING", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"},
                                                                                                                                                         {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"},
                                                                                                                                                         {value: "11", option: "11"}], message: "", show: 0},
                                                              {name:"ADM227_TIMED", value:"", select:[{value: "1", option: "1"}, {value: "2", option: "2"}, {value: "3", option: "3"}, {value: "4", option: "4"}, {value: "5", option: "5"},
                                                                                                                                                         {value: "6", option: "6"}, {value: "7", option: "7"}, {value: "8", option: "8"}, {value: "9", option: "9"}, {value: "10", option: "10"},
                                                                                                                                                         {value: "11", option: "11"}], message: "", show: 0}]}],
                                variable_data:[{}]}
        ]}
    ]}
);
