var zvukmsgno=1 var zvukmsg="<embed type='application/x-shockwave-flash' src='http://mpchat.com/blank/player.swf' allowfullscreen='false' flashvars='file=msg3.mp3&autostart=true' width='0' height='0'>";
/* Вывод простого сообщения */ if(cmd==0) { symbol=symbols[0];if(nick==mynick) symbol=symbols[1];if(tonick==mynick || text.split(" "+mynick+":").length>1) {if(zvukmsgno==1 && loaded) symbol=zvukmsg+symbols[2]; else symbol=symbols[2];} set_nick=" <a href='' onclick=\"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> "; towr=symbol+set_time+set_nick+set_text+"<br>"; if(nick==mynick || tonick==mynick)myhistory+=towr; if(nick==nick_r && loaded==1) {window.setTimeout("wr('"+towr.split("'").join("\\'")+"');",delay_r*1000);} else wr(towr); } /* Вывод приватных сообщений */ if(cmd==1 || cmd==2) { symbol=symbols[0];if(nick==mynick) symbol=symbols[3];if(tonick==mynick) symbol=zvukmsg+symbols[4]; symbol2="";if(nick==mynick) symbol2=symbols[5];if(tonick==mynick) symbol2=symbols[6]; if(cmd==2) {symbol2=""; set_nick=" <a href='' onclick='return false;'><font size="+sizenick+" color="+colornick+" face='"+facenick+"'>"+set_nick+":</font></a> ";} else set_nick=" <a href='' onclick=\"ptonick('"+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> "; towr=symbol2+set_time+set_nick+set_text+"<br>"; if(nick==mynick || tonick==mynick) myhistory+=towr;
/* Вывод приватных сообщений */ if(cmd==1 || cmd==2) { symbol=symbols[0];if(nick==mynick) symbol=symbols[3];if(tonick==mynick) {if(zvukmsgno==1 && loaded) symbol=zvukmsg+symbols[4]; else symbol=symbols[4];} symbol2="";if(nick==mynick) symbol2=symbols[5];if(tonick==mynick) symbol2=symbols[6]; if(cmd==2) {symbol2=""; set_nick=" <a href='' onclick='return false;'><font size="+sizenick+" color="+colornick+" face='"+facenick+"'>"+set_nick+":</font></a> ";} else set_nick=" <a href='' onclick=\"ptonick('"+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> "; towr=symbol2+set_time+set_nick+set_text+"<br>"; if(nick==mynick || tonick==mynick) myhistory+=towr;