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

if(info.NO_OF_COLS) {
   var co_range_guide = "1 - "+info.NO_OF_COLS;
} else {
   var co_range_guide = "";
}

if(info.NO_OF_DID_CONV_TBL) {
   var did_range_guide = "0 - "+info.NO_OF_DID_CONV_TBL;
} else {
   var did_range_guide = "";
}

if(info.NO_OF_COMPANY_NAME_TBL) {
   var cpnname_range_guide = "0 - "+info.NO_OF_COMPANY_NAME_TBL;
} else {
   var cpnname_range_guide = "";
}

column_config["pgm202"] = [{readOnly: true}, {}, {}, {}, {maxLength: 23},{}];

define(
    {elements:[
        {name:"tab1", tab: [
            {key: "pgm202_button", button: [{btn: langs.getText("common","btn_save"), btn_type: "btn_save auth_write"}]},
            {key: "pgm202_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: "", default_range: getDefaultRange(range_guide, maxInputRange), 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: "pgm202_mktbl", edit_table:[{label: langs.getText("common","index")}, {label: langs.getText("p202","msn_colstart")}, {br: 1, cont: 1}, {label: "("+co_range_guide+")", cont: 1}, {label: langs.getText("p202","msn_colend")}, {br: 1, cont: 1}, {label: "("+co_range_guide+")", cont: 1}, {label: langs.getText("p202","msn_did")}, {br: 1, cont: 1}, {label: "("+did_range_guide+")", cont: 1}, {label: langs.getText("p202","msn_num")}, {br: 1, cont: 1}, {label: langs.getText("p202","cmt_max23digit"), cont: 1},{label: langs.getText("p202","msn_cpnname")}, {br: 1, cont: 1}, {label: "("+cpnname_range_guide+")", cont: 1}],
											 data_form: [{key: "", tr: [{name: "MSN_INDEX", value:"", label: 1},
                                                                                                                        {name: "MSN_SCOL", value: "", message: "", label: 1},
                                                                                                                        {name: "MSN_ECOL", value: "", message: "", label: 1},
                                                                                                                        {name: "MSN_DID", value: "", message: "", label: 1},
                                                                                                                        {name: "MSN_NUM", value: "", message: "", label: 1},
                                                                                                                        {name: "MSN_CPNNAME", value: "", message: "", label: 1} ]}],
										variable_data: [{}]}
        ]}
    ]}
);
