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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm334_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm334_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_tnetrange")+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","tnet_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},            
            {key: "pgm334_mktbl", table: [{label: langs.getText("common","extcont_contact")}, {label: langs.getText("common","val")}]},
            {key: "pgm334_tnetext_dest_1", struct: [{tr: [{label: langs.getText("common","first"), rowspan: 5}, {name: "TNETEXT_DEST_1", radio: [{value: "0"}]}, {label: langs.getText("common","unused"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_1", radio: [{value: "1"}]}, {label: langs.getText("common","lbc")+" ", cont: 1}, {name:"TNETEXT_LBCVALUE_1", value: "", textfield: [{}], message: "", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_1", radio: [{value: "2"}]}, {label: langs.getText("common","dooropen"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_1", radio: [{value: "3"}]}, {label: langs.getText("common","extcontdev")+" 1", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_1", value: "", radio: [{value: "4"}]}, {label: langs.getText("common","extcontdev")+" 2", cont: 1}]}]},
            {key: "pgm334_tnetext_dest_2", struct: [{tr: [{label: langs.getText("common","second"), rowspan: 5}, {name: "TNETEXT_DEST_2", radio: [{value: "0"}]}, {label: langs.getText("common","unused"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_2", radio: [{value: "1"}]}, {label: langs.getText("common","lbc")+" ", cont: 1}, {name:"TNETEXT_LBCVALUE_2", value: "", textfield: [{}], message: "", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_2", radio: [{value: "2"}]}, {label: langs.getText("common","dooropen"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_2", radio: [{value: "3"}]}, {label: langs.getText("common","extcontdev")+" 1", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_2", value: "", radio: [{value: "4"}]}, {label: langs.getText("common","extcontdev")+" 2", cont: 1}]}]},
            {key: "pgm334_tnetext_dest_3", struct: [{tr: [{label: langs.getText("common","third"), rowspan: 5}, {name: "TNETEXT_DEST_3", radio: [{value: "0"}]}, {label: langs.getText("common","unused"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_3", radio: [{value: "1"}]}, {label: langs.getText("common","lbc")+" ", cont: 1}, {name:"TNETEXT_LBCVALUE_3", value: "", textfield: [{}], message: "", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_3", radio: [{value: "2"}]}, {label: langs.getText("common","dooropen"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_3", radio: [{value: "3"}]}, {label: langs.getText("common","extcontdev")+" 1", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_3", value: "", radio: [{value: "4"}]}, {label: langs.getText("common","extcontdev")+" 2", cont: 1}]}]},
            {key: "pgm334_tnetext_dest_4", struct: [{tr: [{label: langs.getText("common","fourth"), rowspan: 5}, {name: "TNETEXT_DEST_4", radio: [{value: "0"}]}, {label: langs.getText("common","unused"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_4", radio: [{value: "1"}]}, {label: langs.getText("common","lbc")+" ", cont: 1}, {name:"TNETEXT_LBCVALUE_4", value: "", textfield: [{}], message: "", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_4", radio: [{value: "2"}]}, {label: langs.getText("common","dooropen"), cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_4", radio: [{value: "3"}]}, {label: langs.getText("common","extcontdev")+" 1", cont: 1}]},
                                                    {tr: [{name: "TNETEXT_DEST_4", value: "", radio: [{value: "4"}]}, {label: langs.getText("common","extcontdev")+" 2", cont: 1}]}]}                                                                                             
		]}
	]}
);
