<!--#include file="chatconfig.asp"-->
<script>
parent.chatlist.document.writeln("<html><head><meta http-equiv='Content-Type' content='text/html;charset=gb2312'><link rel='stylesheet' type='text/css' href='FORUM_CSS.asp'><title>聊天窗口</title><link rel='stylesheet' href='style.css' type='text/css'></head><\Script Language=\"JavaScript1.1\">");
parent.chatlist.document.writeln("var autoScrollOn=1;var scrollOnFunction;var scrollOffFunction;");parent.chatlist.document.writeln("function scrollit(){if(!parent.chatmenu.document.form1.as.checked){autoScrollOn=0;return true;}else{autoScrollOn=1;StartUp();return true;}}function scrollWindow(){if(autoScrollOn==1){this.scroll(0,65000);setTimeout('scrollWindow()',200);}}function scrollOn(){autoScrollOn=1;scrollWindow();}function scrollOff(){autoScrollOn=0;}function StartUp(){parent.onblur=scrollOnFunction;parent.onfocus=scrollOffFunction;scrollWindow();}");
parent.chatlist.document.writeln("scrollOnFunction=new Function('scrollOn()');");
parent.chatlist.document.writeln("scrollOffFunction=new Function('scrollOff()');");
parent.chatlist.document.writeln("StartUp();</\script>");
parent.chatlist.document.writeln("<body bgcolor=<%=chatlistcl%> topmargin=5><p style='line-height: 150%'>");
</script>

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>New Page 4</title>
<base target="_self">

