* Injects an object into the Browser class that resolves to IE's
* 'window.external' object.
*/
public static void injectBrowserScriptExternalObject(Browser browser,
final IDispatchImpl external) {
COMObject iDocHostUIHandler = getDocHostUIHandler(browser);
// Create a COMObjectProxy that will override GetExternal().
//
COMObjectProxy webSiteProxy = new COMObjectProxy(new int[] {
2, 0, 0, 4, 1, 5, 0, 0, 1, 1, 1, 3, 3, 2, 2, 1, 3, 2}) {