tonyg #1 I believe it was evaluating... while (link and link.nextlink and prevpathlink) or nextpathlink