var xmlHttp = null;

function checkAjax()
{
	try { // attempt to destroy variable to clear up memory leaks
		xmlHttp = this.undefined;
		xmlHttp = undefined;
	}
	catch (e) {
		xmlHttp = null;
	}
	
	try {	// IE
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	catch (e) {	// FF / Safari / Opera
		try {
			xmlHttp = new XMLHttpRequest()
		}
		catch (e) {
			xmlHttp = null;
		}
	}
	
	if (xmlHttp == null) { return "FALSE";}
	else { return "TRUE";}
}