1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10// JavaScript Document 11 12function smartRollover() { 13 if(document.getElementsByTagName) { 14 var images = document.getElementsByTagName("img"); 15 16 for(var i=0; i < images.length; i++) { 17 if(images[i].src.match("_off.")) 18 { 19 images[i].onmouseover = function() { 20 this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on.")); 21 } 22 images[i].onmouseout = function() { 23 this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off.")); 24 } 25 } 26 } 27 } 28} 29 30if(window.addEventListener) { 31 window.addEventListener("load", smartRollover, false); 32} 33else if(window.attachEvent) { 34 window.attachEvent("onload", smartRollover); 35} 36}
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.