function top_table()
{
document.write('<TABLE ALIGN=CENTER WIDTH=900 BORDER=0 CELLSPACING=0 CELLPADDING=0>');
document.write('<TR HEIGHT=120><TD WIDTH=172><A HREF="http://ro2.roidv.com/">');
document.write('<IMG SRC="http://i.imgur.com/xxDeg.jpg" ALT="回首頁" WIDTH=172 HEIGHT=100></A></TD>');
document.write('<TD WIDTH=728 ALIGN=RIGHT>');
document.write('<iframe id=\'a0a0631b\' name=\'a0a0631b\' src=\'http://adserver.innovalue.net/www/delivery/afr.php?refresh=300&amp;zoneid=254&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE\' frameborder=\'0\' scrolling=\'no\' width=\'728\' height=\'90\'><a href=\'http://adserver.innovalue.net/www/delivery/ck.php?n=ad842c2f&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://adserver.innovalue.net/www/delivery/avw.php?zoneid=254&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad842c2f\' border=\'0\' alt=\'\' /></a></iframe>');
document.write('</TD></TR></TABLE>');
}

function main_mvun()
{
document.write('<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,\'on\')" onMouseout="highlightmenu(event,\'off\');dynamichide(event)" style="width: 130; height: 19;"></div>');

document.write('<TABLE ALIGN=CENTER WIDTH=900 BORDER=0 CELLSPACING=0 CELLPADDING=0>');
document.write('<TR><TD WIDTH=200 VALIGN=TOP>');
document.write('<table width=100% border=1 cellpadding=5 cellspacing=0 bordercolor="#aaaaaa" bordercolorlight="#aaaaaa">');
document.write('<tr><td CLASS=mvun2><A CLASS=mvun2 HREF="http://ro2.roidv.com/data/intro.htm"><DIV><font size=2>｜</font>');
document.write('遊戲介紹</DIV></A></td></tr>');

document.write('<tr><td CLASS=mvun2><A onMouseover="showmenu(event,linkset[0])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('職業介紹</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[1])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('技能天賦</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[2])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('生活職業</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[3])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('武器防具</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[4])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('卡片系統</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[5])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('稱號系統</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[6])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('卡拉系統</DIV></A></td></tr>');
document.write('<tr><td CLASS=mvun><A onMouseover="showmenu(event,linkset[7])" onMouseout="delayhidemenu()"><DIV><font size=2>｜</font>');
document.write('傳送系統</DIV></A></td></tr>');

document.write('<tr><td CLASS=mvun2><A CLASS=mvun2 HREF="http://ro2.roidv.com/web/"><DIV><font size=2>｜</font>');
document.write('舊版網站</DIV></A></td></tr>');
document.write('</table><br>');

document.write('<table width=100% border=0 cellpadding=5 cellspacing=0 bordercolor="#aaaaaa" bordercolorlight="#aaaaaa" bgcolor="#234567">');
document.write('<tr><td style="font-size:10px;color:#eeeeee;line-height:15pt"><b>Ragnarok Online II</b><BR>');
document.write('類型：3D 可愛奇幻 MMORPG<BR>');
document.write('研發：GRAVITY（韓國）<BR>');
document.write('代理：未定（台灣）</A><BR>');
document.write('營運：2011.12.26-12.30 CB3（韓國）<BR>');
document.write('狀態：未定（台灣）<BR>');
document.write('官網：未定（台灣）');
document.write('</td></tr></table>');

document.write('<br><iframe id=\'a5f56ba0\' name=\'a5f56ba0\' src=\'http://adserver.innovalue.net/www/delivery/afr.php?refresh=300&amp;zoneid=253&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE\' frameborder=\'0\' scrolling=\'no\' width=\'200\' height=\'200\'><a href=\'http://adserver.innovalue.net/www/delivery/ck.php?n=af7a5dff&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://adserver.innovalue.net/www/delivery/avw.php?zoneid=253&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af7a5dff\' border=\'0\' alt=\'\' /></a></iframe>');

document.write('</TD><TD WIDTH=10></TD>');
document.write('<TD WIDTH=690 VALIGN=TOP>');
}

var linkset=new Array()

linkset[0]='<div class="menuitems"><A HREF="http://ro2.roidv.com/data/job1.htm"><IMG SRC="http://ro2.roidv.com/01.jpg">劍士</A></div>'
linkset[0]+='<div class="menuitems"><A HREF="http://ro2.roidv.com/data/job2.htm"><IMG SRC="http://ro2.roidv.com/02.jpg">魔法師</A></div>'
linkset[0]+='<div class="menuitems"><A HREF="http://ro2.roidv.com/data/job3.htm"><IMG SRC="http://ro2.roidv.com/03.jpg">弓箭手</A></div>'
linkset[0]+='<div class="menuitems"><A HREF="http://ro2.roidv.com/data/job4.htm"><IMG SRC="http://ro2.roidv.com/04.jpg">服事</A></div>'
linkset[0]+='<div class="menuitems"><A HREF="http://ro2.roidv.com/data/job5.htm"><IMG SRC="http://ro2.roidv.com/05.jpg">盜賊</A></div>'

linkset[1]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[1]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[2]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[2]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[3]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[3]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[4]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[4]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[5]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[5]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[6]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[6]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

linkset[7]='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'
linkset[7]+='<div class="menuitems"><A HREF="#.htm">未完成，陸續上傳</A></div>'

// No need to edit beyond here
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all
var ns4=document.layers

function showmenu(e,which){

if (!document.all&&!document.getElementById&&!document.layers)
return

clearhidemenu()

menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : ""
menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj

if (ie4||ns6)
menuobj.innerHTML=which
else{
menuobj.document.write('<layer name=gui bgColor=#000000 width=165 onmouseover="clearhidemenu()" onmouseout="hidemenu()">'+which+'</layer>')
menuobj.document.close()
}

menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width
menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height
eventX=ie4? event.clientX : ns6? e.clientX : e.x
eventY=ie4? event.clientY : ns6? e.clientY : e.y

// Find out how close the mouse is to the corner of the window
var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY

// if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.thestyle.left=ie4? document.body.scrollLeft+eventX-menuobj.contentwidth : ns6? window.pageXOffset+eventX-menuobj.contentwidth : eventX-menuobj.contentwidth
else
// position the horizontal position of the menu where the mouse was clicked
menuobj.thestyle.left=ie4? document.body.scrollLeft+eventX : ns6? window.pageXOffset+eventX : eventX

// same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.thestyle.top=ie4? document.body.scrollTop+eventY-menuobj.contentheight : ns6? window.pageYOffset+eventY-menuobj.contentheight : eventY-menuobj.contentheight
else
menuobj.thestyle.top=ie4? document.body.scrollTop+event.clientY : ns6? window.pageYOffset+eventY : eventY
menuobj.thestyle.visibility="visible"
return false
}

function contains_ns6(a, b) {
// Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.thestyle.visibility=(ie4||ns6)? "hidden" : "hide"
}

function dynamichide(e){
if (ie4&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
if (ie4||ns6||ns4)
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

function highlightmenu(e,state){
if (document.all)
source_el=event.srcElement
else if (document.getElementById)
source_el=e.target
if (source_el.className=="menuitems"){
source_el.id=(state=="on")? "mouseoverstyle" : ""
}
else{
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" : ""
}
}
}
}

if (ie4||ns6)
document.onclick=hidemenu


function down_table()
{
document.write('</TD></TD></TR></TR><TD HEIGHT=25></TD></TR></TABLE>');
document.write('<HR SIZE=1 WIDTH=960><TABLE ALIGN=CENTER BORDER=0>');
document.write('<TR><TD CLASS=a4 STYLE="line-height:17pt">');
document.write('<A CLASS=a1 HREF="javascript:window.external.AddFavorite(\'http://ro2.roidv.com/\', \':::RO2天野幻境:::\')">加入最愛</A>｜');
document.write('<A CLASS=a1 HREF="http://roidv.com/mail.htm">聯絡我們</A><font size=2>｜</font>');
document.write('<A CLASS=a1 HREF="http://roidv.com/copy.htm">版權宣告</A><font size=2>｜</font>');
document.write('<A CLASS=a1 HREF="http://bbs.roidv.com/">前往論壇</A><font size=2>｜</font>');
document.write('<A CLASS=a1 HREF="http://roidv.com/copy.htm">訪問各站</A><BR>');
document.write('&copy; 2002-2011 天野幻境 版權所有，如需引用或轉載請參考版權宣告</TD>');
document.write('<TD WIDTH=10></TD><TD><a href="http://SiteStates.com" title="站長工具"><img src="http://SiteStates.com/show/image/22231.jpg" width=1 height=1 border="0" /></a></TD></TR><TR><TD HEIGHT=30></TD></TR></TABLE>');
}
