Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5736)
+++ /CKEditor/trunk/CHANGES.html	(revision 5737)
@@ -86,4 +86,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/5799">#5799</a> : Correct plugin dependencies for the liststyle plugin with contextMenu and dialog.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5436">#5436</a> : IE: The cursor was moving to the wrong position when inserting inline elements at the end of cells on tables.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5436">#5436</a> : Firefox: CTRL+HOME was creating an unwanted empty paragraph at the start of the document.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.fckeditor.net/ticket/5962">#5962</a> : German;</li>
Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5736)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5737)
@@ -236,17 +236,22 @@
 			if ( isBlankParagraph( fixedBlock ) )
 			{
-				var previousElement = fixedBlock.getPrevious( isNotWhitespace ),
-					nextElement = fixedBlock.getNext( isNotWhitespace );
-
-				if ( previousElement && previousElement.getName
-					 && !( previousElement.getName() in nonExitableElementNames )
-					 && isBlankParagraph( previousElement )
-					 && range.moveToElementEditStart( previousElement )
-					 || nextElement && nextElement.getName
-						&& !( nextElement.getName() in nonExitableElementNames )
-						&& isBlankParagraph( nextElement )
-						&& range.moveToElementEditStart( nextElement ) )
+				var element = fixedBlock.getNext( isNotWhitespace );
+				if ( element && 
+					 element.type == CKEDITOR.NODE_ELEMENT && 
+					 !nonExitableElementNames[ element.getName() ] )
 				{
+					range.moveToElementEditStart( element );
 					fixedBlock.remove();
+				}
+				else
+				{
+					element = fixedBlock.getPrevious( isNotWhitespace );
+					if ( element && 
+						 element.type == CKEDITOR.NODE_ELEMENT && 
+						 !nonExitableElementNames[ element.getName() ] )
+					{
+						range.moveToElementEditEnd( element );
+						fixedBlock.remove();
+					}
 				}
 			}
