function tarifeler() {
  var tarife_ttnet = document.getElementById('tarife_ttnet');
  var tarife_doping = document.getElementById('tarife_doping');
  var bos = document.getElementById('bos');
      
  tarife_ttnet.value = '';
  tarife_doping.value = '';
  tarife_ttnet.style.display= 'none';
  tarife_doping.style.display = 'none';
  bos.style.display = 'block';
  
if (document.getElementById('adsl').value=='TTNET') {
tarife_ttnet.style.display = 'block';
tarife_doping.style.display = 'none';
tarife_doping.value = '';
bos.style.display = 'none';
}else if (document.getElementById('adsl').value=='DOPING') {
tarife_ttnet.style.display = 'none';
tarife_doping.style.display = 'block';
bos.style.display = 'none';
tarife_ttnet.value = '';
}

}  


function tarife_duzenle() {
  var tarife_ttnet = document.getElementById('tarife_ttnet');
  var tarife_doping = document.getElementById('tarife_doping');
  var bos = document.getElementById('bos');
      

  tarife_ttnet.style.display= 'none';
  tarife_doping.style.display = 'none';
  bos.style.display = 'block';
  
if (document.getElementById('adsl').value=='TTNET') {
tarife_ttnet.style.display = 'block';
tarife_doping.style.display = 'none';
tarife_doping.value = '';
bos.style.display = 'none';
}else if (document.getElementById('adsl').value=='DOPING') {
tarife_ttnet.style.display = 'none';
tarife_doping.style.display = 'block';
bos.style.display = 'none';
tarife_ttnet.value = '';
}
}



