function Ajax(){
	var ajax=false;
	try{
		ajax = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch (e){
		try{
			ajax = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (E){
			ajax = false;
		}
	}
	
	if (!ajax && typeof XMLHttpRequest!='undefined') {
		try{
			ajax = new XMLHttpRequest();
		}
		catch (e){
			ajax=false;
		}
	}
	if (!ajax && window.createRequest) {
		try{
			ajax = window.createRequest();
		}
		catch (e){
			ajax=false;
		}
	}
	return ajax;
}
