﻿var username = getCookie('username');
if (username && username != '') {
    document.write('<a href="WebSiteAction.ashx?action=user_logout_submit"><b>+退出</b></a> <a href="member.aspx"><b style="color:#FF6600;">欢迎, ' + decodeURIComponent(username) + '</b></a>');
} else {
    document.write('<a href="register.aspx"><b>+注册</b></a> <a href="login.aspx"><b>+登录</b></a>');
}

