function processDataScroller(id) {
    var obj = document.getElementById(id);
    if (obj) {
        var cntrTable = obj.parentNode;
        while (cntrTable.tagName.toUpperCase() != 'TABLE') {
            if (cntrTable.parentNode == null || cntrTable.parentNode == cntrTable) break;

            cntrTable = cntrTable.parentNode;
        }

        var tdList = cntrTable.getElementsByTagName('td');
        if (tdList && tdList.length > 0) {
            var linksCell = null;
            var statusCell = null;
            for (var i = 0; i < tdList.length; ++i) {
                var td = tdList[i];
                if (td.className.indexOf('rich-datascr-inact') != -1) {
                    var text = td.hasChildNodes() ? td.firstChild.nodeValue : text.nodeValue;
                    var elem = document.createElement('a');
                    elem.pageIndex = text;
                    elem.onclick = function () {
                        obj.component.switchToPage(this.pageIndex);
                        return false;
                    };
                    elem.href = "#";
                    elem.appendChild(document.createTextNode(text));

                    td.onclick = null;
                    td.replaceChild(elem, td.firstChild);
                } else if (td.className.indexOf('rich-datascr-button') != -1) {
                    td.onclick = null;
                } else if (td.className == 'paging-status-cell') {
                    statusCell = td;
                    if (linksCell) {
                        statusCell.parentNode.removeChild(statusCell);
                        linksCell.parentNode.insertBefore(statusCell, linksCell);
                    }
                } else if (td.className == 'paging-links-cell') {
                    linksCell = td;
                }
            }
        }
        cntrTable.style.visibility = 'visible';
    }
}