v_range="(1 ~ "+info.NO_OF_ICM_GRPS+")";
define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm257_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm257_mktbl", table: [{label: langs.getText("p164","title_atdtype")}, {label: langs.getText("p257","cr_ring_mode")}, {label: langs.getText("p257","sv_ring_mode")},{label: langs.getText("ps014","opt_ondemand_ringmode")+" "+langs.getText("common","val")+v_range}],data_form: [{key: "", tr: [{label: langs.getText("common","icm_tenancy_group")+" "+langs.getText("p113","opt_sta_or_atd_atd")}, {name: "GRP_NUM", value: "", label: 1,cont:1}, {name:"RINGMODE_TYPE1", 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","autoringmode")},{value: "4", option: langs.getText("ps014","opt_ondemand_ringmode")}], message: "",  show:0},{name:"RINGMODE_VALUE1", value: "", textfield: [{max:3, size:5}], message: "", show:0,cont:1},{name:"RINGMODE_TYPE2", 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","autoringmode")},{value: "4", option: langs.getText("ps014","opt_ondemand_ringmode")}], message: ""},{name:"RINGMODE_VALUE2", value: "", textfield: [{max:3, size:5}], message: ""}]}]},
				{key: "pgm257_grpatdhd", th: [{label:langs.getText("p164","atd_main"), colspan: 4}]},
				{key: "pgm257_mainatd", tr: [{label: langs.getText("p164","atd_main")+" "}, {name: "GRP_NUM", value: "", label: 1, cont: 1}, {name:"RINGMODE_TYPE1_M", 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","autoringmode")},{value: "4", option: langs.getText("ps014","opt_ondemand_ringmode")}], message: "", show:0},{name:"RINGMODE_VALUE1_M", value: "", textfield: [{max:3, size:5}], message: "", show:0, cont:1},{name:"RINGMODE_TYPE2_M", 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","autoringmode")},{value: "4", option: langs.getText("ps014","opt_ondemand_ringmode")}], message: ""}, {name:"RINGMODE_VALUE2_M", value: "", textfield: [{max:3, size:5}], message: ""}]},
				 {key: "pgm257_grpatdhd", th: [{label:langs.getText("common","icm_tenancy_group")+" "+langs.getText("p113","opt_sta_or_atd_atd"), colspan: 4}]},
				{key: "pgm257_var_data", variable_data:[{}]}
			
		]}
	]}
);