Index: /CKEditor/branches/versions/3.5.x/.htaccess
===================================================================
--- /CKEditor/branches/versions/3.5.x/.htaccess	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/.htaccess	(revision 6396)
@@ -1,4 +1,4 @@
 #
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 #
Index: /CKEditor/branches/versions/3.5.x/CHANGES.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/CHANGES.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/CHANGES.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Changelog - CKEditor</title>
+	<title>Changelog &mdash; CKEditor</title>
 	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
 	<style type="text/css">
@@ -36,4 +36,83 @@
 	</h1>
 	<h3>
+			CKEditor 3.5.1 (SVN)</h3>
+	<p>
+			New features:</p>
+	<ul>
+		<li><a href="http://dev.ckeditor.com/ticket/6107">#6107</a> : It is now possible to remove block styles using Styles and Paragraph Format drop-down lists.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5590">#5590</a> : Remove Format command works in collapsed selections.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5755">#5755</a> : The <code><a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.dialog_buttonsOrder">dialog_buttonsOrder</a></code> option now works in Internet Explorer.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6869">#6869</a> : The <code>data-cke-nostyle</code> attribute (which was introduced for escaping the element from been influenced by the style system since 3.5) is deprecated in favor of the new <code>data-nostyle</code> attribute.</li>
+		<li>Revised sample pages with code examples and clarifications.</li>
+	</ul>
+	<p>
+			Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.ckeditor.com/ticket/5855">#5855</a> : Updating a link multiple times generates wrong <code>href</code> attribute.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6166">#6166</a> : Error on Maximize command, when the toolbar button is not shown.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6607">#6607</a> : Table cell "merge down" and "merge right" commands work only once.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6228">#6228</a> : Merge down does not work, throwing a JavasSript error.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6625">#6625</a> : BIDI: Mixed LTR/RTL direction causes incorrect behavior.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6881">#6881</a> : IFrame capitalization is now consistent throughout labels.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6686">#6686</a> : BIDI: [FF] When we apply explicit language direction to a numbered/bulleted list, the corresponding language direction toolbar icon is not highlighted.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6566">#6566</a> : It is now possible to exit a blockquote using <code>ENTER_BR</code>.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6868">#6868</a> : Partial (invalid) list structure crashes the editor on load.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6804">#6804</a> : Buggy behavior when editing the <code>legend</code> element inside a <code>fieldset</code>.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6724">#6724</a> : [IE7] Nested list display bug on empty list item.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6715">#6715</a> : List items do not create paragraphs after the list placed in a table cell is removed.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6695">#6695</a> : [Webkit] Display bug after the editor is restored from the full screen mode.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6661">#6661</a> : [IE] Pre-formatted style does not preserve applied text direction.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6655">#6655</a> : Using the editor resize grip causes small visual offsets.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6604">#6604</a> : The <code>div</code> element should be used as a formatting block in <code>ENTER_BR</code>.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6249">#6249</a> : BIDI: List item bullets are off viewport with RTL text direction.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6610">#6610</a> : BIDI: <code>ENTER_BR</code> change direction in one line out of multiple.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6872">#6872</a> : [IE] Link target field is not populated properly when no target is set.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6880">#6880</a> : Samples: Added a user-friendly message for users on servers without PHP support.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6628">#6628</a> : Setting <code><a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode">config.enterMode</a></code> from PHP fails.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6278">#6278</a> : Comments were moved above the <code>br</code> tags.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6687">#6687</a> : Empty tag should be removed in inline-style format.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6645">#6645</a> : Allow to configure whether &quot; (double quotes) characters should be encoded in the contents.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6336">#6336</a> : IE: (double)clicking an <code>input type="submit"</code> button submitted the form.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6646">#6646</a> : Context menu was not working for text inputs present in the initial content.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6641">#6641</a> : Copying and pasting links inside the editor was not working.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/4208">#4208</a> : The <code><a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.disableObjectResizing">disableObjectResizing</a></code> setting now works in IE.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6242">#6242</a> : [IE] Editing existing links with <code>href</code> of a relative path mangles containing text.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5930">#5930</a> : [IE] Style definitions are no longer lowercased.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5361">#5361</a> : Preview window's title should reflect the title tag in full page mode.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5522">#5522</a> : [IE] In versions &lt; 8 or compatibility mode, <code>type="text"</code> was missing in text fields.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6126">#6126</a> : [IE] Avoid problems if there are two buttons named "submit".</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6791">#6791</a> : [IE7] Editor did not show up when the name of a replaced textarea matched the name of a <code>meta</code> tag in the page.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5684">#5684</a> : [FF] When <code><a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.forcePasteAsPlainText">forcePasteAsPlainText</a></code> is used, the cursor disappears after paste.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6390">#6390</a> : Prevent toolbar dialog window buttons from being clicked twice.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6684">#6684</a> : [Webkit] Toolbar buttons are not wrapping correctly when the editor is displayed inside a table.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6703">#6703</a> : [IE] editor <code>focus</code> event not fired in an instance, when a dialog window closes.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6873">#6873</a> : Difficult to drag the resize grip of the spell checker dialog window.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6896">#6896</a> : [Webkit] Unable to paste into source area when the editor is maximized.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6020">#6020</a> : The state of the Cut, Copy, and Paste toolbar now matches the state of the context menu buttons.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5256">#5256</a> : JavaScript error thrown when percent (%) sign is used in image URL.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6577">#6577</a> : [FF] Selection error when an element containing the editor instance is hidden.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5500">#5500</a> : [IE] <code>value</code> attribute of text input dialog window field was missing.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6665">#6665</a> : [IE] <code>name</code> field of Link dialog window was missing.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6639">#6639</a> : Line-breaks inside pasted list item from Microsoft Word break the list structure.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6909">#6909</a> : [IE] GIF icons of toolbar button from custom plugins are not diplayed in zoom level 100%.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6860">#6860</a> : [FF] Double-clicking the placeholder element in order to open a Placeholder dialog window throws a JavaScript error.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6630">#6630</a> : Empty <code>pre</code> elements are output differently in various browsers.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6568">#6568</a> : Insert table row/column does not work with spanning.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6735">#6735</a> : Inaccurate read-only selection detection.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6728">#6728</a> : BIDI: Change direction does not work with list nested inside a blockquote.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6432">#6432</a> : Inserting a table in place of a fully selected list results in a JavaScript error.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6438">#6438</a> : [IE] Performance enhancement when typing inside an element with many child nodes.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6970">#6970</a> : [IE] Dialog window shadows were presented inaccurately.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6672">#6672</a> : [IE] Unnecessary <code>br</code> element is no longer inserted after a form.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/7087">#7087</a> : [FF] Sometimes it was not possible to move cursor out of link at the end of block.</li>
+		<li>Updated the following language files:<ul>
+			<li><a href="http://dev.ckeditor.com/ticket/6981">#6981</a> : English (GB);</li>
+			<li><a href="http://dev.ckeditor.com/ticket/6991">#6991</a> : Finnish;</li>
+			<li><a href="http://dev.ckeditor.com/ticket/6357">#6357</a> : French;</li>
+			<li><a href="http://dev.ckeditor.com/ticket/7055">#7055</a> : Polish;</li>
+			<li><a href="http://dev.ckeditor.com/ticket/7068">#7068</a> : German;</li>
+		</ul></li>
+	</ul>
+	<h3>
 			CKEditor 3.5</h3>
 	<p>
@@ -82,5 +161,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/6471">#6471</a> : BIDI: Pressing Decrease Indent in an RTL bulleted list causes incorrect behaviour.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6479">#6479</a> : BIDI: Language direction is not being preserved when pressing Enter after a Paragraph Format was applied.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/6670">#6670</a> : BIDI: Indent & List icons are not reversed when we apply RTL direction to a paragraph with any of Paragraph Formatting options.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6670">#6670</a> : BIDI: Indent &amp; List icons are not reversed when we apply RTL direction to a paragraph with any of Paragraph Formatting options.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6640">#6640</a> : Floating panels are now being closed when switching modes.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/4790">#4790</a> : Remove list with multiple items in <code>enterBr</code> doesnot preserve line breaks.</li>
@@ -163,5 +242,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5626">#5626</a> : CKeditor 3.2.1 : html content attached makes ckeditor crash the browser FF/IE.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6508">#6508</a> : BiDi: Margin mirroring logic doesn't honor CSS direction.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/6043">#6043</a> : BIDI: When we apply RTL direction to a right aligned Paragraph, Paragraph is not moved to the left & Alignment of Paragraph is not changed.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6043">#6043</a> : BIDI: When we apply RTL direction to a right aligned Paragraph, Paragraph is not moved to the left &amp; Alignment of Paragraph is not changed.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6485">#6485</a> : BIDI: When direction is applied on partial selected list, the style is been incorrectly applied to the entire list.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6087">#6087</a> : Cursor of input fields in dialog isn't visible in RTL.</li>
@@ -193,5 +272,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5956">#5956</a> : [FF] It was impossible to create an editor inside an hidden container.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5753">#5753</a> : It was impossible to have a default value for the name field in the select dialog.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/6041">#6041</a> : BIDI: Direction of Increase Indent & Decrease Indent icons are not reversed after changing Lang direction to RTL.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6041">#6041</a> : BIDI: Direction of Increase Indent &amp; Decrease Indent icons are not reversed after changing Lang direction to RTL.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6138">#6138</a> : List indentation is not working.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5649">#5649</a> : Image dialog too wide when many styles are set.</li>
@@ -209,5 +288,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5487">#5487</a> : Fullpage writer problem with line-break.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6197">#6197</a> : The CKEDITOR.loader base path auto-detection was not working with the _source folder.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/6240">#6240</a> : Font Names & Font Sizes should be shown Left Align even for RTL Languages.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6240">#6240</a> : Font Names &amp; Font Sizes should be shown Left Align even for RTL Languages.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5975">#5975</a> : Page-break should have proper Alt Text instead of Unknown object. so that JAWS reads it properly.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6255">#6255</a> : Inserting a page break as the first node triggered an error.</li>
@@ -306,5 +385,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5435">#5435</a> : IE: we can't start Numbered/Bulleted list in Tables by Clicking on Insert/Remove Numbers/Bullets Icon.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5832">#5832</a> : The JQuery adapter sample is not working properly with SSL.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/5728">#5728</a> : Text field & Upload Button in Upload Tab of Image Properties dialog are not shown Properly in Arabic.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5728">#5728</a> : Text field &amp; Upload Button in Upload Tab of Image Properties dialog are not shown Properly in Arabic.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5436">#5436</a> : IE: Cursor goes to next Table Cell after we insert a Smiley in the Table Cell.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5580">#5580</a> : Maximize does not work properly in the Office 2003 and V2 skins.</li>
@@ -362,5 +441,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/5801">#5801</a> : [IE] contentEditable="false" doesn't apply in effect on inline-elements.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5794">#5794</a> : Empty find matching twice results in JavaScript error.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/5732">#5732</a> : If it isn't possible to connect to the SCAYT servers the dialogs might hang in Firefox. Fix for Firefox>=3.6.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5732">#5732</a> : If it isn't possible to connect to the SCAYT servers the dialogs might hang in Firefox. Fix for Firefox&gt;=3.6.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5807">#5807</a> : [FF2] New page command results in uneditable document.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/5807">#5807</a> : [FF2] SCAYT plugin is disabled in Firefox2 due to selection interference.</li>
@@ -808,5 +887,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/3568">#3568</a> : Dialogs now select all text when tabbing to text inputs.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/3727">#3727</a> : Cell Properties dialog was missing color selection option.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/3517">#3517</a> : Fixed "Match cyclic" field in Find & Replace dialog.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/3517">#3517</a> : Fixed "Match cyclic" field in Find &amp; Replace dialog.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/4368">#4368</a> : borderColor table cell attribute haven't worked for none-IE</li>
 		<li><a href="http://dev.ckeditor.com/ticket/4203">#4203</a> : In IE quirks mode + toolbar collapsed + source mode editing block height was incorrect.</li>
@@ -914,5 +993,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/3849">#3849</a> : Fixed IE8 crashes when applying lists and indenting.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/3876">#3876</a> : Changed dialog checkbox and radio labels to explicit labels.</li>
-		<li><a href="http://dev.ckeditor.com/ticket/3843">#3843</a> : Fixed context submenu position in IE 6 & 7 RTL.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/3843">#3843</a> : Fixed context submenu position in IE 6 &amp; 7 RTL.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/3864">#3864</a> : [FF]Document is not editable after inserting element on a fresh page.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/3883">#3883</a> : Fixed removing inline style logic incorrect on Firefox2.</li>
@@ -1057,5 +1136,5 @@
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/INSTALL.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/INSTALL.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/INSTALL.html	(revision 6396)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -85,5 +85,5 @@
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/LICENSE.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/LICENSE.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/LICENSE.html	(revision 6396)
@@ -8,5 +8,5 @@
 
 CKEditor - The text editor for Internet - http://ckeditor.com
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 
 Licensed under the terms of any of the following licenses at your
@@ -1308,5 +1308,5 @@
 		<strong>CKEditor&trade;</strong> - The text editor for Internet&trade; - <a href="http://ckeditor.com">
 			http://ckeditor.com</a><br />
-		Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		Copyright &copy; 2003-2011, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
 	</p>
 	<p>
Index: /CKEditor/branches/versions/3.5.x/_dev/docs_build/docs_build.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/docs_build/docs_build.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/docs_build/docs_build.bat	(revision 6396)
@@ -1,5 +1,5 @@
 @ECHO OFF
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/dtd_test/dtd_test.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/dtd_test/dtd_test.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/dtd_test/dtd_test.html	(revision 6396)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
Index: /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.bat	(revision 6396)
@@ -1,5 +1,5 @@
 @ECHO OFF
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/fixlineends/fixlineends.php	(revision 6396)
@@ -2,5 +2,5 @@
 <?php
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.bat	(revision 6396)
@@ -1,5 +1,5 @@
 @ECHO OFF
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/jslint/lint.sh	(revision 6396)
@@ -2,5 +2,5 @@
 
 #
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 #
Index: /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.bat	(revision 6396)
@@ -1,5 +1,5 @@
 @ECHO OFF
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/langtool/langtool.sh	(revision 6396)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/_dev/packager/package.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/packager/package.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/packager/package.bat	(revision 6396)
@@ -1,4 +1,4 @@
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/packager/package.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/packager/package.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/packager/package.sh	(revision 6396)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/_dev/releaser/ckreleaser.release
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/releaser/ckreleaser.release	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/releaser/ckreleaser.release	(revision 6396)
@@ -1,5 +1,5 @@
 header :
 	'/*'																			+ '\n' +
-	'Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
+	'Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
 	'For licensing, see LICENSE.html or http://ckeditor.com/license'				+ '\n' +
 	'*/'																			+ '\n' +
Index: /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.bat	(revision 6396)
@@ -1,4 +1,4 @@
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/releaser/langtool.sh	(revision 6396)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/_dev/releaser/release.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/releaser/release.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/releaser/release.bat	(revision 6396)
@@ -1,4 +1,4 @@
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
@@ -11,3 +11,3 @@
 :: rmdir /S /Q release
 
-java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.5" ckeditor_3.5 --run-before-release=langtool.bat
+java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.5.1 (SVN)" ckeditor_3.5.1_svn --run-before-release=langtool.bat
Index: /CKEditor/branches/versions/3.5.x/_dev/releaser/release.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_dev/releaser/release.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_dev/releaser/release.sh	(revision 6396)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 
@@ -13,4 +13,4 @@
 
 pushd $DIR
-java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.5" ckeditor_3.5 --run-before-release=$LANGTOOL
+java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.5.1 (SVN)" ckeditor_3.5.1_svn --run-before-release=$LANGTOOL
 popd
Index: /CKEditor/branches/versions/3.5.x/_samples/adobeair/application.xml
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/adobeair/application.xml	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/adobeair/application.xml	(revision 6396)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -10,5 +10,5 @@
 	<filename>CKEditor AIR Samples</filename>
 	<description>This is a sample AIR application of CKEditor.</description>
-	<copyright>Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.</copyright>
+	<copyright>Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.</copyright>
 	<initialWindow>
 		<content>_samples/adobeair/sample.html</content>
Index: /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.bat
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.bat	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.bat	(revision 6396)
@@ -1,5 +1,5 @@
 @ECHO OFF
 ::
-:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 :: For licensing, see LICENSE.html or http://ckeditor.com/license
 ::
Index: /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.sh
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.sh	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/adobeair/run.sh	(revision 6396)
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 # For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/_samples/adobeair/sample.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/adobeair/sample.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/adobeair/sample.html	(revision 6396)
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -18,5 +18,5 @@
 	</style></head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor - Adobe AIR Sample
 	</h1>
@@ -39,8 +39,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://ckeditor.com/'));return false;">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://ckeditor.com/'));return false;">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://cksource.com/'));return false;">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://cksource.com/'));return false;">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/ajax.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/ajax.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/ajax.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Ajax - CKEditor Sample</title>
+	<title>Ajax &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -51,7 +51,18 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Create and Destroy Editor Instances for Ajax Applications
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to create and destroy CKEditor instances on the fly. After the removal of CKEditor the content created inside the editing
+		area will be displayed in a <code>&lt;div&gt;</code> element.
+	</p>
+	<p>
+		For details of how to create this setup check the source code of this sample page
+		for JavaScript code responsible for the creation and destruction of a CKEditor instance.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -64,4 +75,5 @@
 		</noscript>
 	</div>
+	<p>Click the buttons to create and remove a CKEditor instance.</p>
 	<p>
 		<input onclick="createEditor();" type="button" value="Create Editor" />
@@ -81,8 +93,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/api.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/api.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/api.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>API usage - CKEditor Sample</title>
+	<title>API Usage &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -18,10 +18,10 @@
 	//<![CDATA[
 
-// The instanceReady event is fired when an instance of CKEditor has finished
+// The instanceReady event is fired, when an instance of CKEditor has finished
 // its initialization.
 CKEDITOR.on( 'instanceReady', function( ev )
 {
 	// Show the editor name and description in the browser status bar.
-	document.getElementById( 'eMessage' ).innerHTML = '<p>Instance "' + ev.editor.name + '" loaded.<\/p>';
+	document.getElementById( 'eMessage' ).innerHTML = '<p>Instance <code>' + ev.editor.name + '<\/code> loaded.<\/p>';
 
 	// Show this sample buttons.
@@ -38,9 +38,10 @@
 	if ( oEditor.mode == 'wysiwyg' )
 	{
-		// Insert the desired HTML.
+		// Insert HTML code.
+		// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#insertHtml
 		oEditor.insertHtml( value );
 	}
 	else
-		alert( 'You must be on WYSIWYG mode!' );
+		alert( 'You must be in WYSIWYG mode!' );
 }
 
@@ -55,8 +56,9 @@
 	{
 		// Insert as plain text.
+		// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#insertText
 		oEditor.insertText( value );
 	}
 	else
-		alert( 'You must be on WYSIWYG mode!' );
+		alert( 'You must be in WYSIWYG mode!' );
 }
 
@@ -67,5 +69,6 @@
 	var value = document.getElementById( 'htmlArea' ).value;
 
-	// Set the editor contents (replace the actual one).
+	// Set editor contents (replace current contents).
+	// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setData
 	oEditor.setData( value );
 }
@@ -73,8 +76,9 @@
 function GetContents()
 {
-	// Get the editor instance that we want to interact with.
+	// Get the editor instance that you want to interact with.
 	var oEditor = CKEDITOR.instances.editor1;
 
-	// Get the editor contents
+	// Get editor contents
+	// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#getData
 	alert( oEditor.getData() );
 }
@@ -89,8 +93,9 @@
 	{
 		// Execute the command.
+		// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#execCommand
 		oEditor.execCommand( commandName );
 	}
 	else
-		alert( 'You must be on WYSIWYG mode!' );
+		alert( 'You must be in WYSIWYG mode!' );
 }
 
@@ -99,4 +104,7 @@
 	// Get the editor instance that we want to interact with.
 	var oEditor = CKEDITOR.instances.editor1;
+	// Checks whether the current editor contents present changes when compared
+	// to the contents loaded into the editor at startup
+	// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#checkDirty
 	alert( oEditor.checkDirty() );
 }
@@ -106,4 +114,6 @@
 	// Get the editor instance that we want to interact with.
 	var oEditor = CKEDITOR.instances.editor1;
+	// Resets the "dirty state" of the editor (see CheckDirty())
+	// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#resetDirty
 	oEditor.resetDirty();
 	alert( 'The "IsDirty" status has been reset' );
@@ -115,7 +125,18 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Using CKEditor JavaScript API
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to use the
+		<a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html">CKEditor JavaScript API</a>
+		to interact with the editor at runtime.
+	</p>
+	<p>
+		For details on how to create this setup check the source code of this sample page.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -129,8 +150,5 @@
 	</div>
 	<form action="sample_posteddata.php" method="post">
-		<p>
-			This sample shows how to use the CKEditor JavaScript API to interact with the editor
-			at runtime.</p>
-		<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		<textarea cols="100" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 
 		<script type="text/javascript">
@@ -148,12 +166,12 @@
 			<input onclick="GetContents();" type="button" value="Get Editor Contents (XHTML)" />
 			<br />
-			<textarea cols="80" id="htmlArea" rows="3">&lt;h2&gt;Test&lt;/h2&gt;&lt;p&gt;This is some &lt;a href="/Test1.html"&gt;sample&lt;/a&gt; HTML&lt;/p&gt;</textarea>
+			<textarea cols="100" id="htmlArea" rows="3">&lt;h2&gt;Test&lt;/h2&gt;&lt;p&gt;This is some &lt;a href="/Test1.html"&gt;sample&lt;/a&gt; HTML code.&lt;/p&gt;</textarea>
 			<br />
 			<br />
 			<input onclick="InsertText();" type="button" value="Insert Text" />
 			<br />
-			<textarea cols="80" id="txtArea" rows="3">   First line with some leading whitespaces.
+			<textarea cols="100" id="txtArea" rows="3">   First line with some leading whitespaces.
 
-Second line of text preceding by two line-breaks.</textarea>
+Second line of text preceded by two line breaks.</textarea>
 			<br />
 			<input onclick="ExecuteCommand('bold');" type="button" value="Execute &quot;bold&quot; Command" />
@@ -168,8 +186,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/api_dialog.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/api_dialog.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/api_dialog.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Using API to customize dialogs - CKEditor Sample</title>
+	<title>Using API to Customize Dialog Windows &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -107,7 +107,30 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Using CKEditor Dialog API
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to use the
+		<a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html">CKEditor Dialog API</a>
+		to customize CKEditor dialog windows without changing the original editor code.
+		The following customizations are being done in the example below:
+	</p>
+	<ol>
+		<li><strong>Adding dialog window tabs</strong> &ndash; "My Tab" in the "Link" dialog window.</li>
+		<li><strong>Removing a dialog window tab</strong> &ndash; "Target" tab from the "Link" dialog window.</li>
+		<li><strong>Adding dialog window fields</strong> &ndash; "My Custom Field" in the "Link" dialog window.</li>
+		<li><strong>Removing dialog window fields</strong> &ndash; "Link Type" and "Browse Server" in the "Link"
+			dialog window.</li>
+		<li><strong>Setting default values for dialog window fields</strong> &ndash; "URL" field in the
+			"Link" dialog window. </li>
+		<li><strong>Creating a custom dialog window</strong> &ndash; "My Dialog" dialog window opened with the "My Dialog" toolbar button.</li>
+	</ol>
+	<p>
+For details on how to create this setup check the source code of this sample page.
+	</p>
+	</div>
+
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -122,17 +145,4 @@
 	<!-- This <fieldset> holds the HTML that you will usually find in your
 	     pages. -->
-	<p>
-		This sample shows how to use the dialog API to customize dialogs whithout changing
-		the original editor code. The following customizations are being done::</p>
-	<ol>
-		<li><strong>Add dialog pages</strong> ("My Tab" in the Link dialog).</li>
-		<li><strong>Remove a dialog tab</strong> ("Target" tab from the Link dialog).</li>
-		<li><strong>Add dialog fields</strong> ("My Custom Field" into the Link dialog).</li>
-		<li><strong>Remove dialog fields</strong> ("Link Type" and "Browser Server" the Link
-			dialog).</li>
-		<li><strong>Set default values for dialog fields</strong> (for the "URL" field in the
-			Link dialog). </li>
-		<li><strong>Create a custom dialog</strong> ("My Dialog" button).</li>
-	</ol>
 	<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 	<script type="text/javascript">
@@ -182,8 +192,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/api_dialog/my_dialog.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/api_dialog/my_dialog.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/api_dialog/my_dialog.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/advanced.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/advanced.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/advanced.asp	(revision 6396)
@@ -11,5 +11,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -21,5 +21,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor Sample
 	</h1>
@@ -95,8 +95,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/events.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/events.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/events.asp	(revision 6396)
@@ -11,5 +11,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -21,5 +21,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor Sample
 	</h1>
@@ -126,8 +126,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/index.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/index.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/index.html	(revision 6396)
@@ -1,17 +1,17 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>ASP integration Samples List - CKEditor</title>
+	<title>ASP integration Samples List &mdash; CKEditor</title>
 	<link type="text/css" rel="stylesheet" href="../sample.css" />
 </head>
 <body>
-	<h1>
-		CKEditor Samples List for ASP
+	<h1 class="samples">
+		CKEditor Samples List for ASP &mdash; CKEditor Sample
 	</h1>
-	<h2>
+	<h2 class="samples">
 		Overview
 	</h2>
@@ -28,25 +28,25 @@
 	<li>
 		Create an instance of the CKEditor class:
-<pre>dim editor
+<pre class="samples">dim editor
 set editor = New CKEditor</pre>
 	</li>
 	<li>
 		Set the path to the folder where CKEditor has been installed, by default it will use /ckeditor/
-		<pre>editor.basePath = "../../"</pre>
+		<pre class="samples">editor.basePath = "../../"</pre>
 	</li>
 	<li>
 	Now use one of the three main methods to create the CKEditor instances:
-	<ul>
+	<ul class="samples">
 		<li>
 				Replace textarea with id (or name) "editor1".
-			<pre>editor.replaceInstance "editor1"</pre>
+			<pre class="samples">editor.replaceInstance "editor1"</pre>
 		</li>
 		<li>
 			Replace all textareas with CKEditor.
-			<pre>editor.replaceAll empty</pre>
+			<pre class="samples">editor.replaceAll empty</pre>
 		</li>
 		<li>
 			Create a textarea element and attach CKEditor to it.
-			<pre>editor.editor "editor1", initialValue</pre>
+			<pre class="samples">editor.editor "editor1", initialValue</pre>
 		</li>
 	</ul>
@@ -55,5 +55,5 @@
 <p>Before step 3 you can use a number of methods and properties to adjust the behavior of this class and the CKEditor instances
 that will be created:</p>
-<ul>
+<ul class="samples">
 	<li>returnOutput : if set to true, the functions won't dump the code with response.write, but instead they will return it so
 	you can do anything you want</li>
@@ -76,26 +76,26 @@
 </ul>
 
-	<h2>
+	<h2 class="samples">
 		Basic Samples
 	</h2>
-	<ul>
-		<li><a href="replace.asp">Replace existing textareas by code</a></li>
-		<li><a href="replaceAll.asp">Replace all textareas by code</a></li>
-		<li><a href="standalone.asp">Create instances in asp</a></li>
+	<ul class="samples">
+		<li><a class="samples" href="replace.asp">Replace existing textareas by code</a></li>
+		<li><a class="samples" href="replaceAll.asp">Replace all textareas by code</a></li>
+		<li><a class="samples" href="standalone.asp">Create instances in asp</a></li>
 	</ul>
-	<h2>
+	<h2 class="samples">
 		Advanced Samples
 	</h2>
-	<ul>
-		<li><a href="advanced.asp">Advanced example</a></li>
-		<li><a href="events.asp">Listening to events</a></li>
+	<ul class="samples">
+		<li><a class="samples" href="advanced.asp">Advanced example</a></li>
+		<li><a class="samples" href="events.asp">Listening to events</a></li>
 	</ul>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
 		</p>
 	</div>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/replace.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/replace.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/replace.asp	(revision 6396)
@@ -11,5 +11,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -21,5 +21,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor Sample
 	</h1>
@@ -51,8 +51,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/replaceall.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/replaceall.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/replaceall.asp	(revision 6396)
@@ -11,5 +11,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -21,5 +21,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor Sample
 	</h1>
@@ -56,8 +56,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/sample_posteddata.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/sample_posteddata.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/sample_posteddata.asp	(revision 6396)
@@ -3,5 +3,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -13,5 +13,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor - Posted Data
 	</h1>
@@ -30,5 +30,5 @@
 			<tr>
 				<th><%=Server.HTMLEncode( sForm )%></th>
-				<td><pre><%=Server.HTMLEncode( Request.Form(sForm) )%></pre></td>
+				<td><pre class="samples"><%=Server.HTMLEncode( Request.Form(sForm) )%></pre></td>
 			</tr>
 			<% Next %>
@@ -37,8 +37,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
 		</p>
 	</div>
Index: /CKEditor/branches/versions/3.5.x/_samples/asp/standalone.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/asp/standalone.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/asp/standalone.asp	(revision 6396)
@@ -11,5 +11,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
@@ -21,5 +21,5 @@
 </head>
 <body>
-	<h1>
+	<h1 class="samples">
 		CKEditor Sample
 	</h1>
@@ -62,8 +62,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/assets/_posteddata.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/assets/_posteddata.php	(revision 6396)
+++ /CKEditor/branches/versions/3.5.x/_samples/assets/_posteddata.php	(revision 6396)
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<?php
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample &mdash; CKEditor</title>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<link type="text/css" rel="stylesheet" href="sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor &mdash; Posted Data
+	</h1>
+	<table border="1" cellspacing="0" id="outputSample">
+		<colgroup><col width="100" /></colgroup>
+		<thead>
+			<tr>
+				<th>Field&nbsp;Name</th>
+				<th>Value</th>
+			</tr>
+		</thead>
+<?php
+
+if ( isset( $_POST ) )
+	$postArray = &$_POST ;			// 4.1.0 or later, use $_POST
+else
+	$postArray = &$HTTP_POST_VARS ;	// prior to 4.1.0, use HTTP_POST_VARS
+
+foreach ( $postArray as $sForm => $value )
+{
+	if ( get_magic_quotes_gpc() )
+		$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
+	else
+		$postedValue = htmlspecialchars( $value ) ;
+
+?>
+		<tr>
+			<th style="vertical-align: top"><?php echo $sForm?></th>
+			<td><pre class="samples"><?php echo $postedValue?></pre></td>
+		</tr>
+	<?php
+}
+?>
+	</table>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor/branches/versions/3.5.x/_samples/assets/output_xhtml.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/assets/output_xhtml.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/assets/output_xhtml.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.html or http://ckeditor.com/license
  *
Index: /CKEditor/branches/versions/3.5.x/_samples/autogrow.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/autogrow.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/autogrow.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>AutoGrow Plugin - CKEditor Sample</title>
+	<title>AutoGrow Plugin &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,37 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Using AutoGrow Plugin
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor instances to use the
+		<strong>autogrow</strong> plugin that lets the editor window expand and shrink
+		depending on the amount and size of content entered in the editing area.
+	</p>
+	<p>
+		In its default implementation the <strong>AutoGrow feature</strong> can expand the
+		CKEditor window infinitely in order to avoid introducing scrollbars to the editing area.
+	</p>
+	<p>
+		It is also possible to set a maximum height for the editor window. Once CKEditor
+		editing area reaches the value in pixels specified in the <code>autoGrow_maxHeight</code>
+		attribute, scrollbars will be added and the editor window will no longer expand.
+	</p>
+	<p>
+		To add a CKEditor instance using the <strong>autogrow</strong> plugin and its
+		<code>autoGrow_maxHeight</code> attribute, insert the following JavaScript call to your code:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>extraPlugins : 'autogrow',</strong>
+		autoGrow_maxHeight : 800
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor. The maximum height should
+		be given in pixels.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -32,8 +62,6 @@
 	<form action="sample_posteddata.php" method="post">
 		<p>
-			In this sample the AutoGrow plugin is available. It makes the editor grow to fit the size of the content.</p>
-		<p>
 			<label for="editor1">
-				With default configuration:</label><br />
+				CKEditor using the <strong>autogrow</strong> plugin with its default configuration:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -49,5 +77,5 @@
 		<p>
 			<label for="editor2">
-				With maximum height set to 400:</label><br />
+				CKEditor using the <strong>autogrow</strong> plugin with maximum height set to 400:</label>
 			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -69,8 +97,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/divreplace.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/divreplace.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/divreplace.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Replace DIV - CKEditor Sample</title>
+	<title>Replace DIV &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -75,7 +75,18 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Replace DIV with CKEditor on the Fly
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace <code>&lt;div&gt;</code> elements
+		with a CKEditor instance on the fly, following user's doubleclick. The content
+		that was previously placed inside the <code>&lt;div&gt;</code> element will now
+		be moved into CKEditor editing area.
+	</p>
+	<p>
+		For details on how to create this setup check the source code of this sample page.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -89,5 +100,6 @@
 	</div>
 	<p>
-		Double-click on any of the following DIVs to transform them into editor instances.</p>
+		Double-click any of the following <code>&lt;div&gt;</code> elements to transform them into
+		editor instances.</p>
 	<div class="editable">
 		<h3>
@@ -131,8 +143,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/enterkey.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/enterkey.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/enterkey.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>ENTER Key Configuration - CKEditor Sample</title>
+	<title>ENTER Key Configuration &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -40,7 +40,34 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; ENTER Key Configuration
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
+		to perform actions specified in the
+		<a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode"><code>enterMode</code></a>
+		and <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode"><code>shiftEnterMode</code></a>
+		parameters, respectively.
+ 		You can choose from the following options:
+	</p>
+	<ul class="samples">
+		<li><strong><code>ENTER_P</code></strong> &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
+		<li><strong><code>ENTER_BR</code></strong> &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
+		<li><strong><code>ENTER_DIV</code></strong> &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
+	</ul>
+	<p>
+		The sample code below shows how to configure CKEditor to create a <code>&lt;div&gt;</code> block when <em>Enter</em> key is pressed.
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>enterMode : CKEDITOR.ENTER_DIV</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -54,16 +81,16 @@
 	</div>
 	<div style="float: left; margin-right: 20px">
-		When ENTER is pressed:<br />
+		When <em>Enter</em> is pressed:<br />
 		<select id="xEnter" onchange="changeEnter();">
-			<option selected="selected" value="1">Create new &lt;P&gt; (recommended)</option>
-			<option value="3">Create new &lt;DIV&gt;</option>
+			<option selected="selected" value="1">Create a new &lt;P&gt; (recommended)</option>
+			<option value="3">Create a new &lt;DIV&gt;</option>
 			<option value="2">Break the line with a &lt;BR&gt;</option>
 		</select>
 	</div>
 	<div style="float: left">
-		When SHIFT + ENTER is pressed:<br />
+		When <em>Shift+Enter</em> is pressed:<br />
 		<select id="xShiftEnter" onchange="changeEnter();">
-			<option value="1">Create new &lt;P&gt;</option>
-			<option value="3">Create new &lt;DIV&gt;</option>
+			<option value="1">Create a new &lt;P&gt;</option>
+			<option value="3">Create a new &lt;DIV&gt;</option>
 			<option selected="selected" value="2">Break the line with a &lt;BR&gt; (recommended)</option>
 		</select>
@@ -82,8 +109,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/fullpage.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/fullpage.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/fullpage.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Full Page Editing - CKEditor Sample</title>
+	<title>Full Page Editing &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,25 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Full Page Editing
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor to edit entire HTML pages, from the
+		<code>&lt;html&gt;</code> tag to the <code>&lt;/html&gt;</code> tag.
+	</p>
+	<p>
+		CKEditor is inserted with a JavaScript call using the following code:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>fullPage : true</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -31,10 +49,6 @@
 	</div>
 	<form action="sample_posteddata.php" method="post">
-		<p>
-			In this sample the editor is configured to edit entire HTML pages, from the &lt;html&gt;
-			tag to &lt;/html&gt;.</p>
-		<p>
 			<label for="editor1">
-				Editor 1:</label><br />
+				Editor 1:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;html&gt;&lt;head&gt;&lt;title&gt;CKEditor Sample&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</textarea>
 			<script type="text/javascript">
@@ -48,5 +62,4 @@
 			//]]>
 			</script>
-		</p>
 		<p>
 			<input type="submit" value="Submit" />
@@ -56,8 +69,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/index.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/index.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/index.html	(revision 6396)
@@ -1,56 +1,94 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Samples List - CKEditor</title>
+	<title>CKEditor Samples</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<link type="text/css" rel="stylesheet" href="sample.css" />
 </head>
 <body>
-	<h1>
-		CKEditor Samples List
+	<h1 class="samples">
+		CKEditor Samples Site
 	</h1>
-	<h2>
+	<h2 class="samples">
 		Basic Samples
 	</h2>
-	<ul>
-		<li><a href="replacebyclass.html">Replace textareas by class name</a></li>
-		<li><a href="replacebycode.html">Replace textareas by code</a></li>
-		<li><a href="fullpage.html">Full page support (editing from &lt;html&gt; to &lt;/html&gt;)</a></li>
+	<ul class="samples">
+		<li>
+			<a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a><br />
+			Automatic replacement of all textarea elements of a given class with a CKEditor instance.
+		</li>
+		<li><a class="samples" href="replacebycode.html">Replace textarea elements by code</a><br />
+			Replacement of textarea elements with CKEditor instances by using a JavaScript call.
+		</li>
+		<li><a class="samples" href="fullpage.html">Full page support</a><br />
+			CKEditor inserted with a JavaScript call and used to edit the whole page from <code>&lt;html&gt;</code> to <code>&lt;/html&gt;</code>.
+		</li>
 	</ul>
-	<h2>
+	<h2 class="samples">
 		Basic Customization
 	</h2>
-	<ul>
-		<li><a href="skins.html">Skins</a></li>
-		<li><a href="ui_color.html">User Interface Color</a></li>
-		<li><a href="ui_languages.html">User Interface Languages</a></li>
+	<ul class="samples">
+		<li><a class="samples" href="skins.html">Skins</a><br />
+			Changing the CKEditor skin by adjusting a single configuration option.
+		</li>
+		<li><a class="samples" href="ui_color.html">User Interface color</a><br />
+			Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.
+		</li>
+		<li><a class="samples" href="ui_languages.html">User Interface languages</a><br />
+			Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.
+		</li>
+		<li><a class="samples" href="autogrow.html">AutoGrow plugin</a><br />
+			Using the AutoGrow plugin in order to make the editor grow to fit the size of its content.
+		</li>
 	</ul>
-	<h2>
+	<h2 class="samples">
 		Advanced Samples
 	</h2>
