nts.length > 10 ? (footprints.length - 9) : 0;
for (newidx = 0; _start < footprints.length; _start++) {
var patt = new regexp(currbook.bookid + '_');
if (patt.test(footprints[_start])) {
//console.debug(currbook.id + '_' + ', value:' + footprints[_start]);
continue;
}
newfootprints[newidx++] = footprints[_start];
}
footprint = newfootprints.join('|');
if (footprint) {
footprint += '|';
}
} else {
footprint = '';
}
footprint += currbook.bookid;
footprint += "_";
footprint += currbook.chapterid;
/* footprint += '_';
footprint += currbook.sectionid; */
cookieutil.setcookie({
na: _keyfootprint,
v