
function form_validator(theForm){  

if (theForm.Name.value == "")  
  {  
    alert("Please enter a value for the \"Name\" field.");  
    theForm.Name.focus();  
    return (false);  
  }  
if (theForm.Email.value == "")  
  {  
    alert("Please enter a value for the \"Email\" field.");  
    theForm.Email.focus();  
    return (false);  
  }  
if (theForm.Country.value == "")  
  {  
    alert("Please enter a value for the \"Country\" field.");  
    theForm.Country.focus();  
    return (false);  
  }  
if (theForm.Message.value == "")  
  {  
    alert("Please enter a value for the \"Dining Requirements\" field.");  
    theForm.Requirements.focus();  
    return (false);  
  }  
}