// 会員（CP_KBN == 1）
if (mmbflg == 1) {
document.write('<a href="/cgi-bin2/dexlogout.cgi?url=http://www.dexcreative.jp/index.html" onMouseOver="MM_swapImage(\'logout\',\'\',\'images/logout.gif\',1)" onMouseOut="MM_swapImgRestore()">');
document.write('<img src="images/logout.gif" alt="ログアウト" name="logout" width="78" height="22" border="0" id="logout" />');
document.write('</a>');

// 会員（CP_KBN != 1）
} else if (mmbflg == 2) {
document.write('<a href="/cgi-bin2/dexlogout.cgi?url=http://www.dexcreative.jp/index.html" onMouseOver="MM_swapImage(\'logout\',\'\',\'images/logout.gif\',1)" onMouseOut="MM_swapImgRestore()">');
document.write('<img src="images/logout.gif" alt="ログアウト" name="logout" width="78" height="22" border="0" id="logout" />');
document.write('</a>');

// 非会員
} else if (mmbflg == 3) {
document.write('<a href="/dexcreative/frame.cgi?rtn=1&main=/login/dexcreative/login.html" onMouseOver="MM_swapImage(\'login1\',\'\',\'./images/login.gif\',1)" onMouseOut="MM_swapImgRestore()">');
document.write('<img src="images/login.gif" alt="ログイン/会員登録" width="127" height="22" border="0" />');
document.write('</a>');
}

