var range_guide = " (1 - 32)";

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm444_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm444_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_zonerange")+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","zone_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm444_mktbl", table: [{label: langs.getText("common","order"), sort: "num"}, {label: langs.getText("common","attr")}, {label: langs.getText("common","val")}, {label: langs.getText("common","range")}]},
            {key: "pgm444_zone_ringmode", tr:[{order: 1}, {label: langs.getText("p444","zone_ringmode")}, {name: "ZONE_RINGMODE", value: "", select: [{value: "0", option: langs.getText("common","day_ringmode")}, {value: "1", option: langs.getText("common","night_ringmode")}, {value: "2", option: langs.getText("common","timed_ring_mode")}, {value: "3", option: langs.getText("common","not_assigned")}], message: "", cont: 0}, {label: ""}]},
            {key: "pgm444_zone_date", tr:[{order: 1}, {label: langs.getText("p444","zone_date")}, {label: "1"}, {label: " : ", cont: 1}, {name: "ZONE_STARTDATE_0", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "ZONE_ENDDATE_0", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "2", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_STARTDATE_1", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "ZONE_ENDDATE_1", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "3", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_STARTDATE_2", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "ZONE_ENDDATE_2", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "4", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_STARTDATE_3", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "ZONE_ENDDATE_3", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "5", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_STARTDATE_4", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: " - ", cont: 1}, {name: "ZONE_ENDDATE_4", value: "", textfield: [{max: 6, size: 6}], message: "", cont: 1}, {label: langs.getText("p444","cmt_date1")}, {br: 1, cont: 1}, {label: langs.getText("p444","cmt_date2"), cont: 1}]},
				{key: "pgm444_zone_onedate", tr:[{order: 1}, {label: langs.getText("common","holiday")}, {label: "01"}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_0", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "02", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_1", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "03", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_2", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "04", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_3", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "05", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_4", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "06", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_5", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "07", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_6", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "08", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_7", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "09", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_8", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "10", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_9", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "11", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_10", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "12", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_11", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "13", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_12", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "14", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_13", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "15", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_14", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "16", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_15", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "17", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_16", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "18", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_17", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "19", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_18", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "20", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_19", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "21", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_20", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "22", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_21", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "23", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_22", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "24", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_23", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "25", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_24", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "26", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_25", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "27", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_26", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "28", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_27", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "29", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_28", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "30", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_29", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "31", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_30", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "32", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_31", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "33", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_32", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "34", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_33", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "35", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_34", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {br: 1, cont: 1}, {label: "36", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_35", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "37", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_36", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "38", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_37", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "39", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_38", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: " ", cont: 1}, {label: "40", cont: 1}, {label: " : ", cont: 1}, {name: "ZONE_ONEDATE_39", value: "", textfield: [{max: 4, size: 6}], message: "", cont: 1}, {label: langs.getText("p444","cmt_onedate1")}, {br: 1, cont: 1}, {label: langs.getText("p444","cmt_onedate2"), cont: 1}]}
		]}
	]}
);
