1function setTCJA(){ 2 var isTCJAPageWithStar = false; 3 var isTCJAPageNoStar = false; 4 5 $(".TCJATitle").each(function( index ) { 6 if( $(this).html().indexOf("[TCJA*]") >= 0){ 7 isTCJAPageWithStar = true; 8 } 9 10 if( $(this).html().indexOf("[TCJA]") >= 0){ 11 isTCJAPageNoStar = true; 12 } 13 }); 14 15 var hasTwoAsterisks = false; 16 17 if ( $(".asterisk").length ) { 18 hasTwoAsterisks = true; 19 } 20 21 var denotation = buildDenotation(isTCJAPageWithStar, isTCJAPageNoStar, hasTwoAsterisks); 22 23 $(".note").html(denotation); 24} 25 26function buildDenotation(isTCJAPageWithStar, isTCJAPageNoStar, hasTwoAsterisks){ 27 28 var denotation = ''; 29 var noteCount = 0; 30 if(!isTCJAPageWithStar && !isTCJAPageNoStar && !hasTwoAsterisks) return denotation; 31 else { 32 denotation = '<label class="columnTitle"><u>Note:</u></label>'; 33 } 34 35 if(isTCJAPageNoStar) { 36 denotation += '<div class= "columnContent"> "[TCJA]" indicates a Tax Cuts and Jobs Act [Pub. L. 115-97] regulatory action.</div>'; 37 noteCount++; 38 } 39 40 if(isTCJAPageWithStar) { 41 if(noteCount > 0) denotation += '<label class="columnTitle"> </label>'; 42 denotation += '<div class= "columnContent">"[TCJA*]" indicates a Tax Cuts and Jobs Act [Pub. L. 115-97] regulatory action designated for expedited review under Section 4(b) of the '; 43 denotation += '<a class="pageSubNavTxt" href="/public/reginfo/leaveregs.myjsp?toi=178">Memorandum of Agreement: The Department of Treasury and the Office of Management and Budget Review of Tax Regulations under Executive Order 12866</a>.</div>'; 44 noteCount++; 45 } 46 47 if(hasTwoAsterisks){ 48 if(noteCount > 0) denotation += '<label class="columnTitle"> </label>'; 49 denotation += '<div class= "columnContent">"**" denotes recent change in status.</div>'; 50 } 51 52 denotation += '<span class="clear"></span>'; 53 54 return denotation; 55} 56$(document).ready(function() { 57 setTCJA(); 58});
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.