<div class="ucomm_block">
<div class="left">
<div class="ava ug"><?if($AVATAR_URL$)?><img src="$AVATAR_URL$" alt="$USERNAME$"><?else?><img src="/.s/img/icon/social/noavatar.png" alt="$USERNAME$"><?endif?></div>
</div>

<div class="right">
<div class="mess_cont">
<div class="top">
<span> <a href="$PROFILE_URL$" target="_blank" title="$NAME$"><img alt="" src="/cssk/profile.png" width="15" border="0" style="vertical-align:-2px; padding-right:4px;">$USERNAME$</a> </span>
<span style="color: #a9a9a9;font: normal 11px/13px Tahoma;">$DATE$ в $TIME$</span> <b title="Номер комментария" style="color:#a9a9a9;"><sup>$NUMBER$</sup></b>
<span class="0" style="display:none;"><span style="color: #a9a9a9;font:11px Tahoma;">, ответ пользователю</span> <a href="$PROFILE_URL$" target="_blank" style="color:#a9a9a9;font: 12px Arial;font-weight: bold;">$USERNAME$</a></span> 

<div style="float:right">
<?if($ANSWER_URL$)?><a href="javascript:chitata('$USERNAME$',selection);" onmouseover="wQuote()">Цитировать</a><?endif?>
<?if($ANSWER_URL$)?><a href="$ANSWER_URL$">Ответить</a><?endif?>
</div>

</div>

<div class="middle message_fix">$MESSAGE$</div> 
</div>

</div></div>

<script>
function chitata(qname,text){if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); parent.window.document.getElementById('message').focus();parent.window.document.getElementById('message').value+=("[quote="+qname+"]"+text+"[/quote]\n");} else {_uWnd.alert('<b style="color:#c82626;">Выделите текст для цитирования</b>','',{w:222,h:77,tm:5555});}} function paste(text,flag){if ((document.selection)&&(flag)) {document.addform.message.focus();document.addform.document.selection.createRange().text = text;} else document.addform.message.value += text;}
function wQuote() {if (window.getSelection){selection = window.getSelection().toString();}else if (document.getSelection) {selection = document.getSelection();}else {selection = document.selection.createRange().text;}}
</script>