<%
if {$book_prev_link ne ""} {
template::add_event_listener -id bookNavPrev.a -preventdefault=false -script [subst {TocTree.getPage("$book_prev_link");}]
}
if {$book_next_link ne ""} {
template::add_event_listener -id bookNavNext.a -preventdefault=false -script [subst {TocTree.getPage("$book_next_link");}]
}
%>
@footer;noquote@