/*
+---- Programming: ------------------------ Developer: ------------------------+
|                                                                              |
|   PixelProductions GmbH                   Sven Henneböle                     |
|   Hansastr. 2                             Fachinformatiker AE                |
|   D-59557 Lippstadt                                                          |
|                                                                              |
|   E-Mail: Info@PixelProductions.de                                           |
|                                                                              |
|   Fon: +49 (0)2941 22 333                  Version: 1.0                      |
|   Fax: +49 (0)2941 22 414                  Release Date: 01.08.2007          |
|                                                                              |
+------------------------------------------------------------------------------+
*/

function createXMLHTTPRequest() {
	
	if(window.XMLHttpRequest) {
		
		return new XMLHttpRequest();
	}
	else if(window.ActiveXObject) {
		
		try {
			
			return new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch(e) {
			
			try {
				
				return new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e) {
				
				return null;
			}
		}
	}
}


function doAjaxRequest(url) {

	var http_request = null;
	
	http_request = createXMLHTTPRequest();
	http_request.onreadystatechange = function() {};
	http_request.open('GET', 'path/file.php', true);
	http_request.send(null);

}

function setOutput() {

	if (http_request.readyState == 4) {
		 
		//Put your content here
		http_request.responseText;
	}

}
