<!-- hide script from old browsers

function form_controleren(Rayform)
{
  if (Rayform.ContactPerson.value == "")
  {
    alert("Please fill the name field.");
    Rayform.ContactPerson.focus();
	return (false);
     }
  if (Rayform.Adress.value == "")
  {
    alert("Please fill the adress field.");
    Rayform.Adress.focus();
	return (false);
     }
  if (Rayform.Telephone.value == "")
  {
    alert("Please fill the telephone field.");
    Rayform.Telephone.focus();
	return (false);
     }
 if (Rayform.Email.value == "")
  {
    alert("Please fill the email field.");
    Rayform.Email.focus();
    return (false);
  }  
  else
{
if (Rayform.Email.value.indexOf('@') == -1)
{
alert("This is not a valid email.");
Rayform.Email.focus();
return (false);
}
if (true)
{
if (Rayform.Email.value.indexOf('.') == -1)
{
alert("This is not a valid email.");
Rayform.Email.focus();
return (false);
}
}
}
if (Rayform.ProgramOfInterst.value == "")
  {
    alert("Please fill the program of interest field.");
    Rayform.ProgramOfInterst.focus();
	return (false);
     }
if (Rayform.Day.value == "")
  {
    alert("Please fill the scheduled date field.");
    Rayform.Day.focus();
	return (false);
     }
if (Rayform.Month.value == "")
  {
    alert("Please fill the scheduled date field.");
    Rayform.Month.focus();
	return (false);
     }
if (Rayform.Year.value == "")
  {
    alert("Please fill the scheduled date field.");
    Rayform.Year.focus();
	return (false);
     }
if (Rayform.Participant1.value == "")
  {
    alert("Please fill the participants name field.");
    Rayform.Participant1.focus();
	return (false);
     }
if (Rayform.Position1.value == "")
  {
    alert("Please fill the participants position field.");
    Rayform.Position1.focus();
	return (false);
     }
if (Rayform.SendInvoiceTo.value == "")
  {
    alert("Please fill the invoice name field.");
    Rayform.SendInvoiceTo.focus();
	return (false);
     }
 if (Rayform.Position.value == "")
  {
    alert("Please fill the invoice position field.");
    Rayform.Position.focus();
	return (false);
     }
 
  
  return (true);
  }
  
  // end hiding script from old browsers -->

  


