Code

added website to trunk
[rrdtool-all.git] / website / inc / IE7 / ie7-xml-extras.js
diff --git a/website/inc/IE7/ie7-xml-extras.js b/website/inc/IE7/ie7-xml-extras.js
new file mode 100644 (file)
index 0000000..97846f6
--- /dev/null
@@ -0,0 +1,6 @@
+/*\r
+       IE7, version 0.9 (alpha) (2005-08-19)\r
+       Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/)\r
+       License: http://creativecommons.org/licenses/LGPL/2.1/\r
+*/\r
+function XMLHttpRequest(){var l=(ScriptEngineMajorVersion()>=5)?"Msxml2":"Microsoft";return new ActiveXObject(l+".XMLHTTP")};function DOMParser(){};DOMParser.prototype={toString:function(){return"[object DOMParser]"},parseFromString:function(s,c){var x=new ActiveXObject("Microsoft.XMLDOM");x.loadXML(s);return x},parseFromStream:new Function,baseURI:""};function XMLSerializer(){};XMLSerializer.prototype={toString:function(){return"[object XMLSerializer]"},serializeToString:function(r){return r.xml||r.outerHTML},serializeToStream:new Function};\r