add:  currentDocument = null;  
context: function selectWindow(target) {    if(target == "null")        currentWindowName = null;    else {        // If window exists        if(eval("getContentWindow().window." + target))            currentWindowName = target;        else            throw new Error("Window does not exist");    }}
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/372f0fea11088c31100c973444ebeb1c27022a77/selenium-browserbot.js/buggy/javascript/selenium-browserbot.js