+ if (found == false) {
+ pos = location.href('rowsperpage');
+ if (pos >= 0) {
+ base = location.href.slice(0, pos);
+ } else {
+ base = location.href;
+ }
+ href = base + '?rowsperpage=' + rowsPerPage.value;
+ } else {
+ pos = location.href.search('rowsperpage');
+ base = location.href.slice(0, pos);
+ href = base + 'rowsperpage=' + rowsPerPage.value;
+ }
+ location.href = href;