/*
function module_head(service){
  service = service.toLowerCase();

  document.write('<table width="950" height="60" border="0" align="center" cellpadding="0" cellspacing="0" background="http://pic.bahamut.com.tw/inside_w/'+service+'.jpg">');
  document.write('  <tr>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('    <td width="205" align="center"><a href="http://www.gamer.com.tw"><img src="http://pic.bahamut.com.tw/inside_w/bahamut2.jpg" alt="巴哈姆特電玩資訊網站" width="205" height="60" border="0"></a></td>');
  document.write('    <td width="483" valign="top"><a href="/"><img src="http://pic.bahamut.com.tw/spacer.gif" width="483" height="60" border="0"></a></td>');
  document.write('    <td width="260" valign="top"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">');
  document.write('      <tr>');
  document.write('        <td width="42"><img src="http://pic.bahamut.com.tw/inside_w/top_02.gif" width="42" height="24"></td>');
  document.write('        <td align="right" background="http://pic.bahamut.com.tw/index_w/top_03.gif" class="wide_toptext"><a href="http://user.gamer.com.tw/">會員中心</a>│<a href="http://user.gamer.com.tw/help/">客服中心</a>│<a href="http://user.gamer.com.tw/intro1.php">新手上路</a>│<a href="http://www.gamer.com.tw">回首頁</a></td>');
  document.write('        <td width="20" background="http://pic.bahamut.com.tw/index_w/top_03.gif">&nbsp;</td>');
  document.write('      </tr>');
  document.write('    </table></td>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('  </tr>');
  document.write('</table>');

}
*/

function module_head(service){
  service = service.toLowerCase();

  document.write('<table width="950" height="60" border="0" align="center" cellpadding="0" cellspacing="0" background="http://pic.bahamut.com.tw/inside_w/'+service+'.jpg" class="topnametb">');
  document.write('  <tr>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');

theday = new Date().getDate();
themonth = new Date().getMonth();
if(20 <= theday && theday <= 28 && themonth == 12){
  document.write('    <td width="205" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="205" height="60"><param name="movie" value="http://pic.bahamut.com.tw/inside_w/christmas2.swf"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><embed src="http://pic.bahamut.com.tw/inside_w/christmas2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="205" height="60" allowScriptAccess="always"></embed></object></td>');
}
else{
  document.write('    <td width="205" align="center"><a href="http://www.gamer.com.tw"><img src="http://pic.bahamut.com.tw/inside_w/bahamut2.jpg" alt="巴哈姆特電玩資訊網站" width="205" height="60" border="0"></a></td>');
}

  document.write('    <td width="400" valign="top"><a href="/"><img src="http://pic.bahamut.com.tw/spacer.gif" width="400" height="60" border="0"></a></td>');
  document.write('    <td valign="top"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">');
  document.write('      <tr>');
  document.write('        <td width="38"><img src="http://pic.bahamut.com.tw/inside_w/top_02.gif" width="38" height="24"></td>');
  document.write('        <td align="left" background="http://pic.bahamut.com.tw/index_w/top_03.gif" class="wide_toptext"><a href="http://user.gamer.com.tw/">會員中心</a>│<a href="http://user.gamer.com.tw/intro1.php">新手上路</a>│<a href="http://user.gamer.com.tw/help/">客服中心</a></td>');
  document.write('        <td width="126" align="center" background="http://pic.bahamut.com.tw/index_w/top_03.gif" height=24>');
  document.write('          <select class="wide_t1" onChange="location.href=this.value">');
  document.write('              <option selected id="">==選擇其它服務==</option>');
  document.write('              <option class="wide_titlebar"  value="http://www.gamer.com.tw">　回首頁</option>');
  document.write('              <option class="wide_titlebar2" value="http://home.gamer.com.tw/">　勇者大廳</option>');
  document.write('              <option class="wide_titlebar2" value="http://forum.gamer.com.tw/">　哈啦區</option>');
  document.write('              <option class="wide_titlebar2" value="http://webbbs.gamer.com.tw/">　討論區</option>');
  document.write('              <option class="wide_titlebar1" value="http://avatar1.gamer.com.tw">　勇者造型</option>');
  document.write('              <option class="wide_titlebar1" value="http://gnn.gamer.com.tw/">　GNN新聞</option>');
  document.write('              <option class="wide_titlebar1" value="http://ch5.gamer.com.tw/">　影音館</option>');
  document.write('              <option class="wide_titlebar2" value="http://buy.gamer.com.tw/">　商城購物</option>');
  document.write('              <option class="wide_titlebar1" value="http://home.gamer.com.tw/indexalbum.php">　姆術館</option>');
  document.write('              <option class="wide_titlebar1" value="http://article.gamer.com.tw/">　特文館</option>');
  document.write('              <option class="wide_titlebar2" value="http://master.gamer.com.tw/">　電玩通</option>');
  //document.write('              <option class="wide_titlebar2" value="http://vip.gamer.com.tw/">　VIP服務</option>');
  document.write('        </select>        ');
  document.write('        </td>');
  document.write('        <td width="5" background="http://pic.bahamut.com.tw/index_w/top_03.gif">&nbsp;</td>');
  document.write('      </tr>');
  document.write('    </table></td>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('  </tr>');
  document.write('</table>');
}

function module_area()
{
  //document.write('<table STYLE="table-layout:fixed" width="758" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">');
  document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">');
  document.write('<tr>');
  document.write('<td>');
}

function module_end(){

  document.write('<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
  document.write('  <tr>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  //document.write('    <td width="19"><img src="http://pic.bahamut.com.tw/inside_w/h_06.gif" width="19" height="37"></td>');
  //document.write('    <td background="http://pic.bahamut.com.tw/inside_w/h_07.gif">&nbsp;</td>');
  //document.write('    <td width="174" align="right"><img src="http://pic.bahamut.com.tw/inside_w/h_08.gif" width="186" height="37"></td>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('  </tr>');
  document.write('</table>');

  document.write('<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
  document.write('  <tr>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('    <td align="center" bgcolor="#E8E8E8"><table cellspacing="0" cellpadding="0">');
  document.write('        <TR align="middle">');
  document.write('          <TD><BR>');
  document.write('              <A href="javascript:about()">關於我們</A> ｜<A href="http://user.gamer.com.tw/help/detail.php?sn=280&top=1">著作權聲明</A> ｜<A href="http://user.gamer.com.tw/help/detail.php?sn=');
  document.write('144&top=1">隱私權聲明</A> ｜<A href="http://user.gamer.com.tw/help/tellus.php?co=1">合作提案</A> ｜<A href="http://user.gamer.com.tw/help/">問題反應</A> ｜<A');
  document.write('href="javascript:apply()">徵求好手</A> ｜<A href="http://prj.gamer.com.tw/bahaAD/" target="_blank">廣告刊登</A> </TD>');
  document.write('        </TR>');
  document.write('        <TR align="middle">');
  document.write('          <TD>旺普網路資訊股份有限公司 &copy; Oneup Network Corporation All   Rights Reserved.<BR>');
  document.write('            法律顧問: 益思科技法律事務所 </TD>');
  document.write('        </TR>');
  document.write('      </table>');
  document.write('    <br></td>');
  document.write('    <td width="1" bgcolor="#B8B8B8"><img src="http://pic.bahamut.com.tw/spacer.gif" width="1" height="1"></td>');
  document.write('  </tr>');
  document.write('</table>');
  document.write('</body>');
  document.write('</html>');

}
