set_nick=" <a href='' onclick=\"parent.tonick('"+nick+": '); return false;\"><font size="+sizenick+" color="+colornick+" face='"+facenick+"'>"+set_nick+":</font></a> "; set_text=" <font size="+size+" color="+color+" face='"+face+"'>" +set_text+"</font> "; set_time=" <font color=e0e0e0><b>("+time+")</b></font> "; towr=symbol+set_nick+set_text+set_time+"<br>";
/* Вывод простого сообщения */ if(cmd==0) { symbol=symbols[0];if(nick==mynick) symbol=symbols[1];if(tonick==mynick || text.split(mynick+":").length>1) symbol=symbols[2]; set_nick=" <a href='' onclick=\"parent.tonick('"+nick+": '); return false;\"><font size="+sizenick+" color="+colornick+" face='"+facenick+"'>"+set_nick+":</font></a> "; set_text=" <font size="+size+" color="+color+" face='"+face+"'>" +set_text+"</font> "; set_time=" <font color=e0e0e0><b>("+time+")</b></font> "; towr="<table align=left width=100% cellpadding=1 cellspacing=1 border=0><tr><td width=85% align=left>" +symbol+set_nick+set_text+"</td><td align=center>"+set_time+"</td></tr></table><br>"; if(nick==mynick || tonick==mynick) myhistory+=towr; wr(towr); }