function SendRequest(url, callback, body)
{
	var xmlhttp;
	if (typeof XMLHttpRequest != 'undefined') 
		xmlhttp = new XMLHttpRequest();
	else 
		try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } 
		catch (e) { try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) {}}

	xmlhttp.open(body ? "POST" : "GET", url, true);
	if (body)
	{
		xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlhttp.setRequestHeader('Content-length', body.length);
	}
	xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4) callback(eval('(' + xmlhttp.responseText + ')')); }
	xmlhttp.send(body || "");
}
