function setColor(el)
{
	if (el.style) el.style.backgroundColor = "#FFFFCC"; // sarı
}


function unsetColor(el)
{
	if (el.style) el.style.backgroundColor = "#ffffff"; // beyaz
}


function basvuruformCheck()
	{
	
	
		
	if ((document.getElementById('tst').checked == false & document.getElementById('ist').checked == false & document.getElementById('kye').checked == false)) 
 		{	alert("Lütfen Sertifika Programı seçin.");
		setColor(document.basvuruformu.tst);
 		document.basvuruformu.tst.focus();
 		return false; }else{unsetColor(document.basvuruformu.tst);}
		
	if ((document.getElementById('tst').checked == true)) 
 		{
			if ((document.basvuruformu.kisi_sayisi1.value ==  ""))
			{
			alert("Lütfen Temel Satış Teknikleri için Kişi Sayısı seçin.");
		setColor(document.basvuruformu.kisi_sayisi1);
 		document.basvuruformu.kisi_sayisi1.focus();
 		return false; }else{unsetColor(document.basvuruformu.kisi_sayisi1);}
		}
		
	if ((document.getElementById('ist').checked == true)) 
 		{
			if ((document.basvuruformu.kisi_sayisi2.value ==  ""))
			{
			alert("Lütfen İleri Satış Teknikleri için Kişi Sayısı seçin.");
		setColor(document.basvuruformu.kisi_sayisi2);
 		document.basvuruformu.kisi_sayisi2.focus();
 		return false; }else{unsetColor(document.basvuruformu.kisi_sayisi2);}
		}
		
	if ((document.getElementById('kye').checked == true)) 
 		{
			if ((document.basvuruformu.kisi_sayisi3.value ==  "")) 
			{
			alert("Lütfen Kuyumcu Yöneticiliği Eğitimi için Kişi Sayısı seçin.");
		setColor(document.basvuruformu.kisi_sayisi3);
 		document.basvuruformu.kisi_sayisi3.focus();
 		return false; }else{unsetColor(document.basvuruformu.kisi_sayisi3);}
		}
		
	if ((document.getElementById('tst').checked == true)) 
 		{
			if ((document.basvuruformu.tercih_edilen_ay1.value ==  ""))
			{
			alert("Lütfen Temel Satış Teknikleri için Tercih Edilen Ay seçin.");
		setColor(document.basvuruformu.tercih_edilen_ay1);
 		document.basvuruformu.tercih_edilen_ay1.focus();
 		return false; }else{unsetColor(document.basvuruformu.tercih_edilen_ay1);}
		}
		
	if ((document.getElementById('ist').checked == true)) 
 		{
			if ((document.basvuruformu.tercih_edilen_ay2.value ==  "")) 
			{
			alert("Lütfen İleri Satış Teknikleri için Tercih Edilen Ay seçin.");
		setColor(document.basvuruformu.tercih_edilen_ay2);
 		document.basvuruformu.tercih_edilen_ay2.focus();
 		return false; }else{unsetColor(document.basvuruformu.tercih_edilen_ay2);}
		}
		
	if ((document.getElementById('kye').checked == true)) 
 		{
			if ((document.basvuruformu.tercih_edilen_ay3.value ==  "")) 
			{
			alert("Lütfen Kuyumcu Yöneticiliği Eğitimi için Tercih Edilen Ay seçin.");
		setColor(document.basvuruformu.tercih_edilen_ay3);
 		document.basvuruformu.tercih_edilen_ay3.focus();
 		return false; }else{unsetColor(document.basvuruformu.tercih_edilen_ay3);}
		}


	if ((document.basvuruformu.kuyumcu_adi.value ==  "")) 
 		{	alert("Lütfen Kuyumcu Adını yazınız.");
		setColor(document.basvuruformu.kuyumcu_adi);
 		document.basvuruformu.kuyumcu_adi.focus();
 		return false; }else{unsetColor(document.basvuruformu.kuyumcu_adi);}
		
	if ((document.basvuruformu.kuyumcu_adresi.value ==  "")) 
 		{	alert("Lütfen Kuyumcu Adresini yazınız.");
		setColor(document.basvuruformu.kuyumcu_adresi);
 		document.basvuruformu.kuyumcu_adresi.focus();
 		return false; }else{unsetColor(document.basvuruformu.kuyumcu_adresi);}
		
	if ((document.basvuruformu.telefon.value ==  "")) 
 		{	alert("Lütfen Telefonunuzu yazınız.");
		setColor(document.basvuruformu.telefon);
 		document.basvuruformu.telefon.focus();
 		return false; }else{unsetColor(document.basvuruformu.telefon);}
		
	if ((document.basvuruformu.fax.value ==  "")) 
 		{	alert("Lütfen Faksınızı yazınız.");
		setColor(document.basvuruformu.fax);
 		document.basvuruformu.fax.focus();
 		return false; }else{unsetColor(document.basvuruformu.fax);}
		
	if ((document.basvuruformu.cep_telefonu.value ==  "")) 
 		{	alert("Lütfen Cep Telefonunuzu yazınız.");
		setColor(document.basvuruformu.cep_telefonu);
 		document.basvuruformu.cep_telefonu.focus();
 		return false; }else{unsetColor(document.basvuruformu.cep_telefonu);}

	if (document.basvuruformu.e_posta.value == '')
	  {
	    alert("Lütfen E-posta adresinizi yazınız.");
		setColor(document.basvuruformu.e_posta);
		document.basvuruformu.e_posta.focus();
	    return false;
	  }else{unsetColor(document.basvuruformu.e_posta);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.basvuruformu.e_posta.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.basvuruformu.e_posta);
		  document.basvuruformu.e_posta.focus();

	      return false;
	    }else{unsetColor(document.basvuruformu.e_posta);}

	  }	
		
