/*document.write("");*/ /* document.write(""); //document.write("alert(123);"); document.write("function g1(MID){"); document.write("document.getElementById('form1').MID.value=MID;"); document.write("document.getElementById('form1').main.value=MID;"); document.write("if(document.getElementById('form1').uname.value==''){"); document.write("document.getElementById('form1').uname.focus();"); document.write("alert('請先輸入暱稱');"); document.write("return;"); document.write("}else{"); document.write("var AWidth = screen.width-20;"); document.write("var AHeight = screen.height-80;"); document.write("utchat=window.open('','utchat','width='+AWidth+',height='+AHeight+',resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,top=0,left=0');"); document.write("}"); document.write("document.getElementById('form1').submit();"); document.write("return;"); document.write("}"); document.write(""); */ document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write("
暱稱:"); document.write("密碼:"); document.write("性別:"); document.write("
"); document.write("
聊天室列表
"); $(document).ready(function() { $("#CHAT_LIST").load('/freechat/chat_list.phtml?X=6&randval='+ Math.random()); var refreshId = setInterval(function() { $("#CHAT_LIST").load('/freechat/chat_list.phtml?X=6&randval='+ Math.random()); }, 30000); }); function g1(MID){ document.getElementById("form1").MID.value=MID; document.getElementById("form1").main.value=MID; if(document.getElementById("form1").uname.value==""){ document.getElementById("form1").uname.focus(); alert("請先輸入暱稱") return; }else{ var AWidth = screen.width-20; var AHeight = screen.height-80; utchat=window.open("","utchat","width="+AWidth+",height="+AHeight+",resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,top=0,left=0"); } document.getElementById("form1").submit(); return; }