//Contact us form validation
function validateForm()
{
	trimFields();
	if(obj.subject.value == "")
	{
		alert("Please enter the Subject line.");
		obj.subject.focus();
		return;
	}
	if(obj.full_name.value == "")
	{
		alert("Please enter your Name.");
		obj.full_name.focus();
		return;
	}
	if(obj.email.value == "")
	{
		alert("Please enter your Email Address.");
		obj.email.focus();
		return;
	}
	if(!chkEmail(obj.email.value))
	{
		alert("Email Address appears to be invalid!\nPlease verify and correct it.");
		obj.email.focus();
		obj.email.select();
		return;
	}
	if(obj.home_phone.value == "")
	{
		alert("Please enter your Home Phone.");
		obj.home_phone.focus();
		return;
	}
	if(obj.security_code.value == "")
	{
		alert("Please enter the Security Code.");
		obj.security_code.focus();
		return;
	}
	//all fine?
	obj.action = "contact_us.php";
	obj.submit();
}

