function createXmlFHttp() {
	var xmlHttpObj = false;
	// Mozilla, Opera, Safari sowie Internet Explorer 7
	if (typeof XMLHttpRequest != 'undefined') {
		xmlHttpObj = new XMLHttpRequest();
	}
	if (!xmlHttpObj) {
		// Internet Explorer 6 und älter
		try {
			xmlHttpObj  = new ActiveXObject("Msxml2.XMLHTTP");
		} catch(e) {
			try {
				xmlHttpObj  = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) {
				xmlHttpObj  = false;
			}
		}
	}
	return(xmlHttpObj);
}

var xmlFHttp = createXmlFHttp();
var scripturl='';

function PostRequest(rbody, target, elem) {
if (xmlFHttp) {
	xmlFHttp.open('POST', scripturl, true);
	xmlFHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	if (typeof target == 'function') xmlFHttp.onreadystatechange = function () {
		if (xmlFHttp && xmlFHttp.readyState == 4 && xmlFHttp.status == 200) {
			target(xmlFHttp.responseText, elem);
		}
	};
xmlFHttp.send(rbody);
}}