	function yorumGonder(){
		var yorum = ajaxKarakter(document.getElementById("Yorum").value);
		var oyuncuId = document.getElementById("OyuncuId").value;
		if (BosGecme(document.getElementById("Yorum"),5,"Lütfen yorum girin!") == false){
			return false;
		}		
		bkmAjax('YorumEkle.asp?OyuncuId=' + oyuncuId + '&Yorum=' + yorum, 'yorum-sonuc');
		bkmAjax('OyuncuYorumlar.asp?OyuncuId=' + oyuncuId + '&Sayfa=1', 'oyuncuYorumlar');
		document.getElementById("Yorum").value = "";
	}
	
	function yorumSil(o,s,y){
		bkmAjax('YorumEkle.asp?OyuncuId=' + o + '&YorumId=' + y, 'islem');
		bkmAjax('OyuncuYorumlar.asp?OyuncuId=' + o + '&Sayfa=' + s, 'oyuncuYorumlar');
	}
	
	function yaziYorumSil(v,y,s){
		bkmAjax('YaziYorumEkle.asp?YaziId=' + v + '&YorumId=' + y, 'islem');
		bkmAjax('YaziYorumlar.asp?YaziId=' + v + '&Sayfa=' + s, 'yaziYorumlar');
	}
	
	function yaziYorumGonder(){
		var yorum = ajaxKarakter(document.getElementById("Yorum").value);
		var oyuncuId = document.getElementById("OyuncuId").value;
		var yaziId = document.getElementById("YaziId").value;
		if (BosGecme(document.getElementById("Yorum"),5,"Lütfen yorum girin!") == false){
			return false;
		}		
		bkmAjax('YaziYorumEkle.asp?OyuncuId=' + oyuncuId + '&YaziId=' + yaziId + '&Yorum=' + yorum, 'islem');
		bkmAjax('YaziYorumlar.asp?YaziId=' + yaziId + '&Sayfa=1', 'yaziYorumlar');
		document.getElementById("Yorum").value = "";
	}
	
	function yeniKontrol(){if (BosGecme(document.getElementById("Ad"),3,"Lütfen kategori adı girin!") == false){return false;}}
	
	function fotoKontrol(){
		if (BosGecme(document.getElementById("KatId"),1,"Lütfen kategori seçin!") == false){return false;}
		if (BosGecme(document.getElementById("Resim"),1,"Lütfen fotoğraf seçin!") == false){return false;}
	}
	
	function yeniYorum(){
		document.getElementById("yorum-sonuc").style.display = "none";
		document.getElementById("Yorum").value = "";
		document.getElementById("Yorum").focus();
	}
	
	function oyuncuFotoGoster(i){
		document.getElementById("kisiselBilgiler").style.display = "none";
		document.getElementById("videolar").style.display = "none";
		document.getElementById("yazilar").style.display = "none";
		bkmAjax('OyuncuFotolar.asp?OyuncuId=' + i + '&Sayfa=1', 'foto');
		document.getElementById("fotograflar").style.display = "block";
	}
	
	function oyuncuSkecGoster(i){
		document.getElementById("kisiselBilgiler").style.display = "none";
		document.getElementById("fotograflar").style.display = "none";
		document.getElementById("yazilar").style.display = "none";
		document.getElementById("videolar").style.display = "block";
		bkmAjax('OyuncuSkecler.asp?OyuncuId=' + i + '&Sayfa=1', 'videolar');
	}
	
	function oyuncuYorumGoster(){
		document.getElementById("fotograflar").style.display = "none";
		document.getElementById("videolar").style.display = "none";
		document.getElementById("yazilar").style.display = "block";
	}
	
	function yeniAc(){ document.getElementById("galeriEkle").style.display = "block"; }	
	function yeniKapat(){ document.getElementById("galeriEkle").style.display = "none"; }
	
	function kategoriKapat(){
		if (document.getElementById("kategorileriDuzenle").style.display == "none"){
			document.getElementById("kategorileriDuzenle").style.display = "block";
		} else {
			document.getElementById("kategorileriDuzenle").style.display = "none";
		}	
	}
	
	function fotoGetir(o,s){bkmAjax('OyuncuFotolar.asp?OyuncuId=' + o + '&Sayfa=' + s, 'foto');}
	
	function blogGetir(o,s){bkmAjax('OyuncuYazi.asp?OyuncuId=' + o + '&Sayfa=' + s, 'yazilar');}
