function Validate()
{
	var Msg="";

	if (document.getElementById("firstname").value == "First Name:")
	{ Msg=Msg + "* Your First Name\n"; }

	if (document.getElementById("lastname").value == "Last Name:")
	{ Msg=Msg + "* Your Last Name\n"; }

	if (document.getElementById("company").value == "Company:")
	{ Msg=Msg + "* Your Company\n"; }

	if (document.getElementById("phone").value == "Phone:")
	{ Msg=Msg + "* Your Phone Number\n"; }

	if (document.getElementById("email").value == "Email:")
	{ Msg=Msg + "* Your Email Address\n"; }

	if (document.getElementById("contactpref").options[document.getElementById("contactpref").selectedIndex].value == "")
	{ Msg=Msg + "* Your Contact Preference\n"; }

	if (document.getElementById("contactpref").options[document.getElementById("contactpref").selectedIndex].value == "Postal Mail")
	{
		if (document.getElementById("address").value == "Address:")
		{ Msg=Msg + "* Your Address\n"; }

		if (document.getElementById("city").value == "City:")
		{ Msg=Msg + "* Your City\n"; }

		if (document.getElementById("state").value == "State:")
		{ Msg=Msg + "* Your State\n"; }

		if (document.getElementById("zipcode").value == "ZIP Code:")
		{ Msg=Msg + "* Your Zip Code\n"; }
	}	

	if (Msg != "")
	{ alert("Before proceeding, please fill-in the following information:\n\n" + Msg); }

	else
     { 
		document.getElementById("contactfrm").submit();
		return false;
	}

	return false;
}

function ResetFrm()
{
	document.getElementById("contactfrm").reset();
	return;
}

document.getElementById("clearlink").onclick=ResetFrm;
document.getElementById("submitlink").onclick=Validate;
