rem: function ShowURL(mode) { var input = document.f.id.value; 
add: function ShowURL(mode,input) { 
context: function ShowURL(mode) {    var input = document.f.id.value;    var searchURL = make_query_URL(bugzilla+"buglist.cgi", input, false);    if (searchURL != no_result) {        var pieces = searchURL.replace(/[\?]/g,"\n?").replace(/[\&]/g,"\n&");        if (mode == "alert") {            alert(pieces);        } else {            var table = "<table border=1>" +                           "<thead>" +                             "<tr>" +                               "<th>Chart-And-Or</th>" +                               "<th>Field</th>" +                               "<th>Type</th>" +                               "<th>Value</th>" +                             "</tr>" +                           "</thead>" +                           "<tbody>" + charts + "</tbody>" +                        "</table>";            var html = '<html>' +                          '<head>' +                            '<title>' + input + '</title>' +                         '</head>' +                         '<body>' +                            '<a href="' + searchURL + '">' +                             'Submit Query' +                           '</a>' +                           '<p>' + status_and_resolution +                            '<p>' + table +                            '<pre>' +                             pieces.replace(/[\n]/g,"<br>") +                           '</pre>' +                           '</body>' +                       '</html>';            var w = window.open("","preview_"+unique_id());            w.document.write(html);            w.document.close();        }    }}
meta: 3132	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3132/e9f04a30422f4da41d15e22337b6e6477b2fb590/quicksearch.js/buggy/quicksearch.js