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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm105_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm105_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_stnindexrange")+range_guide+" : "}, {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","stnindexrange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}, {br: 2}]},
				{key: "pgm105_searchnumber", contents: [{text: langs.getText("common","sta_num")+" : "}, {name: "SEARCHNUMBER", value: "", textfield:[{size: 8, max: 8}], message: ""}, {text: " "}, {btn: langs.getText("common","search"), btn_type: "btn_p105_searchnumber"}]}, 
				{key: "pgm105_cidpwd", contents: [{text: langs.getText("common","cid_pwd")+" : "}, {name: "CIDPWD", value: "", textfield:[{size: 15, max: 12}], message: ""}, {text: " "}, {btn: langs.getText("common","btn_gotosetting"), btn_type: "btn_link_to_otherpgm pgm162"}]},
            {key: "pgm105_mktbl_multiplechange", table: [{label: langs.getText("p105","title_mchstnno"), colspan: 3}],
																struct: [{tr:[{name: "CHECKLIST", radio: [{value: "1"}]}, {label: langs.getText("common","enter_indexrange")+" : "}, {name:"STN_STSEQ", value: "", textfield: [{max: 4, size: 8}], message: "", cont: 1}, {label: " - ", cont: 1}, {name:"STN_ENDSEQ", value: "", textfield: [{max: 4, size: 8}], message: "", cont: 1}, {label: langs.getText("common","start_stanum")+" : "}, {name:"STN_SEQSTART", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}]},
																			{tr:[{name: "CHECKLIST", value: "0", radio: [{value: "2"}]}, {label: langs.getText("common","enter_stnrange")+" : "}, {name:"STN_NUMSTART", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: " - ", cont: 1}, {name:"STN_NUMEND", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}, {label: langs.getText("common","start_stanum")+" : "}, {name:"STN_CHANGESTART", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 1}]},
																			{tr:[{btn: langs.getText("common","btn_rangesave"), btn_type: "btn_p105_rangesave auth_write", colspan: 3}]}]},
            {key: "pgm105_mktbl_stnnolist", table:[{label: langs.getText("common","index"), sort: "num"}, {label: langs.getText("common","sta_num"), sort: "stanum"}, {label: langs.getText("common","type")}, {label: langs.getText("common","ipaddr"), sort: "ip"}, {label: langs.getText("common","macaddr"), sort: "str"}, {label: langs.getText("p105","title_new_sta_num")}], 
                                        data_form:[{key: "", tr: [{name:"STN_INDEX", value:"", label: 1}, 
                                                                  {name:"STN_NUM", value:"", label: 1}, {name:"STN_TYPE",value:"",label:1},
                                                                  {name:"STN_IP", value:"", label: 1},  
                                                                  {name:"STN_MAC", value:"", label: 1}, 
                                                                  {name:"STN_CHANGENUM", value:"", textfield:[{max: 8, size: 8}], message: "", cont: 0}]}],
                                    variable_data:[]}
        ]}
    ]}
);
