
var dom_implementation = document.implementation && true;
var dom_cerate_document = dom_implementation && document.implementation.createDocument;
var dom_feature = dom_implementation && document.implementation.hasFeature;
var moz = dom_cerate_document && dom_feature;
var safari = (navigator.userAgent && navigator.vendor && (navigator.userAgent.toLowerCase().indexOf("applewebkit") != -1 || navigator.vendor.indexOf("Apple") != -1));
var ie = document.all && window.ActiveXObject && navigator.userAgent.toLowerCase().indexOf("msie") > -1  && navigator.userAgent.toLowerCase().indexOf("opera") == -1;
var nn4 = (navigator.appName.indexOf("Netscape") > -1 && navigator.appVersion.indexOf("4") > -1) ? true:false                 
var nn6 = (document.getElementById) ? true:false


function popwindow_ac(sayfa){
	var neziroglu_pop; 
	neziroglu_pop = window.open('/pop-up.php?sayfa='+sayfa,'neziroglu_pop','scrollbars=yes,width=630,height=580'); if(neziroglu_pop) neziroglu_pop.focus();
	//return true; 
}

function nezir_pop2window_ac(sayfa){
	var neziroglu_pop; 
	neziroglu_pop = window.open('http://www.neziroglu.com.tr/pop-up2.php?sayfa='+sayfa,'neziroglu_pop','scrollbars=yes,width=400,height=350'); if(neziroglu_pop) neziroglu_pop.focus();
	//return true; 
}

function popwindow_ac_resim_detay(sayfa){
	var neziroglu_pop_resim; 
	neziroglu_pop_resim = window.open(sayfa,'neziroglu_pop_resim','scrollbars=no'); if(neziroglu_pop_resim) neziroglu_pop_resim.focus();
	//return true; 
}

function window_ac(sayfa){
	window.open(sayfa);
	//return true; 
}

function sayi_kontrol (o)	
{
      if ((event.keyCode < 48) || (event.keyCode > 57)) 
	{
        event.returnValue = false;
	} 
}                                       

function bosluk_testleri_mail_list(f)
{

	if (f.email.value=="")
	 {
			 alert("Lütfen Email Adresinizi Giriniz...");
			 f.email.focus();
			 return false;
	 }
	 if (f.email.value != "")
	 {
		if ((f.email.value.indexOf ('@') == -1) || (f.email.value.indexOf ('.') == -1))
			{
			 alert("Lütfen Geçerli Bir Mail Adresi Giriniz...");
			 f.email.focus();
			  return false;
			}  
	}		  
} 
