's every time we dig into another level,
// so we know how many we have to close when all children are done rendering
$closeDepth = array();
foreach($treeArr as $k => $v) {
$classAttr = $v['row']['_CSSCLASS'];
$uid = $v['row']['uid'];
$idAttr = htmlspecialchars($this->domIdPrefix.$this->getId($v['row']).'_'.$v['bank']);
$itemHTML = '';
// if this item is the start of a new level,
// then a new level