
/*---------------------------------------------------------*/
/* パスワードをクエリより取得する                          */
/*---------------------------------------------------------*/
function Password_Check()
{
		var f;
		var Cookies_ID;
		var Password;
		var msg;

		var aaa;
		var bbb;

		f = document.Login;

		Cookies_ID = "Ito_" + f.InUserID.value

		Password   = Get_Cookie(Cookies_ID);
		f.InPassWord.value = Password;

}

function Get_Cookie(key,  tmp1, tmp2, xx1, xx2, xx3)
{

    var xx4;

    tmp1 = " " + document.cookie + ";";
    xx1 = xx2 = 0;
    len = tmp1.length;
    while (xx1 < len) 
    {
        xx2  = tmp1.indexOf(";", xx1);
        tmp2 = tmp1.substring(xx1 + 1, xx2);
        xx3  = tmp2.indexOf("=");
        if (unescape(tmp2.substring(0, xx3)) == key)
        {
              return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1)));
        }
        xx1 = xx2 + 1;
    }
    return("");
}

