1function Open(id){ 2 if(document.getElementById(id).style.display=="none"){ 3 document.getElementById(id).style.display = "block"; 4 } 5 else{ 6 document.getElementById(id).style.display = "none"; 7 } 8} 9 10 11function Rollovers() { 12 if (!document.getElementById) return 13 14 var aPreLoad = new Array(); 15 var sTempSrc; 16 var aImages = document.getElementsByTagName('img'); 17 18 for (var i = 0; i < aImages.length; i++) { 19 if (aImages[i].className == 'ov') { 20 var src = aImages[i].getAttribute('src'); 21 var ftype = src.substring(src.lastIndexOf('.'), src.length); 22 var hsrc = src.replace(ftype, '_on'+ftype); 23 24 aImages[i].setAttribute('hsrc', hsrc); 25 26 aPreLoad[i] = new Image(); 27 aPreLoad[i].src = hsrc; 28 29 aImages[i].onmouseover = function() { 30 sTempSrc = this.getAttribute('src'); 31 this.setAttribute('src', this.getAttribute('hsrc')); 32 } 33 34 aImages[i].onmouseout = function() { 35 if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_on'+ftype, ftype); 36 this.setAttribute('src', sTempSrc); 37 } 38 } 39 } 40} 41 42function init() { 43 Rollovers(); 44} 45 46window.onload = init;
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.