1function addLoadEvent(func) { 2 var oldonload = window.onload; 3 if (typeof window.onload != 'function') { 4 window.onload = func; 5 } else { 6 window.onload = function() { 7 if (oldonload) { 8 oldonload(); 9 } 10 func(); 11 } 12 } 13} 14addLoadEvent(function(){ 15 var lhid = document.createElement('input'); 16 lhid.setAttribute('type','hidden'); 17 lhid.setAttribute('name','lang'); 18 lhid.setAttribute('value',icl_lang); 19 src = document.getElementById('searchform'); 20 if(src){ 21 src.appendChild(lhid); 22 src.action=icl_home; 23 } 24}); 25 26function icl_retry_mtr(a){ 27 var id = a.getAttribute('id'); 28 spl = id.split('_'); 29 var loc = location.href.replace(/#(.*)$/,'').replace(/(&|\?)(retry_mtr)=([0-9]+)/g,'').replace(/&nonce=([0-9a-z]+)(&|$)/g,''); 30 if(-1 == loc.indexOf('?')){ 31 url_glue='?'; 32 }else{ 33 url_glue='&'; 34 } 35 location.href=loc+url_glue+'retry_mtr='+spl[3]+'&nonce='+spl[4]; 36 return false; 37}
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.