-	<ul>
-		<li><a href="divreplace.html">Replace DIV elements on the fly</a>&nbsp; </li>
-		<li><a href="ajax.html">Create and destroy editor instances for Ajax applications</a></li>
-		<li><a href="api.html">Basic usage of the API</a></li>
-		<li><a href="api_dialog.html">Using the JavaScript API to customize dialogs</a></li>
-		<li><a href="enterkey.html">Using the "Enter" key in CKEditor</a></li>
-		<li><a href="sharedspaces.html">Shared toolbars</a></li>
-		<li><a href="jqueryadapter.html">jQuery adapter example</a></li>
-		<li><a href="output_xhtml.html">Output XHTML</a></li>
-		<li><a href="output_html.html">Output HTML</a></li>
-		<li><a href="output_for_flash.html">Output for Flash</a></li>
-		<li><a href="autogrow.html">AutoGrow plugin</a></li>
-		<li><a href="placeholder.html">Placeholder plugin</a></li>
+	<ul class="samples">
+		<li><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a><br />
+			Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.
+		</li>
+		<li><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a><br />
+			Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.
+		</li>
+		<li><a class="samples" href="api.html">Basic usage of the API</a><br />
+			Using the CKEditor JavaScript API to interact with the editor at runtime.
+		</li>
+		<li><a class="samples" href="api_dialog.html">Using the JavaScript API to customize dialog windows</a><br />
+			Using the dialog windows API to customize dialog windows without changing the original editor code.
+		</li>
+		<li><a class="samples" href="enterkey.html">Using the "Enter" key in CKEditor</a><br />
+			 Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.
+		</li>
+		<li><a class="samples" href="sharedspaces.html">Shared toolbars</a><br />
+			Displaying multiple editor instances that share the toolbar and/or the elements path.
+		</li>
+		<li><a class="samples" href="jqueryadapter.html">jQuery adapter example</a><br />
+			Using the jQuery adapter to configure CKEditor.
+		</li>
+		<li><a class="samples" href="output_xhtml.html">Output XHTML</a><br />
+			Configuring CKEditor to produce XHTML 1.1 compliant code.
+		</li>
+		<li><a class="samples" href="output_html.html">Output HTML</a><br />
+			Configuring CKEditor to produce legacy HTML 4 code.
+		</li>
+		<li><a class="samples" href="output_for_flash.html">Output for Flash</a><br />
+			Configuring CKEditor to produce HTML code that can be used with Adobe Flash.
+		</li>
+		<li><a class="samples" href="placeholder.html">Placeholder plugin</a><br />
+			Using the Placeholder plugin to create uneditable sections that can only be created and modified with a proper dialog window.
+		</li>
 	</ul>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
 		</p>
 	</div>
Index: /CKEditor/branches/versions/3.5.x/_samples/jqueryadapter.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/jqueryadapter.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/jqueryadapter.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>jQuery adapter - CKEditor Sample</title>
+	<title>jQuery Adapter &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
@@ -40,7 +40,33 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Using jQuery Adapter
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to load CKEditor and configure it using the
+		<a class="samples" href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter">jQuery adapter</a>.
+		In this case the jQuery adapter is responsible for transforming a <code>&lt;textarea&gt;</code>
+		element into a CKEditor instance and setting the configuration of the toolbar.
+	</p>
+	<p>
+		CKEditor instance with custom configuration set in jQuery can be inserted with the
+		following JavaScript code:
+	</p>
+	<pre class="samples">$(function()
+{
+	var config = {
+		skin:'v2'
+	};
+
+	$('.<em>textarea_class</em>').ckeditor(config);
+});</pre>
+	<p>
+	Note that <code><em>textarea_class</em></code> in the code above is the
+	<code>class</code> attribute of the <code>&lt;textarea&gt;</code> element to be replaced with
+	CKEditor. Any other jQuery selector can be used to match the target element.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -58,5 +84,5 @@
 	<p>
 		<label for="editor1">
-			Editor 1:</label><br />
+			Editor 1:</label>
 		<textarea class="jquery_ckeditor" cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 	</p>
@@ -68,8 +94,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/output_for_flash.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/output_for_flash.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/output_for_flash.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Output for Flash</title>
+	<title>Output for Flash &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -33,7 +33,30 @@
 	</head>
 <body onload="init()">
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Producing Flash Compliant HTML Output
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor to output
+		HTML code that can be used with
+		<a class="samples" href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000922.html">
+		Adobe Flash</a>.
+		The code will contain a subset of standard HTML elements like <code>&lt;b&gt;</code>,
+		<code>&lt;i&gt;</code>, and <code>&lt;p&gt;</code> as well as HTML attributes.
+	</p>
+	<p>
+		To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard
+		JavaScript call, and define CKEditor features to use HTML elements and attributes.
+	</p>
+	<p>
+		For details on how to create this setup check the source code of this sample page.
+	</p>
+	</div>
+	<p>
+		To see how it works, create some content in the editing area of CKEditor on the left
+		and send it to the Flash object on the right side of the page by using the
+		<strong>Send to Flash</strong> button.
+	</p>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -45,10 +68,4 @@
 			</p>
 		</noscript>
-	</div>
-
-	<div>
-		This sample shows CKEditor configured to produce HTML code that can be used with
-		<a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000922.html">
-			Flash</a>.
 	</div>
 	<hr />
@@ -229,5 +246,5 @@
 					}
 
-					if ( element.attributes.style == '' )
+					if ( element.attributes.style === '' )
 						delete element.attributes.style;
 
@@ -251,8 +268,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/output_html.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/output_html.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/output_html.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>HTML compliant output - CKEditor Sample</title>
+	<title>HTML Compliant Output &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,38 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Producing HTML Compliant Output
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor to output valid
+		<a class="samples" href="http://www.w3.org/TR/html401/">HTML 4.01</a> code.
+		Traditional HTML elements like <code>&lt;b&gt;</code>,
+		<code>&lt;i&gt;</code>, and <code>&lt;font&gt;</code> are used in place of
+		<code>&lt;strong&gt;</code>, <code>&lt;em&gt;</code>, and CSS styles.
+	</p>
+	<p>
+		To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard
+		JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes.
+	</p>
+	<p>
+		A snippet of the configuration code can be seen below; check the source of this page for
+		full definition:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		coreStyles_bold	: { element : 'b' },
+		coreStyles_italic : { element : 'i' },
+
+		fontSize_style :
+			{
+				element		: 'font',
+				attributes	: { 'size' : '#(size)' }
+			}
+
+		// More definitions follow.
+	});</pre>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -32,10 +63,6 @@
 	<form action="sample_posteddata.php" method="post">
 		<p>
-			This sample shows CKEditor configured to produce a legacy <strong>HTML4</strong> document. Traditional
-			HTML elements like &lt;b&gt;, &lt;i&gt;, and &lt;font&gt; are used in place of
-			&lt;strong&gt;, &lt;em&gt; and CSS styles.</p>
-		<p>
 			<label for="editor1">
-				Editor 1:</label><br />
+				Editor 1:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;b&gt;sample text&lt;/b&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -253,8 +280,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/output_xhtml.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/output_xhtml.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/output_xhtml.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>XHTML compliant output - CKEditor Sample</title>
+	<title>XHTML Compliant Output &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,33 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Producing XHTML Compliant Output
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor to output valid
+		<a class="samples" href="http://www.w3.org/TR/xhtml11/">XHTML 1.1</a> code.
+		Deprecated elements (<code>&lt;font&gt;</code>, <code>&lt;u&gt;</code>) or attributes
+		(<code>size</code>, <code>face</code>) will be replaced with XHTML compliant code.
+	</p>
+	<p>
+		To add a CKEditor instance outputting valid XHTML code, load the editor using a standard
+		JavaScript call and define CKEditor features to use the XHTML compliant elements and styles.
+	</p>
+	<p>
+		A snippet of the configuration code can be seen below; check the source of this page for
+		full definition:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		contentsCss : 'assets/output_xhtml.css',
+
+		coreStyles_bold	: { element : 'span', attributes : {'class': 'Bold'} },
+		coreStyles_italic : { element : 'span', attributes : {'class': 'Italic'} },
+
+		// More definitions follow.
+	});</pre>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -32,10 +58,6 @@
 	<form action="sample_posteddata.php" method="post">
 		<p>
-			This sample shows CKEditor configured to produce <strong>XHTML 1.1</strong> compliant
-			HTML. Deprecated elements or attributes, like the &lt;font&gt; and &lt;u&gt; elements
-			or the "style" attribute, are avoided.</p>
-		<p>
 			<label for="editor1">
-				Editor 1:</label><br />
+				Editor 1:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;span class="Bold"&gt;sample text&lt;/span&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -153,8 +175,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/advanced.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/advanced.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/advanced.php	(revision 6396)
@@ -1,17 +1,51 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Sample - CKEditor</title>
+	<title>Setting Configuration Options &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
 	<link href="../sample.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Setting Configuration Options
 	</h1>
+	<p>
+		This sample shows how to insert a CKEditor instance with custom configuration options.
+	</p>
+	<p>
+		To set configuration options, use the <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html"><code>config</code></a> property. To set the attributes of a <code>&lt;textarea&gt;</code> element (which is displayed instead of CKEditor in unsupported browsers), use the <code>textareaAttributes</code> property.
+	</p>
+	<pre class="samples">
+&lt;?php
+// Include the CKEditor class.
+include_once "ckeditor/ckeditor.php";
+
+// Create a class instance.
+$CKEditor = new CKEditor();
+
+// Path to the CKEditor directory.
+$CKEditor->basePath = '/ckeditor/';
+
+// Set global configuration (used by every instance of CKEditor).
+$CKEditor-><strong>config['width']</strong> = 600;
+
+// Change default textarea attributes.
+$CKEditor-><strong>textareaAttributes</strong> = array("cols" => 80, "rows" => 10);
+
+// The initial value to be displayed in the editor.
+$initialValue = 'This is some sample text.';
+
+// Create the first instance.
+$CKEditor->editor("textarea_id", $initialValue);
+?&gt;</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>name</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be created.
+	</p>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -24,22 +58,17 @@
 		</noscript>
 	</div>
-	<!-- This <fieldset> holds the HTML that you will usually find in your pages. -->
-	<fieldset title="Output">
-		<legend>Output</legend>
-		<form action="../sample_posteddata.php" method="post">
-			<p>
-				<label>Editor 1:</label><br/>
-			</p>
+	<form action="../sample_posteddata.php" method="post">
+			<label>Editor 1:</label>
 <?php
-// Include CKEditor class.
+// Include the CKEditor class.
 include("../../ckeditor.php");
 
-// Create class instance.
+// Create a class instance.
 $CKEditor = new CKEditor();
 
-// Do not print the code directly to the browser, return it instead
+// Do not print the code directly to the browser, return it instead.
 $CKEditor->returnOutput = true;
 
-// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
 //   $CKEditor->basePath = '/ckeditor/'
 // If not set, CKEditor will try to detect the correct path.
@@ -49,5 +78,5 @@
 $CKEditor->config['width'] = 600;
 
-// Change default textarea attributes
+// Change default textarea attributes.
 $CKEditor->textareaAttributes = array("cols" => 80, "rows" => 10);
 
@@ -55,14 +84,13 @@
 $initialValue = '<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>';
 
-// Create first instance.
+// Create the first instance.
 $code = $CKEditor->editor("editor1", $initialValue);
 
 echo $code;
 ?>
-			<p>
-				<label>Editor 2:</label><br/>
-			</p>
+				<br />
+				<label>Editor 2:</label>
 <?php
-// Configuration that will be used only by the second editor.
+// Configuration that will only be used by the second editor.
 $config['toolbar'] = array(
 	array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
@@ -72,19 +100,18 @@
 $config['skin'] = 'v2';
 
-// Create second instance.
+// Create the second instance.
 echo $CKEditor->editor("editor2", $initialValue, $config);
 ?>
-			<p>
-				<input type="submit" value="Submit"/>
-			</p>
-		</form>
-	</fieldset>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/events.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/events.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/events.php	(revision 6396)
@@ -1,17 +1,47 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Sample - CKEditor</title>
+	<title>Adding Event Handlers &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
 	<link href="../sample.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Adding Event Handlers
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to add event handlers to CKEditor with PHP.
+	</p>
+	<p>
+		A snippet of the configuration code can be seen below; check the source code of this page for
+		the full definition:
+	</p>
+	<pre class="samples">&lt;?php
+// Include the CKEditor class.
+include("ckeditor/ckeditor.php");
+
+// Create a class instance.
+$CKEditor = new CKEditor();
+
+// Path to the CKEditor directory.
+$CKEditor->basePath = '/ckeditor/';
+
+// The initial value to be displayed in the editor.
+$initialValue = 'This is some sample text.';
+
+// Add event handler, <em>instanceReady</em> is fired when editor is loaded.
+$CKEditor-><strong>addEventHandler</strong>('instanceReady', 'function (evt) {
+	alert("Loaded editor: " + evt.editor.name);
+}');
+
+// Create an editor instance.
+$CKEditor->editor("editor1", $initialValue);
+</pre>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -24,24 +54,19 @@
 		</noscript>
 	</div>
-	<!-- This <fieldset> holds the HTML that you will usually find in your pages. -->
-	<fieldset title="Output">
-		<legend>Output</legend>
-		<form action="../sample_posteddata.php" method="post">
-			<p>
-				<label>Editor 1:</label><br/>
-			</p>
+	<form action="../sample_posteddata.php" method="post">
+		<label>Editor 1:</label>
 <?php
 
 /**
- * Adds global event, will hide "Target" tab in Link dialog in all instances.
+ * Adds a global event, will hide the "Target" tab in the "Link" dialog window in all instances.
  */
 function CKEditorHideLinkTargetTab(&$CKEditor) {
 
 	$function = 'function (ev) {
-		// Take the dialog name and its definition from the event data
+		// Take the dialog window name and its definition from the event data.
 		var dialogName = ev.data.name;
 		var dialogDefinition = ev.data.definition;
 
-		// Check if the definition is from the Link dialog.
+		// Check if the definition comes from the "Link" dialog window.
 		if ( dialogName == "link" )
 			dialogDefinition.removeContents("target")
@@ -52,9 +77,9 @@
 
 /**
- * Adds global event, will notify about opened dialog.
+ * Adds a global event, will notify about an open dialog window.
  */
 function CKEditorNotifyAboutOpenedDialog(&$CKEditor) {
 	$function = 'function (evt) {
-		alert("Loading dialog: " + evt.data.name);
+		alert("Loading a dialog window: " + evt.data.name);
 	}';
 
@@ -62,14 +87,14 @@
 }
 
-// Include CKEditor class.
+// Include the CKEditor class.
 include("../../ckeditor.php");
 
-// Create class instance.
+// Create a class instance.
 $CKEditor = new CKEditor();
 
-// Set configuration option for all editors.
+// Set a configuration option for all editors.
 $CKEditor->config['width'] = 750;
 
-// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
 //   $CKEditor->basePath = '/ckeditor/'
 // If not set, CKEditor will try to detect the correct path.
@@ -84,16 +109,15 @@
 }');
 
-// Create first instance.
+// Create the first instance.
 $CKEditor->editor("editor1", $initialValue);
 
-// Clear event handlers, instances that will be created later will not have
+// Clear event handlers. Instances that will be created later will not have
 // the 'instanceReady' listener defined a couple of lines above.
 $CKEditor->clearEventHandlers();
 ?>
-			<p>
-				<label>Editor 2:</label><br/>
-			</p>
+		<br />
+		<label>Editor 2:</label>
 <?php
-// Configuration that will be used only by the second editor.
+// Configuration that will only be used by the second editor.
 $config['width'] = '600';
 $config['toolbar'] = 'Basic';
@@ -103,5 +127,5 @@
 CKEditorNotifyAboutOpenedDialog($CKEditor);
 
-// Event that will be handled only by the second editor.
+// Event that will only be handled by the second editor.
 // Instead of calling addEventHandler(), events may be passed as an argument.
 $events['instanceReady'] = 'function (evt) {
@@ -109,19 +133,18 @@
 }';
 
-// Create second instance.
+// Create the second instance.
 $CKEditor->editor("editor2", $initialValue, $config, $events);
 ?>
-			<p>
-				<input type="submit" value="Submit"/>
-			</p>
-		</form>
-	</fieldset>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/index.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/index.html	(revision 6396)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/index.html	(revision 6396)
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<title>CKEditor Samples &mdash; PHP Integration</title>
+	<link type="text/css" rel="stylesheet" href="../sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Samples List for PHP
+	</h1>
+	<h2 class="samples">
+		Basic Samples
+	</h2>
+	<ul class="samples">
+		<li><a class="samples" href="replace.php">Replace existing textarea elements by code</a><br />
+		Replacement of selected textarea elements with CKEditor instances by using a JavaScript call.</li>
+		<li><a class="samples" href="replaceAll.php">Replace all textarea elements by code</a><br />
+		Replacement of all textarea elements with CKEditor instances by using a JavaScript call.</li>
+		<li><a class="samples" href="standalone.php">Create CKEditor instances in PHP</a><br />
+		Creating a CKEditor instance (no initial textarea element is required).</li>
+	</ul>
+	<h2 class="samples">
+		Advanced Samples
+	</h2>
+	<ul class="samples">
+		<li><a class="samples" href="advanced.php">Setting configuration options</a><br />
+		Creating a CKEditor instance with custom configuration options.</li>
+		<li><a class="samples" href="events.php">Listening to events</a><br />
+		Creating event handlers.
+		</li>
+	</ul>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/replace.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/replace.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/replace.php	(revision 6396)
@@ -1,17 +1,45 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Sample - CKEditor</title>
+	<title>Replace Selected Textarea Elements &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
 	<link href="../sample.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash;  Replace Selected Textarea Elements Using PHP Code
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to replace a selected <code>&lt;textarea&gt;</code> element
+		with a CKEditor instance by using PHP code.
+	</p>
+	<p>
+		To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point
+		after the <code>&lt;textarea&gt;</code> element:
+	</p>
+	<pre class="samples">
+&lt;?php
+// Include the CKEditor class.
+include_once "ckeditor/ckeditor.php";
+
+// Create a class instance.
+$CKEditor = new CKEditor();
+
+// Path to the CKEditor directory.
+$CKEditor->basePath = '/ckeditor/';
+
+// Replace a textarea element with an id (or name) of "textarea_id".
+$CKEditor->replace("textarea_id");
+?&gt;</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -24,38 +52,34 @@
 		</noscript>
 	</div>
-	<!-- This <fieldset> holds the HTML that you will usually find in your pages. -->
-	<fieldset title="Output">
-		<legend>Output</legend>
-		<form action="../sample_posteddata.php" method="post">
-			<p>
-				<label for="editor1">
-					Editor 1:</label><br/>
-				<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
-			</p>
-			<p>
-				<input type="submit" value="Submit"/>
-			</p>
-		</form>
-	</fieldset>
+	<form action="../sample_posteddata.php" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
 	</div>
 	<?php
-	// Include CKEditor class.
+	// Include the CKEditor class.
 	include_once "../../ckeditor.php";
-	// Create class instance.
+	// Create a class instance.
 	$CKEditor = new CKEditor();
-	// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+	// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
 	//   $CKEditor->basePath = '/ckeditor/'
 	// If not set, CKEditor will try to detect the correct path.
 	$CKEditor->basePath = '../../';
-	// Replace textarea with id (or name) "editor1".
+	// Replace a textarea element with an id (or name) of "editor1".
 	$CKEditor->replace("editor1");
 	?>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/replaceall.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/replaceall.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/replaceall.php	(revision 6396)
@@ -1,18 +1,42 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Sample - CKEditor</title>
+	<title>Replace All Textarea Elements &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
 	<link href="../sample.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Replace All Textarea Elements Using PHP Code
 	</h1>
-	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div class="description">
+	<p>
+		This sample shows how to replace all <code>&lt;textarea&gt;</code> elements
+		with CKEditor by using PHP code.
+	</p>
+	<p>
+		To replace all <code>&lt;textarea&gt;</code> elements, place the following call at any point
+		after the last <code>&lt;textarea&gt;</code> element:
+	</p>
+	<pre class="samples">
+&lt;?php
+// Include the CKEditor class.
+include("ckeditor/ckeditor.php");
+
+// Create a class instance.
+$CKEditor = new CKEditor();
+
+// Path to the CKEditor directory.
+$CKEditor->basePath = '/ckeditor/';
+
+// Replace all textarea elements with CKEditor.
+$CKEditor->replaceAll();
+?&gt;</pre>
+	</div>
+	<!-- This <div> holds alert messages to be displayed in the sample page. -->
 	<div id="alerts">
 		<noscript>
@@ -24,43 +48,39 @@
 		</noscript>
 	</div>
-	<!-- This <fieldset> holds the HTML that you will usually find in your pages. -->
-	<fieldset title="Output">
-		<legend>Output</legend>
-		<form action="../sample_posteddata.php" method="post">
-			<p>
-				<label for="editor1">
-					Editor 1:</label><br/>
-				<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
-			</p>
-			<p>
-				<label for="editor2">
-					Editor 2:</label><br/>
-				<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
-			</p>
-			<p>
-				<input type="submit" value="Submit"/>
-			</p>
-		</form>
-	</fieldset>
+	<form action="../sample_posteddata.php" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<label for="editor2">
+				Editor 2:</label>
+			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
 	</div>
 	<?php
-	// Include CKEditor class.
+	// Include the CKEditor class.
 	include("../../ckeditor.php");
-	// Create class instance.
+	// Create a class instance.
 	$CKEditor = new CKEditor();
-	// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+	// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
 	//   $CKEditor->basePath = '/ckeditor/'
 	// If not set, CKEditor will try to detect the correct path.
 	$CKEditor->basePath = '../../';
-	// Replace all textareas with CKEditor.
+	// Replace all textarea elements with CKEditor.
 	$CKEditor->replaceAll();
 	?>
Index: /CKEditor/branches/versions/3.5.x/_samples/php/standalone.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/php/standalone.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/php/standalone.php	(revision 6396)
@@ -1,17 +1,39 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Sample - CKEditor</title>
+	<title>Creating CKEditor Instances &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
 	<link href="../sample.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Creating CKEditor Instances
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to create a CKEditor instance with PHP.
+	</p>
+	<pre class="samples">
+&lt;?php
+include_once "ckeditor/ckeditor.php";
+
+// Create a class instance.
+$CKEditor = new CKEditor();
+
+// Path to the CKEditor directory.
+$CKEditor->basePath = '/ckeditor/';
+
+// Create a textarea element and attach CKEditor to it.
+$CKEditor->editor("textarea_id", "This is some sample text");
+?&gt;</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> and <code>name</code> attribute of
+		the <code>&lt;textarea&gt;</code> element that will be created.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -24,38 +46,35 @@
 		</noscript>
 	</div>
-	<!-- This <fieldset> holds the HTML that you will usually find in your pages. -->
-	<fieldset title="Output">
-		<legend>Output</legend>
-		<form action="../sample_posteddata.php" method="post">
-			<p>
-				<label for="editor1">
-					Editor 1:</label><br/>
-			</p>
-			<p>
-			<?php
-				// Include CKEditor class.
-				include_once "../../ckeditor.php";
-				// The initial value to be displayed in the editor.
-				$initialValue = '<p>This is some <strong>sample text</strong>.</p>';
-				// Create class instance.
-				$CKEditor = new CKEditor();
-				// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
-				//   $CKEditor->basePath = '/ckeditor/'
-				// If not set, CKEditor will try to detect the correct path.
-				$CKEditor->basePath = '../../';
-				// Create textarea element and attach CKEditor to it.
-				$CKEditor->editor("editor1", $initialValue);
-			?>
-				<input type="submit" value="Submit"/>
-			</p>
-		</form>
-	</fieldset>
+	<!-- This <fieldset> holds the HTML code that you will usually find in your pages. -->
+	<form action="../sample_posteddata.php" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+		</p>
+		<p>
+		<?php
+			// Include the CKEditor class.
+			include_once "../../ckeditor.php";
+			// The initial value to be displayed in the editor.
+			$initialValue = '<p>This is some <strong>sample text</strong>.</p>';
+			// Create a class instance.
+			$CKEditor = new CKEditor();
+			// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
+			//   $CKEditor->basePath = '/ckeditor/'
+			// If not set, CKEditor will try to detect the correct path.
+			$CKEditor->basePath = '../../';
+			// Create a textarea element and attach CKEditor to it.
+			$CKEditor->editor("editor1", $initialValue);
+		?>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/placeholder.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/placeholder.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/placeholder.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Placeholder Plugin - CKEditor Sample</title>
+	<title>Placeholder Plugin &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,29 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Using the Placeholder Plugin
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure CKEditor instances to use the
+		<strong>placeholder</strong> plugin that lets you insert read-only elements
+		into your content. To enter and modify read-only text, use the
+		<strong>Create Placeholder</strong> button and its matching dialog window.
+	</p>
+	<p>
+		To add a CKEditor instance that uses the <strong>placeholder</strong> plugin and a related
+		<strong>Create Placeholder</strong> toolbar button, insert the following JavaScript
+		call to your code:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>extraPlugins : 'placeholder',</strong>
+		toolbar : [ [ 'Source', 'Bold' ], [<strong>'CreatePlaceholder'</strong>] ]
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -32,9 +54,6 @@
 	<form action="sample_posteddata.php" method="post">
 		<p>
-			In this sample the Placeholder plugin is available.<br />
-			It replaces text in the format of <code>[[text]]</code> to uneditable sections, and lets the user edit them and create new ones using a dialog.</p>
-		<p>
 			<label for="editor1">
-				With default configuration:</label><br />
+				CKEditor using the <strong>placeholder</strong> plugin with its default configuration:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is a [[sample placeholder]]. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;. &lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -56,8 +75,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/replacebyclass.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/replacebyclass.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/replacebyclass.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Replace Textareas by Class Name - CKEditor Sample</title>
+	<title>Replace Textareas by Class Name &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,22 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Replace Textarea Elements by Class Name
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace all <code>&lt;textarea&gt;</code> elements
+		of a given class with a CKEditor instance.
+	</p>
+	<p>
+		To replace a <code>&lt;textarea&gt;</code> element, simply assign it the <code>ckeditor</code>
+		class, as in the code below:
+	</p>
+	<pre class="samples">&lt;textarea <strong>class="ckeditor</strong>" name="editor1"&gt;&lt;/textarea&gt;</pre>
+	<p>
+		Note that other <code>&lt;textarea&gt;</code> attributes (like <code>id</code> or <code>name</code>) need to be adjusted to your document.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -33,5 +48,5 @@
 		<p>
 			<label for="editor1">
-				Editor 1:</label><br />
+				Editor 1:</label>
 			<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 		</p>
@@ -43,8 +58,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/replacebycode.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/replacebycode.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/replacebycode.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Replace Textarea by Code - CKEditor Sample</title>
+	<title>Replace Textarea by Code &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,24 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Replace Textarea Elements Using JavaScript Code
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace all <code>&lt;textarea&gt;</code> elements
+		with a CKEditor instance by using a JavaScript call.
+	</p>
+	<p>
+		To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point
+		after the <code>&lt;textarea&gt;</code> element or inside a <code>&lt;script&gt;</code> element located
+		in the <code>&lt;head&gt;</code> section of the page, in a <code>window.onload</code> event handler:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>' );</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -33,5 +50,5 @@
 		<p>
 			<label for="editor1">
-				Editor 1:</label><br />
+				Editor 1:</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -51,5 +68,5 @@
 		<p>
 			<label for="editor2">
-				Editor 2:</label><br />
+				Editor 2:</label>
 			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -74,8 +91,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/sample.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/sample.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/sample.css	(revision 6396)
@@ -1,6 +1,54 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
+
+html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre {
+	line-height: 1.5em;
+}
+
+body {
+	padding:10px 30px;
+}
+
+input, textarea, select, option, optgroup, button, td, th {
+	font-size: 100%;
+}
+
+pre,
+code,
+kbd,
+samp,
+tt{
+  font-family: monospace,monospace;
+  font-size: 1em;
+}
+
+h1.samples {
+  color:#0782C1;
+  font-size:200%;
+  font-weight:normal;
+  margin: 0;
+  padding: 0;
+}
+
+h2.samples {
+  color:#000000;
+  font-size:130%;
+  margin: 0;
+  padding: 0;
+}
+
+p, blockquote, address, form, pre, dl, h1.samples, h2.samples {
+	margin-bottom:15px;
+}
+
+ul.samples {
+	margin-bottom:15px;
+}
+
+.clear {
+	clear:both;
+}
 
 fieldset
@@ -8,4 +56,22 @@
 	margin: 0;
 	padding: 10px;
+}
+
+body, input, textarea {
+	color: #333333;
+	font-family: Arial, Helvetica, sans-serif;
+}
+
+body {
+	font-size: 75%;
+}
+
+a.samples {
+	color:#189DE1;
+	text-decoration:none;
+}
+
+a.samples:hover {
+  text-decoration:underline;
 }
 
@@ -16,10 +82,9 @@
 }
 
-pre
+pre.samples
 {
 	background-color: #F7F7F7;
 	border: 1px solid #D7D7D7;
 	overflow: auto;
-	margin: 0;
 	padding: 0.25em;
 }
@@ -80,2 +145,19 @@
 	word-wrap: break-word; /* IE */
 }
+
+.description {
+	border: 1px dotted #B7B7B7;
+	margin-bottom: 10px;
+	padding: 10px 10px 0;
+}
+
+label {
+	display: block;
+	margin-bottom:6px;
+}
+
+.cke_dialog label
+{
+	display: inline;
+	margin-bottom: auto;
+}
Index: /CKEditor/branches/versions/3.5.x/_samples/sample.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/sample.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/sample.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_samples/sample_posteddata.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/sample_posteddata.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/sample_posteddata.php	(revision 6396)
@@ -1,59 +1,21 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<?php
-/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-?>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title>Sample - CKEditor</title>
-	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-	<link type="text/css" rel="stylesheet" href="sample.css" />
-</head>
-<body>
-	<h1>
-		CKEditor - Posted Data
-	</h1>
-	<table border="1" cellspacing="0" id="outputSample">
-		<colgroup><col width="100" /></colgroup>
-		<thead>
-			<tr>
-				<th>Field&nbsp;Name</th>
-				<th>Value</th>
-			</tr>
-		</thead>
-<?php
+<?php /*
 
-if ( isset( $_POST ) )
-	$postArray = &$_POST ;			// 4.1.0 or later, use $_POST
-else
-	$postArray = &$HTTP_POST_VARS ;	// prior to 4.1.0, use HTTP_POST_VARS
 
-foreach ( $postArray as $sForm => $value )
-{
-	if ( get_magic_quotes_gpc() )
-		$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
-	else
-		$postedValue = htmlspecialchars( $value ) ;
+-------------------------------------------------------------------------------------------
+  CKEditor - Posted Data
 
-?>
-		<tr>
-			<th style="vertical-align: top"><?php echo $sForm?></th>
-			<td><pre><?php echo $postedValue?></pre></td>
-		</tr>
-	<?php
-}
-?>
-	</table>
-	<div id="footer">
-		<hr />
-		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
-		</p>
-		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
-		</p>
-	</div>
-</body>
-</html>
+  We are sorry, but your Web server does not support the PHP language used in this script.
+
+  Please note that CKEditor can be used with any other server-side language than just PHP.
+  To save the content created with CKEditor you need to read the POST data on the server
+  side and write it to a file or a database.
+
+
+  Copyright 2003-2011, CKSource - Frederico Knabben.
+  All rights reserved.
+-------------------------------------------------------------------------------------------
+
+
+
+
+*/ include "assets/_posteddata.php"; ?>
Index: /CKEditor/branches/versions/3.5.x/_samples/sharedspaces.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/sharedspaces.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/sharedspaces.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Shared toolbars - CKEditor Sample</title>
+	<title>Shared Toolbars &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -29,7 +29,29 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Shared Toolbars
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to configure multiple CKEditor instances to share some parts of the interface.
+		You can choose to share the toolbar (<code>topSpace</code>), the elements path
+		(<code>bottomSpace</code>), or both.
+	</p>
+	<p>
+		CKEditor instances with shared spaces can be inserted with a JavaScript call using the following code:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>sharedSpaces :
+		{
+			top : 'topSpace',
+			bottom : 'bottomSpace'
+		}</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -47,20 +69,20 @@
 		<p>
 			<label for="editor1">
-				Editor 1 (uses the shared toolbar and element path):</label><br />
+				Editor 1 (uses the shared toolbar and elements path):</label>
 			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 		</p>
 		<p>
 			<label for="editor2">
-				Editor 2 (uses the shared toolbar and element path):</label><br />
+				Editor 2 (uses the shared toolbar and elements path):</label>
 			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 		</p>
 		<p>
 			<label for="editor3">
-				Editor 3 (uses the shared toolbar only):</label><br />
+				Editor 3 (uses the shared toolbar only):</label>
 			<textarea cols="80" id="editor3" name="editor3" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 		</p>
 		<p>
 			<label for="editor4">
-				Editor 4 (no shared spaces):</label><br />
+				Editor 4 (no shared spaces):</label>
 			<textarea cols="80" id="editor4" name="editor4" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 		</p>
@@ -74,8 +96,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/skins.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/skins.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/skins.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>Skins - CKEditor Sample</title>
+	<title>Skins &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,25 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; Skins
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace <code>&lt;textarea&gt;</code> elements
+		with a CKEditor instance using a specific <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.skin">skin</a>.
+	</p>
+	<p>
+		CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>skin : 'office2003'</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
+
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -31,6 +49,7 @@
 	</div>
 	<form action="sample_posteddata.php" method="post">
+	<h2 class="samples">&quot;Kama&quot; skin</h2>
+	<p>The default skin used in CKEditor. No additional configuration is required.</p>
 		<p>
-			"Kama" skin:<br />
 			<textarea cols="80" id="editor_kama" name="editor_kama" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -45,6 +64,11 @@
 			</script>
 		</p>
+	<h2 class="samples">&quot;Office 2003&quot; skin</h2>
+	<p>Use the following code to configure a CKEditor instance to use the "Office 2003" skin.</p>
+<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>skin : 'office2003'</strong>
+	});</pre>
 		<p>
-			"Office 2003" skin:<br />
 			<textarea cols="80" id="editor_office2003" name="editor_office2003" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -59,6 +83,10 @@
 			</script>
 		</p>
-		<p>
-			"V2" skin:<br />
+		<h2 class="samples">&quot;V2&quot; skin</h2>
+		<p>Use the following code to configure a CKEditor instance to use the "V2" skin.</p>
+<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>skin : 'v2'</strong>
+	});</pre>
 			<textarea cols="80" id="editor_v2" name="editor_v2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
 			<script type="text/javascript">
@@ -72,13 +100,12 @@
 			//]]>
 			</script>
-		</p>
 	</form>
 	<div id="footer">
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/ui_color.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/ui_color.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/ui_color.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>UI Color Setting Tool - CKEditor Sample</title>
+	<title>UI Color Picker &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -17,7 +17,40 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; UI Color Picker
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace <code>&lt;textarea&gt;</code> elements
+		with a CKEditor instance with an option to change the color of its user interface.
+	</p>
+	<h2 class="samples">Setting the User Interface Color</h2>
+	<p>
+	To specify the color of the user interface, set the <code>uiColor</code> property:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>uiColor: '#EE0000'</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	<h2 class="samples">Enabling the Color Picker</h2>
+	<p>
+		If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong>
+		toolbar button is added to CKEditor, the user will also be able to pick the color of the
+		UI from the color palette available in the <strong>UI Color Picker</strong> dialog window.
+	</p>
+	<p>
+		To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled,
+		use the following JavaScript call:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		<strong>extraPlugins : 'uicolor',</strong>
+		toolbar : [ [ 'Bold', 'Italic' ], [ <strong>'UIColor'</strong> ] ]
+	});</pre>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -31,5 +64,10 @@
 	</div>
 	<p>
-		Click the UI Color Picker button to test your color preferences at runtime.</p>
+		Click the <strong>UI Color Picker</strong> button to test your color preferences at runtime.
+	</p>
+	<p>
+		The first editor instance includes the <strong>UI Color Picker</strong> toolbar button,
+		but the default UI color is not defined, so the editor uses the skin color.
+	</p>
 	<form action="sample_posteddata.php" method="post">
 	<p>
@@ -52,4 +90,8 @@
 		//]]>
 		</script>
+	</p>
+	<p>
+		The second editor instance includes the <strong>UI Color Picker</strong> toolbar button. The
+		default UI color was defined, so the skin color is not used.
 	</p>
 	<p>
@@ -81,8 +123,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_samples/ui_languages.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_samples/ui_languages.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_samples/ui_languages.html	(revision 6396)
@@ -1,10 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-	<title>User Interface Globalization - CKEditor Sample</title>
+	<title>User Interface Globalization &mdash; CKEditor Sample</title>
 	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
 	<!-- CKReleaser %REMOVE_LINE%
@@ -19,7 +19,38 @@
 </head>
 <body>
-	<h1>
-		CKEditor Sample
+	<h1 class="samples">
+		CKEditor Sample &mdash; User Interface Languages
 	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to automatically replace <code>&lt;textarea&gt;</code> elements
+		with a CKEditor instance with an option to change the language of its user interface.
+	</p>
+	<p>
+		It pulls the language list from CKEditor <code>_languages.js</code> file that contains the list of supported languages and creates
+		a drop-down list that lets the user change the UI language.
+	</p>
+	<p>
+	By default, CKEditor automatically localizes the editor to the language of the user.
+	The UI language can be controlled with two configuration options:
+	<a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.language">
+	<code>language</code></a> and <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.defaultLanguage">
+	<code>defaultLanguage</code></a>. The <code>defaultLanguage</code> setting specifies the
+	default CKEditor language to be used when a localization suitable for user's settings is not available.
+	</p>
+	<p>
+	To specify the user interface language that will be used no matter what language is
+	specified in user's browser or operating system, set the <code>language</code> property:
+	</p>
+	<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
+	{
+		// Load the German interface.
+		<strong>language: 'de'</strong>
+	});</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
 	<!-- This <div> holds alert messages to be display in the sample page. -->
 	<div id="alerts">
@@ -50,5 +81,5 @@
 			</script>
 			<br />
-			<span style="color: #888888">(You may see strange characters if your system doesn't
+			<span style="color: #888888">(You may see strange characters if your system does not
 				support the selected language)</span>
 		</p>
@@ -98,8 +129,8 @@
 		<hr />
 		<p>
-			CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
 		</p>
 		<p id="copy">
-			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
 			Knabben. All rights reserved.
 		</p>
Index: /CKEditor/branches/versions/3.5.x/_source/adapters/jquery.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/adapters/jquery.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/adapters/jquery.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/_bootstrap.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/_bootstrap.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/_bootstrap.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/ajax.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/ajax.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/ajax.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/ckeditor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/ckeditor.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/ckeditor.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -60,7 +60,8 @@
 
 /**
- * Removes and editor instance from the global {@link CKEDITOR} object. his function
- * is available for internal use mainly.
- * @param {CKEDITOR.editor} editor The editor instance to be added.
+ * Removes an editor instance from the global {@link CKEDITOR} object. This function
+ * is available for internal use only. External code must use {@link CKEDITOR.editor.prototype.destroy}
+ * to avoid memory leaks.
+ * @param {CKEDITOR.editor} editor The editor instance to be removed.
  * @example
  */
@@ -132,2 +133,9 @@
  *     });
  */
