1$(document).ready(function () { 2 3 4 if ($("body").hasClass("faqs")) { 5 $("header .main-menu-section .menu-4-links li:nth-child(3) a").addClass("a-active") 6 } else { 7 $("header .main-menu-section .menu-4-links li:nth-child(3) a").removeClass("a-active") 8 } 9 10 /*if ($("body").hasClass("resources")) { 11 $("header .main-menu-section .menu-4-links li:nth-child(5) a").addClass("a-active") 12 } 13 if (window.location.href.indexOf('#resource_section_2') > -1) { 14 $("header .main-menu-section .menu-4-links li:nth-child(5) a").addClass("a-active") 15 } 16*/ 17 $('#text-form,#download-form,#email-form,#MylaninRequest').hide(); 18 $('a[href="#text-form"],a[href="/savings#text-form"]').click(function () { 19 $('#text-form').show(); 20 $('span.error').hide(); 21 $('#MylaninRequest').hide(); 22 $('#download-form,#email-form').hide(); 23 $('#MylaninRequest input[type=text]').removeClass('error_input'); 24 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 25 26 $('html, body').animate({ 27 'scrollTop': $("#text-form").position().top + 200 28 }); 29 30 }); 31 $('a[href="#download-form"],a[href="/savings#download-form"]').click(function () { 32 $('#download-form,#MylaninRequest').show(); 33 $('#savings-download-1').attr('checked', true); 34 $('#MylaninRequest input[type=text]').removeClass('error_input'); 35 $('#text-form,#email-form').hide(); 36 $('#savings-email-2').removeAttr('checked'); 37 $('span.error').hide(); 38 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 39 40 $('html, body').animate({ 41 'scrollTop': $("#download-form").position().top + 200 42 }); 43 }); 44 $('a[href="#email-form"],a[href="/savings#email-form"]').click(function () { 45 $('#email-form,#MylaninRequest').show(); 46 $('#savings-email-2').attr('checked', true); 47 $('span.error').hide(); 48 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 49 $('#text-form,#download-form').hide(); 50 $('#savings-download-1').removeAttr('checked'); 51 $('#MylaninRequest input[type=text]').removeClass('error_input'); 52 53 $('html, body').animate({ 54 'scrollTop': $("#email-form").position().top + 200 55 }); 56 }); 57 58 if (window.location.href.indexOf('#email-form') > -1) { 59 $('#text-form,#download-form,#email-form').hide(); 60 $('#email-form,#MylaninRequest').show(); 61 $('#savings-email-2').attr('checked', true); 62 $('span.error').hide(); 63 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 64 $('#savings-download-1').removeAttr('checked'); 65 $('#MylaninRequest input[type=text]').removeClass('error_input'); 66 } 67 if (window.location.href.indexOf('#download-form') > -1) { 68 $('#text-form,#download-form,#email-form').hide(); 69 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 70 $('#download-form,#MylaninRequest').show(); 71 $('#savings-email-2').removeAttr('checked'); 72 $('#savings-download-1').attr('checked', true); 73 $('span.error').hide(); 74 $('#MylaninRequest input[type=text]').removeClass('error_input'); 75 } 76 if (window.location.href.indexOf('#text-form') > -1) { 77 $('#text-form,#download-form,#email-form').hide(); 78 $('#MylaninRequest input[type=checkbox]').removeClass('error_input'); 79 $('#text-form').show(); 80 $('span.error').hide(); 81 $('#MylaninRequest input[type=text]').removeClass('error_input'); 82 $('#MylaninRequest').hide(); 83 } 84}); 85 86
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.