public static Object[] getToplist( int auctionID ) throws DatabaseException {
		Connection conn = null;
		ResultSet rs = null;
		PreparedStatement ps = null;
		ArrayList list;
		String name, link;
		int uid, bids;

		list = new ArrayList();

		String q = "SELECT a.uid, a.bid, u.displayName, u.link, sum(a.bid) AS s FROM actionlog a " +
					" JOIN userbids u ON u.uid=a.uid  " +
					" WHERE a.auctionID = ? GROUP BY a.uid ORDER BY s DESC LIMIT 10";

		try {
			conn = DBPool.getInstance().getConnection();

			ps = conn.prepareStatement( q );

			ps.setInt( 1, auctionID );

			rs = ps.executeQuery();
			while ( rs.next() ) {
				uid = rs.getInt( "uid" );
				bids = rs.getInt( "s" );
				name = rs.getString( "displayName" );
				link = rs.getString( "link" );
 
				if ( uid > 0 ) {
//					list.add( new UserInfo( uid, bids, name, link ) );

					Map<String, Object> temp = new HashMap<String, Object>();
					temp.put( "uid", uid );
					temp.put( "bids", bids );
					temp.put( "name", name );
					temp.put( "link", link );
					list.add( temp );
				}
			}

			return list.toArray();
		}
		catch ( SQLException e ) {
			System.out.println( "bridge " + e.toString() + e.getStackTrace() );
			throw new DatabaseException( e.toString() );
		}
		finally {
			try { if (rs != null) rs.close(); } catch(Exception e) { }
			try { if (ps != null) ps.close(); } catch(Exception e) { }
			try { if (conn != null) conn.close(); } catch(Exception e) { }
		}
	}