1var Share = { 2 vkontakte: function(purl, ptitle, pimg, text) { 3 purl=purl||location.href; 4 url = 'http://vkontakte.ru/share.php?'; 5 url += 'url=' + encodeURIComponent(purl); 6 url += '&title=' + encodeURIComponent(ptitle); 7 url += '&description=' + encodeURIComponent(text); 8 url += '&image=' + encodeURIComponent(pimg); 9 url += '&noparse=true'; 10 Share.popup(url); 11 }, 12 odnoklassniki: function(purl, text) { 13 url = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1'; 14 url += '&st.comments=' + encodeURIComponent(text); 15 url += '&st._surl=' + encodeURIComponent(purl); 16 Share.popup(url); 17 }, 18 facebook: function(purl, ptitle, pimg, text) { 19 purl=purl||location.href; 20 url = 'http://www.facebook.com/sharer.php?s=100'; 21 url += '&p[title]=' + encodeURIComponent(ptitle); 22 url += '&p[summary]=' + encodeURIComponent(text); 23 url += '&p[url]=' + encodeURIComponent(purl); 24 url += '&p[images][0]=' + encodeURIComponent(pimg); 25 Share.popup(url); 26 }, 27 twitter: function(purl, ptitle) { 28 purl=purl||location.href; 29 url = 'http://twitter.com/share?'; 30 url += 'text=' + encodeURIComponent(ptitle); 31 url += '&url=' + encodeURIComponent(purl); 32 url += '&counturl=' + encodeURIComponent(purl); 33 Share.popup(url); 34 }, 35 lj: function(purl, ptitle, ptext) { 36 purl=purl||location.href; 37 url = 'http://www.livejournal.com/update.bml?'; 38 url += 'event=' + encodeURIComponent(ptext); 39 url += '&subject=' + encodeURIComponent(ptitle); 40 Share.popup(url); 41 }, 42 mailru: function(purl, ptitle, pimg, text) { 43 url = 'http://connect.mail.ru/share?'; 44 url += 'url=' + encodeURIComponent(purl); 45 url += '&title=' + encodeURIComponent(ptitle); 46 url += '&description=' + encodeURIComponent(text); 47 url += '&imageurl=' + encodeURIComponent(pimg); 48 Share.popup(url) 49 }, 50 51 popup: function(url) { 52 window.open(url,'','toolbar=0,status=0,width=626,height=436'); 53 } 54}; 55$(document).ready(function() 56{ 57 $('.col-text-row > span').each(function() 58 { 59 if($(this).height() > 15) $(this).parent().addClass('double'); 60 else $(this).height(40); 61 }); 62});
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.