javascript:
SRAX.Html.onall('load', function(ops){
new Image().src = "http://counter.yadro.ru/hit?r" + escape(getReferrer(ops.id)) +
((typeof(screen)=="undefined")?"" : ";s"+screen.width+"*"+screen.height+"*" +
(screen.colorDepth?screen.colorDepth:screen.pixelDepth)) + ";u"+escape(ops.url) + ";h"+
escape((ops.title || document.title).substring(0,80)) + ";" +Math.random();
})
function getReferrer(id){
var thread = SRAX.Html.thread[id], ref = document.referrer;
if (thread){
var hist = thread.history, previous = hist.current - 1;
ref = previous ? SRAX.replaceLinkEqual(hist.storage[previous][0], true) : SRAX.delHost(hist.startPageUrl);
}
return ref;
}