function setColor(el)
{
	if (el.style) el.style.backgroundColor = "#FFFFCC"; // sarı
}


function unsetColor(el)
{
	if (el.style) el.style.backgroundColor = "#ffffff"; // beyaz
}

function eftformCheck()
	{
	
	if ((document.bilgiformu.havaleeft.value ==  "")) 
 		{	alert("Lütfen Havale mi EFT mi yaptığınızı belirtiniz.");
		setColor(document.bilgiformu.havaleeft);
 		document.bilgiformu.havaleeft.focus();
 		return false; }else{unsetColor(document.bilgiformu.havaleeft);}

	if ((document.bilgiformu.banka.value ==  "")) 
 		{	alert("Lütfen Havale/EFT'yi gönderdiğiniz bankayı seçiniz.");
		setColor(document.bilgiformu.banka);
 		document.bilgiformu.banka.focus();
 		return false; }else{unsetColor(document.bilgiformu.banka);}
		
			if ((document.bilgiformu.havaleGonderen.value ==  "")) 
 		{	alert("Lütfen Havale/EFT'yi gönderen kişinin adını yazınız.");
		setColor(document.bilgiformu.havaleGonderen);
 		document.bilgiformu.havaleGonderen.focus();
 		return false; }else{unsetColor(document.bilgiformu.havaleGonderen);}

			if ((document.bilgiformu.tutar.value ==  "")) 
 		{	alert("Lütfen Havale/EFT yaptığınız tutarı yazınız.");
		setColor(document.bilgiformu.tutar);
 		document.bilgiformu.tutar.focus();
 		return false; }else{unsetColor(document.bilgiformu.tutar);}

		
return true;
} 

function formCheckk()
	{
	
	if ((document.sepetformu.yuzukOlcu.value ==  "")) 
 		{	alert("Lütfen yüzük ölçünüzü giriniz!");
		setColor(document.sepetformu.yuzukOlcu);
 		document.sepetformu.yuzukOlcu.focus();
 		return false; }else{unsetColor(document.sepetformu.yuzukOlcu);}

	if ((document.sepetformu.yuzukOlcu.value !=  "")&&(document.sepetformu.yuzukOlcu.value > 0)&&(document.sepetformu.yuzukOlcu.value < 6)||(document.sepetformu.yuzukOlcu.value > 30)) 
 		{	alert("Yazdığınız yüzük ölçüsü hatalıdır. Yüzük ölçüsü 6 ile 30 arasında bir rakam olmalıdır..");
		setColor(document.sepetformu.yuzukOlcu);
 		document.sepetformu.yuzukOlcu.focus();
 		return false; }else{unsetColor(document.sepetformu.yuzukOlcu);}
		
		if (window.RegExp)
	  {
	    var r1 = new RegExp("^[0-9]");
	    if (r1.test(document.sepetformu.yuzukOlcu.value) == false)
	    {
	      alert ("Yüzük ölçüsü 6 ile 30 arasında bir rakam olmalıdır.");
		  setColor(document.sepetformu.yuzukOlcu);
		  document.sepetformu.yuzukOlcu.focus();

	      return false;
	    }else{unsetColor(document.sepetformu.yuzukOlcu);}
	  }
		
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.bultenformu.memail.value == '')
	  {
	    alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.bultenformu.memail);
		document.bultenformu.memail.focus();
	    return false;
	  }else{unsetColor(document.bultenformu.memail);}

	if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.bultenformu.memail.value) == false)
	    {
	      alert ("E-posta adresinizde hata var.");
		  setColor(document.bultenformu.memail);
		  document.bultenformu.memail.focus();

	      return false;
	    }else{unsetColor(document.bultenformu.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 formCheck()
	{
	
	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 en az 6 karakter olacak şekilde 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.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.telkod.value ==  "")) 
 		{	alert("Lütfen cep telefonu kodunu yazınız.");
		setColor(document.uyelikformu.telkod);
 		document.uyelikformu.telkod.focus();
 		return false; }else{unsetColor(document.uyelikformu.telkod);}

	if ((document.uyelikformu.tel.value ==  "")) 
 		{	alert("Lütfen cep telefon numaranızı yazınız.");
		setColor(document.uyelikformu.tel);
 		document.uyelikformu.tel.focus();
 		return false; }else{unsetColor(document.uyelikformu.tel);}

	if ((document.uyelikformu.dgun.value ==  "")) 
 		{	alert("Lütfen doğum gününüzü belirtiniz.");
		setColor(document.uyelikformu.dgun);
 		document.uyelikformu.dgun.focus();
 		return false; }else{unsetColor(document.uyelikformu.dgun);}
		
	if ((document.uyelikformu.day.value ==  "")) 
 		{	alert("Lütfen doğum gününüzü belirtiniz.");
		setColor(document.uyelikformu.day);
 		document.uyelikformu.day.focus();
 		return false; }else{unsetColor(document.uyelikformu.day);}
		
	if ((document.uyelikformu.dyil.value ==  "")) 
 		{	alert("Lütfen doğum gününüzü belirtiniz.");
		setColor(document.uyelikformu.dyil);
 		document.uyelikformu.dyil.focus();
 		return false; }else{unsetColor(document.uyelikformu.dyil);}

	if ((document.uyelikformu.cinsiyet.value ==  "")) 
 		{	alert("Lütfen cinsiyetinizi belirtiniz.");
		setColor(document.uyelikformu.cinsiyet);
 		document.uyelikformu.cinsiyet.focus();
 		return false; }else{unsetColor(document.uyelikformu.cinsiyet);}


	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;

}


