var path=new Array();
var name=new Array();
name[0]="聊天大廳";
name[1]="聊天大廳";
name[2]="聊天大廳";
name[3]="聊天大廳";
name[4]="聊天大廳";
path[0]="http://chat.love12.tw/cgi-bin/t3chat5/room/thankschat3.cgi?job=login";
path[1]="http://chat.love12.tw/cgi-bin/t3chat1/room/thankschat3.cgi?job=login";
path[2]="http://chat.love12.tw/cgi-bin/t3chat2/room/thankschat3.cgi?job=login";
path[3]="http://chat.love12.tw/cgi-bin/t3chat3/room/thankschat3.cgi?job=login";
path[4]="http://chat.love12.tw/cgi-bin/t3chat4/room/thankschat3.cgi?job=login";
function MakeArray()
{this.length=43;
this[1]='<xmp';this[2]='操你';this[3]='幹';this[4]='fuck';this[5]='FUCK';this[6]='/x';this[7]='性愛';
this[8]='哭夭';this[9]='肉棒';this[10]='來亂的';this[11]='ＦＵＣＫ';this[12]='犯賤';this[13]='<table';
this[14]='<script';this[15]='<form';this[16]='<body';this[17]='<applet';this[18]='<meta';this[19]='<xml';
this[20]='!';this[21]='$';this[22]='做愛';this[23]='(';this[24]='一夜情';this[25]='姦';this[26]='\\';
this[27]='<';this[28]='java';this[29]='\"';this[30]='∥';this[31]='?';this[32]='/"';this[33]='#';this[33]='&';
this[34]=';';this[35]='/n';this[36]='/';this[37]='射精'; this[38]='援交'; this[39]='援助';this[40]='　　'; this[41]='網愛';this[42]='　';return this;
}
dw=new MakeArray();
function match1()
{
for ( var bb=1 ; bb < dw.length ; bb++ )
{if(login.id.value.indexOf(dw[bb]) != -1)
{
var now = new Date();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var now=""+minutes+""+seconds+"";
login.id.value="禁止進入聊天室["+now+"]";alert("您的暱稱 可能有系統不接受的字系統自動幫您改名為[禁止進入聊天室"+now+"]");return false; 
}
}return true;
}
function logon(num){
match1();
var title=name[num];
login.action=path[num];
if(login.id.value==""){alert("暱稱未填");return;}
login.target=title;
login.room.value=name[num];
window.open("",title,"toolbar=no,menubar=no,location=no,directories=no,resizable=yes");
login.submit();
}