}
public AbstractNavBar<? extends XmlSection> getTopNavigation(String id, IModel<XmlSection> sec, boolean teacher) {
if (alternateNavBar != null) {
if (alternateNavBar.equals("alternate1")) {
return new AlternateNavBar1(id, sec, teacher);
}
}
return new DefaultNavBar(id, sec, teacher);
}