function hata_gosterme(){ return true } window.onerror=hata_gosterme;

///////////////////////////////////////////////////////////////////////////////////////////////////

function Kap(X)      {  document.getElementById('G1').style.display="none";   document.getElementById('G3').style.display="none";  document.getElementById('G5').style.display="none";}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function Kp(X,Y,Z)      {  

document.getElementById(Y).innerHTML = Hatam[X]; 

document.getElementById(Z).style.display="block";   

Sure = window.setTimeout('Kap()',5000);   }

///////////////////////////////////////////////////////////////////////////////////////////////////

function Ac(X,Y)      {  document.getElementById(Y).style.display="none";	document.getElementById(X).style.display="block"; }

///////////////////////////////////////////////////////////////////////////////////////////////////

function UyeKontrol() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');

if(Bos($('#adsoyad').val()).length < 3)  { $('#adsoyad').effect("highlight", {color: "#000"}, 3000);  Kp(1,'G1','G2'); return false;  }

if($('#email1').val()== '' || $('#email1').val().indexOf('@') ==-1 || $('#email1').val().indexOf('.') ==-1) {	 $('#email1').effect("highlight", {color: "#000"}, 3000); Kp(2,'G1','G2'); return false;  } 

if(Bos($('#parola1').val()).length < 3)  { $('#parola1').effect("highlight", {color: "#000"}, 3000);  Kp(6,'G1','G2'); return false;  }

if($('#parola1').val() != $('#parolat').val())  { $('#parola1').effect("highlight", {color: "#000"}, 3000);  $('#parolat').effect("highlight", {color: "#000"}, 3000); Kp(14,'G1','G2'); return false;  }

if($('#hatirlatma_sorusu').val() == '') { $('#hatirlatma_sorusu').effect("highlight", {color: "#000"}, 3000); Kp(3,'G1','G2'); return false; }

if($('#hatirlatma_cevabi').val() == '') { $('#hatirlatma_cevabi').effect("highlight", {color: "#000"}, 3000); Kp(7,'G1','G2'); return false; }

if($('#cinsiyet').val() == '') { $('#cinsiyet').effect("highlight", {color: "#000"}, 3000); Kp(8,'G1','G2'); return false; }

if($('#gun').val() == '' || $('#ay').val() == '' || $('#yil').val() == '') { Kp(10,'G1','G2'); return false; }

if(!$('#kosul').attr('checked')) {  Kp(11,'G1','G2'); return false;}





document.getElementById('Form_Gec').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function Kontrol() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');

if(Bos($('#Ad').val()).length < 3)  { $('#Ad').effect("highlight", {color: "#000"}, 3000);  Kp(1,'G1','G2'); return false;  }

if($('#Eposta').val()== '' || $('#Eposta').val().indexOf('@') ==-1 || $('#Eposta').val().indexOf('.') ==-1) {	 $('#Eposta').effect("highlight", {color: "#000"}, 3000); Kp(2,'G1','G2'); return false;  }

if(Bos($('#Mesaj').val()).length < 10) { $('#Mesaj').effect("highlight", {color: "#000"}, 3000); Kp(20,'G1','G2'); return false;  }

document.getElementById('Ilet_Gec').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function AdresKontrol() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');

if($('#TUlke').val()=='177') { 

if($('#TSehir').val()=='Y') { $('#TSehir').effect("highlight", {color: "#000"}, 3000); Kp(3,'G1','G2'); return false; } }

if(Bos($('#Baslik').val()).length < 3)  { $('#Baslik').effect("highlight", {color: "#000"}, 3000);  Kp(10,'G1','G2'); return false;  }

if(Bos($('#Adres').val()).length < 15)  { $('#Adres').effect("highlight", {color: "#000"}, 3000);  Kp(11,'G1','G2'); return false;  }

if(Bos($('#Tel').val()).length < 10)  { $('#Tel').effect("highlight", {color: "#000"}, 3000);  Kp(7,'G1','G2'); return false;  }

document.getElementById('Form_Adres').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function OdemeKontrol() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');  

if($('#ADR').val()<1)   { $('#ADR').effect("highlight", {color: "#000"}, 3000); Kp(10,'G1','G2'); return false; } 

