// JavaScript Document
// for vmx vintage mx parts
// by frizbee.be

function formcheck_contact(){
	
	if (document.formname.ab.value=="" || document.formname.ab.value=="Type here your name and firstname*"){
	  alert("Please fill in your name and firstname.");
	  document.formname.ab.focus();
	  return false
	}
	if (!checkMail(document.formname.bem.value)){
	  alert("Please fill in a valid email address.");
	  document.formname.bem.focus();
	  return false
	}
	if (document.formname.message.value=="" || document.formname.message.value=="Type here your message or question*"){
	  alert("Please fill in a message or a question.");
	  document.formname.message.focus();
	  return false
	}
	if (document.formname.validator.value=="" || document.formname.validator.value=="Repeat the code*"){
	  alert("Please repeat the code correctly.");
	  document.formname.validator.focus();
	  return false
	}

}