

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<title>Electrosec | Electronic Security Systems</title> 
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-9'>
<meta http-equiv='Content-Language' content='tr'> 
<meta name="description" content="Alarm Sistemleri, Telefon Arama Modülü, Access On-line ve Off-line Geçiş Kontrol Sistemleri, RFID / MIFARE Proximity Kart Okuyucu, Kamera Seçiciler, Ev Otomasyon Sistemi, Şifre Cihazı, Digital Güç Kaynağı">
<meta name="keywords" content="Alarm Sistemleri, Telefon Arama Modülü, Access On-line ve Off-line Geçiş Kontrol Sistemleri, RFID / MIFARE Proximity Kart Okuyucu, Kamera Seçiciler, Ev Otomasyon Sistemi, Şifre Cihazı, Digital Güç Kaynağı">
<link rel="shortcut icon" href="https://www.electrosec.com/Library/title.ico">	 
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen">


<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript" src="js/jquery-1.6.min.js"></script>  
<script type="text/javascript" src="js/tms-0.3.js"></script>
<script type="text/javascript" src="js/tms_presets.js"></script> 
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script> 
<script src="js/FF-cash.js" type="text/javascript"></script>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="js/function.js" type="text/javascript" charset="utf-8"></script>  
<style>
.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #00a9ff;
  border-bottom: 8px solid #00a9ff;
  border-left: 8px solid black;
  border-right: 8px solid black; 
  width: 48px;
  height: 48px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
</style> 
</head>

<script type="text/javascript">
function StartUP (){ 
 window.location.href = "https://www.egsguvenlik.com/bizeulas?B2B";
}
</script>

<body id="page1" style="display:none" onload="StartUP()">
<!-- header <img src="images/slider-img1.jpg" alt=""/> <a class="button img-access" href="#"></a> 
onmousedown="if(this.options.length>8){this.size=8;}"  onchange='this.size=0;' onblur="this.size=0;"    
 --> 

	<div class="bg">
	  <div class="main">
			<header>            
			  <div class="row-1">
			   	<h1>						
                    <a class="logo"></a>
						<strong class="slog" id="users"> </strong>
				</h1>
                 
		        <br />
		        <br />             
                           
			  </div>               
            
			  <div class="row-2">
					<nav>
						<ul class="menu">
						  <li><STRONG><a href="index.html">Ana Sayfa</a></STRONG></li>
						  <li><STRONG><a href="urunler.html">Ürünler</a> </STRONG></li>
						  <li><STRONG><a class="active" href="bayi.asp">Bayi Başvuru</a></STRONG></li>
						  <li><STRONG><a href="bizeulas.asp">Bize Ulaşın</a></STRONG></li>
						  <li class="last-item"><STRONG><a href="indirme.html">İndirme</a></STRONG></li>
						</ul>
					</nav>
			  </div>
              
               
			 			    
		        <section id="product-area"><br />

<div class="wrapper indent-bot3">      

 <table width="100%" border="0">
  <tr>
    <th scope="col">
    <h13> Bayi Başvuru Formu &nbsp; &nbsp;  &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Lütfen &nbsp; <font color="#ff0000">*</font> &nbsp; işaretli alanları doldurunuz !</h13><br />

    <div class="info-area4" id="infoarea1"> </div>
    </th>
  </tr>
</table>
 
</div> 


<form method="post" action="bayi.asp" id="bayi">
<div class="wrapper indent-bot4"> 
  <h16>   
   FİRMA BİLGİLERİ  <br />
  </h16> 
</div> 

<div class="wrapper indent-bot3">  

