openpromcheckid
if (sid == tid || openpromcheckid(firstchild(sid), tid))
ok = openpromcheckid(findroot(), node);
static int openpromcheckid(int, int);