+
+/**
+ * Fired when the last instance has been destroyed. This event is used to perform
+ * global memory clean up.
+ * @name CKEDITOR#reset
+ * @event
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_base.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_base.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_base.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -81,9 +81,9 @@
 			 *			<li><b>basic_ready</b>: the basic API is ready to load the full core code.</li>
 			 *			<li><b>loading</b>: the full API is being loaded.</li>
-			 *			<li><b>ready</b>: the API can be fully used.</li>
+			 *			<li><b>loaded</b>: the API can be fully used.</li>
 			 *		</ul>
 			 * @type String
 			 * @example
-			 * if ( <b>CKEDITOR.status</b> == 'ready' )
+			 * if ( <b>CKEDITOR.status</b> == 'loaded' )
 			 * {
 			 *     // The API can now be fully used.
Index: /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_basic.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_basic.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/ckeditor_basic.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/command.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/command.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/command.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -189,5 +189,5 @@
 
 /**
- * Indicates the preivous command state.
+ * Indicates the previous command state.
  * @name CKEDITOR.command.prototype.previousState
  * @type Number
Index: /CKEditor/branches/versions/3.5.x/_source/core/commanddefinition.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/commanddefinition.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/commanddefinition.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/config.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/config.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/config.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dataprocessor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dataprocessor.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dataprocessor.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/comment.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/comment.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/comment.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/document.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/document.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/document.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/documentfragment.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/documentfragment.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/documentfragment.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/domobject.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/domobject.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/domobject.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/element.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/element.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/element.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -453,5 +453,6 @@
 
 						case 'hspace':
-							return this.$.hspace;
+						case 'value':
+							return this.$[ name ];
 
 						case 'style':
@@ -921,4 +922,7 @@
 		},
 
+		/**
+		 * @param {Boolean} [inlineOnly=true] Allow only inline elements to be merged.
+		 */
 		mergeSiblings : ( function()
 		{
@@ -960,9 +964,12 @@
 			}
 
-			return function()
-				{
-					// Merge empty links and anchors also. (#5567)
-					if ( !( CKEDITOR.dtd.$removeEmpty[ this.getName() ] || this.is( 'a' ) ) )
+			return function( inlineOnly )
+				{
+					if ( ! ( inlineOnly === false
+							|| CKEDITOR.dtd.$removeEmpty[ this.getName() ]
+							|| this.is( 'a' ) ) )	// Merge empty links and anchors also. (#5567)
+					{
 						return;
+					}
 
 					mergeElements( this, this.getNext(), true );
@@ -1561,4 +1568,6 @@
 			else
 				this.setAttribute( name, value );
+
+			return null;
 		}
 	});
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/elementpath.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/elementpath.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/elementpath.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -7,8 +7,8 @@
 {
 	// Elements that may be considered the "Block boundary" in an element path.
-	var pathBlockElements = { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,dd:1 };
+	var pathBlockElements = { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,dd:1, legend:1 };
 
 	// Elements that may be considered the "Block limit" in an element path.
-	var pathBlockLimitElements = { body:1,div:1,table:1,tbody:1,tr:1,td:1,th:1,caption:1,form:1 };
+	var pathBlockLimitElements = { body:1,div:1,table:1,tbody:1,tr:1,td:1,th:1,caption:1,form:1,fieldset:1 };
 
 	// Check if an element contains any block element.
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/event.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/event.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/event.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/node.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/node.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/node.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -665,11 +665,11 @@
 		 * @example
 		 * // For the following HTML:
-		 * // <div contenteditable="false">Some <b>text</b></div>
+		 * // &lt;div contenteditable="false"&gt;Some &lt;b&gt;text&lt;/b&gt;&lt;/div&gt;
 		 *
-		 * // If "ele" is the above <div>
-		 * ele.getReadOnlyRoot();  // the <div> element
+		 * // If "ele" is the above &lt;div&gt;
+		 * ele.isReadOnly();  // the &lt;div&gt; element
 		 *
-		 * // If "ele" is the above <b>
-		 * ele.getReadOnlyRoot();  // the <div> element
+		 * // If "ele" is the above &lt;b&gt;
+		 * ele.isReadOnly();  // the &lt;div&gt; element
 		 */
 		isReadOnly : function()
@@ -680,5 +680,5 @@
 				if ( current.type == CKEDITOR.NODE_ELEMENT )
 				{
-					if ( current.is( 'body' ) || current.getCustomData( '_cke_notReadOnly' ) )
+					if ( current.is( 'body' ) || !!current.data( 'cke-editable' ) )
 						break;
 
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/nodelist.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/nodelist.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/nodelist.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/range.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/range.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/range.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -33,5 +33,5 @@
 	// contents.
 	// V2
-	var execContentsAction = function( range, action, docFrag )
+	var execContentsAction = function( range, action, docFrag, mergeThen )
 	{
 		range.optimizeBookmark();
@@ -248,5 +248,15 @@
 					endIndex--;
 
-				range.setStart( topEnd.getParent(), endIndex );
+				// Merge splitted parents.
+				if ( mergeThen && topStart.type == CKEDITOR.NODE_ELEMENT )
+				{
+					var span = CKEDITOR.dom.element.createFromHtml( '<span ' +
+						'data-cke-bookmark="1" style="display:none">&nbsp;</span>', range.document );
+					span.insertAfter( topStart );
+					topStart.mergeSiblings( false );
+					range.moveToBookmark( { startNode : span } );
+				}
+				else
+					range.setStart( topEnd.getParent(), endIndex );
 			}
 
@@ -368,11 +378,12 @@
 		/**
 		 * Deletes the content nodes of the range permanently from the DOM tree.
+		 * @param {Boolean} [mergeThen] Merge any splitted elements result in DOM true due to partial selection.
 		 */
-		deleteContents : function()
+		deleteContents : function( mergeThen )
 		{
 			if ( this.collapsed )
 				return;
 
-			execContentsAction( this, 0 );
+			execContentsAction( this, 0, null, mergeThen );
 		},
 
@@ -380,11 +391,12 @@
 		 *  The content nodes of the range are cloned and added to a document fragment,
 		 * meanwhile they're removed permanently from the DOM tree.
+		 * @param {Boolean} [mergeThen] Merge any splitted elements result in DOM true due to partial selection.
 		 */
-		extractContents : function()
+		extractContents : function( mergeThen )
 		{
 			var docFrag = new CKEDITOR.dom.documentFragment( this.document );
 
 			if ( !this.collapsed )
-				execContentsAction( this, 1, docFrag );
+				execContentsAction( this, 1, docFrag, mergeThen );
 
 			return docFrag;
@@ -812,5 +824,10 @@
 		},
 
-		enlarge : function( unit )
+		/**
+		 * Expands the range so that partial units are completely contained.
+		 * @param unit {Number} The unit type to expand with.
+		 * @param {Boolean} [excludeBrs=false] Whether include line-breaks when expanding.
+		 */
+		enlarge : function( unit, excludeBrs )
 		{
 			switch ( unit )
@@ -933,5 +950,6 @@
 								// We need to check for the bookmark attribute because IE insists on
 								// rendering the display:none nodes we use for bookmarks. (#3363)
-								if ( sibling.$.offsetWidth > 0 && !sibling.data( 'cke-bookmark' ) )
+								// Line-breaks (br) are rendered with zero width, which we don't want to include. (#7041)
+								if ( ( sibling.$.offsetWidth > 0 || excludeBrs && sibling.is( 'br' ) ) && !sibling.data( 'cke-bookmark' ) )
 								{
 									// We'll accept it only if we need
@@ -1092,5 +1110,6 @@
 								// We need to check for the bookmark attribute because IE insists on
 								// rendering the display:none nodes we use for bookmarks. (#3363)
-								if ( sibling.$.offsetWidth > 0 && !sibling.data( 'cke-bookmark' ) )
+								// Line-breaks (br) are rendered with zero width, which we don't want to include. (#7041)
+								if ( ( sibling.$.offsetWidth > 0 || excludeBrs && sibling.is( 'br' ) ) && !sibling.data( 'cke-bookmark' ) )
 								{
 									// We'll accept it only if we need
@@ -1756,4 +1775,45 @@
 
 		/**
+		 * Check if elements at which the range boundaries anchor are read-only,
+		 * with respect to "contenteditable" attribute.
+		 */
+		checkReadOnly : ( function()
+		{
+			function checkNodesEditable( node, anotherEnd )
+			{
+				while( node )
+				{
+					if ( node.type == CKEDITOR.NODE_ELEMENT )
+					{
+						if ( node.getAttribute( 'contentEditable' ) == 'false'
+							&& !node.data( 'cke-editable' ) )
+						{
+							return 0;
+						}
+						// Range enclosed entirely in an editable element.
+						else if ( node.is( 'body' )
+							|| node.getAttribute( 'contentEditable' ) == 'true'
+							&& ( node.contains( anotherEnd ) || node.equals( anotherEnd ) ) )
+						{
+							break;
+						}
+					}
+					node = node.getParent();
+				}
+
+				return 1;
+			}
+
+			return function()
+			{
+				var startNode = this.startContainer,
+					endNode = this.endContainer;
+
+				// Check if elements path at both boundaries are editable.
+				return !( checkNodesEditable( startNode, endNode ) && checkNodesEditable( endNode, startNode ) );
+			};
+		})(),
+
+		/**
 		 * Moves the range boundaries to the first/end editing point inside an
 		 * element. For example, in an element tree like
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/rangelist.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/rangelist.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/rangelist.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/text.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/text.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/text.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/walker.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/walker.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/walker.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -422,10 +422,22 @@
 	};
 
+	CKEDITOR.dom.walker.nodeType = function( type, isReject )
+	{
+		return function( node )
+		{
+			return !! ( isReject ^ ( node.type == type ) );
+		};
+	};
+
 	var tailNbspRegex = /^[\t\r\n ]*(?:&nbsp;|\xa0)$/,
-		isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( 1 ),
-		isNotBookmark = CKEDITOR.dom.walker.bookmark( 0, 1 ),
-		fillerEvaluator = function( element )
-		{
-			return isNotBookmark( element ) && isNotWhitespaces( element );
+		isWhitespaces = CKEDITOR.dom.walker.whitespaces(),
+		isBookmark = CKEDITOR.dom.walker.bookmark(),
+		toSkip = function( node )
+		{
+			return isBookmark( node )
+					|| isWhitespaces( node )
+					|| node.type == CKEDITOR.NODE_ELEMENT
+					&& node.getName() in CKEDITOR.dtd.$inline
+					&& !( node.getName() in CKEDITOR.dtd.$empty );
 		};
 
@@ -433,5 +445,9 @@
 	CKEDITOR.dom.element.prototype.getBogus = function()
 	{
-		var tail = this.getLast( fillerEvaluator );
+		// Bogus are not always at the end, e.g. <p><a>text<br /></a></p> (#7070).
+		var tail = this;
+		do { tail = tail.getPreviousSourceNode(); }
+		while ( toSkip( tail ) )
+
 		if ( tail && ( !CKEDITOR.env.ie ? tail.is && tail.is( 'br' )
 				: tail.getText && tailNbspRegex.test( tail.getText() ) ) )
Index: /CKEditor/branches/versions/3.5.x/_source/core/dom/window.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dom/window.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dom/window.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/dtd.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/dtd.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/dtd.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/editor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/editor.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/editor.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -368,5 +368,5 @@
 				// Setup the submit function because it doesn't fire the
 				// "submit" event.
-				if ( !form.$.submit.nodeName )
+				if ( !form.$.submit.nodeName && !form.$.submit.length )
 				{
 					form.$.submit = CKEDITOR.tools.override( form.$.submit, function( originalSubmit )
@@ -548,40 +548,5 @@
 				this.updateElement();
 
-			if ( this.mode )
-			{
-				// ->		currentMode.unload( holderElement );
-				this._.modes[ this.mode ].unload( this.getThemeSpace( 'contents' ) );
-			}
-
-			this.theme.destroy( this );
-
-			var toolbars,
-				index = 0,
-				j,
-				items,
-				instance;
-
-			if ( this.toolbox )
-			{
-				toolbars = this.toolbox.toolbars;
-				for ( ; index < toolbars.length ; index++ )
-				{
-					items = toolbars[ index ].items;
-					for ( j = 0 ; j < items.length ; j++ )
-					{
-						instance = items[ j ];
-						if ( instance.clickFn ) CKEDITOR.tools.removeFunction( instance.clickFn );
-						if ( instance.keyDownFn ) CKEDITOR.tools.removeFunction( instance.keyDownFn );
-
-						if ( instance.index ) CKEDITOR.ui.button._.instances[ instance.index ] = null;
-					}
-				}
-			}
-
-			if ( this.contextMenu )
-				CKEDITOR.tools.removeFunction( this.contextMenu._.functionId );
-
-			if ( this._.filebrowserFn )
-				CKEDITOR.tools.removeFunction( this._.filebrowserFn );
+			this.theme && this.theme.destroy( this );
 
 			this.fire( 'destroy' );
@@ -893,7 +858,7 @@
 /**
  * Fired when all plugins are loaded and initialized into the editor instance.
- * @name CKEDITOR#pluginsLoaded
- * @event
- * @param {CKEDITOR.editor} editor The editor instance that has been destroyed.
+ * @name CKEDITOR.editor#pluginsLoaded
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
  */
 
@@ -942,2 +907,78 @@
  *     alert( 'This is a full page editor' );
  */
+
+/**
+ * Fired when this editor instance is destroyed. The editor at this
+ * point isn't usable and this event should be used to perform clean up
+ * in any plugin.
+ * @name CKEDITOR.editor#destroy
+ * @event
+ */
+
+/**
+ * Internal event to get the current data.
+ * @name CKEDITOR.editor#beforeGetData
+ * @event
+ */
+
+/**
+ * Internal event to perform the #getSnapshot call.
+ * @name CKEDITOR.editor#getSnapshot
+ * @event
+ */
+
+/**
+ * Internal event to perform the #loadSnapshot call.
+ * @name CKEDITOR.editor#loadSnapshot
+ * @event
+ */
+
+
+/**
+ * Event fired before the #getData call returns allowing additional manipulation.
+ * @name CKEDITOR.editor#getData
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {String} data.dataValue The data that will be returned.
+ */
+
+/**
+ * Event fired before the #setData call is executed allowing additional manipulation.
+ * @name CKEDITOR.editor#setData
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {String} data.dataValue The data that will be used.
+ */
+
+/**
+ * Event fired at the end of the #setData call is executed. Usually it's better to use the
+ * {@link CKEDITOR.editor.prototype.dataReady} event.
+ * @name CKEDITOR.editor#afterSetData
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {String} data.dataValue The data that has been set.
+ */
+
+/**
+ * Internal event to perform the #insertHtml call
+ * @name CKEDITOR.editor#insertHtml
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {String} data The HTML to insert.
+ */
+
+/**
+ * Internal event to perform the #insertText call
+ * @name CKEDITOR.editor#insertText
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {String} text The text to insert.
+ */
+
+/**
+ * Internal event to perform the #insertElement call
+ * @name CKEDITOR.editor#insertElement
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {Object} element The element to insert.
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/core/editor_basic.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/editor_basic.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/editor_basic.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -99,4 +99,8 @@
 			element = document.getElementById( elementOrIdOrName );
 
+			// Elements that should go into head are unacceptable (#6791).
+			if ( element && element.tagName.toLowerCase() in {style:1,script:1,base:1,link:1,meta:1,title:1} )
+				element = null;
+
 			// If not found, look for elements by name. In this case we accept only
 			// textareas.
Index: /CKEditor/branches/versions/3.5.x/_source/core/env.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/env.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/env.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/event.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/event.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/event.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/eventInfo.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/eventInfo.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/eventInfo.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/focusmanager.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/focusmanager.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/focusmanager.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/basicwriter.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/basicwriter.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/basicwriter.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/cdata.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/cdata.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/cdata.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/comment.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/comment.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/comment.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/element.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/element.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/element.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -37,7 +37,16 @@
 	var tagName = attributes[ 'data-cke-real-element-type' ] || name;
 
+	// Reveal the real semantic of our internal custom tag name (#6639).
+	var internalTag = tagName.match( /^cke:(.*)/ );
+  	internalTag && ( tagName = internalTag[ 1 ] );
+
 	var dtd			= CKEDITOR.dtd,
-		isBlockLike	= !!( dtd.$nonBodyContent[ tagName ] || dtd.$block[ tagName ] || dtd.$listItem[ tagName ] || dtd.$tableContent[ tagName ] || dtd.$nonEditable[ tagName ] || tagName == 'br' ),
-		isEmpty		= !!dtd.$empty[ name ];
+		isBlockLike	= !!( dtd.$nonBodyContent[ tagName ]
+				|| dtd.$block[ tagName ]
+				|| dtd.$listItem[ tagName ]
+				|| dtd.$tableContent[ tagName ]
+				|| dtd.$nonEditable[ tagName ]
+				|| tagName == 'br' ),
+		isEmpty = !!dtd.$empty[ name ];
 
 	this.isEmpty	= isEmpty;
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/filter.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/filter.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/filter.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/fragment.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/fragment.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -119,5 +119,5 @@
 			target = target || currentNode || fragment;
 
-			// If the target is the fragment and this element can't go inside
+			// If the target is the fragment and this inline element can't go inside
 			// body (if fixForBody).
 			if ( fixForBody && !target.type )
@@ -130,7 +130,6 @@
 				else
 					elementName =  element.name;
-				if ( elementName
-						&& !( elementName in CKEDITOR.dtd.$body )
-						&& !( elementName in CKEDITOR.dtd.$nonBodyContent )  )
+
+				if ( elementName && elementName in CKEDITOR.dtd.$inline )
 				{
 					var savedCurrent = currentNode;
@@ -393,4 +392,5 @@
 		parser.onComment = function( comment )
 		{
+			sendPendingBRs();
 			checkPending();
 			currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
Index: /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/text.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/text.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/htmlparser/text.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/lang.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/lang.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/lang.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/loader.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/loader.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/loader.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/plugindefinition.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/plugindefinition.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/plugindefinition.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/plugins.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/plugins.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/plugins.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/resourcemanager.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/resourcemanager.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/resourcemanager.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/scriptloader.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/scriptloader.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/scriptloader.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -34,6 +34,4 @@
 		 * @param {Object} [scope] The scope ("this" reference) to be used for
 		 *		the callback call. Default to {@link CKEDITOR}.
-		 * @param {Boolean} [noCheck] Indicates that the script must be loaded
-		 *		anyway, not checking if it has already loaded.
 		 * @param {Boolean} [showBusy] Changes the cursor of the document while
 +		 *		the script is loaded.
@@ -54,5 +52,5 @@
 		 *     });
 		 */
-		load : function( scriptUrl, callback, scope, noCheck, showBusy )
+		load : function( scriptUrl, callback, scope, showBusy )
 		{
 			var isString = ( typeof scriptUrl == 'string' );
@@ -112,5 +110,5 @@
 			var loadScript = function( url )
 			{
-				if ( noCheck !== true && uniqueScripts[ url ] )
+				if ( uniqueScripts[ url ] )
 				{
 					checkLoaded( url, true );
@@ -178,22 +176,4 @@
 				loadScript( scriptUrl[ i ] );
 			}
-		},
-
-		/**
-		 * Executes a JavaScript code into the current document.
-		 * @param {String} code The code to be executed.
-		 * @example
-		 * CKEDITOR.scriptLoader.loadCode( 'var x = 10;' );
-		 * alert( x );  // "10"
-		 */
-		loadCode : function( code )
-		{
-			// Create the <script> element.
-			var script = new CKEDITOR.dom.element( 'script' );
-			script.setAttribute( 'type', 'text/javascript' );
-			script.appendText( code );
-
-			// Append it to <head>.
-			script.appendTo( CKEDITOR.document.getHead() );
 		}
 	};
Index: /CKEditor/branches/versions/3.5.x/_source/core/skins.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/skins.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/skins.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/themes.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/themes.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/themes.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/tools.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/tools.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/tools.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/core/ui.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/ui.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/ui.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -117,2 +117,9 @@
  *     });
  */
+
+/**
+ * Internal event fired when a new UI element is ready
+ * @name CKEDITOR.ui#ready
+ * @event
+ * @param {Object} element The new element
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/core/xml.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/xml.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/core/xml.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/lang/_languages.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/_languages.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/_languages.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/lang/_translationstatus.txt
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/_translationstatus.txt	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/_translationstatus.txt	(revision 6396)
@@ -1,3 +1,3 @@
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 
@@ -11,18 +11,18 @@
 cy.js      Found: 435 Missing: 86
 da.js      Found: 388 Missing: 133
-de.js      Found: 510 Missing: 11
+de.js      Found: 521 Missing: 0
 el.js      Found: 274 Missing: 247
 en-au.js   Found: 345 Missing: 176
 en-ca.js   Found: 345 Missing: 176
-en-gb.js   Found: 346 Missing: 175
+en-gb.js   Found: 520 Missing: 1
 eo.js      Found: 247 Missing: 274
-es.js      Found: 513 Missing: 8
+es.js      Found: 521 Missing: 0
 et.js      Found: 289 Missing: 232
 eu.js      Found: 387 Missing: 134
 fa.js      Found: 290 Missing: 231
-fi.js      Found: 513 Missing: 8
+fi.js      Found: 521 Missing: 0
 fo.js      Found: 402 Missing: 119
 fr-ca.js   Found: 289 Missing: 232
-fr.js      Found: 387 Missing: 134
+fr.js      Found: 521 Missing: 0
 gl.js      Found: 271 Missing: 250
 gu.js      Found: 288 Missing: 233
@@ -43,5 +43,5 @@
 nl.js      Found: 513 Missing: 8
 no.js      Found: 452 Missing: 69
-pl.js      Found: 395 Missing: 126
+pl.js      Found: 521 Missing: 0
 pt-br.js   Found: 506 Missing: 15
 pt.js      Found: 270 Missing: 251
Index: /CKEditor/branches/versions/3.5.x/_source/lang/af.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/af.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/af.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ar.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ar.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ar.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'إرساء',
 		flash		: 'رسم متحرك بالفلاش',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'كائن غير معروف'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/bg.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/bg.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/bg.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/bn.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/bn.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/bn.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/bs.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/bs.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/bs.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ca.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ca.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ca.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Àncora',
 		flash		: 'Animació Flash',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Objecte desconegut'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/cs.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/cs.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/cs.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Záložka',
 		flash		: 'Flash animace',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Neznámý objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/cy.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/cy.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/cy.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Angor',
 		flash		: 'Animeiddiant Flash',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Gwrthrych Anhysbys'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/da.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/da.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/da.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anker',
 		flash		: 'Flashanimation',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Ukendt objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/de.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/de.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/de.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -32,9 +32,9 @@
 	 * of reading non-English words. So be careful while translating it.
 	 */
-	editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+	editorTitle : 'WYSIWYG-Editor, %1, drücken Sie ALT 0 für Hilfe.',
 
 	// ARIA descriptions.
-	toolbar	: 'Toolbar', // MISSING
-	editor	: 'Rich Text Editor', // MISSING
+	toolbar	: 'Symbolleiste',
+	editor	: 'WYSIWYG-Editor',
 
 	// Toolbar buttons without dialogs.
@@ -57,5 +57,5 @@
 	horizontalrule	: 'Horizontale Linie einfügen',
 	pagebreak		: 'Seitenumbruch einfügen',
-	pagebreakAlt		: 'Page Break', // MISSING
+	pagebreakAlt		: 'Seitenumbruch einfügen',
 	unlink			: 'Link entfernen',
 	undo			: 'Rückgängig',
@@ -68,5 +68,5 @@
 		url				: 'URL',
 		protocol		: 'Protokoll',
-		upload			: 'Upload',
+		upload			: 'Hochladen',
 		uploadSubmit	: 'Zum Server senden',
 		image			: 'Bild',
@@ -77,5 +77,5 @@
 		textField		: 'Textfeld einzeilig',
 		textarea		: 'Textfeld mehrzeilig',
-		hiddenField		: 'verstecktes Feld',
+		hiddenField		: 'Verstecktes Feld',
 		button			: 'Klickbutton',
 		select			: 'Auswahlfeld',
@@ -99,5 +99,5 @@
 		advancedTab		: 'Erweitert',
 		validateNumberFailed : 'Dieser Wert ist keine Nummer.',
-		confirmNewPage	: 'Alle nicht gespeicherten Änderungen gehen verlohren. Sind sie sicher die neue Seite zu laden?',
+		confirmNewPage	: 'Alle nicht gespeicherten Änderungen gehen verlohren. Sind Sie sicher die neue Seite zu laden?',
 		confirmCancel	: 'Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schließen?',
 		options			: 'Optionen',
@@ -129,5 +129,5 @@
 	contextmenu :
 	{
-		options : 'Context Menu Optionen'
+		options : 'Kontextmenü Optionen'
 	},
 
@@ -149,5 +149,5 @@
 		info		: 'Link-Info',
 		target		: 'Zielseite',
-		upload		: 'Upload',
+		upload		: 'Hochladen',
 		advanced	: 'Erweitert',
 		type		: 'Link-Typ',
@@ -176,5 +176,5 @@
 		acccessKey		: 'Zugriffstaste',
 		name			: 'Name',
-		langCode		: 'Schreibrichtung',
+		langCode		: 'Sprachenkürzel',
 		tabIndex		: 'Tab-Index',
 		advisoryTitle	: 'Titel Beschreibung',
@@ -239,6 +239,6 @@
 		matchCase			: 'Groß-Kleinschreibung beachten',
 		matchWord			: 'Nur ganze Worte suchen',
-		matchCyclic			: 'zyklische suche',
-		replaceAll			: 'Alle Ersetzen',
+		matchCyclic			: 'Zyklische Suche',
+		replaceAll			: 'Alle ersetzen',
 		replaceSuccessMsg	: '%1 vorkommen ersetzt.'
 	},
@@ -261,5 +261,5 @@
 		caption		: 'Überschrift',
 		summary		: 'Inhaltsübersicht',
-		headers		: 'Headers',
+		headers		: 'Kopfzeile',
 		headersNone		: 'Keine',
 		headersColumn	: 'Erste Spalte',
@@ -281,6 +281,6 @@
 			deleteCell		: 'Zelle löschen',
 			merge			: 'Zellen verbinden',
-			mergeRight		: 'nach rechts verbinden',
-			mergeDown		: 'nach unten verbinden',
+			mergeRight		: 'Nach rechts verbinden',
+			mergeDown		: 'Nach unten verbinden',
 			splitHorizontal	: 'Zelle horizontal teilen',
 			splitVertical	: 'Zelle vertikal teilen',
@@ -413,5 +413,5 @@
 		alt			: 'Alternativer Text',
 		lockRatio	: 'Größenverhältnis beibehalten',
-		unlockRatio	: 'Ratio Freischalten',
+		unlockRatio	: 'Ratio freischalten',
 		resetSize	: 'Größe zurücksetzen',
 		border		: 'Rahmen',
@@ -425,5 +425,5 @@
 		validateBorder	: 'Rahmen muß eine ganze Zahl sein.',
 		validateHSpace	: 'Horizontal-Abstand muß eine ganze Zahl sein.',
-		validateVSpace	: 'Vertikal-Abstand must be a whole number.'
+		validateVSpace	: 'Vertikal-Abstand muß eine ganze Zahl sein.'
 	},
 
@@ -434,5 +434,5 @@
 		propertiesTab	: 'Eigenschaften',
 		title			: 'Flash-Eigenschaften',
-		chkPlay			: 'autom. Abspielen',
+		chkPlay			: 'Automatisch Abspielen',
 		chkLoop			: 'Endlosschleife',
 		chkMenu			: 'Flash-Menü aktivieren',
@@ -440,5 +440,5 @@
  		scale			: 'Skalierung',
 		scaleAll		: 'Alles anzeigen',
-		scaleNoBorder	: 'ohne Rand',
+		scaleNoBorder	: 'Ohne Rand',
 		scaleFit		: 'Passgenau',
 		access			: 'Skript Zugang',
@@ -475,5 +475,5 @@
 		toolbar			: 'Rechtschreibprüfung',
 		title			: 'Rechtschreibprüfung',
-		notAvailable	: 'Entschuldigung, aber dieser Dienst steht im Moment nicht zur verfügung.',
+		notAvailable	: 'Entschuldigung, aber dieser Dienst steht im Moment nicht zur Verfügung.',
 		errorLoading	: 'Fehler beim laden des Dienstanbieters: %s.',
 		notInDic		: 'Nicht im Wörterbuch',
@@ -534,6 +534,6 @@
 	{
 		confirmCleanup	: 'Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?',
-		toolbar			: 'aus MS-Word einfügen',
-		title			: 'aus MS-Word einfügen',
+		toolbar			: 'Aus MS-Word einfügen',
+		title			: 'Aus MS-Word einfügen',
 		error			: 'Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen'
 	},
@@ -588,23 +588,23 @@
 		toolbar				: 'Div Container erzeugen',
 		cssClassInputLabel	: 'Stylesheet Klasse',
-		styleSelectLabel	: 'Stil',
+		styleSelectLabel	: 'Style',
 		IdInputLabel		: 'Id',
-		languageCodeInputLabel	: ' Sprache Code',
-		inlineStyleInputLabel	: 'Inline Style',
-		advisoryTitleInputLabel	: 'Beratungs Titel',
+		languageCodeInputLabel	: 'Sprachenkürzel',
+		inlineStyleInputLabel	: 'Inline Stil',
+		advisoryTitleInputLabel	: 'Tooltip',
 		langDirLabel		: 'Sprache Richtung',
 		langDirLTRLabel		: 'Links nach Rechs (LTR)',
 		langDirRTLLabel		: 'Rechs nach Links (RTL)',
-		edit				: 'Div Bearbeiten',
-		remove				: 'Div Entfernen'
+		edit				: 'Div bearbeiten',
+		remove				: 'Div entfernen'
   	},
 
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'IFrame-Eigenschaften',
+		toolbar		: 'IFrame',
+		noUrl		: 'Bitte geben Sie die IFrame-URL an',
+		scrolling	: 'Rollbalken anzeigen',
+		border		: 'Rahmen anzeigen'
 	},
 
@@ -678,5 +678,5 @@
 	scayt :
 	{
-		title			: 'Rechtschreibprüfung während der Texteingabe',
+		title			: 'Rechtschreibprüfung während der Texteingabe (SCAYT)',
 		opera_title		: 'Nicht von Opera unterstützt',
 		enable			: 'SCAYT einschalten',
@@ -726,6 +726,6 @@
 		anchor		: 'Anker',
 		flash		: 'Flash Animation',
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
+		iframe		: 'IFrame',
+		hiddenfield	: 'Verstecktes Feld',
 		unknown		: 'Unbekanntes Objekt'
 	},
Index: /CKEditor/branches/versions/3.5.x/_source/lang/el.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/el.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/el.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/en-au.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/en-au.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/en-au.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/en-ca.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/en-ca.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/en-ca.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/en-gb.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/en-gb.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/en-gb.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -32,9 +32,9 @@
 	 * of reading non-English words. So be careful while translating it.
 	 */
-	editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+	editorTitle : 'Rich text editor, %1, press ALT 0 for help.',
 
 	// ARIA descriptions.
-	toolbar	: 'Toolbar', // MISSING
-	editor	: 'Rich Text Editor', // MISSING
+	toolbar	: 'Toolbar',
+	editor	: 'Rich Text Editor',
 
 	// Toolbar buttons without dialogs.
@@ -94,6 +94,6 @@
 		ok				: 'OK',
 		cancel			: 'Cancel',
-		close			: 'Close', // MISSING
-		preview			: 'Preview', // MISSING
+		close			: 'Close',
+		preview			: 'Preview',
 		generalTab		: 'General',
 		advancedTab		: 'Advanced',
@@ -101,33 +101,33 @@
 		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',
 		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?',
-		options			: 'Options', // MISSING
-		target			: 'Target', // MISSING
-		targetNew		: 'New Window (_blank)', // MISSING
-		targetTop		: 'Topmost Window (_top)', // MISSING
-		targetSelf		: 'Same Window (_self)', // MISSING
-		targetParent	: 'Parent Window (_parent)', // MISSING
-		langDirLTR		: 'Left to Right (LTR)', // MISSING
-		langDirRTL		: 'Right to Left (RTL)', // MISSING
-		styles			: 'Style', // MISSING
-		cssClasses		: 'Stylesheet Classes', // MISSING
-		width			: 'Width', // MISSING
-		height			: 'Height', // MISSING
+		options			: 'Options',
+		target			: 'Target',
+		targetNew		: 'New Window (_blank)',
+		targetTop		: 'Topmost Window (_top)',
+		targetSelf		: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)',
+		langDirLTR		: 'Left to Right (LTR)',
+		langDirRTL		: 'Right to Left (RTL)',
+		styles			: 'Style',
+		cssClasses		: 'Stylesheet Classes',
+		width			: 'Width',
+		height			: 'Height',
 		align			: 'Align',
-		alignLeft		: 'Left', // MISSING
-		alignRight		: 'Right', // MISSING
+		alignLeft		: 'Left',
+		alignRight		: 'Right',
 		alignCenter		: 'Centre',
-		alignTop		: 'Top', // MISSING
-		alignMiddle		: 'Middle', // MISSING
-		alignBottom		: 'Bottom', // MISSING
-		invalidHeight	: 'Height must be a number.', // MISSING
-		invalidWidth	: 'Width must be a number.', // MISSING
+		alignTop		: 'Top',
+		alignMiddle		: 'Middle',
+		alignBottom		: 'Bottom',
+		invalidHeight	: 'Height must be a number.',
+		invalidWidth	: 'Width must be a number.',
 
 		// Put the voice-only part of the label in the span.
-		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>'
 	},
 
 	contextmenu :
 	{
-		options : 'Context Menu Options' // MISSING
+		options : 'Context Menu Options'
 	},
 
@@ -137,5 +137,5 @@
 		toolbar		: 'Insert Special Character',
 		title		: 'Select Special Character',
-		options : 'Special Character Options' // MISSING
+		options : 'Special Character Options'
 	},
 
@@ -152,5 +152,5 @@
 		advanced	: 'Advanced',
 		type		: 'Link Type',
-		toUrl		: 'URL', // MISSING
+		toUrl		: 'URL',
 		toAnchor	: 'Link to anchor in the text',
 		toEmail		: 'E-mail',
@@ -207,23 +207,23 @@
 	list:
 	{
-		numberedTitle		: 'Numbered List Properties', // MISSING
-		bulletedTitle		: 'Bulleted List Properties', // MISSING
-		type				: 'Type', // MISSING
-		start				: 'Start', // MISSING
-		validateStartNumber				:'List start number must be a whole number.', // MISSING
-		circle				: 'Circle', // MISSING
-		disc				: 'Disc', // MISSING
-		square				: 'Square', // MISSING
-		none				: 'None', // MISSING
-		notset				: '<not set>', // MISSING
-		armenian			: 'Armenian numbering', // MISSING
-		georgian			: 'Georgian numbering (an, ban, gan, etc.)', // MISSING
-		lowerRoman			: 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
-		upperRoman			: 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
-		lowerAlpha			: 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
-		upperAlpha			: 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
-		lowerGreek			: 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
-		decimal				: 'Decimal (1, 2, 3, etc.)', // MISSING
-		decimalLeadingZero	: 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+		numberedTitle		: 'Numbered List Properties',
+		bulletedTitle		: 'Bulleted List Properties',
+		type				: 'Type',
+		start				: 'Start',
+		validateStartNumber				:'List start number must be a whole number.',
+		circle				: 'Circle',
+		disc				: 'Disc',
+		square				: 'Square',
+		none				: 'None',
+		notset				: '<not set>',
+		armenian			: 'Armenian numbering',
+		georgian			: 'Georgian numbering (an, ban, gan, etc.)',
+		lowerRoman			: 'Lower Roman (i, ii, iii, iv, v, etc.)',
+		upperRoman			: 'Upper Roman (I, II, III, IV, V, etc.)',
+		lowerAlpha			: 'Lower Alpha (a, b, c, d, e, etc.)',
+		upperAlpha			: 'Upper Alpha (A, B, C, D, E, etc.)',
+		lowerGreek			: 'Lower Greek (alpha, beta, gamma, etc.)',
+		decimal				: 'Decimal (1, 2, 3, etc.)',
+		decimalLeadingZero	: 'Decimal leading zero (01, 02, 03, etc.)'
 	},
 
@@ -256,5 +256,5 @@
 		widthPx		: 'pixels',
 		widthPc		: 'percent',
-		widthUnit	: 'width unit', // MISSING
+		widthUnit	: 'width unit',
 		cellSpace	: 'Cell spacing',
 		cellPad		: 'Cell padding',
@@ -303,5 +303,5 @@
 			invalidRowSpan	: 'Rows span must be a whole number.',
 			invalidColSpan	: 'Columns span must be a whole number.',
-			chooseColor		: 'Choose' // MISSING
+			chooseColor		: 'Choose'
 		},
 
@@ -413,5 +413,5 @@
 		alt			: 'Alternative Text',
 		lockRatio	: 'Lock Ratio',
-		unlockRatio	: 'Unlock Ratio', // MISSING
+		unlockRatio	: 'Unlock Ratio',
 		resetSize	: 'Reset Size',
 		border		: 'Border',
@@ -422,8 +422,8 @@
 		button2Img	: 'Do you want to transform the selected image button on a simple image?',
 		img2Button	: 'Do you want to transform the selected image on a image button?',
-		urlMissing	: 'Image source URL is missing.', // MISSING
-		validateBorder	: 'Border must be a whole number.', // MISSING
-		validateHSpace	: 'HSpace must be a whole number.', // MISSING
-		validateVSpace	: 'VSpace must be a whole number.' // MISSING
+		urlMissing	: 'Image source URL is missing.',
+		validateBorder	: 'Border must be a whole number.',
+		validateHSpace	: 'HSpace must be a whole number.',
+		validateVSpace	: 'VSpace must be a whole number.'
 	},
 
@@ -451,13 +451,13 @@
 		alignTextTop	: 'Text Top',
 		quality			: 'Quality',
