<div class="owm_chat_window" id="mailboxConversation"{if !empty($sendAuthMessage)} style="padding-bottom: 130px;"{/if}>
    <div class="owm_chat_info_wrap clearfix">
        <div class="owm_chat_info" id="mailboxBackToConversations">
            <div class="owm_chat_back"><a class="owm_nav_next" href="javascript://"></a></div>
            <div class="owm_chat_name_block owm_padding">
                <div class="owm_avatar">
                    <a href="#"><img src="{$defaultAvatarUrl}" title="#" alt="#"></a>
                </div>
                <div class="owm_profile_online" style="display: none;" id="onlineStatusBlock"></div>
                <div class="owm_chat_name"><a href="#"><span>#</span></a></div>
            </div>
        </div>
    </div>
    <div class="owm_align_center owm_padding" id="mailboxLoadHistoryBtn" style="display: none;"><div class="owm_info owm_box_padding owm_load_earlier">{text key="mailbox+load_earlier"}</div></div>
    <div class="owm_preloader" id="mailboxLoadHistoryPreloader"></div>
    <div class="owm_chat_block owm_std_margin_top" id="messageList"></div>
    <div id="mailboxConversationFooter" style="position: absolute; width: 100%; bottom: 0px;">
        <div class="owm_input_wrap" id="newMessageForm">
            {form name="newMessageForm" target="conversation-newmessage-submit-frame"}
                {if empty($sendAuthMessage) }
                    <div class="owm_chat_add_cont owm_float_right">
                        <a href="javascript://" class="owm_chat_add_icon"><input accept="image/*" type="file" id="newmessage-att-file" name="attachment"></a>
                    </div>
                    <input type="submit" style="display: none" id="newMessageAttBtn" name="newMessageAttBtn" />
                {/if}
            {/form}
            <div class="owm_fake_input owm_chat_input_wrap">
                <input type="text" id="newMessageText" name="newMessageText" placeholder="{text key='mailbox+text_message_invitation' escape=true}" />
            </div>
            
            {if !empty($sendAuthMessage)}
                <div class="owm_anno owm_info">{$sendAuthMessage}</div>
            {/if}
        </div>
        {if empty($sendAuthMessage) }
            <div class="owm_chat_submit owm_bg_color_3 comment_submit" id="newMessageSubmitForm">
                <div class="owm_chat_btns owm_padding clearfix">
                    <div class="owm_float_right owm_chat_btn" id="newmessage-mail-send-btn">{decorator name='button' type='submit' langLabel='mailbox+add_button' id='newMessageSendBtn' buttonName='newMessageSendBtn'}</div>
                </div>
            </div>
        {/if}
    </div>
</div>

<div style="display: none">
    <iframe name="conversation-newmessage-submit-frame"></iframe>
</div>


<div id="mailbox_mobile_conversation_prototypes" style="display: none;">
    <div class="owm_chat_time" id="dialogTimeBlockPrototypeBlock">#</div>
</div>

<script type="text/template" id="dialogChatMessagePrototypeBlock">
    <div class="owm_chat_bubble_wrap">
            <div class="owm_chat_bubble"><%= text %></div>
    </div>
</script>

