function ajax(url) { 

req = null; 

if (window.XMLHttpRequest) { 
	req = new XMLHttpRequest(); 
	req.onreadystatechange = processReqChange; 
	req.open("GET",url,true); 
	req.send(null); 

} 
else if (window.ActiveXObject) { 
req = new ActiveXObject("Microsoft.XMLHTTP"); 
	if (req) { 

	req.onreadystatechange = processReqChange; 
	req.open("GET",url,true); 

	req.send(); 
	} 
    } 
} 

function processReqChange() { 

document.getElementById('content').innerHTML = req.responseText; 

} 
 


