var errmsg;
tablestr=' class=td4 align=center cellspacing=0 cellpadding=1 border=1 bordercolorlight=#007777 bordercolordark=#ABCCD3';
function table(w) {if(!w)w=600; document.write('<table width='+w+tablestr+'>');}
function head_form(caption,Title,SvrName,fw,adv) {
var s468="<iframe id='af707023' name='af707023' src='http://ads.mychat.to/adframe.php?n=af707023&amp;what=zone:89&amp;target=_blank' framespacing='0' frameborder='no' scrolling='no' width='468' height='60'><a href='http://ads.mychat.to/adclick.php?n=af707023' target='_blank'><img src='http://ads.mychat.to/adview.php?what=zone:89&amp;target=_blank&amp;n=af707023' border='0' alt=''></a></iframe>";
//var s120="<a href=http://mychat.to/free_link.php?sm=fates&ID=ncc><img src=http://mychat.to/image/dm-freelink_ncc.gif border=0 width=120 height=60>";
//var s120="<iframe id='a70ec6a3' name='a70ec6a3' src='http://ads.mychat.to/adframe.php?n=a70ec6a3&amp;what=zone:90&amp;target=_blank' framespacing='0' frameborder='no' scrolling='no' width='120' height='60'><a href='http://ads.mychat.to/adclick.php?n=a70ec6a3' target='_blank'><img src='http://ads.mychat.to/adview.php?what=zone:90&amp;target=_blank&amp;n=a70ec6a3' border='0' alt=''></a></iframe>";
var s120="<a href=http://bbs.mychat.to target=bbs><img src=http://mychat.to/image/ads_bbs_120x60.gif border=0 width=120 height=60>";
if(!adv) document.write("<table border=0 cellpadding=1 cellspacing=0 align=center height=60>"+
"<tr><td valign=top>"+s468+"</td><td valign=top>"+s120+"</td></tr></table>");

document.write("<table border=0 cellspacing=2 cellpadding=0 align=center>"+
"  <tr><td align=center>"+
"<table border=0 cellspacing=0 cellpadding=0 align=center background=http://www.ncc.com.tw/image/topmenu-fates.gif width=591 height=26>"+
"  <tr><td align=center><table width=95% "+tablestr+">"+
"  <tr align=center>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://www.ncc.com.tw/ target=_top>回首頁</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://www.ncc.com.tw/fate/ target=_top>命理服務</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://www.ncc.com.tw/soft/ target=_top>軟體服務</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://www.ncc.com.tw/book/ target=_top>網路書店</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://mychat.to/ target=_top>MyChat</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://phpbb.mychat.to/ target=_top>數位男女</a></td>"+
"  <td class=td0><font color=#245E4A>●</font> <A HREF=http://ncc.to/ target=_top>虛擬主機</a></td>"+
"  </tr>"+
"</table></td></tr></table></td></tr></table>"+
"<table width=600 border=0 cellspacing=0 cellpadding=0 align=center>"+
"  <tr>"+
"    <td><img src=http://www.ncc.com.tw/image/lu_fates600.gif width=600 height=8></td>"+
"  </tr>"+
"</table>");
if (caption) {
	document.write("<table width=600 cellpadding=0 "+tablestr+"><tr><th class=td2 height=28 align=center background=image/tr_bg_dw.gif>");
	if (SvrName) document.write(SvrName+' - ');
	if (Title) document.write(Title+' ');
	document.write(caption+"</th></tr></table>");
}
}
function floor_form(nofate) {
var s="<a href=http://mychat.to/user_mgr_paypoint.php?ID=ncc&sm=fates>購買點數</a> | <a href=http://mychat.to/order_safe.php?sm=fates>交易安全</a> | <a href=http://mychat.to/order_rule.php?sm=fates>劃撥或匯款</a> | <a href=http://mychat.to/order.php?sm=fates>線上刷卡</a> | <a target=_blank href=http://mychat.to/ecar.php?ID=nc target=main>查看購物車</a><br><font color=#0000FF><a href=http://www.ncc.com.tw/ target=_blank>NCC Software Company</a></font> Copyright (C) 1993 - 2004 <font color=#FF0000>All rights reserved</font><br>星僑軟體 服務信箱：<a href=mailto:service@ncc.com.tw>service@ncc.com.tw</a> 電話:03-3288833 傳真:03-3286557";
if (nofate!=1) document.write("<table width=600 "+tablestr+"><tr>"+
"    <th class=td2 colspan=3 background=image/tr_bg_dw.gif>線上論命服務項目</th>"+
"  </tr>"+
"  <tr align=center>"+
"  <td class=td2 colspan=3><table width=100%><tr align=center class=td3>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=ba>論本命</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=lo>論愛情</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=mo>論財運</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=wo>論工作</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=st>論學業</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=tr>論旅遊</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=ch>論子女</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=he>論健康</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=ho>論合夥</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?C=ks>論官事</a></td>"+
"    </tr><tr align=center class=td3>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?N=bg>八字論命</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?N=gv>紫微論命</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/ml.php?N=name>姓名論命</a></td>"+
"    <td><a href=http://mychat.to/s.php?kklm=ncc&ID=ncc>鬼谷論命</a></td>"+
"    <td><a href=http://mychat.to/s.php?sslm=ncc&ID=ncc>三世論命</a></td>"+
"    <td><a href=http://mychat.to/s.php?stlm=ncc&ID=ncc>先天論命</a></td>"+
"    <td><a href=http://mychat.to/s.php?bmds=ncc&ID=ncc>卜命大師</a></td>"+
"    <td><a href=http://mychat.to/s.php?dmej=ncc&ID=ncc>達摩一掌金</a></td>"+
"    <td><a href=http://mychat.to/s.php?bgcg=ncc&ID=ncc>八字秤骨</a></td>"+
"    <td><a href=http://www.ncc.com.tw/fate/main.php>命理大廳</a></td>"+
"  </tr></table></td> "+ 
"  </tr>"+
"</table>");
document.write("<table width=600 "+tablestr+">"+
"  <tr>"+
"  <td class=td2 align=center background=image/tr_bg_dw.gif>"+s+"</td>"+
"  </tr>"+
"</table>"+
"<table width=600 border=0 cellspacing=0 cellpadding=0 align=center>"+
"  <tr>"+
"    <td><img src=http://www.ncc.com.tw/image/ld_fates600.gif width=600 height=8></td>"+
"  </tr>"+
"</table>");  
if(errmsg) alert(errmsg);
}
