var HTTPREQ = false;
// Conditional compiling. Any other browser than IE will see all between /*@ @*/  as a comment
/*@cc_on @*/ /*@if (@_jscript_version >= 5) 
var ieversion = ["Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0", "Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP", "Microsoft.XMLHTTP"]; 
for(var i=0; !HTTPREQ && i<ieversion.length; i++) { 
   try{ HTTPREQ = new ActiveXObject(ieversion[i]); } catch(e) { HTTPREQ = false; }
   } 
@end @*/
if (!HTTPREQ && typeof XMLHttpRequest!='undefined') {
  HTTPREQ = new XMLHttpRequest(); //Other browsers that support the object [mozilla/safari/opera ]
} 

