	function meretez(i)
	{
	 	y = document.body.clientHeight;
		
		if (y-i > 0)
		{
		  document.getElementById("kitolt").style.height = y-i;
		}
		else
		{
		 document.getElementById("kitolt").style.height = "auto";
		}
	}
	
	function ujablak(kepnev,w,h)
	{
		 win = window.open("kep.html","newwin","scrollbars=0, width="+w+",height="+h);
		 win.document.write("<html><body style='margin:0;padding:0'>");
		 win.document.write("<a href='javascript:window.close();'><img src='../pict/" + kepnev + "' alt='Bezáráshoz kattintson a képre!' border='0'></a>");
		 win.document.write("</body></html>");		 
		 win.moveTo(50,50);		
	}
	
	
function newwin_max()
{
  win = window.open("https://193.225.15.254","newwin","resizable=1,scrollbar=yes,width=" + screen.availWidth + ",height=" + screen.availHeight);
  //window.moveTo(0,0); 
  //window.resizeTo(screen.width,screen.height);
}

function newwin(path,w,h)
{
 win = window.open(path ,"about","scrollbars=yes,resizable=1,width=" + w + ",height=" + h);
 win.moveTo(0,0);
 win.document.title="Gyakran ismételt kérdések";
}
 

function bno_torol(form)
{
	//alert(form.kod.value);
	
	if(form.name == "kodkeres")
	{
		
		//window.location.search = "";
		form.kod.value = "";
		alert(form.kod.value);

	}
	else  if(form.name == "nevkeres")
	{
		form.szo1.value = "";
		form.szo2.value = "";
		form.szo3.value = "";
	}

}


