Index: /FCKeditor/trunk/editor/dialog/common/fck_dialog_common.js
===================================================================
--- /FCKeditor/trunk/editor/dialog/common/fck_dialog_common.js	(revision 1600)
+++ /FCKeditor/trunk/editor/dialog/common/fck_dialog_common.js	(revision 1601)
@@ -274,5 +274,5 @@
 			{
 				CopyAttributes( oldNode, oNewNode, oAttributes ) ;
-				MoveContents( oldNode, oNewNode ) ;
+				oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ;
 				oldNode.parentNode.removeChild( oldNode ) ;
 				oldNode = null ;
@@ -337,11 +337,2 @@
 }
 
-// Move the contents from one node to the other
-function MoveContents( oSource, oDest )
-{
-	while ( oSource.firstChild )
-	{
-		var oNode = oSource.removeChild( oSource.firstChild ) ;
-		oDest.appendChild( oNode ) ;
-	}
-}
