<!--Hide
function validEmail(Email) {       				 //VALIDATION OF FORM
	invalidChars = " /:,;"

	if (Email == "") {							// Must be filled in
		return false
	}
	for (i=0; i<invalidChars.length; i++) {		// Check to see if it contains illegal characters
		badChar = invalidChars.charAt(i)
		if (Email.indexOf(badChar,0)> -1) {
			return false
		}
	}
	atPos = Email.indexOf("@",1)				// There must be one "@" symbol
	if (atPos == -1) {
		return false
	}
	if (Email.indexOf("@",atPos+1) != -1) {		// And only one "@" symbol
		return false
	}
	periodPos = Email.indexOf(".",atPos)
	if (periodPos == -1) {						// And at least one "." after the "@"
		return false
	}
	if (periodPos+3> Email.length)	{			// Must be at least 2 characters after the "."
		return false
	}
	

return true;	

}


function valform(form) {
 
     if (form.Name.value == "") {
            alert("Please enter your name.  Thank you.");
            form.Name.focus();
            return false;
            }
            
     if (form.Remarks.value == "") {
            alert("Please enter your your comments.  Thank you.");
            form.Remarks.focus();
            return false;
            }
            
                   
            
     if (!validEmail(form.Email.value)) {
	      alert("Please enter a valid e-mail address.  Thank you.");
	      form.Email.focus();
	      return false;
	  		
              }
              
     	     	
	
     	   customer = document.theform.Name.value;
	   message = customer + ", thank you for sending us your comments. Someone at Miller Designs will review what you have sent to us.  Thank you.";
	   alert(message);
	        
	   return true;     
	        
	
	
	
       
  }   
  
//End Hide-->


