function validateContact()
{
	if(obj.subject.value == "")
	{
		alert("Please enter your Subject.");
		obj.subject.focus();
		return false;
	}
	if(obj.name.value == "")
	{
		alert("Please enter your Name.");
		obj.name.focus();
		return false;
	}
	if(obj.state.selectedIndex == 0 && obj.other_state.value == "")
	{
		alert("Please select US/Canada State.\nIf Other, please specify.");
		obj.state.focus();
		return false;
	}
	if(obj.email_address.value == "")
	{
		alert("Please enter your Email Address.");
		obj.email_address.focus();
		return false;
	}
	if(!chkEmail(obj.email_address.value))
	{
		alert("Please enter a valid Email Address.");
		obj.email_address.focus();
		obj.email_address.select();
		return false;
	}
	if(obj.message.value == "")
	{
		alert("Please enter message.");
		obj.message.focus();
		return false;
	}
	if(obj.captcha.value == "")
	{
		alert("Please type the numbers shown on the Captcha.");
		obj.captcha.focus();
		return false;
	}
	return true;
}

function validateState()
{
	if(obj.state.selectedIndex != 0)
	{
		obj.other_state.value = "";
	}
}

function validateOtherState()
{
	if(obj.other_state.value != "")
	{
		obj.state.selectedIndex = 0;
	}
}
