if (++tid == 0x5FFF) throw new RuntimeException( "TID limit reached in dom.dbx!!!!!!!!!!!!!!!!!!!!!!!");
if (++tid == ItemId.ID_MASK) throw new RuntimeException("no spare ids on page");
        public short getNextTID() {            if (++tid == 0x5FFF)                    throw new RuntimeException(                            "TID limit reached in dom.dbx!!!!!!!!!!!!!!!!!!!!!!!");            return tid;        }