<!--
function AJAX()
{
	this.http_request = false;
	//this.retstr = "";
	
	this.CreateXMLHttp = function()
	{
		var xmlhttp = false;
		if (window.XMLHttpRequest) { // Mozilla, Safari,...
			xmlhttp = new XMLHttpRequest();
		} else if (window.ActiveXObject) { // IE
			try {
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (e) {}
			}
		}
		if (!xmlhttp) {
			alert('Giving up :( Cannot create an XMLHTTP instance');
			return false;
		}
		return xmlhttp;
	}

	this.request = function(url) {
		//this.retstr= ""
		this.http_request = this.CreateXMLHttp();
		this.http_request.onreadystatechange = this.callback;
		this.http_request.open('GET', url, true);
		this.http_request.send(null);
		//return this.retstr;
	}

	this.callback = function() {}
	
	/*
	this.alertContents = function() {
		if (this.http_request.readyState == 4) {
			if (this.http_request.status == 200) {
				this.retstr = this.http_request.responseText;				
			}
			else
				alert('There was a problem with the request.');
		}
	}
	*/
}
//-->