<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Buffer=true
Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
Response.Expires=0
chatbgcolor=Application("cwjh_chatbgcolor")
chatimage=Application("cwjh_chatimage")
if chatbgcolor="" then chatbgcolor="2e8b57"
nowinroom=session("nowinroom")
online=Application("cwjh_onlinelist"&nowinroom)
onlineno=ubound(online)
cwjh_roominfo=split(Application("cwjh_room"),";")
chatinfo=split(cwjh_roominfo(nowinroom),"|")
'以下chat==房间的序号,序号从0开始
%>

<script Language="JavaScript">
if(parent.document.URL.indexOf("file:")>=0||parent.f2.document.URL.indexOf("file:")>=0){parent.location.href='chaterr.asp?id=001';}
parent.md1(<%=onlineno%>);
var chat="<%=nowinroom%>"
<%
for o = 1 to onlineno 
Response.Write "parent.md2("&chr(34)& online(o) &chr(34)&");"& chr(13) & chr(10)
next
%>
if (chat == 4){
for(var gw=10;gw<1221;gw++){gw=gw+100;
parent.f3.document.writeln("<a href=javascript:parent.sw('["+gw+"级怪物]') title=\"=========&#13&#10初级怪物&#13&#10=========\";><img src='gwimage/"+gw+".gif'  border='0' width='25' height='25'>"+gw+"级怪物</a>&nbsp;<br>");}}
if (chat == 4){
for(var gw=1222;gw<2332;gw++){gw=gw+100;
parent.f3.document.writeln("<a href=javascript:parent.sw('["+gw+"级怪物]') title=\"=========&#13&#10中级怪物&#13&#10=========\";><img src='gwimage/"+gw+".gif'  border='0' width='25' height='25'>"+gw+"级怪物</font></a>&nbsp;<br>");}}
if (chat == 4){
for(var gw=2333;gw<3200;gw++){gw=gw+100;
parent.f3.document.writeln("<a href=javascript:parent.sw('["+gw+"级怪物]') title=\"=========&#13&#10高级怪物&#13&#10=========\";><img src='gwimage/"+gw+".gif'  border='0' width='25' height='25'>"+gw+"级怪物</font></a>&nbsp;<br>");}}
parent.md3();
</script>
</body>
</html>