<style>
A{text-decoration:none;color:black}
A:hover {COLOR: #ff0000; TEXT-DECORATION: underline}
body{font-size:10pt; font-family:"Verdana", "Arial", "宋体"; }
 td{font-size:9pt;}
INPUT.buttonface{BACKGROUND: #ff9900; border:1px solid black; COLOR: #ffffff; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: normal; HEIGHT: 18px; LINE-HEIGHT: normal}
input.smallInput{border:1px solid black;FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: normal; HEIGHT: 18px; LINE-HEIGHT: normal}
.b1{font-size: 12pt; font-family:"Verdana", "Arial", "宋体";}
.b2{font-size: 7pt; font-family:"Verdana", "Arial", "宋体";}
</style>
</head>

<body onload="document.form1.chattext.focus();" topmargin="10" leftmargin="10" bgcolor="<%=chatmenucl%>">

<form method="POST" action="liaotian.asp" target="liaotian" name="form1" Onsubmit="return checkdata(this)">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="32">
    <tr>
      <td width="100%" height="18"><b><font size="2">你</font></b><span style="font-size: 9pt">对<input type="text" name="towho" size="5" style="border-style: solid; border-width: 1" value="大家">说：<input type="text" name="chattext" size="20" style="border-style: solid; border-width: 1">
      <input type="submit" value="发言" name="B1" style="border-style: solid; border-width: 1"> <input accesskey="a" type="checkbox" name="as" checked onclick='parent.chatlist.scrollit();document.form1.chattext.focus();' value="ON">滚屏 
      <input accesskey="a" type="checkbox" name="fp" checked onclick='parent.fp();' value="ON">在线人员名单</span></td>
    </tr>
    <tr>
      <td width="100%" height="30">  
              <font face="Arial">  
              <select name="namecl">
                <option style="color:#000000" value="#000000">黑色 
                </option>
                <option  selected style="color:#0088FF" value="#0088FF">
                你的颜色 
                </option>
                <option style="color:#0000FF" value="#0000FF">亮蓝 
               </option>
                <option style="color:#000088" value="#000088">深蓝 
                </option>
                <option style="color:#888800" value="#888800">黄绿 
                </option>
                <option style="color:#008888" value="#008888">蓝绿 
                </option>
                <option style="color:#008800" value="#008800">橄榄 
                </option>
                <option style="color:#8888FF" value="#8888FF">淡紫 
                </option>
                <option style="color:#AA00CC" value="#AA00CC">紫色 
                </option>
                <option style="color:#8800FF" value="#8800FF">蓝紫 
                </option>
                <option style="color:#888888" value="#888888">灰色 
                </option>
                <option style="color:#CCAA00" value="#CCAA00">土黄 
                </option>
                <option style="color:#FF8800" value="#FF8800">金黄 
                </option>
                <option style="color:#FF0088" value="#FF0088">玫瑰 
                </option>
                <option style="color:#FF00FF" value="#FF00FF">紫红 
                </option>
                <option style="color:#FF0000" value="#FF0000">大红 
                </option>
                <option value="FFFF00" style="color: FFFF00"> 
                正黃  
                <option value="FBC648" style="color: FBC648">桔 黃  
                <option value="BF6000" style="background-color:BF6000 ;color: BF6000">
                咖啡 
                 
                <option value="BA7474" style="color: BA7474">淡褐 
                 
                <option value="FF8080" style="color: FF8080">淡桔 
                 
                <option value="FFB9B9" style="color: FFB9B9">粉桔 
                 
                <option value="D9B3B3" style="color: D9B3B3">粉褐 
                 
                <option value="FF80C0" style="color: FF80C0">粉红 
                 
                <option value="FF80FF" style="color: FF80FF">粉紫 
                 
                <option value="FF00FF" style="color: FF00FF">淡红 
                 
                <option value="Fchatmenu894" style="color: Fchatmenu894">粉桃 
                 
                <option value="DD006F" style="color: DD006F">桃红 
                 
                <option value="FF0000" style="color: FF0000">红色 
                 
                <option value="CC00CC" style="color: CC00CC">紫红 
                 
                <option value="9A35FF" style="color: 9A35FF">紫色 
                 
                <option value="8080C0" style="color: 8080C0">紫蓝 
                 
                <option value="0080C0" style="color: 0080C0">灰蓝 
                 
                <option value="3535FF" style="color: 3535FF">蓝色 
                 
                <option value="0080FF" style="color: 0080FF">淡蓝 
                 
                <option value="80FFFF" style="color: 80FFFF">亮蓝 
                 
                <option value="CEFFFF" style="color: CEFFFF">粉色 
                 
                <option value="FFFFFF" style="color: FFFFFF">白色 
                 
                <option value="C0C0C0" style="color: C0C0C0">银色 
                 
                <option value="808080" style="color: 808080">灰色 
                 
                <option value="408080" style="color: 408080">灰绿 
                 
                <option value="008040" style="color: 008040">深绿 
                 
                <option value="00972F" style="color: 00972F">绿色 
                
                <option value="00FF40" style="color: 00FF40">亮绿 
              
              </select></font><font face="Arial" size="2"><select name="towhocl">
                <option style="color:#000000" value="#000000">黑色 
                </option>
                <option style="color:#0088FF" value="#0088FF">海蓝 
                </option>
                <option style="color:#0000FF" value="#0000FF">亮蓝 
                </option>
                <option style="color:#000088" value="#000088">深蓝 
                </option>
                <option style="color:#888800" value="#888800">黄绿 
                </option>
                <option style="color:#008888" value="#008888">蓝绿 
                </option>
                <option style="color:#008800" value="#008800">橄榄 
                </option>
                <option style="color:#8888FF" value="#8888FF">淡紫 
                </option>
                <option style="color:#AA00CC" value="#AA00CC">紫色 
                </option>
                <option style="color:#8800FF" value="#8800FF">蓝紫 
                </option>
                <option style="color:#888888" value="#888888">灰色 
                </option>
                <option style="color:#CCAA00" value="#CCAA00">土黄 
                </option>
                <option style="color:#FF8800" value="#FF8800">金黄 
                </option>
                <option style="color:#FF0088" value="#FF0088">玫瑰 
                </option>
                <option style="color:#FF00FF" value="#FF00FF">紫红 
                </option>
                <option style="color:#FF0000" value="#FF0000" selected>对方的颜色 
                </option>
                <option value="FFFF00" style="color: FFFF00"> 
                正黃 
                <option value="FBC648" style="color: FBC648">桔 
                黃 
                <option value="BF6000" style="color: BF6000">咖啡 
                <option value="BA7474" style="color: BA7474">淡褐 
                <option value="FF8080" style="color: FF8080">淡桔 
                <option value="FFB9B9" style="color: FFB9B9">粉桔 
                <option value="D9B3B3" style="color: D9B3B3">粉褐 
                <option value="FF80C0" style="color: FF80C0">粉红 
                <option value="FF80FF" style="color: FF80FF">粉紫 
                <option value="FF00FF" style="color: FF00FF">淡红 
                <option value="Fchatmenu894" style="color: Fchatmenu894">粉桃 
                <option value="DD006F" style="color: DD006F">桃红 
                <option value="FF0000" style="color: FF0000">红色 
                <option value="CC00CC" style="color: CC00CC">紫红 
                <option value="9A35FF" style="color: 9A35FF">紫色 
                <option value="8080C0" style="color: 8080C0">紫蓝 
                <option value="0080C0" style="color: 0080C0">灰蓝 
                <option value="3535FF" style="color: 3535FF">蓝色 
                <option value="0080FF" style="color: 0080FF">淡蓝 
                <option value="80FFFF" style="color: 80FFFF">亮蓝 
                <option value="CEFFFF" style="color: CEFFFF">粉色 
                <option value="FFFFFF" style="color: FFFFFF">白色 
                <option value="C0C0C0" style="color: C0C0C0">银色 
                <option value="808080" style="color: 808080">灰色 
                <option value="408080" style="color: 408080">灰绿 
                <option value="008040" style="color: 008040">深绿 
                <option value="00972F" style="color: 00972F">绿色 
                <option value="00FF40" style="color: 00FF40">亮绿 
              </select></font><font face="Arial" size="2"><select name="textcl">
                <option style="color:#000000" value="#000000" selected>聊天内容的颜色 
                </option>
                <option style="color:#0088FF" value="#0088FF">海蓝 </option>
                <option style="color:#0000FF" value="#0000FF">亮蓝 </option>
                <option style="color:#000088" value="#000088">深蓝 </option>
                <option style="color:#888800" value="#888800">黄绿 </option>
                <option style="color:#008888" value="#008888">蓝绿 </option>
                <option style="color:#008800" value="#008800">橄榄 </option>
                <option style="color:#8888FF" value="#8888FF">淡紫 </option>
                <option style="color:#AA00CC" value="#AA00CC">紫色 </option>
                <option style="color:#8800FF" value="#8800FF">蓝紫 </option>
                <option style="color:#888888" value="#888888">灰色 </option>
                <option style="color:#CCAA00" value="#CCAA00">土黄 </option>
                <option style="color:#FF8800" value="#FF8800">金黄 </option>
                <option style="color:#FF0088" value="#FF0088">玫瑰 </option>
                <option style="color:#FF00FF" value="#FF00FF">紫红 </option>
                <option style="color:#FF0000" value="#FF0000">大红 </option>
                <option value="FFFF00" style="color: FFFF00"> 正黃 
                <option value="FBC648" style="color: FBC648">桔 黃 
                <option value="BF6000" style="color: BF6000">咖啡 
                <option value="BA7474" style="color: BA7474">淡褐 
                <option value="FF8080" style="color: FF8080">淡桔 
                <option value="FFB9B9" style="color: FFB9B9">粉桔 
                <option value="D9B3B3" style="color: D9B3B3">粉褐 
                <option value="FF80C0" style="color: FF80C0">粉红 
                <option value="FF80FF" style="color: FF80FF">粉紫 
                <option value="FF00FF" style="color: FF00FF">淡红 
                <option value="Fchatmenu894" style="color: Fchatmenu894">粉桃 
                <option value="DD006F" style="color: DD006F">桃红 
                <option value="FF0000" style="color: FF0000">红色 
                <option value="CC00CC" style="color: CC00CC">紫红 
                <option value="9A35FF" style="color: 9A35FF">紫色 
                <option value="8080C0" style="color: 8080C0">紫蓝 
                <option value="0080C0" style="color: 0080C0">灰蓝 
                <option value="3535FF" style="color: 3535FF">蓝色 
                <option value="0080FF" style="color: 0080FF">淡蓝 
                <option value="80FFFF" style="color: 80FFFF">亮蓝 
                <option value="CEFFFF" style="color: CEFFFF">粉色 
                <option value="FFFFFF" style="color: FFFFFF">白色 
                <option value="C0C0C0" style="color: C0C0C0">银色 
                <option value="808080" style="color: 808080">灰色 
                <option value="408080" style="color: 408080">灰绿 
                <option value="008040" style="color: 008040">深绿 
                <option value="00972F" style="color: 00972F">绿色 
                <option value="00FF40" style="color: 00FF40">亮绿 
              </select></font><font face="Arial"><a href="#" onclick="parent.suaxin.location.href='suaxin.asp';">刷新聊天内容</a>&nbsp; <a href="#" onclick="parent.namelist.location.href='namelist.asp';">刷新在线名单</a></font></td>
    </tr>
  </table><input type="hidden" name="text" value="">
</form>
<p>　</p>
<script language="javascript">
function checkdata() {
if (document.form1.chattext.value == document.form1.text.value){
    alert("同样的话说一次就够了^_^");
     document.form1.chattext.value = '';
     document.form1.chattext.focus();
     return false;
     }
else{
  if (document.form1.chattext.value == '') {
     document.form1.chattext.focus();
     return false;
     }
  else {
     document.form1.text.value = document.form1.chattext.value;
     document.form1.chattext.value = '';
     document.form1.chattext.focus();
     return true;
     }
}
}
</script>
</body>

</html>