1 2// ************* ICAO CODES ************* 3 4 5function submitIcao(form) { 6 7 var this_url = form.area.value; 8 9 var w = 1100; 10 var h = 500; 11 var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; 12 var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; 13 14 width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; 15 height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; 16 17 var left = ((width / 2) - (w / 2)) + dualScreenLeft; 18 var top = ((height / 2) - (h / 2)) + dualScreenTop; 19 20 var newWindow = window.open(this_url,'win', 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left); 21 22 if (window.focus) { 23 newWindow.focus(); 24 } 25 26} 27 28 29// ************* NOTAMS ************* 30 31function notams_faa() { 32 var w = 1100; 33 var h = 500; 34 var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; 35 var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; 36 37 width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; 38 height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; 39 40 var left = ((width / 2) - (w / 2)) + dualScreenLeft; 41 var top = ((height / 2) - (h / 2)) + dualScreenTop; 42 43 var newWindow = window.open('','win', 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left); 44 45 if (window.focus) { 46 newWindow.focus(); 47 } 48} 49 50
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.