<!DOCTYPE html>
<html>
<HEAD>
    <meta content="text/html; charset=utf-8" http-equiv=Content-type>
    <script src="http://yandex.st/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
    <style>.btn0 {
            background: url(/i/newd/up_right_dec.jpg) no-repeat;
            width: 78px;
            height: 33px;
            margin-top: 1px;
        }

        .btn7 {
            background: url(/i/newd/up_right_dec2.jpg) no-repeat;
            width: 19px;
            height: 33px;
        }

        .btn2 {
            background: url(/i/newd/up_butt2.jpg) no-repeat 0 -33px;
            cursor: pointer;
            width: 32px;
            height: 33px;
        }

        .btn2:hover {
            background-position: 0 0px;
            width: 32px;
            cursor: pointer;
        }

        .btn4 {
            background: url(/i/newd/up_butt4.jpg) no-repeat 0 -33px;
            cursor: pointer;
            width: 32px;
            height: 33px;
        }

        .btn4:hover {
            background-position: 0 0px;
            width: 32px;
            cursor: pointer;
        }

        .btn20 {
            background: url(/i/newd/m_link1.png) no-repeat 0 -33px;
            cursor: pointer;
            width: 32px;
            height: 33px;
        }

        .btn20:hover {
            background-position: 0 0px;
            width: 32px;
            cursor: pointer;
        }

        .btn5 {
            background: url(/i/newd/up_butt5.jpg) no-repeat 0 -33px;
            cursor: pointer;
            width: 32px;
            height: 33px;
        }

        .btn5:hover {
            background-position: 0 0px;
            width: 32px;
            cursor: pointer;
        }

        .btn6 {
            background: url(/i/newd/up_butt6.jpg) no-repeat 0 -33px;
            cursor: pointer;
            width: 32px;
            height: 33px;
        }

        .btn6:hover {
            background-position: 0 0px;
            width: 32px;
            cursor: pointer;
        }

        li {
            display: inline-block;
            float: right;
        }</style>
    <script>
        setTimeout(function () {
            location.href = "plrfr.php"
        }, 52161000);
        function ShowActions2() {
            $('#btn2').removeClass('btn22');
            $('#btn2').addClass('btn2');

            var o = top.frames['main'].document;

            if (o.frames && o.frames['leftmap']) {
                o = o.frames['leftmap'].document;
            }

            if (!o.getElementById("actiondiv")) {
                newdiv2 = o.createElement("div"),
                    newdiv2.setAttribute("id", "actiondiv");
                newdiv2.setAttribute("style", "display:none;");
                newdiv2.setAttribute("style", "z-index:99999;");
                o.body.appendChild(newdiv2);
            }

            var el = o.getElementById("actiondiv");
            txt = '<font style="color:#8F0000;font-weight:bold;">Текущие акции<br><br>';
            txt += '<table border=0 width=400><tr><td rowspan=2 width="60" valign=top><img alt="" src="/i/action/sale_pictures2.jpg"></td><td style="color:#8F0000;font-weight:bold;"><a href="http://old-dark.ru" target="_blank" style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color: #038;text-decoration: none;">Акция "Установи изображение"</a></td></tr><tr><td style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color:black;font-weight:normal;">Спешите! Скидка на установку любых изображений.<br><small><i>Акция действует в настоящий момент c 01/03/2016 00:00 по 15/03/2016 00:00</i></small></td></tr><tr><td colspan=2 height=25><img src="/i/newd/pop/razdelitel1.png"></td></tr></table>';
            txt += '<table border=0 width=400><tr><td rowspan=2 width="60" valign=top><img alt="" src="/i/action/sale_junior2.jpg"></td><td style="color:#8F0000;font-weight:bold;">"Подарки новичкам"</td></tr><tr><td style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color:black;font-weight:normal;">Перейдя на 5й уровень Вы получите ценное долларовое обмундирование в подарок.</td></tr><tr><td colspan=2 height=25><img src="/i/newd/pop/razdelitel1.png"></td></tr></table>';
            el.innerHTML = '<table border=0 cellspacing=0 cellpadding=0 width=505><tr><td width=505 style="background-repeat: no-repeat;" background="/i/newd/pop/up_bg.jpg"><img OnClick="document.getElementById(\'actiondiv\').style.display = \'none\';" OnMouseOut="this.src=\'/i/newd/pop/close_butt.jpg\';" OnMouseOver="this.src=\'/i/newd/pop/close_butt_hover.jpg\';" src="/i/newd/pop/close_butt.jpg" align=right></td></tr><tr><td background="/i/newd/pop/bg-y.jpg" align="center">' + txt + '</td></tr><tr><td width=500 height=8 background="/i/newd/pop/down_bg.jpg"></td></tr>';
            el.style.display = "";
            el.style.position = "absolute";
            el.style.width = "550px;";
            el.style.left = "50%";
            el.style.top = "10%";
            el.style.marginLeft = "-275px";
            $.get('plrfr.php?save=1');
        }
        top.an = 1;
    </script>
    <script type="text/javascript">
        /* <![CDATA[ */
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-17715832-1']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script');
            ga.type = 'text/javascript';
            ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(ga, s);
        })();

        (function (b) {
            (function (a) {
                "__CF" in b && "DJS" in b.__CF ? b.__CF.DJS.push(a) : "addEventListener" in b ? b.addEventListener("load", a, !1) : b.attachEvent("onload", a)
            })(function () {
                "FB" in b && "Event" in FB && "subscribe" in FB.Event && (FB.Event.subscribe("edge.create", function (a) {
                    _gaq.push(["_trackSocial", "facebook", "like", a])
                }), FB.Event.subscribe("edge.remove", function (a) {
                    _gaq.push(["_trackSocial", "facebook", "unlike", a])
                }), FB.Event.subscribe("message.send", function (a) {
                    _gaq.push(["_trackSocial", "facebook", "send", a])
                }));
                "twttr" in b && "events" in twttr && "bind" in twttr.events && twttr.events.bind("tweet", function (a) {
                    if (a) {
                        var b;
                        if (a.target && a.target.nodeName == "IFRAME")a:{
                            if (a = a.target.src) {
                                a = a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);
                                b = 0;
                                for (var c; c = a[b]; ++b)if (c.indexOf("url") === 0) {
                                    b = unescape(c.split("=")[1]);
                                    break a
                                }
                            }
                            b = void 0
                        }
                        _gaq.push(["_trackSocial", "twitter", "tweet", b])
                    }
                })
            })
        })(window);
        /* ]]> */
    </script>
