function PuanVer(nu,puan,kat){
	var sc="tip=yazioy&oy="+puan+"&nu="+nu+"&kat="+kat;
	JXP(1, "puan_div", "index.php?ivmele=servis&islem=puanver", sc);
	fizikciyizNesnekapat('puan_goster_div');
}

function OyunYukleKapat(){
var x=document.getElementById('HTOyunYukleniyor').style;
var y=document.getElementById('HTOyunYuklendi').style;
	if(x.display=='block'){
		x.display='none';
		y.display='block';
	}else{
		x.display='block';
		y.display='none';
	}
}

function ResizeImage(image, maxwidth, maxheight)
{
	if (image.className == "kucult")
	{
		w = image.width;
		h = image.height;
		if( w == 0 || h == 0 )
		{
			image.width = maxwidth;
			image.height = maxheight;
		}
		else if (w > h)
		{
			if (w > maxwidth) image.width = maxwidth;
		}
		else
		{
			if (h > maxheight) image.height = maxheight;
		}
		image.className = "kucultulmuslResim";
	}
}

