Compatibility of the ajax requests
if (window.XMLHttpRequest) { // Mozilla, Safari, IE7+...
httpRequest = new XMLHttpRequest();
}
else if (window.ActiveXObject) { // IE 6 et antérieurs
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
Compatibility between browsers is easy, it should give you the javascript code in the above section.