--- orig/js/webfm.js	2008-08-11 10:42:54.000000000 -0500
+++ js/webfm.js	2008-08-11 10:45:18.000000000 -0500
@@ -3495,7 +3495,17 @@ Webfm.ce = function(elementName) { eleme
  *       Pass an empty string instead.
  */
 Webfm.HTTPPost = function(uri, callbackFunction, callbackParameter, object) {
-  var xmlHttp = new XMLHttpRequest();
+  if (window.XMLHttpRequest){
+    // If IE7, Mozilla, Safari, etc: Use native object
+    var xmlHttp = new XMLHttpRequest()
+  }
+  else
+  {
+    if (window.ActiveXObject){
+      // ...otherwise, use the ActiveX control for IE5.x and IE6
+      var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
+    }
+  }
   var bAsync = true;
   if (!callbackFunction) {
     bAsync = false;
@@ -3880,4 +3890,4 @@ Drupal.deleteIframe = function () {
  */
 Drupal.mousePosition = function(e) {
   return { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop };
-};
\ No newline at end of file
+};