-		qualityBest		: 'Best', // MISSING
-		qualityHigh		: 'High', // MISSING
-		qualityAutoHigh	: 'Auto High', // MISSING
-		qualityMedium	: 'Medium', // MISSING
-		qualityAutoLow	: 'Auto Low', // MISSING
-		qualityLow		: 'Low', // MISSING
-		windowModeWindow: 'Window', // MISSING
-		windowModeOpaque: 'Opaque', // MISSING
-		windowModeTransparent : 'Transparent', // MISSING
+		qualityBest		: 'Best',
+		qualityHigh		: 'High',
+		qualityAutoHigh	: 'Auto High',
+		qualityMedium	: 'Medium',
+		qualityAutoLow	: 'Auto Low',
+		qualityLow		: 'Low',
+		windowModeWindow: 'Window',
+		windowModeOpaque: 'Opaque',
+		windowModeTransparent : 'Transparent',
 		windowMode		: 'Window mode',
 		flashvars		: 'Variables for Flash',
@@ -497,10 +497,10 @@
 		toolbar	: 'Smiley',
 		title	: 'Insert a Smiley',
-		options : 'Smiley Options' // MISSING
+		options : 'Smiley Options'
 	},
 
 	elementsPath :
 	{
-		eleLabel : 'Elements path', // MISSING
+		eleLabel : 'Elements path',
 		eleTitle : '%1 element'
 	},
@@ -533,8 +533,8 @@
 	pastefromword :
 	{
-		confirmCleanup	: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		confirmCleanup	: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',
 		toolbar			: 'Paste from Word',
 		title			: 'Paste from Word',
-		error			: 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+		error			: 'It was not possible to clean up the pasted data due to an internal error'
 	},
 
@@ -549,5 +549,5 @@
 		button			: 'Templates',
 		title			: 'Content Templates',
-		options : 'Template Options', // MISSING
+		options : 'Template Options',
 		insertOption	: 'Replace actual contents',
 		selectPromptMsg	: 'Please select the template to open in the editor',
@@ -560,5 +560,5 @@
 	{
 		label		: 'Styles',
-		panelTitle	: 'Formatting Styles', // MISSING
+		panelTitle	: 'Formatting Styles',
 		panelTitle1	: 'Block Styles',
 		panelTitle2	: 'Inline Styles',
@@ -585,26 +585,26 @@
 	div :
 	{
-		title				: 'Create Div Container', // MISSING
-		toolbar				: 'Create Div Container', // MISSING
-		cssClassInputLabel	: 'Stylesheet Classes', // MISSING
-		styleSelectLabel	: 'Style', // MISSING
-		IdInputLabel		: 'Id', // MISSING
-		languageCodeInputLabel	: ' Language Code', // MISSING
-		inlineStyleInputLabel	: 'Inline Style', // MISSING
-		advisoryTitleInputLabel	: 'Advisory Title', // MISSING
-		langDirLabel		: 'Language Direction', // MISSING
-		langDirLTRLabel		: 'Left to Right (LTR)', // MISSING
-		langDirRTLLabel		: 'Right to Left (RTL)', // MISSING
-		edit				: 'Edit Div', // MISSING
-		remove				: 'Remove Div' // MISSING
+		title				: 'Create Div Container',
+		toolbar				: 'Create Div Container',
+		cssClassInputLabel	: 'Stylesheet Classes',
+		styleSelectLabel	: 'Style',
+		IdInputLabel		: 'Id',
+		languageCodeInputLabel	: ' Language Code',
+		inlineStyleInputLabel	: 'Inline Style',
+		advisoryTitleInputLabel	: 'Advisory Title',
+		langDirLabel		: 'Language Direction',
+		langDirLTRLabel		: 'Left to Right (LTR)',
+		langDirRTLLabel		: 'Right to Left (RTL)',
+		edit				: 'Edit Div',
+		remove				: 'Remove Div'
   	},
 
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'IFrame Properties',
+		toolbar		: 'IFrame',
+		noUrl		: 'Please type the iframe URL',
+		scrolling	: 'Enable scrollbars',
+		border		: 'Show frame border'
 	},
 
@@ -612,5 +612,5 @@
 	{
 		label		: 'Font',
-		voiceLabel	: 'Font', // MISSING
+		voiceLabel	: 'Font',
 		panelTitle	: 'Font Name'
 	},
@@ -619,5 +619,5 @@
 	{
 		label		: 'Size',
-		voiceLabel	: 'Font Size', // MISSING
+		voiceLabel	: 'Font Size',
 		panelTitle	: 'Font Size'
 	},
@@ -627,5 +627,5 @@
 		textColorTitle	: 'Text Colour',
 		bgColorTitle	: 'Background Colour',
-		panelTitle		: 'Colors', // MISSING
+		panelTitle		: 'Colours',
 		auto			: 'Automatic',
 		more			: 'More Colours...'
@@ -634,79 +634,79 @@
 	colors :
 	{
-		'000' : 'Black', // MISSING
-		'800000' : 'Maroon', // MISSING
-		'8B4513' : 'Saddle Brown', // MISSING
-		'2F4F4F' : 'Dark Slate Gray', // MISSING
-		'008080' : 'Teal', // MISSING
-		'000080' : 'Navy', // MISSING
-		'4B0082' : 'Indigo', // MISSING
-		'696969' : 'Dark Gray', // MISSING
-		'B22222' : 'Fire Brick', // MISSING
-		'A52A2A' : 'Brown', // MISSING
-		'DAA520' : 'Golden Rod', // MISSING
-		'006400' : 'Dark Green', // MISSING
-		'40E0D0' : 'Turquoise', // MISSING
-		'0000CD' : 'Medium Blue', // MISSING
-		'800080' : 'Purple', // MISSING
-		'808080' : 'Gray', // MISSING
-		'F00' : 'Red', // MISSING
-		'FF8C00' : 'Dark Orange', // MISSING
-		'FFD700' : 'Gold', // MISSING
-		'008000' : 'Green', // MISSING
-		'0FF' : 'Cyan', // MISSING
-		'00F' : 'Blue', // MISSING
-		'EE82EE' : 'Violet', // MISSING
-		'A9A9A9' : 'Dim Gray', // MISSING
-		'FFA07A' : 'Light Salmon', // MISSING
-		'FFA500' : 'Orange', // MISSING
-		'FFFF00' : 'Yellow', // MISSING
-		'00FF00' : 'Lime', // MISSING
-		'AFEEEE' : 'Pale Turquoise', // MISSING
-		'ADD8E6' : 'Light Blue', // MISSING
-		'DDA0DD' : 'Plum', // MISSING
-		'D3D3D3' : 'Light Grey', // MISSING
-		'FFF0F5' : 'Lavender Blush', // MISSING
-		'FAEBD7' : 'Antique White', // MISSING
-		'FFFFE0' : 'Light Yellow', // MISSING
-		'F0FFF0' : 'Honeydew', // MISSING
-		'F0FFFF' : 'Azure', // MISSING
-		'F0F8FF' : 'Alice Blue', // MISSING
-		'E6E6FA' : 'Lavender', // MISSING
-		'FFF' : 'White' // MISSING
+		'000' : 'Black',
+		'800000' : 'Maroon',
+		'8B4513' : 'Saddle Brown',
+		'2F4F4F' : 'Dark Slate Grey',
+		'008080' : 'Teal',
+		'000080' : 'Navy',
+		'4B0082' : 'Indigo',
+		'696969' : 'Dark Grey',
+		'B22222' : 'Fire Brick',
+		'A52A2A' : 'Brown',
+		'DAA520' : 'Golden Rod',
+		'006400' : 'Dark Green',
+		'40E0D0' : 'Turquoise',
+		'0000CD' : 'Medium Blue',
+		'800080' : 'Purple',
+		'808080' : 'Grey',
+		'F00' : 'Red',
+		'FF8C00' : 'Dark Orange',
+		'FFD700' : 'Gold',
+		'008000' : 'Green',
+		'0FF' : 'Cyan',
+		'00F' : 'Blue',
+		'EE82EE' : 'Violet',
+		'A9A9A9' : 'Dim Grey',
+		'FFA07A' : 'Light Salmon',
+		'FFA500' : 'Orange',
+		'FFFF00' : 'Yellow',
+		'00FF00' : 'Lime',
+		'AFEEEE' : 'Pale Turquoise',
+		'ADD8E6' : 'Light Blue',
+		'DDA0DD' : 'Plum',
+		'D3D3D3' : 'Light Grey',
+		'FFF0F5' : 'Lavender Blush',
+		'FAEBD7' : 'Antique White',
+		'FFFFE0' : 'Light Yellow',
+		'F0FFF0' : 'Honeydew',
+		'F0FFFF' : 'Azure',
+		'F0F8FF' : 'Alice Blue',
+		'E6E6FA' : 'Lavender',
+		'FFF' : 'White'
 	},
 
 	scayt :
 	{
-		title			: 'Spell Check As You Type', // MISSING
-		opera_title		: 'Not supported by Opera', // MISSING
-		enable			: 'Enable SCAYT', // MISSING
-		disable			: 'Disable SCAYT', // MISSING
-		about			: 'About SCAYT', // MISSING
-		toggle			: 'Toggle SCAYT', // MISSING
-		options			: 'Options', // MISSING
-		langs			: 'Languages', // MISSING
-		moreSuggestions	: 'More suggestions', // MISSING
-		ignore			: 'Ignore', // MISSING
-		ignoreAll		: 'Ignore All', // MISSING
-		addWord			: 'Add Word', // MISSING
-		emptyDic		: 'Dictionary name should not be empty.', // MISSING
-
-		optionsTab		: 'Options', // MISSING
-		allCaps			: 'Ignore All-Caps Words', // MISSING
-		ignoreDomainNames : 'Ignore Domain Names', // MISSING
-		mixedCase		: 'Ignore Words with Mixed Case', // MISSING
-		mixedWithDigits	: 'Ignore Words with Numbers', // MISSING
-
-		languagesTab	: 'Languages', // MISSING
-
-		dictionariesTab	: 'Dictionaries', // MISSING
-		dic_field_name	: 'Dictionary name', // MISSING
-		dic_create		: 'Create', // MISSING
-		dic_restore		: 'Restore', // MISSING
-		dic_delete		: 'Delete', // MISSING
-		dic_rename		: 'Rename', // MISSING
-		dic_info		: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
-
-		aboutTab		: 'About' // MISSING
+		title			: 'Spell Check As You Type',
+		opera_title		: 'Not supported by Opera',
+		enable			: 'Enable SCAYT',
+		disable			: 'Disable SCAYT',
+		about			: 'About SCAYT',
+		toggle			: 'Toggle SCAYT',
+		options			: 'Options',
+		langs			: 'Languages',
+		moreSuggestions	: 'More suggestions',
+		ignore			: 'Ignore',
+		ignoreAll		: 'Ignore All',
+		addWord			: 'Add Word',
+		emptyDic		: 'Dictionary name should not be empty.',
+
+		optionsTab		: 'Options',
+		allCaps			: 'Ignore All-Caps Words',
+		ignoreDomainNames : 'Ignore Domain Names',
+		mixedCase		: 'Ignore Words with Mixed Case',
+		mixedWithDigits	: 'Ignore Words with Numbers',
+
+		languagesTab	: 'Languages',
+
+		dictionariesTab	: 'Dictionaries',
+		dic_field_name	: 'Dictionary name',
+		dic_create		: 'Create',
+		dic_restore		: 'Restore',
+		dic_delete		: 'Delete',
+		dic_rename		: 'Rename',
+		dic_info		: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.',
+
+		aboutTab		: 'About'
 	},
 
@@ -714,39 +714,39 @@
 	{
 		title		: 'About CKEditor',
-		dlgTitle	: 'About CKEditor', // MISSING
+		dlgTitle	: 'About CKEditor',
 		moreInfo	: 'For licensing information please visit our web site:',
 		copy		: 'Copyright &copy; $1. All rights reserved.'
 	},
 
-	maximize : 'Maximize',
-	minimize : 'Minimize', // MISSING
+	maximize : 'Maximise',
+	minimize : 'Minimise',
 
 	fakeobjects :
 	{
-		anchor		: 'Anchor', // MISSING
-		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
-		unknown		: 'Unknown Object' // MISSING
-	},
-
-	resize : 'Drag to resize', // MISSING
+		anchor		: 'Anchor',
+		flash		: 'Flash Animation',
+		iframe		: 'IFrame',
+		hiddenfield	: 'Hidden Field',
+		unknown		: 'Unknown Object'
+	},
+
+	resize : 'Drag to resize',
 
 	colordialog :
 	{
-		title		: 'Select color', // MISSING
-		options	:	'Color Options', // MISSING
-		highlight	: 'Highlight', // MISSING
-		selected	: 'Selected Color', // MISSING
-		clear		: 'Clear' // MISSING
-	},
-
-	toolbarCollapse	: 'Collapse Toolbar', // MISSING
-	toolbarExpand	: 'Expand Toolbar', // MISSING
+		title		: 'Select colour',
+		options	:	'Colour Options',
+		highlight	: 'Highlight',
+		selected	: 'Selected Colour',
+		clear		: 'Clear'
+	},
+
+	toolbarCollapse	: 'Collapse Toolbar',
+	toolbarExpand	: 'Expand Toolbar',
 
 	bidi :
 	{
-		ltr : 'Text direction from left to right', // MISSING
-		rtl : 'Text direction from right to left' // MISSING
+		ltr : 'Text direction from left to right',
+		rtl : 'Text direction from right to left'
 	}
 };
Index: /CKEditor/branches/versions/3.5.x/_source/lang/en.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/en.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/en.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties',
-		toolbar		: 'iFrame',
-		noUrl		: 'Please type the iFrame URL',
+		title		: 'IFrame Properties',
+		toolbar		: 'IFrame',
+		noUrl		: 'Please type the iframe URL',
 		scrolling	: 'Enable scrollbars',
 		border		: 'Show frame border'
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor',
 		flash		: 'Flash Animation',
-		iframe		: 'iFrame',
+		iframe		: 'IFrame',
 		hiddenfield	: 'Hidden Field',
 		unknown		: 'Unknown Object'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/eo.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/eo.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/eo.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/es.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/es.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/es.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -57,5 +57,5 @@
 	horizontalrule	: 'Insertar Línea Horizontal',
 	pagebreak		: 'Insertar Salto de Página',
-	pagebreakAlt		: 'Page Break', // MISSING
+	pagebreakAlt		: 'Salto de página',
 	unlink			: 'Eliminar Vínculo',
 	undo			: 'Deshacer',
@@ -602,9 +602,9 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'Propiedades de iframe',
+		toolbar		: 'IFrame',
+		noUrl		: 'Por favor, escriba la dirección del iframe',
+		scrolling	: 'Activar barras de desplazamiento',
+		border		: 'Mostrar borde del marco'
 	},
 
@@ -726,6 +726,6 @@
 		anchor		: 'Ancla',
 		flash		: 'Animación flash',
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
+		iframe		: 'IFrame',
+		hiddenfield	: 'Campo oculto',
 		unknown		: 'Objeto desconocido'
 	},
Index: /CKEditor/branches/versions/3.5.x/_source/lang/et.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/et.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/et.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/eu.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/eu.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/eu.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Aingura',
 		flash		: 'Flash Animazioa',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Objektu ezezaguna'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/fa.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/fa.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/fa.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/fi.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/fi.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/fi.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -56,6 +56,6 @@
 	superscript		: 'Yläindeksi',
 	horizontalrule	: 'Lisää murtoviiva',
-	pagebreak		: 'Lisää sivun vaihto',
-	pagebreakAlt		: 'Page Break', // MISSING
+	pagebreak		: 'Lisää sivunvaihto',
+	pagebreakAlt		: 'Sivunvaihto',
 	unlink			: 'Poista linkki',
 	undo			: 'Kumoa',
@@ -602,9 +602,9 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'IFrame-kehyksen ominaisuudet',
+		toolbar		: 'IFrame-kehys',
+		noUrl		: 'Anna IFrame-kehykselle lähdeosoite (src)',
+		scrolling	: 'Näytä vierityspalkit',
+		border		: 'Näytä kehyksen reunat'
 	},
 
@@ -726,6 +726,6 @@
 		anchor		: 'Ankkuri',
 		flash		: 'Flash animaatio',
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
+		iframe		: 'IFrame-kehys',
+		hiddenfield	: 'Piilokenttä',
 		unknown		: 'Tuntematon objekti'
 	},
Index: /CKEditor/branches/versions/3.5.x/_source/lang/fo.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/fo.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/fo.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Ókent Object'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/fr-ca.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/fr-ca.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/fr-ca.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/fr.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/fr.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/fr.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -32,9 +32,9 @@
 	 * of reading non-English words. So be careful while translating it.
 	 */
-	editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+	editorTitle : 'Éditeur de Texte Enrichi, %1, appuyez sur ALT-0 pour l\'aide.',
 
 	// ARIA descriptions.
-	toolbar	: 'Toolbar', // MISSING
-	editor	: 'Rich Text Editor', // MISSING
+	toolbar	: 'Barre d\'outils',
+	editor	: 'Éditeur de Texte Enrichi',
 
 	// Toolbar buttons without dialogs.
@@ -57,5 +57,5 @@
 	horizontalrule	: 'Ligne horizontale',
 	pagebreak		: 'Saut de page',
-	pagebreakAlt		: 'Page Break', // MISSING
+	pagebreakAlt		: 'Saut de page',
 	unlink			: 'Supprimer le lien',
 	undo			: 'Annuler',
@@ -94,21 +94,21 @@
 		ok				: 'OK',
 		cancel			: 'Annuler',
-		close			: 'Close', // MISSING
-		preview			: 'Preview', // MISSING
+		close			: 'Fermer',
+		preview			: 'Aperçu',
 		generalTab		: 'Général',
 		advancedTab		: 'Avancé',
 		validateNumberFailed : 'Cette valeur n\'est pas un nombre.',
-		confirmNewPage	: 'Les changements non sauvegardés seront perdus. Etes-vous sûr de vouloir charger une nouvelle page?',
-		confirmCancel	: 'Certaines options ont été modifiées. Etes-vous sûr de vouloir fermer?',
-		options			: 'Options', // MISSING
-		target			: 'Target', // MISSING
-		targetNew		: 'New Window (_blank)', // MISSING
-		targetTop		: 'Topmost Window (_top)', // MISSING
-		targetSelf		: 'Same Window (_self)', // MISSING
-		targetParent	: 'Parent Window (_parent)', // MISSING
-		langDirLTR		: 'Left to Right (LTR)', // MISSING
-		langDirRTL		: 'Right to Left (RTL)', // MISSING
-		styles			: 'Style', // MISSING
-		cssClasses		: 'Stylesheet Classes', // MISSING
+		confirmNewPage	: 'Les changements non sauvegardés seront perdus. Êtes-vous sûr de vouloir charger une nouvelle page?',
+		confirmCancel	: 'Certaines options ont été modifiées. Êtes-vous sûr de vouloir fermer?',
+		options			: 'Options',
+		target			: 'Cible (Target)',
+		targetNew		: 'Nouvelle fenêtre (_blank)',
+		targetTop		: 'Fenêtre supérieure (_top)',
+		targetSelf		: 'Même fenêtre (_self)',
+		targetParent	: 'Fenêtre parent (_parent)',
+		langDirLTR		: 'Gauche à Droite (LTR)',
+		langDirRTL		: 'Droite à Gauche (RTL)',
+		styles			: 'Style',
+		cssClasses		: 'Classes de style',
 		width			: 'Largeur',
 		height			: 'Hauteur',
@@ -129,5 +129,5 @@
 	contextmenu :
 	{
-		options : 'Context Menu Options' // MISSING
+		options : 'Options du menu contextuel'
 	},
 
@@ -137,5 +137,5 @@
 		toolbar		: 'Insérer un caractère spécial',
 		title		: 'Sélectionnez un caractère',
-		options : 'Special Character Options' // MISSING
+		options : 'Options des caractères spéciaux'
 	},
 
@@ -152,5 +152,5 @@
 		advanced	: 'Avancé',
 		type		: 'Type de lien',
-		toUrl		: 'URL', // MISSING
+		toUrl		: 'URL',
 		toAnchor	: 'Transformer le lien en ancre dans le texte',
 		toEmail		: 'E-mail',
@@ -180,5 +180,5 @@
 		advisoryTitle	: 'Description (title)',
 		advisoryContentType	: 'Type de contenu (ex: text/html)',
-		cssClasses		: 'Classe du CSS',
+		cssClasses		: 'Classe CSS',
 		charset			: 'Charset de la cible',
 		styles			: 'Style',
@@ -201,5 +201,5 @@
 		title		: 'Propriétés de l\'ancre',
 		name		: 'Nom de l\'ancre',
-		errorName	: 'Veuillez entrer le nom de l\'ancre'
+		errorName	: 'Veuillez entrer le nom de l\'ancre.'
 	},
 
@@ -207,23 +207,23 @@
 	list:
 	{
-		numberedTitle		: 'Numbered List Properties', // MISSING
-		bulletedTitle		: 'Bulleted List Properties', // MISSING
-		type				: 'Type', // MISSING
-		start				: 'Start', // MISSING
-		validateStartNumber				:'List start number must be a whole number.', // MISSING
-		circle				: 'Circle', // MISSING
-		disc				: 'Disc', // MISSING
-		square				: 'Square', // MISSING
-		none				: 'None', // MISSING
-		notset				: '<not set>', // MISSING
-		armenian			: 'Armenian numbering', // MISSING
-		georgian			: 'Georgian numbering (an, ban, gan, etc.)', // MISSING
-		lowerRoman			: 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
-		upperRoman			: 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
-		lowerAlpha			: 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
-		upperAlpha			: 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
-		lowerGreek			: 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
-		decimal				: 'Decimal (1, 2, 3, etc.)', // MISSING
-		decimalLeadingZero	: 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+		numberedTitle		: 'Propriétés de la liste numérotée',
+		bulletedTitle		: 'Propriétés de la liste à puces',
+		type				: 'Type',
+		start				: 'Début',
+		validateStartNumber				:'Le premier élément de la liste doit être un nombre entier.',
+		circle				: 'Cercle',
+		disc				: 'Disque',
+		square				: 'Carré',
+		none				: 'Aucun',
+		notset				: '<Non défini>',
+		armenian			: 'Numération arménienne',
+		georgian			: 'Numération géorgienne (an, ban, gan, etc.)',
+		lowerRoman			: 'Nombres romains minuscules (i, ii, iii, iv, v, etc.)',
+		upperRoman			: 'Nombres romains majuscules (I, II, III, IV, V, etc.)',
+		lowerAlpha			: 'Alphabétique minuscules (a, b, c, d, e, etc.)',
+		upperAlpha			: 'Alphabétique majuscules (A, B, C, D, E, etc.)',
+		lowerGreek			: 'Grec minuscule (alpha, beta, gamma, etc.)',
+		decimal				: 'Décimal (1, 2, 3, etc.)',
+		decimalLeadingZero	: 'Décimal précédé par un 0 (01, 02, 03, etc.)'
 	},
 
@@ -256,5 +256,5 @@
 		widthPx		: 'pixels',
 		widthPc		: '% pourcents',
-		widthUnit	: 'width unit', // MISSING
+		widthUnit	: 'unité de largeur',
 		cellSpace	: 'Espacement des cellules',
 		cellPad		: 'Marge interne des cellules',
@@ -285,9 +285,9 @@
 			splitHorizontal	: 'Fractionner horizontalement',
 			splitVertical	: 'Fractionner verticalement',
-			title			: 'Propriétés de Cellule',
-			cellType		: 'Type de Cellule',
-			rowSpan			: 'Fusion de Lignes',
-			colSpan			: 'Fusion de Colonnes',
-			wordWrap		: 'Word Wrap', // MISSING
+			title			: 'Propriétés de la cellule',
+			cellType		: 'Type de cellule',
+			rowSpan			: 'Fusion de lignes',
+			colSpan			: 'Fusion de colonnes',
+			wordWrap		: 'Césure',
 			hAlign			: 'Alignement Horizontal',
 			vAlign			: 'Alignement Vertical',
@@ -303,5 +303,5 @@
 			invalidRowSpan	: 'La fusion de lignes doit être un nombre entier.',
 			invalidColSpan	: 'La fusion de colonnes doit être un nombre entier.',
-			chooseColor		: 'Choose' // MISSING
+			chooseColor		: 'Choisissez'
 		},
 
@@ -412,6 +412,6 @@
 		upload		: 'Envoyer',
 		alt			: 'Texte de remplacement',
-		lockRatio	: 'Garder les proportions',
-		unlockRatio	: 'Unlock Ratio', // MISSING
+		lockRatio	: 'Conserver les proportions',
+		unlockRatio	: 'Ne pas conserver les proportions',
 		resetSize	: 'Taille d\'origine',
 		border		: 'Bordure',
@@ -422,8 +422,8 @@
 		button2Img	: 'Voulez-vous transformer le bouton image sélectionné en simple image?',
 		img2Button	: 'Voulez-vous transformer l\'image en bouton image?',
-		urlMissing	: 'Image source URL is missing.', // MISSING
-		validateBorder	: 'Border must be a whole number.', // MISSING
-		validateHSpace	: 'HSpace must be a whole number.', // MISSING
-		validateVSpace	: 'VSpace must be a whole number.' // MISSING
+		urlMissing	: 'L\'adresse source de l\'image est manquante.',
+		validateBorder	: 'Bordure doit être un entier.',
+		validateHSpace	: 'HSpace doit être un entier.',
+		validateVSpace	: 'VSpace doit être un entier.'
 	},
 
@@ -477,5 +477,5 @@
 		notAvailable	: 'Désolé, le service est indisponible actuellement.',
 		errorLoading	: 'Erreur du chargement du service depuis l\'hôte : %s.',
-		notInDic		: 'N\'existe pas dans le dictionnaire',
+		notInDic		: 'N\'existe pas dans le dictionnaire.',
 		changeTo		: 'Modifier pour',
 		btnIgnore		: 'Ignorer',
@@ -486,8 +486,8 @@
 		noSuggestions	: '- Aucune suggestion -',
 		progress		: 'Vérification de l\'orthographe en cours...',
-		noMispell		: 'Vérification de l\'orthographe terminée : aucune erreur trouvée',
-		noChanges		: 'Vérification de l\'orthographe terminée : Aucun mot corrigé',
-		oneChange		: 'Vérification de l\'orthographe terminée : Un seul mot corrigé',
-		manyChanges		: 'Vérification de l\'orthographe terminée : %1 mots corrigés',
+		noMispell		: 'Vérification de l\'orthographe terminée : aucune erreur trouvée.',
+		noChanges		: 'Vérification de l\'orthographe terminée : Aucun mot corrigé.',
+		oneChange		: 'Vérification de l\'orthographe terminée : Un seul mot corrigé.',
+		manyChanges		: 'Vérification de l\'orthographe terminée : %1 mots corrigés.',
 		ieSpellDownload	: 'La vérification d\'orthographe n\'est pas installée. Voulez-vous la télécharger maintenant?'
 	},
@@ -495,12 +495,12 @@
 	smiley :
 	{
-		toolbar	: 'Emoticon',
-		title	: 'Insérer un émoticon',
-		options : 'Smiley Options' // MISSING
+		toolbar	: 'Émoticones',
+		title	: 'Insérer un émoticone',
+		options : 'Options des émoticones'
 	},
 
 	elementsPath :
 	{
-		eleLabel : 'Elements path', // MISSING
+		eleLabel : 'Elements path',
 		eleTitle : '%1 éléments'
 	},
@@ -526,7 +526,7 @@
 		cutError	: 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement l\'opération "couper". Veuillez utiliser le raccourci clavier (Ctrl/Cmd+X).',
 		copyError	: 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement des opérations de copie. Veuillez utiliser le raccourci clavier (Ctrl/Cmd+C).',
-		pasteMsg	: 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl/Cmd+V</strong>) et cliquez sur OK',
+		pasteMsg	: 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl/Cmd+V</strong>) et cliquez sur OK.',
 		securityMsg	: 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur n\'est pas en mesure d\'accéder directement à vos données contenues dans le presse-papier. Vous devriez réessayer de coller les données dans la fenêtre.',
-		pasteArea	: 'Paste Area' // MISSING
+		pasteArea	: 'Coller la zone'
 	},
 
@@ -536,5 +536,5 @@
 		toolbar			: 'Coller depuis Word',
 		title			: 'Coller depuis Word',
-		error			: 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+		error			: 'Il n\'a pas été possible de nettoyer les données collées à la suite d\'une erreur interne.'
 	},
 
@@ -549,5 +549,5 @@
 		button			: 'Modèles',
 		title			: 'Contenu des modèles',
-		options : 'Template Options', // MISSING
+		options : 'Options des modèles',
 		insertOption	: 'Remplacer le contenu actuel',
 		selectPromptMsg	: 'Veuillez sélectionner le modèle pour l\'ouvrir dans l\'éditeur',
@@ -560,5 +560,5 @@
 	{
 		label		: 'Styles',
-		panelTitle	: 'Formatting Styles', // MISSING
+		panelTitle	: 'Styles de mise en page',
 		panelTitle1	: 'Styles de blocs',
 		panelTitle2	: 'Styles en ligne',
@@ -585,26 +585,26 @@
 	div :
 	{
-		title				: 'Create Div Container', // MISSING
-		toolbar				: 'Create Div Container', // MISSING
-		cssClassInputLabel	: 'Stylesheet Classes', // MISSING
-		styleSelectLabel	: 'Style', // MISSING
-		IdInputLabel		: 'Id', // MISSING
-		languageCodeInputLabel	: ' Language Code', // MISSING
-		inlineStyleInputLabel	: 'Inline Style', // MISSING
-		advisoryTitleInputLabel	: 'Advisory Title', // MISSING
-		langDirLabel		: 'Language Direction', // MISSING
-		langDirLTRLabel		: 'Left to Right (LTR)', // MISSING
-		langDirRTLLabel		: 'Right to Left (RTL)', // MISSING
-		edit				: 'Edit Div', // MISSING
-		remove				: 'Remove Div' // MISSING
+		title				: 'Créer un container DIV',
+		toolbar				: 'Créer un container DIV',
+		cssClassInputLabel	: 'Classe CSS',
+		styleSelectLabel	: 'Style',
+		IdInputLabel		: 'Id',
+		languageCodeInputLabel	: 'Code de langue',
+		inlineStyleInputLabel	: 'Style en ligne',
+		advisoryTitleInputLabel	: 'Advisory Title',
+		langDirLabel		: 'Sens d\'écriture',
+		langDirLTRLabel		: 'Gauche à droite (LTR)',
+		langDirRTLLabel		: 'Droite à gauche (RTL)',
+		edit				: 'Éditer la DIV',
+		remove				: 'Enlever la DIV'
   	},
 
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'Propriétés de la IFrame',
+		toolbar		: 'IFrame',
+		noUrl		: 'Veuillez entrer l\'adresse du lien de la IFrame',
+		scrolling	: 'Permettre à la barre de défilement',
+		border		: 'Afficher une bordure de la IFrame'
 	},
 
@@ -627,5 +627,5 @@
 		textColorTitle	: 'Couleur de texte',
 		bgColorTitle	: 'Couleur d\'arrière plan',
-		panelTitle		: 'Colors', // MISSING
+		panelTitle		: 'Couleurs',
 		auto			: 'Automatique',
 		more			: 'Plus de couleurs...'
@@ -634,50 +634,50 @@
 	colors :
 	{
-		'000' : 'Black', // MISSING
-		'800000' : 'Maroon', // MISSING
-		'8B4513' : 'Saddle Brown', // MISSING
-		'2F4F4F' : 'Dark Slate Gray', // MISSING
-		'008080' : 'Teal', // MISSING
-		'000080' : 'Navy', // MISSING
-		'4B0082' : 'Indigo', // MISSING
-		'696969' : 'Dark Gray', // MISSING
-		'B22222' : 'Fire Brick', // MISSING
-		'A52A2A' : 'Brown', // MISSING
-		'DAA520' : 'Golden Rod', // MISSING
-		'006400' : 'Dark Green', // MISSING
-		'40E0D0' : 'Turquoise', // MISSING
-		'0000CD' : 'Medium Blue', // MISSING
-		'800080' : 'Purple', // MISSING
-		'808080' : 'Gray', // MISSING
-		'F00' : 'Red', // MISSING
-		'FF8C00' : 'Dark Orange', // MISSING
-		'FFD700' : 'Gold', // MISSING
-		'008000' : 'Green', // MISSING
-		'0FF' : 'Cyan', // MISSING
-		'00F' : 'Blue', // MISSING
-		'EE82EE' : 'Violet', // MISSING
-		'A9A9A9' : 'Dim Gray', // MISSING
-		'FFA07A' : 'Light Salmon', // MISSING
-		'FFA500' : 'Orange', // MISSING
-		'FFFF00' : 'Yellow', // MISSING
-		'00FF00' : 'Lime', // MISSING
-		'AFEEEE' : 'Pale Turquoise', // MISSING
-		'ADD8E6' : 'Light Blue', // MISSING
-		'DDA0DD' : 'Plum', // MISSING
-		'D3D3D3' : 'Light Grey', // MISSING
-		'FFF0F5' : 'Lavender Blush', // MISSING
-		'FAEBD7' : 'Antique White', // MISSING
-		'FFFFE0' : 'Light Yellow', // MISSING
-		'F0FFF0' : 'Honeydew', // MISSING
-		'F0FFFF' : 'Azure', // MISSING
-		'F0F8FF' : 'Alice Blue', // MISSING
-		'E6E6FA' : 'Lavender', // MISSING
-		'FFF' : 'White' // MISSING
+		'000' : 'Noir',
+		'800000' : 'Marron',
+		'8B4513' : 'Brun moyen',
+		'2F4F4F' : 'Vert sombre',
+		'008080' : 'Canard',
+		'000080' : 'Bleu marine',
+		'4B0082' : 'Indigo',
+		'696969' : 'Gris foncé',
+		'B22222' : 'Rouge brique',
+		'A52A2A' : 'Brun',
+		'DAA520' : 'Or terni',
+		'006400' : 'Vert foncé',
+		'40E0D0' : 'Turquoise',
+		'0000CD' : 'Bleu royal',
+		'800080' : 'Pourpre',
+		'808080' : 'Gris',
+		'F00' : 'Rouge',
+		'FF8C00' : 'Orange foncé',
+		'FFD700' : 'Or',
+		'008000' : 'Vert',
+		'0FF' : 'Cyan',
+		'00F' : 'Bleu',
+		'EE82EE' : 'Violet',
+		'A9A9A9' : 'Gris moyen',
+		'FFA07A' : 'Saumon',
+		'FFA500' : 'Orange',
+		'FFFF00' : 'Jaune',
+		'00FF00' : 'Lime',
+		'AFEEEE' : 'Turquoise clair',
+		'ADD8E6' : 'Bleu clair',
+		'DDA0DD' : 'Prune',
+		'D3D3D3' : 'Gris clair',
+		'FFF0F5' : 'Fard Lavande',
+		'FAEBD7' : 'Blanc antique',
+		'FFFFE0' : 'Jaune clair',
+		'F0FFF0' : 'Honeydew',
+		'F0FFFF' : 'Azur',
+		'F0F8FF' : 'Bleu Alice',
+		'E6E6FA' : 'Lavande',
+		'FFF' : 'Blanc'
 	},
 
 	scayt :
 	{
-		title			: 'Vérification d\'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)',
-		opera_title		: 'Not supported by Opera', // MISSING
+		title			: 'Vérification de l\'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)',
+		opera_title		: 'Non supporté par Opera',
 		enable			: 'Activer SCAYT',
 		disable			: 'Désactiver SCAYT',
@@ -693,20 +693,20 @@
 
 		optionsTab		: 'Options',
-		allCaps			: 'Ignore All-Caps Words', // MISSING
-		ignoreDomainNames : 'Ignore Domain Names', // MISSING
-		mixedCase		: 'Ignore Words with Mixed Case', // MISSING
-		mixedWithDigits	: 'Ignore Words with Numbers', // MISSING
+		allCaps			: 'Ignorer les mots entierement en majuscules',
+		ignoreDomainNames : 'Ignorer les noms de domaines',
+		mixedCase		: 'Ignorer les mots à casse multiple',
+		mixedWithDigits	: 'Ignorer les mots contenant des chiffres',
 
 		languagesTab	: 'Langues',
 
 		dictionariesTab	: 'Dictionnaires',
-		dic_field_name	: 'Dictionary name', // MISSING
-		dic_create		: 'Create', // MISSING
-		dic_restore		: 'Restore', // MISSING
-		dic_delete		: 'Delete', // MISSING
-		dic_rename		: 'Rename', // MISSING
-		dic_info		: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
-
-		aboutTab		: 'A propos de'
+		dic_field_name	: 'Nom du dictionnaire',
+		dic_create		: 'Créer',
+		dic_restore		: 'Restaurer',
+		dic_delete		: 'Effacer',
+		dic_rename		: 'Renommer',
+		dic_info		: 'Initiallement, le dictionnaire de l\'utilisateur est stocké dans un cookie. Cependant, les cookies sont limités en taille. Quand le dictionnaire atteint une taille qu\'il n\'est plus possible de stocker dans un cookie, il peut alors être stocké sur nos serveurs. Afin de stocker votre dictionnaire personnel sur nos serveurs, vous devez spécifier un nom pour ce dictionnaire. Si vous avez déjà un dictionnaire stocké, merci de taper son nom puis cliquer sur Restaurer pour le récupérer.',
+
+		aboutTab		: 'À propos de'
 	},
 
@@ -720,5 +720,5 @@
 
 	maximize : 'Agrandir',
-	minimize : 'Minimize', // MISSING
+	minimize : 'Minimiser',
 
 	fakeobjects :
@@ -726,27 +726,27 @@
 		anchor		: 'Ancre',
 		flash		: 'Animation Flash',
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
-		unknown		: 'Objet Inconnu'
-	},
-
-	resize : 'Glisser pour modifier la taille',
+		iframe		: 'IFrame',
+		hiddenfield	: 'Champ caché',
+		unknown		: 'Objet inconnu'
+	},
+
+	resize : 'Déplacer pour modifier la taille',
 
 	colordialog :
 	{
-		title		: 'Select color', // MISSING
-		options	:	'Color Options', // MISSING
-		highlight	: 'Highlight', // MISSING
-		selected	: 'Selected Color', // MISSING
-		clear		: 'Clear' // MISSING
-	},
-
-	toolbarCollapse	: 'Collapse Toolbar', // MISSING
-	toolbarExpand	: 'Expand Toolbar', // MISSING
+		title		: 'Choisir une couleur',
+		options	:	'Option des couleurs',
+		highlight	: 'Détails',
+		selected	: 'Couleur choisie',
+		clear		: 'Effacer'
+	},
+
+	toolbarCollapse	: 'Enrouler la barre d\'outils',
+	toolbarExpand	: 'Dérouler la barre d\'outils',
 
 	bidi :
 	{
-		ltr : 'Text direction from left to right', // MISSING
-		rtl : 'Text direction from right to left' // MISSING
+		ltr : 'Direction du texte de la gauche vers la droite',
+		rtl : 'Direction du texte de la droite vers la gauche'
 	}
 };
