function trac_powered_button() {
    document.write('<a href="http://trac.edgewall.org/">' +
            '<img src="/chrome/common/trac_logo_mini.png" ' +
            'height="30" width="107" alt="Trac Powered" /></a>');
}

function w3_validator_button() {
    document.write('<a href="http://validator.w3.org/check?uri=referer">' +
            '<img src="http://www.w3.org/Icons/valid-xhtml10-blue" ' +
            'alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>');
}

function i_ua_counter() {
    document.write('<!-- I.UA counter --><a href="http://www.i.ua/" '+
            'onclick="this.href=\'http://i.ua/r.php?58867\';" '+
            'title="Rated by I.UA">');
    iS='<img src="http://r.i.ua/s?u58867&p23&n'+Math.random();
    iD=document;iD.cookie="iua=1";if(iD.cookie)iS+='&c1';
    iS+='&d'+(screen.colorDepth?screen.colorDepth:screen.pixelDepth)
    +"&w"+screen.width+'&h'+screen.height;
    iT=iD.referrer.slice(7);iH=window.location.href.slice(7);
    ((iI=iT.indexOf('/'))!=-1)?(iT=iT.substring(0,iI)):(iI=iT.length);
    if(iT!=iH.substring(0,iI))iS+='&f'+escape(iD.referrer.slice(7));
    iS+='&r'+escape(iH);
    iD.write(iS+'" border="0" width="88" height="31" />');
    document.write('</a><!-- End of I.UA counter -->');
}

