function validate()
{
	var a = arguments;
	
	if( a[0].txtName.value == '' )
	{
		alert('Sorry, Name is a required field.');
		a[0].txtName.focus();
		return false;
	}
	
	if( a[0].txtCompany.value == '' )
	{
		alert('Sorry, Company is a required field.');
		a[0].txtCompany.focus();
		return false;
	}
		
	if( a[0].txtEmail.value != '' )
	{
		if( a[0].txtEmail.value != a[0].txtConfirm.value )
		{
			alert('Sorry, your E-Mail was typed incorrectly.');
			a[0].txtConfirm.value = '';
			a[0].txtEmail.select();
			a[0].txtEmail.focus();
			return false;
		}
	}
	
	if( a[0].txtPhone.value == '' )
	{
		alert('Sorry, Phone is a required field.');
		a[0].txtPhone.focus();
		return false;
	}
	
	return true;
}
