1$(function(){ 2// IPad/IPhone 3 var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'), 4 ua = navigator.userAgent, 5 6 gestureStart = function () {viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";}, 7 8 scaleFix = function () { 9 if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) { 10 viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; 11 document.addEventListener("gesturestart", gestureStart, false); 12 } 13 }; 14 15 scaleFix(); 16 // Menu Android 17 if(window.orientation!=undefined){ 18 var regM = /ipod|ipad|iphone/gi, 19 result = ua.match(regM) 20 if(!result) { 21 $('.sf-menu li').each(function(){ 22 if($(">ul", this)[0]){ 23 $(">a", this).toggle( 24 function(){ 25 return false; 26 }, 27 function(){ 28 window.location.href = $(this).attr("href"); 29 } 30 ); 31 } 32 }) 33 } 34 } 35}); 36var ua=navigator.userAgent.toLocaleLowerCase(), 37 regV = /ipod|ipad|iphone/gi, 38 result = ua.match(regV), 39 userScale=""; 40if(!result){ 41 userScale=",user-scalable=0" 42}
43document.write('<meta name="viewport" content="width=device-width,initial-scale=1.0'+userScale+'">') 44 45var currentYear = (new Date).getFullYear(); 46 $(document).ready(function() { 47 $("#copyright-year").text( (new Date).getFullYear() ); 48 }); 49 50 $(function(){ 51 $('.sf-menu').superfish({autoArrows: true}) 52})
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.