if (info.SYSTEM_ID == "iPECS eMG80" || info.SYSTEM_ID == "iPECS eMG800") {
	var NO_OF_ICLIDROUTTABLE = "250";
} else {
	var NO_OF_ICLIDROUTTABLE = "500";
}

if(NO_OF_ICLIDROUTTABLE) {
	var range_guide = " (1 - "+NO_OF_ICLIDROUTTABLE+")";
	if(NO_OF_ICLIDROUTTABLE < 100) {
		var maxInputRange = NO_OF_ICLIDROUTTABLE;
	} else {
		var maxInputRange = "100";
	}
}

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm203_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm203_preload", preload: [{name: "RANGE_TYPE_1", range_type: 2}, {text: langs.getText("common","enter_indexrange")+range_guide+" : "}, {name: "RANGE_1_1", value: "", textfield: [{max: 40, size: 50}], message: "", help: langs.re_toolTip()+"<br><br>"+langs.getText("toolTip","maxinputrange")+" - "+maxInputRange}, {btn: langs.getText("common","load"), btn_type: "btn_load"},
				langs.Range_Error_Table(),
				{endload: 1}, {br: 2}, {text: langs.getText("common","index_range")+" "}, {name: "RANGE_VIEW_1", value: "", text: 1}]},
            {key: "pgm203_mktbl", table:[{label: langs.getText("common","index")}, {label: langs.getText("p203","iclidr_rindex")}, {label: langs.getText("p203","iclidr_callnum")}, {label: langs.getText("p203","iclidr_callname")}, {label: langs.getText("common","ring_tone")}], 
                              data_form:[{key: "", tr: [{name:"ICLIDR_INDEX", value:"", label: 1}, 
                                                        {name:"ICLIDR_RINDEX", value:"", textfield: [{max: 3, size: 5}], message: "", cont: 0},  
                                                        {name:"ICLIDR_CALLNUM", value:"", textfield: [{max: 23}], message: "", cont: 0},  
                                                        {name:"ICLIDR_CALLNAME", value:"", textfield: [{max: 12}], message: "", enable_mullang: 1}, 
                                                        {name:"ICLIDR_RINGTONEE", value:"", textfield: [{max: 2, size: 2}], message: "", cont: 0}]}],
                          variable_data:[]}
        ]}
    ]}
);