<table width="101%" border="0">
   
  <tr>
    <td width="13%"> <h22> <br />
      Firma Adı <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <br />
   <input name="FirmaAdi" id="FirmaAdi" type="text" maxlength="50" /> 
    </div> </td>   
    
    
    <td width="14%"><h22><br /> 
      Firma Adresi <font color="#ff0000">*</font> </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   <br />
   <input name="FirmaAdr" id="FirmaAdr" type="text" maxlength="100" /> 
    </div> </td>  
    
  </tr>
  
  
  <tr>
    <td width="13%"> <h22> İlçe <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <input name="FirmaIlce" id="FirmaIlce" type="text" maxlength="30" /> 
    </div> </td>       

    <td width="14%"><h22> Şehir <font color="#ff0000">*</font> </h22></td>
    <td width="36%">
    
      
    <select name="FirmaSehir" id="FirmaSehir" type="text"
     style="border-radius:5px; min-height:2em; margin-top:-5px; width:23.5em;font-weight: bold;
     min-width:23em; background:#BFBFFF; margin-left:0px; font-size:13px"/>     
     
    <option> </option>
    <option>Adana </option> 
    <option>Adıyaman </option> 
    <option>Afyon </option> 
    <option>Ağrı </option> 
    <option>Aksaray </option> 
    <option>Amasya </option> 
    <option>Ankara </option> 
    <option>Antalya </option> 
    <option>Ardahan </option> 
    <option>Artvin </option>     
    <option>Aydın </option> 
    <option>Balıkesir </option>     
    <option>Bartın </option>     
    <option>Batman </option>     
    <option>Bayburt </option>     
    <option>Bilecik </option>     
    <option>Bingöl </option>   
    <option>Bitlis </option>
    <option>Bolu </option> 
    <option>Burdur </option> 
    <option>Bursa </option> 
    <option>Çanakkale </option> 
    <option>Çankırı </option>     
    <option>Çorum </option> 
    <option>Denizli </option>     
    <option>Diyarbakır </option>     
    <option>Düzce </option>     
    <option>Edirne </option>     
    <option>Elazığ </option>     
    <option>Erzincan </option>     
    <option>Erzurum </option>    
    <option>Eskişehir </option>
    <option>Gaziantep </option> 
    <option>Giresun </option> 
    <option>Gümüşhane </option> 
    <option>Hakkari </option> 
    <option>Hatay </option>     
    <option>Iğdır </option> 
    <option>İsparta </option>     
    <option>İstanbul-Asya </option>     
    <option>İstanbul-Avrupa </option>     
    <option>İzmir </option>     
    <option>Kahramanmaraş </option>     
    <option>Karabük </option>     
    <option>Karaman </option>    
    <option>Kars </option>
    <option>Kastamonu </option> 
    <option>Kayseri </option> 
    <option>Kırıkkale </option> 
    <option>Kırklareli </option> 
    <option>Kırşehir </option>     
    <option>Kilis </option> 
    <option>Kocaeli </option>     
    <option>Konya </option>     
    <option>Kütahya</option>     
    <option>Malatya </option>     
    <option>Manisa </option>     
    <option>Mardin </option>     
    <option>Mersin </option>     
    <option>Muğla </option>     
    <option>Muş </option>    
    <option>Nevşehir </option>
    <option>Niğde </option> 
    <option>Ordu </option> 
    <option>Osmaniye </option> 
    <option>Rize </option> 
    <option>Sakarya </option>     
    <option>Samsun </option> 
    <option>Siirt </option>     
    <option>Sinop </option>     
    <option>Sivas</option>     
    <option>Şanlıurfa </option>     
    <option>Şırnak </option>     
    <option>Tekirdağ </option>    
    <option>Tokat </option>     
    <option>Trabzon </option>     
    <option>Tunceli </option>    
    <option>Uşak </option>
    <option>Van </option> 
    <option>Yalova </option> 
    <option>Yozgat </option> 
    <option>Zonguldak </option> 
    <option>Kıbrıs </option>    
        
     </td>      
    
  </tr>  
  
  
   <tr>
    <td width="13%"> <h22> Telefonlar <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form1">   
   <input name="FirmaTel1" id="FirmaTel1" type="text" maxlength="10" />
   
    </div>
    
     <div id ="contact-form1">   
   <input name="FirmaTel2" id="FirmaTel2" type="text" maxlength="10"  />
   
    </div> 
    
    <div id ="contact-form1">   
   <input name="FirmaTel3" id="FirmaTel3" type="text" maxlength="10"  />
    
    </div> 
    </td>   
    
    
    <td width="14%"><h22> Fax / Gsm / Web</h22></td>
    <td width="36%">    
     <div id ="contact-form1">   
   <input name="FirmaFax" id="FirmaFax" type="text" maxlength="10"  />
   
    </div>
    
     <div id ="contact-form1">   
   <input name="FirmaGsm1" id="FirmaGsm1" type="text" maxlength="10"  />
   
    </div>
    
     <div id ="contact-form1">   
   <input name="FirmaGsm2" id="FirmaGsm2"  type="text" maxlength="70"  />
   
    </div>
    
    </td>    
  </tr>  
  
  
   <tr>
    <td width="13%"> <h22>  Vergi Dr. / No <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form2">    
   <input name="VergiDaire" id="VergiDaire"  type="text" maxlength="50" /> 
    </div>
    
     <div id ="contact-form2">    
   <input name="VergiNo" id="VergiNo" type="text" maxlength="15"  />
   
    </div>
    
     </td>   
    
    
    <td width="14%"><h22> Firma E-Mail <font color="#ff0000">*</font> </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   
   <input name="FirmaEmail" id="FirmaEmail" type="text" maxlength="70" style=" text-transform:lowercase" /> 
    </div> </td>  
    
  </tr>
  
  
</table> 

  </div>
  
  <div class="wrapper indent-bot4"> 
  <h16>   
   1. DERECEDE YETKİLİ KİŞİŞEL BİLGİLER   <br />
  </h16> 
</div> 

<div class="wrapper indent-bot3">  

<table width="101%" border="0">
   
  <tr>
    <td width="13%"> <h22> <br />
      Adı /Soyadı <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <br />
   <input name="YetkiliAd1" id="YetkiliAd1" type="text" maxlength="40" /> 
    </div> </td>   
    
    
    <td width="14%"><h22><br /> 
      Ünvanı  </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   <br />
   <input name="YetkiliUnvan1" id="YetkiliUnvan1" type="text" maxlength="20" /> 
    </div> </td>  
    
  </tr>
  
  
  <tr>
    <td width="13%"> <h22> Cep Telefonu <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <input name="YetkiliCep1" id="YetkiliCep1" type="text" maxlength="10"  />
  
    </div> </td>   
    
    
    <td width="14%"><h22> E-Mail <font color="#ff0000">*</font> </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   <input name="YetkiliEmail1" id="YetkiliEmail1" type="text"  maxlength="50" style=" text-transform:lowercase" /> 
    </div> </td>      
    
  </tr>   
  
  
   <tr>
    <td width="13%"> <h22> Firma İlişkisi <font color="#ff0000">*</font> </h22> </td>
    <td width="37%">   
     
    <h22> Sahibi</h22> 
    &nbsp; <input name="sahibi" type="radio" id="Sahibi1" 
     style="margin-top:-8px" />  
     &nbsp; <h22>Ortağı</h22> &nbsp; <input name="sahibi" type="radio" id="Ortak1"
     style="margin-top:-8px"/>     
     &nbsp; <h22>Diğer</h22> &nbsp; <input name="sahibi" type="radio" id="Diger1F" 
    style="margin-top:-8px"/> 
    
    
    <td width="14%"><h22> İmza Yetkisi <font color="#ff0000">*</font> </h22></td>
    <td width="36%">
    
     <h22> Asaleten</h22> &nbsp; <input name="2" type="radio" id="Asalet1" 
     style="margin-top:-8px"/>    
     &nbsp; <h22>Vekaleten</h22> &nbsp; <input name="2" type="radio" id="Vekalet1" 
     style="margin-top:-8px"/>     
     &nbsp; <h22>Diğer</h22> &nbsp; <input name="2" type="radio" id="Diger1S"
    style="margin-top:-8px"/>  
    
  </tr>    
  
