if(info.NO_OF_ZONE) {
   var range_zone = "1 - "+info.NO_OF_ZONE;
} else {
   var range_zone = "";
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm332_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm332_mktbl", table: [{label: langs.getText("common","index")}, {label: langs.getText("common","val"), colspan: 2}, {label: langs.getText("common","range")}], 
                              data_form: [{key: "", struct: [{tr: [{order: 1, rowspan:6}, {label: langs.getText("common","macaddr")}, {name: "TNET_LMMAC", value: "", textfield: [{max: 12, size: 20}], message: "", cont: 0}, {label: ""}]}, 
                                                             {tr: [{label: langs.getText("common","ipaddr")}, {name: "TNET_LMIP", value: "", textfield: [{max: 15, size: 20}], message: "", cont: 0}, {label: ""}]}, 
                                                             {tr: [{label: langs.getText("p332","tnet_lmport")}, {name: "TNET_LMPORT", value: "", textfield: [{max: 4}], message: "", cont: 0}, {label: "0001-9999"}]},
                                                             {tr: [{label: langs.getText("common","total_portnum")}, {name: "TNET_LMTOTAL", value: "", textfield: [{max: 4}], message: "", cont: 0}, {label: "0000-9999"}]},
                                                             {tr: [{label: langs.getText("common","multicast_ipaddr")}, {name: "TNET_LMMULICASTIP", value: "", textfield: [{max: 15, size: 20}], message: "", cont: 0}, {label: ""}]},
															 {tr: [{label: langs.getText("common","zone_number")}, {name: "TNET_LMZONENO", value: "", textfield: [{max: 2, size: 5}], message: "", cont: 0}, {label: range_zone}]}]}],
                           variable_data:[{}]}
        ]}
    ]}
);