in reply to Search script, 10 per page

After you finish with merlyn's column check out my reply to Re: last 10 ... next 10? which provides a solution to your problem.