1(function(global) { 2 3var data = [imgsPath + "ico_processing.gif", 16, 16] 4 , rpos = [15, 15] 5 , queue = [] 6 , indicator = new Element("div", { id: "mouseTrail", style: "position:absolute;top:0;left:0;z-index:9999;visibility:hidden;" }) 7 , img = new Element("img", { src: data[0], width: data[1], height: data[2], alt: "spinner" }) 8; 9 10indicator.adopt(img); 11document.body.adopt(indicator); 12 13global.loading = { 14 15 start: function(id) { 16 queue.push(id); 17 indicator.setStyle("visibility", ""); 18 }, 19 20 stop: function(id) { 21 queue.remove(id); 22 if( queue.length <= 0 ) indicator.setStyle("visibility", "hidden"); 23 } 24 25}; 26 27document.addEvent("mousemove", function(ev) { 28 ev = new Event(ev); 29 30 var x = rpos[0] + ev.page.x; 31 var y = rpos[1] + ev.page.y; 32 33 if(x + data[1] > bW() + rX() - rpos[0] - data[1]) x = bW() + rX() - rpos[0] - data[1]; 34 if(y + data[2] > bH() + rY() - rpos[1] - data[2]) y = bH() + rY() - rpos[1] - data[2]; 35 36 sX(indicator,x); 37 sY(indicator,y); 38}); 39 40}(this));
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.