// JavaScript Document

function checkform(){
	
	

	
if(document.formDomain.domain.value==" şirketiniz")
 {
  alert("Lütfen bir alan adı yazınız !");
  document.formDomain.domain.focus();
  return false;
 }
 else{window.status = "";}
	 


if(document.formDomain.domain.value=="")
 {
  alert("Lütfen bir alan adı yazınız !");
  document.formDomain.domain.focus();
  return false;
 }
 else{window.status = "";}
	 

	 
	}
	
	
	

function gizle(divID)
    {
    document.getElementById(''+divID+'').style.display = 'none';
    }

function goster(divID)
    {
    document.getElementById(''+divID+'').style.display = 'block';
    }


function mailForm()
{


 if(document.FormAtamail.kerio_username.value=="")
 {
  alert("Lütfen e-mail adresinizi yazınız");
  document.FormAtamail.kerio_username.focus();
  document.FormAtamail.kerio_username.select();
  return false;
 }
 else{window.status = "";}


// mail of the company

if(document.FormAtamail.kerio_username.value.length >= 1 )
 {
  if ((document.FormAtamail.kerio_username.value.indexOf("@") == -1) || (document.FormAtamail.kerio_username.value.indexOf(".") == -1))
  {
   alert("Lütfen geçerli bir e-mail adresi yazınız");
   document.FormAtamail.kerio_username.focus();
   document.FormAtamail.kerio_username.select();
   return false ;

  }
  else{window.status = "";}


 if(document.FormAtamail.kerio_password.value=="")
 {
  alert("Lütfen şifrenizi yazınız");
  document.FormAtamail.kerio_password.focus();
  document.FormAtamail.kerio_password.select();
  return false;
 }
 else{window.status = "";}


 if(document.FormAtamail.kerio_password.value=="Parola")
 {
  alert("Lütfen şifrenizi yazınız");
  document.FormAtamail.kerio_password.focus();
  document.FormAtamail.kerio_password.select();
  return false;
 }
 else{window.status = "";}


 if(document.FormAtamail.kerio_password.value.length < 4)
 {
  alert("Lütfen doğru bilgileri giriniz. Şifreniz en az 4 karakter olmalıdır");
  document.FormAtamail.kerio_password.focus();
  document.FormAtamail.kerio_password.select();
  return false;
 }
 else{window.status = "";}



}
}



function maillist()
{


 if(document.formEposta2.adSoyad2.value=="")
 {
  alert("Lütfen adınızı ve soyadınızı yazınız");
  document.formEposta2.adSoyad2.focus();
  document.formEposta2.adSoyad2.select();
  return false;
 }
 else{window.status = "";}


 if(document.formEposta2.adSoyad2.value.length < 7)
 {
  alert("Lütfen adınızı ve soyadınızı  yazınız");
  document.formEposta2.adSoyad2.focus();
  document.formEposta2.adSoyad2.select();
  return false;
 }
 else{window.status = "";}

 if(document.formEposta2.ePosta2.value=="")
 {
  alert("Lütfen e-mail adresinizi yazınız");
  document.formEposta2.ePosta2.focus();
  document.formEposta2.ePosta2.select();
  return false;
 }
 else{window.status = "";}


// mail of the company

if(document.formEposta2.ePosta2.value.length >= 1 )
 {
  if ((document.formEposta2.ePosta2.value.indexOf("@") == -1) || (document.formEposta2.ePosta2.value.indexOf(".") == -1))
  {
   alert("Lütfen geçerli bir e-mail adresi yazınız");
   document.formEposta2.ePosta2.focus();
   document.formEposta2.ePosta2.select();
   return false ;

  }
  else{
	  
goster('ListeBekleyin');
gizle('ListeForm')
	  }
}
}