return true;
}



function ikformCheck()
	{
	
	if ((document.ikformu.pozisyon.value ==  "")) 
 		{	alert("Lütfen başvuru yapacağınız pozisyonu yazınız.");
		setColor(document.ikformu.pozisyon);
 		document.ikformu.pozisyon.focus();
 		return false; }else{unsetColor(document.ikformu.pozisyon);}
		
	
if ((document.ikformu.adiniz.value ==  "")) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.ikformu.adiniz);
 		document.ikformu.adiniz.focus();
 		return false; }else{unsetColor(document.ikformu.adiniz);}
		
if ((document.ikformu.soyadi.value ==  "")) 
 		{	alert("Lütfen soyadınızı yazınız.");
		setColor(document.ikformu.soyadi);
 		document.ikformu.soyadi.focus();
 		return false; }else{unsetColor(document.ikformu.soyadi);}

if ((document.ikformu.dogumyeri.value ==  "")) 
 		{	alert("Lütfen doğum yerinizi yazınız.");
		setColor(document.ikformu.dogumyeri);
 		document.ikformu.dogumyeri.focus();
 		return false; }else{unsetColor(document.ikformu.dogumyeri);}
					

		if ((document.ikformu.dgun.value ==  "" || document.ikformu.day.value ==  "" || document.ikformu.dyil.value ==  "")) 
 		{	alert("Lütfen doğum tarihinizi belirtiniz.");
		setColor(document.ikformu.dgun);
 		document.ikformu.dgun.focus();
 		return false; }else{unsetColor(document.ikformu.dgun);}
	  
	  
if ((document.ikformu.dogumyeri.value ==  "")) 
 		{	alert("Lütfen doğum yerinizi yazınız.");
		setColor(document.ikformu.dogumyeri);
 		document.ikformu.dogumyeri.focus();
 		return false; }else{unsetColor(document.ikformu.dogumyeri);}

if ((document.ikformu.ehliyettipi.value ==  "")) 
 		{	alert("Lütfen ehliyet bilginizi seçiniz.");
		setColor(document.ikformu.ehliyettipi);
 		document.ikformu.ehliyettipi.focus();
 		return false; }else{unsetColor(document.ikformu.ehliyettipi);}

