rem: var originalOpen = this[originalOpenReference]; 
add: myOriginalOpen = this[originalOpenReference]; 
context:     var newOpen = function(url, windowName, windowFeatures, replaceFlag) {        if (isHTA) {            var originalOpen = this[originalOpenReference];        }        var openedWindow = originalOpen(url, windowName, windowFeatures, replaceFlag);        LOG.debug("window.open call intercepted; window ID (which you can use with selectWindow()) is \"" +  windowName + "\"");        if (windowName!=null) {        	openedWindow["seleniumWindowName"] = windowName;        }        selenium.browserbot.openedWindows[windowName] = openedWindow;        return openedWindow;    };
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/221e405153e4944ac36a523560cbc57de7ae219b/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js