// JavaScript Document
function validate() {
  msgAlert = '';
  counter = 0;
  name=ContactUs.Name.value;
  if (name=='') {
    counter++;
	msgAlert = '\rName';
  }
  mail=ContactUs.Email.value;
  if (mail=='') {
    counter++;
	msgAlert = msgAlert + '\rE-Mail';
  }
  phone=ContactUs.Phone.value;
  if (phone=='') {
    counter++;
	msgAlert = msgAlert + '\rPhone Number';
  }
  question=ContactUs.Comment.value;
  if (comment=='') {
    counter++;
	msgAlert = msgAlert + '\rComment';
  }
  alert('this is a test');
  if (counter > 0) {
    alert('Please enter the following required fields:\r' + msgAlert);
    event.returnValue=false;
  }
}
