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: "pgm1291_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm1291_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: "pgm1291_mktbl", table:[{label: langs.getText("common","index")}, {label: langs.getText("common","sta_num")}, {label: langs.getText("common","ipaddr")}, {label: langs.getText("common","state")}], 
                               data_form:[{key: "", tr: [{name:"STN_INDEX", value:"", label: 1}, 
                                                         {name:"STN_NUM", value:"", label: 1}, 
                                                         {name:"STN_IP", value:"", label: 1}, 
                                                         {name:"STN_STATE", value:"", label: 1}]}],
                           variable_data:[]}
        ]}
    ]}
);
