1// JavaScript Document<script type="text/javascript"> 2<!-- 3function smartRollover() { 4 if(document.getElementsByTagName) { 5 var images = document.getElementsByTagName("img"); 6 7 for(var i=0; i < images.length; i++) { 8 if(images[i].getAttribute("src").match("_off.")) 9 { 10 images[i].onmouseover = function() { 11 this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on.")); 12 } 13 images[i].onmouseout = function() { 14 this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off.")); 15 } 16 } 17 } 18 } 19} 20 21if(window.addEventListener) { 22 window.addEventListener("load", smartRollover, false); 23} 24else if(window.attachEvent) { 25 window.attachEvent("onload", smartRollover); 26}//-->
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.