function assignXHR(){var a=null;var b=navigator.userAgent.toUpperCase();if(typeof(XMLHttpRequest)==="function"||typeof(XMLHttpRequest)==="object"){a=new XMLHttpRequest()}else if(window.ActiveXObject&&b.indexOf("MSIE 4")<0){if(b.indexOf("MSIE 5")<0){a=new ActiveXObject("Msxml2.XMLHTTP")}else{a=new ActiveXObject("Microsoft.XMLHTTP")}}return a}

