--pgsz;
avail.add(item);
}
}
if (item instanceof Listgroup) {
final Listgroup g = (Listgroup) item;
if (!g.isOpen()) {
for (int j = 0, len = g.getItemCount(); j < len; j++)
item = (Listitem) item.getNextSibling();
}
}
if (item != null)
item = item.getNextSibling();