<!--
if (top.location == self.location) {
top.location.href = "../"
}

var nExpTime = 0.125*24*60*60*1000; 

function GetCookie(strName)
{
	var strReturn = "";
	var nLoop = 0;
	var nLength = 0;
	var strNameEx = strName + "=";
	var strTemp = "";
	while (nLoop < document.cookie.length)
	{
		nLength = nLoop + strNameEx.length;
		if (document.cookie.substring(nLoop, nLength) == strNameEx)
		{
			strTemp = document.cookie.indexOf(";", nLength);
			if (strTemp == -1)
			{
				strReturn = document.cookie.substring(nLength, document.cookie.length);
			}
			else
			{
				strReturn = document.cookie.substring(nLength, strTemp);
			}
			break;
		}

		nLoop = document.cookie.indexOf(" ", nLoop) + 1;
		if (nLoop == 0)
		{
			break;
		}
	}
	return strReturn;
}

function SetCookie(strName, strValue)
{
	var dtExpire = new Date();
	dtExpire.setTime(dtExpire.getTime() + nExpTime);
	document.cookie = strName + "=" + strValue + "; expires=" + dtExpire.toGMTString();
}

function GetValue()
{
	var strValue;
	strValue = GetCookie("KtaxPassword");
	if (strValue != "")
	{		
		document.album.pass.value = strValue;
	}
}

function SetValue()
{
	SetCookie("ktaxPassword", document.album.pass.value);
}


function confTx(){
    if(confirm("勝亦公認会計士事務所宛てにお問い合わせフォームを送信しようとしています。  \n\n現在ご記入の途中でしたら、右下の\n\[CANCEL\]　\/　\[キャンセル\] \nボタンを押してご記入をお続け下さい。  \  \n\n記入を終えられて送信準備完了でしたら左下の　\n\[OK\] ボタンを押して直ちに送信して下さい。")){
        setTimeout( "window.location.href='index.html'", 1000 * 8 );
        return true;
    }else{
        return false;
    }
}


// -->