Index: /CKEditor/branches/versions/3.5.x/_source/lang/gl.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/gl.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/gl.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/gu.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/gu.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/gu.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/he.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/he.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/he.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,6 +602,6 @@
 	iframe :
 	{
-		title		: 'מאפייני חלון פנימי (iFrame)',
-		toolbar		: 'חלון פנימי (iFrame)',
+		title		: 'מאפייני חלון פנימי (iframe)',
+		toolbar		: 'חלון פנימי (iframe)',
 		noUrl		: 'יש להכניס כתובת לחלון.',
 		scrolling	: 'אפשר פסי גלילה',
@@ -726,5 +726,5 @@
 		anchor		: 'עוגן',
 		flash		: 'סרטון פלאש',
-		iframe		: 'חלון פנימי (iFrame)',
+		iframe		: 'חלון פנימי (iframe)',
 		hiddenfield	: 'שדה חבוי',
 		unknown		: 'אובייקט לא ידוע'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/hi.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/hi.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/hi.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/hr.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/hr.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/hr.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Sidro',
 		flash		: 'Flash animacija',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Nepoznati objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/hu.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/hu.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/hu.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Horgony',
 		flash		: 'Flash animáció',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Ismeretlen objektum'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/is.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/is.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/is.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/it.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/it.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/it.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Ancora',
 		flash		: 'Animazione Flash',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Oggetto sconosciuto'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ja.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ja.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ja.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'アンカー',
 		flash		: 'Flash Animation',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/km.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/km.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/km.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ko.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ko.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ko.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/lt.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/lt.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/lt.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/lv.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/lv.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/lv.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/mn.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/mn.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/mn.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ms.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ms.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ms.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/nb.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/nb.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/nb.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anker',
 		flash		: 'Flash Animasjon',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Ukjent objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/nl.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/nl.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/nl.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anker',
 		flash		: 'Flash animatie',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Onbekend object'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/no.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/no.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/no.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anker',
 		flash		: 'Flash Animasjon',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Ukjent objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/pl.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/pl.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/pl.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -32,9 +32,9 @@
 	 * of reading non-English words. So be careful while translating it.
 	 */
-	editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+	editorTitle : 'Edytor tekstu sformatowanego, %1, w celu uzyskania pomocy naciśnij ALT 0.',
 
 	// ARIA descriptions.
-	toolbar	: 'Toolbar', // MISSING
-	editor	: 'Rich Text Editor', // MISSING
+	toolbar	: 'Pasek narzędzi',
+	editor	: 'Edytor tekstu sformatowanego',
 
 	// Toolbar buttons without dialogs.
@@ -56,6 +56,6 @@
 	superscript		: 'Indeks górny',
 	horizontalrule	: 'Wstaw poziomą linię',
-	pagebreak		: 'Wstaw odstęp',
-	pagebreakAlt		: 'Page Break', // MISSING
+	pagebreak		: 'Wstaw pdodział strony',
+	pagebreakAlt		: 'Wstaw podział strony',
 	unlink			: 'Usuń hiperłącze',
 	undo			: 'Cofnij',
@@ -74,5 +74,5 @@
 		form			: 'Formularz',
 		checkbox		: 'Pole wyboru (checkbox)',
-		radio			: 'Pole wyboru (radio)',
+		radio			: 'Przycisk opcji (radio)',
 		textField		: 'Pole tekstowe',
 		textarea		: 'Obszar tekstowy',
@@ -80,6 +80,6 @@
 		button			: 'Przycisk',
 		select			: 'Lista wyboru',
-		imageButton		: 'Przycisk-obrazek',
-		notSet			: '<nie ustawione>',
+		imageButton		: 'Przycisk graficzny',
+		notSet			: '<nie ustawiono>',
 		id				: 'Id',
 		name			: 'Nazwa',
@@ -88,5 +88,5 @@
 		langDirRtl		: 'Od prawej do lewej (RTL)',
 		langCode		: 'Kod języka',
-		longDescr		: 'Długi opis hiperłącza',
+		longDescr		: 'Adres URL długiego opisu',
 		cssClass		: 'Nazwa klasy CSS',
 		advisoryTitle	: 'Opis obiektu docelowego',
@@ -94,6 +94,6 @@
 		ok				: 'OK',
 		cancel			: 'Anuluj',
-		close			: 'Close', // MISSING
-		preview			: 'Preview', // MISSING
+		close			: 'Zamknij',
+		preview			: 'Podgląd',
 		generalTab		: 'Ogólne',
 		advancedTab		: 'Zaawansowane',
@@ -101,14 +101,14 @@
 		confirmNewPage	: 'Wszystkie niezapisane zmiany zostaną utracone. Czy na pewno wczytać nową stronę?',
 		confirmCancel	: 'Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?',
-		options			: 'Options', // MISSING
-		target			: 'Target', // MISSING
-		targetNew		: 'New Window (_blank)', // MISSING
-		targetTop		: 'Topmost Window (_top)', // MISSING
-		targetSelf		: 'Same Window (_self)', // MISSING
-		targetParent	: 'Parent Window (_parent)', // MISSING
-		langDirLTR		: 'Left to Right (LTR)', // MISSING
-		langDirRTL		: 'Right to Left (RTL)', // MISSING
-		styles			: 'Style', // MISSING
-		cssClasses		: 'Stylesheet Classes', // MISSING
+		options			: 'Opcje',
+		target			: 'Obiekt docelowy',
+		targetNew		: 'Nowe okno (_blank)',
+		targetTop		: 'Okno najwyżej w hierarchii (_top)',
+		targetSelf		: 'To samo okno (_self)',
+		targetParent	: 'Okno nadrzędne (_parent)',
+		langDirLTR		: 'Od lewej do prawej (LTR)',
+		langDirRTL		: 'Od prawej do lewej (RTL)',
+		styles			: 'Style',
+		cssClasses		: 'Klasy arkusza stylów',
 		width			: 'Szerokość',
 		height			: 'Wysokość',
@@ -129,5 +129,5 @@
 	contextmenu :
 	{
-		options : 'Context Menu Options' // MISSING
+		options : 'Opcje menu kontekstowego'
 	},
 
@@ -137,5 +137,5 @@
 		toolbar		: 'Wstaw znak specjalny',
 		title		: 'Wybierz znak specjalny',
-		options : 'Special Character Options' // MISSING
+		options : 'Opcje znaków specjalnych'
 	},
 
@@ -148,14 +148,14 @@
 		title		: 'Hiperłącze',
 		info		: 'Informacje ',
-		target		: 'Cel',
+		target		: 'Obiekt docelowy',
 		upload		: 'Wyślij',
 		advanced	: 'Zaawansowane',
 		type		: 'Typ hiperłącza',
-		toUrl		: 'URL', // MISSING
-		toAnchor	: 'Odnośnik wewnątrz strony',
+		toUrl		: 'Adres URL',
+		toAnchor	: 'Odnośnik wewnątrz strony (kotwica)',
 		toEmail		: 'Adres e-mail',
 		targetFrame		: '<ramka>',
 		targetPopup		: '<wyskakujące okno>',
-		targetFrameName	: 'Nazwa Ramki Docelowej',
+		targetFrameName	: 'Nazwa ramki docelowej',
 		targetPopupName	: 'Nazwa wyskakującego okna',
 		popupFeatures	: 'Właściwości wyskakującego okna',
@@ -176,6 +176,6 @@
 		acccessKey		: 'Klawisz dostępu',
 		name			: 'Nazwa',
-		langCode		: 'Kierunek tekstu',
-		tabIndex		: 'Indeks tabeli',
+		langCode		: 'Kod języka',
+		tabIndex		: 'Indeks kolejności',
 		advisoryTitle	: 'Opis obiektu docelowego',
 		advisoryContentType	: 'Typ MIME obiektu docelowego',
@@ -183,11 +183,11 @@
 		charset			: 'Kodowanie znaków obiektu docelowego',
 		styles			: 'Styl',
-		selectAnchor	: 'Wybierz etykietę',
-		anchorName		: 'Wg etykiety',
-		anchorId		: 'Wg identyfikatora elementu',
+		selectAnchor	: 'Wybierz kotwicę',
+		anchorName		: 'Wg nazwy',
+		anchorId		: 'Wg identyfikatora',
 		emailAddress	: 'Adres e-mail',
 		emailSubject	: 'Temat',
 		emailBody		: 'Treść',
-		noAnchors		: '(W dokumencie nie zdefiniowano żadnych etykiet)',
+		noAnchors		: '(W dokumencie nie zdefiniowano żadnych kotwic)',
 		noUrl			: 'Podaj adres URL',
 		noEmail			: 'Podaj adres e-mail'
@@ -207,23 +207,23 @@
 	list:
 	{
-		numberedTitle		: 'Numbered List Properties', // MISSING
-		bulletedTitle		: 'Bulleted List Properties', // MISSING
-		type				: 'Type', // MISSING
-		start				: 'Start', // MISSING
-		validateStartNumber				:'List start number must be a whole number.', // MISSING
-		circle				: 'Circle', // MISSING
-		disc				: 'Disc', // MISSING
-		square				: 'Square', // MISSING
-		none				: 'None', // MISSING
-		notset				: '<not set>', // MISSING
-		armenian			: 'Armenian numbering', // MISSING
-		georgian			: 'Georgian numbering (an, ban, gan, etc.)', // MISSING
-		lowerRoman			: 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
-		upperRoman			: 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
-		lowerAlpha			: 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
-		upperAlpha			: 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
-		lowerGreek			: 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
-		decimal				: 'Decimal (1, 2, 3, etc.)', // MISSING
-		decimalLeadingZero	: 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+		numberedTitle		: 'Właściwości list numerowanych',
+		bulletedTitle		: 'Właściwości list wypunktowanych',
+		type				: 'Typ punktora',
+		start				: 'Początek',
+		validateStartNumber				:'Listę musi rozpoczynać liczba całkowita.',
+		circle				: 'Koło',
+		disc				: 'Okrąg',
+		square				: 'Kwadrat',
+		none				: 'Brak',
+		notset				: '<nie ustawiono>',
+		armenian			: 'Numerowanie armeńskie',
+		georgian			: 'Numerowanie gruzińskie (an, ban, gan itd.)',
+		lowerRoman			: 'Małe cyfry rzymskie (i, ii, iii, iv, v itd.)',
+		upperRoman			: 'Duże cyfry rzymskie (I, II, III, IV, V itd.)',
+		lowerAlpha			: 'Małe litery (a, b, c, d, e itd.)',
+		upperAlpha			: 'Duże litery (A, B, C, D, E itd.)',
+		lowerGreek			: 'Małe litery greckie (alpha, beta, gamma itd.)',
+		decimal				: 'Liczby (1, 2, 3 itd.)',
+		decimalLeadingZero	: 'Liczby z początkowym zerem (01, 02, 03 itd.)'
 	},
 
@@ -240,5 +240,5 @@
 		matchWord			: 'Całe słowa',
 		matchCyclic			: 'Cykliczne dopasowanie',
-		replaceAll			: 'Zastąp wszystko',
+		replaceAll			: 'Zamień wszystko',
 		replaceSuccessMsg	: '%1 wystąpień zastąpionych.'
 	},
@@ -253,20 +253,20 @@
 		rows		: 'Liczba wierszy',
 		columns		: 'Liczba kolumn',
-		border		: 'Grubość ramki',
+		border		: 'Grubość obramowania',
 		widthPx		: 'piksele',
 		widthPc		: '%',
-		widthUnit	: 'width unit', // MISSING
+		widthUnit	: 'jednostka szerokości',
 		cellSpace	: 'Odstęp pomiędzy komórkami',
-		cellPad		: 'Margines wewnętrzny komórek',
+		cellPad		: 'Dopełnienie komórek',
 		caption		: 'Tytuł',
 		summary		: 'Podsumowanie',
-		headers		: 'Nagłowki',
+		headers		: 'Nagłówki',
 		headersNone		: 'Brak',
 		headersColumn	: 'Pierwsza kolumna',
 		headersRow		: 'Pierwszy wiersz',
 		headersBoth		: 'Oba',
-		invalidRows		: 'Liczba wierszy musi być liczbą większą niż 0.',
-		invalidCols		: 'Liczba kolumn musi być liczbą większą niż 0.',
-		invalidBorder	: 'Liczba obramowań musi być liczbą.',
+		invalidRows		: 'Liczba wierszy musi być większa niż 0.',
+		invalidCols		: 'Liczba kolumn musi być większa niż 0.',
+		invalidBorder	: 'Wartość obramowania musi być liczbą.',
 		invalidWidth	: 'Szerokość tabeli musi być liczbą.',
 		invalidHeight	: 'Wysokość tabeli musi być liczbą.',
@@ -331,5 +331,5 @@
 		typeBtn		: 'Przycisk',
 		typeSbm		: 'Wyślij',
-		typeRst		: 'Wyzeruj'
+		typeRst		: 'Wyczyść'
 	},
 
@@ -338,5 +338,5 @@
 	{
 		checkboxTitle : 'Właściwości pola wyboru (checkbox)',
-		radioTitle	: 'Właściwości pola wyboru (radio)',
+		radioTitle	: 'Właściwości przycisku opcji (radio)',
 		value		: 'Wartość',
 		selected	: 'Zaznaczone'
@@ -361,5 +361,5 @@
 		value		: 'Wartość',
 		size		: 'Rozmiar',
-		lines		: 'linii',
+		lines		: 'wierszy',
 		chkMulti	: 'Wielokrotny wybór',
 		opText		: 'Tekst',
@@ -369,5 +369,5 @@
 		btnUp		: 'Do góry',
 		btnDown		: 'Do dołu',
-		btnSetValue : 'Ustaw wartość zaznaczoną',
+		btnSetValue : 'Ustaw jako zaznaczoną',
 		btnDelete	: 'Usuń'
 	},
@@ -377,6 +377,6 @@
 	{
 		title		: 'Właściwości obszaru tekstowego',
-		cols		: 'Kolumnu',
-		rows		: 'Wiersze'
+		cols		: 'Liczba kolumn',
+		rows		: 'Liczba wierszy'
 	},
 
@@ -388,5 +388,5 @@
 		value		: 'Wartość',
 		charWidth	: 'Szerokość w znakach',
-		maxChars	: 'Max. szerokość',
+		maxChars	: 'Szerokość maksymalna',
 		type		: 'Typ',
 		typeText	: 'Tekst',
@@ -406,5 +406,5 @@
 	{
 		title		: 'Właściwości obrazka',
-		titleButton	: 'Właściwości przycisku obrazka',
+		titleButton	: 'Właściwości przycisku graficznego',
 		menu		: 'Właściwości obrazka',
 		infoTab		: 'Informacje o obrazku',
@@ -413,7 +413,7 @@
 		alt			: 'Tekst zastępczy',
 		lockRatio	: 'Zablokuj proporcje',
-		unlockRatio	: 'Unlock Ratio', // MISSING
+		unlockRatio	: 'Odblokuj proporcje',
 		resetSize	: 'Przywróć rozmiar',
-		border		: 'Ramka',
+		border		: 'Obramowanie',
 		hSpace		: 'Odstęp poziomy',
 		vSpace		: 'Odstęp pionowy',
@@ -423,7 +423,7 @@
 		img2Button	: 'Czy chcesz przekonwertować zaznaczony obrazek do przycisku graficznego?',
 		urlMissing	: 'Podaj adres URL obrazka.',
-		validateBorder	: 'Border must be a whole number.', // MISSING
-		validateHSpace	: 'HSpace must be a whole number.', // MISSING
-		validateVSpace	: 'VSpace must be a whole number.' // MISSING
+		validateBorder	: 'Wartość obramowania musi być liczbą całkowitą.',
+		validateHSpace	: 'Wartość odstępu poziomego musi być liczbą całkowitą.',
+		validateVSpace	: 'Wartość odstępu pionowego musi być liczbą całkowitą.'
 	},
 
@@ -431,14 +431,14 @@
 	flash :
 	{
-		properties		: 'Właściwości elementu Flash',
+		properties		: 'Właściwości obiektu Flash',
 		propertiesTab	: 'Właściwości',
-		title			: 'Właściwości elementu Flash',
+		title			: 'Właściwości obiektu Flash',
 		chkPlay			: 'Autoodtwarzanie',
 		chkLoop			: 'Pętla',
 		chkMenu			: 'Włącz menu',
-		chkFull			: 'Dopuść pełny ekran',
+		chkFull			: 'Zezwól na pełny ekran',
  		scale			: 'Skaluj',
 		scaleAll		: 'Pokaż wszystko',
-		scaleNoBorder	: 'Bez Ramki',
+		scaleNoBorder	: 'Bez obramowania',
 		scaleFit		: 'Dokładne dopasowanie',
 		access			: 'Dostęp skryptów',
@@ -458,8 +458,8 @@
 		qualityLow		: 'Niska',
 		windowModeWindow: 'Okno',
-		windowModeOpaque: 'Nieprzeźroczyste',
-		windowModeTransparent : 'Przeźroczyste',
+		windowModeOpaque: 'Nieprzezroczyste',
+		windowModeTransparent : 'Przezroczyste',
 		windowMode		: 'Tryb okna',
-		flashvars		: 'Zmienne dla Flasha',
+		flashvars		: 'Zmienne obiektu Flash',
 		bgcolor			: 'Kolor tła',
 		hSpace			: 'Odstęp poziomy',
@@ -490,17 +490,17 @@
 		oneChange		: 'Sprawdzanie zakończone: zmieniono jedno słowo',
 		manyChanges		: 'Sprawdzanie zakończone: zmieniono %l słów',
-		ieSpellDownload	: 'Słownik nie jest zainstalowany. Chcesz go ściągnąć?'
+		ieSpellDownload	: 'Słownik nie jest zainstalowany. Czy chcesz go pobrać?'
 	},
 
 	smiley :
 	{
-		toolbar	: 'Emotikona',
-		title	: 'Wstaw emotikonę',
-		options : 'Smiley Options' // MISSING
+		toolbar	: 'Emotikony',
+		title	: 'Wstaw emotikona',
+		options : 'Opcje emotikonów'
 	},
 
 	elementsPath :
 	{
-		eleLabel : 'Elements path', // MISSING
+		eleLabel : 'Ścieżka elementów',
 		eleTitle : 'element %1'
 	},
@@ -514,7 +514,7 @@
 	{
 		left	: 'Wyrównaj do lewej',
-		center	: 'Wyrównaj do środka',
+		center	: 'Wyśrodkuj',
 		right	: 'Wyrównaj do prawej',
-		block	: 'Wyrównaj do lewej i prawej'
+		block	: 'Wyjustuj'
 	},
 
@@ -526,15 +526,15 @@
 		cutError	: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.',
 		copyError	: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.',
-		pasteMsg	: 'Proszę wkleić w poniższym polu używając klawiaturowego skrótu (<STRONG>Ctrl/Cmd+V</STRONG>) i kliknąć <STRONG>OK</STRONG>.',
-		securityMsg	: 'Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę dane wkleić ponownie w tym okienku.',
-		pasteArea	: 'Paste Area' // MISSING
+		pasteMsg	: 'Wklej tekst w poniższym polu, używając skrótu klawiaturowego (<STRONG>Ctrl/Cmd+V</STRONG>), i kliknij <STRONG>OK</STRONG>.',
+		securityMsg	: 'Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę ponownie wkleić dane w tym oknie.',
+		pasteArea	: 'Obszar wklejania'
 	},
 
 	pastefromword :
 	{
-		confirmCleanup	: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Word. Czy chcesz go wyczyścic przed wklejeniem?',
-		toolbar			: 'Wklej z Worda',
-		title			: 'Wklej z Worda',
-		error			: 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+		confirmCleanup	: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?',
+		toolbar			: 'Wklej z programu MS Word',
+		title			: 'Wklej z programu MS Word',
+		error			: 'Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.'
 	},
 
@@ -549,6 +549,6 @@
 		button			: 'Szablony',
 		title			: 'Szablony zawartości',
-		options : 'Template Options', // MISSING
-		insertOption	: 'Zastąp aktualną zawartość',
+		options : 'Opcje szablonów',
+		insertOption	: 'Zastąp obecną zawartość',
 		selectPromptMsg	: 'Wybierz szablon do otwarcia w edytorze<br>(obecna zawartość okna edytora zostanie utracona):',
 		emptyListMsg	: '(Brak zdefiniowanych szablonów)'
@@ -560,5 +560,5 @@
 	{
 		label		: 'Styl',
-		panelTitle	: 'Formatting Styles', // MISSING
+		panelTitle	: 'Style formatujące',
 		panelTitle1	: 'Style blokowe',
 		panelTitle2	: 'Style liniowe',
@@ -585,26 +585,26 @@
 	div :
 	{
-		title				: 'Create Div Container', // MISSING
-		toolbar				: 'Create Div Container', // MISSING
-		cssClassInputLabel	: 'Stylesheet Classes', // MISSING
-		styleSelectLabel	: 'Style', // MISSING
-		IdInputLabel		: 'Id', // MISSING
-		languageCodeInputLabel	: ' Language Code', // MISSING
-		inlineStyleInputLabel	: 'Inline Style', // MISSING
-		advisoryTitleInputLabel	: 'Advisory Title', // MISSING
-		langDirLabel		: 'Language Direction', // MISSING
-		langDirLTRLabel		: 'Left to Right (LTR)', // MISSING
-		langDirRTLLabel		: 'Right to Left (RTL)', // MISSING
-		edit				: 'Edit Div', // MISSING
-		remove				: 'Remove Div' // MISSING
+		title				: 'Utwórz pojemnik Div',
+		toolbar				: 'Utwórz pojemnik Div',
+		cssClassInputLabel	: 'Klasy arkusza stylów',
+		styleSelectLabel	: 'Styl',
+		IdInputLabel		: 'Id',
+		languageCodeInputLabel	: 'Kod języka',
+		inlineStyleInputLabel	: 'Style liniowe',
+		advisoryTitleInputLabel	: 'Opis obiektu docelowego',
+		langDirLabel		: 'Kierunek tekstu',
+		langDirLTRLabel		: 'Od lewej do prawej (LTR)',
+		langDirRTLLabel		: 'Od prawej do lewej (RTL)',
+		edit				: 'Edytuj pojemnik Div',
+		remove				: 'Usuń pojemnik Div'
   	},
 
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
-		scrolling	: 'Enable scrollbars', // MISSING
-		border		: 'Show frame border' // MISSING
+		title		: 'Właściwości elementu IFrame',
+		toolbar		: 'IFrame',
+		noUrl		: 'Podaj adres URL elementu IFrame',
+		scrolling	: 'Włącz paski przewijania',
+		border		: 'Pokaż obramowanie obiektu IFrame'
 	},
 
@@ -627,5 +627,5 @@
 		textColorTitle	: 'Kolor tekstu',
 		bgColorTitle	: 'Kolor tła',
-		panelTitle		: 'Colors', // MISSING
+		panelTitle		: 'Kolory',
 		auto			: 'Automatycznie',
 		more			: 'Więcej kolorów...'
@@ -634,44 +634,44 @@
 	colors :
 	{
-		'000' : 'Black', // MISSING
-		'800000' : 'Maroon', // MISSING
-		'8B4513' : 'Saddle Brown', // MISSING
-		'2F4F4F' : 'Dark Slate Gray', // MISSING
-		'008080' : 'Teal', // MISSING
-		'000080' : 'Navy', // MISSING
-		'4B0082' : 'Indigo', // MISSING
-		'696969' : 'Dark Gray', // MISSING
-		'B22222' : 'Fire Brick', // MISSING
-		'A52A2A' : 'Brown', // MISSING
-		'DAA520' : 'Golden Rod', // MISSING
-		'006400' : 'Dark Green', // MISSING
-		'40E0D0' : 'Turquoise', // MISSING
-		'0000CD' : 'Medium Blue', // MISSING
-		'800080' : 'Purple', // MISSING
-		'808080' : 'Gray', // MISSING
-		'F00' : 'Red', // MISSING
-		'FF8C00' : 'Dark Orange', // MISSING
-		'FFD700' : 'Gold', // MISSING
-		'008000' : 'Green', // MISSING
-		'0FF' : 'Cyan', // MISSING
-		'00F' : 'Blue', // MISSING
-		'EE82EE' : 'Violet', // MISSING
-		'A9A9A9' : 'Dim Gray', // MISSING
-		'FFA07A' : 'Light Salmon', // MISSING
-		'FFA500' : 'Orange', // MISSING
-		'FFFF00' : 'Yellow', // MISSING
-		'00FF00' : 'Lime', // MISSING
-		'AFEEEE' : 'Pale Turquoise', // MISSING
-		'ADD8E6' : 'Light Blue', // MISSING
-		'DDA0DD' : 'Plum', // MISSING
-		'D3D3D3' : 'Light Grey', // MISSING
-		'FFF0F5' : 'Lavender Blush', // MISSING
-		'FAEBD7' : 'Antique White', // MISSING
-		'FFFFE0' : 'Light Yellow', // MISSING
-		'F0FFF0' : 'Honeydew', // MISSING
-		'F0FFFF' : 'Azure', // MISSING
-		'F0F8FF' : 'Alice Blue', // MISSING
-		'E6E6FA' : 'Lavender', // MISSING
-		'FFF' : 'White' // MISSING
+		'000' : 'Czarny',
+		'800000' : 'Kasztanowy',
+		'8B4513' : 'Czekoladowy',
+		'2F4F4F' : 'Ciemnografitowy',
+		'008080' : 'Morski',
+		'000080' : 'Granatowy',
+		'4B0082' : 'Indygo',
+		'696969' : 'Ciemnoszary',
+		'B22222' : 'Czerwień żelazowa',
+		'A52A2A' : 'Brązowy',
+		'DAA520' : 'Ciemnozłoty',
+		'006400' : 'Ciemnozielony',
+		'40E0D0' : 'Turkusowy',
+		'0000CD' : 'Ciemnoniebieski',
+		'800080' : 'Purpurowy',
+		'808080' : 'Szary',
+		'F00' : 'Czerwony',
+		'FF8C00' : 'Ciemnopomarańczowy',
+		'FFD700' : 'Złoty',
+		'008000' : 'Zielony',
+		'0FF' : 'Cyjan',
+		'00F' : 'Niebieski',
+		'EE82EE' : 'Fioletowy',
+		'A9A9A9' : 'Przygaszony szary',
+		'FFA07A' : 'Łososiowy',
+		'FFA500' : 'Pomarańczowy',
+		'FFFF00' : 'Żółty',
+		'00FF00' : 'Limonkowy',
+		'AFEEEE' : 'Bladoturkusowy',
+		'ADD8E6' : 'Jasnoniebieski',
+		'DDA0DD' : 'Śliwkowy',
+		'D3D3D3' : 'Jasnoszary',
+		'FFF0F5' : 'Jasnolawendowy',
+		'FAEBD7' : 'Kremowobiały',
+		'FFFFE0' : 'Jasnożółty',
+		'F0FFF0' : 'Bladozielony',
+		'F0FFFF' : 'Jasnolazurowy',
+		'F0F8FF' : 'Jasnobłękitny',
+		'E6E6FA' : 'Lawendowy',
+		'FFF' : 'Biały'
 	},
 
@@ -679,8 +679,8 @@
 	{
 		title			: 'Sprawdź pisownię podczas pisania (SCAYT)',
-		opera_title		: 'Not supported by Opera', // MISSING
+		opera_title		: 'Funkcja nie jest obsługiwana przez przeglądarkę Opera',
 		enable			: 'Włącz SCAYT',
 		disable			: 'Wyłącz SCAYT',
-		about			: 'Na temat SCAYT',
+		about			: 'Informacje o SCAYT',
 		toggle			: 'Przełącz SCAYT',
 		options			: 'Opcje',
@@ -693,26 +693,26 @@
 
 		optionsTab		: 'Opcje',
-		allCaps			: 'Ignore All-Caps Words', // MISSING
-		ignoreDomainNames : 'Ignore Domain Names', // MISSING
-		mixedCase		: 'Ignore Words with Mixed Case', // MISSING
-		mixedWithDigits	: 'Ignore Words with Numbers', // MISSING
+		allCaps			: 'Ignoruj wyrazy pisane dużymi literami',
+		ignoreDomainNames : 'Ignoruj nazwy domen',
+		mixedCase		: 'Ignoruj wyrazy pisane dużymi i małymi literami',
+		mixedWithDigits	: 'Ignoruj wyrazy zawierające cyfry',
 
 		languagesTab	: 'Języki',
 
 		dictionariesTab	: 'Słowniki',
-		dic_field_name	: 'Dictionary name', // MISSING
-		dic_create		: 'Create', // MISSING
-		dic_restore		: 'Restore', // MISSING
-		dic_delete		: 'Delete', // MISSING
-		dic_rename		: 'Rename', // MISSING
-		dic_info		: 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
-
-		aboutTab		: 'Na temat SCAYT'
+		dic_field_name	: 'Nazwa słownika',
+		dic_create		: 'Utwórz',
+		dic_restore		: 'Przywróć',
+		dic_delete		: 'Usuń',
+		dic_rename		: 'Zmień nazwę',
+		dic_info		: 'Początkowo słownik użytkownika przechowywany jest w cookie. Pliki cookie mają jednak ograniczoną pojemność. Jeśli słownik użytkownika przekroczy wielkość dopuszczalną dla pliku cookie, możliwe jest przechowanie go na naszym serwerze. W celu zapisania słownika na serwerze niezbędne jest nadanie mu nazwy. Jeśli słownik został już zapisany na serwerze, wystarczy podać jego nazwę i nacisnąć przycisk Przywróć.',
+
+		aboutTab		: 'Informacje o SCAYT'
 	},
 
 	about :
 	{
-		title		: 'Na temat CKEditor',
-		dlgTitle	: 'Na temat CKEditor',
+		title		: 'Informacje o programie CKEditor',
+		dlgTitle	: 'Informacje o programie CKEditor',
 		moreInfo	: 'Informacje na temat licencji można znaleźć na naszej stronie:',
 		copy		: 'Copyright &copy; $1. Wszelkie prawa zastrzeżone.'
@@ -726,6 +726,6 @@
 		anchor		: 'Kotwica',
 		flash		: 'Animacja Flash',
-		iframe		: 'iFrame', // MISSING
-		hiddenfield	: 'Hidden Field', // MISSING
+		iframe		: 'IFrame',
+		hiddenfield	: 'Pole ukryte',
 		unknown		: 'Nieznany obiekt'
 	},
@@ -736,5 +736,5 @@
 	{
 		title		: 'Wybierz kolor',
-		options	:	'Color Options', // MISSING
+		options	:	'Opcje koloru',
 		highlight	: 'Zaznacz',
 		selected	: 'Wybrany',
@@ -742,11 +742,11 @@
 	},
 
-	toolbarCollapse	: 'Collapse Toolbar', // MISSING
-	toolbarExpand	: 'Expand Toolbar', // MISSING
+	toolbarCollapse	: 'Zwiń pasek narzędzi',
+	toolbarExpand	: 'Rozwiń pasek narzędzi',
 
 	bidi :
 	{
-		ltr : 'Text direction from left to right', // MISSING
-		rtl : 'Text direction from right to left' // MISSING
+		ltr : 'Kierunek tekstu od lewej strony do prawej',
+		rtl : 'Kierunek tekstu od prawej strony do lewej'
 	}
 };
Index: /CKEditor/branches/versions/3.5.x/_source/lang/pt-br.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/pt-br.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/pt-br.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -601,7 +601,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -725,5 +725,5 @@
 		anchor		: 'Âncora',
 		flash		: 'Animação em Flash',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Objeto desconhecido'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/pt.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/pt.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/pt.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ro.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ro.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ro.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/ru.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/ru.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/ru.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Якорь',
 		flash		: 'Flash-анимация',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Неизвестный объект'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/sk.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/sk.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/sk.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/sl.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/sl.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/sl.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Sidro',
 		flash		: 'Flash animacija',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Neznan objekt'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/sr-latn.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/sr-latn.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/sr-latn.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/sr.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/sr.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/sr.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/sv.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/sv.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/sv.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/th.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/th.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/th.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Anchor', // MISSING
 		flash		: 'Flash Animation', // MISSING
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Unknown Object' // MISSING
Index: /CKEditor/branches/versions/3.5.x/_source/lang/tr.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/tr.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/tr.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -601,7 +601,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -725,5 +725,5 @@
 		anchor		: 'Bağlantı',
 		flash		: 'Flash Animasyonu',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Bilinmeyen Nesne'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/uk.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/uk.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/uk.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Якір',
 		flash		: 'Flash-анімація',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Невідомий об\'єкт'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/vi.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/vi.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/vi.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: 'Điểm neo',
 		flash		: 'Flash',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: 'Đối tượng không rõ ràng'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/zh-cn.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/zh-cn.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/zh-cn.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -726,5 +726,5 @@
 		anchor		: '锚点',
 		flash		: 'Flash 动画',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: '未知对象'
Index: /CKEditor/branches/versions/3.5.x/_source/lang/zh.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/lang/zh.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/lang/zh.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -602,7 +602,7 @@
 	iframe :
 	{
-		title		: 'iFrame Properties', // MISSING
-		toolbar		: 'iFrame', // MISSING
-		noUrl		: 'Please type the iFrame URL', // MISSING
+		title		: 'IFrame Properties', // MISSING
+		toolbar		: 'IFrame', // MISSING
+		noUrl		: 'Please type the iframe URL', // MISSING
 		scrolling	: 'Enable scrollbars', // MISSING
 		border		: 'Show frame border' // MISSING
@@ -726,5 +726,5 @@
 		anchor		: '錨點',
 		flash		: 'Flash 動畫',
-		iframe		: 'iFrame', // MISSING
+		iframe		: 'IFrame', // MISSING
 		hiddenfield	: 'Hidden Field', // MISSING
 		unknown		: '不明物件'
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/dialogs/a11yhelp.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/dialogs/a11yhelp.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/dialogs/a11yhelp.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/en.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/en.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/en.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/he.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/he.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/lang/he.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -108,5 +108,5 @@
 });
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/a11yhelp/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/about/dialogs/about.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/about/dialogs/about.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/about/dialogs/about.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/about/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/about/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/about/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/adobeair/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/adobeair/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/adobeair/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/autogrow/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/autogrow/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/autogrow/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -79,5 +79,5 @@
 /**
  * Fired when the AutoGrow plugin is about to change the size of the editor.
- * @name CKEDITOR#autogrow
+ * @name CKEDITOR.editor#autogrow
  * @event
  * @param {Number} data.currentHeight The current height of the editor (before the resizing).
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/basicstyles/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/basicstyles/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/basicstyles/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/bidi/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/bidi/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/bidi/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -6,5 +6,5 @@
 (function()
 {
-	var guardElements = { table:1, tbody: 1, ul:1, ol:1, blockquote:1, div:1, tr: 1 },
+	var guardElements = { table:1, ul:1, ol:1, blockquote:1, div:1 },
 		directSelectionGuardElements = {},
 		// All guard elements which can have a direction applied on them.
@@ -34,5 +34,9 @@
 		selectedElement = selectedElement || path.block || path.blockLimit;
 
-		if ( !selectedElement || selectedElement.getName() == 'body' )
+		// If we're having BODY here, user probably done CTRL+A, let's try to get the enclosed node, if any.
+		selectedElement.is( 'body' ) &&
+			( selectedElement = editor.getSelection().getRanges()[ 0 ].getEnclosedNode() );
+
+		if ( !selectedElement )
 			return;
 
@@ -137,9 +141,12 @@
 	}
 
-	function getFullySelected( range, elements )
+	function getFullySelected( range, elements, enterMode )
 	{
 		var ancestor = range.getCommonAncestor( false, true );
 
-		range.enlarge( CKEDITOR.ENLARGE_BLOCK_CONTENTS );
+		range = range.clone();
+		range.enlarge( enterMode == CKEDITOR.ENTER_BR ?
+				CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS
+				: CKEDITOR.ENLARGE_BLOCK_CONTENTS );
 
 		if ( range.checkBoundaryOfElement( ancestor, CKEDITOR.START )
@@ -150,6 +157,5 @@
 					&& ( parent = ancestor.getParent() )
 					&& parent.getChildCount() == 1
-					&& ( !( ancestor.getName() in elements ) || ( parent.getName() in elements ) )
-					)
+					&& !( ancestor.getName() in elements ) )
 				ancestor = parent;
 
@@ -188,5 +194,5 @@
 							&& !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements )
 						)
-						selectedElement = getFullySelected( range, guardElements );
+						selectedElement = getFullySelected( range, guardElements, enterMode );
 
 					if ( selectedElement && !selectedElement.isReadOnly() )
@@ -206,5 +212,5 @@
 						return !! ( node.type == CKEDITOR.NODE_ELEMENT
 								&& node.getName() in guardElements
-								&& !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ) ? 'p' : 'div'
+								&& !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' )
 									&& node.getParent().type == CKEDITOR.NODE_ELEMENT
 									&& node.getParent().getName() == 'blockquote' )
@@ -222,5 +228,5 @@
 					while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
 						!block.isReadOnly() && switchDir( block, dir, editor, database );
-				}
+					}
 
 				CKEDITOR.dom.element.clearAllMarkers( database );
@@ -264,2 +270,11 @@
 
 })();
+
+/**
+ * Fired when the language direction of an element is changed
+ * @name CKEDITOR.editor#dirChanged
+ * @event
+ * @param {CKEDITOR.editor} editor This editor instance.
+ * @param {Object} eventData.node The element that is being changed.
+ * @param {String} eventData.dir The new direction.
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/blockquote/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/blockquote/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/blockquote/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -96,4 +96,5 @@
 			var iterator = range.createIterator(),
 				block;
+			iterator.enlargeBr = editor.config.enterMode != CKEDITOR.ENTER_BR;
 
 			if ( state == CKEDITOR.TRISTATE_OFF )
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/button/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/button/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/button/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -182,5 +182,5 @@
 
 		output.push(
-			'<span class="cke_button">',
+			'<span class="cke_button' + ( this.icon && this.icon.indexOf( '.png' ) == -1 ? ' cke_noalphafix' : '' ) + '">',
 			'<a id="', id, '"' +
 				' class="', classes, '"',
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/dialogs/paste.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/dialogs/paste.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/dialogs/paste.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/clipboard/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -62,5 +62,6 @@
 	{
 		this.type = type;
-		this.canUndo = ( this.type == 'cut' );		// We can't undo copy to clipboard.
+		this.canUndo = this.type == 'cut';		// We can't undo copy to clipboard.
+		this.startDisabled = true;
 	};
 
@@ -219,8 +220,5 @@
 			}
 			else
-			{
-				doc.$.designMode = 'off';
 				pastebin.$.focus();
-			}
 		}
 		else
@@ -231,8 +229,9 @@
 		}
 
+		var editor  = this;
 		// Wait a while and grab the pasted contents
 		window.setTimeout( function()
 		{
-			mode == 'text' && !CKEDITOR.env.ie && ( doc.$.designMode = 'on' );
+			mode == 'text' && CKEDITOR.env.gecko && editor.focusGrabber.focus();
 			pastebin.remove();
 
@@ -282,4 +281,30 @@
 	}
 
+	var depressBeforeEvent;
+	function stateFromNamedCommand( command, editor )
+	{
+		// IE Bug: queryCommandEnabled('paste') fires also 'beforepaste(copy/cut)',
+		// guard to distinguish from the ordinary sources( either
+		// keyboard paste or execCommand ) (#4874).
+		CKEDITOR.env.ie && ( depressBeforeEvent = 1 );
+
+		var retval = editor.document.$.queryCommandEnabled( command ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
+		depressBeforeEvent = 0;
+		return retval;
+	}
+
+	var inReadOnly;
+	function setToolbarStates()
+	{
+		if ( this.mode != 'wysiwyg' )
+			return;
+
+		this.getCommand( 'cut' ).setState( inReadOnly ? CKEDITOR.TRISTATE_DISABLED : stateFromNamedCommand( 'Cut', this ) );
+		this.getCommand( 'copy' ).setState( stateFromNamedCommand( 'Copy', this ) );
+		var pasteState = inReadOnly ? CKEDITOR.TRISTATE_DISABLED :
+						CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste', this );
+		this.fire( 'pasteState', pasteState );
+	}
+
 	// Register the plugin.
 	CKEDITOR.plugins.add( 'clipboard',
@@ -307,4 +332,9 @@
 							editor.openDialog( 'paste' );
 						}, 0 );
+					});
+
+				editor.on( 'pasteState', function( evt )
+					{
+						editor.getCommand( 'paste' ).setState( evt.data );
 					});
 
@@ -349,5 +379,5 @@
 				{
 					var body = editor.document.getBody();
-					body.on( ( (mode == 'text' && CKEDITOR.env.ie ) || CKEDITOR.env.webkit ) ? 'paste' : 'beforepaste',
+					body.on( ( ( mode == 'text' && CKEDITOR.env.ie ) || CKEDITOR.env.webkit ) ? 'paste' : 'beforepaste',
 						function( evt )
 						{
@@ -369,4 +399,14 @@
 
 					body.on( 'beforecut', function() { !depressBeforeEvent && fixCut( editor ); } );
+
+					body.on( 'mouseup', function(){ setTimeout( function(){ setToolbarStates.call( editor ); }, 0 ); }, editor );
+					body.on( 'keyup', setToolbarStates, editor );
+				});
+
+				// For improved performance, we're checking the readOnly state on selectionChange instead of hooking a key event for that.
+				editor.on( 'selectionChange', function( evt )
+				{
+					inReadOnly = evt.data.selection.getRanges()[ 0 ].checkReadOnly();
+					setToolbarStates.call( editor );
 				});
 
@@ -374,24 +414,11 @@
 				if ( editor.contextMenu )
 				{
-					var depressBeforeEvent;
-					function stateFromNamedCommand( command )
-					{
-						// IE Bug: queryCommandEnabled('paste') fires also 'beforepaste(copy/cut)',
-						// guard to distinguish from the ordinary sources( either
-						// keyboard paste or execCommand ) (#4874).
-						CKEDITOR.env.ie && ( depressBeforeEvent = 1 );
-
-						var retval = editor.document.$.queryCommandEnabled( command ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
-						depressBeforeEvent = 0;
-						return retval;
-					}
-
 					editor.contextMenu.addListener( function( element, selection )
 						{
-							var readOnly = selection.getCommonAncestor().isReadOnly();
+							var readOnly = selection.getRanges()[ 0 ].checkReadOnly();
 							return {
-								cut : !readOnly && stateFromNamedCommand( 'Cut' ),
-								copy : stateFromNamedCommand( 'Copy' ),
-								paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' ) )
+								cut : !readOnly && stateFromNamedCommand( 'Cut', editor ),
+								copy : stateFromNamedCommand( 'Copy', editor ),
+								paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste', editor ) )
 							};
 						});
@@ -411,2 +438,8 @@
  * @param {String} [data.text] The plain text data to be pasted, available when plain text operations are to used. If not available, e.data.html will be defined.
  */
