// JavaScript Document
function FormTr(pForm)
{
	var txtAdiSoyadi=pForm.AdiSoyadi.value;
	txtAdiSoyadi=txtAdiSoyadi.replace(/\s+/g,'');
  if (txtAdiSoyadi.length < 5)
  {
    alert("Lütfen Adınızı ve Soyadınızı yazınız!");
	pForm.AdiSoyadi.focus();
  return (false);
  }
	var txtFirmaAdi=pForm.FirmaAdi.value;
	txtFirmaAdi=txtFirmaAdi.replace(/\s+/g,'');  
  if (txtFirmaAdi.length < 3)
  {
    alert("Lütfen Firma Adını Yazınız!");
	pForm.FirmaAdi.focus();
  return (false);
  }
  	var txtTelefon=pForm.Telefon.value;
	txtTelefon=txtTelefon.replace(/\s+/g,'');  
  if (txtTelefon.length < 7)
  {
    alert("Lütfen Telefon Numaranızı Yazınız!");
	pForm.Telefon.focus();
  return (false);
  }
    var txtNotlar=pForm.Notlar.value;
	txtNotlar=txtNotlar.replace(/\s+/g,'');  
  if (txtNotlar.length < 3)
  {
    alert("Lütfen Notlar Bölümünü Boş Bırakmayınız!");
	pForm.Notlar.focus();
  return (false);
  }
    var txtNotlar=pForm.Notlar.value;
	txtNotlar=txtNotlar.replace(/\s+/g,'');  
  if (txtNotlar.length > 1000)
  {
    alert("Notlar Bölümü için Max 1000 Karakter!");
	pForm.Notlar.focus();
  return (false);
  }
  return (true);
}
function FormEn(pForm)
{
	var txtAdiSoyadi=pForm.AdiSoyadi.value;
	txtAdiSoyadi=txtAdiSoyadi.replace(/\s+/g,'');
  if (txtAdiSoyadi.length < 5)
  {
    alert("Please write your Name and Surname!");
	pForm.AdiSoyadi.focus();
  return (false);
  }
	var txtFirmaAdi=pForm.FirmaAdi.value;
	txtFirmaAdi=txtFirmaAdi.replace(/\s+/g,'');  
  if (txtFirmaAdi.length < 3)
  {
    alert("Please write your Company Name!");
	pForm.FirmaAdi.focus();
  return (false);
  }
  	var txtTelefon=pForm.Telefon.value;
	txtTelefon=txtTelefon.replace(/\s+/g,'');  
  if (txtTelefon.length < 7)
  {
    alert("Please write your Telephone Numbers!");
	pForm.Telefon.focus();
  return (false);
  }
    var txtNotlar=pForm.Notlar.value;
	txtNotlar=txtNotlar.replace(/\s+/g,'');  
  if (txtNotlar.length < 3)
  {
    alert("Please write your Comments!");
	pForm.Notlar.focus();
  return (false);
  }
    var txtNotlar=pForm.Notlar.value;
	txtNotlar=txtNotlar.replace(/\s+/g,'');  
  if (txtNotlar.length > 1000)
  {
    alert("Max 1000 characters for Comments!");
	pForm.Notlar.focus();
  return (false);
  }
  return (true);
}