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

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm438_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm438_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_devrange")+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","dev_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm438_mktbl", table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("p438","dev_pagezone_check")}, {br: 1, cont: 1}, {btn_selectall: 1, cont: 1}, {label: langs.getText("p438","dev_pageto")}, {label: langs.getText("p438","dev_pagefrom")}],
                               data_form:[{key: "", tr: [{order: 1}, 
																			{name:"DEV_PAGEZONE_CHECK", value:"", chk_type: "chk_selectall", chk: 1}, {label: langs.getText("common","zone")+" ", cont: 1}, {name: "ZONE_NUM", value: "", label: 1, cont: 1},
                                                         {name:"DEV_PAGETO", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}, 
                                                         {name:"DEV_PAGEFROM", value: "", select: [{value: "0", option: langs.getText("common","opt_disable")}, {value: "1", option: langs.getText("common","opt_enable")}], message: "", cont: 0}]}],
                           variable_data:[{}]}
		]}
    ]}
);
