<!--





function checkForm(f) {
var reg = new RegExp("^[0-9a-z]([-_.]?[0-9a-z_])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,}$",'i');
  
var re = new RegExp("^[0-9a-z]([-_.]?[0-9a-z_])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,}$",'i');

  
 
   if ((f.geslacht.value=='')) {
	  document.getElementById("geslacht").style.backgroundColor="#B9A2C3";
    alert( "Cinsiyet alanini doldurun" );
	f.geslacht.focus();
    return false ;
  }
  if ((f.voornaam.value=='')) {
	  document.getElementById("voornaam").style.backgroundColor="#B9A2C3";
    alert( "Isim alanini doldurun" );
	f.voornaam.focus();
    return false ;
  }
  if ((f.achternaam.value=='')) {
	  document.getElementById("achternaam").style.backgroundColor="#B9A2C3";
    alert( "Soyadi alanini doldurun" );
	f.achternaam.focus();
    return false ;
  }
  
   
   if ((f.geb_dag.value=='')) {
	  document.getElementById("geb_dag").style.backgroundColor="#B9A2C3";
    alert( "Dogum tarihi alanini doldurun" );
    f.geb_dag.focus();
    return false ;
  }
   if ((f.geb_maand.value=='')) {
	  document.getElementById("geb_maand").style.backgroundColor="#B9A2C3";
    alert( "Dogum tarihi alanini doldurun" );
    f.geb_maand.focus();
    return false ;
  }
   if ((f.geb_jaar.value=='')) {
	  document.getElementById("geb_jaar").style.backgroundColor="#B9A2C3";
    alert( "Dogum tarihi alanini doldurun" );
    f.geb_jaar.focus();
    return false ;
  }
   
  
  
  
   if ((f.prov_id.value=='')) {
	   document.getElementById("prov_id").style.backgroundColor="#B9A2C3";
    alert( 'Il alaninindan se\u00E7im yapin' );
    f.prov_id.focus();
    return false ;
  }
  
  if ((f.wp_id.value=='')) {
	  document.getElementById("wp_id").style.backgroundColor="#B9A2C3";
    alert( 'Henüz  sehir  se\u00E7mediyseniz / Il\u00E7e alanindan se\u00E7im yapin' );
    f.wp_id.focus();
    return false ;
  }
  
 
  
  
  
  
 // && f.mobiel.value.length<8
  if ((f.mobiel.value=='')) {
	  document.getElementById("mobiel").style.backgroundColor="#B9A2C3";
    alert( "Cep telefonu numarasi alanini doldurun" );
    f.mobiel.focus();
    return false ;
  }
   
  if ((f.emailadres.value=='')) {
	  document.getElementById("emailadres").style.backgroundColor="#B9A2C3";
    alert( "e-posta adresi alanini doldurun" );
    f.emailadres.focus();
    return false ;
  }
   if (!reg.test(f.emailadres.value)) {
	   document.getElementById("emailadres").style.backgroundColor="#B9A2C3";
      alert('E-posta adresi ge\u00E7erli degil');
	  f.emailadres.focus();
      return false;
   }
   if ((f.emailadres_herhaal.value=='')) {
	   document.getElementById("emailadres_herhaal").style.backgroundColor="#B9A2C3";
    alert( "email adresinizi iki kez yazin" );
    f.emailadres_herhaal.focus();
    return false ;
  }
  if ((f.emailadres.value)!=(f.emailadres_herhaal.value)) {
	  document.getElementById("emailadres").style.backgroundColor="#B9A2C3";
    alert( "iki e-posta adresi birbirinden farkli, l\u00FCtfen ayni adresi iki kez yazin" );
	f.emailadres.value='';
	f.emailadres_herhaal.value='';
    f.emailadres_herhaal.focus();
    return false ;
  }
   if ((f.wachtwoord.value=='')) {
	   document.getElementById("wachtwoord").style.backgroundColor="#B9A2C3";
    alert( "Sifre alanini doldurun" );
    f.wachtwoord.focus();
    return false ;
  }
  if ((f.wachtwoord_herhaal.value=='')) {
	  document.getElementById("wachtwoord_herhaal").style.backgroundColor="#B9A2C3";
    alert( "Sifrenizi iki kez yazin" );
    f.wachtwoord_herhaal.focus();
    return false ;
  }
   if ((f.wachtwoord.value)!=(f.wachtwoord_herhaal.value)) {
	   document.getElementById("wachtwoord").style.backgroundColor="#B9A2C3";
    alert( "Iki sifre birbirinden farkli, l\u00FCtfen ayni sifreyi iki kez yazin" );
    f.wachtwoord.value='';
	f.wachtwoord_herhaal.value='';
	f.wachtwoord.focus();
    return false ;
  }
   
   
  if (!f.akkoord.checked ){ 
  document.getElementById("akkoord").style.backgroundColor="#B9A2C3";
    alert( "\u00D6nce kosullari kabul edin" );
    f.akkoord.focus();
    return false ;
  }
 
if ((f.TuringTest.value=='')) {
	  document.getElementById("TuringTest").style.backgroundColor="#B9A2C3";
    alert( "Karakterleri dogru yazamadiniz" );
    f.TuringTest.focus();
    return false ;
  }
   return true;
}

//-->
