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","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_TYPE", 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_VALUE", value: "", textfield: [{max:3, size:5}], message: ""}]}]},
				{key: "pgm257_mainatd", tr: [{label: langs.getText("p164","atd_main")+" "}, {name: "GRP_NUM", value: "", label: 1, cont: 1}, {name:"RINGMODE_TYPE_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_VALUE_M", value: "", textfield: [{max:3, size:5}], message: ""}]},
				
				{variable_data:[]}
			
		]}
	]}
);