function fuckie() {
	var fuckie_var=Math.round(Math.random()*100000);
	return "fuckie=" + fuckie_var;
}

function Ajax(Request_String) {
	//alert(Request_String);
	var xmlHttp;
	try  { xmlHttp=new XMLHttpRequest(); }
	catch (e)  { 
		try  { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); }
		catch (e)  { alert("A böngésző nem támogatja az AJAXot!"); return false; }
		}
	xmlHttp.open("POST",Request_String,true);
	xmlHttp.send(null);
	return xmlHttp;
	}

function AjaxPHP(Layer_name,Request_File,Parameter)	{
	var Request_String = Request_File + "?" + fuckie() + "&" + Parameter;
	//alert(Request_String);
	var xmlHttp = Ajax(Request_String);
	
	xmlHttp.onreadystatechange=function()	{
		if (xmlHttp.readyState==4)  {
			document.getElementById(Layer_name).innerHTML = xmlHttp.responseText;
			//alert(xmlHttp.responseText);
		}
	}
}
