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 = "";
}

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: "", 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", table:[{label: langs.getText("common","index")}, {label: langs.getText("common","val"), colspan: 2}, {label: langs.getText("common","range")}], 
                             data_form: [{key: "", struct: [{tr: [{name:"MSN_INDEX", value:"", label: 1, rowspan: 3}, {label: langs.getText("p202","msn_col")}, {name: "MSN_SCOL", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 0}, {label: " - ", cont: 1}, {name: "MSN_ECOL", value: "", textfield: [{max: 3, size: 5}], message: "", cont: 1}, {label: co_range_guide}]}, 
                                                            {tr: [{label: langs.getText("p202","msn_did")}, {name: "MSN_DID", value: "", textfield: [{max: 4, size: 5}], message: "", cont: 0}, {label: did_range_guide}]}, 
                                                            {tr: [{label: langs.getText("p202","msn_num")}, {name: "MSN_NUM", value: "", textfield: [{max: 23, size: 25}], message: "", cont: 0}, {label: langs.getText("p202","cmt_max23digit")}]}]}],
                         variable_data: []}
        ]}
    ]}
);
