1window.addEvent('load', function(){ 2 var StyleCookie = new Hash.Cookie('ZTNeoaStyleCookieSite'); 3 var settings = { colors: '' }; 4 var style_1, style_2, style_3; 5 6 if($('ztcolor1')){ 7 $('ztcolor1').addEvent('click', function(e) { 8 e = new Event(e).stop(); 9 if (style_1) style_1.remove(); 10 new Asset.css(ztpathcolor + 'orange.css', {id: 'orange'}); 11 style_1 = $('orange'); 12 settings['colors'] = ztpathcolor + 'orange.css'; 13 StyleCookie.empty(); 14 StyleCookie.extend(settings); 15 }); 16 } 17 18 if($('ztcolor2')){ 19 $('ztcolor2').addEvent('click', function(e) { 20 e = new Event(e).stop(); 21 if (style_2) style_2.remove(); 22 new Asset.css(ztpathcolor + 'green.css', {id: 'green'}); 23 style_2 = $('green'); 24 settings['colors'] = ztpathcolor + 'green.css'; 25 StyleCookie.empty(); 26 StyleCookie.extend(settings); 27 }); 28 } 29 30 if($('ztcolor3')){ 31 $('ztcolor3').addEvent('click', function(e) { 32 e = new Event(e).stop(); 33 if (style_3) style_3.remove(); 34 new Asset.css(ztpathcolor + 'red.css', {id: 'red'}); 35 style_3 = $('red'); 36 settings['colors'] = ztpathcolor + 'red.css'; 37 StyleCookie.empty(); 38 StyleCookie.extend(settings); 39 }); 40 } 41 42 43});
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.