function hetkeleetris (file,time,charset) {
	load_hetkeleetris(file,charset);
	x = setInterval ( "load_hetkeleetris('"+file+"','"+charset+"')", time*1000);
}
function load_hetkeleetris (file,charset)
{
	var http = false;
	if(navigator.appName == "Microsoft Internet Explorer") {
	  http = new ActiveXObject("Microsoft.XMLHTTP");
	} else {
	  http = new XMLHttpRequest();
	} 
	  http.open("GET", "hetkeleetris.php?file="+file+"&charset="+charset);
	  http.setRequestHeader("Content-Type", "text/plain; charset="+charset);
	  http.onreadystatechange=function() {
	    if(http.readyState == 4) {
	      document.getElementById('hetkeleetris').innerHTML = http.responseText;
	    }
	  }
	  http.send(null);
}