if($('#MDI').val()=="2")   {

if(Bos($('#KA').val()).length < 10)  { $('#KA').effect("highlight", {color: "#000"}, 3000);  Kp(15,'G1','G2'); return false;   }

if(Bos($('#KN').val()).length < 15)  { $('#KN').effect("highlight", {color: "#000"}, 3000);  Kp(16,'G1','G2'); return false;   }

if(Bos($('#KAY').val()).length <2)  { $('#KAY').effect("highlight", {color: "#000"}, 3000);  Kp(17,'G1','G2'); return false;   }

if(Bos($('#KYI').val()).length < 4)  { $('#KYI').effect("highlight", {color: "#000"}, 3000);  Kp(18,'G1','G2'); return false;  }

if(Bos($('#KCC').val()).length < 2)  { $('#KCC').effect("highlight", {color: "#000"}, 3000);  Kp(19,'G1','G2'); return false;  } }

document.getElementById('Siparis_Gec').submit(); 

}

///////////////////////////////////////////////////////////////////////////////// 

function SiparisOnay() { $('#Siparis1').hide(); $("#Siparis2").show('slow'); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function UyeGuncel() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');

if(Bos($('#adsoyad').val()).length < 3)  { $('#adsoyad').effect("highlight", {color: "#000"}, 3000);  Kp(1,'G1','G2'); return false;  }

if($('#email').val()== '' || $('#email').val().indexOf('@') ==-1 || $('#email').val().indexOf('.') ==-1) {	 $('#email').effect("highlight", {color: "#000"}, 3000); Kp(2,'G1','G2'); return false;  } 

if($('#hatirlatma_sorusu').val() == '') { $('#hatirlatma_sorusu').effect("highlight", {color: "#000"}, 3000); Kp(3,'G1','G2'); return false; }

if($('#hatirlatma_cevabi').val() == '') { $('#hatirlatma_cevabi').effect("highlight", {color: "#000"}, 3000); Kp(7,'G1','G2'); return false; }

if($('#cinsiyet').val() == '') { $('#cinsiyet').effect("highlight", {color: "#000"}, 3000); Kp(8,'G1','G2'); return false; }

if($('#gun').val() == '' || $('#ay').val() == '' || $('#yil').val() == '') { Kp(10,'G1','G2'); return false; }

document.getElementById('Form_Gec').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function GirisKontrol() { document.getElementById('G3').innerHTML = Bekle; Ac('G3','G4');

if($('#email').val()== '' || $('#email').val().indexOf('@') ==-1 || $('#email').val().indexOf('.') ==-1) { $('#email').effect("highlight", {color: "#000"}, 3000); Kp(2,'G3','G4'); return false;  } 

if(Bos($('#parola').val()).length < 6)  { $('#parola').effect("highlight", {color: "#000"}, 3000);  Kp(6,'G3','G4'); return false;  }

document.getElementById('Form_G').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function SifreKontrol() { document.getElementById('G5').innerHTML = Bekle; Ac('G5','G6');

if($('#email1').val()== '' || $('#email1').val().indexOf('@') ==-1 || $('#email1').val().indexOf('.') ==-1) { $('#email1').effect("highlight", {color: "#000"}, 3000); Kp(2,'G5','G6'); return false;  } 

document.getElementById('Form_Sif').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function YorumKontrol() { document.getElementById('G1').innerHTML = Bekle; Ac('G1','G2');

if($('#baslik').val()== '') { $('#baslik').effect("highlight", {color: "#000"}, 3000); Kp(20,'G1','G2'); return false;  } 

if($('#yorum').val()=='') { $('#yorum').effect("highlight", {color: "#000"}, 3000); Kp(20,'G1','G2'); return false;  } 

document.getElementById('Yorum_Ekle').submit(); }

///////////////////////////////////////////////////////////////////////////////////////////////////

function SifreGuncel() { document.getElementById('G3').innerHTML = Bekle; Ac('G3','G4');

if(Bos($('#eparola').val()).length < 6)   { $('#eparola').effect("highlight", {color: "#000"}, 3000);  Kp(6,'G3','G4'); return false;  }

if(Bos($('#yparola').val()).length < 6)   { $('#yparola').effect("highlight", {color: "#000"}, 3000);  Kp(6,'G3','G4'); return false;  }

if(Bos($('#yparolat').val()).length < 6)  { $('#yparolat').effect("highlight", {color: "#000"}, 3000);  Kp(6,'G3','G4'); return false;  }

if($('#yparolat').val() != $('#yparola').val())  { $('#yparolat').effect("highlight", {color: "#000"}, 3000);  Kp(9,'G3','G4'); return false;  }

document.getElementById('Form_G').submit(); }

///////////////////////////////////////////////////////////////////////////////// 

function MailVar() {  $('#EpostaG').effect("highlight", {color: "#000"}, 3000); Kp(4,'G1','G2');  return false;  }

///////////////////////////////////////////////////////////////////////////////// 

function SifreHat() {  $('#Esifre').effect("highlight", {color: "#000"}, 3000); Kp(6,'G3','G4');  return false; }

///////////////////////////////////////////////////////////////////////////////// 

function MailYok() {  $('#email1').effect("highlight", {color: "#000"}, 3000); Kp(5,'G5','G6');  return false; }

///////////////////////////////////////////////////////////////////////////////// 

function MailYokU() {  $('#email').effect("highlight", {color: "#000"}, 3000); Kp(5,'G3','G4');  return false; }

///////////////////////////////////////////////////////////////////////////////// 

function SifreYok() {  $('#parola').effect("highlight", {color: "#000"}, 3000); Kp(6,'G3','G4');  return false;  }

///////////////////////////////////////////////////////////////////////////////// 

function GVKYok()   {  $('#GVK').effect("highlight", {color: "#000"}, 3000); Kp(13,'G5','G6');  return false;  }

///////////////////////////////////////////////////////////////////////////////// 


function Sonuc() { 

$('#TAB-2').show(); $('#TAB-1').hide();

document.getElementById('Ilet_Gec').reset(); document.getElementById('G2').style.display="block"; document.getElementById('G1').style.display="none"; } 

///////////////////////////////////////////////////////////////////////////////// 

function YorumTamam() {  

$('#TAB-2').show(); $('#TAB-1').hide();

document.getElementById('Yorum_Ekle').reset(); document.getElementById('G2').style.display="block"; document.getElementById('G1').style.display="none"; }

///////////////////////////////////////////////////////////////////////////////// 

function UyeTamam() {  

$('#TAB-2').show(); $('#TAB-1').hide();

document.getElementById('Form_Gec').reset(); document.getElementById('G2').style.display="block"; document.getElementById('G1').style.display="none"; }

///////////////////////////////////////////////////////////////////////////////// 

function SifreTamam() {  

 $('#Sif_2').show(); $('#Sif_1').hide();  document.getElementById('G6').style.display="block"; document.getElementById('G5').style.display="none"; }

///////////////////////////////////////////////////////////////////////////////// 

function AdresTamam() { TabDegis('2'); SexyLightbox.close(); }



///////////////////////////////////////////////////////////////////////////////// 

var Ex = "()- ";

var iz = Ex + "+";

var Dg = 10;

///////////////////////////////////////////////////////////////////////////////// 

function Sg(s)      {   

    var i;

    for (i = 0; i < s.length; i++)  {   

    var c = s.charAt(i);

    if (((c < "0") || (c > "9"))) return false;  }

    return true;    }

///////////////////////////////////////////////////////////////////////////////// 

function Bos(s)     {

	var i;

    var Rt = "";

    for (i = 0; i < s.length; i++)  {   

    var c = s.charAt(i);

    if (c != " ") Rt += c;  }

    return Rt; }

function Bug(s, bag) {   var i;

    var Rt = "";

    for (i = 0; i < s.length; i++)  {   

    var c = s.charAt(i);

    if (bag.indexOf(c) == -1) Rt += c; }

    return Rt; }

///////////////////////////////////////////////////////////////////////////////// 

function Tel(T){

     var ara=3

     T=Bos(T)

     if(T.indexOf("+")>1) return false

     if(T.indexOf("-")!=-1)ara=ara+1

     if(T.indexOf("(")!=-1 && T.indexOf("(")>ara)return false

     var Ar=T.indexOf("(")

     if(T.indexOf("(")!=-1 && T.charAt(Ar+2)!=")")return false

     if(T.indexOf("(")==-1 && T.indexOf(")")!=-1)return false

     s=Bug(T,iz);

     return (Sg(s) && s.length >= Dg); }

//////////////////////////////////////////////////////////////////////////////////////



///////////////////////////////////////////////////////////////////////////////// 

///////////////////////////////////////////////////////////////////////////////////////

function SehirSec(X,Y,Z) {

var ID = document.getElementById(X).value;

if(ID=="177") { $('#'+Y+'1').show(); $('#'+Y+'2').hide();  $('#'+Z).show(); $('#'+Z+'2').hide();  } 

else { $('#'+Y+'2').show(); $('#'+Y+'1').hide();  $('#'+Z).hide(); $('#'+Z+'2').show(); }  }