+
+/**
+ * Internal event to open the Paste dialog
+ * @name CKEDITOR.editor#pasteDialog
+ * @event
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/colorbutton/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/colorbutton/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/colorbutton/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -74,5 +74,5 @@
 							color = block && block.getComputedStyle( type == 'back' ? 'background-color' : 'color' ) || 'transparent';
 						}
-						while ( type == 'back' && color == 'transparent' && ( block = block.getParent() ) );
+						while ( type == 'back' && color == 'transparent' && block && ( block = block.getParent() ) );
 
 						// The box should never be transparent.
@@ -221,5 +221,5 @@
 		function isUnstylable( ele )
 		{
-			return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-cke-nostyle' );
+			return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-nostyle' );
 		}
 	}
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/colordialog/dialogs/colordialog.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/colordialog/dialogs/colordialog.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/colordialog/dialogs/colordialog.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/contextmenu/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/contextmenu/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/contextmenu/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/dialogDefinition.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/dialogDefinition.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/dialogDefinition.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/dialog/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -711,11 +711,4 @@
 		show : function()
 		{
-			var editor = this._.editor;
-			if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
-			{
-				var selection = editor.getSelection();
-				selection && selection.lock();
-			}
-
 			// Insert the dialog's element to the root document.
 			var element = this._.element;
@@ -1707,5 +1700,7 @@
 
 		var editor = dialog.getParentEditor();
-		var wrapperWidth, wrapperHeight, viewSize, origin, startSize;
+		var wrapperWidth, wrapperHeight,
+				viewSize, origin, startSize,
+				dialogCover;
 
 		function positionDialog( right )
@@ -1725,4 +1720,14 @@
 		{
 			startSize = dialog.getSize();
+
+			var content = dialog.parts.contents,
+				iframeDialog = content.$.getElementsByTagName( 'iframe' ).length;
+
+			// Shim to help capturing "mousemove" over iframe.
+			if ( iframeDialog )
+			{
+				dialogCover = CKEDITOR.dom.element.createFromHtml( '<div class="cke_dialog_resize_cover" style="height: 100%; position: absolute; width: 100%;"></div>' );
+				content.append( dialogCover );
+			}
 
 			// Calculate the offset between content and chrome size.
@@ -1804,4 +1809,10 @@
 			CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
 
+			if ( dialogCover )
+			{
+				dialogCover.remove();
+				dialogCover = null;
+			}
+
 			if ( CKEDITOR.env.ie6Compat )
 			{
@@ -1853,5 +1864,5 @@
 		{
 			var html = [
-					'<div style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
+					'<div tabIndex="-1" style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
 					'; z-index: ', baseFloatZIndex,
 					'; top: 0px; left: 0px; ',
@@ -1924,9 +1935,12 @@
 					});
 
-			do
-			{
-				var dialogPos = cursor.getPosition();
-				cursor.move( dialogPos.x, dialogPos.y );
-			} while ( ( cursor = cursor._.parentDialog ) );
+			if ( cursor )
+			{
+				do
+				{
+					var dialogPos = cursor.getPosition();
+					cursor.move( dialogPos.x, dialogPos.y );
+				} while ( ( cursor = cursor._.parentDialog ) );
+			}
 		};
 
@@ -1934,4 +1948,8 @@
 		win.on( 'resize', resizeFunc );
 		resizeFunc();
+		// Using Safari/Mac, focus must be kept where it is (#7027)
+		if ( !( CKEDITOR.env.mac && CKEDITOR.env.webkit ) )
+			coverElement.focus();
+
 		if ( CKEDITOR.env.ie6Compat )
 		{
@@ -2897,76 +2915,79 @@
 
 	})();
+
+	// Extend the CKEDITOR.editor class with dialog specific functions.
+	CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+		/** @lends CKEDITOR.editor.prototype */
+		{
+			/**
+			 * Loads and opens a registered dialog.
+			 * @param {String} dialogName The registered name of the dialog.
+			 * @param {Function} callback The function to be invoked after dialog instance created.
+			 * @see CKEDITOR.dialog.add
+			 * @example
+			 * CKEDITOR.instances.editor1.openDialog( 'smiley' );
+			 * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. null if the dialog name is not registered.
+			 */
+			openDialog : function( dialogName, callback )
+			{
+				if ( this.mode == 'wysiwyg' && CKEDITOR.env.ie )
+				{
+					var selection = this.getSelection();
+					selection && selection.lock();
+				}
+
+				var dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
+						dialogSkin = this.skin.dialog;
+
+				if ( CKEDITOR.dialog._.currentTop === null )
+					showCover( this );
+
+				// If the dialogDefinition is already loaded, open it immediately.
+				if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
+				{
+					var storedDialogs = this._.storedDialogs ||
+						( this._.storedDialogs = {} );
+
+					var dialog = storedDialogs[ dialogName ] ||
+						( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) );
+
+					callback && callback.call( dialog, dialog );
+					dialog.show();
+
+					return dialog;
+				}
+				else if ( dialogDefinitions == 'failed' )
+					throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' );
+
+				var me = this;
+
+				function onDialogFileLoaded( success )
+				{
+					var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
+							skin = me.skin.dialog;
+
+					// Check if both skin part and definition is loaded.
+					if ( !skin._isLoaded || loadDefinition && typeof success == 'undefined' )
+						return;
+
+					// In case of plugin error, mark it as loading failed.
+					if ( typeof dialogDefinition != 'function' )
+						CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed';
+
+					me.openDialog( dialogName, callback );
+				}
+
+				if ( typeof dialogDefinitions == 'string' )
+				{
+					var loadDefinition = 1;
+					CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), onDialogFileLoaded, null, 0, 1 );
+				}
+
+				CKEDITOR.skins.load( this, 'dialog', onDialogFileLoaded );
+
+				return null;
+			}
+		});
 })();
-
-// Extend the CKEDITOR.editor class with dialog specific functions.
-CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
-	/** @lends CKEDITOR.editor.prototype */
-	{
-		/**
-		 * Loads and opens a registered dialog.
-		 * @param {String} dialogName The registered name of the dialog.
-		 * @param {Function} callback The function to be invoked after dialog instance created.
-		 * @see CKEDITOR.dialog.add
-		 * @example
-		 * CKEDITOR.instances.editor1.openDialog( 'smiley' );
-		 * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. null if the dialog name is not registered.
-		 */
-		openDialog : function( dialogName, callback )
-		{
-			var dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
-					dialogSkin = this.skin.dialog;
-
-			// If the dialogDefinition is already loaded, open it immediately.
-			if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
-			{
-				var storedDialogs = this._.storedDialogs ||
-					( this._.storedDialogs = {} );
-
-				var dialog = storedDialogs[ dialogName ] ||
-					( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) );
-
-				callback && callback.call( dialog, dialog );
-				dialog.show();
-
-				return dialog;
-			}
-			else if ( dialogDefinitions == 'failed' )
-				throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' );
-
-			// Not loaded? Load the .js file first.
-			var body = CKEDITOR.document.getBody(),
-				cursor = body.$.style.cursor,
-				me = this;
-
-			body.setStyle( 'cursor', 'wait' );
-
-			function onDialogFileLoaded( success )
-			{
-				var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
-						skin = me.skin.dialog;
-
-				// Check if both skin part and definition is loaded.
-				if ( !skin._isLoaded || loadDefinition && typeof success == 'undefined' )
-					return;
-
-				// In case of plugin error, mark it as loading failed.
-				if ( typeof dialogDefinition != 'function' )
-					CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed';
-
-				me.openDialog( dialogName, callback );
-				body.setStyle( 'cursor', cursor );
-			}
-
-			if ( typeof dialogDefinitions == 'string' )
-			{
-				var loadDefinition = 1;
-				CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), onDialogFileLoaded );
-			}
-
-			CKEDITOR.skins.load( this, 'dialog', onDialogFileLoaded );
-
-			return null;
-		}
-	});
 
 CKEDITOR.plugins.add( 'dialog',
@@ -3017,5 +3038,5 @@
 
 /**
- * The guildeline to follow when generating the dialog buttons. There are 3 possible options:
+ * The guideline to follow when generating the dialog buttons. There are 3 possible options:
  * <ul>
  *     <li>'OS' - the buttons will be displayed in the default order of the user's OS;</li>
@@ -3035,5 +3056,5 @@
  * Separate each pair with semicolon (see example).
  * <b>Note: All names are case-sensitive.</b>
- * <b>Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!<b>
+ * <b>Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!</b>
  * @name CKEDITOR.config.removeDialogTabs
  * @type String
@@ -3061,7 +3082,57 @@
 /**
  * Fired when a tab is going to be selected in a dialog
- * @name dialog#selectPage
+ * @name CKEDITOR.dialog#selectPage
  * @event
- * @param String page The id of the page that it's gonna be selected.
- * @param String currentPage The id of the current page.
+ * @param {String} page The id of the page that it's gonna be selected.
+ * @param {String} currentPage The id of the current page.
  */
+
+/**
+ * Fired when the user tries to dismiss a dialog
+ * @name CKEDITOR.dialog#cancel
+ * @event
+ * @param {Boolean} hide Whether the event should proceed or not.
+ */
+
+/**
+ * Fired when the user tries to confirm a dialog
+ * @name CKEDITOR.dialog#ok
+ * @event
+ * @param {Boolean} hide Whether the event should proceed or not.
+ */
+
+/**
+ * Fired when a dialog is shown
+ * @name CKEDITOR.dialog#show
+ * @event
+ */
+
+/**
+ * Fired when a dialog is shown
+ * @name CKEDITOR.editor#dialogShow
+ * @event
+ */
+
+/**
+ * Fired when a dialog is hidden
+ * @name CKEDITOR.dialog#hide
+ * @event
+ */
+
+/**
+ * Fired when a dialog is hidden
+ * @name CKEDITOR.editor#dialogHide
+ * @event
+ */
+
+/**
+ * Fired when a dialog is being resized. The event is fired on
+ * the 'CKEDITOR.dialog' object, not a dialog instance.
+ * @name CKEDITOR.dialog#resize
+ * @since 3.5
+ * @event
+ * @param {CKEDITOR.dialog} dialog The dialog being resized.
+ * @param {String} skin The skin name.
+ * @param {Number} width The new width.
+ * @param {Number} height The new height.
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/dialogadvtab/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/dialogadvtab/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/dialogadvtab/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/dialogui/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/dialogui/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/dialogui/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -1522,2 +1522,16 @@
 	CKEDITOR.dialog.addUIElement( 'fieldset', containerBuilder );
 })();
+
+/**
+ * Fired when the value of the uiElement is changed
+ * @name CKEDITOR.ui.dialog.uiElement#change
+ * @event
+ */
+
+/**
+ * Fired when the inner frame created by the element is ready.
+ * Each time the button is used or the dialog is loaded a new
+ * form might be created.
+ * @name CKEDITOR.ui.dialog.fileButton#formLoaded
+ * @event
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/div/dialogs/div.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/div/dialogs/div.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/div/dialogs/div.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
- * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.html or http://ckeditor.com/license
  */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/div/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/div/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/div/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/domiterator/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/domiterator/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/domiterator/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -31,5 +31,15 @@
 
 	var beginWhitespaceRegex = /^[\r\n\t ]+$/,
-		isBookmark = CKEDITOR.dom.walker.bookmark();
+		// Ignore bookmark nodes.(#3783)
+		bookmarkGuard = CKEDITOR.dom.walker.bookmark( false, true );
+
+	// Get a reference for the next element, bookmark nodes are skipped.
+	function getNextSourceNode( node, startFromSibling, lastNode )
+	{
+		var next = node.getNextSourceNode( startFromSibling, null, lastNode );
+		while ( !bookmarkGuard( next ) )
+			next = next.getNextSourceNode( startFromSibling, null, lastNode );
+		return next;
+	}
 
 	iterator.prototype = {
@@ -198,5 +208,5 @@
 				if ( range && !closeRange )
 				{
-					while ( !currentNode.getNext() && !isLast )
+					while ( !currentNode.getNext( bookmarkGuard ) && !isLast )
 					{
 						var parentNode = currentNode.getParent();
@@ -221,5 +231,5 @@
 					range.setEndAt( currentNode, CKEDITOR.POSITION_AFTER_END );
 
-				currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );
+				currentNode = getNextSourceNode ( currentNode, continueFromSibling, lastNode );
 				isLast = !currentNode;
 
@@ -257,13 +267,13 @@
 					block = this.range.document.createElement( blockTag || 'p' );
 
-					// Move the contents of the temporary range to the fixed block.
-					range.extractContents().appendTo( block );
-					block.trim();
-
-					// Insert the fixed block into the DOM.
-					range.insertNode( block );
-
-					removePreviousBr = removeLastBr = true;
-				}
+						// Move the contents of the temporary range to the fixed block.
+						range.extractContents().appendTo( block );
+						block.trim();
+
+						// Insert the fixed block into the DOM.
+						range.insertNode( block );
+
+						removePreviousBr = removeLastBr = true;
+					}
 				else if ( block.getName() != 'li' )
 				{
@@ -298,11 +308,7 @@
 					// lists) or the next sibling <li>.
 
-					this._.nextNode = ( block.equals( lastNode ) ? null :
-						range.getBoundaryNodes().endNode.getNextSourceNode( true, null, lastNode ) );
-				}
-			}
-
-			// Ignore bookmark nodes.(#3783)
-			var bookmarkGuard = CKEDITOR.dom.walker.bookmark( false, true );
+					this._.nextNode = ( block.equals( lastNode ) ? null : getNextSourceNode( range.getBoundaryNodes().endNode, 1, lastNode ) );
+				}
+			}
 
 			if ( removePreviousBr )
@@ -337,11 +343,5 @@
 			{
 				this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
-					block.getNextSourceNode( true, null, lastNode );
-			}
-
-			if ( !bookmarkGuard( this._.nextNode ) )
-			{
-				this._.nextNode = this._.nextNode.getNextSourceNode( true, null, function( node )
-					{ return !node.equals( lastNode ) && bookmarkGuard( node ); } );
+					getNextSourceNode( block, 1, lastNode );
 			}
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -113,4 +113,11 @@
 					}, 0 );
 				});
+
+			editor.on( 'destroy', function ()
+			{
+				// ->		currentMode.unload( holderElement );
+				if ( this.mode )
+					this._.modes[ this.mode ].unload( this.getThemeSpace( 'contents' ) );
+			});
 		}
 	});
@@ -228,2 +235,14 @@
  * @param {CKEDITOR.editor} editor The editor instance that has been created.
  */
+
+/**
+ * Fired when the CKEDITOR instance is created, fully initialized and ready for interaction.
+ * @name CKEDITOR.editor#instanceReady
+ * @event
+ */
+
+/**
+ * Fired before changing the editing mode
+ * @name CKEDITOR.editor#beforeModeUnload
+ * @event
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/elementspath/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/elementspath/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/elementspath/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -200,2 +200,9 @@
 	});
 })();
+
+/**
+ * Fired when the contents of the elementsPath are changed
+ * @name CKEDITOR.editor#elementsPathUpdate
+ * @event
+ * @param {Object} eventData.space The elementsPath container
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/enterkey/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/enterkey/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/enterkey/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/entities/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/entities/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/entities/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -7,9 +7,9 @@
 {
 	// Base HTML entities.
-	var htmlbase = 'nbsp,gt,lt,quot';
+	var htmlbase = 'nbsp,gt,lt';
 
 	var entities =
 		// Latin-1 Entities
-		'iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +
+		'quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +
 		'not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,' +
 		'cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,' +
@@ -75,5 +75,5 @@
 			});
 
-		if ( !reverse )
+		if ( !reverse && entities )
 		{
 			// Transforms the entities string into an array.
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/fakeobjects/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/fakeobjects/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/fakeobjects/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/filebrowser/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/filebrowser/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/filebrowser/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -389,4 +389,5 @@
 		{
 			editor._.filebrowserFn = CKEDITOR.tools.addFunction( setUrl, editor );
+			editor.on( 'destroy', function () { CKEDITOR.tools.removeFunction( this._.filebrowserFn ); } );
 		}
 	} );
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/find/dialogs/find.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/find/dialogs/find.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/find/dialogs/find.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -605,5 +605,5 @@
 			resizable : CKEDITOR.DIALOG_RESIZE_NONE,
 			minWidth : 350,
-			minHeight : 165,
+			minHeight : 170,
 			buttons : [ CKEDITOR.dialog.cancelButton ],		// Cancel button only.
 			contents : [
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/find/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/find/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/find/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/flash/dialogs/flash.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/flash/dialogs/flash.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/flash/dialogs/flash.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/flash/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/flash/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/flash/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/floatpanel/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/floatpanel/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/floatpanel/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/font/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/font/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/font/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/format/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/format/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/format/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -55,5 +55,8 @@
 					editor.fire( 'saveSnapshot' );
 
-					styles[ value ].apply( editor.document );
+					var style = styles[ value ],
+						elementPath = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() );
+
+					style[ style.checkActive( elementPath ) ? 'remove' : 'apply' ]( editor.document );
 
 					// Save the undo snapshot after all changes are affected. (#4899)
@@ -109,5 +112,5 @@
  * @default { element : 'p' }
  * @example
- * config.format_p = { element : 'p', attributes : { class : 'normalPara' } };
+ * config.format_p = { element : 'p', attributes : { 'class' : 'normalPara' } };
  */
 CKEDITOR.config.format_p = { element : 'p' };
@@ -118,5 +121,5 @@
  * @default { element : 'div' }
  * @example
- * config.format_div = { element : 'div', attributes : { class : 'normalDiv' } };
+ * config.format_div = { element : 'div', attributes : { 'class' : 'normalDiv' } };
  */
 CKEDITOR.config.format_div = { element : 'div' };
@@ -127,5 +130,5 @@
  * @default { element : 'pre' }
  * @example
- * config.format_pre = { element : 'pre', attributes : { class : 'code' } };
+ * config.format_pre = { element : 'pre', attributes : { 'class' : 'code' } };
  */
 CKEDITOR.config.format_pre = { element : 'pre' };
@@ -136,5 +139,5 @@
  * @default { element : 'address' }
  * @example
- * config.format_address = { element : 'address', attributes : { class : 'styledAddress' } };
+ * config.format_address = { element : 'address', attributes : { 'class' : 'styledAddress' } };
  */
 CKEDITOR.config.format_address = { element : 'address' };
@@ -145,5 +148,5 @@
  * @default { element : 'h1' }
  * @example
- * config.format_h1 = { element : 'h1', attributes : { class : 'contentTitle1' } };
+ * config.format_h1 = { element : 'h1', attributes : { 'class' : 'contentTitle1' } };
  */
 CKEDITOR.config.format_h1 = { element : 'h1' };
@@ -154,5 +157,5 @@
  * @default { element : 'h2' }
  * @example
- * config.format_h2 = { element : 'h2', attributes : { class : 'contentTitle2' } };
+ * config.format_h2 = { element : 'h2', attributes : { 'class' : 'contentTitle2' } };
  */
 CKEDITOR.config.format_h2 = { element : 'h2' };
@@ -163,5 +166,5 @@
  * @default { element : 'h3' }
  * @example
- * config.format_h3 = { element : 'h3', attributes : { class : 'contentTitle3' } };
+ * config.format_h3 = { element : 'h3', attributes : { 'class' : 'contentTitle3' } };
  */
 CKEDITOR.config.format_h3 = { element : 'h3' };
@@ -172,5 +175,5 @@
  * @default { element : 'h4' }
  * @example
- * config.format_h4 = { element : 'h4', attributes : { class : 'contentTitle4' } };
+ * config.format_h4 = { element : 'h4', attributes : { 'class' : 'contentTitle4' } };
  */
 CKEDITOR.config.format_h4 = { element : 'h4' };
@@ -181,5 +184,5 @@
  * @default { element : 'h5' }
  * @example
- * config.format_h5 = { element : 'h5', attributes : { class : 'contentTitle5' } };
+ * config.format_h5 = { element : 'h5', attributes : { 'class' : 'contentTitle5' } };
  */
 CKEDITOR.config.format_h5 = { element : 'h5' };
@@ -190,5 +193,5 @@
  * @default { element : 'h6' }
  * @example
- * config.format_h6 = { element : 'h6', attributes : { class : 'contentTitle6' } };
+ * config.format_h6 = { element : 'h6', attributes : { 'class' : 'contentTitle6' } };
  */
 CKEDITOR.config.format_h6 = { element : 'h6' };
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/button.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/button.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/button.js	(revision 6396)
@@ -1,8 +1,25 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
 CKEDITOR.dialog.add( 'button', function( editor )
 {
+	function commitAttributes( element )
+	{
+		var val = this.getValue();
+		if ( val )
+		{
+			element.attributes[ this.id ] = val;
+			if ( this.id == 'name' )
+				element.attributes[ 'data-cke-saved-name' ] = val;
+		}
+		else
+		{
+			delete element.attributes[ this.id ];
+			if ( this.id == 'name' )
+				delete element.attributes[ 'data-cke-saved-name' ];
+		}
+	}
+
 	return {
 		title : editor.lang.button.title,
@@ -25,17 +42,23 @@
 		onOk : function()
 		{
-			var editor,
+			var editor = this.getParentEditor(),
 				element = this.button,
 				isInsertMode = !element;
 
-			if ( isInsertMode )
-			{
-				editor = this.getParentEditor();
-				element = editor.document.createElement( 'input' );
-			}
+			var fake = element ? CKEDITOR.htmlParser.fragment.fromHtml( element.getOuterHtml() ).children[ 0 ]
+					: new CKEDITOR.htmlParser.element( 'input' );
+			this.commitContent( fake );
+
+			var writer = new CKEDITOR.htmlParser.basicWriter();
+			fake.writeHtml( writer );
+			var newElement = CKEDITOR.dom.element.createFromHtml( writer.getHtml(), editor.document );
 
 			if ( isInsertMode )
-				editor.insertElement( element );
-			this.commitContent( { element : element } );
+				editor.insertElement( newElement );
+			else
+			{
+				newElement.replace( element );
+				editor.getSelection().selectElement( newElement );
+			}
 		},
 		contents : [
@@ -46,5 +69,5 @@
 				elements : [
 					{
-						id : '_cke_saved_name',
+						id : 'name',
 						type : 'text',
 						label : editor.lang.common.name,
@@ -57,16 +80,5 @@
 									'' );
 						},
-						commit : function( data )
-						{
-							var element = data.element;
-
-							if ( this.getValue() )
-								element.data( 'cke-saved-name', this.getValue() );
-							else
-							{
-								element.data( 'cke-saved-name', false );
-								element.removeAttribute( 'name' );
-							}
-						}
+						commit : commitAttributes
 					},
 					{
@@ -80,13 +92,5 @@
 							this.setValue( element.getAttribute( 'value' ) || '' );
 						},
-						commit : function( data )
-						{
-							var element = data.element;
-
-							if ( this.getValue() )
-								element.setAttribute( 'value', this.getValue() );
-							else
-								element.removeAttribute( 'value' );
-						}
+						commit : commitAttributes
 					},
 					{
@@ -106,26 +110,5 @@
 							this.setValue( element.getAttribute( 'type' ) || '' );
 						},
-						commit : function( data )
-						{
-							var element = data.element;
-
-							if ( CKEDITOR.env.ie )
-							{
-								var elementType = element.getAttribute( 'type' );
-								var currentType = this.getValue();
-
-								if ( currentType != elementType )
-								{
-									var replace = CKEDITOR.dom.element.createFromHtml( '<input type="' + currentType +
-										'"></input>', editor.document );
-									element.copyAttributes( replace, { type : 1 } );
-									replace.replace( element );
-									editor.getSelection().selectElement( replace );
-									data.element = replace;
-								}
-							}
-							else
-								element.setAttribute( 'type', this.getValue() );
-						}
+						commit : commitAttributes
 					}
 				]
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/checkbox.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/checkbox.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/checkbox.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/form.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/form.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/form.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -40,5 +40,5 @@
 				editor = this.getParentEditor();
 				element = editor.document.createElement( 'form' );
-				element.append( editor.document.createElement( 'br' ) );
+				!CKEDITOR.env.ie && element.append( editor.document.createElement( 'br' ) );
 			}
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/hiddenfield.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/hiddenfield.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/hiddenfield.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/radio.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/radio.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/radio.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -104,5 +104,5 @@
 							var element = data.element;
 