function adreslerimformCheck()
	{
	
	if ((document.adresformu.adres_adi.value ==  "")||(document.adresformu.adres_adi.value.length < 2)) 
 		{	alert("Lütfen adres adını yazınız.");
		setColor(document.adresformu.adres_adi);
 		document.adresformu.adres_adi.focus();
 		return false; }else{unsetColor(document.adresformu.adres_adi);}

	if ((document.adresformu.ad_soyad.value ==  "")||(document.adresformu.ad_soyad.value.length < 2)) 
 		{	alert("Lütfen adınızı soyadınızı yazınız.");
		setColor(document.adresformu.ad_soyad);
 		document.adresformu.ad_soyad.focus();
 		return false; }else{unsetColor(document.adresformu.ad_soyad);}

	if ((document.adresformu.firma_adi.value ==  "")||(document.adresformu.firma_adi.value.length < 2)) 
 		{	alert("Lütfen firma adını yazınız.");
		setColor(document.adresformu.firma_adi);
 		document.adresformu.firma_adi.focus();
 		return false; }else{unsetColor(document.adresformu.firma_adi);}

	if ((document.adresformu.cep_telefonu.value ==  "")||(document.adresformu.cep_telefonu.value.length < 2)) 
 		{	alert("Lütfen cep telefonunuzu yazınız.");
		setColor(document.adresformu.cep_telefonu);
 		document.adresformu.cep_telefonu.focus();
 		return false; }else{unsetColor(document.adresformu.cep_telefonu);}
		
	if ((document.adresformu.sabit_telefon.value ==  "")||(document.adresformu.sabit_telefon.value.length < 2)) 
 		{	alert("Lütfen sabit telefonunuzu yazınız.");
		setColor(document.adresformu.sabit_telefon);
 		document.adresformu.sabit_telefon.focus();
 		return false; }else{unsetColor(document.adresformu.sabit_telefon);}
		
	if ((document.adresformu.adres.value ==  "")||(document.adresformu.adres.value.length < 2)) 
 		{	alert("Lütfen adresinizi yazınız.");
		setColor(document.adresformu.adres);
 		document.adresformu.adres.focus();
 		return false; }else{unsetColor(document.adresformu.adres);}

	if ((document.adresformu.sehir.value ==  "")) 
 		{	alert("Lütfen şehir seçiniz.");
		setColor(document.adresformu.sehir);
 		document.adresformu.sehir.focus();
 		return false; }else{unsetColor(document.adresformu.sehir);}

	if ((document.adresformu.vergi_no.value ==  "")||(document.adresformu.vergi_no.value.length < 2)) 
 		{	alert("Lütfen vergi numaranızı yazınız.");
		setColor(document.adresformu.vergi_no);
 		document.adresformu.vergi_no.focus();
 		return false; }else{unsetColor(document.adresformu.vergi_no);}
		
	if ((document.adresformu.vergi_dairesi.value ==  "")||(document.adresformu.vergi_dairesi.value.length < 2)) 
 		{	alert("Lütfen vergi dairenizi yazınız.");
		setColor(document.adresformu.vergi_dairesi);
 		document.adresformu.vergi_dairesi.focus();
 		return false; }else{unsetColor(document.adresformu.vergi_dairesi);}

	return true;

}

