rem: var element_reference = window.frames[0].document.getElementById(db); 
add: var element_reference = window.frame_navigation.document.getElementById(db); 
context: function markDbTable(db, table){    var element_reference = window.frames[0].document.getElementById(db);    if (element_reference != null) {        addClass(element_reference.parentNode, 'marked');        // scrolldown        element_reference.focus();        // opera marks the text, we dont want this ...        element_reference.blur();    }    element_reference = window.frames[0].document.getElementById(db + '.' + table);    if (element_reference != null) {        addClass(element_reference.parentNode, 'marked');        // scrolldown        element_reference.focus();        // opera marks the text, we dont want this ...        element_reference.blur();    }    // return to main frame ...    window.frames[1].focus();}
meta: 6623	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6623/506b3cb938d0ba1b5a0f14cfc71667c675935776/querywindow.js/buggy/js/querywindow.js