1function prepareEmails() { 2 var emails = document.getElementsByClassName("contact"); 3 var i; 4 if (emails && emails.length) { 5 for (i = 0; i < emails.length; i++) { 6 emails[i].innerHTML = emails[i].innerHTML.replace("__at__", "@"); 7 } 8 } 9} 10 11function showLogo() { 12 var el = document.getElementById("logo-image"); 13 if (el) { 14 el.classList.toggle("show"); 15 } 16} 17 18function autorun() { 19 prepareEmails(); 20 showLogo(); 21} 22 23function toggle(el) { 24 if (el.style.display !== "block") { 25 el.style.display = "block"; 26 } else { 27 el.style.display = "none"; 28 } 29} 30 31function navmenuclick(btn) { 32 var el = document.getElementById("navmenu-content"); 33 if (el) { 34 el.classList.toggle("change"); 35 } 36 if (btn) { 37 btn.classList.toggle("change"); 38 } 39} 40 41function navlinkclick() { 42 var btn = document.getElementById("navmenu-button"); 43 if (btn) { 44 navmenuclick(btn); 45 } 46} 47 48function topbuttonclick() { 49 document.body.scrollTop = 0; // For Safari 50 document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera 51}
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.