function valid_foglalas(){
	
}

function foglalastimer(){
	axfoglalas()
	setTimeout("foglalastimer()",100);
}

function axfoglalas()
{
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  
  
  xmlHttp.onreadystatechange=function()
    {
	
	if(xmlHttp.readyState==1){
	  //document.kep.style.display="inline";
	  //document.kep.src="1-0.gif";
	  //document.myForm.time.value='Loading...';
	  	//document.getElementById("tdmsg").innerHTML="loading";
	}
	
    if(xmlHttp.readyState==4)
      {
		document.getElementById('foglalasok').innerHTML = xmlHttp.responseText;
      }
    }
  xmlHttp.open("GET","ax/foglalas.php?id=" + document.myform.hid.value,true);
  xmlHttp.send(null);
  }
