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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm322_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm322_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_corange")+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","corange")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm322_mktbl", title: langs.getText("common","mktbl"), table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")},{label: langs.getText("common","range")}]},
            {key: "pgm322_net_cogrp", title: langs.getText("common","networking_cogrp"), tr: [{order: 1}, {label: langs.getText("common","networking_cogrp")}, {name:"NET_COGRP", value: "", textfield: [{max: 2, size: 3}], message: ""}, {label: "0-24"}]},
            {key: "pgm322_net_linetype", title: langs.getText("p322","net_linetype"), tr:[{order: 1}, {label: langs.getText("p322","net_linetype")}, {name:"NET_LINETYPE", value:"", select:[{value: "0", option: langs.getText("common","pstn")}, {value: "1", option: langs.getText("common","net")}], message: "", cont: 0}, {label:""}]}, 
        ]}
    ]}
);
