<script type="text/javascript">
[new]var msg_num = parseInt($('#new_msg').text().replace(')', '').replace('(', ''))-1;
if(msg_num > 0)
	$('#new_msg').html("<div class=\"headm_newac\" style=\"margin-left:37px\">"+msg_num+"</div>");
else
	$('#new_msg').html('');[/new]

$(document).ready(function(){
	music.jPlayerInc();
	$('#msg_value').autoResize();
	$('#msg_value').focus();
});
</script>

<div id="jquery_jplayer"></div>
<input type="hidden" id="teck_id" value="" />
<input type="hidden" id="teck_prefix" value="" />
<input type="hidden" id="typePlay" value="standart" />
<div class="msg_review_ava">
  <a href="/u{user-id}" onClick="Page.Go(this.href); return false"><img src="{ava}" alt="" /></a>
  <div>{online}</div>
</div>
<div class="msg_review_right_col">
  <div class="msg_review_name">[outbox]{translate=lang_379} [/outbox]
    <a href="/u{user-id}" onClick="Page.Go(this.href); return false">{name}</a>
  </div>
  <div class="msg_review_date">{date}</div>
  <div class="clear"></div>
  <div class="msg_review_text">{text}</div>
</div>
<div class="msg_answer_form">
  <textarea class="inpst" style="height:65px;width:940px;margin-bottom:10px" id="msg_value"></textarea>
  <div id="attach_files" class="no_display"></div>
  <input id="vaLattach_files" type="hidden" />
  <div class="clear"></div>
  <div class="button_div fl_l" style="margin-right:10px;">
    <button onClick="messages.reply({user-id}, '[inbox]reply[/inbox][outbox]new[/outbox]'); return false" id="msg_sending">[inbox]{translate=lang_310}[/inbox][outbox]{translate=lang_32}[/outbox]</button>
  </div>
  <div style="margin-top:2px; margin-left:10px;">
    <div class="wall_attach_icon_smile fl_l" onClick="wall.attach_addsmile()" onMouseOver="myhtml.title('smile', '{translate=lang_219} {translate=lang_220}', 'attach_wall_')" id="attach_wall_smile">
      <div id="wall_attach_link"></div>
    </div>
    <div class="wall_attach_icon_photo fl_l" onClick="wall.attach_addphoto()" onMouseOver="myhtml.title('photo', '{translate=lang_219} {translate=lang_221}', 'attach_wall_')" id="attach_wall_photo">
      <div id="wall_attach_link"></div>
    </div>
    <div class="wall_attach_icon_video fl_l" onClick="wall.attach_addvideo()" onMouseOver="myhtml.title('video', '{translate=lang_219} {translate=lang_222}', 'attach_wall_')" id="attach_wall_video">
      <div id="wall_attach_link"></div>
    </div>
    <div class="wall_attach_icon_audio fl_l" onClick="wall.attach_addaudio()" onMouseOver="myhtml.title('audio', '{translate=lang_219} {translate=lang_223}', 'attach_wall_')" id="attach_wall_audio">
      <div id="wall_attach_link"></div>
    </div>
    <div class="wall_attach_icon_doc fl_l" onClick="wall.attach_addDoc()" onMouseOver="myhtml.title('doc', '{translate=lang_219} {translate=lang_224}', 'attach_wall_')" id="attach_wall_doc">
      <div id="wall_attach_link"></div>
    </div>
  </div>
  <div class="clear" style="margin-top:10px"></div>
</div>
<div class="msg_view_histroy" id="history_lnk" onClick="messages.history({user-id}); return false">{translate=lang_380}</div>
<span class="no_display">
<input type="hidden" id="theme_value" value="{subj}" />
</span>
<div class="msg_view_history_title no_display">{translate=lang_381}</div>
<div id="msg_historyies"></div>