</table> 

  </div>
  
  
  <div class="wrapper indent-bot4"> 
  <h16>   
   2. DERECEDE YETKİLİ KİŞİŞEL BİLGİLER   <br />
  </h16> 
</div> 

<div class="wrapper indent-bot3">  

  <table width="101%" border="0">
   
  <tr>
    <td width="13%"> <h22> <br />
      Adı / Soyadı </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <br />
   <input name="YetkiliAd2" id="YetkiliAd2" type="text" maxlength="40" /> 
    </div> </td>   
    
    
    <td width="14%"><h22><br /> 
      Ünvanı </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   <br />
   <input name="YetkiliUnvan2" id="YetkiliUnvan2" type="text" maxlength="20" /> 
    </div> </td>  
    
  </tr>
  
  
  <tr>
    <td width="13%"> <h22> Cep Telefonu </h22> </td>
    <td width="37%">
    <div id ="contact-form">   
   <input name="YetkiliCep2" id="YetkiliCep2" type="text" maxlength="10"  />
   
    </div> </td>   
    
    
    <td width="14%"><h22> E-Mail </h22></td>
    <td width="36%">
    <div id ="contact-form">   
   <input name="YetkiliEmail2" id="YetkiliEmail2"  type="text"  maxlength="50" style=" text-transform:lowercase" /> 
    </div> </td>      
    
  </tr>   
  
  
   <tr>
    <td width="13%"> <h22> Firma İlişkisi </h22> </td>
    <td width="37%">
    
    <h22> Sahibi</h22> &nbsp; <input name="3" type="radio" id="Sahibi2"  
     style="margin-top:-8px"/>    
     &nbsp; <h22>Ortağı</h22> &nbsp; <input name="3" type="radio" id="Ortak2" 
     style="margin-top:-8px"/>     
     &nbsp; <h22>Diğer</h22> &nbsp; <input name="3" type="radio" id="Diger2F"
    style="margin-top:-8px"/> 
    
    
    <td width="14%"><h22> İmza Yetkisi </h22></td>
    <td width="36%">
    
     <h22> Asaleten</h22> &nbsp; <input name="4" type="radio" id="Asalet2"
     style="margin-top:-8px"/>    
     &nbsp; <h22>Vekaleten</h22> &nbsp; <input name="4" type="radio" id="Vekalet2"  
     style="margin-top:-8px"/>     
     &nbsp; <h22>Diğer</h22> &nbsp; <input name="4" type="radio" id="Diger2S"
    style="margin-top:-8px"/>  
    
  </tr>    
  
  </table> 
  <br />

  <hr />
  <br />


  
  
  <div id ="contact-form">   
  
  <table width="80%" border="0">
  <tr>
    <th width="19%" scope="col">
    <h22> Güvenlik Kodu <font color="#ff0000">*</font> </h22>
    </th>
    <th width="16%" scope="col">
    <input type="text" maxlength="5"  name= "random" id="random"  style="margin-top:-5px;width:72px; background:#999; color:#333; text-align:center; font-family:Tahoma, Geneva, sans-serif" readonly="readonly" />   
    </th>
    <th width="16%" scope="col">
     <input type="text" maxlength="5"  name= "randomf" id="randomf"  style="margin-top:-5pxpx;width:72px; background:#BFBFFF; color:#000; text-align:center; text-transform:uppercase" />   
     </th>
     
     <th width="18%" scope="col">  
      <input name="Temizle"  onclick="FormuTemizle()"  type="button" value="Temizle" style="width:7em; min-height:26px; background:#C30; color: #FFF; cursor:pointer; font-weight:bold;  border-radius:8px; margin-top:-5px" />
         
     </th>
     
     <th width="31%" scope="col">     
      <input name="Gonder"   
      onclick="FormuGonder()"       
      type="button" value="Gönder" id="FormSend" style="width:7em; background:#060; color: #FFF; cursor:pointer;  font-weight:bold; min-height:26px;border-radius:8px; margin-left:-14px" />
          
     </th>     
     <th width="31%" scope="col">
      <div id="waitpage" class="loader"  style="position:absolute; margin-left:80px; margin-top:-8px; display:none"></div>
     <input type="submit" value="Submit" style= "visibility:hidden; width:0; height:0" 
   name= "butonsend" id="butonsend"> 
     </th>     
   
  </tr>
  </table>  
  </div> 
  </div>  
  
     <input name="iliski1" id="iliski1" style= "visibility:hidden" /> 
     <input name="iliski2" id="iliski2" style= "visibility:hidden" />
     <input name="imza1" id="imza1" style= "visibility:hidden" /> 
     <input name="imza2" id="imza2" style= "visibility:hidden" /> 
  
 </form> 
 
 <div class="wrapper indent-bot4"><br />
   
  <footer>
   <div class="col-4"> 
	   <div class="box1 first">	       	                   
	            <h4> Müşteri İşlemleri </h4>
	                 <ul class="list-services">
	                      <li class="item-6"><strong><a href="uyegiris.asp">Müşteri Girişi</a></strong></li>
	                      <li class="item-7"><strong><a href="uyegiris.asp">Yeni Müşteri</a></strong></li>
	                      <li class="item-8"><strong><a href="uyegiris.asp">Şifremi Unuttum</a></strong></li>
	                      <li class="item-9"><strong><a href="bayi.asp">Bayimiz Olun </a></strong></li>

                     </ul>
              </div>                               
            </div> 
            
            <div class="col-4"> 
	              <div class="box1 first">	                 	                   
	                  <h4> Bizi Takip Edin </h4>
	                      <ul class="list-services">
	                      <li class="item-1"><strong><a href="#">Facebook</a></strong></li>
	                      <li class="item-2"><strong><a href="https://twitter.com/electrosec1" target="_blank">Twitter</a></strong></li>
	                      <li class="item-3"><strong><a href="#">LinkedIn</a></strong></li>
	                      <li class="item-5"><strong><a href="#">YouTube</a></strong></li><br />
                      </ul>
                     
                  </div>                 
            </div>
             
             <div class="col-4"> 
	              <div class="box1 first">	                	                   
	                  <h4> Adres </h4>
	                   <ul class="list-services1">
                       <h17>
	                   <li> BOSB Mermerciler Sanayi Sitesi 8.Cadde  </li>  
	                   <li> No:C1/7 K.3 D.2 Beylikdüzü / İSTANBUL  </li>
	                   <li> Tel : (0212) 2120310 Gsm: (0533) 2364947  </li> </h17>
                       <li class="item-1"> <strong><a href="mailto:electrosec@electrosec.com"> electrosec@electrosec.com</a></strong></li><br />
                       
                       </ul>               
                    
                  </div>                 
            </div>    
         
    </footer>
   
 </div>   

		</section>                                      
		</header>    
	  </div>