if ((document.ikformu.ceptelefonukod.value ==  "")) 
 		{	alert("Lütfen cep telefonu kodunuzu yazınız.");
		setColor(document.ikformu.ceptelefonukod);
 		document.ikformu.ceptelefonukod.focus();
 		return false; }else{unsetColor(document.ikformu.ceptelefonukod);}

if ((document.ikformu.adres.value ==  "")) 
 		{	alert("Lütfen adresinizi yazınız.");
		setColor(document.ikformu.adres);
 		document.ikformu.adres.focus();
 		return false; }else{unsetColor(document.ikformu.adres);}

if ((document.ikformu.ceptelefonu.value ==  "")) 
 		{	alert("Lütfen cep telefonu numaranızı yazınız.");
		setColor(document.ikformu.ceptelefonu);
 		document.ikformu.ceptelefonu.focus();
 		return false; }else{unsetColor(document.ikformu.ceptelefonu);}


if ((document.ikformu.okul_adi2.value ==  "")) 
 		{	alert("Lütfen mezun olduğunuz liseyi yazınız.");
		setColor(document.ikformu.okul_adi2);
 		document.ikformu.okul_adi2.focus();
 		return false; }else{unsetColor(document.ikformu.okul_adi2);}


if ((document.ikformu.okul_bitis_ay2.value ==  "")) 
 		{	alert("Lütfen liseden mezun olduğunuz ayı seçiniz.");
		setColor(document.ikformu.okul_bitis_ay2);
 		document.ikformu.okul_bitis_ay2.focus();
 		return false; }else{unsetColor(document.ikformu.okul_bitis_ay2);}


if ((document.ikformu.okul_bitis_yil2.value ==  "")) 
 		{	alert("Lütfen liseden mezun olduğunuz yılı seçiniz.");
		setColor(document.ikformu.okul_bitis_yil2);
 		document.ikformu.okul_bitis_yil2.focus();
 		return false; }else{unsetColor(document.ikformu.okul_bitis_yil2);}


		
return true;
} 
function iletisimformCheck()
	{
	
	if ((document.iletisimformu.gonderenisim.value ==  "")) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.iletisimformu.gonderenisim);
 		document.iletisimformu.gonderenisim.focus();
 		return false; }else{unsetColor(document.iletisimformu.gonderenisim);}

	if (document.iletisimformu.gonderenmail.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.iletisimformu.gonderenmail);
		document.iletisimformu.gonderenmail.focus();
	    return false;
	  }else{unsetColor(document.iletisimformu.gonderenmail);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.iletisimformu.gonderenmail.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.iletisimformu.gonderenmail);
		  document.iletisimformu.gonderenmail.focus();

	      return false;
	    }else{unsetColor(document.iletisimformu.gonderenmail);}

	  }
	  
	  	if ((document.iletisimformu.konu.value ==  "")) 
 		{	alert("Lütfen konuyu seçiniz.");
		setColor(document.iletisimformu.kopnu);
 		document.iletisimformu.konu.focus();
 		return false; }else{unsetColor(document.iletisimformu.konu);}
		
	  
	  	if ((document.iletisimformu.mesaj.value ==  "")) 
 		{	alert("Lütfen mesajınızı yazınız.");
		setColor(document.iletisimformu.mesaj);
 		document.iletisimformu.mesaj.focus();
 		return false; }else{unsetColor(document.iletisimformu.mesaj);}
		
		
