<tr><td name=colortable>Настройка <br>ника/фразы</td><td> <script> </script> <select onchange='selfield=this.value;'> <option value=0>для ника<option value=1>для текста </select> <br> <embed src=http://mpchat.com/blank/color.swf width=190 height=50> <br> <script> var selfield=0; function sendcolor(selcolor) { if(selfield==0) document.set.colornick.value=selcolor.substr(1,6); if(selfield==1) document.set.color.value=selcolor.substr(1,6); setall(); } var nickcolor=''; print='#<input type=text name=colornick size=6 maxlength=6 class=text value='+nickcolor+'> '; document.write(print); if(fontsize_on==1){ print='<select name=fontsize1 class=text onchange=setall()>'; for(i=1;i<5;i++) if(''==i) print+='<option value='+i+' selected>'+i; else print+='<option value='+i+'>'+i; print+='</select> '; document.write(print); } if(fontface_on==1){ print='<select name=fontface1 class=text onchange=setall()>'; for(i=0;i<jsfonts.length;i++) if(''==jsfonts[i]) print+='<option value='+i+' selected>'+jsfonts[i]; else print+='<option value='+i+'>'+jsfonts[i]; print+='</select> '; document.write(print); } document.write('<br>'); var color=''; print='#<input type=text name=color size=6 maxlength=6 class=text value='+color+'> '; document.write(print); if(fontsize_on==1){ print='<select name=fontsize2 class=text onchange=setall()>'; for(i=1;i<5;i++) if(''==i) print+='<option value='+i+' selected>'+i; else print+='<option value='+i+'>'+i; print+='</select> '; document.write(print); } if(fontface_on==1){ print='<select name=fontface2 class=text onchange=setall()>'; for(i=0;i<jsfonts.length;i++) if(''==jsfonts[i]) print+='<option value='+i+' selected>'+jsfonts[i]; else print+='<option value='+i+'>'+jsfonts[i]; print+='</select> '; document.write(print); } </script> <div id=setform></div> <script>setall();</script> </td></tr>