</div> 





    
<script type="text/javascript">
 $('input[name="randomf"]').bind('paste', function(){return false;})


function TestMessage(){
  LoadFunction()	
  Random()
  
   var info = ''	
   var result = ''  

  if (info == 'Formu Gönder') {    
     if (result == 'OK') { 
	   document.getElementById('butonsend').value = "SendOK";
	   document.getElementById('FormSend').disabled= true		    
	   document.getElementById('butonsend').click()	   
	   return;
	 }  
	 
	 else{
	   document.getElementById('butonsend').value = "SendERR"; 
	   document.getElementById('FormSend').disabled= true	
	   document.getElementById('butonsend').click()
	   return;
	 } 
  }
  
  else{ 
  
    if (info == 'SendOK') {
	   document.getElementById('infoarea1').innerHTML="&#10003; Başvurunuz iletilmiştir.";
	   document.getElementById('infoarea1').style.background='#060';
	   document.getElementById('infoarea1').style.height = "22px";	
	   document.getElementById('infoarea1').style.paddingTop = "6px"	    	
	}   
	
	else{
		
		if (info == 'SendERR') {
			document.getElementById('infoarea1').innerHTML="Mesaj iletim hatası ! Lütfen Tekrar Gönderiniz.";
	        document.getElementById('infoarea1').style.background='#990000';
			document.getElementById('infoarea1').style.height = "22px";	
	        document.getElementById('infoarea1').style.paddingTop = "6px"	
			
		}	   	
	}	
  }
  
}

function PageDown (Px) {
	var vertical_position = 0;
	if (pageYOffset)//usual
	  vertical_position = pageYOffset;
	else if (document.documentElement.clientHeight)//ie
	  vertical_position = document.documentElement.scrollTop;
	else if (document.body)//ie quirks
	  vertical_position = document.body.scrollTop;
	
	Px = Px + vertical_position	
	$("html, body").animate({ scrollTop: Px }, "slow"); 
}	

