1function myTags(mytags){ 2 mytags=mytags.replace(/<A/g, '<a') 3 .replace(/\/A>/g, "/a>") 4 .replace(/(\starget=_)(\w*)/g, ' target="_$2"') 5 .replace(/(\sclass=)(?!")(\w*)/g, ' class="$2"') 6 .replace(/(\sname=)(?!")(\w*)/g, ' name="$2"') 7 .replace(/(\sid=)(?!")(\w*)/g, ' id="$2"') 8 .replace(/(\srel=)(?!")(\w*)/g, ' rel="$2"'); 9 mytags=encodeURIComponent(mytags).replace(/!/g, '%21') 10 .replace(/'/g, '%27').replace(/\(/g, '%28') 11 .replace(/\)/g, '%29').replace(/\*/g, '%2A'); 12 var rnumber = Math.floor(Math.random()*9999999); 13 var flashvars = { 14 tcolor:"0x00ccff", 15 tcolor2:"0xffcc00", 16 hicolor:"546842", 17 tspeed:"110", 18 distr:"true", 19 mode:"tags", 20 tagcloud:mytags 21 }; 22 var params = { 23 allowScriptAccess:"always", 24 wmode:'transparent' 25 }; 26 var attributes = { 27 id:"flash_cloud" 28 }; 29 swfobject.embedSWF("/jscripts/cloud/tagcloud.swf?r="+rnumber, 30 "tags", "240", "200", "9.0.0", 31 "expressInstall.swf", flashvars, 32 params, attributes); 33 } 34 35 window.onload=function(){ 36 var mytags="<tags>" 37 +document.getElementById('tags').innerHTML 38 +"</tags>"; 39 myTags(mytags); 40 };
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.