function form_sub()
{
	if(document.form3.topic.value=="")
	{
		alert("タイトルをご入力ください!");
		return false;
	}
	
	if(document.form3.content.value=="")
	{
		alert("本文をご入力ください!");
		return false;
	}
	
	if(document.form3.password.value=="")
	{
		alert("修正用のキーをご入力ください!");
		return false;
	}
	
	
		if(document.form1.replycontent.value=="")
	{
		alert("タイトルをご入力ください!");
		return false;
	}
	
}

function form_sub2()
{
		if(document.form1.replycontent.value=="")
	{
		alert("本文をご入力ください!");
		return false;
	}
	if(document.form1.password.value=="")
	{
		alert("修正用のキーをご入力ください!");
		return false;
	}
		if(document.form1.password.value.length<4||document.form1.password.value.length>8)
	{
		alert("請輸入4至8個半角英文字母或數字。");
		return false;
	}
	
}