return true;
} 
function yorumformCheck()
	{
	
	if ((document.yorumformu.isim.value ==  "")) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.yorumformu.isim);
 		document.yorumformu.isim.focus();
 		return false; }else{unsetColor(document.yorumformu.isim);}
		
	
		
	

	if (document.yorumformu.email.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.yorumformu.email);
		document.yorumformu.email.focus();
	    return false;
	  }else{unsetColor(document.yorumformu.email);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.yorumformu.email.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.yorumformu.email);
		  document.yorumformu.email.focus();

	      return false;
	    }else{unsetColor(document.yorumformu.email);}

	  }
	  
	  	if ((document.yorumformu.konu.value ==  "")) 
 		{	alert("Lütfen konuyu seçiniz.");
		setColor(document.yorumformu.kopnu);
 		document.yorumformu.konu.focus();
 		return false; }else{unsetColor(document.yorumformu.konu);}
		
	  
	  	if ((document.yorumformu.rate.value ==  "")) 
 		{	alert("Lütfen değerlendirmenizi belirtiniz.");
		setColor(document.yorumformu.rate);
 		document.yorumformu.rate.focus();
 		return false; }else{unsetColor(document.yorumformu.rate);}
		
			if ((document.yorumformu.yorum.value ==  "")) 
 		{	alert("Lütfen düşüncenizi/önerinizi yazınız.");
		setColor(document.yorumformu.yorum);
 		document.yorumformu.yorum.focus();
 		return false; }else{unsetColor(document.yorumformu.yorum);}
		
return true;
} 

function formCheck()
	{
	
	if ((document.bultenformu.adi.value ==  "")||(document.bultenformu.adi.value.length < 2)) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.bultenformu.adi);
 		document.bultenformu.adi.focus();
 		return false; }else{unsetColor(document.bultenformu.adi);}

	return true;
} 
function araformCheck()
	{
	
	if ((document.aramaformu.keyword.value ==  "")||(document.aramaformu.keyword.value.length < 2)) 
 		{	alert("Arama sözcüğünüz çok kısa.");
		setColor(document.aramaformu.keyword);
 		document.aramaformu.keyword.focus();
 		return false; }else{unsetColor(document.aramaformu.keyword);}

	return true;
} 
	
function ebultenformCheck()
	{
	

	if (document.ebultenformu.memail.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.ebultenformu.memail);
		document.ebultenformu.memail.focus();
	    return false;
	  }else{unsetColor(document.ebultenformu.memail);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.ebultenformu.memail.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.ebultenformu.memail);
		  document.ebultenformu.memail.focus();

	      return false;
	    }else{unsetColor(document.ebultenformu.memail);}
	  }


	return true;

} 

function uyeolmadanformCheck()
	{
	
	if ((document.uyeolmadanformu.adi.value ==  "")||(document.uyeolmadanformu.adi.value.length < 2)) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.uyeolmadanformu.adi);
 		document.uyeolmadanformu.adi.focus();
 		return false; }else{unsetColor(document.uyeolmadanformu.adi);}


	if ((document.uyeolmadanformu.soyadi.value ==  "")||(document.uyeolmadanformu.soyadi.value.length < 2)) 
 		{	alert("Lütfen soyadınızı yazınız.");
		setColor(document.uyeolmadanformu.soyadi);
 		document.uyeolmadanformu.soyadi.focus();
 		return false; }else{unsetColor(document.uyeolmadanformu.soyadi);}


	if (document.uyeolmadanformu.email.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.uyeolmadanformu.email);
		document.uyeolmadanformu.email.focus();
	    return false;
	  }else{unsetColor(document.uyeolmadanformu.email);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.uyeolmadanformu.email.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.uyeolmadanformu.email);
		  document.uyeolmadanformu.email.focus();

	      return false;
	    }else{unsetColor(document.uyeolmadanformu.email);}
	  }

	return true;

} 