function kontrol() {

if(document.basvuru.form.value =="bt")
{
var bireysel_hata1 = "Lütfen Ad Soyad bilgisini giriniz !"
var bireysel_hata2 = "Lütfen TC Kimlik No bilgisini giriniz !"
var bireysel_hata3 = "Lütfen Ýrtibat bilgisini giriniz !"
var bireysel_hata4 = "Lütfen Adres bilgisini giriniz !"
var bireysel_hata5 = "Lütfen Anne Kýzlýk Soyad bilgisini giriniz !"
if(document.getElementById('adsoyad').value=='')
{
document.getElementById('adsoyad').focus();
alert(bireysel_hata1);
return false;
}
if(document.getElementById('tckimlik').value=='')
{
document.getElementById('tckimlik').focus();
alert(bireysel_hata2);
return false;
}
if(document.getElementById('irtibat').value=='')
{
document.getElementById('irtibat').focus();
alert(bireysel_hata3);
return false;
}
if(document.getElementById('adres').value=='')
{
document.getElementById('adres').focus();
alert(bireysel_hata4);
return false;
}
if(document.getElementById('aks').value=='')
{
document.getElementById('aks').focus();
alert(bireysel_hata5);
return false;
}
} else if(document.basvuru.form.value =="bi")
{
var bireysel_hata1 = "Lütfen Ad Soyad bilgisini giriniz !"
var bireysel_hata2 = "Lütfen TC Kimlik No bilgisini giriniz !"
var bireysel_hata3 = "Lütfen Telefon No bilgisini giriniz !"
var bireysel_hata4 = "Lütfen Ýrtibat bilgisini giriniz !"
var bireysel_hata5 = "Lütfen Adres bilgisini giriniz !"
var bireysel_hata6 = "Lütfen Anne Kýzlýk Soyad bilgisini giriniz !"
var bireysel_hata7 = "Lütfen Kampanya bilgisini giriniz !"
var bireysel_hata8 = "Lütfen Tarife bilgisini giriniz !"

if(document.getElementById('adsoyad').value=='')
{
document.getElementById('adsoyad').focus();
alert(bireysel_hata1);
return false;
}
if(document.getElementById('tckimlik').value=='')
{
document.getElementById('tckimlik').focus();
alert(bireysel_hata2);
return false;
}
if(document.getElementById('telno').value=='')
{
document.getElementById('telno').focus();
alert(bireysel_hata3);
return false;
}
if(document.getElementById('irtibat').value=='')
{
document.getElementById('irtibat').focus();
alert(bireysel_hata4);
return false;
}
if(document.getElementById('adres').value=='')
{
document.getElementById('adres').focus();
alert(bireysel_hata5);
return false;
}
if(document.getElementById('aks').value=='')
{
document.getElementById('aks').focus();
alert(bireysel_hata6);
return false;
}
if(document.getElementById('kampanya').value=='')
{
document.getElementById('kampanya').focus();
alert(bireysel_hata7);
return false;
}
if(document.getElementById('tarife').value=='')
{
document.getElementById('tarife').focus();
alert(bireysel_hata8);
return false;
}

} else if(document.basvuru.form.value =="kt")
{
var kurumsal_hata1 = "Lütfen Firma Ünvaný bilgisini giriniz !"
var kurumsal_hata2 = "Lütfen Yetkili bilgisini giriniz !"
var kurumsal_hata3 = "Lütfen TC Kimlik No bilgisini giriniz !"
var kurumsal_hata4 = "Lütfen Ýrtibat bilgisini giriniz !"
var kurumsal_hata5 = "Lütfen Vergi Dairesi bilgisini giriniz !"
var kurumsal_hata6 = "Lütfen Vergi No bilgisini giriniz !"
var kurumsal_hata7 = "Lütfen Ticaret Sicil No bilgisini giriniz !"
var kurumsal_hata8 = "Lütfen Adres bilgisini giriniz !"
if(document.getElementById('firma').value=='')
{
document.getElementById('firma').focus();
alert(kurumsal_hata1);
return false;
}
if(document.getElementById('adsoyad').value=='')
{
document.getElementById('adsoyad').focus();
alert(kurumsal_hata2);
return false;
}
if(document.getElementById('tckimlik').value=='')
{
document.getElementById('tckimlik').focus();
alert(kurumsal_hata3);
return false;
}
if(document.getElementById('irtibat').value=='')
{
document.getElementById('irtibat').focus();
alert(kurumsal_hata4);
return false;
}
if(document.getElementById('vergid').value=='')
{
document.getElementById('vergid').focus();
alert(kurumsal_hata5);
return false;
}
if(document.getElementById('vergino').value=='')
{
document.getElementById('vergino').focus();
alert(kurumsal_hata6);
return false;
}
if(document.getElementById('ticaret').value=='')
{
document.getElementById('ticaret').focus();
alert(kurumsal_hata7);
return false;
}
if(document.getElementById('adres').value=='')
{
document.getElementById('adres').focus();
alert(kurumsal_hata8);
return false;
}

} else if(document.basvuru.form.value =="ki")
{
var kurumsal_hata1 = "Lütfen Firma Ünvaný bilgisini giriniz !"
var kurumsal_hata2 = "Lütfen Yetkili bilgisini giriniz !"
var kurumsal_hata3 = "Lütfen TC Kimlik No bilgisini giriniz !"
var kurumsal_hata4 = "Lütfen Telefon No bilgisini giriniz !"
var kurumsal_hata5 = "Lütfen Ýrtibat bilgisini giriniz !"
var kurumsal_hata6 = "Lütfen Vergi Dairesi bilgisini giriniz !"
var kurumsal_hata7 = "Lütfen Vergi No bilgisini giriniz !"
var kurumsal_hata8 = "Lütfen Ticaret Sicil No bilgisini giriniz !"
var kurumsal_hata9 = "Lütfen Adres bilgisini giriniz !"
var kurumsal_hata10 = "Lütfen Kampanya bilgisini giriniz !"
var kurumsal_hata11 = "Lütfen Tarife bilgisini giriniz !"
var kurumsal_hata12 = "Lütfen Statik Ip bilgisini giriniz !"
if(document.getElementById('firma').value=='')
{
document.getElementById('firma').focus();
alert(kurumsal_hata1);
return false;
}
if(document.getElementById('adsoyad').value=='')
{
document.getElementById('adsoyad').focus();
alert(kurumsal_hata2);
return false;
}
if(document.getElementById('tckimlik').value=='')
{
document.getElementById('tckimlik').focus();
alert(kurumsal_hata3);
return false;
}
if(document.getElementById('telno').value=='')
{
document.getElementById('telno').focus();
alert(kurumsal_hata4);
return false;
}
if(document.getElementById('irtibat').value=='')
{
document.getElementById('irtibat').focus();
alert(kurumsal_hata5);
return false;
}
if(document.getElementById('vergid').value=='')
{
document.getElementById('vergid').focus();
alert(kurumsal_hata6);
return false;
}
if(document.getElementById('vergino').value=='')
{
document.getElementById('vergino').focus();
alert(kurumsal_hata7);
return false;
}
if(document.getElementById('ticaret').value=='')
{
document.getElementById('ticaret').focus();
alert(kurumsal_hata8);
return false;
}
if(document.getElementById('adres').value=='')
{
document.getElementById('adres').focus();
alert(kurumsal_hata9);
return false;
}
if(document.getElementById('kampanya').value=='')
{
document.getElementById('kampanya').focus();
alert(kurumsal_hata10);
return false;
}
if(document.getElementById('tarife').value=='')
{
document.getElementById('tarife').focus();
alert(kurumsal_hata11);
return false;
}
if(document.getElementById('ip').value=='')
{
document.getElementById('ip').focus();
alert(kurumsal_hata12);
return false;
}



}


}