function ozel_gunlerim_formCheck()
	{
	
	if ((document.ozel_gun_formu.ozel_gun_adi.value ==  "")||(document.ozel_gun_formu.ozel_gun_adi.value.length < 2)) 
 		{	alert("Lütfen özel gün adını yazınız.");
		setColor(document.ozel_gun_formu.ozel_gun_adi);
 		document.ozel_gun_formu.ozel_gun_adi.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.ozel_gun_adi);}

	if ((document.ozel_gun_formu.ozel_gun_gunu.value ==  "")||(document.ozel_gun_formu.ozel_gun_gunu.value.length < 1)) 
 		{	alert("Lütfen özel gün tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.ozel_gun_gunu);
 		document.ozel_gun_formu.ozel_gun_gunu.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.ozel_gun_gunu);}

	if ((document.ozel_gun_formu.ozel_gun_ayi.value ==  "")||(document.ozel_gun_formu.ozel_gun_ayi.value.length < 1)) 
 		{	alert("Lütfen özel gün tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.ozel_gun_ayi);
 		document.ozel_gun_formu.ozel_gun_ayi.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.ozel_gun_ayi);}

	if ((document.ozel_gun_formu.ozel_gun_yili.value ==  "")||(document.ozel_gun_formu.ozel_gun_yili.value.length < 1)) 
 		{	alert("Lütfen özel gün tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.ozel_gun_yili);
 		document.ozel_gun_formu.ozel_gun_yili.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.ozel_gun_yili);}
		
	if ((document.ozel_gun_formu.hatirlatma_gunu.value ==  "")||(document.ozel_gun_formu.hatirlatma_gunu.value.length < 1)) 
 		{	alert("Lütfen hatırlatma tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.hatirlatma_gunu);
 		document.ozel_gun_formu.hatirlatma_gunu.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.hatirlatma_gunu);}
		
	if ((document.ozel_gun_formu.hatirlatma_ayi.value ==  "")||(document.ozel_gun_formu.hatirlatma_ayi.value.length < 1)) 
 		{	alert("Lütfen hatırlatma tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.hatirlatma_ayi);
 		document.ozel_gun_formu.hatirlatma_ayi.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.hatirlatma_ayi);}

	if ((document.ozel_gun_formu.hatirlatma_yili.value ==  "")||(document.ozel_gun_formu.hatirlatma_yili.value.length < 1)) 
 		{	alert("Lütfen hatırlatma tarihini belirtiniz.");
		setColor(document.ozel_gun_formu.hatirlatma_yili);
 		document.ozel_gun_formu.hatirlatma_yili.focus();
 		return false; }else{unsetColor(document.ozel_gun_formu.hatirlatma_yili);}

	return true;

}


