///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// JS : Dynamically created by source4Cms : Last Update : 24.10.2009 - 15:08:25
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function contactformKontrol(form) 
{ 
   var aa=document.contactform.email
		
	 patternEposta   = "^"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"@"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"[\.]"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"$"; 
           
        if ( !regKontrol(patternEposta,form.value)) 
     { 
          alert("Lütfen Geçerli Bir E-posta Adresi Giriniz."); 
         
          aa.focus(); 
          return false; 
     } 
     return true; 
} 





// Mail Control

function regKontrol(pattern, value) 
{ 
   r = new RegExp(pattern, "g"); 
   return r.test(value); 
} 



function careerformKontrol(form) 
{ 
   var aa=document.jobapplicationform.email
		
	 patternEposta   = "^"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"@"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"[\.]"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_\.\-]+)"+"$"; 
           
        if ( !regKontrol(patternEposta,form.value)) 
     { 
          alert("Lütfen Geçerli Bir E-posta Adresi Giriniz."); 
         
          aa.focus(); 
          return false; 
     } 
     return true; 
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


function divAc1(a,b)


{
	
 {
     document.getElementById(b).style.display="none";
 } 
	
   document.getElementById(a).style.display = "block";
	
}

///////////////////////////////////////////////////////////////////////////////


function divAc2(a,b)


{

 {
 
 document.getElementById(b).style.display="none";
 
 } 
	
   document.getElementById(a).style.display = "block";
	
}

/////////////////////////////////////////////////////////////////////////////////////////

function corporate(id)

{
//alert(id);	

divler=["hakkimizda","sirketler","kalite","cevre"];
for (var i=0;i<divler.length;i++)	
{
	//alert(divler[i]);
document.getElementById(divler[i]).style.display="none";
document.getElementById(id).style.display="block";
}
}

/////////////////////////////////////////////////////
function imgover(imgname){
alert("test");
//imgname.src = "arrow.gif"; 
}
//function imgout(imgname){
//imgname.src = "blank.gif"
//}

