public void ignoreRecord(GedcomRecord rootRecord, GedcomReader reader)
			throws IOException, GedcomReaderException {
		int rootLevel = rootRecord.getLevel();

		for (GedcomRecord record = reader.nextRecord(); record != null; record = reader
				.nextRecord()) {
			int level = record.getLevel();

			if (level <= rootLevel) {
				reader.pushback();
				return;
			}
		}
	}