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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm215_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}, {btn: langs.getText("common","btn_del"), btn_type: "btn_save auth_write btn_p215_del"}]},
            {key: "pgm215_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("p215","enter_vmexstnrange")+range_guide+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br: 2}, {text: langs.getText("p215","vmexstnrange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm215_mktbl", table: [{name: "CHKFLAG", value: "", check_flag: 1}, {btn: langs.getText("common","btn_chkall"), btn_type: "btn_checkall"}, {label: langs.getText("common","order")}, {label: langs.getText("common","simple_seq")}, {label: langs.getText("common","sta_num")}, {label: langs.getText("p215","dev_mobn")},
                                          {label: langs.getText("p215","dev_didn")}, {label: langs.getText("p215","dev_conn")}, {label: langs.getText("common","proxy_addr")}, {label: langs.getText("p215","dev_failover")}],
                              data_form: [{key: "", tr: [{chk_type: "chk_checkall", chk: 1}, 
                                                         {name: "DEV_ORDER", value: "", label: 1}, 
                                                         {name: "DEV_SEQ", value: "", label: 1},
                                                         {name: "DEV_STNN", value:"", textfield: [{max: 8, size: 8}], message: "", cont: 0},
                                                         {name: "DEV_MOBN", value:"", textfield: [{max: 24, size: 16}], message: "", cont: 0},
                                                         {name: "DEV_DIDN", value:"", textfield: [{max: 24, size: 16}], message: "", cont: 0},
                                                         {name: "DEV_CONN", value:"", textfield: [{max: 3, size: 3}], message: "", cont: 0},
                                                         {name: "DEV_PROXY", value: "", label: 1},
                                                         {name: "DEV_FAILOVER", value: "", label: 1}]}],
                          variable_data: []}
		]}
	]}
);
