Index: /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js	(revision 666)
@@ -136,8 +136,5 @@
 		eTextarea.className = 'SourceField' ;
 		eTextarea.dir = 'ltr' ;
-		eTextarea.style.width = eTextarea.style.height = '100%' ;
-		eTextarea.style.border = 'none' ;
-		// CSS3 http://www.w3.org/TR/css3-ui/#resize
-		eTextarea.style.resize = 'none' ;
+		FCKTools.SetNodeStyles( eTextarea, { width : '100%', height: '100%', border : 'none', resize : 'none' } ) ;
 		eTargetElement.appendChild( eTextarea ) ;
 
Index: /FCKeditor/trunk/editor/_source/classes/fckpanel.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckpanel.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/classes/fckpanel.js	(revision 666)
@@ -48,6 +48,5 @@
 		oIFrame.frameBorder			= '0' ;
 		oIFrame.scrolling			= 'no' ;
-		oIFrame.style.position		= 'absolute';
-		oIFrame.style.zIndex		= FCKConfig.FloatingPanelsZIndex ;
+		FCKTools.SetNodeStyles( oIFrame, { 'position' : 'absolute', 'zIndex' : FCKConfig.FloatingPanelsZIndex } ) ;
 		oIFrame.width = oIFrame.height = 0 ;
 
@@ -131,6 +130,5 @@
 		// The following lines must be place after the above "show", otherwise it
 		// doesn't has the desired effect.
-		this.MainNode.style.width	= width ? width + 'px' : '' ;
-		this.MainNode.style.height	= height ? height + 'px' : '' ;
+		FCKTools.SetNodeStyles( this.MainNode, { 'width' : ( width ? width + 'px' : '' ), 'height' : ( height ? height + 'px' : '' )  } ) ;
 
 		iMainWidth = this.MainNode.offsetWidth ;
@@ -164,6 +162,5 @@
 			this.ParentPanel.Lock() ;
 
-		this.MainNode.style.width	= width ? width + 'px' : '' ;
-		this.MainNode.style.height	= height ? height + 'px' : '' ;
+		FCKTools.SetNodeStyles( this.MainNode, { 'width' : ( width ? width + 'px' : '' ), 'height' : ( height ? height + 'px' : '' )  } ) ;
 
 		iMainWidth = this.MainNode.offsetWidth ;
@@ -219,6 +216,5 @@
 
 		// Set the context menu DIV in the specified location.
-		this._IFrame.style.left	= x + 'px' ;
-		this._IFrame.style.top	= y + 'px' ;
+		FCKTools.SetNodeStyles( this._IFrame, { 'left' : x + 'px', 'top' : y + 'px' } ) ;
 
 		var iWidth	= iMainWidth ;
Index: /FCKeditor/trunk/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/internals/fck.js	(revision 666)
@@ -767,7 +767,7 @@
 		evt = window.event ;
 	if ( evt.type == 'mousedown' )
-		FCK._MouseDownFlag = true ;
+		FCK.MouseDownFlag = true ;
 	else if ( evt.type == 'mouseup' )
-		FCK._MouseDownFlag = false ;
+		FCK.MouseDownFlag = false ;
 	else if ( evt.type == 'mousemove' )
 		FCK.Events.FireEvent( 'OnMouseMove', evt ) ;
@@ -789,5 +789,5 @@
 	
 	// Listen for mousedown and mouseup events for tracking drag and drops.
-	FCK._MouseDownFlag = false ;
+	FCK.MouseDownFlag = false ;
 	FCKTools.AddEventListener( FCK.EditorDocument, 'mousemove', _FCK_MouseEventsListener ) ;
 	FCKTools.AddEventListener( FCK.EditorDocument, 'mousedown', _FCK_MouseEventsListener ) ;
Index: /FCKeditor/trunk/editor/_source/internals/fck_gecko.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck_gecko.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/internals/fck_gecko.js	(revision 666)
@@ -41,7 +41,7 @@
 	this._ExecDrop = function( evt )
 	{
-		if ( FCK._MouseDownFlag )
+		if ( FCK.MouseDownFlag )
 		{
-			FCK._MouseDownFlag = false ;
+			FCK.MouseDownFlag = false ;
 			return ;
 		}
Index: /FCKeditor/trunk/editor/_source/internals/fck_ie.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck_ie.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/internals/fck_ie.js	(revision 666)
@@ -98,7 +98,7 @@
 function Doc_OnDrop()
 {
-	if ( FCK._MouseDownFlag )
-	{
-		FCK._MouseDownFlag = false ;
+	if ( FCK.MouseDownFlag )
+	{
+		FCK.MouseDownFlag = false ;
 		return ;
 	}
Index: /FCKeditor/trunk/editor/_source/internals/fcktools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 665)
+++ /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 666)
@@ -548,2 +548,8 @@
 	return node ;
 }
