1function openw(url, w, h) { 2win = window.open(''+url+'', 'popup', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h+''); 3} 4 5var agt = navigator.userAgent.toLowerCase(); 6var is_ie = agt.indexOf("msie") != -1; 7 8try {// gecko 9 window.addEventListener("load", C4_init, false); 10} catch (e) {} 11try {// IE 12 window.attachEvent("onload", C4_init); 13} catch (e) {} 14 15function C4_init(e) { 16 if (!document.getElementsByTagName) return true; 17 18 var a = document.getElementsByTagName("a"); 19 for (var i=0; i<a.length; i++) { 20 if (a[i].className == "pasts") { 21 a[i].href = "mailto:"; 22 a[i].href += a[i].childNodes[0].firstChild.nodeValue; 23 a[i].href += "%40"; 24 a[i].href += a[i].childNodes[2].firstChild.nodeValue; 25 } else if (a[i].className == "jImgPopup") { 26 if (a[i].target == "" || a[i].target == null) { 27 a[i].target = "_blank";// _blank, if each link in new window 28 } 29 a[i].onclick = C4_popJImg; 30 } 31 } 32 return true; 33} 34 35function C4_popJImg(e) { 36 var img = new Image(); 37 img.hspace = 0; 38 img.vspace = 0; 39 40 var win = window.open("about:blank", this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=no,copyhistory=no,resizable=yes,scrollbars=yes'); 41 42 img.onerror = function() {// not img, open popup 43 win.close(); 44 win.open(this.href, this.target);// popup blocker will catch 45 } 46 img.onabort = function() { win.close(); } 47 48 img.onload = function() { 49 var w = 0; 50 var hpos = 0; 51 var h = 0; 52 var vpos = 0; 53 54 if (this.width < screen.width - 40) { 55 w += this.width + 13; 56 } else { 57 w = screen.width - 40; 58 h += 20;// plus scrollbar 59 } 60 61 if (this.height < screen.height - 60) { 62 h += this.height + 53; 63 } else { 64 h = screen.height - 60; 65 w += 20;// plus scrollbar 66 } 67 68 var hpos = Math.round(screen.width / 2 - w / 2); 69 var vpos = Math.round(screen.height / 2 - h / 2); 70 71 win.resizeTo(w + 40, h + 40); 72 win.resizeTo(w, h); 73 win.moveTo(hpos, vpos); 74 win.document.body.style.margin = "1px"; 75// if (is_ie) {//again IE SUX!!!!! "Unsupported method exception" 76 win.document.body.innerHTML = "<img src='" + this.src + "' / onclick='window.close();'>"; 77// } else {// gecko sux to... 78// win.document.body.appendChild(this); 79// } 80 win.document.documentElement.title = this.src; 81 win.document.title = this.src; 82 } 83 84 img.src = this.href; 85 return false; 86} 87
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.