else if ("MSIE".equals(browser.getBrowserName()))
else if (browser.getBrowserType() == BrowserType.IE)
    public void installCG(final SComponent comp) {        final SFrame component = (SFrame) comp;        DynamicCodeResource dynamicCodeRessource;        DynamicStyleSheetResource styleSheetResource;        DynamicScriptResource scriptResource;        Link stylesheetLink;        // dynamic code resource.        dynamicCodeRessource = new DynamicCodeResource(component);        component.addDynamicResource(dynamicCodeRessource);        // dynamic stylesheet resource.        styleSheetResource = new DynamicStyleSheetResource(component);        stylesheetLink = new Link("stylesheet", null, "text/css", null, styleSheetResource);        component.addDynamicResource(styleSheetResource);        component.addHeader(stylesheetLink);        // dynamic java script resource.        scriptResource = new DynamicScriptResource(component);        component.addDynamicResource(scriptResource);        component.addHeader(new Script("JavaScript", "text/javascript", scriptResource));        component.addHeader(new Script("JavaScript", "text/javascript", new DefaultURLResource("../domLib.js")));        component.addHeader(new Script("JavaScript", "text/javascript", new DefaultURLResource("../domTT.js")));        Browser browser = component.getSession().getUserAgent();        String stylesheet = "../gecko.css";        if (browser.hasGecko())            stylesheet = "../gecko.css";        else if ("MSIE".equals(browser.getBrowserName()))            stylesheet = "../msie.css";        else if ("Konqueror".equals(browser.getBrowserName()))            stylesheet = "../konqueror.css";        component.headers().add(0, new Link("stylesheet", null, "text/css", null, new DefaultURLResource(stylesheet)));        component.addScriptListener(FORM_SCRIPT_LOADER);        CaptureDefaultBindingsScriptListener.install(component);    }