1 2function searchSite_submitForm (lang, emptyStr) 3{ 4 if (lang == undefined) lang = "HEB"; 5 if (emptyStr == undefined) emptyStr = ""; 6 7 var oSearchForm = document.getElementById("searchForm"); 8 9 if (oSearchForm.queryText.value == "" || oSearchForm.queryText.value == emptyStr) 10 { 11 alert (tailJS["enterQueryString"]); 12 return false; 13 } 14 return true; 15} 16 17function searchSite_onFocus (oField, emptyValue) 18{ 19 if (emptyValue == undefined) 20 { 21 oEmpty = document.getElementById(oField.id + "_empty"); 22 if (oEmpty != undefined) 23 emptyValue = oEmpty.innerHTML; 24 } 25 26 if (oField.value == emptyValue) 27 { 28 oField.value = ""; 29 } 30} 31 32function searchSite_onBlur (oField, emptyValue) 33{ 34 if (emptyValue == undefined) 35 { 36 oEmpty = document.getElementById(oField.id + "_empty"); 37 if (oEmpty != undefined) 38 emptyValue = oEmpty.innerHTML; 39 } 40 41 if (oField.value == "") 42 { 43 oField.value = emptyValue; 44 } 45} 46
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.