Index: /FCKeditor/trunk/editor/_source/internals/fckscayt.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckscayt.js	(revision 4252)
+++ /FCKeditor/trunk/editor/_source/internals/fckscayt.js	(revision 4253)
@@ -113,5 +113,5 @@
 		oParams.defLang 				= FCK.Config.ScaytDefLang ;
 
-		var scayt = window.scayt;
+		var scayt = top.scayt;
 		var scayt_control = window.scayt_control = new scayt( oParams ) ;
 
@@ -169,5 +169,5 @@
 					ScaytEngineLoad( function ()
 						{
-							me.SetEnabled( !scayt_control.disabled ) ;
+							me.SetEnabled( !window.scayt_control.disabled ) ;
 						}) ;
 
@@ -302,5 +302,6 @@
 	{
 		var action = contextInfo && contextInfo.action,
-			node = action && contextInfo.node;
+			node = action && contextInfo.node,
+			scayt_control = window.scayt_control;
 
 		if ( node )
@@ -331,4 +332,6 @@
 				AddItems : function( menu )
 				{
+					var scayt_control = window.scayt_control;
+
 					if ( !scayt_control )
 						return;
@@ -377,5 +380,5 @@
 		FCK.Events.AttachEvent( 'OnPaste', function()
 			{
-					scayt_control.refresh() ;
+					window.scayt_control.refresh() ;
 					return true;
 			} ) ;
