	// returns the named page and drops it into the named div (element0
	// Parameters
	// element - div to drop the page into
	// url - required page
	
	
	
    function makeRequest(url, targetElement) {
		try{
	        var http_request = false;
	
	        if (window.XMLHttpRequest) { // Mozilla, Safari,...
	            http_request = new XMLHttpRequest();
	            if (http_request.overrideMimeType) {
	                http_request.overrideMimeType('text/xml');
	                // See note below about this line
	            }
	        } else if (window.ActiveXObject) { // IE
	            try {
	                http_request = new ActiveXObject("Msxml2.XMLHTTP");
	            } catch (e) {
	                try {
	                    http_request = new ActiveXObject("Microsoft.XMLHTTP");
	                } catch (e) {}
	            }
	        }
	
	        if (!http_request) {
	            alert('Giving up :( Cannot create an XMLHTTP instance');
	            return false;
	        }
	        
	        /*
		        open(mode, url, boolean)  	mode: type of request, GET or POST
				url: the location of the file, with a path.
				boolean: true (asynchronous) / false (synchrous).
				optionally, a login and a password may be added to arguments.
				send("string") 	null for a GET command.
			*/
			if(targetElement){
	        	http_request.onreadystatechange = function() { document.getElementById(targetElement).innerHTML = http_request.responseText; };
	        }
	        http_request.open('POST', url, true);
	        http_request.send("");
	        
	     }catch(e){
	     	alert("Ajax function error: " + e.message);
	     	document.getElementById(targetElement).innerHTML = "Ajax function error: " + e.message;
	     }
    }