<!--
email=GetLoginMail();

//if(location.pathname.indexOf("/index.htm") > -1 || location.pathname=="/japaneseform/" || location.pathname=="/"){
if(IsTopPage()){
// トップページのとき
	ImgPath = "images/Blt.gif";
	ImgCPath = "images/icn_cart.gif";
	ImgDPath = "images/icn_dl.gif";
	JpnPath = "index_j.htm";
	ActPath = "en/login/check.asp";
	CrtPath = "en/order/basket.asp";
	DwlPath = "en/order/download.asp";
	RegPath = "en/otherhtm/guidance.htm";
	MyAPath = "en/register/account.asp";
	LogoutPath = "en/login/logout.asp?dir=../../index.htm";

} else {
// トップページ以外
	ImgPath = "../../images/Blt.gif";
	ImgCPath = "../../images/icn_cart.gif";
	ImgDPath = "../../images/icn_dl.gif";
	JpnPath = "../../index_j.htm";
	ActPath = "../login/check.asp";
	CrtPath = "../order/basket.asp";
	DwlPath = "../order/download.asp";
	RegPath = "../otherhtm/guidance.htm";
	MyAPath = "../register/account.asp";
	LogoutPath = "../login/logout.asp?dir=../../index.htm&query=";
}

if(email==""){
	document.write('<IMG height="12" alt="" src="'+ ImgPath +'" width="5" align="absMiddle" vspace="2" hspace=3>');
	document.write('<a href="'+ JpnPath +'">Japanese</a>&nbsp;&nbsp;<br>');
	document.write('<TABLE cellSpacing=2 cellPadding=0 border=0><TR>');
	document.write('<FORM action="'+ ActPath +'" method=post id=form1 name=form1>');
	if(location.pathname.indexOf("kamon.htm") > -1 ) {
		document.write('<INPUT type="hidden" id="dir" name="dir" value="../subhtm/kamon.htm">');
	} else {
		document.write('<INPUT type="hidden" id="dir" name="dir" value="../../index.htm">');
	}
	document.write('<INPUT type="hidden" id="query" name="query" value="">');
	document.write('<TD width=120>&nbsp;</td>');
	document.write('<TD align=right><INPUT name="txtemail" size=12></TD>');
	document.write('<TD>&nbsp;E-mail&nbsp;</TD>');
	document.write('<TD align=right><INPUT type=password name="txtPassword" size=12></TD>');
	document.write('<TD>&nbsp;Password&nbsp;</TD>');
	document.write('<TD><input type="submit" id="btnSubmit" name="btnSubmit" value="Login"></TD>');
	document.write('</FORM></TR><TR>');
	document.write('<TD align=right colspan=6><span>|&nbsp;<a href="' + CrtPath + '"><img src="' + ImgCPath + '" border="0" align="absmiddle">Cart</a>&nbsp;|');
	document.write('&nbsp;<a href="' + DwlPath + '"><img src="' + ImgDPath + '" border="0" align="absmiddle">DownLoad</a>&nbsp;|&nbsp;');
	document.write('<A href="'+ RegPath +'">Free Membership Registration</A>&nbsp;|&nbsp;<A href="'+ RegPath +'"><font color=red>SAMURAI Membership Registration</font></A>&nbsp;|</span>&nbsp;&nbsp;</TD>');
	document.write('</TR></TABLE>');
}
else{
	document.write('<IMG height="12" alt="" src="'+ ImgPath +'" width="5" align="absMiddle" vspace="2" hspace=3>');
	document.write('<a href="'+ JpnPath +'">Japanese</a>&nbsp;&nbsp;<br>');
	if(location.pathname.indexOf("/index.htm") > -1) {
		document.write('<br><span>|&nbsp;<a href="en/otherhtm/guidance.htm">Guidance</a>&nbsp;');
	}else{
		document.write('<br><span>|&nbsp;<a href="../../index.htm">Top</a>&nbsp;');
	}
	document.write('|&nbsp;<a href="' + CrtPath + '"><img src="' + ImgCPath + '" border="0" align="absmiddle">Cart</a>&nbsp;|');
	document.write('&nbsp;<a href="' + DwlPath + '"><img src="' + ImgDPath + '" border="0" align="absmiddle">DownLoad</a>&nbsp;|&nbsp;');
	document.write('<a href="'+ MyAPath +'">My Account</a>&nbsp;');
	document.write('|&nbsp;<a href="'+ LogoutPath +'">Logout</a>&nbsp;|&nbsp;&nbsp;');
}

/* ---------------------------------------------
 トップページかどうか
--------------------------------------------- */
function IsTopPage() {
	if(location.pathname.indexOf("/index.htm") > -1 || location.pathname=="/japaneseform/" || location.pathname=="/"){
		return true;
	} else {
		return false;
	}
}

function IsDevServer(){
	if(location.hostname.indexOf("www.japaneseform.com") > -1 ){
		return false;
	} else {
		return true;
	}
}

// -->




