function getDoc(url, doFunc, id) {
	var xmlhttp;
	if (window.XMLHttpRequest) 
		xmlhttp=new XMLHttpRequest(); 
	else if (window.ActiveXObject)
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	xmlhttp.onreadystatechange= function(){
		if (xmlhttp.readyState==4) 
			if (xmlhttp.status==200) 
				doFunc(xmlhttp, id);
		};
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}
