
function PasswdCheck(){
	psword = document.p_form.psw.value;
	
	this.img = new Image(1,1);
	   
	this.img.onerror = function InvalidPasswd(event)
	{
		alert("パスワードが違います。\n残念ですがここから先はごらんいただけません。");
	}
	
	this.img.onload  = function ValidPasswd(event)
	{
		window.location.href = psword+'.html';
	}
	
	this.img.src = psword + '.gif';
}
