function ajaxManager() {
	var args = ajaxManager.arguments;
	switch (args[0]) {
		case "load_page":
			if(document.getElementById) {
				var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
			}
			if(x) {
				x.onreadystatechange = function() {
					if(x.readyState == 4 && x.status == 200) {
						el = document.getElementById(args[2]);
						el.innerHTML = x.responseText;
					}
				}
				x.open("GET", args[1], true);
				x.send(null);
			}
			break;
		case "returnValue":
			var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
			if(x) {
				x.onreadystatechange = function() {
					if(x.readyState == 4 && x.status == 200) {
						return x.responseText;
					}
				}
				x.open("GET", args[1], true);
				x.send(null);
			}
			break;
		case "returnXML":
			var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
			if(x) {
				x.onreadystatechange = function() {
					if(x.readyState == 4 && x.status == 200) {
						return x.responseXML;
					}
				}
				x.open("GET", args[1], true);
				x.send(null);
			}
			break;
	}
}