if(info.NO_OF_SLOTS) {
    var range_guide = " (1 - "+info.NO_OF_SLOTS+")";
} else {
    var range_guide = "";
}
if (info.NO_OF_SLOTS.length == 4) {
	var max_label = langs.getText("common","max4digit");
} else  {
	var max_label = langs.getText("common","max3digit");
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm437_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm437_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: "pgm437_mktbl", title: langs.getText("common","mktbl"), table: [{name: "CHKFLAG", value: "", check_flag: 1}, {label: langs.getText("common","order"), sort: "num"}, {btn: langs.getText("common","btn_chkall"), btn_type: "btn_checkall"}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")},{label: langs.getText("common","range")}]},
            {key: "pgm437_dev_pwd", title: langs.getText("p437","dev_pwd"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("p437","dev_pwd")}, {name:"DEV_PWD", value: "", textfield: [{max:12}], message: "", cont: 0}, {label: langs.getText("common","max12digit")}]},
            {key: "pgm437_dev_diffserv", title: langs.getText("p437","dev_diffserv"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("p437","dev_diffserv")}, {name:"DEV_DIFFSERV", value: "", textfield: [{max:2}], message: "", cont: 0}, {label: "00-63"}]},
            {key: "pgm437_dev_natcode", title: langs.getText("common","nation_code"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("common","nation_code")}, {name:"DEV_NATCODE", value:"", select:g_nation_list, message: "", cont: 0}, {label: ""}]},
            {key: "pgm437_dev_lancode", title: langs.getText("common","lancode"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","lancode")}, {name:"DEV_LANCODE", value:"", select:g_lang_list, message: "", cont: 0},{label:""}]},
           {key: "pgm437_dev_codec", title: langs.getText("common","codectype"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("common","codectype")}, {name:"DEV_CODEC", value:"", select:[{value: "0", option: langs.getText("p437","opt_dev_codec_fz")}, {value: "1", option: langs.getText("p437","opt_dev_codec_fm")+"(ADM132)"}], message: "", cont: 0},{label:""}]},
           {key: "pgm437_dev_rtprly", title: langs.getText("p437","dev_rtprly"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p437","dev_rtprly")}, {name:"DEV_RTPRLY", value:"", select:[{value: "0", option: langs.getText("p437","opt_dev_rtprly_grp")+" 00"}, 
								                                                                                                                                                               {value: "1", option: langs.getText("p437","opt_dev_rtprly_grp")+" 01"}, 
								                                                                                                                                                               {value: "2", option: langs.getText("p437","opt_dev_rtprly_grp")+" 02"}, 
								                                                                                                                                                               {value: "3", option: langs.getText("p437","opt_dev_rtprly_grp")+" 03"}, 
								                                                                                                                                                               {value: "4", option: langs.getText("p437","opt_dev_rtprly_grp")+" 04"}, 
								                                                                                                                                                               {value: "5", option: langs.getText("p437","opt_dev_rtprly_grp")+" 05"}, 
								                                                                                                                                                               {value: "6", option: langs.getText("p437","opt_dev_rtprly_grp")+" 06"}, 
								                                                                                                                                                               {value: "7", option: langs.getText("p437","opt_dev_rtprly_grp")+" 07"}, 
								                                                                                                                                                               {value: "8", option: langs.getText("p437","opt_dev_rtprly_grp")+" 08"}, 
								                                                                                                                                                               {value: "9", option: langs.getText("p437","opt_dev_rtprly_grp")+" 09"}, 
								                                                                                                                                                               {value: "10", option: langs.getText("p437","opt_dev_rtprly_grp")+" 10"}, 
								                                                                                                                                                               {value: "11", option: langs.getText("p437","opt_dev_rtprly_grp")+" 11"}, 
								                                                                                                                                                               {value: "12", option: langs.getText("p437","opt_dev_rtprly_grp")+" 12"}, 
								                                                                                                                                                               {value: "13", option: langs.getText("p437","opt_dev_rtprly_grp")+" 13"}, 
								                                                                                                                                                               {value: "14", option: langs.getText("p437","opt_dev_rtprly_grp")+" 14"}, 
								                                                                                                                                                               {value: "15", option: langs.getText("p437","opt_dev_rtprly_grp")+" 15"}], message: "", cont: 0},{label:""}]},
           {key: "pgm437_dev_pagrly", title: langs.getText("p437","dev_pagrly"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p437","dev_pagrly")}, {name:"DEV_PAGRLY", value:"", select:[{value: "0", option: langs.getText("p437","opt_dev_pagrly_area")+" 00"},
													                                                                                                                                           {value: "1", option: langs.getText("p437","opt_dev_pagrly_area")+" 01"}, 
													                                                                                                                                           {value: "2", option: langs.getText("p437","opt_dev_pagrly_area")+" 02"}, 
													                                                                                                                                           {value: "3", option: langs.getText("p437","opt_dev_pagrly_area")+" 03"}, 
													                                                                                                                                           {value: "4", option: langs.getText("p437","opt_dev_pagrly_area")+" 04"}, 
													                                                                                                                                           {value: "5", option: langs.getText("p437","opt_dev_pagrly_area")+" 05"}, 
													                                                                                                                                           {value: "6", option: langs.getText("p437","opt_dev_pagrly_area")+" 06"}, 
													                                                                                                                                           {value: "7", option: langs.getText("p437","opt_dev_pagrly_area")+" 07"}, 
													                                                                                                                                           {value: "8", option: langs.getText("p437","opt_dev_pagrly_area")+" 08"}, 
													                                                                                                                                           {value: "9", option: langs.getText("p437","opt_dev_pagrly_area")+" 09"}, 
													                                                                                                                                           {value: "10", option: langs.getText("p437","opt_dev_pagrly_area")+" 10"}, 
													                                                                                                                                           {value: "11", option: langs.getText("p437","opt_dev_pagrly_area")+" 11"}, 
													                                                                                                                                           {value: "12", option: langs.getText("p437","opt_dev_pagrly_area")+" 12"}, 
													                                                                                                                                           {value: "13", option: langs.getText("p437","opt_dev_pagrly_area")+" 13"}, 
													                                                                                                                                           {value: "14", option: langs.getText("p437","opt_dev_pagrly_area")+" 14"}, 
													                                                                                                                                           {value: "15", option: langs.getText("p437","opt_dev_pagrly_area")+" 15"}], message: "", cont: 0},{label:""}]},
            {key: "pgm437_dev_vmidno", title: langs.getText("common","vm_gw_number"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("common","vm_gw_number")}, {name:"DEV_VMIDNO", value: "", textfield: [{max:info.NO_OF_SLOTS.length}], message: "", cont: 0}, {name: "VMGWNUM", value: "", label: 1}]},
            {key: "pgm437_dev_deflang", title: langs.getText("p437","dev_deflang"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1}, {label: langs.getText("p437","dev_deflang")}, {name: "DEV_DEFLANG", radio: [{value: "1"}], cont: 0}, {name: "DEV_DEFLANG_1", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {br: 1, cont: 1},{name: "DEV_DEFLANG", radio: [{value: "2"}], cont: 1}, {name: "DEV_DEFLANG_2", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {br: 1, cont: 1},{name: "DEV_DEFLANG", radio: [{value: "3"}], cont: 1}, {name: "DEV_DEFLANG_3", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {br: 1, cont: 1},{name: "DEV_DEFLANG", radio: [{value: "4"}], cont: 1}, {name: "DEV_DEFLANG_4", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {br: 1, cont: 1},{name: "DEV_DEFLANG", radio: [{value: "5"}], cont: 1}, {name: "DEV_DEFLANG_5", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {br: 1, cont: 1},{name: "DEV_DEFLANG", value: "", radio: [{value: "6"}], cont: 1}, {name: "DEV_DEFLANG_6", value: "", select:g_ppt_nation, message: "", show:0,cont: 1}, {label:""}]}, 
            {key: "pgm437_dev_vmretry", title: langs.getText("p437","dev_vmretry"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("p437","dev_vmretry")}, {name:"DEV_VMRETRY", value: "", textfield: [{max:1}], message: "", cont: 0}, {label: "0 - 9"}]},
            {key: "pgm437_dev_remark", title: langs.getText("common","remark"), tr:[{order: 1}, {chk_type: "chk_checkall", chk: 1},{label: langs.getText("common","remark")}, {name:"DEV_REMARK", value: "", textfield: [{max:21}], message: "", cont: 0,enable_mullang:1}, {label: langs.getText("common","max21ch")}]}
		]}
    ]}
);
