code: function getDomDocumentPrefix() {
  	if (getDomDocumentPrefix.prefix)
  		return getDomDocumentPrefix.prefix;
  	
  	var prefixes = ["MSXML2", "Microsoft", "MSXML", "MSXML3"];
  	var o;
  	for (var i = 0; i < prefixes.length; i++) {
  		try {
  			// try to create the objects
  			o = new ActiveXObject(prefixes[i] + ".DomDocument");
  			return getDomDocumentPrefix.prefix = prefixes[i];
  		}
  		catch (ex) {};
  	}
  	
  	throw new Error("Could not find an installed XML parser");
  }
docs: <script> //////////////// Helper Stuff // //////////////// used to find the Automation server name