// Sayfalama dropdown fonksiyon
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->

// Popup pencere kodlari
<!--
var win=null;
function yazpendow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
//--> 

//____________________________________________________________

//Hucre zemin rengi degistirme kodlari cift hucre
var SecilmisKimlikTanimi1 = null;
var SecilmisKimlikTanimi2 = null; 
var KimlikDegeri = document.getElementById; 

function UsttuRenkle(KimlikTanimi1,KimlikTanimi2,YeniClass1,YeniClass2) { 
	if (KimlikDegeri) { 
	if(SecilmisKimlikTanimi1 != KimlikTanimi1 && SecilmisKimlikTanimi2 != KimlikTanimi2) { 
		TamamlanmisKimlik1 = document.getElementById(KimlikTanimi1); 
		TamamlanmisKimlik2 = document.getElementById(KimlikTanimi2);
		TamamlanmisKimlik1.className = YeniClass1; 
		TamamlanmisKimlik2.className = YeniClass2; 
		TamamlanmisKimlik1.style.cursor = "hand"; 
		TamamlanmisKimlik1.style.cursor = "pointer";
		TamamlanmisKimlik2.style.cursor = "hand"; 
		TamamlanmisKimlik2.style.cursor = "pointer";
		} 
	} 
} 

function Basildi(KimlikTanimi1,KimlikTanimi2,EskiClass1,EskiClass2,YeniClass1,YeniClass2){ 
	if (KimlikDegeri) { 
	if(SecilmisKimlikTanimi1 != null && SecilmisKimlikTanimi2 != null) { 
		document.getElementById(SecilmisKimlikTanimi1).className = EskiClass1; 
		document.getElementById(SecilmisKimlikTanimi2).className = EskiClass2; 
	} 
	TamamlanmisKimlik1.className = YeniClass1; 
	TamamlanmisKimlik2.className = YeniClass2; 
	SecilmisKimlikTanimi1 = KimlikTanimi1; 
	SecilmisKimlikTanimi2 = KimlikTanimi2; 
	} 
} 

//oyuncu_detay.asp hucre zemin rengi degistirme kodlari tek hucre

function UsttuRenklee(KimlikTanimi1,YeniClass1) { 
	if (KimlikDegeri) { 
	if(SecilmisKimlikTanimi1 != KimlikTanimi1) { 
		TamamlanmisKimlik1 = document.getElementById(KimlikTanimi1); 
		TamamlanmisKimlik1.className = YeniClass1; 
		TamamlanmisKimlik1.style.cursor = "hand"; 
		TamamlanmisKimlik1.style.cursor = "pointer";
		} 
	} 
} 

function Basildii(KimlikTanimi1,EskiClass1,YeniClass1){ 
	if (KimlikDegeri) { 
	if(SecilmisKimlikTanimi1 != null) { 
		document.getElementById(SecilmisKimlikTanimi1).className = EskiClass1; 
	} 
	TamamlanmisKimlik1.className = YeniClass1; 
	SecilmisKimlikTanimi1 = KimlikTanimi1; 
	document.getElementById('kisi_harfi_gizli_deger').value=KimlikTanimi1;
	} 
} 

//genel hucre zemin rengi degistirme kodlari tek hucre
var belirlenen_obje_id = null;
var html_id_degeri = document.getElementById; 

function UstClassDegisimi(gelen_id,obje_ust_class) { 
	if (html_id_degeri) { 
	if(belirlenen_obje_id != gelen_id) { 
		obje_id_tanimla = document.getElementById(gelen_id); 
		obje_id_tanimla.className = obje_ust_class; 
		obje_id_tanimla.style.cursor = "hand"; 
		obje_id_tanimla.style.cursor = "pointer";
		} 
	} 
} 

function BasilanClassDegisimi(gelen_id,obje_html_class,obje_ust_class){ 
	if (html_id_degeri) { 
	if(belirlenen_obje_id != null) { 
		document.getElementById(belirlenen_obje_id).className = obje_html_class; 
	} 
	obje_id_tanimla.className = obje_ust_class; 
	belirlenen_obje_id = gelen_id; 
	} 
} 

