eadId;
                var headClass = "";
                if (/^:\s*/.test(text)) {
                    text = RegExp.rightContext;
                    headClass = ' class="archor"';
                }
                if (level > 1) {
                    if (R.lastlevel < 0) {
                        R.archor += listhead(level - 1) + listitem(R.headId, text);
                        R.lastlevel = level;
                    } else if (R.lastlevel > level) {
                        R.archor += listfoot(R.last