function FormCheck() {

		if (document.Form.fname.value==""){
		alert("Please enter your First name");document.Form.fname.focus();return false}
		
		if (document.Form.lname.value==""){
		alert("Please enter your Last name");document.Form.lname.focus();return false}
										
		if (document.Form.address.value==""){
		alert("Please enter your Address");document.Form.address.focus();return false}
		
		if (document.Form.city.value==""){
		alert("Please enter your City");document.Form.city.focus();return false}
		
		if (document.Form.state.value==""){
		alert("Please select your State");document.Form.state.focus();return false}
		
		if (document.Form.zip.value==""){
		alert("Please enter your Zip");document.Form.zip.focus();return false}
					
		if (document.Form.phone.value==""){
		alert("Please enter your Phone Number");document.Form.phone.focus();return false}
		
		if (document.Form.phone.value==""){
		alert("Please enter your Phone Number");document.Form.phone.focus();return false}
		
		if (document.Form.phone.value.length<7){
		alert("Phone Number is not valid");document.Form.phone.focus();return false}
																	
		if (document.Form.email.value==""){
		alert("Please enter your e-mail address");document.Form.email.focus();return false}
				
		if(document.Form.email.value.indexOf('@', 0) == -1){
		alert("Please enter a valid email address");document.Form.email.focus();return false}

		if(document.Form.email.value.indexOf('.', 0) == -1){
		alert("Please enter a valid email address");document.Form.email.focus();return false}
		
		if (document.Form.email.value.length<7){
		alert("Email address too short");document.Form.email.focus();return false}
																																																
}
//------------------------------------------------------------

function checkContactForm(form)
{
	var name = trimString(form.SenderName.value);
	form.SenderName.value = name;
	var email = trimString(form.SenderEmail.value);
	form.SenderEmail.value = email;
	var comment = trimString(form.Comments.value);
	form.Comments.value = comment;

	if (name == "") {
		alert("Please enter your name.");
		return false;
	}
	if (!emailCheck(email)) {
		return false;
	}
	if (comment == "") {
		alert("Please enter your comment.");
		return false;
	}

	return true;
}
//------------------------------------------------------------

function emailCheck(email) {
	if (email.indexOf('@', 0) == -1) {
		alert("Please enter a valid email address.");
		return false;
	}
	
	if (email.indexOf('.', 0) == -1) {
		alert("Please enter a valid email address.");
		return false;
	}
	
	if (email.indexOf(' ', 0) != -1) {
		alert("Please enter a valid email address.");
		return false;
	}
	
	if (email.length<7) {
		alert("Email address too short.");
		return false;
	}
	
	return true;
}
//------------------------------------------------------------
