var range_guide = " (1 - 32)";
var range_guide2 = " (1 - 15)";

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm440_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm440_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("p440","enter_znnum")+range_guide+" : "}, {name: "RANGE_1_0", value: "", textfield: [{max: 2, size:5}], message: ""}, {br: 1}, {name: "RANGE_TYPE_2", range_type: 2}, {text: langs.getText("p440","enter_zngrpnum")+range_guide2+" : "}, {name: "RANGE_2_0", value: "", textfield: [{max: 2, size: 5}],message: "", cont: 0}, {btn: langs.getText("common","load"), btn_type: "btn_load"}, langs.Range_Error_Table(), {endload: 1}, {br:2},
                                              {text: langs.getText("common","zone_number")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}, {br: 1}, 
                                              {text: langs.getText("p440","zngrp_num")+" "}, {name: "RANGE_VIEW_2", value: "", text: 1}]},
            {key: "pgm440_mktbl", table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("p440","title_ftrtprly")}, {br: 1, cont: 1}, {btn_selectall: 1, cont: 1}],
                               data_form:[{key: "", tr: [{order: 1}, {name:"ZONE_RLYGRP", value:"", chk_type: "chk_selectall", chk: 1}, {label: langs.getText("common","rly_grp")+" ", cont: 1}, {name: "ZONEGRP_NUM", value: "", label: 1, cont: 1}]}],
                           variable_data:[]}
		]}
    ]}
);
