Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 2562)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 2563)
@@ -76,4 +76,6 @@
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2519">#2519</a>] Fixed race
 			condition at registering the FCKeditorAPI object in multiple editor scenarios.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2525">#2525</a>] Fixed JavaScript
+			error in Google Chrome when StartupShowBlocks is set to true.</li>
 	</ul>
 	<p>
Index: /FCKeditor/trunk/editor/_source/commandclasses/fckshowblocks.js
===================================================================
--- /FCKeditor/trunk/editor/_source/commandclasses/fckshowblocks.js	(revision 2562)
+++ /FCKeditor/trunk/editor/_source/commandclasses/fckshowblocks.js	(revision 2563)
@@ -57,7 +57,10 @@
 	{
 		var focus = FCK.EditorWindow.getSelection().focusNode ;
-		if ( focus.nodeType != 1 )
-			focus = focus.parentNode ;
-		FCKDomTools.ScrollIntoView( focus, false ) ;
+		if ( focus )
+		{
+			if ( focus.nodeType != 1 )
+				focus = focus.parentNode ;
+			FCKDomTools.ScrollIntoView( focus, false ) ;
+		}
 	}
 
