function GetXmlHttpObject() {
	var xmlHttp=null;
	try {
		xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
		try {
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}

function ajaxEval(strURL) {
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp == null) return;
	xmlHttp.onreadystatechange = function() { 
		if (xmlHttp.readyState == 4) {
			eval(xmlHttp.responseText);
		}
	};
	xmlHttp.open("GET",strURL,true);
	xmlHttp.send(null);
}

function ajaxSend(strURL) {
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp == null) return;
	xmlHttp.open("GET",strURL,true);
	xmlHttp.send(null);
}

function ajaxUpdate(strDiv,strURL,strEval) {
	xmlHttp = GetXmlHttpObject();
	if (xmlHttp == null) return;
		xmlHttp.onreadystatechange = function() {
		if (xmlHttp.readyState == 4) {
			document.getElementById(strDiv).innerHTML = xmlHttp.responseText;
			if (strEval) eval(strEval);
		}
	}
	xmlHttp.open("GET",strURL,true);
	xmlHttp.send(null);
}