Пример у нас на форуме.
Ставить после <head>
Code
<div style="position:absolute;position:fixed;bottom:1;right:1;opacity:1.0;">
<div id="chat" style="display: none;"><table border="0" cellpadding="0" cellspacing="0" width="300" height="15" style="border: 1px solid #1d1d1d; background: #1d1d1d;">
<tr></tr><tr><td style="background: #ff6600; text-align: center; border-top: 2px solid #f26520;">
$CHAT_BOX$
<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>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="206">
</td></tr></table>
</td></tr></table></div>
<div style="padding:5px;background:url('http://gold-mix.ucoz.ru/1.jpg') repeat-x #494949; width: 288px; border: #2d2d2d 1px solid; color:#707070;">
<div style="float:right; center; padding-top: 4px;"><font color="#0000ff"><span id="uClock">$TIME$</span>
<script type="text/javascript">
function clock_from(hour,min,sec){
clock="";
if(sec>59){sec=0;min=min+1;}
if(min>59){min=0;hour=hour+1;}
if(hour>23){hour=0;}
if(hour<10){clock+="0"+hour;}else{clock+=""+hour;}
clock+=":";
if(min<10){clock+="0"+min;}else{clock+=""+min;}
clock+=":";
if(sec<10){clock+="0"+sec;}else{clock+=""+sec;}
elem=document.getElementById('uClock');
elem.innerHTML=clock;
setTimeout("clock_from("+hour+","+min+","+(sec+1)+")",1000);}
clock_from(parseInt(document.getElementById('uClock').innerHTML.split(':')[0]),parseInt(document.getElementById('uClock').innerHTML.split(':')[1]),parseInt(document.getElementById('uClock').innerHTML.split(':')[2]));
</script></font></div>
<div style="float: left; padding-top: 3px;"><a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Обновить"><img src="http://gold-mix.ucoz.ru/2.png" alt="Обновить" border="0" width="16" height="16" style="padding-left: 3px;"></a></div>
<div style="margin-top: 4px; text-align:center;"><a href="javascript://" onclick="$('#chat').slideToggle(2000)"><img src= "http://gold-mix.ucoz.ru/nimichat.png" title="Мини чат"width="200" height="15" border="0"></a></div>
</div></div>