System.out.println("unable to determine level for " + gid);
	public final static long getParentId(		final DocumentImpl doc,		final long gid) {		final int level = doc.getTreeLevel(gid);		if (level < 0) {			System.out.println("unable to determine level for " + gid);			return -1;		}		return getParentId(doc, gid, level);	}