function ajax_init() {
	var xmlHttp;
	try {
		xmlHttp = new XMLHttpRequest();
	}
	catch (e) {
		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;
			}
		}
	}
	return xmlHttp;
}

function ajax_request(xmlHttp, request_uri, result_target) {
	xmlHttp.open("GET", request_uri, true);
	xmlHttp.onreadystatechange = function() {
		if(xmlHttp.readyState == 4) {
			result_target.innerHTML = xmlHttp.responseText;
		}
	}
	xmlHttp.send(null);
}