/* Function to validate the contact form*/
function validateContact()
{
	trimFields();
	with(obj)
	{
		if(contact_name.value == '')
		{
			alert("Please enter Name.");
			contact_name.focus();
			return false;
		}
		if(email.value == '')
		{
			alert("Please enter Email.");
			email.focus();
			return false;
		}
		if(!chkEmail(email.value))
		{
			alert('Please enter a valid Email.');
			email.select();
			email.focus();
			return false;
		}
		if(game_desired.value == '')
		{
			alert('Please enter Game Desired.');
			game_desired.focus();
			return false;
		}
		if(comments.value == '')
		{
			alert('Please enter Questions & Comments.');
			comments.focus();
			return false;
		}
		if(captcha.value == '')
		{
			alert("Please enter the Alphanumeric value shown.");
			captcha.focus();
			return false;
		}
		action = 'contact.html';
		submit();
	}
}