+
+FCKTools.SetNodeStyles = function( domNode, styleDict )
+{
+	for ( var i in styleDict )
+		domNode.style[i] = styleDict[ i ] ;
+}
Index: /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js
===================================================================
--- /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js	(revision 665)
+++ /FCKeditor/trunk/editor/plugins/dragresizetable/fckplugin.js	(revision 666)
@@ -301,5 +301,5 @@
 	"_MouseFindHandler" : function( FCK, evt )
 	{
-		if ( FCK._MouseDownFlag )
+		if ( FCK.MouseDownFlag )
 			return ;
 		var node = evt.srcElement || evt.target ;
@@ -408,10 +408,10 @@
 			this._ResizeBar = document.createElement( "div" ) ;
 			var paddingBar = this._ResizeBar ;
-			paddingBar.style.position = "absolute" ;
-			paddingBar.style.cursor = "e-resize" ;
+			var paddingStyles = { 'position' : 'absolute', 'cursor' : 'e-resize' } ;
 			if ( FCKBrowserInfo.IsIE )
-				paddingBar.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=10,enabled=true)" ;
+				paddingStyles.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=10,enabled=true)" ;
 			else
-				paddingBar.style.opacity = 0.10 ;
+				paddingStyles.opacity = 0.10 ;
+			FCKTools.SetNodeStyles( paddingBar, paddingStyles ) ;
 			document.body.appendChild( paddingBar ) ;
 			FCKTools.AddEventListener( paddingBar, "mousemove", this._ResizeBarMouseMoveListener ) ;
@@ -443,8 +443,4 @@
 
 		var paddingBar = this._ResizeBar ;
-		if ( FCKBrowserInfo.IsIE )
-			paddingBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 10 ;
-		else
-			paddingBar.style.opacity = 0.1 ;
 		var offset = FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ;
 		var tablePos = FCKTools.GetWindowPosition( w, table ) ;
@@ -457,6 +453,4 @@
 			barTop -= tablePos.y ;
 		}
-		paddingBar.style.top = barTop + "px" ;
-		paddingBar.style.height = barHeight + "px" ;
 		var bw = parseInt( table.border, 10 ) ;
 		if ( isNaN( bw ) )
@@ -466,9 +460,24 @@
 			cs = 0 ;
 		var barWidth = Math.max( bw+100, cs+100 ) ;
-		paddingBar.style.width = barWidth + "px" ;
-		paddingBar.style.left = ( offset.x + mouse.x + FCKTools.GetScrollPosition( w ).X - barWidth / 2 ) +  "px" ;
+		var paddingStyles = 
+		{
+			'top'		: barTop + 'px',
+			'height'	: barHeight + 'px',
+			'width'		: barWidth + 'px',
+			'left'		: ( offset.x + mouse.x + FCKTools.GetScrollPosition( w ).X - barWidth / 2 ) + 'px'
+		} ;
+		if ( FCKBrowserInfo.IsIE )
+			paddingBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 10 ;
+		else
+			paddingStyles.opacity = 0.1 ;
+
+		FCKTools.SetNodeStyles( paddingBar, paddingStyles ) ;
 		var filler = paddingBar.getElementsByTagName( "img" )[0] ;
-		filler.style.width = paddingBar.offsetWidth + "px" ;
-		filler.style.height = barHeight + "px" ;
+		var fillerStyles =
+		{
+			'width'		: paddingBar.offsetWidth + 'px',
+			'height'	: barHeight + 'px'
+		} ;
+		FCKTools.SetNodeStyles( filler, fillerStyles ) ;
 
 		barWidth = Math.max( bw, cs, 3 ) ;
@@ -481,20 +490,21 @@
 		else
 			visibleBar = paddingBar.getElementsByTagName( "div" )[0] ;
-		visibleBar.style.position = "absolute" ;
-		visibleBar.style.backgroundColor = "blue" ;
-		visibleBar.style.width = barWidth + "px" ;
-		visibleBar.style.height = barHeight + "px" ;
-		visibleBar.style.left = "50px" ;
-		visibleBar.style.top = "0px" ;
+		var visibleStyles = 
+		{
+			'position'		: 'absolute',
+			'backgroundColor'	: 'blue',
+			'width'			: barWidth + 'px',
+			'height'		: barHeight + 'px',
+			'left'			: '50px',
+			'top'			: '0px'
+		} ;
+		FCKTools.SetNodeStyles( visibleBar, visibleStyles ) ;
 	},
 	"_HideResizeBar" : function()
 	{
 		if ( this._ResizeBar )
-		{
 			// IE bug: display : none does not hide the resize bar for some reason.
 			// so set the position to somewhere invisible.
-			this._ResizeBar.style.top = "-100000px" ;
-			this._ResizeBar.style.left = "-100000px" ;
-		}
+			FCKTools.SetNodeStyles( this._ResizeBar, { 'top' : '-100000px', 'left' : '-100000px' }  ) ;
 	}
 };
