t.setCellPadding(4);
tr row = new tr();
t.addElement( row );
row.addElement( new th().setWidth("30%").setAlign("left").addElement("Page") );
row.addElement( new th().setAlign("left").addElement("Score"));
int idx = 0;
for( Iterator i = results.iterator(); i.hasNext() && idx++ <= maxItems; )
{
SearchResult sr = (SearchResult) i.next();