Index: /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js	(revision 921)
+++ /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js	(revision 922)
@@ -143,11 +143,11 @@
 		eTextarea.className = 'SourceField' ;
 		eTextarea.dir = 'ltr' ;
-		FCKTools.SetNodeStyles( eTextarea, 
+		FCKDomTools.SetElementStyles( eTextarea, 
 			{ 
-				width : '100%', 
-				height: '100%', 
-				border : 'none', 
-				resize : 'none',
-				outline : 'none'
+				width	: '100%', 
+				height	: '100%', 
+				border	: 'none', 
+				resize	: 'none',
+				outline	: 'none'
 			} ) ;
 		eTargetElement.appendChild( eTextarea ) ;
Index: /FCKeditor/trunk/editor/_source/classes/fckpanel.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckpanel.js	(revision 921)
+++ /FCKeditor/trunk/editor/_source/classes/fckpanel.js	(revision 922)
@@ -48,6 +48,10 @@
 		oIFrame.frameBorder			= '0' ;
 		oIFrame.scrolling			= 'no' ;
-		FCKTools.SetNodeStyles( oIFrame, { 'position' : 'absolute', 'zIndex' : FCKConfig.FloatingPanelsZIndex } ) ;
 		oIFrame.width = oIFrame.height = 0 ;
+		FCKDomTools.SetElementStyles( oIFrame,
+			{
+				position	: 'absolute',
+				zIndex		: FCKConfig.FloatingPanelsZIndex
+			} ) ;
 
 		if ( this._Window == window.parent && window.frameElement )
@@ -131,5 +135,9 @@
 		// The following lines must be place after the above "show", otherwise it
 		// doesn't has the desired effect.
-		FCKTools.SetNodeStyles( eMainNode, { 'width' : ( width ? width + 'px' : '' ), 'height' : ( height ? height + 'px' : '' )  } ) ;
+		FCKDomTools.SetElementStyles( eMainNode,
+			{
+				width	: width ? width + 'px' : '',
+				height	: height ? height + 'px' : ''
+			} ) ;
 
 		iMainWidth = eMainNode.offsetWidth ;
@@ -163,5 +171,9 @@
 			this.ParentPanel.Lock() ;
 
-		FCKTools.SetNodeStyles( eMainNode, { 'width' : ( width ? width + 'px' : '' ), 'height' : ( height ? height + 'px' : '' )  } ) ;
+		FCKDomTools.SetElementStyles( eMainNode,
+			{
+				width	: width ? width + 'px' : '',
+				height	: height ? height + 'px' : ''
+			} ) ;
 
 		iMainWidth = eMainNode.offsetWidth ;
@@ -217,5 +229,9 @@
 
 		// Set the context menu DIV in the specified location.
-		FCKTools.SetNodeStyles( this._IFrame, { 'left' : x + 'px', 'top' : y + 'px' } ) ;
+		FCKDomTools.SetElementStyles( this._IFrame,
+			{
+				left	: x + 'px',
+				top		: y + 'px'
+			} ) ;
 
 		var iWidth	= iMainWidth ;
Index: /FCKeditor/trunk/editor/_source/internals/fckdomtools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 921)
+++ /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 922)
@@ -812,4 +812,11 @@
 		
 		return elementChild ? this.CheckIsEmptyElement( elementChild, elementCheckCallback ) : true ;
+	},
+
+	SetElementStyles : function( element, styleDict )
+	{
+		var style = element.style ;
+		for ( var styleName in styleDict )
+			style[ styleName ] = styleDict[ styleName ] ;
 	}
 } ;
Index: /FCKeditor/trunk/editor/_source/internals/fcktools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 921)
+++ /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 922)
@@ -514,10 +514,4 @@
 }
 