function formCheckUyelik()
	{
	
	if ((document.uyelikformu.adi.value ==  "")||(document.uyelikformu.adi.value.length < 2)) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.uyelikformu.adi);
 		document.uyelikformu.adi.focus();
 		return false; }else{unsetColor(document.uyelikformu.adi);}


	if ((document.uyelikformu.soyadi.value ==  "")||(document.uyelikformu.soyadi.value.length < 2)) 
 		{	alert("Lütfen soyadınızı yazınız.");
		setColor(document.uyelikformu.soyadi);
 		document.uyelikformu.soyadi.focus();
 		return false; }else{unsetColor(document.uyelikformu.soyadi);}


	if (document.uyelikformu.yeni_email.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.uyelikformu.yeni_email);
		document.uyelikformu.yeni_email.focus();
	    return false;
	  }else{unsetColor(document.uyelikformu.yeni_email);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.uyelikformu.yeni_email.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.uyelikformu.yeni_email);
		  document.uyelikformu.yeni_email.focus();

	      return false;
	    }else{unsetColor(document.uyelikformu.yeni_email);}
	  }

    if ((document.uyelikformu.sifrem.value ==  "sifrem")||(document.uyelikformu.sifrem.value.length < 6)) 
 		{	alert("Lütfen şifrenizi yazınız.");
		setColor(document.uyelikformu.sifrem);
 		document.uyelikformu.sifrem.focus();
 		return false; }else{unsetColor(document.uyelikformu.sifrem);}
 

    if ((document.uyelikformu.sifremkontrol.value != document.uyelikformu.sifrem.value)) 
 		{	alert("Yazdığınız şifreler birbirinden farklı..");
		setColor(document.uyelikformu.sifremkontrol);
 		document.uyelikformu.sifremkontrol.focus();
 		return false; }else{unsetColor(document.uyelikformu.sifremkontrol);}
		
		if ((document.uyelikformu.dgun.value ==  "" || document.uyelikformu.day.value ==  "" || document.uyelikformu.dyil.value ==  "")) 
 		{	alert("Lütfen doğum tarihinizi belirtiniz.");
		setColor(document.uyelikformu.dgun);
 		document.uyelikformu.dgun.focus();
 		return false; }else{unsetColor(document.uyelikformu.dgun);}
		

	if ((document.uyelikformu.meslek.value ==  "")) 
 		{	alert("Lütfen mesleğinizi belirtiniz.");
		setColor(document.uyelikformu.meslek);
 		document.uyelikformu.meslek.focus();
 		return false; }else{unsetColor(document.uyelikformu.meslek);}
		
		if ((document.uyelikformu.adres.value ==  "")) 
 		{	alert("Lütfen adresinizi yazınız.");
		setColor(document.uyelikformu.adres);
 		document.uyelikformu.adres.focus();
 		return false; }else{unsetColor(document.uyelikformu.adres);}

if ((document.uyelikformu.sehir.value ==  "")) 
 		{	alert("Lütfen bulunduğunuz ili seçiniz.");
		setColor(document.uyelikformu.sehir);
 		document.uyelikformu.sehir.focus();
 		return false; }else{unsetColor(document.uyelikformu.sehir);}
	return true;

} 

function tavsiyeformuCheck()
	{
	
if ((document.tavsiyeformu.isim.value ==  "")) 
 		{	alert("Lütfen adınızı yazınız.");
		setColor(document.tavsiyeformu.isim);
 		document.tavsiyeformu.isim.focus();
 		return false; }else{unsetColor(document.tavsiyeformu.isim);}

		
			if ((document.tavsiyeformu.posta.value ==  "")) 
 		{	alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.tavsiyeformu.posta);
 		document.tavsiyeformu.posta.focus();
 		return false; }else{unsetColor(document.tavsiyeformu.posta);}
		
		if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.tavsiyeformu.posta.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.tavsiyeformu.posta);
		  document.tavsiyeformu.posta.focus();

	      return false;
	    }else{unsetColor(document.tavsiyeformu.posta);}
	  }

		
		if ((document.tavsiyeformu.isim2.value ==  "")) 
 		{	alert("Lütfen tavsiye ettiğiniz kişinin adını yazınız.");
		setColor(document.tavsiyeformu.isim2);
 		document.tavsiyeformu.isim2.focus();
 		return false; }else{unsetColor(document.tavsiyeformu.isim2);}
		

				if ((document.tavsiyeformu.postakime.value ==  "")) 
 		{	alert("Lütfen tavsiye ettiğiniz kişinin e-posta adresinizi yazınız.");
		setColor(document.tavsiyeformu.postakime);
 		document.tavsiyeformu.postakime.focus();
 		return false; }else{unsetColor(document.tavsiyeformu.postakime);}	
		


if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.tavsiyeformu.postakime.value) == false)
	    {
	      alert ("Tavsiye ettiğiniz kişinin e-posta adresinde hata var.");
		  setColor(document.tavsiyeformu.postakime);
		  document.tavsiyeformu.postakime.focus();

	      return false;
	    }else{unsetColor(document.tavsiyeformu.postakime);}
	  }


