function flashYaz(adres,w,h,bg,tran,isim){
	document.writeln('<object id="'+isim+'" width="'+w+'" height="'+h+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">');
	document.writeln('<param name="movie" value="'+adres+'"><param name="wmode" value="'+tran+'"><param name="bgcolor" value="'+bg+'">');
	document.writeln('<embed name="'+isim+'" src="'+adres+'" width="'+w+'" height="'+h+'" wmode="' + tran + '" pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>');
	document.writeln('</object>');
}
function bannerKapat(){
	document.getElementById("divBanner").style.display="none";
}
function fnEnterKey(buttonToClick,calistir){ 
	if (event.keyCode == 13){ 
		event.cancelBubble = true; 
		event.returnValue = false;
		eval(calistir);
		//document.getElementById(buttonToClick).click(); 
	}
}
function renkD(obj,renk){
		//obj.bgColor=renk;
		obj.style.cursor="hand";
	}
	function renkDU(obj,renk){
		//obj.bgColor=renk;
		obj.style.cursor="hand";
	}
function mailCtrl_v2(mail){
		var filter=/^.+@.+\..{2,3}$/
		var hataVar=0
			
		if (filter.test(mail)) {
			if(mail.indexOf('ý')>0){hataVar=1;}
			else if(mail.indexOf('Ý')>0){hataVar=1;}
			else if(mail.indexOf('þ')>0){hataVar=1;}
			else if(mail.indexOf('Þ')>0){hataVar=1;}
			else if(mail.indexOf('ð')>0){hataVar=1;}
			else if(mail.indexOf('Ð')>0){hataVar=1;}
			else if(mail.indexOf('ü')>0){hataVar=1;}
			else if(mail.indexOf('Ü')>0){hataVar=1;}
			else if(mail.indexOf('ö')>0){hataVar=1;}
			else if(mail.indexOf('Ö')>0){hataVar=1;}
			else if(mail.indexOf('ç')>0){hataVar=1;}
			else if(mail.indexOf('Ç')>0){hataVar=1;}
			if(hataVar==0){
				return true;
			}else{
				return false;
			}
		}else{
        return false;
    }
}
var eskiResimTut = "";
function anaResimDegis(yeniResim){
	var obj = document.getElementById("imgAnaResim");
	if(obj){
		obj.src = yeniResim;
	}
}
function anaResimClear(){
	var obj = document.getElementById("imgAnaResim");
	if(obj){
		obj.src = eskiResimTut;
	}
}