-FCKTools.SetNodeStyles = function( domNode, styleDict )
-{
-	for ( var i in styleDict )
-		domNode.style[i] = styleDict[ i ] ;
-}
-
 /**
  * Merge all objects passed by argument into a single object.
Index: /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js
===================================================================
--- /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js	(revision 921)
+++ /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js	(revision 922)
@@ -1,3 +1,3 @@
-var FCKDragTableHandler = 
+var FCKDragTableHandler =
 {
 	"_DragState" : 0,
@@ -13,5 +13,5 @@
 	"_IsInsideNode" : function( w, domNode, pos )
 	{
-		var myCoords = FCKTools.GetWindowPosition( w, domNode ) ; 
+		var myCoords = FCKTools.GetWindowPosition( w, domNode ) ;
 		var xMin = myCoords.x ;
 		var yMin = myCoords.y ;
@@ -48,5 +48,5 @@
 			var rxDist = mouse.x - rightX ;
 			var yDist = mouse.y - ( pos.y + ( cells[i].clientHeight / 2 ) ) ;
-			if ( minRxDist == null || 
+			if ( minRxDist == null ||
 					( Math.abs( rxDist ) <= Math.abs( minRxDist ) &&
 					  ( minYDist == null || Math.abs( yDist ) <= Math.abs( minYDist ) ) ) )
@@ -68,5 +68,5 @@
 		var colSpan = isNaN( rbCell.colSpan ) ? 1 : rbCell.colSpan ;
 		lbCell = tableMap[rowIdx][colIdx + colSpan] ;
-		
+
 		if ( ! lbCell )
 			return null ;
@@ -75,5 +75,5 @@
 		lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ;
 		if ( lxDist < 0 && minRxDist < 0 && minRxDist < -2 )
-			return null ; 
+			return null ;
 		if ( lxDist > 0 && minRxDist > 0 && lxDist > 3 )
 			return null ;
@@ -128,8 +128,8 @@
 		FCKDragTableHandler._MouseMoveMode = 0 ;
 		FCKDragTableHandler._HideResizeBar() ;
-		
+
 		if ( FCKDragTableHandler._LastX == null )
 			return ;
-		
+
 		// Calculate the delta value.
 		var deltaX = FCKDragTableHandler._LastX - FCKDragTableHandler._OriginalX ;
@@ -219,5 +219,5 @@
 	{
 		if ( ! evt )
-			evt = window.event ;		
+			evt = window.event ;
 		if ( FCKDragTableHandler._MouseMoveMode == 0 )
 			return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
@@ -238,5 +238,5 @@
 		{
 			var styleObj = window.getComputedStyle( cell, null ) ;
-			cssGuess = parseInt( styleObj.getPropertyValue( "padding-left" ), 10 ) + 
+			cssGuess = parseInt( styleObj.getPropertyValue( "padding-left" ), 10 ) +
 				parseInt( styleObj.getPropertyValue( "padding-right" ), 10 ) ;
 		}
@@ -302,5 +302,5 @@
 			return ;
 		}
-		
+
 		// Since this function might be called from the editing area iframe or the outer fckeditor iframe,
 		// the mouse point coordinates from evt.clientX/Y can have different reference points.
@@ -319,5 +319,5 @@
 		{
 			var leftPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._LeftCell ) ;
-			var rightPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._RightCell ) ; 
+			var rightPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._RightCell ) ;
 			var rxDist = mouseX - ( leftPos.x + this._LeftCell.clientWidth ) ;
 			var lxDist = mouseX - rightPos.x ;
@@ -331,5 +331,5 @@
 			if ( inRangeFlag )
 			{
-				this._ShowResizeBar( FCK.EditorWindow, 
+				this._ShowResizeBar( FCK.EditorWindow,
 					FCKTools.GetElementAscensor( this._LeftCell, "table" ),
 					{ "x" : mouseX, "y" : mouseY } ) ;
@@ -361,5 +361,5 @@
 			this._RightCell = cellTuple["rightCell"] ;
 			this._TableMap = tableMap ;
-			this._ShowResizeBar( FCK.EditorWindow, 
+			this._ShowResizeBar( FCK.EditorWindow,
 					FCKTools.GetElementAscensor( this._LeftCell, "table" ),
 					{ "x" : mouseX, "y" : mouseY } ) ;
@@ -369,5 +369,5 @@
 	{
 		var mouse = { "x" : evt.clientX, "y" : evt.clientY } ;
-		
+
 		// Convert mouse coordinates in reference to the outer iframe.
 		var node = evt.srcElement || evt.target ;
@@ -382,5 +382,5 @@
 		if ( mouse.x >= this._MaximumX - 5 )
 			mouse.x = this._MaximumX - 5 ;
-		if ( mouse.x <= this._MinimumX + 5 ) 
+		if ( mouse.x <= this._MinimumX + 5 )
 			mouse.x = this._MinimumX + 5 ;
 
@@ -400,5 +400,5 @@
 			else
 				paddingStyles.opacity = 0.10 ;
-			FCKTools.SetNodeStyles( paddingBar, paddingStyles ) ;
+			FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
 			document.body.appendChild( paddingBar ) ;
 			FCKTools.AddEventListener( paddingBar, "mousemove", this._ResizeBarMouseMoveListener ) ;
@@ -447,5 +447,5 @@
 			cs = 0 ;
 		var barWidth = Math.max( bw+100, cs+100 ) ;
-		var paddingStyles = 
+		var paddingStyles =
 		{
 			'top'		: barTop + 'px',
@@ -459,12 +459,12 @@
 			paddingStyles.opacity = 0.1 ;
 
-		FCKTools.SetNodeStyles( paddingBar, paddingStyles ) ;
+		FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
 		var filler = paddingBar.getElementsByTagName( "img" )[0] ;
-		var fillerStyles =
-		{
-			'width'		: paddingBar.offsetWidth + 'px',
-			'height'	: barHeight + 'px'
-		} ;
-		FCKTools.SetNodeStyles( filler, fillerStyles ) ;
+
+		FCKDomTools.SetElementStyles( filler,
+			{
+				width	: paddingBar.offsetWidth + 'px',
+				height	: barHeight + 'px'
+			} ) ;
 
 		barWidth = Math.max( bw, cs, 3 ) ;
@@ -477,14 +477,14 @@
 		else
 			visibleBar = paddingBar.getElementsByTagName( "div" )[0] ;
-		var visibleStyles = 
-		{
-			'position'		: 'absolute',
-			'backgroundColor'	: 'blue',
-			'width'			: barWidth + 'px',
-			'height'		: barHeight + 'px',
-			'left'			: '50px',
-			'top'			: '0px'
-		} ;
-		FCKTools.SetNodeStyles( visibleBar, visibleStyles ) ;
+
+		FCKDomTools.SetElementStyles( visibleBar,
+			{
+				position		: 'absolute',
+				backgroundColor	: 'blue',
+				width			: barWidth + 'px',
+				height			: barHeight + 'px',
+				left			: '50px',
+				top				: '0px'
+			} ) ;
 	},
 	"_HideResizeBar" : function()
@@ -493,5 +493,9 @@
 			// IE bug: display : none does not hide the resize bar for some reason.
 			// so set the position to somewhere invisible.
-			FCKTools.SetNodeStyles( this._ResizeBar, { 'top' : '-100000px', 'left' : '-100000px' }  ) ;
+			FCKDomTools.SetElementStyles( this._ResizeBar,
+				{
+					top		: '-100000px',
+					left	: '-100000px'
+				} ) ;
 	}
 };
