<tr><td name=colortable>Настр. ника</td><td> <script> var nickcolor='%nickcolor%'; print='<input type=hidden name=colornick id=colornick size=6 maxlength=6 class=text value='+nickcolor+'> '; print+='<select name=cn onchange="colornick.value=this.value; setall();" class=text>'; print+='<option value='+nickcolor+' style=background-color:#'+nickcolor+' selected> </option>'; for ( var n=0; n<acol.length; n++) print+='<option value=' + acol[n]+ ' style=background-color:#'+acol[n]+' > </option>'; print+='</select> '; document.write(print); if(fontsize_on==1){ print='<select name=fontsize1 class=text onchange=setall()>'; for(i=1;i<5;i++) if('%fontsize1%'==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('%fontface1%'==jsfonts[i]) print+='<option value='+i+' selected>'+jsfonts[i]; else print+='<option value='+i+'>'+jsfonts[i]; print+='</select> '; document.write(print); } </script> <div id=setn></div> </td><tr><td>Настр. фраз</td><td> <script> var color='%color%'; print='<input type=hidden name=color size=6 maxlength=6 class=text value='+color+'> '; print+='<select name=c onchange="color.value=this.value; setall();" class=text>'; print+='<option value='+color+' style=background-color:#'+color+' > </option>'; for ( var n=0; n<acol.length; n++) print+='<option value=' + acol[n]+ ' style=background-color:#'+acol[n]+' > </option>'; print+='</select> '; document.write(print); if(fontsize_on==1){ print='<select name=fontsize2 class=text onchange=setall()>'; for(i=1;i<5;i++) if('%fontsize2%'==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('%fontface2%'==jsfonts[i]) print+='<option value='+i+' selected>'+jsfonts[i]; else print+='<option value='+i+'>'+jsfonts[i]; print+='</select> '; document.write(print); } </script> <div id=setm></div> <script>setall();</script> </td></tr>