function FormuTemizle() {
  document.getElementById('FirmaAdi').value="";  
  document.getElementById('FirmaAdr').value="";  
  document.getElementById('FirmaIlce').value="";  
  document.getElementById('FirmaSehir').value="";  
  document.getElementById('FirmaTel1').value="";
  document.getElementById('FirmaTel2').value="";
  document.getElementById('FirmaTel3').value="";   
  document.getElementById('FirmaFax').value="";   
  document.getElementById('FirmaGsm1').value=""; 
  document.getElementById('FirmaGsm2').value="";  
  document.getElementById('VergiDaire').value="";
  document.getElementById('VergiNo').value="";
  document.getElementById('FirmaEmail').value="";  
  document.getElementById('YetkiliAd1').value="";
  document.getElementById('YetkiliUnvan1').value="";
  document.getElementById('YetkiliCep1').value="";    
  document.getElementById('YetkiliEmail1').value="";  
  document.getElementById('Sahibi1').checked="";
  document.getElementById('Ortak1').checked="";  
  document.getElementById('Diger1F').checked="";  
  document.getElementById('Asalet1').checked="";
  document.getElementById('Vekalet1').checked="";  
  document.getElementById('Diger1S').checked="";
  document.getElementById('YetkiliAd2').value="";
  document.getElementById('YetkiliUnvan2').value="";
  document.getElementById('YetkiliCep2').value="";    
  document.getElementById('YetkiliEmail2').value="";  
  document.getElementById('Sahibi2').checked="";
  document.getElementById('Ortak2').checked="";  
  document.getElementById('Diger2F').checked="";  
  document.getElementById('Asalet2').checked="";
  document.getElementById('Vekalet2').checked="";  
  document.getElementById('Diger2S').checked="";  
  document.getElementById('infoarea1').innerHTML="";
  document.getElementById('infoarea1').style.background='transparent';   
  document.getElementById('randomf').value = "";  
  document.getElementById('infoarea1').style.height = "0px"
  
  document.getElementById('FirmaAdi').style.background = "#BFBFFF";
  document.getElementById('FirmaAdr').style.background = "#BFBFFF";
  document.getElementById('FirmaIlce').style.background = "#BFBFFF"; 
  document.getElementById('FirmaSehir').style.background = "#BFBFFF";
  document.getElementById('FirmaTel1').style.background = "#BFBFFF";
  document.getElementById('FirmaTel2').style.background = "#BFBFFF";
  document.getElementById('FirmaTel3').style.background = "#BFBFFF";  
  document.getElementById('FirmaFax').style.background = "#BFBFFF";  
  document.getElementById('FirmaGsm1').style.background = "#BFBFFF";
  document.getElementById('FirmaGsm2').style.background = "#BFBFFF"; 
  document.getElementById('VergiDaire').style.background = "#BFBFFF";
  document.getElementById('VergiNo').style.background = "#BFBFFF";
  document.getElementById('FirmaEmail').style.background = "#BFBFFF";  
  document.getElementById('YetkiliAd1').style.background = "#BFBFFF";
  document.getElementById('YetkiliUnvan1').style.background = "#BFBFFF";
  document.getElementById('YetkiliCep1').style.background = "#BFBFFF";  
  document.getElementById('YetkiliEmail1').style.background = "#BFBFFF";
  document.getElementById('Sahibi1').style.background = "transparent";
  document.getElementById('Ortak1').style.background = "transparent";
  document.getElementById('Diger1F').style.background = "transparent";
  document.getElementById('Asalet1').style.background = "transparent";
  document.getElementById('Vekalet1').style.background = "transparent";
  document.getElementById('Diger1S').style.background = "transparent";
  document.getElementById('YetkiliAd2').style.background = "#BFBFFF";
  document.getElementById('YetkiliUnvan2').style.background = "#BFBFFF";
  document.getElementById('YetkiliCep2').style.background = "#BFBFFF";  
  document.getElementById('YetkiliEmail2').style.background = "#BFBFFF";  
  document.getElementById('Sahibi2').style.background = "transparent";
  document.getElementById('Ortak2').style.background = "transparent";
  document.getElementById('Diger2F').style.background = "transparent"; 
  document.getElementById('Asalet2').style.background = "transparent";
  document.getElementById('Vekalet2').style.background = "transparent";
  document.getElementById('Diger2S').style.background = "transparent"; 
  document.getElementById('randomf').style.background = "#BFBFFF";    
}	

