function checkTAFform(){
	validForm = 1
	if(validForm==1){
		if(document.form.yourfirstname){
			if(document.form.yourfirstname.value==''){
				alert('Please enter a value into the first name field')
				document.form.yourfirstname.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if(document.form.yourlastname){
			if(document.form.yourlastname.value==''){
				alert('Please enter a value into the last name field')
				document.form.yourlastname.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if(document.form.emailfrom){
			if(document.form.emailfrom.value==''){
				alert('Please enter a value into the email field')
				document.form.emailfrom.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if (echeck(document.form.emailfrom.value)==false){
			document.form.emailfrom.focus();
			validForm = 0
		}
	}
	
	
	
	if(validForm==1){
		if(document.form.friendfirstname){
			if(document.form.friendfirstname.value==''){
				alert('Please enter a value into the first name field')
				document.form.friendfirstname.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if(document.form.friendlastname){
			if(document.form.friendlastname.value==''){
				alert('Please enter a value into the last name field')
				document.form.friendlastname.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if(document.form.emailto){
			if(document.form.emailto.value==''){
				alert('Please enter a value into the email field')
				document.form.emailto.focus();
				validForm = 0
			}
		}
	}
	if(validForm==1){
		if (echeck(document.form.emailto.value)==false){
			document.form.emailto.focus();
			validForm = 0
		}
	}
	
if(validForm==1){
	return true;
}
else{
	return false;
}
}
