function checkForm(theForm) {

  if (theForm.name.value.length < 2)
  {
    alert("Lütfen Ad ve Soyadınızı giriniz.");
    theForm.name.focus();
    return (false);
  }
   
  if (theForm.email.value == "")
  {
    alert("Lütfen E-posta adresinizi giriniz.");
    theForm.email.focus();
    return (false);
  }
    
  if(theForm.email.value.indexOf('@') == -1)
  {
    alert("Lütfen e-posta adresinizi düzeltin.");
    theForm.email.focus();
    return (false);
  }
  
  if(theForm.email.value.length < 8)
  {
    alert("Lütfen e-posta adresinizi düzeltin.");
    theForm.email.focus();
    return (false);
  }

  if(theForm.email.value.indexOf('.') == -1)
  {
    alert("Lütfen e-posta adresinizi düzeltin.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.serial.value == "")
  {
    alert("Lütfen Ürününüzün Seri No'sunu girin.");
    theForm.serial.focus();
    return (false);
  }

  if (theForm.manuf.value == "")
  {
    alert("Lütfen Cihazınızın Üreticisini girin.");
    theForm.manuf.focus();
    return (false);
  }

  if (theForm.model.value == "")
  {
    alert("Lütfen Cihazınızın Modelini girin.");
    theForm.model.focus();
    return (false);
  }

  if (theForm.product.value == "")
  {
    alert("Lütfen Ürününüzün Adını girin.");
    theForm.product.focus();
    return (false);
  }

  if (theForm.version.value == "")
  {
    alert("Lütfen Ürününüzün Sürümünü girin.");
    theForm.version.focus();
    return (false);
  }

  if (theForm.comment.value == "")
  {
    alert("Lütfen mesajınızı yazın.");
    theForm.comment.focus();
    return (false);
  }

  return (true);

}