</HEAD>
<body bgcolor="#d7d7d7">
<table border=0 cellpadding=0 cellspacing=0 width="100%"
       style="background-image: url(/i/newd/bricks_bg.jpg); height: 33px; background-repeat: repeat-x; border-spacing: 0px; border-collapse: collapse;">
    <tr>
        <td width=210 style="min-width:210px;" align="left">
            <img src="http://capitalcity.old-dark.ru/i/newd/up_left_dec.png">
        </td>
        <td align="center" style="position: relative;min-width: 350px;">
            <table border=0 width=350 cellpadding=0 cellspacing=0>
                <tr>
                    <td align=left width=1><img src="i/newd/up_center_left.png"></td>
                    <td style="background-image: url(/i/newd/up_center_bg.jpg); background-repeat: repeat-x; position:relative;vertical-align:top;"
                        align="center" width=100%>
                        <!-- RADIO PLACEHOLDER -->
                    </td>
                    <td align="right" width=1><img src="i/newd/up_center_right.png"></td>
                </tr>
            </table>
        </td>
        <td width=460 style="min-width:460px;">
            <ul style="margin:0px;margin-top: -5px;">
                <li>
                    <div class="btn7"></div>
                </li>
                <li><a href="#" onclick="top.cht('/user_anketa.php'); return false;" title="Анкета">
                        <div class="btn2" title="Анкета"></div>
                    </a></li>
                <!--<li><a href="#" onclick="top.cht('/help.php'); return false;" title="Задай вопрос паладинам"><div class="btn21" title="Задай вопрос паладинам"></div></a></li>
                <!--<li><a href="javascript:void(0)" title="Блокнот" onClick="window.open('http://capitalcity.old-dark.ru/blocknote.php', '1d', 'height=500,width=800,location=yes,menubar=yes,status=yes,toolbar=yes,scrollbars=yes');"><div class="btn5" title="Блокнот"></div></a></li>-->
                <li><a href="#" onclick="top.cht('/blocknote.php'); return false;" title="Блокнот">
                        <div class="btn5" title="Блокнот"></div>
                    </a></li>
                <li><a href="#" onclick="top.cht('/friend.php'); return false;" title="Друзья">
                        <div class="btn6" title="Друзья"></div>
                    </a></li>
                <li><a href="#" onclick="top.cht('/ref.php'); return false;" title="Заработок">
                        <div class="btn4" title="Заработок"></div>
                    </a></li>
                <li><a href="#" onclick="top.cht('/main.php?edit=1'); return false;" title="Инвентарь">
                        <div class="btn20" title="Инвентарь"></div>
                    </a></li>


                <? if ($user['first'] != 99) { ?>
                    <li><a href="#" OnClick="ShowActions2();">
                            <div id="btn2" class="btn22" title="Квест"></div>
                        </a></li>
                <? } ?>
                <li>
                    <div class="btn0"></div>
                </li>
            </ul>
        </td>
    </tr>

</table>

</body>

</html>