function sw(list){ document.fyq.towho.options[0].value=list; document.fyq.towho.options[0].text=list; document.fyq.saystemp.focus(); }
function sw11(username){ var usna; usna=username.substring(1,username.length-1); document.fyq.towho.options[0].value=usna; document.fyq.towho.options[0].text=usna; document.fyq.saystemp.focus(); return; }
function w(un,sa,tn,dt){ var show; show="【"+tn+" 发言】"; show=show+"<a href=javascript:parent.f2.sw('[" + un + "]'); target=f2>" + un + "</a>:" + sa + "<font class=t>" show=show + " (" + dt + ")</font><br>"; parent.f1.document.writeln(show); }
function nw(zt,un,tw,sa){ parent.f2.document.fyq.addsign.options[0].selected=true; var show=""; var sw_un=un.indexOf(">"); var yun=un.substring(sw_un+1,un.length-7); var name_self="<?echo $uname;?>"; if (zt==0){ if (name_self!=un && name_self!=tw){ show="<a href=javascript:parent.f2.sw('" + un + "'); target=f2>" + un + "</a>对"+"<a href=javascript:parent.f2.sw('" + tw + "'); target=f2>" + tw + "</a>说:"+sa+"<br>"; parent.f1.document.writeln(show); }else{ if(name_self==un){ show="<font color=red>〖"+un+"〗</font>对"; show=show+"<a href=javascript:parent.f2.sw('" + tw + "'); target=f2>" + tw + "</a>说:" + sa + "<br>"; parent.f1.document.writeln(show); }else{ show="<a href=javascript:parent.f2.sw('" + un + "'); target=f2>" + un + "</a>对"; show=show+"<font color=red>〖"+tw+"〗</font>说:" + sa + "<br>"; parent.f1.document.writeln(show); } } } }
function change_color(){ var change_color=document.fyq.sayscolor.options[document.fyq.sayscolor.selectedIndex].value; document.fyq.saystemp.style.color=change_color; document.fyq.saystemp.focus(); } </script>