1function bottonRollover() { 2 if(document.getElementsByTagName) { 3 var images = document.getElementsByTagName("img"); 4 5 for(var i=0; i < images.length; i++) { 6 if(images[i].getAttribute("src").indexOf("_off.") > -1) 7 { 8 images[i].onmouseover = function() { 9 this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on.")); 10 } 11 images[i].onmouseout = function() { 12 this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off.")); 13 } 14 } 15 } 16 } 17} 18 19if(window.addEventListener) { 20 window.addEventListener("load", bottonRollover, false); 21} 22else if(window.attachEvent) { 23 window.attachEvent("onload", bottonRollover); 24} 25try { 26document.execCommand('BackgroundImageCache', false, true); 27} catch(e) {}
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.