function sifre_degistirme_formuCheck()
	{
		
    if ((document.sifre_degistirme_formu.sifrem.value ==  "")) 
 		{	alert("Lütfen mevcut şifrenizi yazınız.");
		setColor(document.sifre_degistirme_formu.sifrem);
 		document.sifre_degistirme_formu.sifrem.focus();
 		return false; }else{unsetColor(document.sifre_degistirme_formu.sifrem);}
 
    if ((document.sifre_degistirme_formu.yenisifrem.value ==  "")||(document.sifre_degistirme_formu.yenisifrem.value.length < 6)) 
 		{	alert("Lütfen şifrenizi en az 6 karakter olacak şekilde yazınız.");
		setColor(document.sifre_degistirme_formu.yenisifrem);
 		document.sifre_degistirme_formu.yenisifrem.focus();
 		return false; }else{unsetColor(document.sifre_degistirme_formu.yenisifrem);}
		
    if ((document.sifre_degistirme_formu.yenisifrem2.value ==  "")||(document.sifre_degistirme_formu.yenisifrem2.value.length < 6)) 
 		{	alert("Lütfen şifrenizi en az 6 karakter olacak şekilde yazınız.");
		setColor(document.sifre_degistirme_formu.yenisifrem2);
 		document.sifre_degistirme_formu.yenisifrem2.focus();
 		return false; }else{unsetColor(document.sifre_degistirme_formu.yenisifrem2);}

    if ((document.sifre_degistirme_formu.yenisifrem.value != document.sifre_degistirme_formu.yenisifrem2.value)) 
 		{	alert("Yazdığınız şifreler birbirinden farklı.");
		setColor(document.sifre_degistirme_formu.yenisifrem);
 		document.sifre_degistirme_formu.yenisifrem.focus();
 		return false; }else{unsetColor(document.sifre_degistirme_formu.yenisifrem);}
		
    if ((document.sifre_degistirme_formu.yenisifrem2.value != document.sifre_degistirme_formu.yenisifrem.value)) 
 		{	alert("Yazdığınız şifreler birbirinden farklı.");
		setColor(document.sifre_degistirme_formu.yenisifrem2);
 		document.sifre_degistirme_formu.yenisifrem2.focus();
 		return false; }else{unsetColor(document.sifre_degistirme_formu.yenisifrem2);}

	return true;
}

function siparis_ozeti_formuCheck()
	{
		
    if ((document.siparis_ozeti_formu.sozlesme_kabulu.checked == false)) 
 		{	alert("Lütfen satış sözleşmesini kabul ettiğinizi belirtiniz.");
		setColor(document.siparis_ozeti_formu.sozlesme_kabulu);
 		document.siparis_ozeti_formu.sozlesme_kabulu.focus();
 		return false; }else{unsetColor(document.siparis_ozeti_formu.sozlesme_kabulu);}

	return true;
}

function bize_ulasin_formuCheck()
	{
	
	if ((document.bize_ulasin_formu.gonderenisim.value ==  "")||(document.bize_ulasin_formu.gonderenisim.value.length < 2)) 
 		{	alert("Lütfen adınızı soyadınızı yazınız.");
		setColor(document.bize_ulasin_formu.gonderenisim);
 		document.bize_ulasin_formu.gonderenisim.focus();
 		return false; }else{unsetColor(document.bize_ulasin_formu.gonderenisim);}
		
	if ((document.bize_ulasin_formu.gonderenmail.value ==  "")) 
 		{	alert("Lütfen e-posta adresinizi yazınız.");
		setColor(document.bize_ulasin_formu.gonderenmail);
 		document.bize_ulasin_formu.gonderenmail.focus();
 		return false; }else{unsetColor(document.bize_ulasin_formu.gonderenmail);}	
		
if (window.RegExp)
	  {
	    var r1 = new RegExp("^[a-zA-Z0-9\-\.\_]+@([a-zA-Z0-9\-\_]+\.)+[a-zA-Z0-9]+$");
	    if (r1.test(document.bize_ulasin_formu.gonderenmail.value) == false)
	    {
	      alert ("E-posta adresinde hata var.");
		  setColor(document.bize_ulasin_formu.gonderenmail);
		  document.bize_ulasin_formu.gonderenmail.focus();

	      return false;
	    }else{unsetColor(document.bize_ulasin_formu.gonderenmail);}
	  }

	if ((document.bize_ulasin_formu.mesaj.value ==  "")||(document.bize_ulasin_formu.mesaj.value.length < 2)) 
 		{	alert("Lütfen mesajınızı yazınız.");
		setColor(document.bize_ulasin_formu.mesaj);
 		document.bize_ulasin_formu.mesaj.focus();
 		return false; }else{unsetColor(document.bize_ulasin_formu.mesaj);}

	return true;

}