/* Compilation conditionnelle d'IE */
/*@cc_on
@if (@_jscript_version >= 5) {

  var MS_XMLHTTP_PROGID = ["Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"];
  var MS_XSLT_PROGID = ["Msxml2.XSLTemplate.5.0", "Msxml2.XSLTemplate.4.0", "MSXML2.XSLTemplate.3.0", " MSXML2.XSLTemplate"];
  var MS_THDOM_PROGID = ["Msxml2.FreeThreadedDOMDocument.5.0", "MSXML2.FreeThreadedDOMDocument.4.0", "MSXML2.FreeThreadedDOMDocument.3.0","MSXML2.FreeThreadedDOMDocument"];
  var MS_DOM_PROGID = ["Msxml2.DOMDocument.5.0", "Msxml2.DOMDocument.4.0", "Msxml2.DOMDocument.3.0", "MSXML2.DOMDocument", "MSXML.DOMDocument", "Microsoft.XmlDom"];

  function get_ms_implem(list) {
    var msimplem = false;
    for(var i=0; !msimplem && i < list.length; i++){
      try{
        msimplem = new ActiveXObject(list[i]);
      } 
      catch (e) {
       msimplem = false;
      }
    }
    return msimplem; 
  }

  function XMLSerializer(){};
  XMLSerializer.prototype.serializeToString = function(n) {
    return n.xml;
  }

  function XMLHttpRequest() {
    return get_ms_implem(MS_XMLHTTP_PROGID);
  }

  if (!window.Node) {
    var Node = {            // If there is no Node object, define one
        ELEMENT_NODE: 1,    // with the following properties and values.
        ATTRIBUTE_NODE: 2,  // Note that these are HTML node types only.
        TEXT_NODE: 3,       // For XML-specific nodes, you need to add
        COMMENT_NODE: 8,    // other constants here.
        DOCUMENT_NODE: 9,
        DOCUMENT_FRAGMENT_NODE: 11
    }
  } 
}

@else
 var vacuum;
@end @*/

