if(info.MAX_STN_SPD_BIN) {
    var range_guide = " (0 - "+info.MAX_STN_SPD_BIN+")";
} else {
    var range_guide = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgms005_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgms005_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_indexrange")+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("common","index_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgms005_mktbl", title: langs.getText("common","mktbl"), table:[{label: langs.getText("common","index")}, {label: langs.getText("common","co_type")}, {label: langs.getText("common","coval")}, {label: langs.getText("common","dial_digit")}, {label: langs.getText("common","name")}],
                                                                        data_form:[{key: "", tr: [{name:"STNSPD_INDEX", value:"", label: 1},
                                                                                                  {name:"STNSPD_COTYPE", value:"", select: [{value: "0", option: langs.getText("common","not_assigned")}, {value: "1", option: langs.getText("common","co_line")}, {value: "2", option: langs.getText("common","cog")}, {value: "3", option: langs.getText("common","loop")}, {value: "4", option: langs.getText("common","transit_out")}, {value: "5", option: langs.getText("common","net_sta_num")}], message: "", cont: 0},
                                                                                                  {name:"STNSPD_COVAL", value:"", textfield: [{max: 8, size: 5}], message: "", cont: 0},
                                                                                                  {name:"STNSPD_VALUE", value:"", textfield: [{max: 25, size: 25}], message: "", cont: 0},
                                                                                                  {name:"STNSPD_NAME", value:"", textfield: [{max: 16}], message: "", enable_mullang: 1}]}],
                                                                    variable_data:[{}]}
        ]}
    ]}
);
