var xmlHttp = false;

function getXMLHttpObject ()
{
    try
    {
        xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");	 	// Internet Explorer 1ste poging
    } catch (e) {
        try
        {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer 2de poging
        } catch (e2) {
            xmlHttp = false;
        }
    }
    if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
        xmlHttp = new XMLHttpRequest(); 								// Mozilla, Firefox, Opera, ...
    }
}