1function submitProductsComparison(){ 2 3 var objForm = getFormByElem(this); 4 var cmpCtrls = getElementsByClass('ctrl_products_cmp'); 5 var cmpPrds = getElementByClass('comparison_products',objForm); 6 cmpPrds.value = ''; 7 for(var cmp_k = cmpCtrls.length-1; cmp_k>=0; cmp_k--){ 8 9 if(!cmpCtrls[cmp_k].checked)continue; 10 cmpPrds.value += ' '+cmpCtrls[cmp_k].value; 11 } 12 if ( cmpPrds.value != '' )objForm.submit(); 13} 14 15Behaviour.register({ 16 'input.hndl_submit_prds_cmp': function(e){ 17 e.onclick = submitProductsComparison; 18 } 19});
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.