function FormuGonder(){	 
  
  document.getElementById('FirmaAdi').style.background = "#BFBFFF";
  document.getElementById('FirmaAdr').style.background = "#BFBFFF";
  document.getElementById('FirmaIlce').style.background = "#BFBFFF"; 
  document.getElementById('FirmaSehir').style.background = "#BFBFFF";
  document.getElementById('FirmaTel1').style.background = "#BFBFFF";
  document.getElementById('FirmaTel2').style.background = "#BFBFFF";
  document.getElementById('FirmaTel3').style.background = "#BFBFFF";  
  document.getElementById('FirmaFax').style.background = "#BFBFFF";  
  document.getElementById('FirmaGsm1').style.background = "#BFBFFF";
  document.getElementById('FirmaGsm2').style.background = "#BFBFFF"; 
  document.getElementById('VergiDaire').style.background = "#BFBFFF";
  document.getElementById('VergiNo').style.background = "#BFBFFF";
  document.getElementById('FirmaEmail').style.background = "#BFBFFF";  
  document.getElementById('YetkiliAd1').style.background = "#BFBFFF";
  document.getElementById('YetkiliUnvan1').style.background = "#BFBFFF";
  document.getElementById('YetkiliCep1').style.background = "#BFBFFF";  
  document.getElementById('YetkiliEmail1').style.background = "#BFBFFF";
  document.getElementById('Sahibi1').style.background = "transparent";
  document.getElementById('Ortak1').style.background = "transparent";
  document.getElementById('Diger1F').style.background = "transparent";
  document.getElementById('Asalet1').style.background = "transparent";
  document.getElementById('Vekalet1').style.background = "transparent";
  document.getElementById('Diger1S').style.background = "transparent";
  document.getElementById('YetkiliAd2').style.background = "#BFBFFF";
  document.getElementById('YetkiliUnvan2').style.background = "#BFBFFF";
  document.getElementById('YetkiliCep2').style.background = "#BFBFFF";  
  document.getElementById('YetkiliEmail2').style.background = "#BFBFFF";  
  document.getElementById('Sahibi2').style.background = "transparent";
  document.getElementById('Ortak2').style.background = "transparent";
  document.getElementById('Diger2F').style.background = "transparent"; 
  document.getElementById('Asalet2').style.background = "transparent";
  document.getElementById('Vekalet2').style.background = "transparent";
  document.getElementById('Diger2S').style.background = "transparent"; 
  document.getElementById('randomf').style.background = "#BFBFFF"; 
  

  var telefon  
  var emailstr
  var info
  var infoTextRectangle	
  info = document.getElementById('infoarea1');
  infoTextRectangle = info.getBoundingClientRect();		
	
  if(!document.getElementById('FirmaAdi').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="Firma adı giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px";
	document.getElementById('FirmaAdi').style.background='#FF0000';	
	PageDown (infoTextRectangle.top)		
	return
  }
  
  if(!document.getElementById('FirmaAdr').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="Firma adresi giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('FirmaAdr').style.background='#FF0000';	
	PageDown (infoTextRectangle.top)		
	return
  }
  
  if(!document.getElementById('FirmaIlce').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="İlçe giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('FirmaIlce').style.background='#FF0000';
	PageDown (infoTextRectangle.top)			
	return
  }
  
  if(!document.getElementById('FirmaSehir').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="Şehir seçiniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('FirmaSehir').style.background='#FF0000';
	PageDown (infoTextRectangle.top)		
	return
  }
  
  if(!document.getElementById('FirmaTel1').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="Firma telefon numarası giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('FirmaTel1').style.background='#FF0000';
	PageDown (infoTextRectangle.top)		
	return
	
    }else{
		
	  telefon = document.getElementById('FirmaTel1').value		
	   if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="Firma telefonunu sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('FirmaTel1').style.background='#FF0000';	 
	   PageDown (infoTextRectangle.top)
	   return;
      }	  
	  
	  
	  
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('FirmaTel1').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"	
			 document.getElementById('FirmaTel1').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }
	}	
   
  if(!document.getElementById('FirmaTel2').value.match(/\S/)) {    
    }
    else  
    {  
	telefon = document.getElementById('FirmaTel2').value	
	if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="Firma telefonunu sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('FirmaTel2').style.background='#FF0000';	
	   PageDown (infoTextRectangle.top)
	   return;
      }	  
	
		
	    if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"	
		document.getElementById('FirmaTel2').style.background='#FF0000';
		PageDown (infoTextRectangle.top)	
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"
			 document.getElementById('FirmaTel2').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }  
    }
	
	
	if(!document.getElementById('FirmaTel3').value.match(/\S/)) {    
    }
    else  
    {  
	telefon = document.getElementById('FirmaTel3').value
	  if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="Firma telefonunu sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('FirmaTel3').style.background='#FF0000';	 
	   PageDown (infoTextRectangle.top)
	   return;
      }	  
			
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('FirmaTel3').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="Firma telefonunu alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"	
			 document.getElementById('FirmaTel3').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }  
    }	
	
