<div id="mchat-style" style="width:max;height:350px; overflow:auto; background-color :#FFFFFF; border:solid #CECECE 1px; cursor:text; padding:1px">
<div id="mchat_messages">{story}</div>
</div>

[isloged]
<div style="padding-top:1px; width:214px">

<form>

  <div style="width:216px; height:25px;border:1px solid #BBB;background-image:url('/templates/default/bbcodes/bg.gif')">
    <div id="b_b" class="editor_button" onclick="DMC_simpletag('b')">
	<img title="Полужирный" src="{THEME}/bbcodes/b.gif" width="23" height="25" border="0" alt="">
	</div>
	<div id="b_i" class="editor_button" onclick="DMC_simpletag('i')">
    <img title="Наклонный текст" src="{THEME}/bbcodes/i.gif" width="23" height="25" border="0" alt="">
	</div>
	<div id="b_u" class="editor_button" onclick="DMC_simpletag('u')">
    <img title="Подчеркнутый текст" src="{THEME}/bbcodes/u.gif" width="23" height="25" border="0" alt="">
	</div>
	<div id="b_s" class="editor_button" onclick="DMC_simpletag('s')">
    <img title="Зачеркнутый текст" src="{THEME}/bbcodes/s.gif" width="23" height="25" border="0" alt="">
	</div>
	
	<img src="{THEME}/bbcodes/brkspace.gif" width="5" height="25" border="0" alt="">


    <img title="Вставка смайликов" src="{THEME}/bbcodes/emo.gif" width="23" height="25" border="0" alt="">

    <img src="{THEME}/bbcodes/brkspace.gif" width="5" height="25" border="0" alt="">
  
    <a href="/mchat/history/"><img title="История" src="{THEME}/bbcodes/quote.gif" width="23" height="25" border="0" alt=""></a>

  </div>
  
  

<input type="text" name="message"  class="f_input" id="message" style="width:212px; height:30px; overflow:auto; border:solid #bbbbbb 1px; padding:1px; font-size:11px; padding-left:3px" />

</form>
</div>
[/isloged]