-							if ( !CKEDITOR.env.ie )
+							if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera ) )
 							{
 								if ( this.getValue() )
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/select.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/select.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/select.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textarea.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textarea.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textarea.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textfield.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textfield.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/dialogs/textfield.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/forms/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/forms/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/forms/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -150,20 +150,23 @@
 						if ( name == 'input' )
 						{
-							var type = element.getAttribute( 'type' );
-
-							if ( type == 'text' || type == 'password' )
-								return { textfield : CKEDITOR.TRISTATE_OFF };
-
-							if ( type == 'button' || type == 'submit' || type == 'reset' )
-								return { button : CKEDITOR.TRISTATE_OFF };
-
-							if ( type == 'checkbox' )
-								return { checkbox : CKEDITOR.TRISTATE_OFF };
-
-							if ( type == 'radio' )
-								return { radio : CKEDITOR.TRISTATE_OFF };
-
-							if ( type == 'image' )
-								return { imagebutton : CKEDITOR.TRISTATE_OFF };
+							switch( element.getAttribute( 'type' ) )
+							{
+								case 'button' :
+								case 'submit' :
+								case 'reset' :
+									return { button : CKEDITOR.TRISTATE_OFF };
+
+								case 'checkbox' :
+									return { checkbox : CKEDITOR.TRISTATE_OFF };
+
+								case 'radio' :
+									return { radio : CKEDITOR.TRISTATE_OFF };
+
+								case 'image' :
+									return { imagebutton : CKEDITOR.TRISTATE_OFF };
+
+								default :
+									return { textfield : CKEDITOR.TRISTATE_OFF };
+							}
 						}
 
@@ -188,12 +191,6 @@
 				else if ( element.is( 'input' ) )
 				{
-					var type = element.getAttribute( 'type' );
-
-					switch ( type )
-					{
-						case 'text' :
-						case 'password' :
-							evt.data.dialog = 'textfield';
-							break;
+					switch ( element.getAttribute( 'type' ) )
+					{
 						case 'button' :
 						case 'submit' :
@@ -209,4 +206,7 @@
 						case 'image' :
 							evt.data.dialog = 'imagebutton';
+							break;
+						default :
+							evt.data.dialog = 'textfield';
 							break;
 					}
@@ -232,4 +232,7 @@
 						var attrs = input.attributes,
 							type = attrs.type;
+						// Old IEs don't provide type for Text inputs #5522
+						if ( !type )
+							attrs.type = 'text';
 						if ( type == 'checkbox' || type == 'radio' )
 							attrs.value == 'on' && delete attrs.value;
@@ -273,8 +276,5 @@
 				case 'value' :
 					var type = this.getAttribute( 'type' );
-					if ( type == 'checkbox' || type == 'radio' )
-						return this.$.value != 'on';
-					break;
-				default:
+					return type == 'checkbox' || type == 'radio' ? this.$.value != 'on' : this.$.value;
 			}
 		}
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/horizontalrule/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/horizontalrule/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/horizontalrule/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/htmldataprocessor/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/htmldataprocessor/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -93,5 +93,12 @@
 	var defaultDataFilterRules =
 	{
-		elements : {},
+		elements : {
+			a : function( element )
+			{
+				var attrs = element.attributes;
+				if ( attrs && attrs[ 'data-cke-saved-name' ] )
+					attrs[ 'class' ] = ( attrs[ 'class' ] ? attrs[ 'class' ] + ' ' : '' ) + 'cke_anchor';
+			}
+		},
 		attributeNames :
 		[
@@ -123,6 +130,6 @@
 				[ ( /^data-cke-(saved|pa)-/ ), '' ],
 
-				// All "data-cke" attributes are to be ignored.
-				[ ( /^data-cke.*/ ), '' ],
+				// All "data-cke-" attributes are to be ignored.
+				[ ( /^data-cke-.*/ ), '' ],
 
 				[ 'hidefocus', '' ]
@@ -194,4 +201,7 @@
 				},
 
+				// Empty <pre> in IE is reported with filler node (&nbsp;).
+				pre : function( element ) { CKEDITOR.env.ie && trimFillers( element ); },
+
 				html : function( element )
 				{
@@ -252,8 +262,11 @@
 	{
 		// IE outputs style attribute in capital letters. We should convert
-		// them back to lower case.
+		// them back to lower case, while not hurting the values (#5930)
 		defaultHtmlFilterRules.attributes.style = function( value, element )
 		{
-			return value.toLowerCase();
+			return value.replace( /(^|;)([^\:]+)/g, function( match )
+				{
+					return match.toLowerCase();
+				});
 		};
 	}
@@ -261,9 +274,21 @@
 	function protectReadOnly( element )
 	{
-		element.attributes.contenteditable = "false";
+		var attrs = element.attributes;
+
+		// We should flag that the element was locked by our code so
+		// it'll be editable by the editor functions (#6046).
+		if ( attrs.contenteditable != "false" )
+			attrs[ 'data-cke-editable' ] = attrs.contenteditable ? 'true' : 1;
+
+		attrs.contenteditable = "false";
 	}
 	function unprotectReadyOnly( element )
 	{
-		delete element.attributes.contenteditable;
+		var attrs = element.attributes;
+		switch( attrs[ 'data-cke-editable' ] )
+		{
+			case 'true':	attrs.contenteditable = 'true';	break;
+			case '1':		delete attrs.contenteditable;	break;
+		}
 	}
 	// Disable form elements editing mode provided by some browers. (#5746)
@@ -274,6 +299,6 @@
 	}
 
-	var protectAttributeRegex = /<((?:a|area|img|input)\b[\s\S]*?\s)((href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+)))([^>]*)>/gi,
-		findSavedSrcRegex = /\sdata-cke-saved-src\s*=/;
+	var protectElementRegex = /<(a|area|img|input)\b([^>]*)>/gi,
+		protectAttributeRegex = /\b(href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi;
 
 	var protectElementsRegex = /(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,
@@ -287,12 +312,15 @@
 	function protectAttributes( html )
 	{
-		return html.replace( protectAttributeRegex, function( tag, beginning, fullAttr, attrName, end )
-			{
-				// We should not rewrite the _cke_saved_src attribute (#5218)
-				if ( attrName == 'src' && findSavedSrcRegex.test( tag ) )
-					return tag;
-				else
-					return '<' + beginning + fullAttr + ' data-cke-saved-' + fullAttr + end + '>';
-			});
+		return html.replace( protectElementRegex, function( element, tag, attributes )
+		{
+			return '<' +  tag + attributes.replace( protectAttributeRegex, function( fullAttr, attrName )
+			{
+				// We should not rewrite the existed protected attributes, e.g. clipboard content from editor. (#5218)
+				if ( attributes.indexOf( 'data-cke-saved-' + attrName ) == -1 )
+					return ' data-cke-saved-' + fullAttr + ' ' + fullAttr;
+
+				return fullAttr;
+			}) + '>';
+		});
 	}
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/htmlwriter/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/htmlwriter/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/htmlwriter/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/dialogs/iframe.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/dialogs/iframe.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/dialogs/iframe.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/iframe/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/iframedialog/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/iframedialog/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/iframedialog/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/image/dialogs/image.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/image/dialogs/image.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/image/dialogs/image.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -263,7 +263,7 @@
 
 		return {
-			title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton,
+			title : editor.lang.image[ dialogType == 'image' ? 'title' : 'titleButton' ],
 			minWidth : 420,
-			minHeight : CKEDITOR.env.ie && CKEDITOR.env.quirks?  360: 310,
+			minHeight : 360,
 			onShow : function()
 			{
@@ -548,6 +548,6 @@
 												if ( type == IMAGE && ( this.getValue() || this.isChanged() ) )
 												{
-													element.data( 'cke-saved-src', decodeURI( this.getValue() ) );
-													element.setAttribute( 'src', decodeURI( this.getValue() ) );
+													element.data( 'cke-saved-src', this.getValue() );
+													element.setAttribute( 'src', this.getValue() );
 												}
 												else if ( type == CLEANUP )
@@ -1103,7 +1103,7 @@
 									if ( this.getValue() || this.isChanged() )
 									{
-										element.data( 'cke-saved-href', decodeURI( this.getValue() ) );
-										element.setAttribute( 'href', 'javascript:void(0)/*' +
-											CKEDITOR.tools.getNextNumber() + '*/' );
+										var url = decodeURI( this.getValue() );
+										element.data( 'cke-saved-href', url );
+										element.setAttribute( 'href', url );
 
 										if ( this.getValue() || !editor.config.image_removeLinkByEmptyURL )
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/image/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/image/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/image/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/indent/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/indent/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/indent/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -10,13 +10,7 @@
 (function()
 {
-	var listNodeNames = { ol : 1, ul : 1 };
-
-	var isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+	var listNodeNames = { ol : 1, ul : 1 },
+		isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
 		isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
-
-	function setState( editor, state )
-	{
-		editor.getCommand( this.name ).setState( state );
-	}
 
 	function onSelectionChange( evt )
@@ -28,13 +22,13 @@
 
 		if ( list )
-				return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+				return this.setState( CKEDITOR.TRISTATE_OFF );
 
 		if ( !this.useIndentClasses && this.name == 'indent' )
-			return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+			return this.setState( CKEDITOR.TRISTATE_OFF );
 
 		var path = evt.data.path,
 			firstBlock = path.block || path.blockLimit;
 		if ( !firstBlock )
-			return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+			return this.setState( CKEDITOR.TRISTATE_DISABLED );
 
 		if ( this.useIndentClasses )
@@ -49,6 +43,6 @@
 			if ( ( this.name == 'outdent' && !indentStep ) ||
 					( this.name == 'indent' && indentStep == editor.config.indentClasses.length ) )
-				return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
-			return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+				return this.setState( CKEDITOR.TRISTATE_DISABLED );
+			return this.setState( CKEDITOR.TRISTATE_OFF );
 		}
 		else
@@ -58,6 +52,6 @@
 				indent = 0;
 			if ( indent <= 0 )
-				return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
-			return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+				return this.setState( CKEDITOR.TRISTATE_DISABLED );
+			return this.setState( CKEDITOR.TRISTATE_OFF );
 		}
 	}
@@ -216,5 +210,5 @@
 				iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
 				var block;
-				while ( ( block = iterator.getNextParagraph() ) )
+				while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
 					indentElement( block );
 			}
@@ -355,8 +349,6 @@
 		{
 			// Register commands.
-			var indent = new indentCommand( editor, 'indent' ),
-				outdent = new indentCommand( editor, 'outdent' );
-			editor.addCommand( 'indent', indent );
-			editor.addCommand( 'outdent', outdent );
+			var indent = editor.addCommand( 'indent', new indentCommand( editor, 'indent' ) ),
+				outdent = editor.addCommand( 'outdent', new indentCommand( editor, 'outdent' ) );
 
 			// Register the toolbar buttons.
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/justify/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/justify/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/justify/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -160,5 +160,5 @@
 				iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
 
-				while ( ( block = iterator.getNextParagraph() ) )
+				while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
 				{
 					block.removeAttribute( 'align' );
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/keystrokes/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/keystrokes/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/keystrokes/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -217,5 +217,5 @@
 /**
  * Fired when any keyboard key (or combination) is pressed into the editing area.
- * @name CKEDITOR#key
+ * @name CKEDITOR.editor#key
  * @event
  * @param {Number} data.keyCode A number representing the key code (or
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/anchor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/anchor.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/anchor.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/link.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/link.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/link/dialogs/link.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -226,5 +226,9 @@
 			advAttr( 'advLangDir', 'dir' );
 			advAttr( 'advAccessKey', 'accessKey' );
-			advAttr( 'advName', 'name' );
+
+			retval.adv.advName =
+				element.data( 'cke-saved-name' )
+				|| element.getAttribute( 'name' )
+				|| '';
 			advAttr( 'advLangCode', 'lang' );
 			advAttr( 'advTabIndex', 'tabindex' );
@@ -451,6 +455,6 @@
 											var	protocolCmb = this.getDialog().getContentElement( 'info', 'protocol' ),
 												url = this.getValue(),
-												urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi,
-												urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/gi;
+												urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/i,
+												urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/i;
 
 											var protocol = urlOnChangeProtocol.exec( url );
@@ -761,5 +765,5 @@
 								{
 									if ( data.target )
-										this.setValue( data.target.type );
+										this.setValue( data.target.type || 'notSet' );
 									targetChanged.call( this );
 								},
@@ -1162,7 +1166,7 @@
 		onOk : function()
 		{
-			var attributes = { href : 'javascript:void(0)/*' + CKEDITOR.tools.getNextNumber() + '*/' },
+			var attributes = {},
 				removeAttributes = [],
-				data = { href : attributes.href },
+				data = {},
 				me = this,
 				editor = this.getParentEditor();
@@ -1284,9 +1288,16 @@
 				};
 
-				if ( this._.selectedElement )
-					advAttr( 'advId', 'id' );
+				advAttr( 'advId', 'id' );
 				advAttr( 'advLangDir', 'dir' );
 				advAttr( 'advAccessKey', 'accessKey' );
-				advAttr( 'advName', 'name' );
+
+				if ( data.adv[ 'advName' ] )
+				{
+					attributes[ 'name' ] = attributes[ 'data-cke-saved-name' ] = data.adv[ 'advName' ];
+					attributes[ 'class' ] = ( attributes[ 'class' ] ? attributes[ 'class' ] + ' ' : '' ) + 'cke_anchor';
+				}
+				else
+					removeAttributes = removeAttributes.concat( [ 'data-cke-saved-name', 'name' ] );
+
 				advAttr( 'advLangCode', 'lang' );
 				advAttr( 'advTabIndex', 'tabindex' );
@@ -1297,4 +1308,8 @@
 				advAttr( 'advStyles', 'style' );
 			}
+
+
+			// Browser need the "href" fro copy/paste link to work. (#6641)
+			attributes.href = attributes[ 'data-cke-saved-href' ];
 
 			if ( !this._.selectedElement )
@@ -1317,18 +1332,4 @@
 				style.type = CKEDITOR.STYLE_INLINE;		// need to override... dunno why.
 				style.apply( editor.document );
-
-				// Id. Apply only to the first link.
-				if ( data.adv && data.adv.advId )
-				{
-					var links = this.getParentEditor().document.$.getElementsByTagName( 'a' );
-					for ( i = 0 ; i < links.length ; i++ )
-					{
-						if ( links[i].href == attributes.href )
-						{
-							links[i].id = data.adv.advId;
-							break;
-						}
-					}
-				}
 			}
 			else
@@ -1348,6 +1349,6 @@
 					selection = editor.getSelection();
 
+					element.copyAttributes( newElement, { name : 1 } );
 					element.moveChildren( newElement );
-					element.copyAttributes( newElement, { name : 1 } );
 					newElement.replace( element );
 					element = newElement;
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/link/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/link/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/link/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -31,4 +31,5 @@
 
 		// Add the CSS styles for anchor placeholders.
+		var side = editor.lang.dir == 'rtl' ? 'right' : 'left';
 		editor.addCss(
 			'img.cke_anchor' +
@@ -44,8 +45,8 @@
 			'{' +
 				'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
-				'background-position: 0 center;' +
+				'background-position: ' + side + ' center;' +
 				'background-repeat: no-repeat;' +
 				'border: 1px solid #a9a9a9;' +
-				'padding-left: 18px;' +
+				'padding-' + side + ': 18px;' +
 			'}'
 		   	);
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/list/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/list/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/list/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -104,4 +104,10 @@
 				{
 					var listData = CKEDITOR.plugins.list.arrayToList( listArray, null, currentIndex, paragraphMode );
+
+					// If the next block is an <li> with another list tree as the first
+					// child, we'll need to append a filler (<br>/NBSP) or the list item
+					// wouldn't be editable. (#6724)
+					if ( !currentListItem.getChildCount() && CKEDITOR.env.ie && !( doc.$.documentMode > 7 ))
+						currentListItem.append( doc.createText( '\xa0' ) );
 					currentListItem.append( listData.listNode );
 					currentIndex = listData.nextIndex;
@@ -115,10 +121,11 @@
 					{
 						// Create completely new blocks here.
-						if ( dir || item.element.hasAttributes() ||
-							( paragraphMode != CKEDITOR.ENTER_BR && item.grandparent.getName() != 'td' ) )
+						if ( dir || item.element.hasAttributes() || paragraphMode != CKEDITOR.ENTER_BR )
 						{
 							currentListItem = doc.createElement( paragraphName );
 							item.element.copyAttributes( currentListItem, { type:1, value:1 } );
-							dir && currentListItem.setAttribute( 'dir', dir );
+							var itemDir = item.element.getDirection() || dir;
+							itemDir &&
+								currentListItem.setAttribute( 'dir', itemDir );
 
 							// There might be a case where there are no attributes in the element after all
@@ -197,9 +204,4 @@
 	};
 
-	function setState( editor, state )
-	{
-		editor.getCommand( this.name ).setState( state );
-	}
-
 	function onSelectionChange( evt )
 	{
@@ -207,18 +209,16 @@
 			blockLimit = path.blockLimit,
 			elements = path.elements,
-			element;
+			element,
+			i;
 
 		// Grouping should only happen under blockLimit.(#3940).
-		for ( var i = 0 ; i < elements.length && ( element = elements[ i ] )
+		for ( i = 0 ; i < elements.length && ( element = elements[ i ] )
 			  && !element.equals( blockLimit ); i++ )
 		{
 			if ( listNodeNames[ elements[i].getName() ] )
-			{
-				return setState.call( this, evt.editor,
-						this.type == elements[i].getName() ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
-			}
-		}
-
-		return setState.call( this, evt.editor, CKEDITOR.TRISTATE_OFF );
+				return this.setState( this.type == elements[i].getName() ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+		}
+
+		return this.setState( CKEDITOR.TRISTATE_OFF );
 	}
 
@@ -486,5 +486,5 @@
 					if ( enclosedNode && enclosedNode.is
 						&& this.type == enclosedNode.getName() )
-							setState.call( this, editor, CKEDITOR.TRISTATE_ON );
+							this.setState( CKEDITOR.TRISTATE_ON );
 				}
 			}
@@ -687,8 +687,6 @@
 		{
 			// Register commands.
-			var numberedListCommand = new listCommand( 'numberedlist', 'ol' ),
-				bulletedListCommand = new listCommand( 'bulletedlist', 'ul' );
-			editor.addCommand( 'numberedlist', numberedListCommand );
-			editor.addCommand( 'bulletedlist', bulletedListCommand );
+			var numberedListCommand = editor.addCommand( 'numberedlist', new listCommand( 'numberedlist', 'ol' ) ),
+				bulletedListCommand = editor.addCommand( 'bulletedlist', new listCommand( 'bulletedlist', 'ul' ) );
 
 			// Register the toolbar button.
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/listblock/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/listblock/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/listblock/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/dialogs/liststyle.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/dialogs/liststyle.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/dialogs/liststyle.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
- * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.html or http://ckeditor.com/license
  */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/liststyle/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/maximize/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/maximize/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/maximize/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -195,8 +195,7 @@
 
 							// Hide scroll bars.
-							var viewPaneSize = mainWindow.getViewPaneSize();
 							var styles =
 								{
-									overflow : 'hidden',
+									overflow : CKEDITOR.env.webkit ? '' : 'hidden',		// #6896
 									width : 0,
 									height : 0
@@ -269,4 +268,11 @@
 							container.removeClass( 'cke_maximized' );
 
+							// Webkit requires a re-layout on editor chrome. (#6695)
+							if ( CKEDITOR.env.webkit )
+							{
+								container.setStyle( 'display', 'inline' );
+								setTimeout( function(){ container.setStyle( 'display', 'block' ); }, 0 );
+							}
+
 							if ( shim )
 							{
@@ -284,10 +290,14 @@
 						// Toggle button label.
 						var button = this.uiItems[ 0 ];
-						var label = ( this.state == CKEDITOR.TRISTATE_OFF )
-							? lang.maximize : lang.minimize;
-						var buttonNode = editor.element.getDocument().getById( button._.id );
-						buttonNode.getChild( 1 ).setHtml( label );
-						buttonNode.setAttribute( 'title', label );
-						buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' );
+						// Only try to change the button if it exists (#6166)
+						if( button )
+						{
+							var label = ( this.state == CKEDITOR.TRISTATE_OFF )
+								? lang.maximize : lang.minimize;
+							var buttonNode = editor.element.getDocument().getById( button._.id );
+							buttonNode.getChild( 1 ).setHtml( label );
+							buttonNode.setAttribute( 'title', label );
+							buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' );
+						}
 
 						// Restore selection and scroll position in editing area.
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/menu/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/menu/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/menu/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -50,5 +50,5 @@
 		{
 			definition = this._.definition = definition || {};
-			this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+			this.id = CKEDITOR.tools.getNextId();
 
 			this.editor = editor;
@@ -412,5 +412,5 @@
 
 			output.push(
-				'<span class="cke_menuitem">' +
+				'<span class="cke_menuitem' + ( this.icon && this.icon.indexOf( '.png' ) == -1 ? ' cke_noalphafix' : '' ) + '">' +
 				'<a id="', id, '"' +
 					' class="', classes, '" href="javascript:void(\'', ( this.label || '' ).replace( "'", '' ), '\')"' +
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/menubutton/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/menubutton/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/menubutton/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/newpage/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/newpage/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/newpage/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/pagebreak/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/pagebreak/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/pagebreak/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/panel/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/panel/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/panel/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -394,2 +394,9 @@
 	}
 });
+
+/**
+ * Fired when a panel is added to the document
+ * @name CKEDITOR#ariaWidget
+ * @event
+ * @param {Object} holder The element wrapping the panel
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/panelbutton/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/panelbutton/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/panelbutton/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/filter/default.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/filter/default.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/filter/default.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/pastefromword/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -48,4 +48,9 @@
 				});
 
+			editor.on( 'pasteState', function( evt )
+				{
+					editor.getCommand( 'pastefromword' ).setState( evt.data );
+				});
+
 			editor.on( 'paste', function( evt )
 			{
@@ -90,9 +95,11 @@
 
 				// Load with busy indicator.
-				CKEDITOR.scriptLoader.load( filterFilePath, callback, null, false, true );
+				CKEDITOR.scriptLoader.load( filterFilePath, callback, null, true );
 			}
 
 			return !isLoaded;
-		}
+		},
+
+		requires : [ 'clipboard' ]
 	});
 })();
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/dialogs/pastetext.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/dialogs/pastetext.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/dialogs/pastetext.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/pastetext/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -66,4 +66,9 @@
 				}, null, null, 0 );
 			}
+
+			editor.on( 'pasteState', function( evt )
+				{
+					editor.getCommand( 'pastetext' ).setState( evt.data );
+				});
 		},
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/dialogs/placeholder.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/dialogs/placeholder.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/dialogs/placeholder.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
- * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.html or http://ckeditor.com/license
  */
@@ -49,12 +49,5 @@
 			{
 				if ( isEdit )
-				{
-					var range = editor.getSelection().getRanges()[0];
-					range.shrink( CKEDITOR.SHRINK_TEXT );
-					var node = range.startContainer;
-					while( node && !( node.type == CKEDITOR.NODE_ELEMENT && node.data( 'cke-placeholder' ) ) )
-						node = node.getParent();
-					this._element = node;
-				}
+					this._element = CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor );
 
 				this.setupContent( this._element );
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/lang/en.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/lang/en.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/lang/en.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/placeholder/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -59,6 +59,5 @@
 			editor.on( 'doubleclick', function( evt )
 				{
-					var element = evt.data.element;
-					if ( element.data( 'cke-placeholder' ) )
+					if ( CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor ) )
 						evt.data.dialog = 'editplaceholder';
 				});
@@ -157,4 +156,16 @@
 		else
 			editor.insertElement( element );
+
+		return null;
+	},
+
+	getSelectedPlaceHoder : function( editor )
+	{
+		var range = editor.getSelection().getRanges()[ 0 ];
+		range.shrink( CKEDITOR.SHRINK_TEXT );
+		var node = range.startContainer;
+		while( node && !( node.type == CKEDITOR.NODE_ELEMENT && node.data( 'cke-placeholder' ) ) )
+			node = node.getParent();
+		return node;
 	}
 };
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/popup/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/popup/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/popup/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/preview/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/preview/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/preview/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -25,5 +25,5 @@
 				sHTML = editor.getData()
 						.replace( /<head>/, '$&' + baseTag )
-						.replace( /[^>]*(?=<\/title>)/, editor.lang.preview );
+						.replace( /[^>]*(?=<\/title>)/, '$& &mdash; ' + editor.lang.preview );
 			}
 			else
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/print/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/print/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/print/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/removeformat/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/removeformat/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/removeformat/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -42,15 +42,13 @@
 				while ( ( range = iterator.getNextRange() ) )
 				{
-					if ( range.collapsed )
-						continue;
-
-					range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+					if ( ! range.collapsed )
+						range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
 
 					// Bookmark the range so we can re-select it after processing.
-					var bookmark = range.createBookmark();
-
-					// The style will be applied within the bookmark boundaries.
-					var startNode	= bookmark.startNode,
-						endNode		= bookmark.endNode;
+					var bookmark = range.createBookmark(),
+						// The style will be applied within the bookmark boundaries.
+						startNode	= bookmark.startNode,
+						endNode		= bookmark.endNode,
+						currentNode;
 
 					// We need to check the selection boundaries (bookmark spans) to break
@@ -82,35 +80,38 @@
 
 					breakParent( startNode );
-					breakParent( endNode );
+					if ( endNode )
+					{
+						breakParent( endNode );
 
-					// Navigate through all nodes between the bookmarks.
-					var currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT );
+						// Navigate through all nodes between the bookmarks.
+						currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT );
 
-					while ( currentNode )
-					{
-						// If we have reached the end of the selection, stop looping.
-						if ( currentNode.equals( endNode ) )
-							break;
+						while ( currentNode )
+						{
+							// If we have reached the end of the selection, stop looping.
+							if ( currentNode.equals( endNode ) )
+								break;
 
-						// Cache the next node to be processed. Do it now, because
-						// currentNode may be removed.
-						var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
+							// Cache the next node to be processed. Do it now, because
+							// currentNode may be removed.
+							var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
 
-						// This node must not be a fake element.
-						if ( !( currentNode.getName() == 'img'
-							&& currentNode.data( 'cke-realelement' ) )
-							&& filter( editor, currentNode ) )
-						{
-							// Remove elements nodes that match with this style rules.
-							if ( tagsRegex.test( currentNode.getName() ) )
-								currentNode.remove( 1 );
-							else
+							// This node must not be a fake element.
+							if ( !( currentNode.getName() == 'img'
+								&& currentNode.data( 'cke-realelement' ) )
+								&& filter( editor, currentNode ) )
 							{
-								currentNode.removeAttributes( removeAttributes );
-								editor.fire( 'removeFormatCleanup', currentNode );
+								// Remove elements nodes that match with this style rules.
+								if ( tagsRegex.test( currentNode.getName() ) )
+									currentNode.remove( 1 );
+								else
+								{
+									currentNode.removeAttributes( removeAttributes );
+									editor.fire( 'removeFormatCleanup', currentNode );
+								}
 							}
+
+							currentNode = nextNode;
 						}
-
-						currentNode = nextNode;
 					}
 
@@ -179,5 +180,5 @@
 /**
  * Fired after an element was cleaned by the removeFormat plugin.
- * @name CKEDITOR#removeFormatCleanup
+ * @name CKEDITOR.editor#removeFormatCleanup
  * @event
  * @param {Object} data.element The element that was cleaned up.
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/resize/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/resize/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/resize/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/richcombo/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/richcombo/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/richcombo/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -132,4 +132,5 @@
 				{
 					this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+					this.setValue( '' );
 				},
 				this );
@@ -290,14 +291,16 @@
 
 			var textElement = this.document.getById( 'cke_' + this.id + '_text' );
-
-			if ( !( value || text ) )
-			{
-				text = this.label;
-				textElement.addClass( 'cke_inline_label' );
-			}
-			else
-				textElement.removeClass( 'cke_inline_label' );
-
-			textElement.setHtml( typeof text != 'undefined' ? text : value );
+			if ( textElement )
+			{
+				if ( !( value || text ) )
+				{
+					text = this.label;
+					textElement.addClass( 'cke_inline_label' );
+				}
+				else
+					textElement.removeClass( 'cke_inline_label' );
+
+				textElement.setHtml( typeof text != 'undefined' ? text : value );
+			}
 		},
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/save/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/save/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/save/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/dialogs/options.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/dialogs/options.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/dialogs/options.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/scayt/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -627,5 +627,5 @@
 					{
 						if ( !plugin.isScaytEnabled( editor )
-								|| selection.getCommonAncestor().isReadOnly() )
+								|| selection.getRanges()[ 0 ].checkReadOnly() )
 							return null;
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/selection/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/selection/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -80,18 +80,19 @@
 				case 'wysiwyg' :
 					editor.document.$.execCommand( 'SelectAll', false, null );
+					// Force triggering selectionChange (#7008)
+					editor.forceNextSelectionCheck();
+					editor.selectionChange();
 					break;
 				case 'source' :
 					// Select the contents of the textarea
-					var textarea = editor.textarea.$ ;
+					var textarea = editor.textarea.$;
 					if ( CKEDITOR.env.ie )
-					{
-						textarea.createTextRange().execCommand( 'SelectAll' ) ;
+						textarea.createTextRange().execCommand( 'SelectAll' );
+					else
+					{
+						textarea.selectionStart = 0;
+						textarea.selectionEnd = textarea.value.length;
 					}
-					else
-					{
-						textarea.selectionStart = 0 ;
-						textarea.selectionEnd = textarea.value.length ;
-					}
-					textarea.focus() ;
+					textarea.focus();
 			}
 		},
@@ -557,4 +558,6 @@
 				( function()
 				{
+					function getNodeIndex( node ) { return new CKEDITOR.dom.node( node ).getIndex(); }
+
 					// Finds the container and offset for a specific boundary
 					// of an IE range.
@@ -567,74 +570,101 @@
 						// Gets the element that encloses the range entirely.
 						var parent = range.parentElement();
-						var siblings = parent.childNodes;
-
-						var testRange;
-
-						for ( var i = 0 ; i < siblings.length ; i++ )
-						{
-							var child = siblings[ i ];
-							if ( child.nodeType == 1 )
-							{
-								testRange = range.duplicate();
-
-								testRange.moveToElementText( child );
-
-								var comparisonStart = testRange.compareEndPoints( 'StartToStart', range ),
-									comparisonEnd = testRange.compareEndPoints( 'EndToStart', range );
-
-								testRange.collapse();
-
-								if ( comparisonStart > 0 )
-									break;
-								// When selection stay at the side of certain self-closing elements, e.g. BR,
-								// our comparison will never shows an equality. (#4824)
-								else if ( !comparisonStart
-									|| comparisonEnd == 1 && comparisonStart == -1 )
-									return { container : parent, offset : i };
-								else if ( !comparisonEnd )
-									return { container : parent, offset : i + 1 };
-
-								testRange = null;
+
+						// Empty parent element, e.g. <i>^</i>
+						if ( !parent.hasChildNodes() )
+							return  { container : parent, offset : 0 };
+
+						var siblings = parent.children,
+							child,
+							testRange = range.duplicate(),
+							startIndex = 0,
+							endIndex = siblings.length - 1,
+							index = -1,
+							position,
+							distance;
+
+						// Binary search over all element childs to test the range to see whether
+						// range is right on the boundary of one element.
+						while ( startIndex <= endIndex )
+						{
+							index = Math.floor( ( startIndex + endIndex ) / 2 );
+							child = siblings[ index ];
+							testRange.moveToElementText( child );
+							position = testRange.compareEndPoints( 'StartToStart', range );
+
+							if ( position > 0 )
+								endIndex = index - 1;
+							else if ( position < 0 )
+								startIndex = index + 1;
+							else
+								return { container : parent, offset : getNodeIndex( child ) };
+						}
+
+						// All childs are text nodes,
+						// or to the right hand of test range are all text nodes. (#6992)
+						if ( index == -1 || index == siblings.length - 1 && position < 0 )
+						{
+							// Adapt test range to embrace the entire parent contents.
+							testRange.moveToElementText( parent );
+							testRange.setEndPoint( 'StartToStart', range );
+
+							// IE report line break as CRLF with range.text but
+							// only LF with textnode.nodeValue, normalize them to avoid
+							// breaking character counting logic below. (#3949)
+							distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length;
+
+							siblings = parent.childNodes;
+
+							// Actual range anchor right beside test range at the boundary of text node.
+							if ( !distance )
+							{
+								child = siblings[ siblings.length - 1 ];
+
+								if ( child.nodeType == CKEDITOR.NODE_ELEMENT )
+									return { container : parent, offset : siblings.length };
+								else
+									return { container : child, offset : child.nodeValue.length };
 							}
-						}
-
-						if ( !testRange )
-						{
-							testRange = range.duplicate();
-							testRange.moveToElementText( parent );
-							testRange.collapse( false );
-						}
-
-						testRange.setEndPoint( 'StartToStart', range );
-						// IE report line break as CRLF with range.text but
-						// only LF with textnode.nodeValue, normalize them to avoid
-						// breaking character counting logic below. (#3949)
-						var distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length;
-
-						try
-						{
+
+							// Start the measuring until distance overflows, meanwhile count the text nodes.
+							var i = siblings.length;
 							while ( distance > 0 )
 								distance -= siblings[ --i ].nodeValue.length;
+
+							return  { container : siblings[ i ], offset : -distance };
 						}
-						// Measurement in IE could be somtimes wrong because of <select> element. (#4611)
-						catch( e )
-						{
-							distance = 0;
-						}
-
-
-						if ( distance === 0 )
-						{
-							return {
-								container : parent,
-								offset : i
-							};
-						}
+						// Test range was one offset beyond OR behind the anchored text node.
 						else
 						{
-							return {
-								container : siblings[ i ],
-								offset : -distance
-							};
+							// Adapt one side of test range to the actual range
+							// for measuring the offset between them.
+							testRange.collapse( position > 0 ? true : false );
+							testRange.setEndPoint( position > 0 ? 'StartToStart' : 'EndToStart', range );
+
+							// IE report line break as CRLF with range.text but
+							// only LF with textnode.nodeValue, normalize them to avoid
+							// breaking character counting logic below. (#3949)
+							distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length;
+
+							// Actual range anchor right beside test range at the inner boundary of text node.
+							if ( !distance )
+								return { container : parent, offset : getNodeIndex( child ) + ( position > 0 ? 0 : 1 ) };
+
+							// Start the measuring until distance overflows, meanwhile count the text nodes.
+							while ( distance > 0 )
+							{
+								child = child[ position > 0 ? 'previousSibling' : 'nextSibling' ];
+								try
+								{
+									distance -= child.nodeValue.length;
+								}
+								// Measurement in IE could be somtimes wrong because of <select> element. (#4611)
+								catch( e )
+								{
+									return { container : parent, offset : getNodeIndex( child ) };
+								}
+							}
+
+							return { container : child, offset : position > 0 ? -distance : child.nodeValue.length + distance };
 						}
 					};
@@ -798,5 +828,5 @@
 						{
 							if ( node.type == CKEDITOR.NODE_ELEMENT
-								&& node.getAttribute( 'contenteditable' ) == 'false' )
+								&& node.isReadOnly() )
 							{
 								var newRange = range.clone();
@@ -1127,5 +1157,11 @@
 						{
 							between.shrink( CKEDITOR.NODE_ELEMENT, true );
-							if ( between.getCommonAncestor().isReadOnly())
+							var ancestor = between.getCommonAncestor(),
+								enclosed = between.getEnclosedNode();
+
+							// The following cases has to be considered:
+							// 1. <span contenteditable="false">[placeholder]</span>
+							// 2. <input contenteditable="false"  type="radio"/> (#6621)
+							if ( ancestor.isReadOnly() || enclosed && enclosed.isReadOnly() )
 							{
 								right.setStart( left.startContainer, left.startOffset );
@@ -1370,6 +1406,10 @@
 
 				var selection = this.document.getSelection().getNative();
-				selection.removeAllRanges();
-				selection.addRange( nativeRange );
+				// getSelection() returns null in case when iframe is "display:none" in FF. (#6577)
+				if ( selection )
+				{
+					selection.removeAllRanges();
+					selection.addRange( nativeRange );
+				}
 			};
 } )();
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/showblocks/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/showblocks/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/showblocks/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/showborders/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/showborders/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/showborders/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/dialogs/smiley.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/dialogs/smiley.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/dialogs/smiley.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/smiley/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/sourcearea/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/sourcearea/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/sourcearea/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/dialogs/specialchar.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/dialogs/specialchar.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/dialogs/specialchar.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/specialchar/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/styles/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/styles/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -93,4 +93,6 @@
 	var semicolonFixRegex = /\s*(?:;\s*|$)/;
 
+	var notBookmark = CKEDITOR.dom.walker.bookmark( 0, 1 );
+
 	CKEDITOR.style = function( styleDefinition, variablesValues )
 	{
@@ -148,4 +150,6 @@
 						this.type == CKEDITOR.STYLE_INLINE ?
 							removeInlineStyle
+						: this.type == CKEDITOR.STYLE_BLOCK ?
+							removeBlockStyle
 						: this.type == CKEDITOR.STYLE_OBJECT ?
 							removeObjectStyle
@@ -366,5 +370,5 @@
 	// Gets the parent element which blocks the styling for an element. This
 	// can be done through read-only elements (contenteditable=false) or
-	// elements with the "data-cke-nostyle" attribute.
+	// elements with the "data-nostyle" attribute.
 	function getUnstylableParent( element )
 	{
@@ -377,5 +381,5 @@
 				break;
 
-			if ( element.getAttribute( 'data-cke-nostyle' ) )
+			if ( element.getAttribute( 'data-nostyle' ) )
 				unstylable = element;
 			else if ( !editable )
@@ -427,5 +431,5 @@
 
 		// Expand the range.
-		range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+		range.enlarge( CKEDITOR.ENLARGE_ELEMENT, 1 );
 		range.trim();
 
@@ -472,5 +476,5 @@
 				var nodeName = nodeType == CKEDITOR.NODE_ELEMENT ? currentNode.getName() : null;
 				var nodeIsReadonly = nodeName && ( currentNode.getAttribute( 'contentEditable' ) == 'false' );
-				var nodeIsNoStyle = nodeName && currentNode.getAttribute( 'data-cke-nostyle' );
+				var nodeIsNoStyle = nodeName && currentNode.getAttribute( 'data-nostyle' );
 
 				if ( nodeName && currentNode.data( 'cke-bookmark' ) )
@@ -515,6 +519,6 @@
 							// if this is the last node in its parent, we must also
 							// check if the parent itself can be added completelly
-							// to the range.
-							while ( !includedNode.$.nextSibling
+							// to the range, otherwise apply the style immediately.
+							while ( ( applyStyle = !includedNode.getNext( notBookmark ) )
 								&& ( parentNode = includedNode.getParent(), dtd[ parentNode.getName() ] )
 								&& ( parentNode.getPosition( firstNode ) | CKEDITOR.POSITION_FOLLOWING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_FOLLOWING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED )
@@ -526,9 +530,4 @@
 							styleRange.setEndAfter( includedNode );
 
-							// If the included node still is the last node in its
-							// parent, it means that the parent can't be included
-							// in this style DTD, so apply the style immediately.
-							if ( !includedNode.$.nextSibling )
-								applyStyle = true;
 						}
 					}
@@ -659,5 +658,5 @@
 		 * that our operation logic can be simpler.
 		 */
-		range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+		range.enlarge( CKEDITOR.ENLARGE_ELEMENT, 1 );
 
 		var bookmark = range.createBookmark(),
@@ -885,4 +884,37 @@
 	}
 
+	function removeBlockStyle( range )
+	{
+		// Serializible bookmarks is needed here since
+		// elements may be merged.
+		var bookmark = range.createBookmark( 1 );
+
+		var iterator = range.createIterator();
+		iterator.enforceRealBlocks = true;
+		iterator.enlargeBr = this._.enterMode != CKEDITOR.ENTER_BR;
+
+		var block;
+		while ( ( block = iterator.getNextParagraph() ) )
+		{
+			if ( this.checkElementRemovable( block ) )
+			{
+				// <pre> get special treatment.
+				if ( block.is( 'pre' ) )
+				{
+					var newBlock = this._.enterMode == CKEDITOR.ENTER_BR ?
+								null : range.document.createElement(
+									this._.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' );
+
+					newBlock && block.copyAttributes( newBlock );
+					replaceBlock( block, newBlock );
+				}
+				else
+					 removeFromElement( this, block, 1 );
+			}
+		}
+
+		range.moveToBookmark( bookmark );
+	}
+
 	// Replace the original block with new one, with special treatment
 	// for <pre> blocks to make sure content format is well preserved, and merging/splitting adjacent
@@ -890,6 +922,15 @@
 	function replaceBlock( block, newBlock )
 	{
-		var newBlockIsPre	= newBlock.is( 'pre' );
-		var blockIsPre		= block.is( 'pre' );
+		// Block is to be removed, create a temp element to
+		// save contents.
+		var removeBlock = !newBlock;
+		if ( removeBlock )
+		{
+			newBlock = block.getDocument().createElement( 'div' );
+			block.copyAttributes( newBlock );
+		}
+
+		var newBlockIsPre	= newBlock && newBlock.is( 'pre' );
+		var blockIsPre	= block.is( 'pre' );
 
 		var isToPre	= newBlockIsPre && !blockIsPre;
@@ -900,5 +941,6 @@
 		else if ( isFromPre )
 			// Split big <pre> into pieces before start to convert.
-			newBlock = fromPres( splitIntoPres( block ), newBlock );
+			newBlock = fromPres( removeBlock ?
+						[ block.getHtml() ] : splitIntoPres( block ), newBlock );
 		else
 			block.moveChildren( newBlock );
@@ -911,7 +953,9 @@
 			mergePre( newBlock );
 		}
-	}
-
-	var nonWhitespaces = CKEDITOR.dom.walker.whitespaces( true );
+		else if ( removeBlock )
+			removeNoAttribsElement( newBlock );
+	}
+
+	var nonWhitespaces = CKEDITOR.dom.walker.whitespaces( 1 );
 	/**
 	 * Merge a <pre> block with a previous sibling if available.
@@ -987,5 +1031,8 @@
 	function fromPres( preHtmls, newBlock )
 	{
-		var docFrag = new CKEDITOR.dom.documentFragment( newBlock.getDocument() );
+		var docFrag;
+		if ( preHtmls.length > 1 )
+			docFrag = new CKEDITOR.dom.documentFragment( newBlock.getDocument() );
+
 		for ( var i = 0 ; i < preHtmls.length ; i++ )
 		{
@@ -1017,9 +1064,15 @@
 					} ) ;
 
-			var newBlockClone = newBlock.clone();
-			newBlockClone.setHtml(  blockHtml );
-			docFrag.append( newBlockClone );
-		}
-		return docFrag;
+			if ( docFrag )
+			{
+				var newBlockClone = newBlock.clone();
+				newBlockClone.setHtml(  blockHtml );
+				docFrag.append( newBlockClone );
+			}
+			else
+				newBlock.setHtml( blockHtml );
+		}
+
+		return docFrag || newBlock;
 	}
 
@@ -1029,4 +1082,7 @@
 	function toPre( block, newBlock )
 	{
+		var bogus = block.getBogus();
+		bogus && bogus.remove();
+
 		// First trim the block content.
 		var preHtml = block.getHtml();
@@ -1051,4 +1107,5 @@
 			temp.append( newBlock );
 			newBlock.$.outerHTML =  '<pre>' + preHtml + '</pre>';
+			newBlock.copyAttributes( temp.getFirst() );
 			newBlock = temp.getFirst().remove();
 		}
@@ -1090,5 +1147,10 @@
 		}
 
-		removeEmpty && removeNoAttribsElement( element );
+		if ( removeEmpty )
+		{
+			!CKEDITOR.dtd.$block[ element.getName() ] || style._.enterMode == CKEDITOR.ENTER_BR && !element.hasAttributes() ?
+				removeNoAttribsElement( element ) :
+				element.renameNode( style._.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' );
+		}
 	}
 
@@ -1167,19 +1229,35 @@
 		if ( !element.hasAttributes() )
 		{
-			// Removing elements may open points where merging is possible,
-			// so let's cache the first and last nodes for later checking.
-			var firstChild	= element.getFirst();
-			var lastChild	= element.getLast();
-
-			element.remove( true );
-
-			if ( firstChild )
-			{
-				// Check the cached nodes for merging.
-				firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings();
-
-				if ( lastChild && !firstChild.equals( lastChild )
-					&& lastChild.type == CKEDITOR.NODE_ELEMENT  )
-					lastChild.mergeSiblings();
+			if ( CKEDITOR.dtd.$block[ element.getName() ] )
+			{
+				var previous = element.getPrevious( nonWhitespaces ),
+						next = element.getNext( nonWhitespaces );
+
+				if ( previous && ( previous.type == CKEDITOR.NODE_TEXT || !previous.isBlockBoundary( { br : 1 } ) ) )
+					element.append( 'br', 1 );
+				if ( next && ( next.type == CKEDITOR.NODE_TEXT || !next.isBlockBoundary( { br : 1 } ) ) )
+					element.append( 'br' );
+
+				element.remove( true );
+			}
+			else
+			{
+				// Removing elements may open points where merging is possible,
+				// so let's cache the first and last nodes for later checking.
+				var firstChild = element.getFirst();
+				var lastChild = element.getLast();
+
+				element.remove( true );
+
+				if ( firstChild )
+				{
+					// Check the cached nodes for merging.
+					firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings();
+
+					if ( lastChild && !firstChild.equals( lastChild )
+							&& lastChild.type == CKEDITOR.NODE_ELEMENT )
+						lastChild.mergeSiblings();
+				}
+
 			}
 		}
@@ -1205,5 +1283,13 @@
 			element.copyAttributes( el );
 
-		return setupElement( el, style );
+		el = setupElement( el, style );
+
+		// Avoid ID duplication.
+		if ( targetDocument.getCustomData( 'doc_processing_style' ) && el.hasAttribute( 'id' ) )
+			el.removeAttribute( 'id' );
+		else
+			targetDocument.setCustomData( 'doc_processing_style', 1 );
+
+		return el;
 	}
 
@@ -1422,6 +1508,4 @@
 	{
 		var selection = document.getSelection(),
-			// Bookmark the range so we can re-select it after processing.
-			bookmarks = selection.createBookmarks( 1 ),
 			ranges = selection.getRanges(),
 			func = remove ? this.removeFromRange : this.applyToRange,
@@ -1432,11 +1516,7 @@
 			func.call( this, range );
 
-		if ( bookmarks.length == 1 && bookmarks[0].collapsed )
-		{
-			selection.selectRanges( ranges );
-			document.getById( bookmarks[ 0 ].startNode ).remove();
-		}
-		else
-			selection.selectBookmarks( bookmarks );
+		selection.selectRanges( ranges );
+
+		document.removeCustomData( 'doc_processing_style' );
 	}
 })();
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/styles/styles/default.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/styles/styles/default.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/styles/styles/default.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/stylescombo/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/stylescombo/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/stylescombo/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -107,10 +107,5 @@
 						var elementPath = new CKEDITOR.dom.elementPath( selection.getStartElement() );
 
-						if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) )
-							style.remove( editor.document );
-						else if ( style.type == CKEDITOR.STYLE_OBJECT && style.checkActive( elementPath ) )
-							style.remove( editor.document );
-						else
-							style.apply( editor.document );
+						style[ style.checkActive( elementPath ) ? 'remove' : 'apply' ]( editor.document );
 
 						editor.fire( 'saveSnapshot' );
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/tab/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/tab/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/tab/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/table/dialogs/table.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/table/dialogs/table.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/table/dialogs/table.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/table/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/table/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/table/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/tableresize/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/tableresize/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/tableresize/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/dialogs/tableCell.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/dialogs/tableCell.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/tabletools/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -6,12 +6,4 @@
 (function()
 {
-	function removeRawAttribute( $node, attr )
-	{
-		if ( CKEDITOR.env.ie )
-			$node.removeAttribute( attr );
-		else
-			delete $node[ attr ];
-	}
-
 	var cellNodeRegex = /^(?:td|th)$/;
 
@@ -124,35 +116,48 @@
 	}
 
-	function clearRow( $tr )
-	{
-		// Get the array of row's cells.
-		var $cells = $tr.cells;
-
-		// Empty all cells.
-		for ( var i = 0 ; i < $cells.length ; i++ )
-		{
-			$cells[ i ].innerHTML = '';
-
-			if ( !CKEDITOR.env.ie )
-				( new CKEDITOR.dom.element( $cells[ i ] ) ).appendBogus();
-		}
-	}
-
 	function insertRow( selection, insertBefore )
 	{
-		// Get the row where the selection is placed in.
-		var row = selection.getStartElement().getAscendant( 'tr' );
-		if ( !row )
-			return;
-
-		// Create a clone of the row.
-		var newRow = row.clone( 1 );
+		var cells = getSelectedCells( selection ),
+				firstCell = cells[ 0 ],
+				table = firstCell.getAscendant( 'table' ),
+				doc = firstCell.getDocument(),
+				startRow = cells[ 0 ].getParent(),
+				startRowIndex = startRow.$.rowIndex,
+				lastCell = cells[ cells.length - 1 ],
+				endRowIndex = lastCell.getParent().$.rowIndex + lastCell.$.rowSpan - 1,
+				endRow = new CKEDITOR.dom.element( table.$.rows[ endRowIndex ] ),
+				rowIndex = insertBefore ? startRowIndex : endRowIndex,
+				row = insertBefore ? startRow : endRow;
+
+		var map = CKEDITOR.tools.buildTableMap( table ),
+				cloneRow = map[ rowIndex ],
+				nextRow = insertBefore ? map[ rowIndex - 1 ] : map[ rowIndex + 1 ],
+				width = map[0].length;
+
+		var newRow = doc.createElement( 'tr' );
+		for ( var i = 0; i < width; i++ )
+		{
+			var cell;
+			// Check whether there's a spanning row here, do not break it.
+			if ( cloneRow[ i ].rowSpan > 1 && nextRow && cloneRow[ i ] == nextRow[ i ] )
+			{
+				cell = cloneRow[ i ];
+				cell.rowSpan += 1;
+			}
+			else
+			{
+				cell = new CKEDITOR.dom.element( cloneRow[ i ] ).clone();
+				cell.removeAttribute( 'rowSpan' );
+				!CKEDITOR.env.ie && cell.appendBogus();
+				newRow.append( cell );
+				cell = cell.$;
+			}
+
+			i += cell.colSpan - 1;
+		}
 
 		insertBefore ?
-			newRow.insertBefore( row ) :
-			newRow.insertAfter( row );
-
-		// Clean the new row.
-		clearRow( newRow.$ );
+		newRow.insertBefore( row ) :
+		newRow.insertAfter( row );
 	}
 
@@ -162,24 +167,48 @@
 		{
 			var cells = getSelectedCells( selectionOrRow ),
-				cellsCount = cells.length,
-				rowsToDelete = [],
-				cursorPosition,
-				previousRowIndex,
-				nextRowIndex;
-
-			// Queue up the rows - it's possible and likely that we have duplicates.
-			for ( var i = 0 ; i < cellsCount ; i++ )
-			{
-				var row = cells[ i ].getParent(),
-						rowIndex = row.$.rowIndex;
-
-				!i && ( previousRowIndex = rowIndex - 1 );
-				rowsToDelete[ rowIndex ] = row;
-				i == cellsCount - 1 && ( nextRowIndex = rowIndex + 1 );
-			}
-
-			var table = row.getAscendant( 'table' ),
-					rows =  table.$.rows,
-					rowCount = rows.length;
+					firstCell = cells[ 0 ],
+					table = firstCell.getAscendant( 'table' ),
+					map = CKEDITOR.tools.buildTableMap( table ),
+					startRow = cells[ 0 ].getParent(),
+					startRowIndex = startRow.$.rowIndex,
+					lastCell = cells[ cells.length - 1 ],
+					endRowIndex = lastCell.getParent().$.rowIndex + lastCell.$.rowSpan - 1,
+					rowsToDelete = [];
+
+			// Delete cell or reduce cell spans by checking through the table map.
+			for ( var i = startRowIndex; i <= endRowIndex; i++ )
+			{
+				var mapRow = map[ i ],
+						row = new CKEDITOR.dom.element( table.$.rows[ i ] );
+
+				for ( var j = 0; j < mapRow.length; j++ )
+				{
+					var cell = new CKEDITOR.dom.element( mapRow[ j ] ),
+							cellRowIndex = cell.getParent().$.rowIndex;
+
+					if ( cell.$.rowSpan == 1 )
+						cell.remove();
+					// Row spanned cell.
+					else
+					{
+						// Span row of the cell, reduce spanning.
+						cell.$.rowSpan -= 1;
+						// Root row of the cell, root cell to next row.
+						if ( cellRowIndex == i )
+						{
+							var nextMapRow = map[ i + 1 ];
+							nextMapRow[ j - 1 ] ?
+							cell.insertAfter( new CKEDITOR.dom.element( nextMapRow[ j - 1 ] ) )
+									: new CKEDITOR.dom.element( table.$.rows[ i + 1 ] ).append( cell, 1 );
+						}
+					}
+
+					j += cell.$.colSpan - 1;
+				}
+
+				rowsToDelete.push( row );
+			}
+
+			var rows = table.$.rows;
 
 			// Where to put the cursor after rows been deleted?
@@ -187,14 +216,8 @@
 			// 2. Into previous sibling row if any;
 			// 3. Into table's parent element if it's the very last row.
-			cursorPosition = new CKEDITOR.dom.element(
-				nextRowIndex < rowCount && table.$.rows[ nextRowIndex ] ||
-				previousRowIndex > 0 && table.$.rows[ previousRowIndex ] ||
-				table.$.parentNode );
+			var cursorPosition =  new CKEDITOR.dom.element( rows[ startRowIndex ] || rows[ startRowIndex - 1 ] || table.$.parentNode );
 
 			for ( i = rowsToDelete.length ; i >= 0 ; i-- )
-			{
-				if ( rowsToDelete[ i ] )
-					deleteRows( rowsToDelete[ i ] );
-			}
+				deleteRows( rowsToDelete[ i ] );
 
 			return cursorPosition;
@@ -210,41 +233,139 @@
 		}
 
-		return 0;
+		return null;
+	}
+
+	function getCellColIndex( cell, isStart )
+	{
+		var row = cell.getParent(),
+			rowCells = row.$.cells;
+
+		var colIndex = 0;
+		for ( var i = 0; i < rowCells.length; i++ )
+		{
+			var mapCell = rowCells[ i ];
+			colIndex += isStart ? 1 : mapCell.colSpan;
+			if ( mapCell == cell.$ )
+				break;
+		}
+
+		return colIndex -1;
+	}
+
+	function getColumnsIndices( cells, isStart )
+	{
+		var retval = isStart ? Infinity : 0;
+		for ( var i = 0; i < cells.length; i++ )
+		{
+			var colIndex = getCellColIndex( cells[ i ], isStart );
+			if ( isStart ? colIndex < retval  : colIndex > retval )
+				retval = colIndex;
+		}
+		return retval;
 	}
 
 	function insertColumn( selection, insertBefore )
 	{
-		// Get the cell where the selection is placed in.
-		var startElement = selection.getStartElement();
-		var cell = startElement.getAscendant( 'td', 1 ) || startElement.getAscendant( 'th', 1 );
-
-		if ( !cell )
-			return;
-
-		// Get the cell's table.
-		var table = cell.getAscendant( 'table' );
-		var cellIndex = cell.$.cellIndex;
-
-		// Loop through all rows available in the table.
-		for ( var i = 0 ; i < table.$.rows.length ; i++ )
-		{
-			var $row = table.$.rows[ i ];
-
-			// If the row doesn't have enough cells, ignore it.
-			if ( $row.cells.length < ( cellIndex + 1 ) )
-				continue;
-
-			cell = ( new CKEDITOR.dom.element( $row.cells[ cellIndex ] ) ).clone( 0 );
-
-			if ( !CKEDITOR.env.ie )
-				cell.appendBogus();
-
-			// Get back the currently selected cell.
-			var baseCell = new CKEDITOR.dom.element( $row.cells[ cellIndex ] );
-			if ( insertBefore )
-				cell.insertBefore( baseCell );
+		var cells = getSelectedCells( selection ),
+			firstCell = cells[ 0 ],
+			table = firstCell.getAscendant( 'table' ),
+			startCol =  getColumnsIndices( cells, 1 ),
+			lastCol =  getColumnsIndices( cells ),
+			colIndex = insertBefore? startCol : lastCol;
+
+		var map = CKEDITOR.tools.buildTableMap( table ),
+			cloneCol = [],
+			nextCol = [],
+			height = map.length;
+
+		for ( var i = 0; i < height; i++ )
+		{
+			cloneCol.push( map[ i ][ colIndex ] );
+			var nextCell = insertBefore ? map[ i ][ colIndex - 1 ] : map[ i ][ colIndex + 1 ];
+			nextCell && nextCol.push( nextCell );
+		}
+
+		for ( i = 0; i < height; i++ )
+		{
+			var cell;
+			// Check whether there's a spanning column here, do not break it.
+			if ( cloneCol[ i ].colSpan > 1
+				&& nextCol.length
+				&& nextCol[ i ] == cloneCol[ i ] )
+			{
+				cell = cloneCol[ i ];
+				cell.colSpan += 1;
+			}
 			else
-				cell.insertAfter( baseCell );
-		}
+			{
+				cell = new CKEDITOR.dom.element( cloneCol[ i ] ).clone();
+				cell.removeAttribute( 'colSpan' );
+				!CKEDITOR.env.ie && cell.appendBogus();
+				cell[ insertBefore? 'insertBefore' : 'insertAfter' ].call( cell, new CKEDITOR.dom.element ( cloneCol[ i ] ) );
+				cell = cell.$;
+			}
+
+			i += cell.rowSpan - 1;
+		}
+	}
+
+	function deleteColumns( selectionOrCell )
+	{
+		var cells = getSelectedCells( selectionOrCell ),
+				firstCell = cells[ 0 ],
+				lastCell = cells[ cells.length - 1 ],
+				table = firstCell.getAscendant( 'table' ),
+				map = CKEDITOR.tools.buildTableMap( table ),
+				startColIndex,
+				endColIndex,
+				rowsToDelete = [];
+
+		// Figure out selected cells' column indices.
+		for ( var i = 0, rows = map.length; i < rows; i++ )
+		{
+			for ( var j = 0, cols = map[ i ].length; j < cols; j++ )
+			{
+				if ( map[ i ][ j ] == firstCell.$ )
+					startColIndex = j;
+				if ( map[ i ][ j ] == lastCell.$ )
+					endColIndex = j;
+			}
+		}
+
+		// Delete cell or reduce cell spans by checking through the table map.
+		for ( i = startColIndex; i <= endColIndex; i++ )
+		{
+			for ( j = 0; j < map.length; j++ )
+			{
+				var mapRow = map[ j ],
+					row = new CKEDITOR.dom.element( table.$.rows[ j ] ),
+					cell = new CKEDITOR.dom.element( mapRow[ i ] );
+
+				if ( cell.$.colSpan == 1 )
+					cell.remove();
+				// Reduce the col spans.
+				else
+					cell.$.colSpan -= 1;
+
+				j += cell.$.rowSpan - 1;
+
+				if ( !row.$.cells.length )
+					rowsToDelete.push( row );
+			}
+		}
+
+		var firstRowCells = table.$.rows[ 0 ] && table.$.rows[ 0 ].cells;
+
+		// Where to put the cursor after columns been deleted?
+		// 1. Into next cell of the first row if any;
+		// 2. Into previous cell of the first row if any;
+		// 3. Into table's parent element;
+		var cursorPosition =  new CKEDITOR.dom.element( firstRowCells[ startColIndex ] || ( startColIndex ? firstRowCells[ startColIndex - 1 ] : table.$.parentNode ) );
+
+		// Delete table rows only if all columns are gone (do not remove empty row).
+		if ( rowsToDelete.length == rows )
+			table.remove();
+
+		return cursorPosition;
 	}
 
@@ -285,54 +406,4 @@
 
 		return targetCell ?  new CKEDITOR.dom.element( targetCell ) :  table.getPrevious();
-	}
-
-	function deleteColumns( selectionOrCell )
-	{
-		if ( selectionOrCell instanceof CKEDITOR.dom.selection )
-		{
-			var colsToDelete = getSelectedCells( selectionOrCell ),
-				elementToFocus = getFocusElementAfterDelCols( colsToDelete );
-
-			for ( var i = colsToDelete.length - 1 ; i >= 0 ; i-- )
-			{
-				if ( colsToDelete[ i ] )
-					deleteColumns( colsToDelete[ i ] );
-			}
-
-			return elementToFocus;
-		}
-		else if ( selectionOrCell instanceof CKEDITOR.dom.element )
-		{
-			// Get the cell's table.
-			var table = selectionOrCell.getAscendant( 'table' );
-			if ( !table )
-				return null;
-
-			// Get the cell index.
-			var cellIndex = selectionOrCell.$.cellIndex;
-
-			/*
-			 * Loop through all rows from down to up, coz it's possible that some rows
-			 * will be deleted.
-			 */
-			for ( i = table.$.rows.length - 1 ; i >= 0 ; i-- )
-			{
-				// Get the row.
-				var row = new CKEDITOR.dom.element( table.$.rows[ i ] );
-
-				// If the cell to be removed is the first one and the row has just one cell.
-				if ( !cellIndex && row.$.cells.length == 1 )
-				{
-					deleteRows( row );
-					continue;
-				}
-
-				// Else, just delete the cell.
-				if ( row.$.cells[ cellIndex ] )
-					row.$.removeChild( row.$.cells[ cellIndex ] );
-			}
-		}
-
-		return null;
 	}
 
