1function CreateYears() { 2 var i; 3 date = new Date(); 4 5 var nowYear = (date.getYear()<1000)? 6 date.getYear()+1900:date.getYear(); 7 var year = nowYear; 8 var optionTag; 9 10 for( i = 0; i < 2; i++ ) { 11 if( year == nowYear ) { 12 optionTag = "<option value=\"" + year + "\" selected>" + year + "</option>\n"; 13 } else { 14 optionTag = "<option value=\"" + year + "\">" + year + "</option>\n"; 15 } 16 year++; 17 document.write( optionTag ); 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.