1function seltime(op, q) { 2 location.href="/" + q + "&type=" + op; 3 return (1); 4} 5 6function selperiod(q, selBoxN) { 7 var periodType = document.getElementById('periodType'); 8 var periodTypeValue = periodType.options[periodType.selectedIndex].value; 9 if (periodTypeValue == 'year') { 10 if(selBoxN == 'yearN') { 11 var yearN = document.getElementById('yearN'); 12 var yearNvalue = yearN.options[yearN.selectedIndex].value; 13 location.href = '/' + q + '&type=year&yearN=' + yearNvalue; 14 } 15 } 16 else if (periodTypeValue == 'month') { 17 if (selBoxN == 'yearN') { 18 var yearN = document.getElementById('yearN'); 19 var yearNvalue = yearN.options[yearN.selectedIndex].value; 20 location.href = '/' + q + '&type=month&yearN=' + yearNvalue; 21 } 22 else if (selBoxN == 'monthN') { 23 var yearN = document.getElementById('yearN'); 24 var yearNvalue = yearN.options[yearN.selectedIndex].value; 25 var monthN = document.getElementById('monthN'); 26 var monthNvalue = monthN.options[monthN.selectedIndex].value; 27 location.href = '/' + q + '&type=month&yearN=' + yearNvalue + '&monthN=' + monthNvalue; 28 } 29 } 30 else if (periodTypeValue == 'day') { 31 if (selBoxN == 'yearN') { 32 var yearN = document.getElementById('yearN'); 33 var yearNvalue = yearN.options[yearN.selectedIndex].value; 34 location.href = '/' + q + '&type=day&yearN=' + yearNvalue; 35 } 36 else if (selBoxN == 'monthN') { 37 if(selBoxN == 'yearN') { 38 var yearN = document.getElementById('yearN'); 39 var yearNvalue = yearN.options[yearN.selectedIndex].value; 40 location.href = '/' + q + '&type=day&yearN=' + yearNvalue; 41 } 42 else if (selBoxN == 'monthN') { 43 var yearN = document.getElementById('yearN'); 44 var yearNvalue = yearN.options[yearN.selectedIndex].value; 45 var monthN = document.getElementById('monthN'); 46 var monthNvalue = monthN.options[monthN.selectedIndex].value; 47 location.href = '/' + q + '&type=day&yearN=' + yearNvalue + '&monthN=' + monthNvalue; 48 } 49 } 50 else if (selBoxN == 'dayN') { 51 var yearN = document.getElementById('yearN'); 52 var yearNvalue = yearN.options[yearN.selectedIndex].value; 53 var monthN = document.getElementById('monthN'); 54 var monthNvalue = monthN.options[monthN.selectedIndex].value; 55 var dayN = document.getElementById('dayN'); 56 var dayNvalue = dayN.options[dayN.selectedIndex].value; 57 location.href = '/' + q + '&type=day&yearN=' + yearNvalue + '&monthN=' + monthNvalue + '&dayN=' + dayNvalue; 58 } 59 } 60 61 return (1); 62}
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.