function valid(form)
{
	var npass1	=	form.npass1.value;
	var npass2	=	form.npass2.value;
	var email1	=	form.email1.value;
	var email2	=	form.email2.value;
	if (npass1 != npass2)
	{
		alert("The two passwords you entered are not the same.");
		return false;
	}
	if (email1 != email2)
	{
		alert("The two emails you entered are not the same.");
		return false;
	}
}
function content(post)
	{
		var msg = post.message;
		var text = msg.value;
		if (!text)
		{
			alert("You forgot to type a message.");
			return false;
		}
		else
		{
			return true;
		}
	}