Originariamente inviato da andr3a

codice:
function getXMLHTTP() {
	var s = ['undefined','MSIE 5','Microsoft','Msxml2','.XMLHTTP'];
	return ((typeof(XMLHttpRequest)!=s[0])?new XMLHttpRequest():
		((window.ActiveXObject)?new ActiveXObject(
			((navigator.userAgent.indexOf(s[1])!=-1)?s[2]:s[3])+s[4]):
		false));
}
Quindi questo dovrebbe andare???

PS.
Quello script io l'avevo preso dalla sezione Pro di Html.it
pensavo fosse corretto