///////////////////////////////////////////////////////////////////////////////////////

  if(!document.getElementById('FirmaFax').value.match(/\S/)) {    
    }
    else  
    {  
	telefon = document.getElementById('FirmaFax').value	
	  if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="Firma fax sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('FirmaFax').style.background='#FF0000';	
	   PageDown (infoTextRectangle.top) 
	   return;
      }	  
	
		
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="Firma fax numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('FirmaFax').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="Firma fax numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"
			 document.getElementById('FirmaFax').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }  
    }  
	
   
  if(!document.getElementById('FirmaGsm1').value.match(/\S/)) {    
    }
    else  
    {  
	telefon = document.getElementById('FirmaGsm1').value	
	 if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="Firma gsm sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('FirmaGsm1').style.background='#FF0000';	 
	   PageDown (infoTextRectangle.top)
	   return;
      }	  
	
		
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="Firma gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('FirmaGsm1').style.background='#FF0000';
		PageDown (infoTextRectangle.top)	
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="Firma gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"	
			 document.getElementById('FirmaGsm1').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }  
    }
	
	 
	if(!document.getElementById('VergiDaire').value.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="Vergi dairesi giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('VergiDaire').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
	}
  
    if(!document.getElementById('VergiNo').value.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="Vergi numarası giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('VergiNo').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
    }
	
	else{
	 telefon =document.getElementById('VergiNo').value
	 if (telefon.length < 10) { 
  		document.getElementById('infoarea1').innerHTML="Vergi numarası yanlış !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('VergiNo').style.background='#FF0000';
		PageDown (infoTextRectangle.top)
		return
	   } 	
	}
	
  
    emailstr = document.getElementById('FirmaEmail').value;
	emailstr =  emailstr.toLowerCase();	
	document.getElementById('FirmaEmail').value = emailstr;
	
	 
	
    if(!emailstr.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="Firma E-Mail giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('FirmaEmail').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
    }
	
      else {
			
      var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; 		       
      if (reg.test(emailstr) == false) {			 
		   document.getElementById('infoarea1').innerHTML="Firma E-Mail adresi geçerli değil !";
           document.getElementById('infoarea1').style.background='#FF0000';
	       document.getElementById('infoarea1').style.height = "22px"
	       document.getElementById('infoarea1').style.paddingTop = "6px"
		   document.getElementById('FirmaEmail').style.background='#FF0000';	
		   PageDown (infoTextRectangle.top)	
     	   return  		 	  
       }   
     }	
	
  
  
    if(!document.getElementById('YetkiliAd1').value.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="1. Derecede yetkili Adı / Soyadı giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('YetkiliAd1').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
    }
  
    if(!document.getElementById('YetkiliCep1').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="1. Yetkili gsm numarası giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('YetkiliCep1').style.background='#FF0000';	
	PageDown (infoTextRectangle.top)	
	return
	
    }else{
		
	  telefon = document.getElementById('YetkiliCep1').value
	  if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="1. Yetkili gsm  sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('YetkiliCep1').style.background='#FF0000';	
	   PageDown (infoTextRectangle.top)
	   return;
      }	  
	  
	  		
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="1. Yetkili gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('YetkiliCep1').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="1. Yetkili gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"
			 document.getElementById('YetkiliCep1').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }
	}	
  
  
     emailstr = document.getElementById('YetkiliEmail1').value;
	 emailstr =  emailstr.toLowerCase();	
	 document.getElementById('YetkiliEmail1').value = emailstr;
	
     if(!emailstr.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="1. Yetkili E-Mail giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('YetkiliEmail1').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
     }
	
      else {
			
      var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; 		       
      if (reg.test(emailstr) == false) {			 
		   document.getElementById('infoarea1').innerHTML="1. Yetkili E-Mail adresi geçerli değil !";
           document.getElementById('infoarea1').style.background='#FF0000';
	       document.getElementById('infoarea1').style.height = "22px"
	       document.getElementById('infoarea1').style.paddingTop = "6px"
		   document.getElementById('YetkiliEmail1').style.background='#FF0000';	
		   PageDown (infoTextRectangle.top)
     	   return  		 	  
       }   
     }	
	
  
        if (document.getElementById('Sahibi1').checked == false) { 
          if (document.getElementById('Ortak1').checked == false) {
       	   if (document.getElementById('Diger1F').checked == false) {
     		   document.getElementById('infoarea1').innerHTML="1. Derecede yetkilinin firma ilişkisini seçiniz !";
     		   document.getElementById('infoarea1').style.background='#FF0000';
	           document.getElementById('infoarea1').style.height = "22px"
	           document.getElementById('infoarea1').style.paddingTop = "6px"	
			   PageDown (infoTextRectangle.top)   
        	   return   
   	        }
          }
        } 
		
		 
		if (document.getElementById('Sahibi1').checked == true) { 
		    document.getElementById('iliski1').value = "Sahibi"	
		}
		if (document.getElementById('Ortak1').checked == true) { 
		    document.getElementById('iliski1').value = "Ortağı"	
		}		
		if (document.getElementById('Diger1F').checked == true) { 
		   document.getElementById('iliski1').value = "Diğer"	
		}		
		
		
		if (document.getElementById('Asalet1').checked == false) { 
          if (document.getElementById('Vekalet1').checked == false) {
       	   if (document.getElementById('Diger1S').checked == false) {
     		   document.getElementById('infoarea1').innerHTML="1. Derecede yetkilinin imza yetkisini seçiniz !";
     		   document.getElementById('infoarea1').style.background='#FF0000';
	           document.getElementById('infoarea1').style.height = "22px"
	           document.getElementById('infoarea1').style.paddingTop = "6px"	
			   PageDown (infoTextRectangle.top)	   
        	   return   
   	        }
          }
        } 
		
		if (document.getElementById('Asalet1').checked == true) { 
		    document.getElementById('imza1').value = "Asaleten"	
		}
		if (document.getElementById('Vekalet1').checked == true) { 
		    document.getElementById('imza1').value = "Vekaleten"	
		}		
		if (document.getElementById('Diger1S').checked == true) { 
		   document.getElementById('imza1').value = "Diğer"	
		}		
		
     document.getElementById('iliski2').value = "yok"
	 document.getElementById('imza2').value= "yok"	
	
		
    if(!document.getElementById('YetkiliAd2').value.match(/\S/)) {    
    }
    else  
    {    
    if(!document.getElementById('YetkiliAd2').value.match(/\S/)) {
	document.getElementById('infoarea1').innerHTML="2. Yetkili gsm numarası giriniz !";
	document.getElementById('infoarea1').style.background='#FF0000';
	document.getElementById('infoarea1').style.height = "22px"
	document.getElementById('infoarea1').style.paddingTop = "6px"
	document.getElementById('YetkiliAd2').style.background='#FF0000';	
	PageDown (infoTextRectangle.top)	
	return
	
    }else{
		
	  telefon = document.getElementById('YetkiliCep2').value	
	  if (isNaN(telefon) == true){	 
	   document.getElementById('infoarea1').innerHTML="2. Yetkili gsm sadece rakamlardan oluşmalıdır !";
       document.getElementById('infoarea1').style.background='#FF0000';
	   document.getElementById('infoarea1').style.height = "22px"
	   document.getElementById('infoarea1').style.paddingTop = "6px"
	   document.getElementById('YetkiliCep2').style.background='#FF0000';	
	   PageDown (infoTextRectangle.top) 
	   return;
      }	  
	  	
	  if (telefon.length < 10) { 
		document.getElementById('infoarea1').innerHTML="2. Yetkili gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"
		document.getElementById('YetkiliCep2').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)
		return
	   }
		else{
		telefon = telefon.substring(0,1)		 
		   if (telefon==0) { 
		     document.getElementById('infoarea1').innerHTML="2. Yetkili gsm numarasını alan kodu ile birlikte başında 0 olmadan giriniz !";
             document.getElementById('infoarea1').style.background='#FF0000';
	         document.getElementById('infoarea1').style.height = "22px"
	         document.getElementById('infoarea1').style.paddingTop = "6px"	
			 document.getElementById('YetkiliCep2').style.background='#FF0000';
			 PageDown (infoTextRectangle.top)
			 return 
		   }	
	    }
	}	
  
     emailstr = document.getElementById('YetkiliEmail2').value;
	 emailstr =  emailstr.toLowerCase();	
	 document.getElementById('YetkiliEmail2').value = emailstr;
	 
     if(!emailstr.match(/\S/)) {
	  document.getElementById('infoarea1').innerHTML="2. Yetkili E-Mail giriniz !";
	  document.getElementById('infoarea1').style.background='#FF0000';
	  document.getElementById('infoarea1').style.height = "22px"
	  document.getElementById('infoarea1').style.paddingTop = "6px"
	  document.getElementById('YetkiliEmail2').style.background='#FF0000';	
	  PageDown (infoTextRectangle.top)	
	  return
     }
	
      else {
			
      var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; 		       
      if (reg.test(emailstr) == false) {			 
		   document.getElementById('infoarea1').innerHTML="2. Yetkili E-Mail adresi geçerli değil !";
           document.getElementById('infoarea1').style.background='#990000';
		   document.getElementById('infoarea1').style.background='#FF0000';
	       document.getElementById('infoarea1').style.height = "22px"
	       document.getElementById('infoarea1').style.paddingTop = "6px"
		    document.getElementById('YetkiliEmail2').style.background='#FF0000';		
		   PageDown (infoTextRectangle.top)
     	   return  		 	  
       }   
     }	
	 
	 
	      if (document.getElementById('Sahibi2').checked == false) { 
          if (document.getElementById('Ortak2').checked == false) {
       	   if (document.getElementById('Diger2F').checked == false) {
     		   document.getElementById('infoarea1').innerHTML="2. Derecede yetkilinin firma ilişkisini seçiniz !";
     		   document.getElementById('infoarea1').style.background='#FF0000';
	           document.getElementById('infoarea1').style.height = "22px"
	           document.getElementById('infoarea1').style.paddingTop = "6px"	
			   PageDown (infoTextRectangle.top)   
        	   return   
   	        }
          }
        } 
		
		if (document.getElementById('Sahibi2').checked == true) { 
		    document.getElementById('iliski2').value = "Sahibi"	
		}
		if (document.getElementById('Ortak2').checked == true) { 
		    document.getElementById('iliski2').value = "Ortağı"	
		}		
		if (document.getElementById('Diger2F').checked == true) { 
		   document.getElementById('iliski2').value = "Diğer"	
		}		
		
		
		if (document.getElementById('Asalet2').checked == false) { 
          if (document.getElementById('Vekalet2').checked == false) {
       	   if (document.getElementById('Diger2S').checked == false) {
     		   document.getElementById('infoarea1').innerHTML="2. Derecede yetkilinin imza yetkisini seçiniz !";
     		   document.getElementById('infoarea1').style.background='#FF0000';
	           document.getElementById('infoarea1').style.height = "22px"
	           document.getElementById('infoarea1').style.paddingTop = "6px"	
			   PageDown (infoTextRectangle.top)
        	   return   
   	        }
          }
        } 
		
		if (document.getElementById('Asalet2').checked == true) { 
		    document.getElementById('imza2').value = "Asaleten"	
		}
		if (document.getElementById('Vekalet2').checked == true) { 
		    document.getElementById('imza2').value = "Vekaleten"	
		}		
		if (document.getElementById('Diger2S').checked == true) { 
		   document.getElementById('imza2').value = "Diğer"	
		}		 	 
	 
    }   
 
   var Random = document.getElementById('random').value
   var Randomf = document.getElementById('randomf').value
   
   Random = Random.toUpperCase();
   Randomf = Randomf.toUpperCase();   
    
	
   if(!Randomf.match(/\S/)) {
		document.getElementById('infoarea1').innerHTML="Güvenlik kodu giriniz !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px";
		document.getElementById('randomf').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)	
		return
	}
	
	if (Random != Randomf) { 
	    document.getElementById('infoarea1').innerHTML="Güvenlik kodu yanlış !";
        document.getElementById('infoarea1').style.background='#FF0000';
	    document.getElementById('infoarea1').style.height = "22px"
	    document.getElementById('infoarea1').style.paddingTop = "6px"	
		document.getElementById('randomf').style.background='#FF0000';	
		PageDown (infoTextRectangle.top)	
		return	
	} 	
	
	 document.getElementById('FormSend').disabled= true	
	 document.getElementById('butonsend').value = "Formu Gönder";	
	 document.getElementById('infoarea1').innerHTML=""	
	 document.getElementById('waitpage').style.display = "Block" 
   	 document.getElementById('butonsend').click()	    
 
} 
 
</script>
</body>
<body onload="TestMessage()">  
</html>