@@ -465,11 +536,14 @@
 			try
 			{
+				var rowspan = parseInt( firstCell.getAttribute( 'rowspan' ), 10 ) || 1;
+				var colspan = parseInt( firstCell.getAttribute( 'colspan' ), 10 ) || 1;
+
 				targetCell =
 					map[ mergeDirection == 'up' ?
-							( startRow - 1 ):
-							mergeDirection == 'down' ? ( startRow + 1 ) : startRow  ] [
-						 mergeDirection == 'left' ?
-							( startColumn - 1 ):
-						 mergeDirection == 'right' ?  ( startColumn + 1 ) : startColumn ];
+							( startRow - rowspan ):
+							mergeDirection == 'down' ? ( startRow + rowspan ) : startRow  ] [
+						mergeDirection == 'left' ?
+							( startColumn - colspan ):
+						mergeDirection == 'right' ?  ( startColumn + colspan ) : startColumn ];
 
 			}
@@ -528,5 +602,5 @@
 						var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
 						if ( last && !( last.is && last.is( 'br' ) ) )
-							frag.append( new CKEDITOR.dom.element( 'br' ) );
+							frag.append( 'br' );
 					}
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/templates/dialogs/templates.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/templates/dialogs/templates.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/templates/dialogs/templates.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/templates/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/templates/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/templates/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/templates/templates/default.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/templates/templates/default.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/templates/templates/default.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/toolbar/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/toolbar/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/toolbar/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -346,4 +346,23 @@
 					}
 				});
+
+			editor.on( 'destroy', function()
+			{
+				var toolbars, index = 0, i,
+						items, instance;
+				toolbars = this.toolbox.toolbars;
+				for ( ; index < toolbars.length; index++ )
+				{
+					items = toolbars[ index ].items;
+					for ( i = 0; i < items.length; i++ )
+					{
+						instance = items[ i ];
+						if ( instance.clickFn ) CKEDITOR.tools.removeFunction( instance.clickFn );
+						if ( instance.keyDownFn ) CKEDITOR.tools.removeFunction( instance.keyDownFn );
+
+						if ( instance.index ) CKEDITOR.ui.button._.instances[ instance.index ] = null;
+					}
+				}
+			});
 
 			editor.addCommand( 'toolbarFocus', commands.toolbarFocus );
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/dialogs/uicolor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/dialogs/uicolor.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/dialogs/uicolor.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/en.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/en.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/en.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/he.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/he.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/lang/he.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/uicolor/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/undo/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/undo/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/undo/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/ciframe.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/ciframe.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/ciframe.html	(revision 6396)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/tmpFrameset.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 6396)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
 <!--
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 -->
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/dialogs/wsc.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -187,5 +187,6 @@
 			iframe = content && content.getChild( 2 );
 
-		iframe && iframe.setStyle( 'height', data.height + 'px' );
+		iframe && iframe.setSize( 'height', data.height );
+		iframe && iframe.setSize( 'width', data.width );
 	}
 });
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wsc/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/wysiwygarea/plugin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/wysiwygarea/plugin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -26,12 +26,4 @@
 	}
 
-	function checkReadOnly( selection )
-	{
-		if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT )
-			return selection.getSelectedElement().isReadOnly();
-		else
-			return selection.getCommonAncestor().isReadOnly();
-	}
-
 
 	function onInsert( insertFunc )
@@ -42,8 +34,4 @@
 			{
 				this.focus();
-
-				var selection = this.getSelection();
-				if ( checkReadOnly( selection ) )
-					return;
 
 				this.fire( 'saveSnapshot' );
@@ -68,5 +56,11 @@
 			data = this.dataProcessor.toHtml( data );
 
-		var selection = this.getSelection();
+		// HTML insertion only considers the first range.
+		var selection = this.getSelection(),
+			range = selection.getRanges()[ 0 ];
+
+		if ( range.checkReadOnly() )
+			return;
+
 		if ( CKEDITOR.env.ie )
 		{
@@ -81,5 +75,5 @@
 			if ( $sel.type == 'Control' )
 				$sel.clear();
-				else if  ( selection.getType() == CKEDITOR.SELECTION_TEXT )
+			else if ( selection.getType() == CKEDITOR.SELECTION_TEXT )
 			{
 				// Due to IE bugs on handling contenteditable=false blocks
@@ -87,6 +81,6 @@
 				// delete the selection first.
 
-				var range = selection.getRanges()[0],
-						endContainer = range && range.endContainer;
+				range = selection.getRanges()[ 0 ];
+				var endContainer = range && range.endContainer;
 
 				if ( endContainer &&
@@ -104,9 +98,9 @@
 				$sel.createRange().pasteHTML( data );
 			}
-				catch (e) {}
+			catch (e) {}
 
 			if ( selIsLocked )
 				this.getSelection().lock();
-			}
+		}
 		else
 			this.document.$.execCommand( 'inserthtml', false, data );
@@ -210,59 +204,65 @@
 			range = ranges[ i ];
 
-			// Remove the original contents.
-			range.deleteContents();
-
-			clone = !i && element || element.clone( 1 );
-
-			// If we're inserting a block at dtd-violated position, split
-			// the parent blocks until we reach blockLimit.
-			var current, dtd;
-			if ( isBlock )
-			{
-				while ( ( current = range.getCommonAncestor( 0, 1 ) )
-						&& ( dtd = CKEDITOR.dtd[ current.getName() ] )
-						&& !( dtd && dtd [ elementName ] ) )
+				if ( !range.checkReadOnly() )
 				{
-					// Split up inline elements.
-					if ( current.getName() in CKEDITOR.dtd.span )
-						range.splitElement( current );
-					// If we're in an empty block which indicate a new paragraph,
-					// simply replace it with the inserting block.(#3664)
-					else if ( range.checkStartOfBlock()
-							&& range.checkEndOfBlock() )
+					// Remove the original contents, merge splitted nodes.
+					range.deleteContents( 1 );
+
+					clone = !i && element || element.clone( 1 );
+
+					// If we're inserting a block at dtd-violated position, split
+					// the parent blocks until we reach blockLimit.
+					var current, dtd;
+					if ( isBlock )
 					{
-						range.setStartBefore( current );
-						range.collapse( true );
-						current.remove();
+						while ( ( current = range.getCommonAncestor( 0, 1 ) )
+								&& ( dtd = CKEDITOR.dtd[ current.getName() ] )
+								&& !( dtd && dtd [ elementName ] ) )
+						{
+							// Split up inline elements.
+							if ( current.getName() in CKEDITOR.dtd.span )
+								range.splitElement( current );
+							// If we're in an empty block which indicate a new paragraph,
+							// simply replace it with the inserting block.(#3664)
+							else if ( range.checkStartOfBlock()
+									&& range.checkEndOfBlock() )
+							{
+								range.setStartBefore( current );
+								range.collapse( true );
+								current.remove();
+							}
+							else
+								range.splitBlock();
+						}
 					}
-					else
-						range.splitBlock();
+
+					// Insert the new node.
+					range.insertNode( clone );
+
+					// Save the last element reference so we can make the
+					// selection later.
+					if ( !lastElement )
+						lastElement = clone;
 				}
 			}
 
-			// Insert the new node.
-			range.insertNode( clone );
-
-			// Save the last element reference so we can make the
-			// selection later.
-			if ( !lastElement )
-				lastElement = clone;
-		}
-
-		range.moveToPosition( lastElement, CKEDITOR.POSITION_AFTER_END );
-
-		// If we're inserting a block element immediatelly followed by
-		// another block element, the selection must move there. (#3100,#5436)
-		if ( isBlock )
-		{
-			var next = lastElement.getNext( notWhitespaceEval ),
-					nextName = next && next.type == CKEDITOR.NODE_ELEMENT && next.getName();
-
-			// Check if it's a block element that accepts text.
-			if ( nextName && CKEDITOR.dtd.$block[ nextName ] && CKEDITOR.dtd[ nextName ]['#'] )
-				range.moveToElementEditStart( next );
-		}
-
-		selection.selectRanges( [ range ] );
+			if ( lastElement )
+			{
+				range.moveToPosition( lastElement, CKEDITOR.POSITION_AFTER_END );
+
+				// If we're inserting a block element immediatelly followed by
+				// another block element, the selection must move there. (#3100,#5436)
+				if ( isBlock )
+				{
+					var next = lastElement.getNext( notWhitespaceEval ),
+						nextName = next && next.type == CKEDITOR.NODE_ELEMENT && next.getName();
+
+					// Check if it's a block element that accepts text.
+					if ( nextName && CKEDITOR.dtd.$block[ nextName ] && CKEDITOR.dtd[ nextName ]['#'] )
+						range.moveToElementEditStart( next );
+				}
+			}
+
+			selection.selectRanges( [ range ] );
 
 		if ( selIsLocked )
@@ -358,5 +358,17 @@
 			enterMode = editor.config.enterMode;
 
-		CKEDITOR.env.gecko && activateEditing( editor );
+		if ( CKEDITOR.env.gecko )
+		{
+			activateEditing( editor );
+
+			// Ensure bogus br could help to move cursor (out of styles) to the end of block. (#7041)
+			var pathBlock = path.block || path.blockLimit;
+			if ( pathBlock && !pathBlock.getBogus() )
+			{
+				editor.fire( 'updateSnapshot' );
+				restoreDirty( editor );
+				pathBlock.appendBogus();
+			}
+		}
 
 		// When enterMode set to block, we'll establing new paragraph only if we're
@@ -409,5 +421,9 @@
 			// Notify non-IE that selection has changed.
 			if ( !CKEDITOR.env.ie )
+			{
+				// Make sure next selection change is correct.  (#6811)
+				editor.forceNextSelectionCheck();
 				editor.selectionChange();
+			}
 		}
 
@@ -616,4 +632,16 @@
 							editor.fire( 'doubleclick', data );
 							data.dialog && editor.openDialog( data.dialog );
+						});
+
+						// Prevent automatic submission in IE #6336
+						CKEDITOR.env.ie && domDocument.on( 'click', function( evt )
+						{
+							var element = evt.data.getTarget();
+							if ( element.is( 'input' ) )
+							{
+								var type = element.getAttribute( 'type' );
+								if ( type == 'submit' || type == 'reset' )
+									evt.data.preventDefault();
+							}
 						});
 
@@ -697,5 +725,6 @@
 						}
 
-						domWindow.on( 'blur', function()
+						var focusTarget = CKEDITOR.env.ie ? iframe : domWindow;
+						focusTarget.on( 'blur', function()
 							{
 								editor.focusManager.blur();
@@ -704,5 +733,5 @@
 						var wasFocused;
 
-						domWindow.on( 'focus', function()
+						focusTarget.on( 'focus', function()
 							{
 								var doc = editor.document;
@@ -809,6 +838,20 @@
 
 								// IE, Opera and Safari may not support it and throw errors.
-								try { editor.document.$.execCommand( 'enableObjectResizing', false, !editor.config.disableObjectResizing ) ; } catch(e) {}
-								try { editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ) ; } catch(e) {}
+								try { editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ); } catch(e) {}
+								if ( editor.config.disableObjectResizing )
+								{
+									try
+									{
+										editor.document.$.execCommand( 'enableObjectResizing', false, false );
+									}
+									catch(e)
+									{
+										// For browsers in which the above method failed, we can cancel the resizing on the fly (#4208)
+										editor.document.getBody().on( CKEDITOR.env.ie ? 'resizestart' : 'resize', function( evt )
+										{
+											evt.data.preventDefault();
+										});
+									}
+								}
 
 								/*
@@ -1111,4 +1154,6 @@
 							editor.focus();
 						} );
+
+					editor.focusGrabber = focusGrabber;
 				} );
 				editor.on( 'destroy', function()
@@ -1116,4 +1161,5 @@
 					CKEDITOR.tools.removeFunction( contentDomReadyHandler );
 					focusGrabber.clearCustomData();
+					delete editor.focusGrabber;
 				} );
 			}
@@ -1126,11 +1172,9 @@
 						&& ( element.is( 'input' ) || element.is( 'textarea' ) ) )
 				{
+					// We should flag that the element was locked by our code so
+					// it'll be editable by the editor functions (#6046).
 					if ( !element.isReadOnly() )
-					{
-						element.setAttribute( 'contentEditable', false );
-						// We should flag that the element was locked by our code so
-						// it'll be editable by the editor functions (#6046).
-						element.setCustomData( '_cke_notReadOnly', 1 );
-					}
+						element.data( 'cke-editable', element.hasAttribute( 'contenteditable' ) ? 'true' : '1' );
+					element.setAttribute( 'contentEditable', false );
 				}
 			});
@@ -1223,2 +1267,9 @@
  * @event
  */
+
+/**
+ * Fired when some elements are added to the document
+ * @name CKEDITOR.editor#ariaWidget
+ * @event
+ * @param {Object} element The element being added
+ */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/dialog.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/dialog.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/dialog.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/editor.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/editor.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/editor.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/elementspath.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/elementspath.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/elementspath.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/icons.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/icons.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/icons.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/mainui.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/mainui.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/mainui.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -55,9 +55,10 @@
 .cke_skin_kama .cke_editor
 {
-/*
-	border: solid 1px #dcdcdc;
-*/
 	display: inline-table;
 	width: 100%;
+}
+.cke_skin_kama .cke_browser_webkit .cke_editor
+{
+	display: table;	/* #6684 */
 }
 
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -59,5 +59,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_icon
+.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_icon,
+.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_icon
 {
 	filter: ;
@@ -79,5 +80,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon
+.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon,
+.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_disabled .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/panel.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/panel.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/panel.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/presets.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/presets.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/presets.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/reset.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/reset.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/reset.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/richcombo.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/richcombo.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/richcombo.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/skin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/skin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/skin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -217,28 +217,4 @@
 						height : height + 'px'
 					});
-
-				// Fix the size of the elements which have flexible lengths.
-				setTimeout( function()
-					{
-						var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
-							body = innerDialog.getChild( 0 );
-
-						// tc
-						var el = innerDialog.getChild( 2 );
-						el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
-
-						// bc
-						el = innerDialog.getChild( 7 );
-						el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
-
-						// ml
-						el = innerDialog.getChild( 4 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
-
-						// mr
-						el = innerDialog.getChild( 5 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
-					},
-					100 );
 			});
 	}
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/templates.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/templates.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/templates.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/toolbar.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/toolbar.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/toolbar.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -198,5 +198,6 @@
 }
 .cke_skin_kama .cke_browser_ie6 .cke_button a.cke_disabled *,
-.cke_skin_kama .cke_browser_ie6 a:hover.cke_button .cke_disabled *
+.cke_skin_kama .cke_browser_ie6 a:hover.cke_button .cke_disabled *,
+.cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix a.cke_disabled *
 {
 	filter: alpha(opacity=30);
@@ -271,5 +272,7 @@
 }
 .cke_skin_kama .cke_browser_ie6 .cke_button .cke_icon,
-.cke_skin_kama .cke_browser_ie6 .cke_rtl .cke_button .cke_icon
+.cke_skin_kama .cke_browser_ie6 .cke_rtl .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix .cke_icon,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button.cke_noalphafix .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/dialog.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/dialog.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/dialog.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/editor.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/editor.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/editor.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/elementspath.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/elementspath.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/elementspath.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/icons.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/icons.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/icons.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/mainui.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/mainui.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/mainui.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -6,9 +6,10 @@
 .cke_skin_office2003 .cke_editor
 {
-/*
-	border: solid 1px #dcdcdc;
-*/
 	display: inline-table;
 	width: 100%;
+}
+.cke_skin_office2003 .cke_browser_webkit .cke_editor
+{
+	display: table;	/* #6684 */
 }
 
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -59,5 +59,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_office2003 .cke_menuitem .cke_icon
+.cke_browser_ie6 .cke_skin_office2003 .cke_menuitem .cke_icon,
+.cke_browser_ie .cke_skin_office2003 .cke_menuitem.cke_noalphafix .cke_icon
 {
 	filter: ;
@@ -79,5 +80,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_office2003 .cke_menuitem .cke_disabled .cke_icon
+.cke_browser_ie6 .cke_skin_office2003 .cke_menuitem .cke_disabled .cke_icon,
+.cke_browser_ie .cke_skin_office2003 .cke_menuitem.cke_noalphafix .cke_disabled .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/panel.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/panel.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/panel.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/presets.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/presets.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/presets.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/reset.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/reset.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/reset.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/skin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/skin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/skin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -44,21 +44,23 @@
 					{
 						var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
-							body = innerDialog.getChild( 0 );
+							body = innerDialog.getChild( 0 ),
+							bodyWidth = body.getSize( 'width' );
+						height += body.getChild( 0 ).getSize( 'height' ) + 1;
 
 						// tc
 						var el = innerDialog.getChild( 2 );
-						el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
+						el.setSize( 'width', bodyWidth );
 
 						// bc
 						el = innerDialog.getChild( 7 );
-						el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
+						el.setSize( 'width', bodyWidth - 28 );
 
 						// ml
 						el = innerDialog.getChild( 4 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
+						el.setSize( 'height', height );
 
 						// mr
 						el = innerDialog.getChild( 5 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
+						el.setSize( 'height', height );
 					};
 				setTimeout( fixSize, 100 );
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/templates.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/templates.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/templates.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/toolbar.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/toolbar.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/toolbar.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -287,5 +287,6 @@
 }
 .cke_skin_office2003 .cke_browser_ie6 .cke_button a.cke_disabled *,
-.cke_skin_office2003 .cke_browser_ie6 a:hover.cke_button .cke_disabled *
+.cke_skin_office2003 .cke_browser_ie6 a:hover.cke_button .cke_disabled *,
+.cke_skin_office2003 .cke_browser_ie .cke_button.cke_noalphafix a.cke_disabled *
 {
 	filter: alpha(opacity=30);
@@ -340,5 +341,7 @@
 }
 .cke_skin_office2003 .cke_browser_ie6 .cke_button .cke_icon,
-.cke_skin_office2003 .cke_browser_ie6 .cke_rtl .cke_button .cke_icon
+.cke_skin_office2003 .cke_browser_ie6 .cke_rtl .cke_button .cke_icon,
+.cke_skin_office2003 .cke_browser_ie .cke_button.cke_noalphafix .cke_icon,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_button.cke_noalphafix .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/dialog.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/dialog.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/dialog.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/editor.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/editor.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/editor.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/elementspath.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/elementspath.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/elementspath.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/icons.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/icons.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/icons.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/mainui.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/mainui.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/mainui.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -6,9 +6,10 @@
 .cke_skin_v2 .cke_editor
 {
-/*
-	border: solid 1px #dcdcdc;
-*/
 	display: inline-table;
 	width: 100%;
+}
+.cke_skin_v2 .cke_browser_webkit .cke_editor
+{
+	display: table;	/* #6684 */
 }
 
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -58,5 +58,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_v2 .cke_menuitem .cke_icon
+.cke_browser_ie6 .cke_skin_v2 .cke_menuitem .cke_icon,
+.cke_browser_ie .cke_skin_v2 .cke_menuitem.cke_noalphafix .cke_icon
 {
 	filter: ;
@@ -79,5 +80,6 @@
 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
 }
-.cke_browser_ie6 .cke_skin_v2 .cke_menuitem .cke_disabled .cke_icon
+.cke_browser_ie6 .cke_skin_v2 .cke_menuitem .cke_disabled .cke_icon,
+.cke_browser_ie .cke_skin_v2 .cke_menuitem.cke_noalphafix .cke_disabled .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/panel.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/panel.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/panel.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/presets.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/presets.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/presets.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/reset.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/reset.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/reset.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/skin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/skin.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/skin.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -44,21 +44,23 @@
 					{
 						var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
-							body = innerDialog.getChild( 0 );
+							body = innerDialog.getChild( 0 ),
+							bodyWidth = body.getSize( 'width' );
+						height += body.getChild( 0 ).getSize( 'height' ) + 1;
 
 						// tc
 						var el = innerDialog.getChild( 2 );
-						el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
+						el.setSize( 'width', bodyWidth );
 
 						// bc
 						el = innerDialog.getChild( 7 );
-						el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
+						el.setSize( 'width', bodyWidth - 28 );
 
 						// ml
 						el = innerDialog.getChild( 4 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
+						el.setSize( 'height', height );
 
 						// mr
 						el = innerDialog.getChild( 5 );
-						el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );
+						el.setSize( 'height', height );
 					},
 					100 );
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/templates.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/templates.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/templates.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/toolbar.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/toolbar.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/toolbar.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -257,5 +257,6 @@
 }
 .cke_skin_v2 .cke_browser_ie6 .cke_button a.cke_disabled *,
-.cke_skin_v2 .cke_browser_ie6 a:hover.cke_button .cke_disabled *
+.cke_skin_v2 .cke_browser_ie6 a:hover.cke_button .cke_disabled *,
+.cke_skin_v2 .cke_browser_ie .cke_button.cke_noalphafix a.cke_disabled *
 {
 	filter: alpha(opacity=30);
@@ -313,5 +314,7 @@
 }
 .cke_skin_v2 .cke_browser_ie6 .cke_button .cke_icon,
-.cke_skin_v2 .cke_browser_ie6 .cke_rtl .cke_button .cke_icon
+.cke_skin_v2 .cke_browser_ie6 .cke_rtl .cke_button .cke_icon,
+.cke_skin_v2 .cke_browser_ie .cke_button.cke_noalphafix .cke_icon,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_button.cke_noalphafix .cke_icon
 {
 	filter: ;
Index: /CKEditor/branches/versions/3.5.x/_source/themes/default/theme.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/themes/default/theme.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/_source/themes/default/theme.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -27,5 +27,7 @@
 			// Creates an HTML structure that reproduces the editor class hierarchy.
 			var html =
-				'<span class="cke_shared">' +
+				'<span class="cke_shared "' +
+				' dir="'+ editor.lang.dir + '"' +
+				'>' +
 				'<span class="' + editor.skinClass + ' ' + editor.id + ' cke_editor_' + editor.name + '">' +
 				'<span class="' + CKEDITOR.env.cssClass + '">' +
@@ -242,15 +244,19 @@
 		destroy : function( editor )
 		{
-			var container = editor.container;
-			container.clearCustomData();
-			editor.element.clearCustomData();
+			var container = editor.container,
+				element = editor.element;
 
 			if ( container )
+			{
+				container.clearCustomData();
 				container.remove();
-
-			if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
-				editor.element.show();
-
-			delete editor.element;
+			}
+
+			if ( element )
+			{
+				element.clearCustomData();
+				editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && element.show();
+				delete editor.element;
+			}
 		}
 	};
@@ -332,5 +338,5 @@
 CKEDITOR.editor.prototype.getResizable = function()
 {
-	return this.container.getChild( 1 );
+	return this.container;
 };
 
@@ -364,5 +370,5 @@
  * Fired after the editor instance is resized through
  * the {@link CKEDITOR.editor.prototype.resize} method.
- * @name CKEDITOR#resize
+ * @name CKEDITOR.editor#resize
  * @event
  */
Index: /CKEditor/branches/versions/3.5.x/ckeditor.asp
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor.asp	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor.asp	(revision 6396)
@@ -1,5 +1,5 @@
 ﻿<%
  '
- ' Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ ' Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  ' For licensing, see LICENSE.html or http://ckeditor.com/license
 
Index: /CKEditor/branches/versions/3.5.x/ckeditor.pack
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor.pack	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor.pack	(revision 6396)
@@ -5,5 +5,5 @@
 header :
 	'/*'																			+ '\n' +
-	'Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
+	'Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
 	'For licensing, see LICENSE.html or http://ckeditor.com/license'				+ '\n' +
 	'*/'																			+ '\n' +
Index: /CKEditor/branches/versions/3.5.x/ckeditor.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor.php	(revision 6396)
@@ -1,5 +1,5 @@
 <?php
 /*
- * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.html or http://ckeditor.com/license
  */
Index: /CKEditor/branches/versions/3.5.x/ckeditor_basic_source.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor_basic_source.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor_basic_source.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/ckeditor_php4.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor_php4.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor_php4.php	(revision 6396)
@@ -1,5 +1,5 @@
 <?php
 /*
-* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -506,5 +506,5 @@
 		else {
 			/**
-			 * realpath — Returns canonicalized absolute pathname
+			 * realpath - Returns canonicalized absolute pathname
 			 */
 			$realPath = realpath( './' ) ;
@@ -525,5 +525,5 @@
 		$documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath));
 		$fileUrl = substr($file, strlen($documentRoot));
-		$ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl);
+		$ckeditorUrl = str_replace("ckeditor_php4.php", "", $fileUrl);
 
 		return $ckeditorUrl;
@@ -571,4 +571,7 @@
 
 				$val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val);
+				if (strtoupper(substr($val, 0, 9)) == 'CKEDITOR.') {
+					return $val;
+				}
 
 				return '"' . $val . '"';
Index: /CKEditor/branches/versions/3.5.x/ckeditor_php5.php
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor_php5.php	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor_php5.php	(revision 6396)
@@ -1,5 +1,5 @@
 <?php
 /*
-* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -497,5 +497,5 @@
 		else {
 			/**
-			 * realpath — Returns canonicalized absolute pathname
+			 * realpath - Returns canonicalized absolute pathname
 			 */
 			$realPath = realpath( './' ) ;
@@ -561,4 +561,7 @@
 
 				$val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val);
+				if (strtoupper(substr($val, 0, 9)) == 'CKEDITOR.') {
+					return $val;
+				}
 
 				return '"' . $val . '"';
Index: /CKEditor/branches/versions/3.5.x/ckeditor_source.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/ckeditor_source.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/ckeditor_source.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/config.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/config.js	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/config.js	(revision 6396)
@@ -1,4 +1,4 @@
 ﻿/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
Index: /CKEditor/branches/versions/3.5.x/contents.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/contents.css	(revision 6395)
+++ /CKEditor/branches/versions/3.5.x/contents.css	(revision 6396)
@@ -1,4 +1,4 @@
 /*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
 */
@@ -15,4 +15,10 @@
 	/* Remove the background color to make it transparent */
 	background-color: #fff;
+}
+
+/* preserved spaces for rtl list item bullets. (#6249)*/
+ol,ul,dl
+{
+    padding-right:40px;
 }
 
