Index: /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fcktools_gecko.js
===================================================================
--- /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fcktools_gecko.js	(revision 1366)
+++ /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fcktools_gecko.js	(revision 1367)
@@ -226,5 +226,5 @@
 	targetWindow.$ = function( id )
 	{
-		return this.document.getElementById( id ) ;
+		return targetWindow.document.getElementById( id ) ;
 	} ;
 }
