1function do_search(id) { 2 search_text = $(id).val(); 3 //search_text = search_text.replace(/ /gi, '+'); 4 window.location = '?q=uwin_search/'+search_text; 5} 6 7(function() { 8 var cx = '008409746734233179278:ekckhrz5lpe'; 9 var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; 10 gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + 11 '//www.google.com/cse/cse.js?cx=' + cx; 12 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); 13 })(); 14 15window.__gcse = { 16 callback: function () { 17 var keys = []; 18 19 // Fallback to get keys from URL, if not set in settings. 20 keys = /.*\/uwin_search\/(.+)/.exec(document.location.pathname); 21 22 if (keys) { 23 var gcse = google.search.cse.element.getElement("searchresults-only0"); 24 if (gcse) { 25 gcse.execute(decodeURIComponent(keys[1])); 26 } 27 } 28 } 29};
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.