﻿document.write('<table border="0" cellspacing="1" cellpadding="0" width="100%">');
document.write('  <tr height="20" align="right">');
document.write('    <td valign="bottom">');
document.write('    <table border="0" cellspacing="0" cellpadding="0">');
document.write('      <tr align="right">');
document.write('	<td>|</td>');
document.write('	<td><a href="#回到首頁" onClick="location.href=\'index.php\';">首頁</a></td><td>|</td>');
document.write('	<td><a href="#申請帳號" onClick="location.href=\'register.php\';">申請帳號</a></td><td>|</td>');
document.write('	<td><a href="#修改資料" onClick="memberModify();">修改資料</a></td><td>|</td>');
document.write('	<td><a href="#忘記密碼" onClick="location.href=\'member.php?ap=forget\';">忘記密碼</a></td><td>|</td>');
document.write('	<td><a href="#系統說明" onClick="location.href=\'system.html\';">系統說明</a></td><td>|</td>');
document.write('	<td><a href="#連結語法" onClick="location.href=\'linkezdn.html\';">連結語法</a></td><td>|</td>');
document.write('	<td><a href="#服務信箱" onClick="location.href=\'mailto:EZDN <service@ezbox.idv.tw>\';">服務信箱</a></td><td>|</td>');
document.write('      </tr>');	
document.write('    </table>');	
document.write('    </td>');	
document.write('  </tr>');	
document.write('  <tr bgcolor="336699"><td></td></tr>');	
document.write('</table>');	
document.write('<br>');	

function memberModify() {
	if(location.pathname=='/' ||
	   location.pathname=='/index.php' ||
	   location.pathname=='/index.php#修改資料' ||
	   location.pathname=='/index.php#服務信箱') {
		document.forms[0].username.value='請填入帳號';
		document.forms[0].username.select();
	} else {
		location.href = 'http://'+ location.host +'/index.php';
	}
}