// Popup pencere kodlari
function poppen(URL,eni,boyu,scrollbars,statusbar) {
	var day = new Date();
	var id = day.getTime();
	var soldan = (window.screen.width-eni)/2; 
	var ustten = (window.screen.height-boyu)/2;
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars="+scrollbars+",location=0,statusbar="+statusbar+",menubar=0,resizable=0,width="+eni+",height="+boyu+",left = "+soldan+",top = "+ustten+"');");
}

//yazdirma kodlari
function yazdir_bakim(id,kaldir,tablo_gen,eni,boyu,scrollbars,statusbar,baslik){
	if (navigator.appVersion.indexOf("MSIE") != -1 || navigator.userAgent.indexOf("Firefox")!=-1){
		var veri=document.getElementById(id).innerHTML
		var soldan = (window.screen.width-eni)/2; 
		var ustten = (window.screen.height-boyu)/2;
		yazpen=window.open('','printwin','left='+soldan+',top='+ustten+',width='+eni+',height='+boyu+',toolbar=0,scrollbars='+scrollbars+',location=0,statusbar='+statusbar+',menubar=0,resizable=0')
		yazpen.document.write('<html>\n<head>\n')
		yazpen.document.write('<title>'+baslik+'</title>\n')
		yazpen.document.write('<script>\n')
		
		yazpen.document.write('  function getElementByAttribute(aAttribute,aValue,aInElement){ \n')
		yazpen.document.write('	  var ElementVerifier; \n')
		yazpen.document.write('	  var Elements=new Array(); \n')
		yazpen.document.write('		  function SearchElement(aElement){ \n')
		yazpen.document.write('			  if(aElement==null||aElement==undefined)return \n')
		yazpen.document.write('			  if(ElementVerifier(aElement)){ \n') 
		yazpen.document.write('				  Elements[Elements.length]=aElement; \n')
		yazpen.document.write('				} \n')
		yazpen.document.write('				SearchElement(aElement.firstChild); \n')
		yazpen.document.write('				SearchElement(aElement.nextSibling); \n')
		yazpen.document.write('			} \n')
		yazpen.document.write('		if(aInElement==undefined)aInElement=document.body; \n')
		yazpen.document.write('		str="if(Element.\"+aAttribute+"\==\'"+aValue+"\'){return true;}else{return false}"; \n')
		yazpen.document.write('		ElementVerifier=function(aElement){ \n')
		yazpen.document.write('		  Element=aElement; \n')
		yazpen.document.write('			if(aElement.nodeName=="#text")return false; \n')
		yazpen.document.write('			var E=new Function(str); \n')
		yazpen.document.write('			if(E()){return true;}else{return false}; \n')
		yazpen.document.write('		} \n')
		yazpen.document.write('		SearchElement(aInElement); \n')
		yazpen.document.write('		return Elements; \n')
		yazpen.document.write(' } \n')
		
		yazpen.document.write('	function showDown(evt) { \n')
		yazpen.document.write('		evt = (evt) ? evt : ((event) ? event : null); \n')
		yazpen.document.write('		if (evt){ \n')
		yazpen.document.write('	if(evt.keyCode==116 || evt.keyCode==122){ \n')
		yazpen.document.write('		cancelKey(evt); \n')
		//yazpen.document.write('		alert ("Sayfa tazelenemez, lütfen pencereyi kapatıp işlemi tekrarlayınız!     ");}} \n')
		yazpen.document.write('	}} \n')
		yazpen.document.write('	} \n')
		yazpen.document.write('	function cancelKey(evt) { \n')
		yazpen.document.write('		if (evt.preventDefault) { \n')
		yazpen.document.write('			evt.preventDefault(); \n')
		yazpen.document.write('			return false;} \n')
		yazpen.document.write('		else { \n')
		yazpen.document.write('			evt.keyCode = 0; \n')
		yazpen.document.write('			evt.returnValue = false;} \n')
		yazpen.document.write('	} \n')
		yazpen.document.write('		if (navigator.appName=="Netscape") { \n')
		yazpen.document.write('			document.addEventListener("keypress",showDown,true);} \n')
		yazpen.document.write('			document.onkeydown = showDown; \n')
		
		yazpen.document.write('function LinklerPasif(){ \n')
		yazpen.document.write('	function Tablo_OnclickPasif(){ \n')
		yazpen.document.write('		var Tablo_TagTanim = document.getElementsByTagName("table"); \n')
		yazpen.document.write('		var Tablo_TagToplam = Tablo_TagTanim.length;\n')
		yazpen.document.write('			for(var p=0; p < Tablo_TagToplam; p++){ \n')
		yazpen.document.write('				Tablo_TagTanim[p].onclick=""; \n')
		yazpen.document.write('				Tablo_TagTanim[p].onmouseover=""; \n')
		yazpen.document.write('				Tablo_TagTanim[p].onmouseout=""; \n')
		yazpen.document.write('				Tablo_TagTanim[p].style.cursor="default"; \n')
		yazpen.document.write('				Tablo_TagTanim[p].removeAttribute("onclick"); \n') 
		yazpen.document.write('				Tablo_TagTanim[p].removeAttribute("title"); \n') 
		yazpen.document.write('				Tablo_TagTanim[p].removeAttribute("onmouseover"); \n') 
		yazpen.document.write('				Tablo_TagTanim[p].removeAttribute("onmouseout"); \n') 
		yazpen.document.write('				if(Tablo_TagTanim[p].className=="Gizlenmis"){ \n')
		yazpen.document.write('					Tablo_TagTanim[p].className="Gosterildi"}; \n') 
		yazpen.document.write('			} \n')
		yazpen.document.write('		TR_OnclickPasif(); \n')
		yazpen.document.write('	} \n')
		
		yazpen.document.write('	function TR_OnclickPasif(){ \n')
		yazpen.document.write('		var TR_TagTanim = document.getElementsByTagName("tr"); \n')
		yazpen.document.write('		var TR_TagToplam = TR_TagTanim.length;\n')
		yazpen.document.write('			for(var j=0; j < TR_TagToplam; j++){ \n')
		yazpen.document.write('				TR_TagTanim[j].onclick=""; \n')
		yazpen.document.write('				TR_TagTanim[j].onmouseover=""; \n')
		yazpen.document.write('				TR_TagTanim[j].onmouseout=""; \n')
		yazpen.document.write('				TR_TagTanim[j].style.cursor="default"; \n')
		yazpen.document.write('				TR_TagTanim[j].removeAttribute("onclick"); \n') 
		yazpen.document.write('				TR_TagTanim[j].removeAttribute("title"); \n') 
		yazpen.document.write('				TR_TagTanim[j].removeAttribute("onmouseover"); \n') 
		yazpen.document.write('				TR_TagTanim[j].removeAttribute("onmouseout"); \n') 
		yazpen.document.write('				if(TR_TagTanim[j].className=="Gizlenmis"){ \n')
		yazpen.document.write('					TR_TagTanim[j].className="Gosterildi"}; \n') 
		yazpen.document.write('			} \n')
		yazpen.document.write('		TD_OnclickPasif(); \n')
		yazpen.document.write('	} \n')
			
		yazpen.document.write('	function TD_OnclickPasif(){ \n')
		yazpen.document.write('		var TD_TagTanim = document.getElementsByTagName("td"); \n')
		yazpen.document.write('		var TD_TagToplam = TD_TagTanim.length; \n')
		yazpen.document.write('			for(var s=0; s < TD_TagToplam; s++){ \n')
		yazpen.document.write('				TD_TagTanim[s].onclick=""; \n')
		yazpen.document.write('				TD_TagTanim[s].onmouseover=""; \n')
		yazpen.document.write('				TD_TagTanim[s].onmouseout=""; \n') 
		yazpen.document.write('				TD_TagTanim[s].style.cursor="default"; \n')
		yazpen.document.write('				TD_TagTanim[s].removeAttribute("onclick"); \n')
		yazpen.document.write('				TD_TagTanim[s].removeAttribute("title"); \n')
		yazpen.document.write('				TD_TagTanim[s].removeAttribute("onmouseover"); \n') 
		yazpen.document.write('				TD_TagTanim[s].removeAttribute("onmouseout"); \n') 
		yazpen.document.write('				if(TD_TagTanim[s].className=="Gizlenmis"){ \n')
		yazpen.document.write('					TD_TagTanim[s].className="Gosterildi"}; \n') 
		yazpen.document.write('			} \n')
		yazpen.document.write('		A_HrefPasif(); \n')
		yazpen.document.write('	} \n')
			
		yazpen.document.write('	function A_HrefPasif(){ \n')
		yazpen.document.write('		var A_TagTanim = document.getElementsByTagName("a"); \n')
		yazpen.document.write('		var A_TagToplam = A_TagTanim.length; \n')
		yazpen.document.write('			for(var g=0; g < A_TagToplam; g++){ \n')
		yazpen.document.write('				A_TagTanim[g].removeAttribute("href"); \n')
		yazpen.document.write('				A_TagTanim[g].removeAttribute("title"); \n')
		yazpen.document.write('				A_TagTanim[g].style.cursor="default"; \n')
		yazpen.document.write('			} \n')
		yazpen.document.write('		KaldirId(); \n')
		yazpen.document.write('	} \n')
		yazpen.document.write('	Tablo_OnclickPasif(); \n')
		yazpen.document.write('	return true; \n')
		yazpen.document.write('} \n')
		
		yazpen.document.write('function print_win(){\n')
		yazpen.document.write('var tabloUzunlugu=document.getElementById("KapsamTablo").offsetHeight; \n')
		yazpen.document.write('		if(tabloUzunlugu>'+boyu+'){ \n')
		yazpen.document.write('			document.getElementById("HucreBaslik").height=20; \n')
		yazpen.document.write('		}else{ \n')
		yazpen.document.write('			document.getElementById("HucreBaslik").height=30; \n')
		yazpen.document.write('		} \n')
		yazpen.document.write('var TabloUzunluguToplam =tabloUzunlugu+74  \n')
		yazpen.document.write(' if(tabloUzunlugu<'+boyu+'){\n')
		yazpen.document.write('		window.resizeTo('+eni+',TabloUzunluguToplam) \n')
		yazpen.document.write('		window.moveTo(((window.screen.width-'+eni+')/2),((window.screen.height-TabloUzunluguToplam)/2))\n')
		yazpen.document.write('	} \n')
		yazpen.document.write(' else if(tabloUzunlugu>'+boyu+'){\n')
		yazpen.document.write('		window.resizeTo('+eni+',660) \n')
		yazpen.document.write('		window.moveTo(((window.screen.width-'+eni+')/2),((window.screen.height-660)/2))\n')
		yazpen.document.write('	} \n')
		yazpen.document.write('document.getElementById("kaplayici").style.display="none" \n');
		yazpen.document.write('document.getElementById("kaplayici").style.visibility="hidden"; \n');
		yazpen.document.write('document.body.style.overflow="auto"; \n');
		
		yazpen.document.write('	if(confirm("Seçim yapılan verileri yazıcıdan direk çıktı almak için bu uyarıya olumlu yanıt veriniz!     \\n\\nIf you want print this page, please confirm!\\n    ")){ \n'); 
		yazpen.document.write('		window.print(); \n');
		yazpen.document.write('	} \n');
		yazpen.document.write('	else { \n');
		yazpen.document.write('		return false; \n');
		yazpen.document.write('		} \n');
		yazpen.document.write('}\n')
		
		yazpen.document.write('function KaldirId(){\n')
		yazpen.document.write('foundElements=getElementByAttribute("id","'+kaldir+'");\n')
		yazpen.document.write('for(var i=0; i<foundElements.length; i++){\n')
		yazpen.document.write('foundElements[i].parentNode.removeChild(foundElements[i]);\n')
		yazpen.document.write('}\n')
		yazpen.document.write('print_win();\n')
		yazpen.document.write('}\n')
		
		yazpen.document.write('var mesaj="Sayfadaki bilgileri kopyalamak için alanı fare - mouse - yardımı ile tarayıp, işletim sisteminizin klavye kısayolunu kullanarak verileri kopyalayabilirsiniz. (Örnek : CTRL + C)     \\n\\nIf you want copy contents scan page with mouse and copy with (Ctrl + C) shortcut then contens can paste anywhere!     \\n"; \n')
		yazpen.document.write('function clickIE4(){if (event.button==2){alert(mesaj);return false;}} \n')
		yazpen.document.write('function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(mesaj); return false;}}} \n')
		yazpen.document.write('if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;} \n')
		yazpen.document.write('document.oncontextmenu=new Function("alert(mesaj); return false") \n')
		
		yazpen.document.write('window.onerror = function() { return true; } \n')
		
		yazpen.document.write('<\/script>\n')
		
		yazpen.document.write('<link rel="stylesheet" type="text/css" href="css/site.css" />\n')
		yazpen.document.write('</head>\n')
		yazpen.document.write('<body onload="LinklerPasif();" style="overflow: hidden; background-color:#FFF">\n')
		yazpen.document.write('<div id="kaplayici" style=" width:'+eni+"px"+'; height:'+boyu+"px"+'; visibility:visible; position:absolute; left:0px; top:0px; z-index: 999; background-color: #FFFFFF; cursor:default; display:block; text-align:right; padding-top:6px"><img src="imaj/yukleniyor.gif" alt="" width="40" height="40" align="absmiddle" />yazıcı çıktısı hazırlanıyor / print is prepearing...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>\n')
		
		yazpen.document.write('<table width='+tablo_gen+' border="0" cellspacing="0" cellpadding="0" align="center" id="KapsamTablo">\n')
		yazpen.document.write('<tr>\n')
		yazpen.document.write('<td valign="top">\n')
		yazpen.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">\n')
		yazpen.document.write('<tr>\n')
		yazpen.document.write('<td id="HucreBaslik" align="left" valign="bottom" height="20" style="font-weight:bold; font-size:11px; padding-bottom:2px;">&nbsp;</td>\n')
		yazpen.document.write('</tr>\n')
		yazpen.document.write('<tr>\n')
		yazpen.document.write('<td align="center">\n')
		yazpen.document.write(veri)
		yazpen.document.write('</td>\n')
		yazpen.document.write('</tr>\n')
		yazpen.document.write('<tr>\n')
		yazpen.document.write('<td align="right" valign="top" height="24" style="padding-top:2px; font-weight:bold;">Turkish Basketball Federation <span style="font-weight:normal">http://www.tbf.org.tr</span> \n')
		yazpen.document.write('</td>\n')
		yazpen.document.write('</tr>\n')
		yazpen.document.write('</table>\n')
		yazpen.document.write('</td>\n')
		yazpen.document.write('</tr>\n')
		yazpen.document.write('</table>\n')
		yazpen.document.write('</body>\n')
		yazpen.document.write('</html>\n')
		yazpen.document.close()
	} else {
		alert('Yazdırma işlemi sadece Internet Explorer (IE) veya Firefox web tarayıcıları ile sağlanmaktadır. Eğer işletim sisteminizde bu programlardan herhangi biri kurulu değilse Firefox web tarayıcını http://www.firefox.com adresinden her platform için ücretsiz olarak edinebilirsiniz !     ')
	}
}
//-->





