1var search_SearchBlock_prompt; 2var search_SearchBlock_error; 3var search_SearchBlock_input; 4 5function search_SearchBlock_init(prompt, error) { 6 search_SearchBlock_promptString = prompt; 7 search_SearchBlock_errorString = error; 8 search_SearchBlock_input = document.getElementById('search_SearchBlock').searchCriteria; 9 10 search_SearchBlock_input.value = prompt; 11} 12 13function search_SearchBlock_checkForm() { 14 var sc = search_SearchBlock_input.value; 15 if (sc == search_SearchBlock_promptString || sc == '') { 16 alert(search_SearchBlock_errorString); 17 return false; 18 } else { 19 document.getElementById('search_SearchBlock').submit(); 20 return true; 21 } 22} 23 24function search_SearchBlock_focus() { 25 if (search_SearchBlock_input.value == search_SearchBlock_promptString) { 26 search_SearchBlock_input.value = ''; 27 } 28} 29 30function search_SearchBlock_blur() { 31 if (search_SearchBlock_input.value == '') { 32 search_SearchBlock_input.value = search_SearchBlock_promptString; 33 } 34}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.