function Validate()
{
	var Msg="";

	if (document.getElementById("thename").value.length == 0)
	{ Msg=Msg + "* Your Name\n"; }
	
	if (document.getElementById("address").value.length == 0)
	{ Msg=Msg + "* Your Address\n"; }

	if (document.getElementById("email").value.length == 0)
	{ Msg=Msg + "* Your Email Address\n"; }
	
	if (document.getElementById("city").value.length == 0)
	{ Msg=Msg + "* Your City\n"; }	
	
	if (document.getElementById("phone").value.length == 0)
	{ Msg=Msg + "* Your Telephone Number\n"; }

	if (document.getElementById("state").value.length == 0)
	{ Msg=Msg + "* Your State\n"; }


	if (Msg != "")
	{ alert('Sorry, but before proceeding, you\nmust fill-in the following field(s):\n\n' + Msg); }

	else
     { return true; }

	return false;
}

document.getElementById("contactform").onsubmit=Validate;
