String versionIndicator = ClickUtils.getResourceVersionIndicator(context);
CssImport cssImport = new CssImport("/click/menu.css", versionIndicator);
headElements.add(cssImport);
JsImport jsImport = new JsImport("/click/control.js", versionIndicator);
headElements.add(jsImport);
jsImport = new JsImport("/click/menu-fix-ie6.js", versionIndicator);
jsImport.setConditionalComment(JsImport.IF_LESS_THAN_IE7);
headElements.add(jsImport);
}
// Note, the addLoadEvent script is recreated and checked if it
// is contained in the headElement.