rem: '</HEAD>' + 
add: '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> </HEAD>' + 
context: function formatResults(results, reference, offset) {  copyArray = results;  var currentRecord = (results.length < reference + offset ? results.length : reference + offset);  docObj.open();  docObj.writeln('<HTML>\n<HEAD>\n<TITLE>Search Results</TITLE>\n' +     '</HEAD>' +    '<BODY BGCOLOR="#FFFFFF" link="#00004b" vlink="#4b004b">' +    '<TABLE WIDTH=90% BORDER=0 ALIGN=CENTER CELLPADDING=3><TR><TD>' +    '<HR NOSHADE WIDTH=100%></TD></TR><TR><TD VALIGN=TOP>' +    'Search Query: <I>' + '</I><BR>\n' +    '<B>Search Results: <I>' + (reference + 1) + ' - ' +    currentRecord + ' of ' + results.length + '</I></B><BR><BR>' +    '\n\n<!-- Begin result set //-->\n\n\t<DL>');    for (var i = reference; i < currentRecord; i++) {       docObj.writeln('\n\n\t<DT>' + 'STIV*: ' + results[i].score + ' -- ');       docObj.writeln('<I>' + results[i].title + '</I>');       docObj.writeln('\t<DD><A HREF="' + results[i].url + 	  	'" TARGET=_top>' + results[i].url + '</A><P>');      }  docObj.writeln('\n\t</DL>\n\n<!-- End result set //-->\n\n');  prevNextResults(results.length, reference, offset);  docObj.writeln('<HR NOSHADE WIDTH=100%>' +    '<br><i>*STIV - Search Term Indexing Value</i></p>' +    '</TD>\n</TR>\n</TABLE>\n</BODY>\n</HTML>');  docObj.close();  //document.search.query.select();  }
meta: 7765	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7765/2ae15d53831a50caca4742b83c8721c98000bb14/search.js/buggy/dx/html/search.js