add:  return currentDocument; 
context: function getDoc(){    if(currentWindow == null) {        return getContentWindow().document;    } else {        commandStr = "getContentWindow().window." + currentWindow + ".document";        return eval(commandStr);    }}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/40101f37ab8b5f25202111634151140a0768541b/selenium-browserbot.js/clean/javascript/selenium-browserbot.js