var xmlHttp;
function XmlExecute(Url,FunctionExecute,FunctionQuery){
	xmlHttp = GetXmlHttpObject();
	if(xmlHttp == null){
		alert("Browserınız HTTP Request'i Desteklemiyor.");
		return
	}

	xmlHttp.onreadystatechange = function(){ FunctionExecute(FunctionQuery); }
	xmlHttp.open("GET", Url, true);
	xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=ISO-8859-9");
	xmlHttp.send(null);
}

function GetXmlHttpObject(){
	var objxmlhttp = false;
	try	{
		objxmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
	}
	catch (e){
		try	{
			objxmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
		}
		catch (e){
			objxmlhttp = false;
		}
	}
	if (!objxmlhttp && typeof XMLHttpRequest != 'undefined'){
		objxmlhttp = new XMLHttpRequest();
	}
	return objxmlhttp;
}