if(info.NO_OF_STNS) {
   var range_guide = " (1 - "+info.NO_OF_STNS+")";
	if(info.NO_OF_STNS < 100) {
		var maxInputRange = info.NO_OF_STNS;
	} else {
		var maxInputRange = "100";
	}
} else {
   var range_guide = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm443_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm443_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_indexrange")+range_guide+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()+"<br><br>"+langs.getText("toolTip","maxinputrange")+" - "+maxInputRange}, {btn: langs.getText("common","load"), btn_type: "btn_load"},
				langs.Range_Error_Table(),
				{endload: 1}, {br: 2}, {text: langs.getText("common","index_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm443_id_dno_save_tbl", table: [{label: langs.getText("p443","id_dno_save")}],
														 struct: [{tr:[{label: langs.getText("common","enter_indexrange")+" : "}, {name: "AUTO_SAVE_STSEQ", value: "", textfield: [{max: 7, size: 10}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "AUTO_SAVE_ENDSEQ", value: "", textfield: [{max: 7, size: 10}], message: "", cont: 1}]},
																	 {tr:[{label: langs.getText("common","start_stanum")+" : "}, {name: "AUTO_SAVE_STNSTART", value: "", textfield: [{max: 8, size: 10}], message: "", cont: 1}]},
																	 {tr:[{label: langs.getText("common","auto_save_pwd")+" : "}, {name: "AUTO_SAVE_PWD", value: "", chk_type: "chk_selectall", chk: 1, cont: 1}]},
																	 {tr:[{btn: langs.getText("p443","btn_idsave"), btn_type: "btn_p443_idsave auth_write"}]}]},
            {key: "pgm443_login_list_tbl", table: [{label: langs.getText("common","index"), sort: "num"}, {label: langs.getText("p443","login_reg_num"), sort: "stanum"}, {label: langs.getText("common","dev_type")}, {label: langs.getText("common","id")}, 
                                                   {label: langs.getText("common","passwd")}, {label: langs.getText("common","zone")}, {label: langs.getText("common","desired_num")}, {label: langs.getText("common","nation_code")}, {label: langs.getText("p443","login_langdp")}, {label: langs.getText("p443","login_linked")}, {label: langs.getText("common","info_version")}, {label: langs.getText("common","remark")}],
                                       data_form: [{key: "", tr: [{name: "LOGIN_INDEX", value: "", label: 1}, 
                                                                  {name: "LOGIN_REGNUM", value: "", label: 1}, 
                                                                  {name: "LOGIN_DEVTYPE", value: "", label: 1}, 
                                                                  {name: "LOGIN_ID", value: "", textfield: [{max: 12, size: 12}], message: "", cont: 0}, 
                                                                  {name: "LOGIN_PWD", value: "", textfield: [{max: 12, size: 12}], message: "", cont: 0}, 
                                                                  {name: "LOGIN_ZONE", value: "", textfield: [{max: 2, size: 4}], message: "", cont: 0},
                                                                  {name: "LOGIN_LOGSTN", value: "", textfield: [{max: 8, size: 8}], message: "", cont: 0},
                                                                  {name: "LOGIN_NATION", value: "", select: g_nation_list, message: "", cont: 0},
                                                                  {name: "LOGIN_LANGDP", value: "", select: g_lang_list, message: "", cont: 0},
																						{name: "LOGIN_LINKED", value: "", label: 1}, 
                                                                  {name: "LOGIN_VER", value: "", label: 1}, 
                                                                  {name: "LOGIN_CMT", value: "", textfield: [{max: 21, size: 21}], message: "", enable_mullang: 1}]}],
                                   variable_data: []}
        ]}
    ]}
);
