Refactoring OPF templates.
Removing redundant global variable for nav.in.ncx, which is controlled by param.