rem: if ( window.frames[0].document.getElementById( db ) == null && window.frames[0].document.getElementById( db + '.' + table ) == null ) { 
add: if ( window.frame_navigation.document.getElementById( db ) == null && window.frame_navigation.document.getElementById( db + '.' + table ) == null ) { 
context: function setAll( new_lang, new_collation_connection, new_server, new_db, new_table ) {    //alert('setAll( ' + new_lang + ', ' + new_collation_connection + ', ' + new_server + ', ' + new_db + ', ' + new_table + ' )');    if ( new_server != server || new_lang != lang      || new_collation_connection != collation_connection ) {        // something important has changed        server = new_server;        db     = new_db;        table  = new_table;        collation_connection  = new_collation_connection;        lang  = new_lang;        refreshLeft();    } else if ( new_db != db || new_table != table ) {        // save new db and table        var old_db    = db;        var old_table = table;        db        = new_db;        table     = new_table;        if ( window.frames[0].document.getElementById( db ) == null          && window.frames[0].document.getElementById( db + '.' + table ) == null ) {            // table or db is unknown, reload complete left frame            refreshLeft();        } else {            unmarkDbTable(old_db, old_table);            markDbTable(db, table);        }        // TODO: add code to expand db in lightview mode        // refresh querywindow        refreshQuerywindow();    }}
meta: 6623	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6623/506b3cb938d0ba1b5a0f14cfc71667c675935776/querywindow.js/buggy/js/querywindow.js