function uaix_checker_informer() {
    document.write('<a href="http://uaix-checker.net.ua/' +
            'check?res=uaix-video.org.ua&seg=ua-ix"><img ' +
            'src="http://uaix-checker.net.ua/informer/' +
            'var02/ua-ix/uaix-video.org.ua.gif" ' +
            'alt="UA-IX Checker" border="0"/></a>');
}

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

function i_ua_counter() {
    document.write('<!-- I.UA counter -->'+
            '<'+'a href="http://www.i.ua/" target="_blank" '+
            'onclick="this.href=\'http://i.ua/r.php?77295\';" '+
            'title="Rated by I.UA">');
    iS='<img src="http://r.i.ua/s?u77295&p164&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 -->');
}

function social_buttons(className) {
    document.write('<table class="'+className+'"><tr>');

    // google
    document.write('<td>');
    document.write('<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: \'ru\', parsetags: \'explicit\'}</script>');
    document.write('<g:plusone size="medium" annotation="none"></g:plusone>');
    document.write('<script type="text/javascript">gapi.plusone.go();</script>');
    document.write('</td>');

    // vkontakte
    document.write('<td>');
    document.write('<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?45"></script>');
    document.write('<script type="text/javascript">VK.init({apiId: 2443024, onlyWidgets: true});</script>');
    document.write('<div id="vk_like" style="margin-right:-15px;"></div><script type="text/javascript">VK.Widgets.Like("vk_like", {type: "mini", height: 20});</script>');
    document.write('</td>');

    // facebook
    document.write('<td>');
    document.write('<iframe src="//www.facebook.com/plugins/like.php?href='+encodeURIComponent(window.location.href)+'&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:21px;" allowTransparency="true"></iframe>');
    document.write('</td>');

    // twitter
    document.write('<td>');
    document.write('<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="lostclus" data-lang="ru">Твитнуть</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>');
    document.write('</td>');

    document.write('</tr></table>');
}

