if (typeof dodajdo_jest == "undefined") {
    var dodajdo_jest = 'dodajdo';
    var dodajdo_url;
    var dodajdo_title;
    var dodajdo_sid;
    var dodajdo_uslugi;
    var dodajdo_offset_top = 0;
    var dodajdo_offset_left = 0;
    var uri = 'http://dodajdo.com/';
    function dodajdo_id(id) {
        return document.getElementById(id)
    }
    function dodajdo_pokaz(vo, id, title, url, uslugi) {
        if (uslugi == -1) {
            return false
        }
        if (!id) {
            id = 0
        }
        if (!title) {
            title = document.title
        }
        if (!url) {
            url = location.href
        }
        dodajdo_title = title;
        dodajdo_url = url;
        dodajdo_sid = id;
        if (!uslugi) {
            var sdodajdo_url = dodajdo_url.split("#", 2);
            uslugi = "<tr><td><a href=\"#\" onclick=\"dodajdo('wykop')\"><img src=\"" + uri + "img/wykop.gif\" alt=\"wykop\" /> wykop</a></td><td><a href=\"#\" onclick=\"dodajdo('osnews')\"><img src=\"" + uri + "img/osnews.gif\" alt=\"osnews\" /> osnews</a></td><td><a href=\"#\" onclick=\"dodajdo('elefanta')\"><img src=\"" + uri + "img/elefanta.gif\" alt=\"elefanta\" /> elefanta</a></td></tr>";
            uslugi += "<tr><td><a href=\"#\" onclick=\"dodajdo('gwar')\"><img src=\"" + uri + "img/gwar.gif\" alt=\"gwar\" /> gwar</a></td><td><a href=\"#\" onclick=\"dodajdo('woomer')\"><img src=\"" + uri + "img/woomer.png\" alt=\"woomer\" /> woomer</a></td><td><a href=\"#\" onclick=\"dodajdo('mikser')\"><img src=\"" + uri + "img/mikser.png\" alt=\"mikser\" /> mikser</a></td></tr>";
            uslugi += "<tr><td><a href=\"#\" onclick=\"dodajdo('digg')\"><img src=\"" + uri + "img/digg.png\" alt=\"digg\" /> digg</a></td><td><a href=\"#\" onclick=\"dodajdo('delicious')\"><img src=\"" + uri + "img/delicious.png\" alt=\"delicious\" /> delicious</a></td><td><a href=\"" + uri + "zakladki.php?id=" + dodajdo_sid + "&url=" + sdodajdo_url[0] + "&tytul=" + dodajdo_title + "\">&#187; Wiecej...</a></td></tr>"
        }
        dodajdo_uslugi = uslugi;
        dodajdo_zamknijtimeout();
        dodajdo_obiekt();
        var at15u = 020;
        var at15Z = vo.getElementsByTagName('img');
        if (at15Z && at15Z[0]) {
            at15a = at15Z[0];
            at15u = 0
        }
        var at15z = dodajdo_x(at15a);
        var at15x = at15z[0] + dodajdo_offset_left;
        var at15W = at15z[1] + at15u + 1 + dodajdo_offset_top;
        var at15w = dodajdo_v();
        var at15v = dodajdo_t();
        var ob = dodajdo_id('dodajdo_tabelka');
        ob.style.display = 'block';
        if (at15x - at15v[0] + ob.clientWidth + 024 > at15w[0]) at15x = at15x - ob.clientWidth;
        if (at15W - at15v[1] + ob.clientHeight + at15a.clientHeight + 024 > at15w[1]) at15W = at15W - ob.clientHeight - 024;
        ob.style.left = at15x + 'px';
        ob.style.top = (at15W + at15a.clientHeight) + 'px';
        return false
    }
    function dodajdo_x(at15L) {
        var at15l = 0,
        at15K = 0;
        do {
            at15l += at15L.offsetTop || 0;
            at15K += at15L.offsetLeft || 0;
            at15L = at15L.offsetParent
        }
        while (at15L);
        return [at15K, at15l]
    }
    function dodajdo_v() {
        var at15k = 0;
        var at15J = 0;
        if (typeof(window.innerWidth) == 'number') {
            at15k = window.innerWidth;
            at15J = window.innerHeight
        } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
            at15k = document.documentElement.clientWidth;
            at15J = document.documentElement.clientHeight
        } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
            at15k = document.body.clientWidth;
            at15J = document.body.clientHeight
        }
        return [at15k, at15J]
    }
    function dodajdo_t() {
        var at15j = 0;
        var at15H = 0;
        if (typeof(window.pageYOffset) == 'number') {
            at15H = window.pageYOffset;
            at15j = window.pageXOffset
        } else if (document.body && (document.body.scrollLeft || document.body.scrollTop)) {
            at15H = document.body.scrollTop;
            at15j = document.body.scrollLeft
        } else if (document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
            at15H = document.documentElement.scrollTop;
            at15j = document.documentElement.scrollLeft
        }
        return [at15j, at15H]
    }
    function dodajdo_zamknij() {
        obzamknij = setTimeout("dodajdo_zamknij_win()", 0764)
    }
    function dodajdo_zamknij_win() {
        var ob = dodajdo_id('dodajdo_tabelka');
        ob.style.display = 'none';
        return false
    }
    function dodajdo_zamknijtimeout() {
        if (typeof obzamknij != "undefined") clearTimeout(obzamknij)
    }
    function dodajdo(serwis) {
        document.forms.frm_dodajdo.serwis.value = serwis;
        document.forms.frm_dodajdo.submit()
    }
    function dodajdo_obiekt() {
        var zawartoscmain = '<div id="dodajdo_tabelka" onmouseover="dodajdo_zamknijtimeout()" onmouseout="dodajdo_zamknij()" style="z-index: 1000000; position: absolute; display: none">';
        var zawartosc = '<form action="' + uri + 'zakladki.php" method="post" name="frm_dodajdo" style="display:none;"><input type="hidden" name="url" value="' + dodajdo_url + '" /><input type="hidden" name="tytul" value="' + dodajdo_title + '" /><input type="hidden" name="id" value="' + dodajdo_sid + '" /><input type="hidden" name="serwis" value="" /></form><table width="100%" cellspacing="0" style="background-color: #EEEEEE; height: 18px">';
        zawartosc += '<tr><td style="font-size: 12px; color: #666666; padding-left:3px"><span id="dodajdo_etykieta">Dodaj&nbsp;do</span></td></tr>';
        zawartosc += '</table>';
        zawartosc += '<div id="dodajdo_uslugi">';
        zawartosc += '<table id="dodajdo_uslugi" width="100%" cellpadding="0" style="font-family: Verdana, Arial; font-size: 11px">';
        zawartosc += '<tr><td colspan="3" style="height: 0px"></td></tr>';
        zawartosc += dodajdo_uslugi;
        zawartosc += '<tr><td colspan="3" style="height: 2px"></td></tr>';
        zawartosc += '</table>';
        zawartosc += '\x3c/div>\n';
        zawartosc += '<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #EEEEEE">';
        zawartosc += '<tr><td cellpadding="2" style="padding-left: 3px;"><a href="' + uri + '" style="color:#333;font-size:10px;">Zainstaluj wtyczke w przegladarce!</a></td><td align="right" style="padding: 0px; padding-right: 3px; height: 20px"><a href="' + uri + '" target="_blank" style="height: 18px; padding: 0px"><img src="' + uri + 'bookmarks1.gif" border="0" style="padding: 0px;"  alt="" /></a></td></tr>';
        zawartosc += '\x3c/table>\n';
        var zawartoscmain2 = '\x3c/div>\n';
        if (dodajdo_id('dodajdo_tabelka_main')) {
            dodajdo_id('dodajdo_tabelka').innerHTML = zawartosc
        } else {
            var css = document.createElement('link');
            css.rel = 'stylesheet';
            css.type = 'text/css';
            css.href = uri + 'dodajdo_tabelka.css';
            css.media = 'all';
            document.lastChild.firstChild.appendChild(css);
            var css2 = document.createElement('div');
            css2.innerHTML = 'a\x3cstyle type="text/css">\n#dodajdo_uslugi { background-color: #FFFFFF; }#dodajdo_uslugi a { padding: 0px 0px 0px 2px; color: #333; display: block; font-weight: normal; }#dodajdo_uslugi td { width: 75px; padding: 3px 0px 1px 3px; }#dodajdo_tabelka a:hover { background-color: #F5F5F5; }#dodajdo_tabelka a { text-decoration: none; }#dodajdo_tabelka img { border: none; vertical-align: middle; width: 16px; height: 16px; }#dodajdo_tabelka { z-index: 1000000; text-align: left; width: 236px; position: absolute; display: none; border: #CCCCCC solid 1px; padding: 1px 1px 0px 1px; overflow: hidden; background-color: #FFFFFF; font-family: Geneva, Arial, Helvetica, sans-serif; }\x3c/style>\n';
            css2.style.display = 'none';
            document.body.insertBefore(css2, document.body.firstChild);
            var ob = document.createElement('div');
            ob.id = 'dodajdo_tabelka_main';
            ob.innerHTML = zawartoscmain + zawartosc + zawartoscmain2;
            document.body.insertBefore(ob, document.body.firstChild);
            ob.style.zIndex = 03641100
        }
    }
}