1function setSupportNavigation(itemNumber) { 2 //reset the navigation 3 $('.left-column .global-nav.signed-in ul li a').removeClass('selected'); 4 $('.left-column .global-nav.signed-in .top').css('visibility', 'hidden'); 5 6 if (itemNumber == 1) { 7 selectFirstNavItemSupport(); 8 } 9 else { 10 if (itemNumber == 2) { 11 $('.contact-us-sub-nav a').addClass('selected'); 12 } 13 else if (itemNumber == 3) { 14 $('.feedback-sub-nav a').addClass('selected'); 15 } 16 else if (itemNumber == 4) { 17 $('.terms-sub-nav a').addClass('selected'); 18 } 19 else if (itemNumber == 5) { 20 $('.privacy-sub-nav a').addClass('selected'); 21 } 22 } 23} 24 25function selectFirstNavItemSupport() { 26 $('.left-column .global-nav ul li:first a').addClass('selected'); 27 $('.left-column .global-nav .top').css('visibility', 'visible'); 28 29 $('.left-column .global-nav ul li ul li a').removeClass('selected'); 30} 31 32function updateFeedbackSubmitBtn() { 33 if ($('#feedback-form #nameTextBox').val() == '' || 34 $('#feedback-form #emailTextBox').val() == '' || 35 $('#feedback-form #messageTextArea').val() == '') { 36 $('#feedback-form .message-send-button').addClass('disabled'); 37 } else { 38 $('#feedback-form .message-send-button').removeClass('disabled'); 39 } 40} 41 42$(document).ready(function () { 43 $('#feedback-form input, #feedback-form textarea').bind('keyup input paste.mask', function(e) {updateFeedbackSubmitBtn();}); 44});
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.