function getData() {
	var xhr = false;
	if (window.XMLHttpRequest) {
		xhr = new XMLHttpRequest();
	} else if (window.ActiveXObject) {
		try {
			xhr = new ActiveXObject("Msxml2.XMLHTTP");
		} catch(e) {
			try {
				xhr = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) {
				xhr = false;
			}
		}
	}
	if(xhr) {
		xhr.onreadystatechange = function() {
			parseResponse(xhr);
		};
		xhr.open("GET", "somescript.php", true);
		xhr.send(null);
		document.getElementById("datacontainer").innerHTML = "...loading...";
		return true;
	} else {
		return false;
	}
}
function debugme(){
	document.getElementById("debug").innerHTML = 'hallo this';
}
function parseResponse(request) {
	if (request.readyState == 4) {
		if (request.status == 200 || request.status == 304) {
			var ob = document.getElementById("datacontainer").innerHTML = request.responseText;
		}
	}
}