<div class="overlay_callback" onclick="callback.close();">
    <div class="overlay_callback__item" onclick="event.stopPropagation();">
        <?php
        include_component('callback', 'callback');
        ?>
    </div>
</div>
<div id="panel"></div>
<div class="search_overlay" onclick="search.close();">
    <div class="search_overlay__line" onclick="event.stopPropagation();">
        <div class="max_width">
            <form method="get" action="<?php echo url_for('@search');?>">
                <table cellspacing="0" cellpadding="0" width="100%">
                    <tbody>
                    <tr>
                        <td>
                            <input type="text" class="search_overlay__line__inp" autocomplete="off" name="q" placeholder="<?php echo __('Поиск');?>" onkeyup="search.onKeyup(this);" />
                        </td>
                        <td width="1">
                            <button class="search_overlay__line__btn search_btn" type="submit"></button>
                        </td>
                        <td width="20"></td>
                        <td width="1">
                            <div class="search_overlay__close" onclick="search.close();"></div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
    <div class="search_overlay__result max_width" onclick="event.stopPropagation();"></div>
</div>

<div class="body_wrapper_wrapper">
    <table class="body_wrapper" width="100%" cellspacing="0" cellpadding="0" heigth="100%">
        <tr>
            <td heigth="100%" align="center">
                <table class="root_table" width="100%" cellspacing="0" cellpadding="0">
                    <tr valign="top">
                        <td class="root_table__top" align="center">
                            <?php include(sfConfig::get('sf_app_template_dir') . '/top_desktop.php'); ?>
                            <?php include(sfConfig::get('sf_app_template_dir') . '/top_mobile.php'); ?>
                        </td>
                    </tr>
                    <tr valign="top" onclick="$('.body_wrapper_search').removeClass('show');">
                        <td class="root_table__middle" align="center" height="100%" colspan="2">
                            <div class="btn_to_up" onclick="$('html, body').animate({scrollTop:0}, 600);"></div>
                            <div class="er_content">
