// 会員（CP_KBN == 1）
if (mmbflg == 1) {
	document.write('<table width="161" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td nowrap>');
	document.write('<A href="/cgi-bin2/dexlogout.cgi?url=http://www.dex.ne.jp/download/font/brand/iwata.html" target="_top">');
	document.write('<img src="img/mn-b01.gif" alt="ログアウト" width="79" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=https://ssl.dex.ne.jp/cgi-bin/prevMemb.cgi" target="_top">');
	document.write('<img src="img/mn-b02.gif" alt="お客様情報" width="82" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=http://www.dex.ne.jp/p/list/list.php" target="_top">');
	document.write('<img src="img/mn-b03.gif" alt="ご購入履歴" width="79" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=/cgi-bin2/cart_in.cgi?db_kind=D" target="_top">');
	document.write('<img src="img/mn-b04.gif" alt="カート" width="57" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=/cgi-bin2/download_list.cgi" target="_top">');
	document.write('<img src="img/mn-b05.gif" alt="ダウンロード" width="71" height="14" border="0">');
	document.write('</a>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');


// 会員（CP_KBN != 1）
} else if (mmbflg == 2) {
	document.write('<table width="161" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td nowrap>');
	document.write('<A href="/cgi-bin2/dexlogout.cgi?url=http://www.dex.ne.jp/download/font/brand/iwata.html" target="_top">');
	document.write('<img src="img/mn-b01.gif" alt="ログアウト" width="79" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=https://ssl.dex.ne.jp/cgi-bin/prevMemb.cgi" target="_top">');
	document.write('<img src="img/mn-b02.gif" alt="お客様情報" width="82" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=http://www.dex.ne.jp/p/list/list.php" target="_top">');
	document.write('<img src="img/mn-b03.gif" alt="ご購入履歴" width="79" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=/cgi-bin2/cart_in.cgi?db_kind=D" target="_top">');
	document.write('<img src="img/mn-b04.gif" alt="カート" width="57" height="14" border="0">');
	document.write('</a>');
	document.write('<A href="http://www.dex.ne.jp/download/photo/frame.cgi?rtn=1&main=/cgi-bin2/download_list.cgi" target="_top">');
	document.write('<img src="img/mn-b05.gif" alt="ダウンロード" width="71" height="14" border="0">');
	document.write('</a>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');




// 非会員
} else if (mmbflg == 3) {
	document.write('<form name="loginform" method="post" action="https://ssl.dex.ne.jp/cgi-bin/dexlogin-real" TARGET="_top" onSubmit="return SubmitCheck()">'); 

	document.write('<INPUT TYPE="hidden" NAME="url" VALUE="http://www.dex.ne.jp/download/font/brand/iwata.html">'); 
	document.write('<table border="0" cellpadding="0" cellspacing="0">'); 
	document.write('<tr>'); 
	document.write('<td>');
	document.write('<img src="img/mn-a01.gif" alt="ID" width="14" height="10" class="m">');
	document.write('<INPUT TYPE="TEXT" NAME="login" CLASS="loginf" VALUE="">');
	document.write('<img src="img/mn-a02.gif" alt="PW" width="19" height="10">');
	document.write('<input type="password" name="password" class="loginf">');
	document.write('</td>');
	document.write('<td VALIGN="middle">');
	document.write('<DIV ALIGN="RIGHT">');
	document.write('<input type="image" src="img/mn-a03.gif" alt="ログイン" width="48" height="17" border="0">');
	document.write('</DIV>');
	document.write('</td>');
	document.write('</tr>'); 
	document.write('<tr>'); 
	document.write('<td height="18" align="right" colspan="2">');
	document.write('<a href="http://www.dex.ne.jp/frame.cgi?rtn=1&main=https://ssl.dex.ne.jp/reg/A_top/form.html" target="_top">');
	document.write('<img src="img/mn-a04.gif" alt="新規メンバー登録(無料)" width="128" height="9" border="0">');
	document.write('</a>');
	document.write('<a href="http://www.dex.ne.jp/frame.cgi?rtn=1&main=/forget/index.html" target="_top">');
	document.write('<img src="img/mn-a05.gif" alt="ID/PWを忘れた" width="79" height="9" border="0">');
	document.write('</a>'); 
	document.write('</td>');
	document.write('</tr>'); 
	document.write('</table>');
	document.write('</form>');

}
