if (offline_mode) {
	var bksutype = {key: "pgm1011_bksutype", contents: [{text: "BKSU "+langs.getText("common","type")+" : "}, {name: "BKSU_TYPE", value: "", select:[{value: "A", option: "A"}, {value: "AD", option: "AD"}, {value: "I", option: "I"}, {value: "ID", option: "ID"}], sel_type: "p1011_sel_bksutype", message: ""}]};
} else {
	var bksutype = {};
}

define(
    {elements:[
        {name:"tab1", tab: [
				{key: "pgm1011_button", button: [{btn: langs.getText("common","register"), btn_type: "btn_save auth_write"}]},
				bksutype,
				{key: "pgm1011_bksutbl", table: [{label: langs.getText("common","slot") + "(" + langs.getText("common","co") + " / " + langs.getText("common","simple_sta") + ")"}, {label: langs.getText("common","type")}]},
				{key: "pgm1011_bksuphy1", tr: [{label: "7 / 1"}, {name: "BKSU_PHY_7_0", value: "LCOB4", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "PRIU", option: "PRIU"}, {value: "BRIU2", option: "BRIU2"}, {value: "LCOB4", option: "LCOB4"}], message: "", error: "DA", cont: 0}, {name: "BKSU_PHY_0_1", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")},{value: "HYIB8", option: "HYIB8"}, {value: "DSIB12", option: "DSIB12"}], message: "", error: "DA", cont: 1, show: 1}]}, 
				{key: "pgm1011_bksuphy2", tr: [{label: "8 / 2"}, {name: "BKSU_PHY_8_2", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "CH204", option: "CH204"}, {value: "CH408", option: "CH408"}, {value: "CS416", option: "CS416"}, {value: "BH104", option: "BH104"}, {value: "BH208", option: "BH208"}, {value: "HYIB8", option: "HYIB8"}, {value: "SLB16", option: "SLB16"}, {value: "WTIB4", option: "WTIB4"}], message: "", error: "", cont: 0}]},
				{key: "pgm1011_bksuphy3", tr: [{label: "9 / 3"}, {name: "BKSU_PHY_9_3", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "CH204", option: "CH204"}, {value: "CH408", option: "CH408"}, {value: "CS416", option: "CS416"}, {value: "BH104", option: "BH104"}, {value: "BH208", option: "BH208"}, {value: "HYIB8", option: "HYIB8"}, {value: "SLB16", option: "SLB16"}, {value: "WTIB4", option: "WTIB4"}], message: "", error: "", cont: 0}]},
            {key: "pgm1011_bksuoption", contents: [{text: "BKSU Option Board"+" : "}, {name: "BKSU_OPTION", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "VVMU", option: "VVMU"}], sel_type: "p1011_sel_bksuoption", message: ""}]},
				{key: "pgm1011_bksuoptiontbl", table: [{label: langs.getText("common","slot") + "(" + langs.getText("common","co") + " / " + langs.getText("common","simple_sta") + ")"}, {label: langs.getText("common","type")}]},
				{key: "pgm1011_bksuoptionphy1", tr: [{label: "13"}, {label: "VOIU"}]}, 
				{key: "pgm1011_bksuoptionphy2", tr: [{label: "14"}, {name: "BKSU_PHY_14_0", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "VOIB", option: "VOIB"}], message: "", error: "DA", cont: 0, show: 1}]}, 
				{key: "pgm1011_bksuoptionphy3", tr: [{label: "15"}, {label: "VMIU"}]}, 
				{key: "pgm1011_bksuoptionphy4", tr: [{label: "16"}, {name: "BKSU_PHY_16_0", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "VMIB", option: "VMIB"}], message: "", error: "DA", cont: 0, show: 1}]}, 
				{key: "pgm1011_bksuoptionphy5", tr: [{label: "17"}, {label: "MISU"}]}, 				
				{key: "pgm1011_eksutype", contents: [{text: "EKSU "+langs.getText("common","type")+" : "}, {name: "EKSU_TYPE", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "EKSU", option: "EKSU"}], sel_type: "p1011_sel_eksutype", message: ""}]},
				{key: "pgm1011_eksutbl", table: [{label: langs.getText("common","slot")}, {label: langs.getText("common","type")}]},
				{key: "pgm1011_eksuphy1", tr: [{label: "10 / 4"}, {name: "EKSU_PHY_10_0", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "LCOB4", option: "LCOB4"}], message: "", error: "DA", cont: 0}, {name: "EKSU_PHY_0_4", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "HYIB8", option: "HYIB8"}], message: "", error: "DA", cont: 1}]}, 
				{key: "pgm1011_eksuphy2", tr: [{label: "11 / 5"}, {name: "EKSU_PHY_11_5", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "CH204", option: "CH204"}, {value: "CH408", option: "CH408"}, {value: "CS416", option: "CS416"}, {value: "HYIB8", option: "HYIB8"}, {value: "SLB16", option: "SLB16"}], message: "", error: "DA", cont: 0}]}, 
				{key: "pgm1011_eksuphy3", tr: [{label: "12 / 6"}, {name: "EKSU_PHY_12_6", value: "", select:[{value: "NA", option: langs.getText("common","not_assigned")}, {value: "CH204", option: "CH204"}, {value: "CH408", option: "CH408"}, {value: "CS416", option: "CS416"}, {value: "HYIB8", option: "HYIB8"}, {value: "SLB16", option: "SLB16"}], message: "", error: "DA", cont: 0}]} 
        ]}
    ]}
);
