Index: /FCKeditor/branches/features/floating_dialog/editor/fckdebug.html
===================================================================
--- /FCKeditor/branches/features/floating_dialog/editor/fckdebug.html	(revision 1382)
+++ /FCKeditor/branches/features/floating_dialog/editor/fckdebug.html	(revision 1383)
@@ -31,34 +31,4 @@
 var oWindow ;
 var oDiv ;
-var sOriginalDomain = document.domain ;
-
-// Automatically detect the correct document.domain (#123).
-(function()
-{
-	var d = document.domain ;
-
-	while ( true )
-	{
-		// Test if we can access a parent property.
-		try
-		{
-			var parentDomain = window.opener.document.domain ;
-
-			if ( document.domain != parentDomain )
-				document.domain = parentDomain ;
-			break ;
-		}
-		catch( e ) {}
-
-		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
-		d = d.replace( /.*?(?:\.|$)/, '' ) ;
-
-		if ( d.length == 0 )
-			break ;         // It was not able to detect the domain.
-
-		document.domain = d ;
-	}
-})();
-var bDomainChanged = ( sOriginalDomain != document.domain ) ;
 
 if ( !window.FCKMessages )
@@ -67,28 +37,9 @@
 window.onload = function()
 {
-	oFrame = document.getElementById('xOutput') ;
-	if ( bDomainChanged )
-	{
-		var sUrl = 'javascript: void( function(){' +
-			'document.open() ;' +
-			'document.domain = "' + document.domain + '" ;' +
-			'document.write( "<div id=\\"divMsg\\"><\/div>" ) ;' +
-			'document.close() ;' +
-			'}() ) ;';
-		oFrame.src = sUrl ;
-		setTimeout( function()
-		{
-			oWindow = oFrame.contentWindow ;
-			oDiv	= oWindow.document.getElementById('divMsg') ;
-		}, 1 ) ;
-	}
-	else
-	{
-		oWindow = oFrame.contentWindow ;
-		oWindow.document.open() ;
-		oWindow.document.write( '<div id="divMsg"><\/div>' ) ;
-		oWindow.document.close() ;
-		oDiv	= oWindow.document.getElementById('divMsg') ;
-	}
+	oWindow = document.getElementById('xOutput').contentWindow ;
+	oWindow.document.open() ;
+	oWindow.document.write( '<div id="divMsg"><\/div>' ) ;
+	oWindow.document.close() ;
+	oDiv	= oWindow.document.getElementById('divMsg') ;
 }
 
