// Contact Form Validate

function ValidateContactUs(eForm){
	if(eForm==null)
		return true;

	if(eForm.fullname.value.length==0 || eForm.fullname.value=='Name'){
		alert('Please fill in your name.');
		return false;						
	}

	if(eForm.phone.value.length==0 || eForm.phone.value=='Phone Number'){
		alert('Please fill in your phone number.');
		return false;						
	}
	
	if(eForm.email.value.length==0 || eForm.email.value=='E-mail'){
		alert('Please fill in your email address.');
		return false;						
	}


	if(eForm.comments){
		if (eForm.comments.value.length==0){
			alert('Please fill in the comments box to give us an idea of how we can serve you.');
			return false;						
		}
	}
	
	if(eForm.captchaText.value != CaptchaCode){
		alert('Please fill in the correct validation code.');
		return false;
	}

	return true;
}