@Override
protected void onBeforeRender() {
/* IE5/6 can't do li:hover, so we need some javascript, see below */
if (!this.browserDetected) {
ClientInfo ci = WebSession.get().getClientInfo();
if (ci instanceof WebClientInfo) {
ClientProperties properties = ((WebClientInfo) ci).getProperties();
if (properties.isBrowserInternetExplorer()) {
if (properties.getBrowserVersionMajor() < 7) {
this.browserIsIe56 = true;