Index: /trunk/XinhaCore.js
===================================================================
--- /trunk/XinhaCore.js (revision 763)
+++ /trunk/XinhaCore.js (revision 764)
@@ -116,5 +116,4 @@
 Xinha.is_gecko  = (navigator.product == "Gecko");
 Xinha.isRunLocally = document.URL.toLowerCase().search(/^file:/) != -1;
-Xinha.is_designMode = (typeof document.designMode != 'undefined');
 if ( Xinha.isRunLocally )
 {
@@ -386,5 +385,5 @@
 
   // CharSet of the iframe, default is the charset of the document
-  this.charSet = (typeof document.characterSet != 'undefined') ? document.characterSet : document.charset;
+  this.charSet = Xinha.is_gecko ? document.characterSet : document.charset;
 
   // URL-s
@@ -1825,34 +1824,17 @@
   // Add an event to initialize the iframe once loaded.
   editor._iframeLoadDone = false;
-  if (Xinha.is_opera)
-    {
-      Xinha._addEvent(
-        this._iframe.contentWindow,
-        'load',
-        function(e)
-        {
-          if ( !editor._iframeLoadDone )
-          {
-             editor._iframeLoadDone = true;
-             editor.initIframe();
-          }
-          return true;
-        }
-      )
-    }
-  else
-    Xinha._addEvent(
-      this._iframe,
-      'load',
-      function(e)
-      {
-        if ( !editor._iframeLoadDone )
-        {
-          editor._iframeLoadDone = true;
-          editor.initIframe();
-        }
-        return true;
-      }
-    );
+  Xinha._addEvent(
+    this._iframe,
+    'load',
+    function(e)
+    {
+      if ( !editor._iframeLoadDone )
+      {
+        editor._iframeLoadDone = true;
+        editor.initIframe();
+      }
+      return true;
+    }
+  );
 
 };
@@ -2246,5 +2228,5 @@
   try
   {
-    return Xinha.is_designMode ? this._doc.designMode == 'on' : this._doc.body.contentEditable;
+    return Xinha.is_gecko? this._doc.designMode == 'on' : this._doc.body.contentEditable;
   }
   catch (ex)
@@ -2268,5 +2250,5 @@
   }
 
-  if ( Xinha.is_designMode && this._doc.designMode != 'on' )
+  if ( Xinha.is_gecko && this._doc.designMode != 'on' )
   {
     try
@@ -2304,5 +2286,5 @@
   this.disableToolbar();
 
-  if ( Xinha.is_designMode && this._doc.designMode != 'off' )
+  if ( Xinha.is_gecko && this._doc.designMode != 'off' )
   {
     try
@@ -4389,14 +4371,5 @@
     }
   }
-  if ( Xinha.is_opera )
-  {
-    var ver = navigator.appVersion.substring(0, navigator.appVersion.indexOf(" "))*1;
-    if (ver<9.1)
-    {
-      alert("You need at least Opera 9.10.\nSorry, your Opera is not supported.");
-      return false;
-    }
-  }
-  return Xinha.is_gecko || Xinha.is_opera || Xinha.ie_version >= 5.5;
+  return Xinha.is_gecko || Xinha.ie_version >= 5.5;
 };
 
