Вставляем в Общий вид страниц форума до </head>
Code
<div id="minichat" style="display:none; position: fixed;margin-left: 23px; margin-top: 30px;"><div class="orange-box"><iframe id="mchatIfm2" style="width:100%;height:300px" frameborder="0" scrolling="auto" hspace="0" vspace="0" allowtransparency="true" src="/mchat/">$CHAT_BOX$</iframe>
<script type="text/javascript">
function sbtFrmMC991(f){$('#mchatBtn').css({display:'none'});$('#mchatAjax').css({display:''});_uPostForm('MCaddFrm',{type:'POST',url:'/mchat/'});}
function countMessLength(){var rst = 200-$('#mchatMsgF').val().length;if (rst<0){rst=0;$('#mchatMsgF').val($('#mchatMsgF').val().substr(0,200));}$('#jeuwu28').html(rst);}
var tID7174=-1;var tAct7174=false;
function setT7174(s){var v=parseInt(s.options[s.selectedIndex].value);document.cookie="mcrtd="+s.selectedIndex+"; path=/";if(tAct7174){clearInterval(tID7174);tAct7174=false;}if(v>0){tID7174=setInterval("document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();",v*1000);tAct7174=true;}}
function initSel7174() {var res=document.cookie.match(/(\W|^)mcrtd=([0-9]+)/);if(res){s=$("#mchatRSel")[0];;s.selectedIndex=parseInt(res[2]);setT7174(s);}$("#mchatMsgF").bind("keydown",function(e){if(e.keyCode==13 && e.ctrlKey && !e.shiftKey){e.preventDefault();sbtFrmMC991();}})}
</script>
<form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;">
<div align="center">
<link type="text/css" rel="StyleSheet" href="http://cs-ufa.net.ru/css/chat.css" />
<form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;">
</div>
</form>
</div>
<input type="hidden" name="numa" id="numa832" value="0"><input type="hidden" name="a" value="18"><input type="hidden" id="ajaxFlag" name="ajax" value="1" /></form>
<script type="text/javascript">initSel7174();</script>
</div></div>
<div style="position: fixed;margin-left: 1px; margin-top: 30px;"><table border="0" cellpadding="5" cellspacing="0" width="100%" style="border:1px solid #; background: #d5d5d5;"><tr><td style="border:1px solid #5d5d5d; border-left:0;-moz-border-radius: 0px 4px 4px 0px"><center><font color="#5d5d5d"><a onclick="$('#minichat').toggle('slow');" href="javascript://"><img src="http://cs-ufa.net.ru/css/chat.png" align="absmiddle" border="0" title="Открыть"></a></font></center></td></tr></table></div>
<script type="text/javascript">
function show_load(state, wait)
{
if(state > 0)
document.getElementById("load").style.display = "block";
else
setInterval('document.getElementById("load").style.display = "none"', wait=1000);
}
</script>
<script type="text/javascript">
show_load(1, 0);
</script>
<body>
<script type="text/javascript">
show_load(0,1000);
</script></body>