﻿var CookieUser = document.cookie.match(new RegExp("(^| )CYTSMEMBER=([^;]*)(;|$)"));
if(CookieUser==null)
{
    var WelStr='<a href="/Signin.aspx" target="_top"> ログイン</a> | ';
    WelStr+='<a href="/Register.aspx" target="_top">新規会員登録</a>';
}
else
{
	WelStr='ようこそ '+CookieUser[2]+' 様| <a target="_top" href="/Tool/Logout.aspx">ログアウト</a>';
}
document.getElementById("HUserInfo").innerHTML=WelStr;