return true;
} 

function FaturaformCheck()
	{
	
	if ((document.adresformu.fadi.value ==  "")||(document.adresformu.fadi.value.length < 2)) 
 		{	alert("Lütfen fatura bilgilerinde adınızı yazınız.");
		setColor(document.adresformu.fadi);
 		document.adresformu.fadi.focus();
 		return false; }else{unsetColor(document.adresformu.fadi);}

  if ((document.adresformu.ftel.value == ''))
	  {
	    alert("Lütfen fatura bilgilerinde telefon numarası yazınız.");
		setColor(document.adresformu.ftel);
		document.adresformu.ftel.focus();
	    return false;
	  }else{unsetColor(document.adresformu.ftel);}
	  
	  if (window.RegExp)
	  {
	  var r1 = new RegExp("^[0-9]");
	    if (r1.test(document.adresformu.ftel.value) == false)
	    {
	      alert ("Fatura bilgilerindeki telefon numarasında hata var.");
		  setColor(document.adresformu.ftel);
		  document.adresformu.ftel.focus();

	      return false;
	    }else{unsetColor(document.adresformu.ftel);}
	  }
	  
 	if ((document.adresformu.fadres.value ==  "")||(document.adresformu.fadres.value.length < 2)) 
 		{	alert("Lütfen fatura bilgilerinde adresi yazınız.");
		setColor(document.adresformu.fadres);
 		document.adresformu.fadres.focus();
 		return false; }else{unsetColor(document.adresformu.fadres);}


	if ((document.adresformu.fsehir.value == ''))
	  {
	    alert("Lütfen fatura bilgilerinde şehri seçiniz.");
		setColor(document.adresformu.fsehir);
		document.adresformu.fsehir.focus();
	    return false;
	  }else{unsetColor(document.adresformu.fsehir);}
	   
	
	  
 if ((document.adresformu.fyvergino.value == ''))
	  {
	    alert("Lütfen TC kimlik numarasını veya vergi numarasını yazınız.");
		setColor(document.adresformu.fyvergino);
		document.adresformu.fyvergino.focus();
	    return false;
	  }else{unsetColor(document.adresformu.fyvergino);}
	  
	

     if ((document.adresformu.sadi.value ==  "")||(document.adresformu.sadi.value.length < 2)) 
 		{	alert("Lütfen teslimat adresi bilgilerinde adınızı yazınız.");
		setColor(document.adresformu.sadi);
 		document.adresformu.sadi.focus();
 		return false; }else{unsetColor(document.adresformu.sadi);}
		
		  if ((document.adresformu.stel.value == ''))
	  {
	    alert("Lütfen teslimat adresi bilgilerinde telefon numarası yazınız.");
		setColor(document.adresformu.stel);
		document.adresformu.stel.focus();
	    return false;
	  }else{unsetColor(document.adresformu.stel);}
	  
	  

	if (window.RegExp)
	  {
	  var r1 = new RegExp("^[0-9]");
	    if (r1.test(document.adresformu.stel.value) == false)
	    {
	      alert ("Teslimat adresine ait telefon numarasında hata var.");
		  setColor(document.adresformu.stel);
		  document.adresformu.stel.focus();

	      return false;
	    }else{unsetColor(document.adresformu.stel);}
	  }


	if ((document.adresformu.sadres.value ==  "")||(document.adresformu.sadres.value.length < 2)) 
 		{	alert("Lütfen teslimat adresi bilgilerinde adresi yazınız.");
		setColor(document.adresformu.sadres);
 		document.adresformu.sadres.focus();
 		return false; }else{unsetColor(document.adresformu.sadres);}


	if ((document.adresformu.ssehir.value == ''))
	  {
	    alert("Lütfen teslimat adresi bilgilerinde şehri seçiniz.");
		setColor(document.adresformu.ssehir);
		document.adresformu.ssehir.focus();
	    return false;
	  }else{unsetColor(document.adresformu.ssehir);}

	return true;

} 