function XMLLoader(url, onLoadFunction, method, postData)
{
	var cacheKiller = new Date().getTime();
	this.url = (url) ? url + "?timeid=" + cacheKiller : null;
	this.onLoadFunction = (onLoadFunction) ? onLoadFunction : null;
	this.method = (method) ? method :"GET";
	this.postData = (postData) ? postData : null;
	var self = this;
	var xmlRequest = (window.XMLHttpRequest) ? new XMLHttpRequest(): (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : null;
	xmlRequest.onreadystatechange = function()
	{
		if(xmlRequest.readyState == 4)
		{
			if (xmlRequest.status == 200)
			{
				self.xmlRequest = xmlRequest;
				self.onLoadFunction(xmlRequest);
			}
			else alert("There was a problem retrieving the XML data:\n" + xmlRequest.statusText); 
		}
	}
	xmlRequest.open(this.method, url, true);
    xmlRequest.send(this.postData);
}
