Index: CKEditor/branches/features/aria/.htaccess
===================================================================
--- CKEditor/branches/features/aria/.htaccess	(revision 4888)
+++ CKEditor/branches/features/aria/.htaccess	(revision 4888)
@@ -0,0 +1,24 @@
+#
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+#
+
+#
+# On some specific Linux installations you could face problems with Firefox.
+# It could give you errors when loading the editor saying that some illegal
+# characters were found (three strange chars in the beginning of the file).
+# This could happen if you map the .js or .css files to PHP, for example.
+#
+# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
+# All FCKeditor files are Unicode encoded.
+#
+
+AddType application/x-javascript .js
+AddType text/css .css
+
+#
+# If PHP is mapped to handle XML files, you could have some issues. The
+# following will disable it.
+#
+
+AddType text/xml .xml
Index: CKEditor/branches/features/aria/CHANGES.html
===================================================================
--- CKEditor/branches/features/aria/CHANGES.html	(revision 4888)
+++ CKEditor/branches/features/aria/CHANGES.html	(revision 4888)
@@ -0,0 +1,451 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Changelog - CKEditor</title>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<style type="text/css">
+
+#footer hr
+{
+	margin: 10px 0 15px 0;
+	height: 1px;
+	border: solid 1px gray;
+	border-bottom: none;
+}
+
+#footer p
+{
+	margin: 0 10px 10px 10px;
+	float: left;
+}
+
+#footer #copy
+{
+	float: right;
+}
+
+	</style>
+</head>
+<body>
+	<h1>
+		CKEditor Changelog
+	</h1>
+	<h3>
+		CKEditor 3.2 (SVN)</h3>
+	<p>
+		New features:</p>
+	<ul>
+		<li></li>
+	</ul>
+	<p>
+		Fixed issues:</p>
+	<ul>
+		<li></li>
+	</ul>
+	<h3>
+		CKEditor 3.1</h3>
+	<p>
+		New features:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/4067">#4067</a> : Introduced the full page editing support (from &lt;html&gt; to &lt;/html&gt;).</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4228">#4228</a> : Introduced the Shared Spaces feature.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4210">#4210</a> : Added CKEditor plugin for jQuery.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/2885">#2885</a> : Added 'div' dialog and corresponding context menu options.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4574">#4574</a> : Added the table merging tools and corresponding context menu options.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4340">#4340</a> : Added the email protection option for link dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4463">#4463</a> : Added inline CSS support in all places where custom stylesheet could apply.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3881">#3881</a> : Added color dialog for 'more color' option in color buttons.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4341">#4341</a> : Added the 'showborder' plugin.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4549">#4549</a> : Make the anti-cache query string configurable.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4708">#4708</a> : Added the 'htmlEncodeOutput' config option.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4342">#4342</a> : Introduced the bodyId and bodyClass settings to specify the id and class. to be used in the editing area at runtime.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3401">#3401</a> : Introduced the baseHref setting so it's possible to set the URL to be used to resolve absolute and relative URLs in the contents.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4729">#4729</a> : Added support to fake elements for comments.</li>
+	</ul>
+	<p>
+		Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/4707">#4707</a> : Fixed invalid link is requested in image preview.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4461">#4461</a> : Fixed toolbar separator line along side combo enlarging the toolbar height.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4596">#4596</a> : Fixed image re-size lock buttons aren't accessible in high-contrast mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4676">#4676</a> : Fixed editing tables using table properties dialog overwrites original style values.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4714">#4714</a> : Fixed IE6 JavaScript error when editing flash by commit 'Flash' dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3905">#3905</a> : Fixed 'wysiwyg' mode causes unauthenticated content warnings over SSL in FF 3.5.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4768">#4768</a> : Fixed open context menu in IE throws js error when focus is not inside document.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4822">#4822</a> : Fixed applying 'Headers' to existing table does not work in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4855">#4855</a> : Fixed toolbar doesn't wrap well for 'v2' skin in all browsers.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4882">#4882</a> : Fixed auto detect paste from MS-Word is not working for Safari.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4882">#4882</a> : Fixed unexpected margin style left behind on content cleaning up from MS-Word.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4896">#4896</a> : Fixed paste nested list from MS-Word with measurement units set to cm is broken.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4899">#4899</a> : Fixed unable to undo pre-formatted style.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4900">#4900</a> : Fixed ratio-lock inconsistent between browsers.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4901">#4901</a> : Fixed unable to edit any link with popup window's features in Firefox.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4904">#4904</a> : Fixed when paste happen from dialog, it always throw JavaScript error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4905">#4905</a> : Fixed paste plain text result incorrect when content from dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4889">#4889</a> : Fixed unable to undo 'New Page' command after typing inside editor.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4892">#4892</a> : Fixed table alignment style is not properly represented by the wrapping div.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4918">#4918</a> : Fixed switching mode when maximized is showing background page contents.</li>
+	</ul>
+	<h3>
+		CKEditor 3.0.2</h3>
+	<p>
+		New features:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/4343">#4343</a> : Added the configuration option &#39;browserContextMenuOnCtrl&#39; so it&#39;s possible to enable the default browser context menu by holding the CTRL key.</li>
+	</ul>
+	<p>
+		Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/4552">#4552</a> : Fixed float panel doesn't show up since editor instanced been destroyed once.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3918">#3918</a> : Fixed fake object is editable with Image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4053">#4053</a> : Fixed 'Form Properties' missing from context menu when selection collapsed inside form.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4401">#4401</a> : Fixed customized by removing 'upload' tab page from 'Link dialog' cause JavaScript error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4477">#4477</a> : Adding missing tag names in object style elements.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4567">#4567</a> : Fixed IE throw error when pressing BACKSPACE in source mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4573">#4573</a> : Fixed 'IgnoreEmptyPargraph' config doesn't work with the config 'entities' is set to 'false'.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4614">#4614</a> : Fixed attribute protection fails because of line-break.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4546">#4546</a> : Fixed UIColor plugin doesn't work when editor id contains CSS selector preserved keywords.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4609">#4609</a> : Fixed flash object is lost when loading data from outside editor.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4625">#4625</a> : Fixed editor stays visible in a div with style 'visibility:hidden'.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4621">#4621</a> : Fixed clicking below table caused an empty table been generated.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3373">#3373</a> : Fixed empty context menu when there's no menu item at all.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4473">#4473</a> : Fixed setting rules on the same element tag name throws error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4514">#4514</a> : Fixed press 'Back' button breaks wysiwyg editing mode is Firefox.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4542">#4542</a> : Fixed unable to access buttons using tab key in Safari and Opera.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4577">#4577</a> : Fixed relative link url is broken after opening 'Link' dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4597">#4597</a> : Fixed custom style with same attribute name but different attribute value doesn't work.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4651">#4651</a> : Fixed 'Deleted' and 'Inserted' text style is not rendering in wysiwyg mode and is wrong is source mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4654">#4654</a> : Fixed 'CKEDITOR.config.font_defaultLabel(fontSize_defaultLabel)' is not working.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3950">#3950</a> : Fixed table column insertion incorrect when selecting empty cell area.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3912">#3912</a> : Fixed UIColor not working in IE when page has more than 30+ editors.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4031">#4031</a> : Fixed mouse cursor on toolbar combo has more than 3 shapes.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4041">#4041</a> : Fixed open context menu on multiple cells to remove them result in only one removed.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4185">#4185</a> : Fixed resize handler effect doesn't affect flash object on output.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4196">#4196</a> : Fixed 'Remove Numbered/Bulleted List' on nested list doesn't work well on nested list.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4200">#4200</a> : Fixed unable to insert 'password' type filed with attributes.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4530">#4530</a> : Fixed context menu couldn't open in Opera.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4536">#4536</a> : Fixed keyboard navigation doesn't work at all in IE quirks mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4584">#4584</a> : Fixed updated link Target field is not updating when updating to certain values.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4603">#4603</a> : Fixed unable to disable submenu items in contextmenu.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4672">#4672</a> : Fixed unable to redo the insertion of horizontal line.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4677">#4677</a> : Fixed 'Tab' key is trapped by hidden dialog elements.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4073">#4073</a> : Fixed insert template with replace option could result in empty document.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4455">#4455</a> : Fixed unable to start editing when image inside document not loaded.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4517">#4517</a> : Fixed 'dialog_backgroundCoverColor' doesn't work on IE6.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3165">#3165</a> : Fixed enter key in empty list item before nested one result in collapsed line.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4527">#4527</a> : Fixed checkbox generate invalid 'checked' attribute.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/1659">#1659</a> : Fixed unable to click below content to start editing in IE with 'config.docType' setting to standard compliant.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3933">#3933</a> : Fixed extra &lt;br&gt; left at the end of document when the last element is a table.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4736">#4736</a> : Fixed PAGE UP and PAGE DOWN keys in standards mode are not working.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4725">#4725</a> : Fixed hitting 'enter' before html comment node produces a JavaScript error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4522">#4522</a> : Fixed unable to redo when typing after insert an image with relative url.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4594">#4594</a> : Fixed context menu goes off-screen when mouse is at right had side of screen.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4673">#4673</a> : Fixed undo not available straight away if shift key is used to enter first character.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4690">#4690</a> : Fixed the parsing of nested inline elements.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4450">#4450</a> : Fixed selecting multiple table cells before apply justify commands generates spurious paragraph in Firefox.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4733">#4733</a> : Fixed dialog opening sometimes hang up Firefox and Safari.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4498">#4498</a> : Fixed toolbar collapse button missing tooltip.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4738">#4738</a> : Fixed inserting table inside bold/italic/underline generates error on ENTER_BR mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4246">#4246</a> : Fixed avoid XHTML deprecated attributes for image styling.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4543">#4543</a> : Fixed unable to move cursor between table and hr.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4764">#4764</a> : Fixed wrong exception message when CKEDITOR.editor.append() to non-existing elements.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4521">#4521</a> : Fixed dialog layout in IE6/7 may have scroll-bar and other weird effects.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4709">#4709</a> : Fixed inconsistent scroll-bar behavior on IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4776">#4776</a> : Fixed preview page failed to open when relative URl contains in document.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4812">#4812</a> : Fixed 'Esc' key not working on dialogs in Opera.</li>
+		<li>Updated the following language files:<ul>
+			<li><a href="http://dev.fckeditor.net/ticket/4346">#4346</a> : Dutch;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4837">#4837</a> : Finnish;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4371">#4371</a> : Hebrew;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4371">#4607</a> <a href="http://dev.fckeditor.net/ticket/4713">#4713</a> : Japanese;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4660">#4660</a> : Norwegian.</li>
+		</ul></li>
+	</ul>
+	<h3>
+		CKEditor 3.0.1</h3>
+	<p>
+		New features:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/4219">#4219</a> : Added fallback mechanism for config.language.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4194">#4194</a> : Added support for using multiple css style sheets within the editor.</li>
+	</ul>
+	<p>
+		Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/3898">#3898</a> : Added validation for URL value in Image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3528">#3528</a> : Fixed Context Menu issue when triggered using Shift+F10.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4028">#4028</a> : Maximize control's tool tip was wrong once it is maximized.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4237">#4237</a> : Toolbar is chopped off in Safari browser 3.x.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4241">#4241</a> : Float panels are left on screen while editor is destroyed.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4274">#4274</a> : Double click event is incorrect handled in 'divreplace' sample.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4354">#4354</a> : Fixed TAB key on toolbar to not focus disabled buttons.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3856">#3856</a> : Fixed focus and blur events in source view mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3438">#3438</a> : Floating panels are off by (-1px, 0px) in RTL mode.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3370">#3370</a> : Refactored use of CKEDITOR.env.isCustomDomain().</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4230">#4230</a> : HC detection caused js error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3978">#3978</a> : Fixed setStyle float on IE7 strict.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4262">#4262</a> : Tab and Shift+Tab was not working to cycle through CTRL+SHIFT+F10 context menu in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3633">#3633</a> : Default context menu isn't disabled in toolbar, status bar, panels...</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3897">#3897</a> : Now there is no image previews when the URL is empty in image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4048">#4048</a> : Context submenu was lacking uiColor.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3568">#3568</a> : Dialogs now select all text when tabbing to text inputs.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3727">#3727</a> : Cell Properties dialog was missing color selection option.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3517">#3517</a> : Fixed "Match cyclic" field in Find & Replace dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4368">#4368</a> : borderColor table cell attribute haven't worked for none-IE</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4203">#4203</a> : In IE quirks mode + toolbar collapsed + source mode editing block height was incorrect.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4387">#4387</a> : Fixed: right clicking in Kama skin can lead to a javascript error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4397">#4397</a> : Wysiwyg mode caused the host page scroll.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4385">#4385</a> : Fixed editor's auto adjusting on DOM structure were confusing the dirty checking mechanism.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4397">#4397</a> : Fixed regression of [3816] where turn on design mode was causing Firefox3 to scroll the host page.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4254">#4254</a> : Added basic API sample.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4107">#4107</a> : Normalize css font-family style text for correct comparision.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3664">#3664</a> : Insert block element in empty editor document should not create new paragraph.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4037">#4037</a> : 'id' attribute is missing with Flash dialog advanced page.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4047">#4047</a> : Delete selected control type element when 'Backspace' is pressed on it.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4191">#4191</a> : Fixed: dialog changes confirmation on image dialog appeared even when no changes have been made.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4351">#4351</a> : Dash and dot could appear in attribute names.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4355">#4355</a> : 'maximize' and 'showblock' commands shouldn't take editor focus.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4504">#4504</a> : Fixed 'Enter'/'Esc' key is not working on dialog button.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4245">#4245</a> : 'Strange Template' now come with a style attribute for width.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4512">#4512</a> : Fixed styles plugin incorrectly adding semicolons to style text.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3855">#3855</a> : Fixed loading unminified _source files when ckeditor_source.js is used.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3717">#3717</a> : Dialog settings defaults can now be overridden in-page through the CKEDITOR.config object.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4481">#4481</a> : The 'stylesCombo_stylesSet' configuration entry didn't work for full URLs.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4480">#4480</a> : Fixed scope attribute in th.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4467">#4467</a> : Fixed bug to use custom icon in context menus. Thanks to george.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4190">#4190</a> : Fixed select field dialog layout in Safari.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4518">#4518</a> : Fixed unable to open dialog without editor focus in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4519">#4519</a> : Fixed maximize without editor focus throw error in IE.</li>
+		<li>Updated the following language files:<ul>
+			<li><a href="http://dev.fckeditor.net/ticket/3947">#3947</a> : Arabic;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4466">#4466</a> : Czech;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4363">#4363</a> : Danish;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4346">#4346</a> : Dutch;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4371">#4371</a> <a href="http://dev.fckeditor.net/ticket/4456">#4456</a> : Hebrew;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4382">#4382</a> : Polish.</li>
+		</ul></li>
+	</ul>
+	<h3>
+		CKEditor 3.0</h3>
+	<p>
+		New features:</p>
+	<ul>
+	<li><a href="http://dev.fckeditor.net/ticket/3188">#3188</a> : Introduce
+		&lt;pre&gt; formatting feature when converting from other blocks.</li>
+	<li><a href="http://dev.fckeditor.net/ticket/4445">#4445</a> : editor::setData now support an optional callback parameter.</li>
+	</ul>
+	<p>
+		Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.fckeditor.net/ticket/2856">#2856</a> : Fixed problem with inches in Paste From Word plugin.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3929">#3929</a> : Using Paste dialog,
+			the text is pasted into current selection</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3920">#3920</a> : Mouse cursor over characters in
+			Special Character dialog now is correct</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3882">#3882</a> : Fixed an issue
+			with PasteFromWord dialog in which default values was ignored</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3859">#3859</a> : Fixed Flash dialog layout in Webkit</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3852">#3852</a> : Disabled textarea resizing in dialogs</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3831">#3831</a> : The attempt to remove the contextmenu plugin
+			will not anymore break the editor</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3781">#3781</a> : Colorbutton is now disabled in 'source' mode</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3848">#3848</a> : Fixed an issue with Webkit in witch
+			elements in the Image and Link dialogs had wrong dimensions.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3808">#3808</a> : Fixed UI Color Picker dialog size in example page.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3658">#3658</a> : Editor had horizontal scrollbar in IE6.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3819">#3819</a> : The cursor was not visible
+			when applying style to collapsed selections in Firefox 2.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3809">#3809</a> : Fixed beam cursor
+			when mouse cursor is over text-only buttons in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3815">#3815</a> : Fixed an issue
+			with the form dialog in which the "enctype" attribute is outputted as "encoding".</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3785">#3785</a> : Fixed an issue
+			in CKEDITOR.tools.htmlEncode() which incorrectly outputs &amp;nbsp; in IE8.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3820">#3820</a> : Fixed an issue in
+			bullet list command in which a list created at the bottom of another gets merged to the top.
+			</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3830">#3830</a> : Table cell properties dialog
+			doesn't apply to all selected cells.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3835">#3835</a> : Element path is not refreshed
+			after click on 'newpage'; and safari is not putting focus on document also.
+			</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3821">#3821</a> : Fixed an issue with JAWS in which
+			toolbar items are read inconsistently between virtual cursor modes.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3789">#3789</a> : The &quot;src&quot; attribute
+			was getting duplicated in some situations.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3591">#3591</a> : Protecting flash related elements
+			including '&lt;object&gt;', '&lt;embed&gt;' and '&lt;param&gt;'.
+			</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3759">#3759</a> : Fixed CKEDITOR.dom.element::scrollIntoView
+			logic bug which scroll even element is inside viewport.
+			</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3773">#3773</a> : Fixed remove list will merge lines.
+			</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3829">#3829</a> : Fixed remove empty link on output data.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3730">#3730</a> : Indent is performing on the whole
+			block instead of selected lines in enterMode = BR.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3844">#3844</a> : Fixed UndoManager register keydown on obsoleted document</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3805">#3805</a> : Enabled SCAYT plugin for IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3834">#3834</a> : Context menu on table caption was incorrect.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3812">#3812</a> : Fixed an issue in which the editor
+			may show up empty or uneditable in IE7, 8 and Firefox 3.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3825">#3825</a> : Fixed JS error when opening spellingcheck.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3862">#3862</a> : Fixed html parser infinite loop on certain malformed
+			source code.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3639">#3639</a> : Button size was inconsistent.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3874">#3874</a> : Paste as plain text in Safari loosing lines.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3849">#3849</a> : Fixed IE8 crashes when applying lists and indenting.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3876">#3876</a> : Changed dialog checkbox and radio labels to explicit labels.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3843">#3843</a> : Fixed context submenu position in IE 6 & 7 RTL.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3864">#3864</a> : [FF]Document is not editable after inserting element on a fresh page.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3883">#3883</a> : Fixed removing inline style logic incorrect on Firefox2.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3884">#3884</a> : Empty "href" attribute was duplicated on output data.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3858">#3858</a> : Fixed the issue where toolbars
+			break up in IE6 and IE7 after the browser is resized.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3868">#3868</a> : [chrome] SCAYT toolbar options was in reversed order.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3875">#3875</a> : Fixed an issue in Safari where
+			table row/column/cell menus are not useable when table cells are selected.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3896">#3896</a> : The editing area was
+			flashing when switching forth and back to source view.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3894">#3894</a> : Fixed an issue where editor failed to initialize when using the on-demand loading way.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3903">#3903</a> : Color button plugin doesn't read config entry from editor instance correctly.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3801">#3801</a> : Comments at the start of the document was lost in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3871">#3871</a> : Unable to redo when undos to the front of snapshots stack.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3909">#3909</a> : Move focus from editor into a text input control is broken.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3870">#3870</a> : The empty paragraph
+			desappears when hitting ENTER after &quot;New Page&quot;.</li>
+ 		<li><a href="http://dev.fckeditor.net/ticket/3887">#3887</a> : Fixed an issue in which the create
+ 			list command may leak outside of a selected table cell and into the rest of document.</li>
+ 		<li><a href="http://dev.fckeditor.net/ticket/3916">#3916</a> : Fixed maximize does not enlarge editor width when width is set.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3879">#3879</a> : [webkit] Color button panel had incorrect size on first open.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3839">#3839</a> : Update Scayt plugin to reflect the latest change from SpellChecker.net.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3742">#3742</a> : Fixed wrong dialog layout for dialogs without tab bar in IE RTL mode .</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3671">#3671</a> : Fixed body fixing should be applied to the real type under fake elements.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3836">#3836</a> : Fixed remove list in enterMode=BR will merge sibling text to one line.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3949">#3949</a> : Fixed enterKey within pre-formatted text introduce wrong line-break.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3878">#3878</a> : Whenever possible,
+		dialogs will not present scrollbars if the content is too big for its standard
+		size.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3782">#3782</a> : Remove empty list in table cell result in collapsed cell.</li>
+		<li>Updated the following language files:<ul>
+			<li><a href="http://dev.fckeditor.net/ticket/4183">#4183</a> : Basque;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/3837">#3837</a> : Brazilian Portuguese;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4171">#4171</a> : Catalan;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4115">#4115</a> : Chinese (Simplified);</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4179">#4179</a> : Chinese (Traditional);</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4102">#4102</a> : Croatian;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4105">#4105</a> : French;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4104">#4104</a> : German;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4116">#4116</a> : Italian;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4091">#4091</a> : Japanese;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4120">#4120</a> : Polish;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/3987">#3987</a> : Spanish;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4089">#4089</a> : Ukrainian;</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4166">#4166</a> : Vietnamese.</li>
+		</ul></li>
+		<li><a href="http://dev.fckeditor.net/ticket/3984">#3984</a> : [IE]The pre-formatted style is generating error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3946">#3946</a> : Fixed unable to hide contextmenu.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3956">#3956</a> : Fixed About dialog in Source Mode for IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3953">#3953</a> : Fixed keystroke for close Paste dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3951">#3951</a> : Reset size and lock ratio options were not accessible in Image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3921">#3921</a> : Fixed Container scroll issue on IE7.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3940">#3940</a> : Fixed list operation doesn't stop at table.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3891">#3891</a> : [IE] Fixed 'automatic' font color doesn't work.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3972">#3972</a> : Fixed unable to remove a single empty list in document in Firefox with enterMode=BR.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3973">#3973</a> : Fixed list creation error at the end of document.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3959">#3959</a> : Pasting styled text from word result in content lost.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3793">#3793</a> : Combined images into sprites.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3783">#3783</a> : Fixed indenting command in table cells create collapsed paragraph.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3968">#3968</a> : About dialog layout was broken with IE+Standards+RTL.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3991">#3991</a> : In IE quirks, text was not visible in v2 and office2003 skins.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3983">#3983</a> : In IE, we&#39;ll now
+			silently ignore wrong toolbar definition settings which have extra commas being
+			left around.</li>
+		<li>Fixed the following test cases:<ul>
+			<li><a href="http://dev.fckeditor.net/ticket/3992">#3992</a> : core/ckeditor2.html</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4138">#4138</a> : core/plugins.html</li>
+			<li><a href="http://dev.fckeditor.net/ticket/3801">#3801</a> : plugins/htmldataprocessor/htmldataprocessor.html</li>
+		</ul></li>
+		<li><a href="http://dev.fckeditor.net/ticket/3989">#3989</a> : Host page horizontal scrolling a lot when on having righ-to-left direction.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4001">#4001</a> : Create link around existing image result incorrect.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3988">#3988</a> : Destroy editor on form submit event cause error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3994">#3994</a> : Insert horizontal line at end of document cause error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4074">#4074</a> : Indent error with 'indentClasses' config specified.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4057">#4057</a> : Fixed anchor is lost after switch between editing modes.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3644">#3644</a> : Image dialog was missin radio lock.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4014">#4014</a> : Firefox2 had no dialog button backgrounds.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4018">#4018</a> : Firefox2 had no richcombo text visible.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4035">#4035</a> : [IE6] Paste dialog size was too small.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4049">#4049</a> : Kama skin was too wide with config.width.</li>
+		<li>The following released files now doesn't require the _source folder<ul>
+			<li><a href="http://dev.fckeditor.net/ticket/4086">#4086</a> : _samples/ui_languages.html</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4093">#4093</a> : _tests/core/dom/document.html</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4094">#4094</a> : Smiley plugin file</li>
+			<li><a href="http://dev.fckeditor.net/ticket/4097">#4097</a> : No undo/redo support for fontColor and backgroundColor buttons.</li>
+		</ul></li>
+		<li><a href="http://dev.fckeditor.net/ticket/4085">#4085</a> : Paste and Paste from Word dialogs were not well styled in IE+RTL.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3982">#3982</a> : Fixed enterKey on empty list item result in weird dom structure.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4101">#4101</a> : Now it is possible to close dialog before gets focus.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4075">#4075</a> : [IE6/7]Fixed apply custom inline style with "class" attribute failed.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4087">#4087</a> : [Firefox]Fixed extra blocks created on create list when full document selected.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4097">#4097</a> : No undo/redo support for fontColor and backgroundColor buttons.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4111">#4111</a> : Fixed apply block style after inline style applied on full document error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3622">#3622</a> : Fixed shift enter with selection not deleting highlighted text.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4092">#4092</a> : [IE6] Close button was missing for dialog without multiple tabs.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4003">#4003</a> : Markup on the image dialog was disrupted when removing the border input.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4096">#4096</a> : Editor content area was pushed down in IE RTL quirks.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4112">#4112</a> : [FF] Paste dialog had scrollbars in quirks.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4118">#4118</a> : Dialog dragging was
+			occasionally behaving strangely .</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4077">#4077</a> : The toolbar combos
+			were rendering incorrectly in some languages, like Chinese.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3622">#3622</a> : The toolbar in the v2
+			skin was wrapping improperly in some languages.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4119">#4119</a> : Unable to edit image link with image dialog.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4117">#4117</a> : Fixed dialog error when transforming image into button.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4058">#4058</a> : [FF] wysiwyg mode is sometimes not been activated.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4114">#4114</a> : [IE] RTE + IE6/IE7 Quirks = dialog mispositoned.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4123">#4123</a> : Some dialog buttons were broken in IE7 quirks.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4122">#4122</a> : [IE] The image dialog
+			was being rendered improperly when loading an image with long URL.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4144">#4144</a> : Fixed the white-spaces at the end of &lt;pre&gt; is incorrectly removed.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4143">#4143</a> : Fixed element id is lost when extracting contents from the range.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4007">#4007</a> : [IE] Source area overflow from editor chrome.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4145">#4145</a> : Fixed the on demand
+			(&quot;basic&quot;) loading model of the editor.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4139">#4139</a> : Fixed list plugin regression of [3903].</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4147">#4147</a> : Unify style text normalization logic when comparing styles.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4150">#4150</a> : Fixed enlarge list result incorrect at the inner boundary of block.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4164">#4164</a> : Now it is possible to paste text
+			in Source mode even if forcePasteAsPlainText = true.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4129">#4129</a> : [FF]Unable to remove list with Ctrl-A.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4172">#4172</a> : [Safari] The trailing
+			&lt;br&gt; was not been always added to blank lines ending with &amp;nbsp;.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4178">#4178</a> : It&#39;s now possible to
+			copy and paste Flash content among different editor instances.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4193">#4193</a> : Automatic font color produced empty span on Firefox 3.5.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4186">#4186</a> : [FF] Fixed First open float panel cause host page scrollbar blinking.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4227">#4227</a> : Fixed destroy editor instance created on textarea which is not within form cause error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4240">#4240</a> : Fixed editor name containing hyphen break editor completely.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3828">#3828</a> : Malformed nested list is now corrected by the parser.</li>
+	</ul>
+	<h3>
+		CKEditor 3.0 RC</h3>
+	<p>
+		Changelog starts at this release.</p>
+	<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>
Index: CKEditor/branches/features/aria/INSTALL.html
===================================================================
--- CKEditor/branches/features/aria/INSTALL.html	(revision 4888)
+++ CKEditor/branches/features/aria/INSTALL.html	(revision 4888)
@@ -0,0 +1,92 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Installation Guide - CKEditor</title>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<style type="text/css">
+		h3
+		{
+			border-bottom: 1px solid #AAAAAA;
+		}
+		pre
+		{
+			background-color: #F9F9F9;
+			border: 1px dashed #2F6FAB;
+			padding: 1em;
+			line-height: 1.1em;
+		}
+		#footer hr
+		{
+			margin: 10px 0 15px 0;
+			height: 1px;
+			border: solid 1px gray;
+			border-bottom: none;
+		}
+		#footer p
+		{
+			margin: 0 10px 10px 10px;
+			float: left;
+		}
+		#footer #copy
+		{
+			float: right;
+		}
+	</style>
+</head>
+<body>
+	<h1>
+		CKEditor Installation Guide</h1>
+	<h3>
+		What&#39;s CKEditor?</h3>
+	<p>
+		CKEditor is a text editor to be used inside web pages. It&#39;s not a replacement
+		for desktop text editors like Word or OpenOffice, but a component to be used as
+		part of web applications and web sites.</p>
+	<h3>
+		Installation</h3>
+	<p>
+		Installing CKEditor is an easy task. Just follow these simple steps:</p>
+	<ol>
+		<li><strong>Download</strong> the latest version of the editor from our web site: <a
+			href="http://ckeditor.com">http://ckeditor.com</a>. You should have already completed
+			this step, but be sure you have the very latest version.</li>
+		<li><strong>Extract</strong> (decompress) the downloaded file into the root of your
+			web site.</li>
+	</ol>
+	<p>
+		<strong>Note:</strong> CKEditor is by default installed in the &quot;ckeditor&quot;
+		folder. You can place the files in whichever you want though.</p>
+	<h3>
+		Checking Your Installation
+	</h3>
+	<p>
+		The editor comes with a few sample pages that can be used to verify that installation
+		proceeded properly. Take a look at the <a href="_samples">_samples</a> directory.</p>
+	<p>
+		To test your installation, just call the following page at your web site:</p>
+	<pre>
+http://&lt;your site&gt;/&lt;CKEditor installation path&gt;/_samples/index.html
+
+For example:
+http://www.example.com/ckeditor/_samples/index.html</pre>
+	<h3>
+		Documentation</h3>
+	<p>
+		The full editor documentation is available online at the following address:<br />
+		<a href="http://docs.cksource.com/ckeditor">http://docs.cksource.com/ckeditor</a></p>
+	<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>
Index: CKEditor/branches/features/aria/LICENSE.html
===================================================================
--- CKEditor/branches/features/aria/LICENSE.html	(revision 4888)
+++ CKEditor/branches/features/aria/LICENSE.html	(revision 4888)
@@ -0,0 +1,1379 @@
+﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+== BEGIN TEXT ONLY VERSION ==
+
+Software License Agreement
+==========================
+
+CKEditor - The text editor for Internet - http://ckeditor.com
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   http://www.gnu.org/licenses/gpl.html
+   (See Appendix A)
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   http://www.gnu.org/licenses/lgpl.html
+   (See Appendix B)
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   http://www.mozilla.org/MPL/MPL-1.1.html
+   (See Appendix C)
+
+You are not required to, but if you want to explicitly declare the
+license you have chosen to be bound to when using, reproducing,
+modifying and distributing this software, just include a text file
+titled "legal.txt" in your version of this software, indicating your
+license choice. In any case, your choice will not restrict any
+recipient of your version of this software to use, reproduce, modify
+and distribute this software under any of the above licenses.
+
+Sources of Intellectual Property Included in CKEditor
+=====================================================
+
+Where not otherwise indicated, all CKEditor content is authored by
+CKSource engineers and consists of CKSource-owned intellectual
+property. In some specific instances, CKEditor will incorporate work
+done by developers outside of CKSource with their express permission.
+
+YUI Test: At _source/tests/yuitest.js can be found part of the source
+code of YUI, which is licensed under the terms of the BSD License
+(http://developer.yahoo.com/yui/license.txt). YUI is Copyright (C)
+2008, Yahoo! Inc.
+
+(Ignore this line: %REMOVE_START%)
+
+Software available at our repository and developer version only:
+
+JavaScript Lint: At _dev/_thirdparty/jsl can be found the executable
+files of JavaScript Lint, which are licensed under the terms of the
+Mozilla Public License Version 1.1 (http://www.mozilla.org/MPL/).
+JavaScript Lint is Copyright (c) 2006 Matthias Miller.
+
+JsDoc Toolkit: At _dev/_thirdparty/jsdoc-toolkit can be found the
+source code of JsDoc Toolkit, which is licensed under the terms of the
+X11/MIT License (http://www.opensource.org/licenses/mit-license.php).
+JsDoc Toolkit is Copyright (c) 2008 Michael Mathews.
+
+Console_Getopt and PEAR: At _dev/_thirdparty/console_getopt can be
+found the source code of Console_Getopt and part of the source code of
+PEAR, which are licensed under the terms of the PHP License Version 3.0
+(http://www.php.net/license/3_0.txt). Console_Getopt and PEAR are
+Copyright (c) 1997-2004 The PHP Group.
+
+(Ignore this line: %REMOVE_END%)
+Trademarks
+==========
+
+CKEditor is a trademark of CKSource - Frederico Knabben. All other brand
+and product names are trademarks, registered trademarks or service
+marks of their respective holders.
+
+Appendix A: The GPL License
+===========================
+
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software-to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+
+Appendix B: The LGPL License
+============================
+
+		  GNU LESSER GENERAL PUBLIC LICENSE
+		       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software-to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages-typically libraries-of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+		  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+
+Appendix C: The MPL License
+===========================
+
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ===============
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
+== END TEXT ONLY VERSION ==
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>License - CKEditor</title>
+</head>
+<body>
+	<h1>
+		Software License Agreement
+	</h1>
+	<p>
+		<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.
+	</p>
+	<p>
+		Licensed under the terms of any of the following licenses at your choice:
+	</p>
+	<ul>
+		<li><a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> Version
+			2 or later (the "GPL");</li>
+		<li><a href="http://www.gnu.org/licenses/lgpl.html">GNU Lesser General Public License</a>
+			Version 2.1 or later (the "LGPL");</li>
+		<li><a href="http://www.mozilla.org/MPL/MPL-1.1.html">Mozilla Public License</a> Version
+			1.1 or later (the "MPL").</li>
+	</ul>
+	<p>
+		You are not required to, but if you want to explicitly declare the license you have
+		chosen to be bound to when using, reproducing, modifying and distributing this software,
+		just include a text file titled "LEGAL" in your version of this software, indicating
+		your license choice. In any case, your choice will not restrict any recipient of
+		your version of this software to use, reproduce, modify and distribute this software
+		under any of the above licenses.
+	</p>
+	<h2>
+		Sources of Intellectual Property Included in CKEditor
+	</h2>
+	<p>
+		Where not otherwise indicated, all CKEditor content is authored by CKSource engineers
+		and consists of CKSource-owned intellectual property. In some specific instances,
+		CKEditor will incorporate work done by developers outside of CKSource with their
+		express permission.
+	</p>
+	<p>
+		<a href="http://developer.yahoo.com/yui/yuitest/">YUI Test</a>: At _source/tests/yuitest.js
+		can be found part of the source code of YUI, which is licensed under the terms of
+		the <a href="http://developer.yahoo.com/yui/license.txt">BSD License</a>. YUI is
+		Copyright &copy; 2008, Yahoo! Inc.
+	</p>
+	<!-- (Ignore this line: %REMOVE_START%)
+	Software available at our repository and developer version only:
+	-->
+	<p>
+		<a href="http://www.javascriptlint.com/">JavaScript Lint</a>: At _dev/_thirdparty/jsl
+		can be found the executable files of JavaScript Lint, which are licensed under the
+		terms of the Mozilla Public License Version 1.1 (<a href="http://developer.yahoo.com/yui/license.txt">http://developer.yahoo.com/yui/license.txt</a>).
+		JavaScript Lint is Copyright &copy; 2006 Matthias Miller.
+	</p>
+	<p>
+		<a href="http://code.google.com/p/jsdoc-toolkit/">JsDoc Toolkit</a>: At _dev/_thirdparty/jsdoc-toolkit can be found the
+		source code of JsDoc Toolkit, which is licensed under the terms of the
+		X11/MIT License Version
+		(<a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>).
+		JsDoc Toolkit is Copyright &copy; 2008 Michael Mathews.
+	</p>
+	<p>
+		<a href="http://pear.php.net/package/Console_Getopt">Console_Getopt</a> and <a href="http://pear.php.net/">
+			PEAR</a>: At _dev/_thirdparty/console_getopt can be found the source code of
+		Console_Getopt and part of the source code of PEAR, which are licensed under the
+		terms of the PHP License Version 3.0 (<a href="http://www.php.net/license/3_0.txt">http://www.php.net/license/3_0.txt</a>).
+		Console_Getopt and PEAR are Copyright &copy; 1997-2004 The PHP Group.
+	</p>
+	<!-- (Ignore this line: %REMOVE_END%) -->
+	<h2>
+		Trademarks
+	</h2>
+	<p>
+		CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product
+		names are trademarks, registered trademarks or service marks of their respective
+		holders.
+	</p>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/Getopt.php
===================================================================
--- CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/Getopt.php	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/Getopt.php	(revision 4888)
@@ -0,0 +1,290 @@
+<?php
+/* vim: set expandtab tabstop=4 shiftwidth=4: */
+// +----------------------------------------------------------------------+
+// | PHP Version 5                                                        |
+// +----------------------------------------------------------------------+
+// | Copyright (c) 1997-2004 The PHP Group                                |
+// +----------------------------------------------------------------------+
+// | This source file is subject to version 3.0 of the PHP license,       |
+// | that is bundled with this package in the file LICENSE, and is        |
+// | available through the world-wide-web at the following url:           |
+// | http://www.php.net/license/3_0.txt.                                  |
+// | If you did not receive a copy of the PHP license and are unable to   |
+// | obtain it through the world-wide-web, please send a note to          |
+// | license@php.net so we can mail you a copy immediately.               |
+// +----------------------------------------------------------------------+
+// | Author: Andrei Zmievski <andrei@php.net>                             |
+// +----------------------------------------------------------------------+
+//
+// $Id: Getopt.php,v 1.4 2007/06/12 14:58:56 cellog Exp $
+
+require_once 'PEAR.php';
+
+/**
+ * Command-line options parsing class.
+ *
+ * @author Andrei Zmievski <andrei@php.net>
+ *
+ */
+class Console_Getopt {
+    /**
+     * Parses the command-line options.
+     *
+     * The first parameter to this function should be the list of command-line
+     * arguments without the leading reference to the running program.
+     *
+     * The second parameter is a string of allowed short options. Each of the
+     * option letters can be followed by a colon ':' to specify that the option
+     * requires an argument, or a double colon '::' to specify that the option
+     * takes an optional argument.
+     *
+     * The third argument is an optional array of allowed long options. The
+     * leading '--' should not be included in the option name. Options that
+     * require an argument should be followed by '=', and options that take an
+     * option argument should be followed by '=='.
+     *
+     * The return value is an array of two elements: the list of parsed
+     * options and the list of non-option command-line arguments. Each entry in
+     * the list of parsed options is a pair of elements - the first one
+     * specifies the option, and the second one specifies the option argument,
+     * if there was one.
+     *
+     * Long and short options can be mixed.
+     *
+     * Most of the semantics of this function are based on GNU getopt_long().
+     *
+     * @param array  $args           an array of command-line arguments
+     * @param string $short_options  specifies the list of allowed short options
+     * @param array  $long_options   specifies the list of allowed long options
+     *
+     * @return array two-element array containing the list of parsed options and
+     * the non-option arguments
+     *
+     * @access public
+     *
+     */
+    function getopt2($args, $short_options, $long_options = null)
+    {
+        return Console_Getopt::doGetopt(2, $args, $short_options, $long_options);
+    }
+
+    /**
+     * This function expects $args to start with the script name (POSIX-style).
+     * Preserved for backwards compatibility.
+     * @see getopt2()
+     */
+    function getopt($args, $short_options, $long_options = null)
+    {
+        return Console_Getopt::doGetopt(1, $args, $short_options, $long_options);
+    }
+
+    /**
+     * The actual implementation of the argument parsing code.
+     */
+    function doGetopt($version, $args, $short_options, $long_options = null)
+    {
+        // in case you pass directly readPHPArgv() as the first arg
+        if (PEAR::isError($args)) {
+            return $args;
+        }
+        if (empty($args)) {
+            return array(array(), array());
+        }
+        $opts     = array();
+        $non_opts = array();
+
+        settype($args, 'array');
+
+        if ($long_options) {
+            sort($long_options);
+        }
+
+        /*
+         * Preserve backwards compatibility with callers that relied on
+         * erroneous POSIX fix.
+         */
+        if ($version < 2) {
+            if (isset($args[0]{0}) && $args[0]{0} != '-') {
+                array_shift($args);
+            }
+        }
+
+        reset($args);
+        while (list($i, $arg) = each($args)) {
+
+            /* The special element '--' means explicit end of
+               options. Treat the rest of the arguments as non-options
+               and end the loop. */
+            if ($arg == '--') {
+                $non_opts = array_merge($non_opts, array_slice($args, $i + 1));
+                break;
+            }
+
+            if ($arg{0} != '-' || (strlen($arg) > 1 && $arg{1} == '-' && !$long_options)) {
+                $non_opts = array_merge($non_opts, array_slice($args, $i));
+                break;
+            } elseif (strlen($arg) > 1 && $arg{1} == '-') {
+                $error = Console_Getopt::_parseLongOption(substr($arg, 2), $long_options, $opts, $args);
+                if (PEAR::isError($error))
+                    return $error;
+            } elseif ($arg == '-') {
+                // - is stdin
+                $non_opts = array_merge($non_opts, array_slice($args, $i));
+                break;
+            } else {
+                $error = Console_Getopt::_parseShortOption(substr($arg, 1), $short_options, $opts, $args);
+                if (PEAR::isError($error))
+                    return $error;
+            }
+        }
+
+        return array($opts, $non_opts);
+    }
+
+    /**
+     * @access private
+     *
+     */
+    function _parseShortOption($arg, $short_options, &$opts, &$args)
+    {
+        for ($i = 0; $i < strlen($arg); $i++) {
+            $opt = $arg{$i};
+            $opt_arg = null;
+
+            /* Try to find the short option in the specifier string. */
+            if (($spec = strstr($short_options, $opt)) === false || $arg{$i} == ':')
+            {
+                return PEAR::raiseError("Console_Getopt: unrecognized option -- $opt");
+            }
+
+            if (strlen($spec) > 1 && $spec{1} == ':') {
+                if (strlen($spec) > 2 && $spec{2} == ':') {
+                    if ($i + 1 < strlen($arg)) {
+                        /* Option takes an optional argument. Use the remainder of
+                           the arg string if there is anything left. */
+                        $opts[] = array($opt, substr($arg, $i + 1));
+                        break;
+                    }
+                } else {
+                    /* Option requires an argument. Use the remainder of the arg
+                       string if there is anything left. */
+                    if ($i + 1 < strlen($arg)) {
+                        $opts[] = array($opt,  substr($arg, $i + 1));
+                        break;
+                    } else if (list(, $opt_arg) = each($args)) {
+                        /* Else use the next argument. */;
+                        if (Console_Getopt::_isShortOpt($opt_arg) || Console_Getopt::_isLongOpt($opt_arg)) {
+                            return PEAR::raiseError("Console_Getopt: option requires an argument -- $opt");
+                        }
+                    } else {
+                        return PEAR::raiseError("Console_Getopt: option requires an argument -- $opt");
+                    }
+                }
+            }
+
+            $opts[] = array($opt, $opt_arg);
+        }
+    }
+
+    /**
+     * @access private
+     *
+     */
+    function _isShortOpt($arg)
+    {
+        return strlen($arg) == 2 && $arg[0] == '-' && preg_match('/[a-zA-Z]/', $arg[1]);
+    }
+
+    /**
+     * @access private
+     *
+     */
+    function _isLongOpt($arg)
+    {
+        return strlen($arg) > 2 && $arg[0] == '-' && $arg[1] == '-' &&
+            preg_match('/[a-zA-Z]+$/', substr($arg, 2));
+    }
+
+    /**
+     * @access private
+     *
+     */
+    function _parseLongOption($arg, $long_options, &$opts, &$args)
+    {
+        @list($opt, $opt_arg) = explode('=', $arg, 2);
+        $opt_len = strlen($opt);
+
+        for ($i = 0; $i < count($long_options); $i++) {
+            $long_opt  = $long_options[$i];
+            $opt_start = substr($long_opt, 0, $opt_len);
+            $long_opt_name = str_replace('=', '', $long_opt);
+
+            /* Option doesn't match. Go on to the next one. */
+            if ($long_opt_name != $opt) {
+                continue;
+            }
+
+            $opt_rest  = substr($long_opt, $opt_len);
+
+            /* Check that the options uniquely matches one of the allowed
+               options. */
+            if ($i + 1 < count($long_options)) {
+                $next_option_rest = substr($long_options[$i + 1], $opt_len);
+            } else {
+                $next_option_rest = '';
+            }
+            if ($opt_rest != '' && $opt{0} != '=' &&
+                $i + 1 < count($long_options) &&
+                $opt == substr($long_options[$i+1], 0, $opt_len) &&
+                $next_option_rest != '' &&
+                $next_option_rest{0} != '=') {
+                return PEAR::raiseError("Console_Getopt: option --$opt is ambiguous");
+            }
+
+            if (substr($long_opt, -1) == '=') {
+                if (substr($long_opt, -2) != '==') {
+                    /* Long option requires an argument.
+                       Take the next argument if one wasn't specified. */;
+                    if (!strlen($opt_arg) && !(list(, $opt_arg) = each($args))) {
+                        return PEAR::raiseError("Console_Getopt: option --$opt requires an argument");
+                    }
+                    if (Console_Getopt::_isShortOpt($opt_arg) || Console_Getopt::_isLongOpt($opt_arg)) {
+                        return PEAR::raiseError("Console_Getopt: option requires an argument --$opt");
+                    }
+                }
+            } else if ($opt_arg) {
+                return PEAR::raiseError("Console_Getopt: option --$opt doesn't allow an argument");
+            }
+
+            $opts[] = array('--' . $opt, $opt_arg);
+            return;
+        }
+
+        return PEAR::raiseError("Console_Getopt: unrecognized option --$opt");
+    }
+
+    /**
+    * Safely read the $argv PHP array across different PHP configurations.
+    * Will take care on register_globals and register_argc_argv ini directives
+    *
+    * @access public
+    * @return mixed the $argv PHP array or PEAR error if not registered
+    */
+    function readPHPArgv()
+    {
+        global $argv;
+        if (!is_array($argv)) {
+            if (!@is_array($_SERVER['argv'])) {
+                if (!@is_array($GLOBALS['HTTP_SERVER_VARS']['argv'])) {
+                    return PEAR::raiseError("Console_Getopt: Could not read cmd args (register_argc_argv=Off?)");
+                }
+                return $GLOBALS['HTTP_SERVER_VARS']['argv'];
+            }
+            return $_SERVER['argv'];
+        }
+        return $argv;
+    }
+
+}
+
+?>
Index: CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/PEAR.php
===================================================================
--- CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/PEAR.php	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/_thirdparty/console_getopt/PEAR.php	(revision 4888)
@@ -0,0 +1,1118 @@
+<?php
+/**
+ * PEAR, the PHP Extension and Application Repository
+ *
+ * PEAR class and PEAR_Error class
+ *
+ * PHP versions 4 and 5
+ *
+ * LICENSE: This source file is subject to version 3.0 of the PHP license
+ * that is available through the world-wide-web at the following URI:
+ * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
+ * the PHP License and are unable to obtain it through the web, please
+ * send a note to license@php.net so we can mail you a copy immediately.
+ *
+ * @category   pear
+ * @package    PEAR
+ * @author     Sterling Hughes <sterling@php.net>
+ * @author     Stig Bakken <ssb@php.net>
+ * @author     Tomas V.V.Cox <cox@idecnet.com>
+ * @author     Greg Beaver <cellog@php.net>
+ * @copyright  1997-2008 The PHP Group
+ * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
+ * @version    CVS: $Id: PEAR.php,v 1.104 2008/01/03 20:26:34 cellog Exp $
+ * @link       http://pear.php.net/package/PEAR
+ * @since      File available since Release 0.1
+ */
+
+/**#@+
+ * ERROR constants
+ */
+define('PEAR_ERROR_RETURN',     1);
+define('PEAR_ERROR_PRINT',      2);
+define('PEAR_ERROR_TRIGGER',    4);
+define('PEAR_ERROR_DIE',        8);
+define('PEAR_ERROR_CALLBACK',  16);
+/**
+ * WARNING: obsolete
+ * @deprecated
+ */
+define('PEAR_ERROR_EXCEPTION', 32);
+/**#@-*/
+define('PEAR_ZE2', (function_exists('version_compare') &&
+                    version_compare(zend_version(), "2-dev", "ge")));
+
+if (substr(PHP_OS, 0, 3) == 'WIN') {
+    define('OS_WINDOWS', true);
+    define('OS_UNIX',    false);
+    define('PEAR_OS',    'Windows');
+} else {
+    define('OS_WINDOWS', false);
+    define('OS_UNIX',    true);
+    define('PEAR_OS',    'Unix'); // blatant assumption
+}
+
+// instant backwards compatibility
+if (!defined('PATH_SEPARATOR')) {
+    if (OS_WINDOWS) {
+        define('PATH_SEPARATOR', ';');
+    } else {
+        define('PATH_SEPARATOR', ':');
+    }
+}
+
+$GLOBALS['_PEAR_default_error_mode']     = PEAR_ERROR_RETURN;
+$GLOBALS['_PEAR_default_error_options']  = E_USER_NOTICE;
+$GLOBALS['_PEAR_destructor_object_list'] = array();
+$GLOBALS['_PEAR_shutdown_funcs']         = array();
+$GLOBALS['_PEAR_error_handler_stack']    = array();
+
+@ini_set('track_errors', true);
+
+/**
+ * Base class for other PEAR classes.  Provides rudimentary
+ * emulation of destructors.
+ *
+ * If you want a destructor in your class, inherit PEAR and make a
+ * destructor method called _yourclassname (same name as the
+ * constructor, but with a "_" prefix).  Also, in your constructor you
+ * have to call the PEAR constructor: $this->PEAR();.
+ * The destructor method will be called without parameters.  Note that
+ * at in some SAPI implementations (such as Apache), any output during
+ * the request shutdown (in which destructors are called) seems to be
+ * discarded.  If you need to get any debug information from your
+ * destructor, use error_log(), syslog() or something similar.
+ *
+ * IMPORTANT! To use the emulated destructors you need to create the
+ * objects by reference: $obj =& new PEAR_child;
+ *
+ * @category   pear
+ * @package    PEAR
+ * @author     Stig Bakken <ssb@php.net>
+ * @author     Tomas V.V. Cox <cox@idecnet.com>
+ * @author     Greg Beaver <cellog@php.net>
+ * @copyright  1997-2006 The PHP Group
+ * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
+ * @version    Release: 1.7.1
+ * @link       http://pear.php.net/package/PEAR
+ * @see        PEAR_Error
+ * @since      Class available since PHP 4.0.2
+ * @link        http://pear.php.net/manual/en/core.pear.php#core.pear.pear
+ */
+class PEAR
+{
+    // {{{ properties
+
+    /**
+     * Whether to enable internal debug messages.
+     *
+     * @var     bool
+     * @access  private
+     */
+    var $_debug = false;
+
+    /**
+     * Default error mode for this object.
+     *
+     * @var     int
+     * @access  private
+     */
+    var $_default_error_mode = null;
+
+    /**
+     * Default error options used for this object when error mode
+     * is PEAR_ERROR_TRIGGER.
+     *
+     * @var     int
+     * @access  private
+     */
+    var $_default_error_options = null;
+
+    /**
+     * Default error handler (callback) for this object, if error mode is
+     * PEAR_ERROR_CALLBACK.
+     *
+     * @var     string
+     * @access  private
+     */
+    var $_default_error_handler = '';
+
+    /**
+     * Which class to use for error objects.
+     *
+     * @var     string
+     * @access  private
+     */
+    var $_error_class = 'PEAR_Error';
+
+    /**
+     * An array of expected errors.
+     *
+     * @var     array
+     * @access  private
+     */
+    var $_expected_errors = array();
+
+    // }}}
+
+    // {{{ constructor
+
+    /**
+     * Constructor.  Registers this object in
+     * $_PEAR_destructor_object_list for destructor emulation if a
+     * destructor object exists.
+     *
+     * @param string $error_class  (optional) which class to use for
+     *        error objects, defaults to PEAR_Error.
+     * @access public
+     * @return void
+     */
+    function PEAR($error_class = null)
+    {
+        $classname = strtolower(get_class($this));
+        if ($this->_debug) {
+            print "PEAR constructor called, class=$classname\n";
+        }
+        if ($error_class !== null) {
+            $this->_error_class = $error_class;
+        }
+        while ($classname && strcasecmp($classname, "pear")) {
+            $destructor = "_$classname";
+            if (method_exists($this, $destructor)) {
+                global $_PEAR_destructor_object_list;
+                $_PEAR_destructor_object_list[] = &$this;
+                if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) {
+                    register_shutdown_function("_PEAR_call_destructors");
+                    $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true;
+                }
+                break;
+            } else {
+                $classname = get_parent_class($classname);
+            }
+        }
+    }
+
+    // }}}
+    // {{{ destructor
+
+    /**
+     * Destructor (the emulated type of...).  Does nothing right now,
+     * but is included for forward compatibility, so subclass
+     * destructors should always call it.
+     *
+     * See the note in the class desciption about output from
+     * destructors.
+     *
+     * @access public
+     * @return void
+     */
+    function _PEAR() {
+        if ($this->_debug) {
+            printf("PEAR destructor called, class=%s\n", strtolower(get_class($this)));
+        }
+    }
+
+    // }}}
+    // {{{ getStaticProperty()
+
+    /**
+    * If you have a class that's mostly/entirely static, and you need static
+    * properties, you can use this method to simulate them. Eg. in your method(s)
+    * do this: $myVar = &PEAR::getStaticProperty('myclass', 'myVar');
+    * You MUST use a reference, or they will not persist!
+    *
+    * @access public
+    * @param  string $class  The calling classname, to prevent clashes
+    * @param  string $var    The variable to retrieve.
+    * @return mixed   A reference to the variable. If not set it will be
+    *                 auto initialised to NULL.
+    */
+    function &getStaticProperty($class, $var)
+    {
+        static $properties;
+        if (!isset($properties[$class])) {
+            $properties[$class] = array();
+        }
+        if (!array_key_exists($var, $properties[$class])) {
+            $properties[$class][$var] = null;
+        }
+        return $properties[$class][$var];
+    }
+
+    // }}}
+    // {{{ registerShutdownFunc()
+
+    /**
+    * Use this function to register a shutdown method for static
+    * classes.
+    *
+    * @access public
+    * @param  mixed $func  The function name (or array of class/method) to call
+    * @param  mixed $args  The arguments to pass to the function
+    * @return void
+    */
+    function registerShutdownFunc($func, $args = array())
+    {
+        // if we are called statically, there is a potential
+        // that no shutdown func is registered.  Bug #6445
+        if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) {
+            register_shutdown_function("_PEAR_call_destructors");
+            $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true;
+        }
+        $GLOBALS['_PEAR_shutdown_funcs'][] = array($func, $args);
+    }
+
+    // }}}
+    // {{{ isError()
+
+    /**
+     * Tell whether a value is a PEAR error.
+     *
+     * @param   mixed $data   the value to test
+     * @param   int   $code   if $data is an error object, return true
+     *                        only if $code is a string and
+     *                        $obj->getMessage() == $code or
+     *                        $code is an integer and $obj->getCode() == $code
+     * @access  public
+     * @return  bool    true if parameter is an error
+     */
+    function isError($data, $code = null)
+    {
+        if (is_a($data, 'PEAR_Error')) {
+            if (is_null($code)) {
+                return true;
+            } elseif (is_string($code)) {
+                return $data->getMessage() == $code;
+            } else {
+                return $data->getCode() == $code;
+            }
+        }
+        return false;
+    }
+
+    // }}}
+    // {{{ setErrorHandling()
+
+    /**
+     * Sets how errors generated by this object should be handled.
+     * Can be invoked both in objects and statically.  If called
+     * statically, setErrorHandling sets the default behaviour for all
+     * PEAR objects.  If called in an object, setErrorHandling sets
+     * the default behaviour for that object.
+     *
+     * @param int $mode
+     *        One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT,
+     *        PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE,
+     *        PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION.
+     *
+     * @param mixed $options
+     *        When $mode is PEAR_ERROR_TRIGGER, this is the error level (one
+     *        of E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR).
+     *
+     *        When $mode is PEAR_ERROR_CALLBACK, this parameter is expected
+     *        to be the callback function or method.  A callback
+     *        function is a string with the name of the function, a
+     *        callback method is an array of two elements: the element
+     *        at index 0 is the object, and the element at index 1 is
+     *        the name of the method to call in the object.
+     *
+     *        When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is
+     *        a printf format string used when printing the error
+     *        message.
+     *
+     * @access public
+     * @return void
+     * @see PEAR_ERROR_RETURN
+     * @see PEAR_ERROR_PRINT
+     * @see PEAR_ERROR_TRIGGER
+     * @see PEAR_ERROR_DIE
+     * @see PEAR_ERROR_CALLBACK
+     * @see PEAR_ERROR_EXCEPTION
+     *
+     * @since PHP 4.0.5
+     */
+
+    function setErrorHandling($mode = null, $options = null)
+    {
+        if (isset($this) && is_a($this, 'PEAR')) {
+            $setmode     = &$this->_default_error_mode;
+            $setoptions  = &$this->_default_error_options;
+        } else {
+            $setmode     = &$GLOBALS['_PEAR_default_error_mode'];
+            $setoptions  = &$GLOBALS['_PEAR_default_error_options'];
+        }
+
+        switch ($mode) {
+            case PEAR_ERROR_EXCEPTION:
+            case PEAR_ERROR_RETURN:
+            case PEAR_ERROR_PRINT:
+            case PEAR_ERROR_TRIGGER:
+            case PEAR_ERROR_DIE:
+            case null:
+                $setmode = $mode;
+                $setoptions = $options;
+                break;
+
+            case PEAR_ERROR_CALLBACK:
+                $setmode = $mode;
+                // class/object method callback
+                if (is_callable($options)) {
+                    $setoptions = $options;
+                } else {
+                    trigger_error("invalid error callback", E_USER_WARNING);
+                }
+                break;
+
+            default:
+                trigger_error("invalid error mode", E_USER_WARNING);
+                break;
+        }
+    }
+
+    // }}}
+    // {{{ expectError()
+
+    /**
+     * This method is used to tell which errors you expect to get.
+     * Expected errors are always returned with error mode
+     * PEAR_ERROR_RETURN.  Expected error codes are stored in a stack,
+     * and this method pushes a new element onto it.  The list of
+     * expected errors are in effect until they are popped off the
+     * stack with the popExpect() method.
+     *
+     * Note that this method can not be called statically
+     *
+     * @param mixed $code a single error code or an array of error codes to expect
+     *
+     * @return int     the new depth of the "expected errors" stack
+     * @access public
+     */
+    function expectError($code = '*')
+    {
+        if (is_array($code)) {
+            array_push($this->_expected_errors, $code);
+        } else {
+            array_push($this->_expected_errors, array($code));
+        }
+        return sizeof($this->_expected_errors);
+    }
+
+    // }}}
+    // {{{ popExpect()
+
+    /**
+     * This method pops one element off the expected error codes
+     * stack.
+     *
+     * @return array   the list of error codes that were popped
+     */
+    function popExpect()
+    {
+        return array_pop($this->_expected_errors);
+    }
+
+    // }}}
+    // {{{ _checkDelExpect()
+
+    /**
+     * This method checks unsets an error code if available
+     *
+     * @param mixed error code
+     * @return bool true if the error code was unset, false otherwise
+     * @access private
+     * @since PHP 4.3.0
+     */
+    function _checkDelExpect($error_code)
+    {
+        $deleted = false;
+
+        foreach ($this->_expected_errors AS $key => $error_array) {
+            if (in_array($error_code, $error_array)) {
+                unset($this->_expected_errors[$key][array_search($error_code, $error_array)]);
+                $deleted = true;
+            }
+
+            // clean up empty arrays
+            if (0 == count($this->_expected_errors[$key])) {
+                unset($this->_expected_errors[$key]);
+            }
+        }
+        return $deleted;
+    }
+
+    // }}}
+    // {{{ delExpect()
+
+    /**
+     * This method deletes all occurences of the specified element from
+     * the expected error codes stack.
+     *
+     * @param  mixed $error_code error code that should be deleted
+     * @return mixed list of error codes that were deleted or error
+     * @access public
+     * @since PHP 4.3.0
+     */
+    function delExpect($error_code)
+    {
+        $deleted = false;
+
+        if ((is_array($error_code) && (0 != count($error_code)))) {
+            // $error_code is a non-empty array here;
+            // we walk through it trying to unset all
+            // values
+            foreach($error_code as $key => $error) {
+                if ($this->_checkDelExpect($error)) {
+                    $deleted =  true;
+                } else {
+                    $deleted = false;
+                }
+            }
+            return $deleted ? true : PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
+        } elseif (!empty($error_code)) {
+            // $error_code comes alone, trying to unset it
+            if ($this->_checkDelExpect($error_code)) {
+                return true;
+            } else {
+                return PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
+            }
+        } else {
+            // $error_code is empty
+            return PEAR::raiseError("The expected error you submitted is empty"); // IMPROVE ME
+        }
+    }
+
+    // }}}
+    // {{{ raiseError()
+
+    /**
+     * This method is a wrapper that returns an instance of the
+     * configured error class with this object's default error
+     * handling applied.  If the $mode and $options parameters are not
+     * specified, the object's defaults are used.
+     *
+     * @param mixed $message a text error message or a PEAR error object
+     *
+     * @param int $code      a numeric error code (it is up to your class
+     *                  to define these if you want to use codes)
+     *
+     * @param int $mode      One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT,
+     *                  PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE,
+     *                  PEAR_ERROR_CALLBACK, PEAR_ERROR_EXCEPTION.
+     *
+     * @param mixed $options If $mode is PEAR_ERROR_TRIGGER, this parameter
+     *                  specifies the PHP-internal error level (one of
+     *                  E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR).
+     *                  If $mode is PEAR_ERROR_CALLBACK, this
+     *                  parameter specifies the callback function or
+     *                  method.  In other error modes this parameter
+     *                  is ignored.
+     *
+     * @param string $userinfo If you need to pass along for example debug
+     *                  information, this parameter is meant for that.
+     *
+     * @param string $error_class The returned error object will be
+     *                  instantiated from this class, if specified.
+     *
+     * @param bool $skipmsg If true, raiseError will only pass error codes,
+     *                  the error message parameter will be dropped.
+     *
+     * @access public
+     * @return object   a PEAR error object
+     * @see PEAR::setErrorHandling
+     * @since PHP 4.0.5
+     */
+    function &raiseError($message = null,
+                         $code = null,
+                         $mode = null,
+                         $options = null,
+                         $userinfo = null,
+                         $error_class = null,
+                         $skipmsg = false)
+    {
+        // The error is yet a PEAR error object
+        if (is_object($message)) {
+            $code        = $message->getCode();
+            $userinfo    = $message->getUserInfo();
+            $error_class = $message->getType();
+            $message->error_message_prefix = '';
+            $message     = $message->getMessage();
+        }
+
+        if (isset($this) && isset($this->_expected_errors) && sizeof($this->_expected_errors) > 0 && sizeof($exp = end($this->_expected_errors))) {
+            if ($exp[0] == "*" ||
+                (is_int(reset($exp)) && in_array($code, $exp)) ||
+                (is_string(reset($exp)) && in_array($message, $exp))) {
+                $mode = PEAR_ERROR_RETURN;
+            }
+        }
+        // No mode given, try global ones
+        if ($mode === null) {
+            // Class error handler
+            if (isset($this) && isset($this->_default_error_mode)) {
+                $mode    = $this->_default_error_mode;
+                $options = $this->_default_error_options;
+            // Global error handler
+            } elseif (isset($GLOBALS['_PEAR_default_error_mode'])) {
+                $mode    = $GLOBALS['_PEAR_default_error_mode'];
+                $options = $GLOBALS['_PEAR_default_error_options'];
+            }
+        }
+
+        if ($error_class !== null) {
+            $ec = $error_class;
+        } elseif (isset($this) && isset($this->_error_class)) {
+            $ec = $this->_error_class;
+        } else {
+            $ec = 'PEAR_Error';
+        }
+        if (intval(PHP_VERSION) < 5) {
+            // little non-eval hack to fix bug #12147
+            include 'PEAR/FixPHP5PEARWarnings.php';
+            return $a;
+        }
+        if ($skipmsg) {
+            $a = new $ec($code, $mode, $options, $userinfo);
+        } else {
+            $a = new $ec($message, $code, $mode, $options, $userinfo);
+        }
+        return $a;
+    }
+
+    // }}}
+    // {{{ throwError()
+
+    /**
+     * Simpler form of raiseError with fewer options.  In most cases
+     * message, code and userinfo are enough.
+     *
+     * @param string $message
+     *
+     */
+    function &throwError($message = null,
+                         $code = null,
+                         $userinfo = null)
+    {
+        if (isset($this) && is_a($this, 'PEAR')) {
+            $a = &$this->raiseError($message, $code, null, null, $userinfo);
+            return $a;
+        } else {
+            $a = &PEAR::raiseError($message, $code, null, null, $userinfo);
+            return $a;
+        }
+    }
+
+    // }}}
+    function staticPushErrorHandling($mode, $options = null)
+    {
+        $stack = &$GLOBALS['_PEAR_error_handler_stack'];
+        $def_mode    = &$GLOBALS['_PEAR_default_error_mode'];
+        $def_options = &$GLOBALS['_PEAR_default_error_options'];
+        $stack[] = array($def_mode, $def_options);
+        switch ($mode) {
+            case PEAR_ERROR_EXCEPTION:
+            case PEAR_ERROR_RETURN:
+            case PEAR_ERROR_PRINT:
+            case PEAR_ERROR_TRIGGER:
+            case PEAR_ERROR_DIE:
+            case null:
+                $def_mode = $mode;
+                $def_options = $options;
+                break;
+
+            case PEAR_ERROR_CALLBACK:
+                $def_mode = $mode;
+                // class/object method callback
+                if (is_callable($options)) {
+                    $def_options = $options;
+                } else {
+                    trigger_error("invalid error callback", E_USER_WARNING);
+                }
+                break;
+
+            default:
+                trigger_error("invalid error mode", E_USER_WARNING);
+                break;
+        }
+        $stack[] = array($mode, $options);
+        return true;
+    }
+
+    function staticPopErrorHandling()
+    {
+        $stack = &$GLOBALS['_PEAR_error_handler_stack'];
+        $setmode     = &$GLOBALS['_PEAR_default_error_mode'];
+        $setoptions  = &$GLOBALS['_PEAR_default_error_options'];
+        array_pop($stack);
+        list($mode, $options) = $stack[sizeof($stack) - 1];
+        array_pop($stack);
+        switch ($mode) {
+            case PEAR_ERROR_EXCEPTION:
+            case PEAR_ERROR_RETURN:
+            case PEAR_ERROR_PRINT:
+            case PEAR_ERROR_TRIGGER:
+            case PEAR_ERROR_DIE:
+            case null:
+                $setmode = $mode;
+                $setoptions = $options;
+                break;
+
+            case PEAR_ERROR_CALLBACK:
+                $setmode = $mode;
+                // class/object method callback
+                if (is_callable($options)) {
+                    $setoptions = $options;
+                } else {
+                    trigger_error("invalid error callback", E_USER_WARNING);
+                }
+                break;
+
+            default:
+                trigger_error("invalid error mode", E_USER_WARNING);
+                break;
+        }
+        return true;
+    }
+
+    // {{{ pushErrorHandling()
+
+    /**
+     * Push a new error handler on top of the error handler options stack. With this
+     * you can easily override the actual error handler for some code and restore
+     * it later with popErrorHandling.
+     *
+     * @param mixed $mode (same as setErrorHandling)
+     * @param mixed $options (same as setErrorHandling)
+     *
+     * @return bool Always true
+     *
+     * @see PEAR::setErrorHandling
+     */
+    function pushErrorHandling($mode, $options = null)
+    {
+        $stack = &$GLOBALS['_PEAR_error_handler_stack'];
+        if (isset($this) && is_a($this, 'PEAR')) {
+            $def_mode    = &$this->_default_error_mode;
+            $def_options = &$this->_default_error_options;
+        } else {
+            $def_mode    = &$GLOBALS['_PEAR_default_error_mode'];
+            $def_options = &$GLOBALS['_PEAR_default_error_options'];
+        }
+        $stack[] = array($def_mode, $def_options);
+
+        if (isset($this) && is_a($this, 'PEAR')) {
+            $this->setErrorHandling($mode, $options);
+        } else {
+            PEAR::setErrorHandling($mode, $options);
+        }
+        $stack[] = array($mode, $options);
+        return true;
+    }
+
+    // }}}
+    // {{{ popErrorHandling()
+
+    /**
+    * Pop the last error handler used
+    *
+    * @return bool Always true
+    *
+    * @see PEAR::pushErrorHandling
+    */
+    function popErrorHandling()
+    {
+        $stack = &$GLOBALS['_PEAR_error_handler_stack'];
+        array_pop($stack);
+        list($mode, $options) = $stack[sizeof($stack) - 1];
+        array_pop($stack);
+        if (isset($this) && is_a($this, 'PEAR')) {
+            $this->setErrorHandling($mode, $options);
+        } else {
+            PEAR::setErrorHandling($mode, $options);
+        }
+        return true;
+    }
+
+    // }}}
+    // {{{ loadExtension()
+
+    /**
+    * OS independant PHP extension load. Remember to take care
+    * on the correct extension name for case sensitive OSes.
+    *
+    * @param string $ext The extension name
+    * @return bool Success or not on the dl() call
+    */
+    function loadExtension($ext)
+    {
+        if (!extension_loaded($ext)) {
+            // if either returns true dl() will produce a FATAL error, stop that
+            if ((ini_get('enable_dl') != 1) || (ini_get('safe_mode') == 1)) {
+                return false;
+            }
+            if (OS_WINDOWS) {
+                $suffix = '.dll';
+            } elseif (PHP_OS == 'HP-UX') {
+                $suffix = '.sl';
+            } elseif (PHP_OS == 'AIX') {
+                $suffix = '.a';
+            } elseif (PHP_OS == 'OSX') {
+                $suffix = '.bundle';
+            } else {
+                $suffix = '.so';
+            }
+            return @dl('php_'.$ext.$suffix) || @dl($ext.$suffix);
+        }
+        return true;
+    }
+
+    // }}}
+}
+
+// {{{ _PEAR_call_destructors()
+
+function _PEAR_call_destructors()
+{
+    global $_PEAR_destructor_object_list;
+    if (is_array($_PEAR_destructor_object_list) &&
+        sizeof($_PEAR_destructor_object_list))
+    {
+        reset($_PEAR_destructor_object_list);
+        if (PEAR::getStaticProperty('PEAR', 'destructlifo')) {
+            $_PEAR_destructor_object_list = array_reverse($_PEAR_destructor_object_list);
+        }
+        while (list($k, $objref) = each($_PEAR_destructor_object_list)) {
+            $classname = get_class($objref);
+            while ($classname) {
+                $destructor = "_$classname";
+                if (method_exists($objref, $destructor)) {
+                    $objref->$destructor();
+                    break;
+                } else {
+                    $classname = get_parent_class($classname);
+                }
+            }
+        }
+        // Empty the object list to ensure that destructors are
+        // not called more than once.
+        $_PEAR_destructor_object_list = array();
+    }
+
+    // Now call the shutdown functions
+    if (is_array($GLOBALS['_PEAR_shutdown_funcs']) AND !empty($GLOBALS['_PEAR_shutdown_funcs'])) {
+        foreach ($GLOBALS['_PEAR_shutdown_funcs'] as $value) {
+            call_user_func_array($value[0], $value[1]);
+        }
+    }
+}
+
+// }}}
+/**
+ * Standard PEAR error class for PHP 4
+ *
+ * This class is supserseded by {@link PEAR_Exception} in PHP 5
+ *
+ * @category   pear
+ * @package    PEAR
+ * @author     Stig Bakken <ssb@php.net>
+ * @author     Tomas V.V. Cox <cox@idecnet.com>
+ * @author     Gregory Beaver <cellog@php.net>
+ * @copyright  1997-2006 The PHP Group
+ * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
+ * @version    Release: 1.7.1
+ * @link       http://pear.php.net/manual/en/core.pear.pear-error.php
+ * @see        PEAR::raiseError(), PEAR::throwError()
+ * @since      Class available since PHP 4.0.2
+ */
+class PEAR_Error
+{
+    // {{{ properties
+
+    var $error_message_prefix = '';
+    var $mode                 = PEAR_ERROR_RETURN;
+    var $level                = E_USER_NOTICE;
+    var $code                 = -1;
+    var $message              = '';
+    var $userinfo             = '';
+    var $backtrace            = null;
+
+    // }}}
+    // {{{ constructor
+
+    /**
+     * PEAR_Error constructor
+     *
+     * @param string $message  message
+     *
+     * @param int $code     (optional) error code
+     *
+     * @param int $mode     (optional) error mode, one of: PEAR_ERROR_RETURN,
+     * PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER,
+     * PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION
+     *
+     * @param mixed $options   (optional) error level, _OR_ in the case of
+     * PEAR_ERROR_CALLBACK, the callback function or object/method
+     * tuple.
+     *
+     * @param string $userinfo (optional) additional user/debug info
+     *
+     * @access public
+     *
+     */
+    function PEAR_Error($message = 'unknown error', $code = null,
+                        $mode = null, $options = null, $userinfo = null)
+    {
+        if ($mode === null) {
+            $mode = PEAR_ERROR_RETURN;
+        }
+        $this->message   = $message;
+        $this->code      = $code;
+        $this->mode      = $mode;
+        $this->userinfo  = $userinfo;
+        if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) {
+            $this->backtrace = debug_backtrace();
+            if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) {
+                unset($this->backtrace[0]['object']);
+            }
+        }
+        if ($mode & PEAR_ERROR_CALLBACK) {
+            $this->level = E_USER_NOTICE;
+            $this->callback = $options;
+        } else {
+            if ($options === null) {
+                $options = E_USER_NOTICE;
+            }
+            $this->level = $options;
+            $this->callback = null;
+        }
+        if ($this->mode & PEAR_ERROR_PRINT) {
+            if (is_null($options) || is_int($options)) {
+                $format = "%s";
+            } else {
+                $format = $options;
+            }
+            printf($format, $this->getMessage());
+        }
+        if ($this->mode & PEAR_ERROR_TRIGGER) {
+            trigger_error($this->getMessage(), $this->level);
+        }
+        if ($this->mode & PEAR_ERROR_DIE) {
+            $msg = $this->getMessage();
+            if (is_null($options) || is_int($options)) {
+                $format = "%s";
+                if (substr($msg, -1) != "\n") {
+                    $msg .= "\n";
+                }
+            } else {
+                $format = $options;
+            }
+            die(sprintf($format, $msg));
+        }
+        if ($this->mode & PEAR_ERROR_CALLBACK) {
+            if (is_callable($this->callback)) {
+                call_user_func($this->callback, $this);
+            }
+        }
+        if ($this->mode & PEAR_ERROR_EXCEPTION) {
+            trigger_error("PEAR_ERROR_EXCEPTION is obsolete, use class PEAR_Exception for exceptions", E_USER_WARNING);
+            eval('$e = new Exception($this->message, $this->code);throw($e);');
+        }
+    }
+
+    // }}}
+    // {{{ getMode()
+
+    /**
+     * Get the error mode from an error object.
+     *
+     * @return int error mode
+     * @access public
+     */
+    function getMode() {
+        return $this->mode;
+    }
+
+    // }}}
+    // {{{ getCallback()
+
+    /**
+     * Get the callback function/method from an error object.
+     *
+     * @return mixed callback function or object/method array
+     * @access public
+     */
+    function getCallback() {
+        return $this->callback;
+    }
+
+    // }}}
+    // {{{ getMessage()
+
+
+    /**
+     * Get the error message from an error object.
+     *
+     * @return  string  full error message
+     * @access public
+     */
+    function getMessage()
+    {
+        return ($this->error_message_prefix . $this->message);
+    }
+
+
+    // }}}
+    // {{{ getCode()
+
+    /**
+     * Get error code from an error object
+     *
+     * @return int error code
+     * @access public
+     */
+     function getCode()
+     {
+        return $this->code;
+     }
+
+    // }}}
+    // {{{ getType()
+
+    /**
+     * Get the name of this error/exception.
+     *
+     * @return string error/exception name (type)
+     * @access public
+     */
+    function getType()
+    {
+        return get_class($this);
+    }
+
+    // }}}
+    // {{{ getUserInfo()
+
+    /**
+     * Get additional user-supplied information.
+     *
+     * @return string user-supplied information
+     * @access public
+     */
+    function getUserInfo()
+    {
+        return $this->userinfo;
+    }
+
+    // }}}
+    // {{{ getDebugInfo()
+
+    /**
+     * Get additional debug information supplied by the application.
+     *
+     * @return string debug information
+     * @access public
+     */
+    function getDebugInfo()
+    {
+        return $this->getUserInfo();
+    }
+
+    // }}}
+    // {{{ getBacktrace()
+
+    /**
+     * Get the call backtrace from where the error was generated.
+     * Supported with PHP 4.3.0 or newer.
+     *
+     * @param int $frame (optional) what frame to fetch
+     * @return array Backtrace, or NULL if not available.
+     * @access public
+     */
+    function getBacktrace($frame = null)
+    {
+        if (defined('PEAR_IGNORE_BACKTRACE')) {
+            return null;
+        }
+        if ($frame === null) {
+            return $this->backtrace;
+        }
+        return $this->backtrace[$frame];
+    }
+
+    // }}}
+    // {{{ addUserInfo()
+
+    function addUserInfo($info)
+    {
+        if (empty($this->userinfo)) {
+            $this->userinfo = $info;
+        } else {
+            $this->userinfo .= " ** $info";
+        }
+    }
+
+    // }}}
+    // {{{ toString()
+    function __toString()
+    {
+        return $this->getMessage();
+    }
+    // }}}
+    // {{{ toString()
+
+    /**
+     * Make a string representation of this object.
+     *
+     * @return string a string with an object summary
+     * @access public
+     */
+    function toString() {
+        $modes = array();
+        $levels = array(E_USER_NOTICE  => 'notice',
+                        E_USER_WARNING => 'warning',
+                        E_USER_ERROR   => 'error');
+        if ($this->mode & PEAR_ERROR_CALLBACK) {
+            if (is_array($this->callback)) {
+                $callback = (is_object($this->callback[0]) ?
+                    strtolower(get_class($this->callback[0])) :
+                    $this->callback[0]) . '::' .
+                    $this->callback[1];
+            } else {
+                $callback = $this->callback;
+            }
+            return sprintf('[%s: message="%s" code=%d mode=callback '.
+                           'callback=%s prefix="%s" info="%s"]',
+                           strtolower(get_class($this)), $this->message, $this->code,
+                           $callback, $this->error_message_prefix,
+                           $this->userinfo);
+        }
+        if ($this->mode & PEAR_ERROR_PRINT) {
+            $modes[] = 'print';
+        }
+        if ($this->mode & PEAR_ERROR_TRIGGER) {
+            $modes[] = 'trigger';
+        }
+        if ($this->mode & PEAR_ERROR_DIE) {
+            $modes[] = 'die';
+        }
+        if ($this->mode & PEAR_ERROR_RETURN) {
+            $modes[] = 'return';
+        }
+        return sprintf('[%s: message="%s" code=%d mode=%s level=%s '.
+                       'prefix="%s" info="%s"]',
+                       strtolower(get_class($this)), $this->message, $this->code,
+                       implode("|", $modes), $levels[$this->level],
+                       $this->error_message_prefix,
+                       $this->userinfo);
+    }
+
+    // }}}
+}
+
+/*
+ * Local Variables:
+ * mode: php
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ */
+?>
Index: CKEditor/branches/features/aria/_dev/docs_build/docs_build.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/docs_build.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/docs_build.bat	(revision 4888)
@@ -0,0 +1,17 @@
+@ECHO OFF
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+:: Builds the documentation files.
+::
+
+ECHO Building the API document into the api_docs directory...
+
+del /F /Q "api_docs/*.*"
+
+java -jar ../_thirdparty/jsdoc-toolkit/jsrun.jar ../_thirdparty/jsdoc-toolkit/app/run.js -c=docs_build.conf
+
+:: php ../fixlineends/fixlineends.php --eolstripwhite --eofnewline --eofstripwhite --nohidden --nosystem api_docs/
+
+ECHO Finished!
Index: CKEditor/branches/features/aria/_dev/docs_build/docs_build.conf
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/docs_build.conf	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/docs_build.conf	(revision 4888)
@@ -0,0 +1,37 @@
+﻿/*
+	This is an example of one way you could set up a configuration file to more
+	conveniently define some commandline options. You might like to do this if
+	you frequently reuse the same options. Note that you don't need to define
+	every option in this file, you can combine a configuration file with
+	additional options on the commandline if your wish.
+
+	You would include this configuration file by running JsDoc Toolkit like so:
+	java -jar jsrun.jar app/run.js -c=conf/sample.conf
+
+*/
+
+{
+	// Source files to parse.
+	_:
+	[
+		'../../_source/core/',
+		'../../_source/plugins/',
+		'../../_source/skins/kama/skin.js',
+		'../../_source/lang/en.js'
+	],
+
+	// Document all functions, even uncommented ones.
+	a: true,
+
+	// Recursively, up to 100 directories depth.
+	r: 100,
+
+	// use this directory as the output directory
+	d: 'api_docs',
+
+	// Template.
+	t: 'template',
+
+	// Verbose mode.
+	v: true
+}
Index: CKEditor/branches/features/aria/_dev/docs_build/template/allclasses.tmpl
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/allclasses.tmpl	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/allclasses.tmpl	(revision 4888)
@@ -0,0 +1,26 @@
+<div align="center">
+	{+new Link().toFile("index.html").withText("Code Index")+}
+	| {+new Link().toFile("files.html").withText("File Index")+}
+</div>
+<hr />
+<h2>Namespaces</h2>
+<ul class="classList">
+	<for each="thisClass" in="data">
+		<if test="thisClass.isNamespace && thisClass.alias != '_global_'">
+			<li>
+				{+ new Link().toClass(thisClass.alias) +}
+			</li>
+		</if>
+	</for>
+</ul>
+<h2>Classes</h2>
+<ul class="classList">
+	<for each="thisClass" in="data">
+		<if test="!thisClass.isNamespace">
+			<li>
+				{+ new Link().toClass(thisClass.alias) +}
+			</li>
+		</if>
+	</for>
+</ul>
+<hr />
Index: CKEditor/branches/features/aria/_dev/docs_build/template/allfiles.tmpl
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/allfiles.tmpl	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/allfiles.tmpl	(revision 4888)
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}"" />
+		{! Link.base = ""; /* all generated links will be relative to this */ !}
+		<title>File Index - CKEditor 3.0 JavaScript API Documentation</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		{+include("static/default.css")+}
+		</style>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div id="index">
+			{+publish.classesIndex+}
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">File Index</h1>
+			
+			<for each="item" in="data">
+			<div>
+				<h2>{+new Link().toSrc(item.alias).withText(item.name)+}</h2>
+				<if test="item.desc">{+resolveLinks(summarize(item.desc))+}</if>
+				<dl>
+					<if test="item.author">
+						<dt class="heading">Author:</dt>
+						<dd>{+item.author+}</dd>
+					</if>
+					<if test="item.version">
+						<dt class="heading">Version:</dt>
+							<dd>{+item.version+}</dd>
+					</if>
+					{! var locations = item.comment.getTag('location').map(function($){return $.toString().replace(/(^\$ ?| ?\$$)/g, '').replace(/^HeadURL: https:/g, 'http:');}) !}
+					<if test="locations.length">
+						<dt class="heading">Location:</dt>
+							<for each="location" in="locations">
+							<dd><a href="{+location+}">{+location+}</a></dd>
+							</for>
+					</if>
+				</dl>
+			</div>
+			<hr />
+			</for>
+			
+		</div>
+		{+include("static/footer.html")+}
+	</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/class.tmpl
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/class.tmpl	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/class.tmpl	(revision 4888)
@@ -0,0 +1,536 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		{! Link.base = "../"; /* all generated links will be relative to this */ !}
+		<title>{+data.alias+} - CKEditor 3.0 JavaScript API Documentation</title>
+
+		<style type="text/css">
+			{+include("static/default.css")+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		{+include("static/header.html")+}
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			{+publish.classesIndex+}
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				{!
+					var classType = "";
+					
+					if (data.isBuiltin()) {
+						classType += "Built-In ";
+					}
+					
+					if (data.isNamespace) {
+						if (data.is('FUNCTION')) {
+							classType += "Function ";
+						}
+						classType += "Namespace ";
+					}
+					else {
+						classType += "Class ";
+					}
+				!}
+				{+classType+}{+data.alias+}
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				<if test="data.augments.length"><br />Extends
+					{+
+						data.augments
+						.sort()
+						.map(
+							function($) { return new Link().toSymbol($); }
+						)
+						.join(", ")
+					+}.<br />
+				</if>
+			
+				{+resolveLinks(data.classDesc)+}
+				
+				<if test="!data.isBuiltin()">{# isn't defined in any file #}
+					<br /><i>Defined in: </i> {+ ckeditor_FileLink( data.srcFile ) +}.
+				</if>
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
+				<caption>{+classType+}Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">{!
+							if (data.isPrivate) output += "&lt;private&gt; ";
+							if (data.isInner) output += "&lt;inner&gt; ";
+						!}&nbsp;</td>
+						<td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
+							<div class="fixedFont">
+								<b>{+ new Link().toSymbol(data.alias).inner('constructor')+}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+							</div>
+							<div class="description">{+resolveLinks(summarize(data.desc))+}</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			</if>
+
+<!-- ============================== properties summary ===================== -->
+			<if test="data.properties.length">
+
+				{! var ownConstants = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace && $.isConstant}).sort( ckeditor_sortByType ); !}
+				<if test="ownConstants.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the constants documented in the class {+data.alias+}.">
+					<caption>Constants Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Constant Attributes</th>
+							<th scope="col">Constant Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownConstants">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+
+				{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace && !$.isConstant}).sort( ckeditor_sortByType ); !}
+				<if test="ownProperties.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
+					<caption>Field Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Field Attributes</th>
+							<th scope="col">Field Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownProperties">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+								if (member.isConstant) output += "&lt;constant&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+				
+				<if test="data.inheritsFrom.length">
+				<dl class="inheritsList">
+				{!
+					var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
+					
+					var contributers = [];
+					borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+					for (var i = 0, l = contributers.length; i < l; i++) {
+						output +=
+							"<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+							+
+							"<dd>" +
+							borrowedMembers
+							.filter(
+								function($) { return $.memberOf == contributers[i] }
+							)
+							.sort(makeSortby("name"))
+							.map(
+								function($) { return new Link().toSymbol($.alias).withText($.name) }
+							)
+							.join(", ")
+							+
+							"</dd>";
+					}
+				!}
+				</dl>
+				</if>
+			</if>
+
+<!-- ============================== methods summary ======================== -->
+			<if test="data.methods.length">
+				{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort( ckeditor_sortByType ); !}
+				<if test="ownMethods.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownMethods">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>{+makeSignature(member.params)+}
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+				
+				<if test="data.inheritsFrom.length">
+				<dl class="inheritsList">
+				{!
+					var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
+					var contributers = [];
+					borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+					for (var i = 0, l = contributers.length; i < l; i++) {
+						output +=
+							"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+							+
+							"<dd>" +
+							borrowedMembers
+							.filter(
+								function($) { return $.memberOf == contributers[i] }
+							)
+							.sort(makeSortby("name"))
+							.map(
+								function($) { return new Link().toSymbol($.alias).withText($.name) }
+							)
+							.join(", ")
+							+
+							"</dd>";
+					}
+				
+				!}
+				</dl>
+				</if>
+			</if>
+
+<!-- ============================== constructor details ==================== -->		
+			<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					{+classType+}Detail
+				</div>
+				
+				<div class="fixedFont" style="float:left">{!
+					if (data.isPrivate) output += "&lt;private&gt; ";
+					if (data.isInner) output += "&lt;inner&gt; ";
+				!}
+						<b>{+ data.alias +}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+				</div>
+
+				<div style="float:right">
+					<span class="heading">Since:</span>
+						<if test="data.since">
+							{+ data.since +}
+						<else />
+							3.0
+						</if>
+				</div>
+				<div style="clear:both"></div>
+				
+				<div class="description">
+					{+resolveLinks(data.desc)+}
+					<if test="data.author"><br /><i>Author: </i>{+data.author+}.</if>
+				</div>
+				
+				<if test="data.example.length">
+				<for each="example" in="data.example">
+					<if test="example.desc">
+						<pre class="code">{+example+}</pre>
+					</if>
+				</for>
+				<else />
+					<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
+				</if>
+				
+				
+					<if test="data.params.length">
+						<dl class="detailList">
+						<dt class="heading">Parameters:</dt>
+						<for each="item" in="data.params">
+							<dt>
+								<span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> <b>{+item.name+}</b>
+								<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+							</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.deprecated">
+						<dl class="detailList">
+						<dt class="heading">Deprecated:</dt>
+						<dt>
+							{+resolveLinks(data.deprecated)+}
+						</dt>
+						</dl>
+					</if>
+					<if test="data.exceptions.length">
+						<dl class="detailList">
+						<dt class="heading">Throws:</dt>
+						<for each="item" in="data.exceptions">
+							<dt>
+								<span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> <b>{+item.name+}</b>
+							</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.returns.length">
+						<dl class="detailList">
+						<dt class="heading">Returns:</dt>
+						<for each="item" in="data.returns">
+								<dd><span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> {+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.requires.length">
+						<dl class="detailList">
+						<dt class="heading">Requires:</dt>
+						<for each="item" in="data.requires">
+							<dd>{+ resolveLinks(item) +}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.see.length">
+						<dl class="detailList">
+						<dt class="heading">See:</dt>
+						<for each="item" in="data.see">
+							<dd>{+ new Link().toSymbol(item) +}</dd>
+						</for>
+						</dl>
+					</if>
+
+			</div>
+			</if>
+
+<!-- ============================== field details ========================== -->		
+			<if test="defined(ownProperties) && ownProperties.length">
+				<div class="sectionTitle">
+					Field Detail
+				</div>
+				<for each="member" in="ownProperties">
+					<a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+					<div class="fixedFont" style="float:left">{!
+						if (member.isPrivate) output += "&lt;private&gt; ";
+						if (member.isInner) output += "&lt;inner&gt; ";
+						if (member.isStatic) output += "&lt;static&gt; ";
+						if (member.isConstant) output += "&lt;constant&gt; ";
+					!}
+					
+					<span class="light">{{+ new Link().toSymbol( member.type || 'Undefined') +}}</span>
+					<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>
+					
+					</div>
+					<div style="float:right">
+						<span class="heading">Since:</span>
+							<if test="member.since">
+								{+ member.since +}
+							<else />
+								3.0
+							</if>
+					</div>
+					<div style="clear:both"></div>
+					<div class="description">
+						{+resolveLinks(member.desc)+}
+						<if test="member.srcFile != data.srcFile">
+							<br />
+							<i>Defined in: </i> {+ ckeditor_FileLink( member.srcFile ) +}.
+						</if>
+						<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+					</div>
+					
+					<if test="member.example.length">
+					<for each="example" in="member.example">
+						<if test="example.desc">
+							<pre class="code">{+example+}</pre>
+						</if>
+					</for>
+					<else />
+						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
+					</if>
+
+						<if test="member.deprecated">
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								{+ member.deprecated +}
+							</dt>
+							</dl>
+						</if>
+						<if test="member.see.length">
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							<for each="item" in="member.see">
+							<dd>{+ new Link().toSymbol(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.defaultValue">
+							<dl class="detailList">
+							<dt class="heading">Default Value:</dt>
+							<dd>
+								{+resolveLinks(member.defaultValue)+}
+							</dd>
+							</dl>
+						</if>
+
+					<if test="!$member_last"><hr /></if>
+				</for>
+			</if>
+
+<!-- ============================== method details ========================= -->		
+			<if test="defined(ownMethods) && ownMethods.length">
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				<for each="member" in="ownMethods">
+					<a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+					<div class="fixedFont" style="float:left">{!
+						if (member.isPrivate) output += "&lt;private&gt; ";
+						if (member.isInner) output += "&lt;inner&gt; ";
+						if (member.isStatic) output += "&lt;static&gt; ";
+					!}
+					
+					<span class="light">{{+ new Link().toSymbol( member.type || 'Undefined') +}}</span>
+					<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>{+makeSignature(member.params)+}
+					
+					</div>
+					<div style="float:right">
+						<span class="heading">Since:</span>
+							<if test="member.since">
+								{+ member.since +}
+							<else />
+								3.0
+							</if>
+					</div>
+					<div style="clear:both"></div>
+					<div class="description">
+						{+resolveLinks(member.desc)+}
+						<if test="member.srcFile != data.srcFile">
+							<br />
+							<i>Defined in: </i> {+ ckeditor_FileLink( member.srcFile ) +}.
+						</if>
+						<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+					</div>
+					
+					<if test="member.example.length">
+					<for each="example" in="member.example">
+						<if test="example.desc">
+							<pre class="code">{+example+}</pre>
+						</if>
+					</for>
+					<else />
+						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
+					</if>
+					
+						<if test="member.params.length">
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							<for each="item" in="member.params">
+								<dt>
+									<span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> <b>{+item.name+}</b>
+									<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+								</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.deprecated">
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								{+member.deprecated+}
+							</dt>
+							</dl>
+						</if>
+						<if test="member.exceptions.length">
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							<for each="item" in="member.exceptions">
+								<dt>
+									<span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> <b>{+item.name+}</b>
+								</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.returns.length">
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							<for each="item" in="member.returns">
+								<dd><span class="light fixedFont">{{+ new Link().toSymbol(item.type || 'Undefined') +}}</span> {+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.requires.length">
+							<dl class="detailList">
+							<dt class="heading">Requires:</dt>
+							<for each="item" in="member.requires">
+								<dd>{+ resolveLinks(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.see.length">
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							<for each="item" in="member.see">
+								<dd>{+ new Link().toSymbol(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+
+					<if test="!$member_last"><hr /></if>
+				</for>
+			</if>
+			
+			<hr />
+		</div>
+		
+<!-- ============================== footer ================================= -->
+		{+include("static/footer.html")+}
+	</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/index.tmpl
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/index.tmpl	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/index.tmpl	(revision 4888)
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}"" />
+		
+		<title>CKEditor 3.0 JavaScript API Documentation</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		{+include("static/default.css")+}
+		</style>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div id="index">
+			{+publish.classesIndex+}
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">Namespace Index</h1>
+			
+			<for each="thisClass" in="data">
+				<if test="thisClass.isNamespace && thisClass.alias != '_global_'">
+					<div>
+						<h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
+						{+resolveLinks(summarize(thisClass.classDesc))+}
+					</div>
+					<hr />
+				</if>
+			</for>
+
+			<h1 class="classTitle">Class Index</h1>
+			
+			<for each="thisClass" in="data">
+				<if test="!thisClass.isNamespace">
+					<div>
+						<h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
+						{+resolveLinks(summarize(thisClass.classDesc))+}
+					</div>
+					<hr />
+				</if>
+			</for>
+			
+		</div>
+		{+include("static/footer.html")+}
+	</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/publish.js
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/publish.js	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/publish.js	(revision 4888)
@@ -0,0 +1,220 @@
+function publish(symbolSet) {
+	publish.conf = {  // trailing slash expected for dirs
+		ext: ".html",
+		outDir: JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
+		templatesDir: JSDOC.opt.t.replace( /\/+$/, '' ) + '/',
+		symbolsDir: "symbols/",
+		srcDir: "symbols/src/"
+	};
+	if (!IO.exists(publish.conf.templatesDir)) {
+		publish.conf.templatesDir = SYS.userDir.replace( /\\/g, '/' ).replace( /\/+$/ ) + '/' + JSDOC.opt.t.replace( /\/+$/, '' ) + '/';
+	}
+
+	if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
+		Link.prototype._makeSrcLink = function(srcFilePath) {
+			return "&lt;"+srcFilePath+"&gt;";
+		}
+	}
+
+	IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
+
+	// used to check the details of things being linked to
+	Link.symbolSet = symbolSet;
+
+	try {
+		var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
+		var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
+	}
+	catch(e) {
+		print(e.message);
+		quit();
+	}
+
+	// filters
+	function hasNoParent($) {return ($.memberOf == "")}
+	function isaFile($) {return ($.is("FILE"))}
+	function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
+
+	var symbols = symbolSet.toArray();
+
+	var files = JSDOC.opt.srcFiles;
+ 	for (var i = 0, l = files.length; i < l; i++) {
+ 		var file = files[i];
+ 		var srcDir = publish.conf.outDir + "symbols/src/";
+		makeSrcFile(file, srcDir);
+ 	}
+
+ 	var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
+
+	Link.base = "../";
+ 	publish.classesIndex = classesTemplate.process(classes); // kept in memory
+
+	for (var i = 0, l = classes.length; i < l; i++) {
+		var symbol = classes[i];
+		var output = "";
+		output = classTemplate.process(symbol);
+
+		IO.saveFile(publish.conf.outDir+"symbols/", symbol.alias+publish.conf.ext, output);
+	}
+
+	// regenrate the index with different relative links
+	Link.base = "";
+	publish.classesIndex = classesTemplate.process(classes);
+
+	try {
+		var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+
+	var classesIndex = classesindexTemplate.process(classes);
+	IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
+	classesindexTemplate = classesIndex = classes = null;
+
+	try {
+		var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+
+	var documentedFiles = symbols.filter(isaFile);
+	var allFiles = [];
+
+	for (var i = 0; i < files.length; i++) {
+		allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
+	}
+
+	for (var i = 0; i < documentedFiles.length; i++) {
+		var offset = files.indexOf(documentedFiles[i].alias);
+		allFiles[offset] = documentedFiles[i];
+	}
+
+	//Correct file names in files.html
+	for (var i = 0; i < allFiles.length; i++) {
+		allFiles[i].alias = allFiles[i].alias.replace( /\/\\/, "\\" ).replace( /.*_source(\/|\\)+/, '' );
+		allFiles[i].name = allFiles[i].alias;
+	}
+
+	allFiles = allFiles.sort( ckeditor_sortFiles );
+
+	var filesIndex = fileindexTemplate.process(allFiles);
+	IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
+	fileindexTemplate = filesIndex = files = null;
+}
+
+
+/** Just the first sentence. Should not break on dotted variable names. */
+function summarize(desc) {
+	if (typeof desc != "undefined")
+		return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
+}
+
+/** make a symbol sorter by some attribute */
+function makeSortby(attribute) {
+	return function(a, b) {
+		if (a[attribute] != undefined && b[attribute] != undefined) {
+			a = a[attribute].toLowerCase();
+			b = b[attribute].toLowerCase();
+			if (a < b) return -1;
+			if (a > b) return 1;
+			return 0;
+		}
+	}
+}
+
+function include(path) {
+	var path = publish.conf.templatesDir+path;
+	return IO.readFile(path);
+}
+
+function makeSrcFile(path, srcDir, name) {
+	if (JSDOC.opt.s) return;
+
+	if (!name) {
+		name = path.replace(/.*\.\.?[\\\/](.*)/g, "$1").replace( /\/\\/, "\\" ).replace(/[\\\/]/g, "_").replace(/.*?_source_/, "");
+		name = name.replace(/\:/g, "_");
+	}
+
+	var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
+
+	if (defined(JSDOC.PluginManager)) {
+		JSDOC.PluginManager.run("onPublishSrc", src);
+	}
+
+	if (src.hilited) {
+		IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
+	}
+}
+
+function makeSignature(params) {
+	if (!params) return "()";
+	var signature = "("
+	+
+	params.filter(
+		function($) {
+			return $.name.indexOf(".") == -1; // don't show config params in signature
+		}
+	).map(
+		function($) {
+			return $.name;
+		}
+	).join(", ")
+	+
+	")";
+	return signature;
+}
+
+/** Find symbol {@link ...} strings in text and turn into html links */
+function resolveLinks(str, from) {
+	str = str.replace(/\{@link ([^} ]+) ?\}/gi,
+		function(match, symbolName) {
+			return new Link().toSymbol(symbolName);
+		}
+	);
+
+	return str;
+}
+
+function ckeditor_sortFiles( a, b )
+{
+	a = a.name;
+	b = b.name;
+	return a < b ? -1 : a > b ? 1 : 0;
+}
+
+/** Sorts a symbol by its type */
+function ckeditor_sortByType( a, b )
+{
+	var weightA =
+		a.isConstant ? 1 :
+		a.isStatic ? 2 :
+		a.isPrivate ? 3 :
+		a.isInner ? 4 : 5;
+
+	var weightB =
+		b.isConstant ? 1 :
+		b.isStatic ? 2 :
+		b.isPrivate ? 3 :
+		b.isInner ? 4 : 5;
+
+	if ( weightA == weightB )
+	{
+		weightA = a.name.toLowerCase();
+		weightB = b.name.toLowerCase();
+	}
+
+	return weightA < weightB ? -1 : weightA > weightB ? 1 : 0;
+}
+
+function ckeditor_FileLink( filePath )
+{
+	var text = filePath;
+
+	if ( /_source/.test( text ) )
+	{
+		text = text.replace( /[\/\\]+/g, '/' );
+		text = text.replace( /.*_source(\/|\\)+/, '' );
+
+		return new Link().toSrc( text ).withText( text );
+	}
+
+	return new Link().toSrc( filePath );
+}
Index: CKEditor/branches/features/aria/_dev/docs_build/template/static/default.css
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/static/default.css	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/static/default.css	(revision 4888)
@@ -0,0 +1,160 @@
+/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px;
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
Index: CKEditor/branches/features/aria/_dev/docs_build/template/static/footer.html
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/static/footer.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/static/footer.html	(revision 4888)
@@ -0,0 +1,3 @@
+<div class="fineprint" style="clear:both">
+	Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+</div>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/static/header.html
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/static/header.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/static/header.html	(revision 4888)
@@ -0,0 +1,4 @@
+<div id="header">
+	<h1>CKEditor 3.0 JavaScript API Documentation</h1>
+	<hr />
+</div>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/static/index.html
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/static/index.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/static/index.html	(revision 4888)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<title>Generated Javascript Documentation</title>
+</head>
+<frameset cols="20%,80%">
+	<frame src="allclasses-frame.html" name="packageFrame" />
+	<frame src="splash.html" name="classFrame" />
+	<noframes>
+		<body>
+		<p>
+		This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+		</p>
+		</body>
+	</noframes>
+</frameset>
+</html>
Index: CKEditor/branches/features/aria/_dev/docs_build/template/symbol.tmpl
===================================================================
--- CKEditor/branches/features/aria/_dev/docs_build/template/symbol.tmpl	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/docs_build/template/symbol.tmpl	(revision 4888)
@@ -0,0 +1,35 @@
+<symbol alias="{+data.alias+}">
+	<name>{+data.name+}</name>
+	<memberOf>{+data.memberOf+}</memberOf>
+	<isStatic>{+data.isStatic+}</isStatic>
+	<isa>{+data.isa+}</isa>
+	<desc>{+data.desc+}</desc>
+	<classDesc>{+data.classDesc+}</classDesc>
+	
+	<methods><for each="method" in="data.methods">
+		<method>
+			<name>{+method.name+}</name>
+			<memberOf>{+method.memberOf+}</memberOf>
+			<isStatic>{+method.isStatic+}</isStatic>
+			<desc>{+method.desc+}</desc>
+			<params><for each="param" in="method.params">
+				<param>
+					<type>{+param.type+}</type>
+					<name>{+param.name+}</name>
+					<desc>{+param.desc+}</desc>
+					<defaultValue>{+param.defaultValue+}</defaultValue>
+				</param></for>
+			</params>
+		</method></for>
+	</methods>
+	
+	<properties><for each="property" in="data.properties">
+		<property>
+			<name>{+property.name+}</name>
+			<memberOf>{+property.memberOf+}</memberOf>
+			<isStatic>{+property.isStatic+}</isStatic>
+			<desc>{+property.desc+}</desc>
+			<type>{+property.type+}</type>
+		</property></for>
+	</properties>
+</symbol>
Index: CKEditor/branches/features/aria/_dev/dtd_test/dtd_test.html
===================================================================
--- CKEditor/branches/features/aria/_dev/dtd_test/dtd_test.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/dtd_test/dtd_test.html	(revision 4888)
@@ -0,0 +1,65 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>CKEDITOR.dtd Contents</title>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// Define the CKEDITOR namespace.
+var CKEDITOR = {};
+
+	//]]>
+	</script>
+	<script type="text/javascript" src="../../_source/core/tools.js"></script>
+	<script type="text/javascript" src="../../_source/core/dtd.js"></script>
+</head>
+<body>
+	<h1>
+		CKEDITOR.dtd Contents
+	</h1>
+	<table border="1">
+		<script type="text/javascript">
+		//<![CDATA[
+
+var entries = [];
+
+// Get all entries.
+for ( var p in CKEDITOR.dtd )
+{
+	var children = [];
+	for ( var c in CKEDITOR.dtd[p] )
+	{
+		children.push( c );
+	}
+	children.sort();
+	entries.push( [ p, children.join(', ') ] );
+}
+
+// Sort them alphabetically.
+entries.sort( function( a, b )
+	{
+		a = a[0];
+		b = b[0];
+
+		return a < b ? -1 :
+			a > b ? 1 : 0;
+	});
+
+// Writes the list.
+for ( var i = 0 ; i < entries.length ; i++ )
+{
+	document.write(
+		'<tr><td><b>' + entries[i][0] + '</b></td><td>' +
+		entries[i][1] +
+		'</td></tr>' );
+}
+
+		//]]>
+		</script>
+	</table>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.bat	(revision 4888)
@@ -0,0 +1,7 @@
+@ECHO OFF
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+
+php fixlineends.php --excluderegex=/(?:_dev[\\\/]_thirdparty)/ --eolstripwhite --eofnewline --eofstripwhite --nohidden --nosystem ../../
Index: CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.php
===================================================================
--- CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.php	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/fixlineends/fixlineends.php	(revision 4888)
@@ -0,0 +1,607 @@
+#!/usr/bin/php -q
+<?php
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+
+Script for automatic line-ending corrections.
+Requires PHP5 to run: http://www.gophp5.org/ ;)
+*/
+
+error_reporting(E_ALL);
+
+/**
+ * Carriage return
+ *
+ */
+define('CR', "\r");
+/**
+ * Line feed
+ *
+ */
+define('LF', "\n");
+/**
+ * Carriage return + Line feed
+ *
+ */
+define('CRLF', "\r\n");
+
+/**
+ * Array, where:
+ *  file extension is the key
+ *  value is the new line character
+ */
+$list = array();
+$list["readme"] = CRLF;
+$list["afp"] = CRLF;
+$list["afpa"] = CRLF;
+$list["ascx"] = CRLF;
+$list["asp"] = CRLF;
+$list["aspx"] = CRLF;
+$list["bat"] = CRLF;
+$list["cfc"] = CRLF;
+$list["cfm"] = CRLF;
+$list["cgi"] = LF;
+$list["code"] = CRLF;
+$list["command"] = CRLF;
+$list["conf"] = CRLF;
+$list["css"] = CRLF;
+$list["dtd"] = CRLF;
+$list["htaccess"] = CRLF;
+$list["htc"] = CRLF;
+$list["htm"] = CRLF;
+$list["html"] = CRLF;
+$list["js"] = CRLF;
+$list["jsp"] = CRLF;
+$list["lasso"] = CRLF;
+$list["pack"] = CRLF;
+$list["php"] = CRLF;
+$list["pl"] = LF;
+$list["py"] = CRLF;
+$list["sample"] = CRLF;
+$list["sh"] = LF;
+$list["txt"] = CRLF;
+$list["xml"] = CRLF;
+
+/**
+ * Do not modify anything below
+ * use command line arguments to modify script's behaviour
+ */
+
+/**
+ * Strip whitespace from the end of file
+ * @var boolean $eofstripwhite
+ */
+$eofstripwhite = false;
+/**
+ * Strip whitespace from the end of line
+ * @var boolean $eolstripwhite
+ */
+$eolstripwhite = false;
+/**
+ * Force new line character at the end of file
+ * @var boolean $eofnewline
+ */
+$eofnewline = false;
+/**
+ * Windows only
+ * If set to true, archive files/folders are skipped
+ * @var boolean $noarchive
+ */
+$noarchive = false;
+/**
+ * Windows only
+ * If set to true, hidden files/folders are skipped
+ * @var boolean $nohidden
+ */
+$nohidden = false;
+/**
+ * Windows only
+ * If set to true, system files/folders are skipped
+ * @var boolean $nosystem
+ */
+$nosystem = false;
+/**
+ * If set to true, dot files are skipped
+ * @var boolean $nodotfiles
+ */
+$nodotfiles = false;
+/**
+ * How deep to recurse into subdirectories
+ * -1 to disable
+ *  0 to fix only current directory
+ *
+ * @var integer $maxdepth
+ */
+$maxdepth = -1;
+/**
+ * If set, regex is used to exclude files
+ * Warning: preg_match format expected
+ * example:
+ * --excluderegex = "/(\.\w+)$/"
+ *
+ * @var string $excluderegex
+ */
+$excluderegex = "";
+
+/**
+ * Set to true if script is launched in Windows
+ * @var boolean $windows
+ */
+$windows = (strtolower(substr(PHP_OS, 0, 3)) == "win");
+
+/**
+ * Count saved bytes
+ * @var integer $saved_bytes
+ */
+$saved_bytes = 0;
+
+/**
+ * Filter file list using regular expression (negative result)
+ *
+ */
+class NegRegexFilter extends FilterIterator
+{
+    protected $regex;
+    public function __construct(Iterator $it, $regex)
+    {
+        parent::__construct($it);
+        $this->regex=$regex;
+    }
+    public function accept()
+    {
+        return !preg_match($this->regex, $this->current());
+    }
+}
+
+/**
+ * Filter file list using regular expression
+ *
+ */
+class RegexFilter extends FilterIterator
+{
+    protected $regex;
+    public function __construct(Iterator $it, $regex)
+    {
+        parent::__construct($it);
+        $this->regex=$regex;
+    }
+    public function accept()
+    {
+        return preg_match($this->regex, $this->current());
+    }
+}
+
+/**
+ * Filter file list by depth
+ *
+ */
+class DepthFilter extends FilterIterator
+{
+    protected $depth;
+    public function __construct(Iterator $it, $depth)
+    {
+        parent::__construct($it);
+        $this->depth=$depth;
+    }
+    public function accept()
+    {
+        return $this->getInnerIterator()->getDepth()<$this->depth;
+    }
+}
+
+/**
+ * Fix new line characters in given file
+ * Returns true if file was changed
+ *
+ * @param string $path relative or absolute path name to file
+ * @param string $nl name of a constant that holds new line character (CRLF|CR|LF)
+ * @return bool
+ */
+function fixFile($path, $nl) {
+
+    $contents = file($path);
+    $size = filesize($path);
+    if ($contents === false) {
+        echo "\rERROR: couldn't read the " . $path . " file". "\n";
+        return false;
+    }
+
+    $modified = false;
+    $new_content = "";
+    $contents_len = sizeof($contents);
+
+    if ($GLOBALS['eofstripwhite']) {
+        $lines_processed=0;
+        //iterate through lines, from the end of file
+        for ($i=$contents_len-1; $i>=0; $i--) {
+            $old_line = $contents[$i];
+            $contents[$i] = rtrim($contents[$i]);
+            if ($old_line !== $contents[$i]) {
+                if (!$GLOBALS['eofnewline'] || $old_line !== $contents[$i] . constant($nl) || $lines_processed>0) {
+                    $modified = true;
+                }
+            }
+
+            if (empty($contents[$i])) {
+                //we have an empty line at the end of file, just skip it
+                unset($contents[$contents_len--]);
+            }
+            else {
+                if ($GLOBALS['eofnewline']) {
+                    $contents[$i] .= constant($nl);
+                    if ($old_line !== $contents[$i]) {
+                        $modified = true;
+                    }
+                }
+                //we have found non-empty line, there is no need to go further
+                break;
+            }
+            $lines_processed++;
+        }
+    }
+
+    for ($i=0; $i<$contents_len; $i++) {
+        $is_last_line = ($i == $contents_len-1);
+        $line = $contents[$i];
+
+        switch ($nl)
+        {
+            case 'CRLF':
+                if (substr($line, -2) !== CRLF) {
+                    if (substr($line, -1) === LF || substr($line, -1) === CR) {
+                        $line = substr($line, 0, -1) . CRLF;
+                        $modified = true;
+                    }
+                    elseif(strlen($line)) {
+                        if (!$is_last_line) {
+                            echo "\rERROR: wrong line ending: " . $path . "@line " . ($i+1) . "\n";
+                            return false;
+                        }
+                        elseif(!$GLOBALS['eofstripwhite']) {
+                            $line = $line . CRLF;
+                            $modified = true;
+                        }
+                    }
+                }
+                break;
+
+            case 'CR':
+                if (substr($line, -1) !== CR) {
+                    if (substr($line, -1) === LF) {
+                        $line = substr($line, 0, -1) . CR;
+                        $modified = true;
+                    }
+                    elseif(strlen($line)) {
+                        if (!$is_last_line) {
+                            echo "\rERROR: wrong line ending: " . $path . "@line " . ($i+1) . "\n";
+                            return false;
+                        }
+                        elseif(!$GLOBALS['eofstripwhite']) {
+                            $line = $line . CR;
+                            $modified = true;
+                        }
+                    }
+                }
+                break;
+
+            case 'LF':
+                if(substr($line, -2) === CRLF) {
+                    $line = substr($line, 0, -2) . LF;
+                    $modified = true;
+                }
+                elseif (substr($line, -1) !== LF) {
+                    if (substr($line, -1) === CR) {
+                        $line = substr($line, 0, -1) . LF;
+                        $modified = true;
+                    }
+                    elseif(strlen($line)) {
+                        if (!$is_last_line) {
+                            echo "\rERROR: wrong line ending: " . $path . "@line " . ($i+1) . "\n";
+                            return false;
+                        }
+                        elseif(!$GLOBALS['eofstripwhite']) {
+                            $line = $line . LF;
+                            $modified = true;
+                        }
+                    }
+                }
+                break;
+        }
+        if ($GLOBALS['eolstripwhite']) {
+            $before = strlen($line);
+            $line = preg_replace("/(?:\x09|\x20)+((?:\r|\n)+)$/", "$1", $line);
+            if (strlen($line) != $before) {
+                $modified = true;
+            }
+        }
+        $new_content .= $line;
+    }
+
+    if ($modified) {
+        $fp = fopen($path, "wb");
+        if (!$fp) {
+            echo "\rERROR: couldn't open the " . $path . " file". "\n";
+            return false;
+        }
+        else {
+            if (flock($fp, LOCK_EX)) {
+                fwrite($fp, $new_content);
+                flock($fp, LOCK_UN);
+                echo "\rMODIFIED to " . $nl . ": " . $path ;
+                if ($GLOBALS['eolstripwhite']) {
+                    $saved = $size - strlen($new_content);
+                    $GLOBALS['saved_bytes'] += $saved;
+                    if ($saved>0) {
+                        echo " (saved " . $saved . "B)";
+                    }
+                    else if ($saved<0) {
+                        echo " (" . abs($saved) . "B added)";
+                    }
+                }
+                echo "\n";
+            } else {
+                echo "\rERROR: couldn't lock the " . $path . " file". "\n";
+                return false;
+            }
+            fclose($fp);
+        }
+    }
+
+    return $modified;
+}
+
+/**
+ * Fix ending lines in all files at given path
+ *
+ * @param string $path
+ */
+function fixPath($path)
+{
+    if (is_file($path)) {
+        $ext = strtolower(substr($path, strrpos($path, ".")));
+        foreach (array('CRLF', 'LF', 'CR') as $nl) {
+            //find out what's the correct line ending and fix file
+            //no need to process further
+            if (in_array($ext, $GLOBALS['extList'][$nl])) {
+                echo "Fixing single file:\n";
+                fixFile($path, $nl);
+                break;
+            }
+        }
+
+    }
+    else {
+        $dir = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path), true);
+
+        if ($GLOBALS['maxdepth'] > -1) {
+            $dir = new DepthFilter($dir, $GLOBALS['maxdepth']+1);
+        }
+
+        $dir = new NegRegexFilter($dir, "/\/(\.svn|CVS)/");
+
+        if ($GLOBALS['excluderegex']) {
+            $dir = new NegRegexFilter($dir, $GLOBALS['excluderegex']);
+        }
+
+        foreach (array('CRLF', 'LF', 'CR') as $nl) {
+
+            $filtered_dir = new RegexFilter($dir, "/\.(".implode("|", $GLOBALS['extList'][$nl]).")$/i");
+
+            $extensions = array();
+            $j = 0;
+            $progressbar = "|/-\\";
+            foreach ($filtered_dir as $file) {
+                if (!is_dir($file)) {
+                    $basename = basename($file);
+
+                    //skip dot files
+                    if ($GLOBALS['nodotfiles']) {
+                        if (strpos($basename, ".") === 0) {
+                            continue;
+                        }
+                    }
+
+                    if ($GLOBALS['windows']) {
+                        $attribs = trim(substr(shell_exec("attrib " . $file), 0, 5));
+                        //skip archive files
+                        if ($GLOBALS['noarchive'] && false !== strpos($attribs, "A")) {
+                            print "\r ".$progressbar[$j++ % 4]. " ". str_pad(basename($file), 35, " ", STR_PAD_RIGHT)." SKIPPED";
+                            continue;
+                        }
+                        //skip hidden files
+                        if ($GLOBALS['nohidden'] && false !== strpos($attribs, "H")) {
+                            print "\r ".$progressbar[$j++ % 4]. " ". str_pad(basename($file), 35, " ", STR_PAD_RIGHT)." SKIPPED";
+                            continue;
+                        }
+                        //skip system files
+                        if ($GLOBALS['nosystem'] && false !== strpos($attribs, "S")) {
+                            print "\r ".$progressbar[$j++ % 4]. " ". str_pad(basename($file), 35, " ", STR_PAD_RIGHT)." SKIPPED";
+                            continue;
+                        }
+                    }
+
+                    fixFile($file, $nl);
+                    print "\r ".$progressbar[$j++ % 4]. " ". str_pad(basename($file), 35, " ", STR_PAD_RIGHT);
+                }
+            }
+        }
+    }
+}
+
+function printHelp() {
+    $help = <<<HELP
+
+SYNOPSIS
+       php fixlineends.php [options] PATH [PATH2...]
+
+DESCRIPTION
+       Traverse recursively all the paths given and fix line endings
+       in each file.
+
+OPTIONS
+       --eofnewline
+            force new line character at the end of file
+
+       --eofstripwhite
+            strip whitespace from the end of file
+
+       --eolstripwhite
+            strip whitespace from the end of line (spaces, tabs)
+
+       --excluderegex=regex
+            use regex to exclude files, preg_match() format expected
+
+       --help
+            display this help and exit
+
+       --noarchive
+            if set to true, archive files are skipped (Windows only)
+
+       --nodotfiles
+            if set to true, dot files are skipped
+
+       --nohidden
+            if set to true, hidden files are skipped (Windows only)
+
+       --nosystem
+            if set to true, system files are skipped (Windows only)
+
+       --maxdepth
+            fix line ends only if file is N or fewer levels below
+            the command line argument; Use --max-depth=0 to omit
+            subdirectories
+
+EXAMPLES
+            php fixlineends.php --eofstripwhite --eofnewline --maxdepth=1
+                --nodotfiles --excluderegex=/\_private/ .
+
+       This command fixes line endings in current directory and in
+       subdirectories placed one level below. Dot files are skipped.
+       Paths that match "_private" are skipped. White chars are stripped
+       at the end of file. New line character is added to the end of file
+       (if required).
+
+
+HELP;
+    echo $help;
+}
+
+function translateCommandArgs($args) {
+    $paths = $args[1];
+
+    foreach ($paths as $path) {
+        if (!is_dir($path) && !is_file($path)) {
+            die("Entered path is invalid: " . $path);
+        }
+    }
+
+    foreach ($args[0] as $arg) {
+        if (!isset($arg[0])) {
+            continue;
+        }
+        switch ($arg[0]) {
+            case '--noarchive':
+                $GLOBALS['noarchive'] = true;
+                break;
+
+            case '--help':
+                printHelp();
+                die();
+                break;
+
+            case '--maxdepth':
+                $GLOBALS['maxdepth'] = intval($arg[1]);
+                break;
+
+            case '--nohidden':
+                $GLOBALS['nohidden'] = true;
+                break;
+
+            case '--nosystem':
+                $GLOBALS['nosystem'] = true;
+                break;
+
+            case '--nodotfiles':
+                $GLOBALS['nodotfiles'] = true;
+                break;
+
+            case '--excluderegex':
+                $GLOBALS['excluderegex'] = $arg[1];
+                break;
+
+            case '--eofnewline':
+                $GLOBALS['eofnewline'] = true;
+                break;
+
+            case '--eofstripwhite':
+                $GLOBALS['eofstripwhite'] = true;
+                break;
+
+            case '--eolstripwhite':
+                $GLOBALS['eolstripwhite'] = true;
+                break;
+        }
+    }
+
+    return $paths;
+}
+
+//$extList holds the associative array of extensions
+//key is the name of a constant that holds the line character
+$extList = array();
+$extList['CRLF'] = $extList['CR'] = $extList['LF'] = array();
+
+foreach ($list as $ext => $nl) {
+    $extRegex = preg_quote($ext);
+    switch ($nl) {
+        case CRLF:
+            $extList['CRLF'][] = $extRegex;
+            break;
+        case LF:
+            $extList['LF'][] = $extRegex;
+            break;
+        case CR:
+            $extList['CR'][] = $extRegex;
+            break;
+        default:
+            die("Unknown line ending");
+            break;
+    }
+}
+
+if ($_SERVER['argc']>1) {
+	include "../_thirdparty/console_getopt/Getopt.php";
+
+    if ($windows) {
+        $longoptions = array("eofstripwhite", "eofnewline", "eolstripwhite", "help", "noarchive", "nohidden", "nosystem", "nodotfiles", "maxdepth=", "excluderegex=");
+    }
+    else {
+        $longoptions = array("eofstripwhite", "eofnewline", "eolstripwhite", "help", "nodotfiles", "maxdepth=", "excluderegex=");
+    }
+
+    $con  = new Console_Getopt;
+    $args = $con->readPHPArgv();
+    $options = $con->getopt($args, null, $longoptions);
+
+    if (PEAR::isError($options)) {
+        die($options->getMessage());
+    }
+
+    $paths = translateCommandArgs($options);
+    foreach ($paths as $path) {
+        fixPath($path);
+    }
+}
+else {
+    printHelp();
+    die();
+}
+
+print "\rDone!".str_repeat(" ",40)."\n";
+if ($saved_bytes>0) {
+    echo "saved " . $saved_bytes . "B";
+}
+else if ($saved_bytes<0) {
+    echo abs($saved_bytes) . "B added";
+}
Index: CKEditor/branches/features/aria/_dev/jslint/lint.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/jslint/lint.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/jslint/lint.bat	(revision 4888)
@@ -0,0 +1,28 @@
+@ECHO OFF
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+:: Calls the JavaScript Lint (jsl) with the predefined configurations.
+:: If a file name is passed as a parameter it writes there the results,
+:: otherwise it simply outputs it.
+::
+
+IF "%1"=="" GOTO NoParam
+
+ECHO Generating %1...
+bin\jsl -conf lint.conf -nofilelisting -nologo > %1
+
+ECHO.
+ECHO Process completed.
+ECHO.
+
+GOTO End
+
+:NoParam
+
+"../_thirdparty/jsl/jsl.exe" -conf lint.conf -nofilelisting -nologo
+
+ECHO.
+
+:End
Index: CKEditor/branches/features/aria/_dev/jslint/lint.conf
===================================================================
--- CKEditor/branches/features/aria/_dev/jslint/lint.conf	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/jslint/lint.conf	(revision 4888)
@@ -0,0 +1,149 @@
+#
+# Configuration File for JavaScript Lint 0.3.0
+# Developed by Matthias Miller (http://www.JavaScriptLint.com)
+#
+# This configuration file can be used to lint a collection of scripts, or to enable
+# or disable warnings for scripts that are linted via the command line.
+#
+
+### Warnings
+# Enable or disable warnings based on requirements.
+# Use "+WarningName" to display or "-WarningName" to suppress.
+#
++no_return_value              # function {0} does not always return a value
++duplicate_formal             # duplicate formal argument {0}
++equal_as_assign              # test for equality (==) mistyped as assignment (=)?{0}
++var_hides_arg                # variable {0} hides argument
++redeclared_var               # redeclaration of {0} {1}
++anon_no_return_value         # anonymous function does not always return a value
++missing_semicolon            # missing semicolon
++meaningless_block            # meaningless block; curly braces have no impact
+-comma_separated_stmts        # multiple statements separated by commas (use semicolons?)
++unreachable_code             # unreachable code
++missing_break                # missing break statement
+-missing_break_for_last_case  # missing break statement for last case in switch
++comparison_type_conv         # comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
+-inc_dec_within_stmt          # increment (++) and decrement (--) operators used as part of greater statement
++useless_void                 # use of the void type may be unnecessary (void is always undefined)
++multiple_plus_minus          # unknown order of operations for successive plus (e.g. x+++y) or minus (e.g. x---y) signs
++use_of_label                 # use of label
+-block_without_braces         # block statement without curly braces
++leading_decimal_point        # leading decimal point may indicate a number or an object member
++trailing_decimal_point       # trailing decimal point may indicate a number or an object member
++octal_number                 # leading zeros make an octal number
++nested_comment               # nested comment
++misplaced_regex              # regular expressions should be preceded by a left parenthesis, assignment, colon, or comma
+-ambiguous_newline            # unexpected end of line; it is ambiguous whether these lines are part of the same statement
++empty_statement              # empty statement or extra semicolon
+-missing_option_explicit      # the "option explicit" control comment is missing
++partial_option_explicit      # the "option explicit" control comment, if used, must be in the first script tag
++dup_option_explicit          # duplicate "option explicit" control comment
++useless_assign               # useless assignment
++ambiguous_nested_stmt        # block statements containing block statements should use curly braces to resolve ambiguity
++ambiguous_else_stmt          # the else statement could be matched with one of multiple if statements (use curly braces to indicate intent)
+-missing_default_case         # missing default case in switch statement
++duplicate_case_in_switch     # duplicate case in switch statements
++default_not_at_end           # the default case is not at the end of the switch statement
+-legacy_cc_not_understood     # couldn't understand control comment using /*@keyword@*/ syntax
++jsl_cc_not_understood        # couldn't understand control comment using /*jsl:keyword*/ syntax
++useless_comparison           # useless comparison; comparing identical expressions
++with_statement               # with statement hides undeclared variables; use temporary variable instead
++trailing_comma_in_array      # extra comma is not recommended in array initializers
++assign_to_function_call      # assignment to a function call
++parseint_missing_radix       # parseInt missing radix parameter
+
+### Output format
+# Customize the format of the error message.
+#    __FILE__ indicates current file path
+#    __FILENAME__ indicates current file name
+#    __LINE__ indicates current line
+#    __ERROR__ indicates error message
+#
+# Visual Studio syntax (default):
++output-format __FILE__(__LINE__): __ERROR__
+# Alternative syntax:
+#+output-format __FILE__:__LINE__: __ERROR__
+
+
+### Context
+# Show the in-line position of the error.
+# Use "+context" to display or "-context" to suppress.
+#
++context
+
+
+### Semicolons
+# By default, assignments of an anonymous function to a variable or
+# property (such as a function prototype) must be followed by a semicolon.
+#
++lambda_assign_requires_semicolon
+
+
+### Control Comments
+# Both JavaScript Lint and the JScript interpreter confuse each other with the syntax for
+# the /*@keyword@*/ control comments and JScript conditional comments. (The latter is
+# enabled in JScript with @cc_on@). The /*jsl:keyword*/ syntax is preferred for this reason,
+# although legacy control comments are enabled by default for backward compatibility.
+#
++legacy_control_comments
+
+
+### JScript Function Extensions
+# JScript allows member functions to be defined like this:
+#     function MyObj() { /*constructor*/ }
+#     function MyObj.prototype.go() { /*member function*/ }
+#
+# It also allows events to be attached like this:
+#     function window::onload() { /*init page*/ }
+#
+# This is a Microsoft-only JavaScript extension. Enable this setting to allow them.
+#
+-jscript_function_extensions
+
+
+### Defining identifiers
+# By default, "option explicit" is enabled on a per-file basis.
+# To enable this for all files, use "+always_use_option_explicit"
++always_use_option_explicit
+
+# Define certain identifiers of which the lint is not aware.
+# (Use this in conjunction with the "undeclared identifier" warning.)
+#
+# Common uses for webpages might be:
++define window
++define document
++define location
++define navigator
++define setTimeout
++define clearTimeout
++define ActiveXObject
++define XMLHttpRequest
++define DOMParser
++define XMLSerializer
++define console
++define CKEDITOR
++define alert
++define confirm
++define frames
+
+### Interactive
+# Prompt for a keystroke before exiting.
+#+pauseatend
+
+
+### Files
+# Specify which files to lint
+# Use "+recurse" to enable recursion (disabled by default).
+# To add a set of files, use "+process FileName", "+process Folder\Path\*.js",
+# or "+process Folder\Path\*.htm".
+#
+#+process jsl-test.js
++recurse
+
++process ../../_source/*.js
++process ../../_source/*.html
++process ../../_samples/*.js
++process ../../_samples/*.html
++process ../../ckeditor_source.js
++process ../../ckeditor_basic_source.js
++process ../../config.js
Index: CKEditor/branches/features/aria/_dev/jslint/lint.sh
===================================================================
--- CKEditor/branches/features/aria/_dev/jslint/lint.sh	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/jslint/lint.sh	(revision 4888)
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+
+#
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+#
+# Calls the JavaScript Lint (jsl) with the predefined configurations.
+# If a file name is passed as a parameter it writes there the results,
+# otherwise it simply outputs it.
+#
+
+if [ -L $0 ] ; then
+    DIR=$(dirname $(readlink -f $0)) ;
+else
+    DIR=$(dirname $0) ;
+fi ;
+
+pushd $DIR
+if [ "$1" = "" ]
+then
+	../_thirdparty/jsl/jsl -conf lint.conf -nofilelisting -nologo
+else
+	echo Generating $1 ...
+	../_thirdparty/jsl/jsl -conf lint.conf -nofilelisting -nologo > $1
+	echo
+	echo Process completed.
+fi
+popd
Index: CKEditor/branches/features/aria/_dev/langtool/langtool.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/langtool/langtool.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/langtool/langtool.bat	(revision 4888)
@@ -0,0 +1,12 @@
+@ECHO OFF
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+:: Checks translation files in given directory.
+::
+
+CLS
+ECHO.
+
+java -jar langtool/langtool.jar ../../_source/lang
Index: CKEditor/branches/features/aria/_dev/langtool/langtool.sh
===================================================================
--- CKEditor/branches/features/aria/_dev/langtool/langtool.sh	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/langtool/langtool.sh	(revision 4888)
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+
+# Checks translation files in given directory.
+
+if [ -L $0 ] ; then
+    DIR=$(dirname $(readlink -f $0)) ;
+else
+    DIR=$(dirname $0) ;
+fi ;
+
+pushd $DIR
+java -jar langtool/langtool.jar ../../_source/lang
+popd
Index: CKEditor/branches/features/aria/_dev/packager/package.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/packager/package.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/packager/package.bat	(revision 4888)
@@ -0,0 +1,9 @@
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+
+@ECHO OFF
+CLS
+
+java -jar ckpackager/ckpackager.jar ../../ckeditor.pack -v
Index: CKEditor/branches/features/aria/_dev/packager/package.sh
===================================================================
--- CKEditor/branches/features/aria/_dev/packager/package.sh	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/packager/package.sh	(revision 4888)
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+
+if [ -L $0 ] ; then
+    DIR=$(dirname $(readlink -f $0)) ;
+else
+    DIR=$(dirname $0) ;
+fi ;
+
+pushd $DIR
+java -jar ckpackager/ckpackager.jar ../../ckeditor.pack
+popd
Index: CKEditor/branches/features/aria/_dev/packager/packagefilegen.html
===================================================================
--- CKEditor/branches/features/aria/_dev/packager/packagefilegen.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/packager/packagefilegen.html	(revision 4888)
@@ -0,0 +1,122 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Package File Generator - CKEditor</title>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// Firebug has been presented some bugs with console. It must be "initialized"
+// before the page load to work.
+// FIXME: Remove the following in the future, if Firebug gets fixed.
+if ( typeof console != 'undefined' )
+	console.log();
+
+function generate()
+{
+	document.getElementById( 'basic' ).contentWindow.generate();
+	document.getElementById( 'full' ).contentWindow.generate();
+
+	var CKEDITOR = document.getElementById( 'full' ).contentWindow.CKEDITOR;
+
+	var output = document.getElementById( 'output' );
+	output.value = document.getElementById( 'header' ).value + '\r\n\r\n';
+
+	var output2 = document.getElementById( 'output_ckpackager' );
+	output2.value = document.getElementById( 'header_ckpackager' ).value + '\r\n\r\n';
+
+	output.value += '\t<Constants removeDeclaration="false">\r\n';
+	output2.value +=
+		''		+	'constants :'	+ '\r\n' +
+		'\t'	+		'{'			+ '\r\n';
+
+	var hasConst = false;
+
+	for ( var prop in CKEDITOR )
+	{
+		var typeOfProp = typeof CKEDITOR[ prop ];
+		if ( /^[A-Z\d$_]+$/.test( prop ) && typeOfProp != 'object' && typeOfProp != 'function' && typeOfProp != 'undefined' )
+		{
+			if ( hasConst )
+				output2.value += ',\r\n';
+			else
+				hasConst = true;
+			output.value += '\t\t<Constant name="CKEDITOR.' + prop + '" value="' + CKEDITOR[ prop ] + '" />\r\n';
+			output2.value += '\t\t\'CKEDITOR.' + prop + '\' : ' + CKEDITOR[ prop ];
+		}
+	}
+
+	output2.value += '\r\n';
+
+	output.value += '\t</Constants>\r\n\r\n';
+	output2.value +=
+		'\t'	+		'},'		+ '\r\n\r\n';
+
+	output.value += document.getElementById( 'basic' ).contentDocument.getElementById( 'output' ).value + '\r\n';
+	output.value += document.getElementById( 'full' ).contentDocument.getElementById( 'output' ).value + '\r\n';
+
+	output.value += '</Package>\r\n';
+
+	output2.value +=
+		''		+	'packages :'	+ '\r\n' +
+		'\t'	+		'['			+ '\r\n';
+
+	output2.value += document.getElementById( 'basic' ).contentDocument.getElementById( 'output_ckpackager' ).value + '\r\n';
+	output2.value += document.getElementById( 'full' ).contentDocument.getElementById( 'output_ckpackager' ).value + '\r\n';
+
+	output2.value +=
+		'\t'	+		']'			+ '\r\n';
+
+	// Ignore the old FCKpackager stuff now. We should clean up everything later.
+	// output.style.display = '';
+	output2.style.display = '';
+}
+
+	//]]>
+	</script>
+</head>
+<body>
+	<form action="">
+		<p>
+			<input type="button" value="Generate" onclick="generate();" />
+		</p>
+		<p>
+			<textarea id="output" cols="80" rows="15" style="width: 100%; display: none"></textarea>
+		</p>
+		<p>
+			<textarea id="output_ckpackager" cols="80" rows="15" style="width: 100%; display: none"></textarea>
+		</p>
+		<iframe id="basic" src="packagefilegen_basic.html" style="position: absolute; left: -1000px">
+		</iframe>
+		<iframe id="full" src="packagefilegen_full.html" style="position: absolute; left: -1000px">
+		</iframe>
+		<textarea id="header" cols="80" rows="10" style="display: none">&lt;?xml version="1.0" encoding="utf-8" ?&gt;
+&lt;!--
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+--&gt;
+&lt;Package&gt;
+
+	&lt;Header&gt;&lt;![CDATA[/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+]]&gt;&lt;/Header&gt;</textarea>
+		<textarea id="header_ckpackager" cols="80" rows="10" style="display: none">/*
+ * CKPackager - Sample Package file
+ */
+
+header :
+	'/*'																			+ '\n' +
+	'Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
+	'For licensing, see LICENSE.html or http://ckeditor.com/license'				+ '\n' +
+	'*/'																			+ '\n' +
+	'\n',
+
+noCheck : false,</textarea>
+	</form>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/packager/packagefilegen_basic.html
===================================================================
--- CKEditor/branches/features/aria/_dev/packager/packagefilegen_basic.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/packager/packagefilegen_basic.html	(revision 4888)
@@ -0,0 +1,101 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Package File Generator - CKEditor</title>
+	<script type="text/javascript" src="../../ckeditor_basic_source.js"></script>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// Firebug has been presented some bugs with console. It must be "initialized"
+// before the page load to work.
+// FIXME: Remove the following in the future, if Firebug gets fixed.
+if ( typeof console != 'undefined' )
+	console.log();
+
+var downloaded = [];
+
+CKEDITOR.on( 'download', function( event )
+	{
+		downloaded.push( event.data );
+	});
+
+function generate()
+{
+	var output = document.getElementById( 'output' );
+	var output2 = document.getElementById( 'output_ckpackager' );
+
+	output.value = '\t<PackageFile path="ckeditor_basic.js">\r\n';
+	output2.value =
+		'\t\t'		+	'{'										+ '\r\n' +
+		'\t\t\t'	+		'output : \'ckeditor_basic.js\','	+ '\r\n' +
+		'\t\t\t'	+		'wrap : true,'						+ '\r\n' +
+		'\t\t\t'	+		'files :'							+ '\r\n' +
+		'\t\t\t\t'	+			'['								+ '\r\n';
+
+	var appendedFiles = {},
+		hasFile = false;
+	var appendFile = function( filePath )
+	{
+		if ( appendedFiles[ filePath ] )
+			return;
+
+		appendedFiles[ filePath ] = true;
+
+		if ( hasFile )
+			output2.value += ',\r\n';
+		else
+			hasFile = true;
+
+		output.value += '\t\t<File path="' + filePath + '" />\r\n';
+		output2.value += '\t\t\t\t\t\'' + filePath + '\'';
+	};
+
+	appendFile( '_source/core/ckeditor_base.js' );
+
+	for ( var i = 0 ; i < CKEDITOR.loader.loadedScripts.length ; i++ )
+	{
+		var path = CKEDITOR.loader.loadedScripts[i].replace( CKEDITOR.basePath, '' );
+		appendFile( '_source/' + path + '.js' );
+	}
+
+	for ( var i = 0 ; i < downloaded.length ; i++ )
+	{
+		var path = downloaded[i].replace( CKEDITOR.basePath, '' );
+
+		if ( path == 'config.js' )
+			continue;
+
+		appendFile( path );
+	}
+
+	output2.value += '\r\n';
+
+	output.value += '\t</PackageFile>\r\n';
+	output2.value +=
+		'\t\t\t\t'	+			']'								+ '\r\n' +
+		'\t\t'		+	'},'									+ '\r\n';
+
+	// Ignore the old FCKpackager stuff now. We should clean up everything later.
+	// output.style.display = '';
+	output2.style.display = '';
+}
+
+	//]]>
+	</script>
+</head>
+<body>
+	<p>
+		<input type="button" value="Generate" onclick="generate();" />
+	</p>
+	<p>
+		<textarea id="output" rows="10" cols="80" style="width: 100%; display: none"></textarea>
+	</p>
+	<p>
+		<textarea id="output_ckpackager" rows="10" cols="80" style="width: 100%; display: none"></textarea>
+	</p>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/packager/packagefilegen_full.html
===================================================================
--- CKEditor/branches/features/aria/_dev/packager/packagefilegen_full.html	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/packager/packagefilegen_full.html	(revision 4888)
@@ -0,0 +1,128 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Package File Generator - CKEditor</title>
+	<script type="text/javascript" src="../../ckeditor_source.js"></script>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// Firebug has been presented some bugs with console. It must be "initialized"
+// before the page load to work.
+// FIXME: Remove the following in the future, if Firebug gets fixed.
+if ( typeof console != 'undefined' )
+	console.log();
+
+var downloaded = [];
+
+CKEDITOR.on( 'download', function( event )
+	{
+		downloaded.push( event.data );
+	});
+
+function generate()
+{
+	var output = document.getElementById( 'output' );
+	var output2 = document.getElementById( 'output_ckpackager' );
+
+	output.value = '\t<PackageFile path="ckeditor.js">\r\n';
+	output2.value =
+		'\t\t'		+	'{'										+ '\r\n' +
+		'\t\t\t'	+		'output : \'ckeditor.js\','			+ '\r\n' +
+		'\t\t\t'	+		'wrap : true,'						+ '\r\n' +
+		'\t\t\t'	+		'files :'							+ '\r\n' +
+		'\t\t\t\t'	+			'['								+ '\r\n';
+
+	var appendedFiles = {},
+		hasFile = false;
+	var appendFile = function( filePath, commented )
+	{
+		if ( appendedFiles[ filePath ] )
+			return;
+
+		appendedFiles[ filePath ] = true;
+
+		if ( hasFile )
+			output2.value += ',\r\n';
+		else
+			hasFile = true;
+
+		if ( commented )
+		{
+			output.value += '<!--\t';
+			output2.value += '//';
+		}
+		else
+			output.value += '\t\t';
+
+		output.value += '<File path="' + filePath + '" />';
+		output2.value += '\t\t\t\t\t\'' + filePath + '\'';
+
+		if ( commented )
+			output.value += ' -->';
+
+		output.value += '\r\n';
+	};
+
+	appendFile( '_source/core/ckeditor_base.js' );
+
+	for ( var i = 0 ; i < CKEDITOR.loader.loadedScripts.length ; i++ )
+	{
+		var path = CKEDITOR.loader.loadedScripts[i].replace( CKEDITOR.basePath, '' );
+		appendFile( '_source/' + path + '.js' );
+	}
+
+	for ( var i = 0 ; i < downloaded.length ; i++ )
+	{
+		var path = downloaded[i].replace( CKEDITOR.basePath, '' );
+
+		if ( path == 'config.js' )
+			continue;
+
+		appendFile( path, /\/lang\/(?:)/.test( path ) );
+	}
+
+	output2.value += '\r\n';
+
+	output.value += '\t</PackageFile>\r\n';
+	output2.value +=
+		'\t\t\t\t'	+			']'								+ '\r\n' +
+		'\t\t'		+	'}'									+ '\r\n';
+
+	// Ignore the old FCKpackager stuff now. We should clean up everything later.
+	// output.style.display = '';
+	output2.style.display = '';
+}
+
+	//]]>
+	</script>
+</head>
+<body>
+	<form action="">
+		<p>
+			<label for="editor1">
+				Editor 1:</label><br />
+			<textarea name="editor1" rows="10" cols="80">&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">
+			//<![CDATA[
+
+			  CKEDITOR.replace( 'editor1' );
+
+			//]]>
+			</script>
+		</p>
+		<p>
+			<input type="button" value="Generate" onclick="generate();" />
+		</p>
+		<p>
+			<textarea id="output" rows="10" cols="80" style="width: 100%; display: none"></textarea>
+		</p>
+		<p>
+			<textarea id="output_ckpackager" rows="10" cols="80" style="width: 100%; display: none"></textarea>
+		</p>
+	</form>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_dev/releaser/ckreleaser.release
===================================================================
--- CKEditor/branches/features/aria/_dev/releaser/ckreleaser.release	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/releaser/ckreleaser.release	(revision 4888)
@@ -0,0 +1,64 @@
+header :
+	'/*'																			+ '\n' +
+	'Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
+	'For licensing, see LICENSE.html or http://ckeditor.com/license'				+ '\n' +
+	'*/'																			+ '\n' +
+	'\n',
+
+fixLineEnds : true,
+
+ignore :
+[
+	'_dev',
+	'.svn',
+	'.settings',
+	'.project'
+],
+
+copy :
+[
+	{
+		source : '_source/lang',
+		target : 'lang',
+		minify : true
+	},
+
+	{
+		source : '_source/adapters',
+		target : 'adapters',
+		minify : true
+	},
+
+	{
+		source : '_source/plugins',
+		target : 'plugins',
+		minify : true,
+		ignore :
+		{
+			sourcePackage : 'ckeditor.pack',
+			files : 'packages[1].files'
+		}
+	},
+
+	{
+		source : '_source/themes',
+		target : 'themes',
+		minify : true
+	}
+],
+
+rename :
+[
+],
+
+packages :
+[
+	'ckeditor.pack'
+],
+
+skins :
+{
+	source : '_source/skins',
+	target : 'skins',
+	minify : true
+}
Index: CKEditor/branches/features/aria/_dev/releaser/langtool.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/releaser/langtool.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/releaser/langtool.bat	(revision 4888)
@@ -0,0 +1,6 @@
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+
+java -jar ../langtool/langtool/langtool.jar release/release/_source/lang
Index: CKEditor/branches/features/aria/_dev/releaser/langtool.sh
===================================================================
--- CKEditor/branches/features/aria/_dev/releaser/langtool.sh	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/releaser/langtool.sh	(revision 4888)
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+
+if [ -L $0 ] ; then
+    DIR=$(dirname $(readlink -f $0)) ;
+else
+    DIR=$(dirname $0) ;
+fi ;
+
+# pushd $DIR
+java -jar ../langtool/langtool/langtool.jar release/release/_source/lang
+# popd
Index: CKEditor/branches/features/aria/_dev/releaser/release.bat
===================================================================
--- CKEditor/branches/features/aria/_dev/releaser/release.bat	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/releaser/release.bat	(revision 4888)
@@ -0,0 +1,13 @@
+::
+:: Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+:: For licensing, see LICENSE.html or http://ckeditor.com/license
+::
+
+@ECHO OFF
+
+CLS
+ECHO.
+
+:: rmdir /S /Q release
+
+java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.2 SVN" ckeditor_3.2_svn --run-before-release=langtool.bat
Index: CKEditor/branches/features/aria/_dev/releaser/release.sh
===================================================================
--- CKEditor/branches/features/aria/_dev/releaser/release.sh	(revision 4888)
+++ CKEditor/branches/features/aria/_dev/releaser/release.sh	(revision 4888)
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+
+if [ -L $0 ] ; then
+    DIR=$(dirname $(readlink -f $0)) ;
+else
+    DIR=$(dirname $0) ;
+fi ;
+
+LANGTOOL="$(cd $(dirname "$0"); pwd)/langtool.sh"
+
+pushd $DIR
+java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "3.2 SVN" ckeditor_3.2_svn --run-before-release=$LANGTOOL
+popd
Index: CKEditor/branches/features/aria/_samples/ajax.html
===================================================================
--- CKEditor/branches/features/aria/_samples/ajax.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/ajax.html	(revision 4888)
@@ -0,0 +1,102 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Ajax - CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<script type="text/javascript">
+	//<![CDATA[
+
+var editor;
+
+function createEditor()
+{
+	if ( editor )
+		return;
+
+	var html = document.getElementById( 'editorcontents' ).innerHTML;
+
+	// Create a new editor inside the <div id="editor">
+	editor = CKEDITOR.appendTo( 'editor' );
+	editor.setData( html );
+
+	// This sample may break here if the ckeditor_basic.js is used. In such case, the following code should be used instead:
+	/*
+	if ( editor.setData )
+	editor.setData( html );
+	else
+	CKEDITOR.on( 'loaded', function()
+	{
+	editor.setData( html );
+	});
+	*/
+}
+
+function removeEditor()
+{
+	if ( !editor )
+		return;
+
+	// Retrieve the editor contents. In an Ajax application, this data would be
+	// sent to the server or used in any other way.
+	document.getElementById( 'editorcontents' ).innerHTML = editor.getData();
+	document.getElementById( 'contents' ).style.display = '';
+
+	// Destroy the editor.
+	editor.destroy();
+	editor = null;
+}
+
+	//]]>
+	</script>
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<p>
+		<input onclick="createEditor();" type="button" value="Create Editor" />
+		<input onclick="removeEditor();" type="button" value="Remove Editor" />
+	</p>
+	<!-- This div will hold the editor. -->
+	<div id="editor">
+	</div>
+	<div id="contents" style="display: none">
+		<p>
+			Edited Contents:</p>
+		<!-- This div will be used to display the editor contents. -->
+		<div id="editorcontents">
+		</div>
+	</div>
+	<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>
Index: CKEditor/branches/features/aria/_samples/api.html
===================================================================
--- CKEditor/branches/features/aria/_samples/api.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/api.html	(revision 4888)
@@ -0,0 +1,156 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<script type="text/javascript">
+	//<![CDATA[
+
+// 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>';
+
+	// Show this sample buttons.
+	document.getElementById( 'eButtons' ).style.visibility = '';
+});
+
+function InsertHTML()
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+	var value = document.getElementById( 'plainArea' ).value;
+
+	// Check the active editing mode.
+	if ( oEditor.mode == 'wysiwyg' )
+	{
+		// Insert the desired HTML.
+		oEditor.insertHtml( value );
+	}
+	else
+		alert( 'You must be on WYSIWYG mode!' );
+}
+
+function SetContents()
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+	var value = document.getElementById( 'plainArea' ).value;
+
+	// Set the editor contents (replace the actual one).
+	oEditor.setData( value );
+}
+
+function GetContents()
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+
+	// Get the editor contents
+	alert( oEditor.getData() );
+}
+
+function ExecuteCommand(commandName)
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+
+	// Check the active editing mode.
+	if ( oEditor.mode == 'wysiwyg' )
+	{
+		// Execute the command.
+		oEditor.execCommand( commandName );
+	}
+	else
+		alert( 'You must be on WYSIWYG mode!' );
+}
+
+function CheckDirty()
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+	alert( oEditor.checkDirty() );
+}
+
+function ResetDirty()
+{
+	// Get the editor instance that we want to interact with.
+	var oEditor = CKEDITOR.instances.editor1;
+	oEditor.resetDirty();
+	alert( 'The "IsDirty" status has been reset' );
+}
+
+	//]]>
+	</script>
+
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</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>
+
+		<script type="text/javascript">
+		//<![CDATA[
+			// Replace the <textarea id="editor1"> with an CKEditor instance.
+			var editor = CKEDITOR.replace( 'editor1' );
+		//]]>
+		</script>
+
+		<div id="eMessage">
+		</div>
+		<div id="eButtons" style="visibility: hidden">
+			<input onclick="InsertHTML();" type="button" value="Insert HTML" />
+			<input onclick="SetContents();" type="button" value="Set Editor Contents" />
+			<input onclick="GetContents();" type="button" value="Get Editor Contents (XHTML)" />
+			<br />
+			<textarea cols="80" id="plainArea" 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>
+			<br />
+			<br />
+			<input onclick="ExecuteCommand('bold');" type="button" value="Execute &quot;bold&quot; Command" />
+			<input onclick="ExecuteCommand('link');" type="button" value="Execute &quot;link&quot; Command" />
+			<br />
+			<br />
+			<input onclick="CheckDirty();" type="button" value="checkDirty()" />
+			<input onclick="ResetDirty();" type="button" value="resetDirty()" />
+		</div>
+	</form>
+	<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>
Index: CKEditor/branches/features/aria/_samples/api_dialog.html
===================================================================
--- CKEditor/branches/features/aria/_samples/api_dialog.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/api_dialog.html	(revision 4888)
@@ -0,0 +1,185 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<style id="styles" type="text/css">
+
+		.cke_button_myDialogCmd .cke_icon
+		{
+			display: none !important;
+		}
+
+		.cke_button_myDialogCmd .cke_label
+		{
+			display: inline !important;
+		}
+
+	</style>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// When opening a dialog, its "definition" is created for it, for
+// each editor instance. The "dialogDefinition" event is then
+// fired. We should use this event to make customizations to the
+// definition of existing dialogs.
+CKEDITOR.on( 'dialogDefinition', function( ev )
+	{
+		// Take the dialog 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 dialog we're
+		// interested on (the "Link" dialog).
+		if ( dialogName == 'link' )
+		{
+			// Get a reference to the "Link Info" tab.
+			var infoTab = dialogDefinition.getContents( 'info' );
+
+			// Add a text field to the "info" tab.
+			infoTab.add( {
+					type : 'text',
+					label : 'My Custom Field',
+					id : 'customField',
+					'default' : 'Sample!',
+					validate : function()
+					{
+						if ( /\d/.test( this.getValue() ) )
+							return 'My Custom Field must not contain digits';
+					}
+				});
+
+			// Remove the "Link Type" combo and the "Browser
+			// Server" button from the "info" tab.
+			infoTab.remove( 'linkType' );
+			infoTab.remove( 'browse' );
+
+			// Set the default value for the URL field.
+			var urlField = infoTab.get( 'url' );
+			urlField['default'] = 'www.example.com';
+
+			// Remove the "Target" tab from the "Link" dialog.
+			dialogDefinition.removeContents( 'target' );
+
+			// Add a new tab to the "Link" dialog.
+			dialogDefinition.addContents({
+				id : 'customTab',
+				label : 'My Tab',
+				accessKey : 'M',
+				elements : [
+					{
+						id : 'myField1',
+						type : 'text',
+						label : 'My Text Field'
+					},
+					{
+						id : 'myField2',
+						type : 'text',
+						label : 'Another Text Field'
+					}
+				]
+			});
+		}
+	});
+
+	//]]>
+	</script>
+
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<!-- 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">
+		//<![CDATA[
+			// Replace the <textarea id="editor1"> with an CKEditor instance.
+			var editor = CKEDITOR.replace( 'editor1',
+				{
+					// Defines a simpler toolbar to be used in this sample.
+					// Note that we have added out "MyButton" button here.
+					toolbar : [ [ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike','-','Link', '-', 'MyButton' ] ]
+				});
+
+			// Listen for the "pluginsLoaded" event, so we are sure that the
+			// "dialog" plugin has been loaded and we are able to do our
+			// customizations.
+			editor.on( 'pluginsLoaded', function( ev )
+				{
+					// If our custom dialog has not been registered, do that now.
+					if ( !CKEDITOR.dialog.exists( 'myDialog' ) )
+					{
+						// We need to do the following trick to find out the dialog
+						// definition file URL path. In the real world, you would simply
+						// point to an absolute path directly, like "/mydir/mydialog.js".
+						var href = document.location.href.split( '/' );
+						href.pop();
+						href.push( 'api_dialog', 'my_dialog.js' );
+						href = href.join( '/' );
+
+						// Finally, register the dialog.
+						CKEDITOR.dialog.add( 'myDialog', href );
+					}
+
+					// Register the command used to open the dialog.
+					editor.addCommand( 'myDialogCmd', new CKEDITOR.dialogCommand( 'myDialog' ) );
+
+					// Add the a custom toolbar buttons, which fires the above
+					// command..
+					editor.ui.addButton( 'MyButton',
+						{
+							label : 'My Dialog',
+							command : 'myDialogCmd'
+						} );
+				});
+		//]]>
+	</script>
+	<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>
Index: CKEditor/branches/features/aria/_samples/api_dialog/my_dialog.js
===================================================================
--- CKEditor/branches/features/aria/_samples/api_dialog/my_dialog.js	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/api_dialog/my_dialog.js	(revision 4888)
@@ -0,0 +1,28 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'myDialog', function( editor )
+{
+	return {
+		title : 'My Dialog',
+		minWidth : 400,
+		minHeight : 200,
+		contents : [
+			{
+				id : 'tab1',
+				label : 'First Tab',
+				title : 'First Tab',
+				elements :
+				[
+					{
+						id : 'input1',
+						type : 'text',
+						label : 'Input 1'
+					}
+				]
+			}
+		]
+	};
+} );
Index: CKEditor/branches/features/aria/_samples/divreplace.html
===================================================================
--- CKEditor/branches/features/aria/_samples/divreplace.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/divreplace.html	(revision 4888)
@@ -0,0 +1,141 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<style id="styles" type="text/css">
+
+		div.editable
+		{
+			border: solid 2px Transparent;
+			padding-left: 15px;
+			padding-right: 15px;
+		}
+
+		div.editable:hover
+		{
+			border-color: black;
+		}
+
+	</style>
+	<script type="text/javascript">
+	//<![CDATA[
+
+// Uncomment the following code to test the "Timeout Loading Method".
+// CKEDITOR.loadFullCoreTimeout = 5;
+
+window.onload = function()
+{
+	// Listen to the double click event.
+	if ( window.addEventListener )
+		document.body.addEventListener( 'dblclick', onDoubleClick, false );
+	else if ( window.attachEvent )
+		document.body.attachEvent( 'ondblclick', onDoubleClick );
+
+};
+
+function onDoubleClick( ev )
+{
+	// Get the element which fired the event. This is not necessarily the
+	// element to which the event has been attached.
+	var element = ev.target || ev.srcElement;
+
+	// Find out the div that holds this element.
+	element = element.parentNode;
+
+	if ( element.nodeName.toLowerCase() == 'div'
+		 && ( element.className.indexOf( 'editable' ) != -1 ) )
+		replaceDiv( element );
+}
+
+var editor;
+
+function replaceDiv( div )
+{
+	if ( editor )
+		editor.destroy();
+
+	editor = CKEDITOR.replace( div );
+}
+
+	//]]>
+	</script>
+
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<p>
+		Double-click on any of the following DIVs to transform them into editor instances.</p>
+	<div class="editable">
+		<h3>
+			Part 1</h3>
+		<p>
+			Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
+			semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
+			rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
+			nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
+			eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
+		</p>
+	</div>
+	<div class="editable">
+		<h3>
+			Part 2</h3>
+		<p>
+			Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
+			semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
+			rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
+			nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
+			eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
+		</p>
+		<p>
+			Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus
+			sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum
+			vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate.
+		</p>
+	</div>
+	<div class="editable">
+		<h3>
+			Part 3</h3>
+		<p>
+			Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
+			semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
+			rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
+			nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
+			eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
+		</p>
+	</div>
+	<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>
Index: CKEditor/branches/features/aria/_samples/enterkey.html
===================================================================
--- CKEditor/branches/features/aria/_samples/enterkey.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/enterkey.html	(revision 4888)
@@ -0,0 +1,92 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<script type="text/javascript">
+	//<![CDATA[
+
+var editor;
+
+function changeEnter()
+{
+	// If we already have an editor, let's destroy it first.
+	if ( editor )
+		editor.destroy( true );
+
+	// Create the editor again, with the appropriate settings.
+	editor = CKEDITOR.replace( 'editor1',
+		{
+			enterMode		: Number( document.getElementById( 'xEnter' ).value ),
+			shiftEnterMode	: Number( document.getElementById( 'xShiftEnter' ).value )
+		});
+}
+
+window.onload = changeEnter;
+
+	//]]>
+	</script>
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<div style="float: left; margin-right: 20px">
+		When ENTER 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 value="2">Break the line with a &lt;BR&gt;</option>
+		</select>
+	</div>
+	<div style="float: left">
+		When SHIFT + ENTER 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 selected="selected" value="2">Break the line with a &lt;BR&gt; (recommended)</option>
+		</select>
+	</div>
+	<br style="clear: both" />
+	<form action="sample_posteddata.php" method="post">
+		<p>
+			<br />
+			<textarea cols="80" id="editor1" name="editor1" rows="10">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;.</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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/fullpage.html
===================================================================
--- CKEditor/branches/features/aria/_samples/fullpage.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/fullpage.html	(revision 4888)
@@ -0,0 +1,66 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</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 />
+			<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">
+			//<![CDATA[
+
+				CKEDITOR.replace( 'editor1',
+					{
+						fullPage : true
+					});
+
+			//]]>
+			</script>
+		</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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/index.html
===================================================================
--- CKEditor/branches/features/aria/_samples/index.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/index.html	(revision 4888)
@@ -0,0 +1,53 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Samples List - CKEditor</title>
+	<link type="text/css" rel="stylesheet" href="sample.css" />
+</head>
+<body>
+	<h1>
+		CKEditor Samples List
+	</h1>
+	<h2>
+		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>
+	<h2>
+		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>
+	<h2>
+		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>
+	</ul>
+	<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>
Index: CKEditor/branches/features/aria/_samples/jqueryadapter.html
===================================================================
--- CKEditor/branches/features/aria/_samples/jqueryadapter.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/jqueryadapter.html	(revision 4888)
@@ -0,0 +1,78 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	<script type="text/javascript" src="../adapters/jquery.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<script type="text/javascript" src="../_source/adapters/jquery.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<script type="text/javascript">
+	//<![CDATA[
+
+$(function()
+{
+	var config = {
+		toolbar:
+		[
+			['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
+			['UIColor']
+		]
+	};
+
+	// Initialize the editor.
+	// Callback function can be passed and executed after full instance creation.
+	$('.jquery_ckeditor').ckeditor(config);
+});
+
+	//]]>
+	</script>
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<!-- This <fieldset> holds the HTML that you will usually find in your
+	     pages. -->
+	<form action="sample_posteddata.php" method="post">
+	<p>
+		<label for="editor1">
+			Editor 1:</label><br />
+		<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>
+	<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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/php/advanced.php
===================================================================
--- CKEditor/branches/features/aria/_samples/php/advanced.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/php/advanced.php	(revision 4888)
@@ -0,0 +1,92 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample - CKEditor</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>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</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>
+<?php
+// Include CKEditor class.
+include("../../ckeditor.php");
+
+// Create class instance.
+$CKEditor = new CKEditor();
+
+// 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:
+//   $CKEditor->basePath = '/ckeditor/'
+// If not set, CKEditor will try to detect the correct path.
+$CKEditor->basePath = '../../';
+
+// Set global configuration (will be used by all instances of CKEditor).
+$CKEditor->config['width'] = 600;
+
+// Change default textarea attributes
+$CKEditor->textareaAttributes = array("cols" => 80, "rows" => 10);
+
+// The initial value to be displayed in the editor.
+$initialValue = '<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>';
+
+// Create first instance.
+$code = $CKEditor->editor("editor1", $initialValue);
+
+echo $code;
+?>
+			<p>
+				<label>Editor 2:</label><br/>
+			</p>
+<?php
+// Configuration that will be used only by the second editor.
+$config['toolbar'] = array(
+	array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
+	array( 'Image', 'Link', 'Unlink', 'Anchor' )
+);
+
+$config['skin'] = 'v2';
+
+// Create second instance.
+echo $CKEditor->editor("editor2", $initialValue, $config);
+?>
+				<input type="submit" value="Submit"/>
+			</p>
+		</form>
+	</fieldset>
+	<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>
Index: CKEditor/branches/features/aria/_samples/php/events.php
===================================================================
--- CKEditor/branches/features/aria/_samples/php/events.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/php/events.php	(revision 4888)
@@ -0,0 +1,129 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample - CKEditor</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>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</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>
+<?php
+
+/**
+ * Adds global event, will hide "Target" tab in Link dialog in all instances.
+ */
+function CKEditorHideLinkTargetTab(&$CKEditor) {
+
+	$function = 'function (ev) {
+		// Take the dialog 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.
+		if ( dialogName == "link" )
+			dialogDefinition.removeContents("target")
+	}';
+
+	$CKEditor->addGlobalEventHandler('dialogDefinition', $function);
+}
+
+/**
+ * Adds global event, will notify about opened dialog.
+ */
+function CKEditorNotifyAboutOpenedDialog(&$CKEditor) {
+	$function = 'function (evt) {
+		alert("Loading dialog: " + evt.data.name);
+	}';
+
+	$CKEditor->addGlobalEventHandler('dialogDefinition', $function);
+}
+
+// Include CKEditor class.
+include("../../ckeditor.php");
+
+// Create class instance.
+$CKEditor = new CKEditor();
+
+// Set configuration option for all editors.
+$CKEditor->config['width'] = 750;
+
+// 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 = '../../';
+
+// The initial value to be displayed in the editor.
+$initialValue = '<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>';
+
+// Event that will be handled only by the first editor.
+$CKEditor->addEventHandler('instanceReady', 'function (evt) {
+	alert("Loaded editor: " + evt.editor.name);
+}');
+
+// Create first instance.
+$CKEditor->editor("editor1", $initialValue);
+
+// 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>
+<?php
+// Configuration that will be used only by the second editor.
+$config['width'] = '600';
+$config['toolbar'] = 'Basic';
+
+// Add some global event handlers (for all editors).
+CKEditorHideLinkTargetTab($CKEditor);
+CKEditorNotifyAboutOpenedDialog($CKEditor);
+
+// Event that will be handled only by the second editor.
+// Instead of calling addEventHandler(), events may be passed as an argument.
+$events['instanceReady'] = 'function (evt) {
+	alert("Loaded second editor: " + evt.editor.name);
+}';
+
+// Create second instance.
+$CKEditor->editor("editor2", $initialValue, $config, $events);
+?>
+				<input type="submit" value="Submit"/>
+			</p>
+		</form>
+	</fieldset>
+	<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>
Index: CKEditor/branches/features/aria/_samples/php/replace.php
===================================================================
--- CKEditor/branches/features/aria/_samples/php/replace.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/php/replace.php	(revision 4888)
@@ -0,0 +1,63 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample - CKEditor</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>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</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>
+	<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>
+	<?php
+	// Include CKEditor class.
+	include_once "../../ckeditor.php";
+	// 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 = '../../';
+	// Replace textarea with id (or name) "editor1".
+	$CKEditor->replace("editor1");
+	?>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/php/replaceall.php
===================================================================
--- CKEditor/branches/features/aria/_samples/php/replaceall.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/php/replaceall.php	(revision 4888)
@@ -0,0 +1,68 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample - CKEditor</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>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</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>
+	<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>
+	<?php
+	// Include CKEditor class.
+	include("../../ckeditor.php");
+	// 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 = '../../';
+	// Replace all textareas with CKEditor.
+	$CKEditor->replaceAll();
+	?>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/php/standalone.php
===================================================================
--- CKEditor/branches/features/aria/_samples/php/standalone.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/php/standalone.php	(revision 4888)
@@ -0,0 +1,64 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample - CKEditor</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>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</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>
+	<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>
Index: CKEditor/branches/features/aria/_samples/replacebyclass.html
===================================================================
--- CKEditor/branches/features/aria/_samples/replacebyclass.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/replacebyclass.html	(revision 4888)
@@ -0,0 +1,53 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<form action="sample_posteddata.php" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label><br />
+			<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>
+		<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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/replacebycode.html
===================================================================
--- CKEditor/branches/features/aria/_samples/replacebycode.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/replacebycode.html	(revision 4888)
@@ -0,0 +1,84 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<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>
+			<script type="text/javascript">
+			//<![CDATA[
+
+				// This call can be placed at any point after the
+				// <textarea>, or inside a <head><script> in a
+				// window.onload event handler.
+
+				// Replace the <textarea id="editor"> with an CKEditor
+				// instance, using default configurations.
+				CKEDITOR.replace( 'editor1' );
+
+			//]]>
+			</script>
+		</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>
+			<script type="text/javascript">
+			//<![CDATA[
+
+				// This call can be placed at any point after the
+				// <textarea>, or inside a <head><script> in a
+				// window.onload event handler.
+
+				// Replace the <textarea id="editor"> with an CKEditor
+				// instance, using default configurations.
+				CKEDITOR.replace( 'editor2' );
+
+			//]]>
+			</script>
+		</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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/sample.css
===================================================================
--- CKEditor/branches/features/aria/_samples/sample.css	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/sample.css	(revision 4888)
@@ -0,0 +1,81 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+fieldset
+{
+	margin: 0;
+	padding: 10px;
+}
+
+form
+{
+	margin: 0;
+	padding: 0;
+}
+
+pre
+{
+	background-color: #F7F7F7;
+	border: 1px solid #D7D7D7;
+	overflow: auto;
+	margin: 0;
+	padding: 0.25em;
+}
+
+#alerts
+{
+	color: Red;
+}
+
+#footer hr
+{
+	margin: 10px 0 15px 0;
+	height: 1px;
+	border: solid 1px gray;
+	border-bottom: none;
+}
+
+#footer p
+{
+	margin: 0 10px 10px 10px;
+	float: left;
+}
+
+#footer #copy
+{
+	float: right;
+}
+
+#outputSample
+{
+	width: 100%;
+	table-layout: fixed;
+}
+
+#outputSample thead th
+{
+	color: #dddddd;
+	background-color: #999999;
+	padding: 4px;
+	white-space: nowrap;
+}
+
+#outputSample tbody th
+{
+	vertical-align: top;
+	text-align: left;
+}
+
+#outputSample pre
+{
+	margin: 0;
+	padding: 0;
+	white-space: pre; /* CSS2 */
+	white-space: -moz-pre-wrap; /* Mozilla*/
+	white-space: -o-pre-wrap; /* Opera 7 */
+	white-space: pre-wrap; /* CSS 2.1 */
+	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
+	word-wrap: break-word; /* IE */
+}
Index: CKEditor/branches/features/aria/_samples/sample.js
===================================================================
--- CKEditor/branches/features/aria/_samples/sample.js	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/sample.js	(revision 4888)
@@ -0,0 +1,65 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// This file is not required by CKEditor and may be safely ignored.
+// It is just a helper file that displays a red message about browser compatibility
+// at the top of the samples (if incompatible browser is detected).
+
+if ( window.CKEDITOR )
+{
+	(function()
+	{
+		var showCompatibilityMsg = function()
+		{
+			var env = CKEDITOR.env;
+
+			var html = '<p><strong>Your browser is not compatible with CKEditor.</strong>';
+
+			var browsers =
+			{
+				gecko : 'Firefox 2.0',
+				ie : 'Internet Explorer 6.0',
+				opera : 'Opera 9.5',
+				webkit : 'Safari 3.0'
+			};
+
+			var alsoBrowsers = '';
+
+			for ( var key in env )
+			{
+				if ( browsers[ key ] )
+				{
+					if ( env[key] )
+						html += ' CKEditor is compatible with ' + browsers[ key ] + ' or higher.';
+					else
+						alsoBrowsers += browsers[ key ] + '+, ';
+				}
+			}
+
+			alsoBrowsers = alsoBrowsers.replace( /\+,([^,]+), $/, '+ and $1' );
+
+			html += ' It is also compatible with ' + alsoBrowsers + '.';
+
+			html += '</p><p>With non compatible browsers, you should still be able to see and edit the contents (HTML) in a plain text field.</p>';
+
+			var alertsEl = document.getElementById( 'alerts' );
+			alertsEl && ( alertsEl.innerHTML = html );
+		};
+
+		var onload = function()
+		{
+			// Show a friendly compatibility message as soon as the page is loaded,
+			// for those browsers that are not compatible with CKEditor.
+			if ( !CKEDITOR.env.isCompatible )
+				showCompatibilityMsg();
+		};
+
+		// Register the onload listener.
+		if ( window.addEventListener )
+			window.addEventListener( 'load', onload, false );
+		else if ( window.attachEvent )
+			window.attachEvent( 'onload', onload );
+	})();
+}
Index: CKEditor/branches/features/aria/_samples/sample_posteddata.php
===================================================================
--- CKEditor/branches/features/aria/_samples/sample_posteddata.php	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/sample_posteddata.php	(revision 4888)
@@ -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-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
+
+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><?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>
Index: CKEditor/branches/features/aria/_samples/sharedspaces.html
===================================================================
--- CKEditor/branches/features/aria/_samples/sharedspaces.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/sharedspaces.html	(revision 4888)
@@ -0,0 +1,135 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+	<style id="styles" type="text/css">
+
+		#editorsForm
+		{
+			height: 400px;
+			overflow: auto;
+			border: solid 1px #555;
+			margin: 10px 0;
+			padding: 0 10px;
+		}
+
+	</style>
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<div id="topSpace">
+	</div>
+	<form action="sample_posteddata.php" id="editorsForm" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1 (uses the shared toolbar and element path):</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 (uses the shared toolbar and element path):</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>
+			<label for="editor3">
+				Editor 3 (uses the shared toolbar only):</label><br />
+			<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 />
+			<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>
+		<p>
+			<input type="submit" value="Submit" />
+		</p>
+	</form>
+	<div id="bottomSpace">
+	</div>
+	<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>
+	<script type="text/javascript">
+	//<![CDATA[
+
+		// Create all editor instances at the end of the page, so we are sure
+		// that the "bottomSpace" div is available in the DOM (IE issue).
+
+		CKEDITOR.replace( 'editor1',
+			{
+				sharedSpaces :
+				{
+					top : 'topSpace',
+					bottom : 'bottomSpace'
+				},
+
+				// Removes the maximize plugin as it's not usable
+				// in a shared toolbar.
+				// Removes the resizer as it's not usable in a
+				// shared elements path.
+				removePlugins : 'maximize,resize'
+			} );
+
+		CKEDITOR.replace( 'editor2',
+			{
+				sharedSpaces :
+				{
+					top : 'topSpace',
+					bottom : 'bottomSpace'
+				},
+
+				// Removes the maximize plugin as it's not usable
+				// in a shared toolbar.
+				// Removes the resizer as it's not usable in a
+				// shared elements path.
+				removePlugins : 'maximize,resize'
+			} );
+
+		CKEDITOR.replace( 'editor3',
+			{
+				sharedSpaces :
+				{
+					top : 'topSpace'
+				},
+
+				// Removes the maximize plugin as it's not usable
+				// in a shared toolbar.
+				removePlugins : 'maximize'
+			} );
+
+		CKEDITOR.replace( 'editor4' );
+	//]]>
+	</script>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/skins.html
===================================================================
--- CKEditor/branches/features/aria/_samples/skins.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/skins.html	(revision 4888)
@@ -0,0 +1,87 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Skins - CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<form action="sample_posteddata.php" method="post">
+		<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">
+			//<![CDATA[
+
+				CKEDITOR.replace( 'editor_kama',
+					{
+						skin : 'kama'
+					});
+
+			//]]>
+			</script>
+		</p>
+		<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">
+			//<![CDATA[
+
+				CKEDITOR.replace( 'editor_office2003',
+					{
+						skin : 'office2003'
+					});
+
+			//]]>
+			</script>
+		</p>
+		<p>
+			"V2" skin:<br />
+			<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">
+			//<![CDATA[
+
+				CKEDITOR.replace( 'editor_v2',
+					{
+						skin : 'v2'
+					});
+
+			//]]>
+			</script>
+		</p>
+	</form>
+	<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>
Index: CKEditor/branches/features/aria/_samples/ui_color.html
===================================================================
--- CKEditor/branches/features/aria/_samples/ui_color.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/ui_color.html	(revision 4888)
@@ -0,0 +1,91 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<p>
+		Click the UI Color Picker button to test your color preferences at runtime.</p>
+	<form action="sample_posteddata.php" method="post">
+	<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>
+		<script type="text/javascript">
+		//<![CDATA[
+
+			// Replace the <textarea id="editor"> with an CKEditor
+			// instance, using default configurations.
+			CKEDITOR.replace( 'editor1',
+				{
+					extraPlugins : 'uicolor',
+					toolbar :
+					[
+						[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
+						[ 'UIColor' ]
+					]
+				});
+
+		//]]>
+		</script>
+	</p>
+	<p>
+		<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">
+		//<![CDATA[
+
+			// Replace the <textarea id="editor"> with an CKEditor
+			// instance, using default configurations.
+			CKEDITOR.replace( 'editor2',
+				{
+					extraPlugins : 'uicolor',
+					uiColor: '#14B8C4',
+					toolbar :
+					[
+						[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
+						[ 'UIColor' ]
+					]
+				} );
+
+		//]]>
+		</script>
+	</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>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: CKEditor/branches/features/aria/_samples/ui_languages.html
===================================================================
--- CKEditor/branches/features/aria/_samples/ui_languages.html	(revision 4888)
+++ CKEditor/branches/features/aria/_samples/ui_languages.html	(revision 4888)
@@ -0,0 +1,111 @@
+<!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.
+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>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<!-- CKReleaser %REMOVE_LINE%
+	<script type="text/javascript" src="../ckeditor.js"></script>
+	<script type="text/javascript" src="../lang/_languages.js"></script>
+	CKReleaser %REMOVE_START% -->
+	<script type="text/javascript" src="../ckeditor_source.js"></script>
+	<script type="text/javascript" src="../_source/lang/_languages.js"></script>
+	<!-- CKReleaser %REMOVE_END% -->
+	<script src="sample.js" type="text/javascript"></script>
+	<link href="sample.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+	<h1>
+		CKEditor Sample
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<form action="sample_posteddata.php" method="post">
+		<p>
+			<label for="editor1">
+				Available languages (<span id="count"> </span>languages!):</label><br />
+			<select disabled="disabled" id="languages" onchange="createEditor( this.value );">
+				<script type="text/javascript">
+				//<![CDATA[
+
+					// Get the language list from the _languages.js file.
+					for ( var i = 0 ; i < window.CKEDITOR_LANGS.length ; i++ )
+					{
+						document.write(
+							'<option value="' + window.CKEDITOR_LANGS[i].code + '">' +
+								window.CKEDITOR_LANGS[i].name +
+							'</option>' );
+					}
+
+				//]]>
+				</script>
+			</select>
+			<br />
+			<span style="color: #888888">(You may see strange characters if your system doesn't
+				support the selected language)</span>
+		</p>
+		<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>
+			<script type="text/javascript">
+			//<![CDATA[
+
+				// Set the number of languages.
+				document.getElementById( 'count' ).innerHTML = window.CKEDITOR_LANGS.length;
+
+				var editor;
+
+				function createEditor( languageCode )
+				{
+					if ( editor )
+						editor.destroy();
+
+					// Replace the <textarea id="editor"> with an CKEditor
+					// instance, using default configurations.
+					editor = CKEDITOR.replace( 'editor1',
+						{
+							language : languageCode,
+
+							on :
+							{
+								instanceReady : function()
+								{
+									// Wait for the editor to be ready to set
+									// the language combo.
+									var languages = document.getElementById( 'languages' );
+									languages.value = this.langCode;
+									languages.disabled = false;
+								}
+							}
+						} );
+				}
+
+				// At page startup, load the default language:
+				createEditor( '' );
+
+			//]]>
+			</script>
+		</p>
+	</form>
+	<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>
Index: CKEditor/branches/features/aria/_source/adapters/jquery.js
===================================================================
--- CKEditor/branches/features/aria/_source/adapters/jquery.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/adapters/jquery.js	(revision 4888)
@@ -0,0 +1,293 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview jQuery adapter provides easy use of basic CKEditor functions
+ *   and access to internal API. It also integrates some aspects of CKEditor with
+ *   jQuery framework.
+ *
+ * Every TEXTAREA, DIV and P elements can be converted to working editor.
+ *
+ * Plugin exposes some of editor's event to jQuery event system. All of those are namespaces inside
+ * ".ckeditor" namespace and can be binded/listened on supported textarea, div and p nodes.
+ *
+ * Available jQuery events:
+ * - instanceReady.ckeditor( editor, rootNode )
+ *   Triggered when new instance is ready.
+ * - destroy.ckeditor( editor )
+ *   Triggered when instance is destroyed.
+ * - getData.ckeditor( editor, eventData )
+ *   Triggered when getData event is fired inside editor. It can change returned data using eventData reference.
+ * - setData.ckeditor( editor )
+ *   Triggered when getData event is fired inside editor.
+ *
+ * @example
+ * <script src="jquery.js"></script>
+ * <script src="ckeditor.js"></script>
+ * <script src="adapters/jquery/adapter.js"></script>
+ */
+
+(function()
+{
+	/**
+	 * Allow CKEditor to override jQuery.fn.val(). This results in ability to use val()
+	 * function on textareas as usual and having those calls synchronized with CKEditor
+	 * Rich Text Editor component.
+	 *
+	 * This config option is global and executed during plugin load.
+	 * Can't be customized across editor instances.
+	 *
+	 * @type Boolean
+	 * @example
+	 * $( 'textarea' ).ckeditor();
+	 * // ...
+	 * $( 'textarea' ).val( 'New content' );
+	 */
+	CKEDITOR.config.jqueryOverrideVal = typeof CKEDITOR.config.jqueryOverrideVal == 'undefined'
+		? true : CKEDITOR.config.jqueryOverrideVal;
+
+	var jQuery = window.jQuery;
+
+	if ( typeof jQuery == 'undefined' )
+		return;
+
+	// jQuery object methods.
+	jQuery.extend( jQuery.fn,
+	/** @lends jQuery.fn */
+	{
+		/**
+		 * Return existing CKEditor instance for first matched element.
+		 * Allows to easily use internal API. Doesn't return jQuery object.
+		 *
+		 * Raised exception if editor doesn't exist or isn't ready yet.
+		 *
+		 * @name jQuery.ckeditorGet
+		 * @return CKEDITOR.editor
+		 * @see CKEDITOR.editor
+		 */
+		ckeditorGet: function()
+		{
+			var instance = this.eq( 0 ).data( 'ckeditorInstance' );
+			if ( !instance )
+				throw "CKEditor not yet initialized, use ckeditor() with callback.";
+			return instance;
+		},
+		/**
+		 * Triggers creation of CKEditor in all matched elements (reduced to DIV, P and TEXTAREAs).
+		 * Binds callback to instanceReady event of all instances. If editor is already created, than
+		 * callback is fired right away.
+		 *
+		 * Mixed parameter order allowed.
+		 *
+		 * @param callback Function to be run on editor instance. Passed parameters: [ textarea ].
+		 * Callback is fiered in "this" scope being ckeditor instance and having source textarea as first param.
+		 *
+		 * @param config Configuration options for new instance(s) if not already created.
+		 * See URL
+		 *
+		 * @example
+		 * $( 'textarea' ).ckeditor( function( textarea ) {
+		 *   $( textarea ).val( this.getData() )
+		 * } );
+		 *
+		 * @name jQuery.fn.ckeditor
+		 * @return jQuery.fn
+		 */
+		ckeditor: function( callback, config )
+		{
+			if ( !jQuery.isFunction( callback ))
+			{
+				var tmp = config;
+				config = callback;
+				callback = tmp;
+			}
+			config = config || {};
+
+			this.filter( 'textarea, div, p' ).each( function()
+			{
+				var $element = jQuery( this ),
+					editor = $element.data( 'ckeditorInstance' ),
+					instanceLock = $element.data( '_ckeditorInstanceLock' ),
+					element = this;
+
+				if ( editor && !instanceLock )
+				{
+					if ( callback )
+						callback.apply( editor, [ this ] );
+				}
+				else if ( !instanceLock )
+				{
+					// CREATE NEW INSTANCE
+
+					// Handle config.autoUpdateElement inside this plugin if desired.
+					if ( config.autoUpdateElement
+						|| ( typeof config.autoUpdateElement == 'undefined' && CKEDITOR.config.autoUpdateElement ) )
+					{
+						config.autoUpdateElementJquery = true;
+					}
+
+					// Always disable config.autoUpdateElement.
+					config.autoUpdateElement = false;
+					$element.data( '_ckeditorInstanceLock', true );
+
+					// Set instance reference in element's data.
+					editor = CKEDITOR.replace( element, config );
+					$element.data( 'ckeditorInstance', editor );
+
+					// Register callback.
+					editor.on( 'instanceReady', function( event )
+					{
+						var editor = event.editor;
+						setTimeout( function()
+						{
+							// Delay bit more if editor is still not ready.
+							if ( !editor.element )
+							{
+								setTimeout( arguments.callee, 100 );
+								return;
+							}
+
+							// Remove this listener.
+							event.removeListener( 'instanceReady', this.callee );
+
+							// Forward setData on dataReady.
+							editor.on( 'dataReady', function()
+							{
+								$element.trigger( 'setData' + '.ckeditor', [ editor ] );
+							});
+
+							// Forward getData.
+							editor.on( 'getData', function( event ) {
+								$element.trigger( 'getData' + '.ckeditor', [ editor, event.data ] );
+							}, 999 );
+
+							// Forward destroy event.
+							editor.on( 'destroy', function()
+							{
+								$element.trigger( 'destroy.ckeditor', [ editor ] );
+							});
+
+							// Integrate with form submit.
+							if ( editor.config.autoUpdateElementJquery && $element.is( 'textarea' ) && $element.parents( 'form' ).length )
+							{
+								var onSubmit = function()
+								{
+									$element.ckeditor( function()
+									{
+										editor.updateElement();
+									});
+								};
+
+								// Bind to submit event.
+								$element.parents( 'form' ).submit( onSubmit );
+
+								// Unbind when editor destroyed.
+								$element.bind( 'destroy.ckeditor', function()
+								{
+									$element.parents( 'form' ).unbind( 'submit', onSubmit );
+								});
+							}
+
+							// Garbage collect on destroy.
+							editor.on( 'destroy', function()
+							{
+								$element.data( 'ckeditorInstance', null );
+							});
+
+							// Remove lock.
+							$element.data( '_ckeditorInstanceLock', null );
+
+							// Fire instanceReady event.
+							$element.trigger( 'instanceReady.ckeditor', [ editor ] );
+
+							// Run given (first) code.
+							if ( callback )
+								callback.apply( editor, [ element ] );
+						}, 0 );
+					}, null, null, 9999);
+				}
+				else
+				{
+					// Editor is already during creation process, bind our code to the event.
+					CKEDITOR.on( 'instanceReady', function( event )
+					{
+						var editor = event.editor;
+						setTimeout( function()
+						{
+							// Delay bit more if editor is still not ready.
+							if ( !editor.element )
+							{
+								setTimeout( arguments.callee, 100 );
+								return;
+							}
+
+							if ( editor.element.$ == element )
+							{
+								// Run given code.
+								if ( callback )
+									callback.apply( editor, [ element ] );
+							}
+						}, 0 );
+					}, null, null, 9999);
+				}
+			});
+			return this;
+		}
+	});
+
+	// New val() method for objects.
+	if ( CKEDITOR.config.jqueryOverrideVal )
+	{
+		jQuery.fn.val = CKEDITOR.tools.override( jQuery.fn.val, function( oldValMethod )
+		{
+			/**
+			 * CKEditor-aware val() method.
+			 *
+			 * Acts same as original jQuery val(), but for textareas which have CKEditor instances binded to them, method
+			 * returns editor's content. It also works for settings values.
+			 *
+			 * @param oldValMethod
+			 * @name jQuery.fn.val
+			 */
+			return function( newValue, forceNative )
+			{
+				var isSetter = typeof newValue != 'undefined',
+					result;
+
+				this.each( function()
+				{
+					var $this = jQuery( this ),
+						editor = $this.data( 'ckeditorInstance' );
+
+					if ( !forceNative && $this.is( 'textarea' ) && editor )
+					{
+						if ( isSetter )
+							editor.setData( newValue );
+						else
+						{
+							result = editor.getData();
+							// break;
+							return null;
+						}
+					}
+					else
+					{
+						if ( isSetter )
+							oldValMethod.call( $this, newValue );
+						else
+						{
+							result = oldValMethod.call( $this );
+							// break;
+							return null;
+						}
+					}
+
+					return true;
+				});
+				return isSetter ? this : result;
+			};
+		});
+	}
+})();
Index: CKEditor/branches/features/aria/_source/core/_bootstrap.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/_bootstrap.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/_bootstrap.js	(revision 4888)
@@ -0,0 +1,78 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview API initialization code.
+ */
+
+(function()
+{
+	// Check is High Contrast is active by creating a temporary element with a
+	// background image.
+
+	var useSpacer = CKEDITOR.env.ie && CKEDITOR.env.version < 7,
+		useBlank = CKEDITOR.env.ie && CKEDITOR.env.version == 7;
+
+
+	var backgroundImageUrl = useSpacer ? ( CKEDITOR.basePath + 'images/spacer.gif' ) :
+							 useBlank ? 'about:blank' : 'data:image/png;base64,';
+
+	var hcDetect = CKEDITOR.dom.element.createFromHtml(
+		'<div style="width:0px;height:0px;' +
+			'position:absolute;left:-10000px;' +
+			'background-image:url(' + backgroundImageUrl + ')"></div>', CKEDITOR.document );
+
+	hcDetect.appendTo( CKEDITOR.document.getHead() );
+
+	// Update CKEDITOR.env.
+	// Catch exception needed sometimes for FF. (#4230)
+	try
+	{
+		CKEDITOR.env.hc = ( hcDetect.getComputedStyle( 'background-image' ) == 'none' );
+	}
+	catch (e)
+	{
+		CKEDITOR.env.hc = false;
+	}
+	if ( CKEDITOR.env.hc )
+		CKEDITOR.env.cssClass += ' cke_hc';
+
+	hcDetect.remove();
+})();
+
+// Load core plugins.
+CKEDITOR.plugins.load( CKEDITOR.config.corePlugins.split( ',' ), function()
+	{
+		CKEDITOR.status = 'loaded';
+		CKEDITOR.fire( 'loaded' );
+
+		// Process all instances created by the "basic" implementation.
+		var pending = CKEDITOR._.pending;
+		if ( pending )
+		{
+			delete CKEDITOR._.pending;
+
+			for ( var i = 0 ; i < pending.length ; i++ )
+				CKEDITOR.add( pending[ i ] );
+		}
+	});
+
+/*
+TODO: Enable the following and check if effective.
+
+if ( CKEDITOR.env.ie )
+{
+	// Remove IE mouse flickering on IE6 because of background images.
+	try
+	{
+		document.execCommand( 'BackgroundImageCache', false, true );
+	}
+	catch (e)
+	{
+		// We have been reported about loading problems caused by the above
+		// line. For safety, let's just ignore errors.
+	}
+}
+*/
Index: CKEditor/branches/features/aria/_source/core/ajax.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/ajax.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/ajax.js	(revision 4888)
@@ -0,0 +1,143 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.ajax} object, which holds ajax methods for
+ *		data loading.
+ */
+
+/**
+ * Ajax methods for data loading.
+ * @namespace
+ * @example
+ */
+CKEDITOR.ajax = (function()
+{
+	var createXMLHttpRequest = function()
+	{
+		// In IE, using the native XMLHttpRequest for local files may throw
+		// "Access is Denied" errors.
+		if ( !CKEDITOR.env.ie || location.protocol != 'file:' )
+			try { return new XMLHttpRequest(); } catch(e) {}
+
+		try { return new ActiveXObject( 'Msxml2.XMLHTTP' ); } catch (e) {}
+		try { return new ActiveXObject( 'Microsoft.XMLHTTP' ); } catch (e) {}
+
+		return null;
+	};
+
+	var checkStatus = function( xhr )
+	{
+		// HTTP Status Codes:
+		//	 2xx : Success
+		//	 304 : Not Modified
+		//	   0 : Returned when running locally (file://)
+		//	1223 : IE may change 204 to 1223 (see http://dev.jquery.com/ticket/1450)
+
+		return ( xhr.readyState == 4 &&
+				(	( xhr.status >= 200 && xhr.status < 300 ) ||
+					xhr.status == 304 ||
+					xhr.status === 0 ||
+					xhr.status == 1223 ) );
+	};
+
+	var getResponseText = function( xhr )
+	{
+		if ( checkStatus( xhr ) )
+			return xhr.responseText;
+		return null;
+	};
+
+	var getResponseXml = function( xhr )
+	{
+		if ( checkStatus( xhr ) )
+		{
+			var xml = xhr.responseXML;
+			return new CKEDITOR.xml( xml && xml.firstChild ? xml : xhr.responseText );
+		}
+		return null;
+	};
+
+	var load = function( url, callback, getResponseFn )
+	{
+		var async = !!callback;
+
+		var xhr = createXMLHttpRequest();
+
+		if ( !xhr )
+			return null;
+
+		xhr.open( 'GET', url, async );
+
+		if ( async )
+		{
+			// TODO: perform leak checks on this closure.
+			/** @ignore */
+			xhr.onreadystatechange = function()
+			{
+				if ( xhr.readyState == 4 )
+				{
+					callback( getResponseFn( xhr ) );
+					xhr = null;
+				}
+			};
+		}
+
+		xhr.send(null);
+
+		return async ? '' : getResponseFn( xhr );
+	};
+
+	return 	/** @lends CKEDITOR.ajax */ {
+
+		/**
+		 * Loads data from an URL as plain text.
+		 * @param {String} url The URL from which load data.
+		 * @param {Function} [callback] A callback function to be called on
+		 *		data load. If not provided, the data will be loaded
+		 *		asynchronously, passing the data value the function on load.
+		 * @returns {String} The loaded data. For asynchronous requests, an
+		 *		empty string. For invalid requests, null.
+		 * @example
+		 * // Load data synchronously.
+		 * var data = CKEDITOR.ajax.load( 'somedata.txt' );
+		 * alert( data );
+		 * @example
+		 * // Load data asynchronously.
+		 * var data = CKEDITOR.ajax.load( 'somedata.txt', function( data )
+		 *     {
+		 *         alert( data );
+		 *     } );
+		 */
+		load : function( url, callback )
+		{
+			return load( url, callback, getResponseText );
+		},
+
+		/**
+		 * Loads data from an URL as XML.
+		 * @param {String} url The URL from which load data.
+		 * @param {Function} [callback] A callback function to be called on
+		 *		data load. If not provided, the data will be loaded
+		 *		asynchronously, passing the data value the function on load.
+		 * @returns {CKEDITOR.xml} An XML object holding the loaded data. For asynchronous requests, an
+		 *		empty string. For invalid requests, null.
+		 * @example
+		 * // Load XML synchronously.
+		 * var xml = CKEDITOR.ajax.loadXml( 'somedata.xml' );
+		 * alert( xml.getInnerXml( '//' ) );
+		 * @example
+		 * // Load XML asynchronously.
+		 * var data = CKEDITOR.ajax.loadXml( 'somedata.xml', function( xml )
+		 *     {
+		 *         alert( xml.getInnerXml( '//' ) );
+		 *     } );
+		 */
+		loadXml : function( url, callback )
+		{
+			return load( url, callback, getResponseXml );
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/ckeditor.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/ckeditor.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/ckeditor.js	(revision 4888)
@@ -0,0 +1,96 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the third and last part of the {@link CKEDITOR} object
+ *		definition.
+ */
+
+// Remove the CKEDITOR.loadFullCore reference defined on ckeditor_basic.
+delete CKEDITOR.loadFullCore;
+
+/**
+ * Holds references to all editor instances created. The name of the properties
+ * in this object correspond to instance names, and their values contains the
+ * {@link CKEDITOR.editor} object representing them.
+ * @type {Object}
+ * @example
+ * alert( <b>CKEDITOR.instances</b>.editor1.name );  // "editor1"
+ */
+CKEDITOR.instances = {};
+
+/**
+ * The document of the window holding the CKEDITOR object.
+ * @type {CKEDITOR.dom.document}
+ * @example
+ * alert( <b>CKEDITOR.document</b>.getBody().getName() );  // "body"
+ */
+CKEDITOR.document = new CKEDITOR.dom.document( document );
+
+/**
+ * Adds an editor instance to the global {@link CKEDITOR} object. This function
+ * is available for internal use mainly.
+ * @param {CKEDITOR.editor} editor The editor instance to be added.
+ * @example
+ */
+CKEDITOR.add = function( editor )
+{
+	CKEDITOR.instances[ editor.name ] = editor;
+
+	editor.on( 'focus', function()
+		{
+			if ( CKEDITOR.currentInstance != editor )
+			{
+				CKEDITOR.currentInstance = editor;
+				CKEDITOR.fire( 'currentInstance' );
+			}
+		});
+
+	editor.on( 'blur', function()
+		{
+			if ( CKEDITOR.currentInstance == editor )
+			{
+				CKEDITOR.currentInstance = null;
+				CKEDITOR.fire( 'currentInstance' );
+			}
+		});
+};
+
+/**
+ * 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.
+ * @example
+ */
+CKEDITOR.remove = function( editor )
+{
+	delete CKEDITOR.instances[ editor.name ];
+};
+
+// Load the bootstrap script.
+CKEDITOR.loader.load( 'core/_bootstrap' );		// @Packager.RemoveLine
+
+// Tri-state constants.
+
+/**
+ * Used to indicate the ON or ACTIVE state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_ON = 1;
+
+/**
+ * Used to indicate the OFF or NON ACTIVE state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_OFF = 2;
+
+/**
+ * Used to indicate DISABLED state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_DISABLED = 0;
Index: CKEditor/branches/features/aria/_source/core/ckeditor_base.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/ckeditor_base.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/ckeditor_base.js	(revision 4888)
@@ -0,0 +1,193 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the first and essential part of the {@link CKEDITOR}
+ *		object definition.
+ */
+
+// #### Compressed Code
+// Must be updated on changes in the script, as well as updated in the
+// ckeditor_source.js and ckeditor_basic_source.js files.
+
+// if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'%VERSION%',rev:'%REV%',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+
+// #### Raw code
+// ATTENTION: read the above "Compressed Code" notes when changing this code.
+
+if ( !window.CKEDITOR )
+{
+	/**
+	 * This is the API entry point. The entire CKEditor code runs under this object.
+	 * @name CKEDITOR
+	 * @namespace
+	 * @example
+	 */
+	window.CKEDITOR = (function()
+	{
+		var CKEDITOR =
+		/** @lends CKEDITOR */
+		{
+
+			/**
+			 * A constant string unique for each release of CKEditor. Its value
+			 * is used, by default, to build the URL for all resources loaded
+			 * by the editor code, guaranteing clean cache results when
+			 * upgrading.
+			 * @type String
+			 * @example
+			 * alert( CKEDITOR.timestamp );  // e.g. '87dm'
+			 */
+			timestamp : '',				// %REMOVE_LINE%
+			/*							// %REMOVE_LINE%
+			// The production implementation contains a fixed timestamp, unique
+			// for each release, generated by the releaser.
+			// (Base 36 value of each component of YYMMDDHH - 4 chars total - e.g. 87bm == 08071122)
+			timestamp : '%TIMESTAMP%',
+			 */							// %REMOVE_LINE%
+
+			/**
+			 * Contains the CKEditor version number.
+			 * @type String
+			 * @example
+			 * alert( CKEDITOR.version );  // e.g. 'CKEditor 3.0 Beta'
+			 */
+			version : '%VERSION%',
+
+			/**
+			 * Contains the CKEditor revision number.
+			 * Revision number is incremented automatically after each modification of CKEditor source code.
+			 * @type String
+			 * @example
+			 * alert( CKEDITOR.revision );  // e.g. '3975'
+			 */
+			revision : '%REV%',
+
+			/**
+			 * Private object used to hold core stuff. It should not be used out of
+			 * the API code as properties defined here may change at any time
+			 * without notice.
+			 * @private
+			 */
+			_ : {},
+
+			/**
+			 * Indicates the API loading status. The following status are available:
+			 *		<ul>
+			 *			<li><b>unloaded</b>: the API is not yet loaded.</li>
+			 *			<li><b>basic_loaded</b>: the basic API features are available.</li>
+			 *			<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>
+			 *		</ul>
+			 * @type String
+			 * @example
+			 * if ( <b>CKEDITOR.status</b> == 'ready' )
+			 * {
+			 *     // The API can now be fully used.
+			 * }
+			 */
+			status : 'unloaded',
+
+			/**
+			 * Contains the full URL for the CKEditor installation directory.
+			 * It's possible to manually provide the base path by setting a
+			 * global variable named CKEDITOR_BASEPATH. This global variable
+			 * must be set "before" the editor script loading.
+			 * @type String
+			 * @example
+			 * alert( <b>CKEDITOR.basePath</b> );  // "http://www.example.com/ckeditor/" (e.g.)
+			 */
+			basePath : (function()
+			{
+				// ATTENTION: fixes on this code must be ported to
+				// var basePath in "core/loader.js".
+
+				// Find out the editor directory path, based on its <script> tag.
+				var path = window.CKEDITOR_BASEPATH || '';
+
+				if ( !path )
+				{
+					var scripts = document.getElementsByTagName( 'script' );
+
+					for ( var i = 0 ; i < scripts.length ; i++ )
+					{
+						var match = scripts[i].src.match( /(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i );
+
+						if ( match )
+						{
+							path = match[1];
+							break;
+						}
+					}
+				}
+
+				// In IE (only) the script.src string is the raw valued entered in the
+				// HTML. Other browsers return the full resolved URL instead.
+				if ( path.indexOf('://') == -1 )
+				{
+					// Absolute path.
+					if ( path.indexOf( '/' ) === 0 )
+						path = location.href.match( /^.*?:\/\/[^\/]*/ )[0] + path;
+					// Relative path.
+					else
+						path = location.href.match( /^[^\?]*\/(?:)/ )[0] + path;
+				}
+
+				return path;
+			})(),
+
+			/**
+			 * Gets the full URL for CKEditor resources. By default, URLs
+			 * returned by this function contains a querystring parameter ("t")
+			 * set to the {@link CKEDITOR.timestamp} value.
+			 * It's possible to provide a custom implementation to this
+			 * function by setting a global variable named CKEDITOR_GETURL.
+			 * This global variable must be set "before" the editor script
+			 * loading. If the custom implementation returns nothing, the
+			 * default implementation is used.
+			 * @returns {String} The full URL.
+			 * @example
+			 * // e.g. http://www.example.com/ckeditor/skins/default/editor.css?t=87dm
+			 * alert( CKEDITOR.getUrl( 'skins/default/editor.css' ) );
+			 * @example
+			 * // e.g. http://www.example.com/skins/default/editor.css?t=87dm
+			 * alert( CKEDITOR.getUrl( '/skins/default/editor.css' ) );
+			 * @example
+			 * // e.g. http://www.somesite.com/skins/default/editor.css?t=87dm
+			 * alert( CKEDITOR.getUrl( 'http://www.somesite.com/skins/default/editor.css' ) );
+			 */
+			getUrl : function( resource )
+			{
+				// If this is not a full or absolute path.
+				if ( resource.indexOf('://') == -1 && resource.indexOf( '/' ) !== 0 )
+					resource = this.basePath + resource;
+
+				// Add the timestamp, except for directories.
+				if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' )
+					resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp;
+
+				return resource;
+			}
+		};
+
+		// Make it possible to override the getUrl function with a custom
+		// implementation pointing to a global named CKEDITOR_GETURL.
+		var newGetUrl = window.CKEDITOR_GETURL;
+		if ( newGetUrl )
+		{
+			var originalGetUrl = CKEDITOR.getUrl;
+			CKEDITOR.getUrl = function ( resource )
+			{
+				return newGetUrl.call( CKEDITOR, resource ) ||
+					originalGetUrl.call( CKEDITOR, resource );
+			};
+		}
+
+		return CKEDITOR;
+	})();
+}
+
+// PACKAGER_RENAME( CKEDITOR )
Index: CKEditor/branches/features/aria/_source/core/ckeditor_basic.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/ckeditor_basic.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/ckeditor_basic.js	(revision 4888)
@@ -0,0 +1,242 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the second part of the {@link CKEDITOR} object
+ *		definition, which defines the basic editor features to be available in
+ *		the root ckeditor_basic.js file.
+ */
+
+if ( CKEDITOR.status == 'unloaded' )
+{
+	(function()
+	{
+		CKEDITOR.event.implementOn( CKEDITOR );
+
+		/**
+		 * Forces the full CKEditor core code, in the case only the basic code has been
+		 * loaded (ckeditor_basic.js). This method self-destroys (becomes undefined) in
+		 * the first call or as soon as the full code is available.
+		 * @example
+		 * // Check if the full core code has been loaded and load it.
+		 * if ( CKEDITOR.loadFullCore )
+		 *     <b>CKEDITOR.loadFullCore()</b>;
+		 */
+		CKEDITOR.loadFullCore = function()
+		{
+			// If not the basic code is not ready it, just mark it to be loaded.
+			if ( CKEDITOR.status != 'basic_ready' )
+			{
+				CKEDITOR.loadFullCore._load = true;
+				return;
+			}
+
+			// Destroy this function.
+			delete CKEDITOR.loadFullCore;
+
+			// Append the script to the head.
+			var script = document.createElement( 'script' );
+			script.type = 'text/javascript';
+			script.src = CKEDITOR.basePath + 'ckeditor.js';
+			script.src = CKEDITOR.basePath + 'ckeditor_source.js';		// %REMOVE_LINE%
+
+			document.getElementsByTagName( 'head' )[0].appendChild( script );
+		};
+
+		/**
+		 * The time to wait (in seconds) to load the full editor code after the
+		 * page load, if the "ckeditor_basic" file is used. If set to zero, the
+		 * editor is loaded on demand, as soon as an instance is created.
+		 *
+		 * This value must be set on the page before the page load completion.
+		 * @type Number
+		 * @default 0 (zero)
+		 * @example
+		 * // Loads the full source after five seconds.
+		 * CKEDITOR.loadFullCoreTimeout = 5;
+		 */
+		CKEDITOR.loadFullCoreTimeout = 0;
+
+		/**
+		 * The class name used to identify &lt;textarea&gt; elements to be replace
+		 * by CKEditor instances.
+		 * @type String
+		 * @default 'ckeditor'
+		 * @example
+		 * <b>CKEDITOR.replaceClass</b> = 'rich_editor';
+		 */
+		CKEDITOR.replaceClass = 'ckeditor';
+
+		/**
+		 * Enables the replacement of all textareas with class name matching
+		 * {@link CKEDITOR.replaceClass}.
+		 * @type Boolean
+		 * @default true
+		 * @example
+		 * // Disable the auto-replace feature.
+		 * <b>CKEDITOR.replaceByClassEnabled</b> = false;
+		 */
+		CKEDITOR.replaceByClassEnabled = true;
+
+		var createInstance = function( elementOrIdOrName, config, creationFunction )
+		{
+			if ( CKEDITOR.env.isCompatible )
+			{
+				// Load the full core.
+				if ( CKEDITOR.loadFullCore )
+					CKEDITOR.loadFullCore();
+
+				var editor = creationFunction( elementOrIdOrName, config );
+				CKEDITOR.add( editor );
+				return editor;
+			}
+
+			return null;
+		};
+
+		/**
+		 * Replaces a &lt;textarea&gt; or a DOM element (DIV) with a CKEditor
+		 * instance. For textareas, the initial value in the editor will be the
+		 * textarea value. For DOM elements, their innerHTML will be used
+		 * instead. We recommend using TEXTAREA and DIV elements only.
+		 * @param {Object|String} elementOrIdOrName The DOM element (textarea), its
+		 *		ID or name.
+		 * @param {Object} [config] The specific configurations to apply to this
+		 *		editor instance. Configurations set here will override global CKEditor
+		 *		settings.
+		 * @returns {CKEDITOR.editor} The editor instance created.
+		 * @example
+		 * &lt;textarea id="myfield" name="myfield"&gt;&lt:/textarea&gt;
+		 * ...
+		 * <b>CKEDITOR.replace( 'myfield' )</b>;
+		 * @example
+		 * var textarea = document.body.appendChild( document.createElement( 'textarea' ) );
+		 * <b>CKEDITOR.replace( textarea )</b>;
+		 */
+		CKEDITOR.replace = function( elementOrIdOrName, config )
+		{
+			return createInstance( elementOrIdOrName, config, CKEDITOR.editor.replace );
+		};
+
+		/**
+		 * Creates a new editor instance inside a specific DOM element.
+		 * @param {Object|String} elementOrId The DOM element or its ID.
+		 * @param {Object} [config] The specific configurations to apply to this
+		 *		editor instance. Configurations set here will override global CKEditor
+		 *		settings.
+		 * @returns {CKEDITOR.editor} The editor instance created.
+		 * @example
+		 * &lt;div id="editorSpace"&gt;&lt:/div&gt;
+		 * ...
+		 * <b>CKEDITOR.appendTo( 'editorSpace' )</b>;
+		 */
+		CKEDITOR.appendTo = function( elementOrId, config )
+		{
+			return createInstance( elementOrId, config, CKEDITOR.editor.appendTo );
+		};
+
+		/**
+		 * @ignore
+		 * Documented at ckeditor.js.
+		 */
+		CKEDITOR.add = function( editor )
+		{
+			// For now, just put the editor in the pending list. It will be
+			// processed as soon as the full code gets loaded.
+			var pending = this._.pending || ( this._.pending = [] );
+			pending.push( editor );
+		};
+
+		/**
+		 * Replace all &lt;textarea&gt; elements available in the document with
+		 * editor instances.
+		 * @example
+		 * // Replace all &lt;textarea&gt; elements in the page.
+		 * CKEDITOR.replaceAll();
+		 * @example
+		 * // Replace all &lt;textarea class="myClassName"&gt; elements in the page.
+		 * CKEDITOR.replaceAll( 'myClassName' );
+		 * @example
+		 * // Selectively replace &lt;textarea&gt; elements, based on custom assertions.
+		 * CKEDITOR.replaceAll( function( textarea, config )
+		 *     {
+		 *         // Custom code to evaluate the replace, returning false
+		 *         // if it must not be done.
+		 *         // It also passes the "config" parameter, so the
+		 *         // developer can customize the instance.
+		 *     } );
+		 */
+		CKEDITOR.replaceAll = function()
+		{
+			var textareas = document.getElementsByTagName( 'textarea' );
+
+			for ( var i = 0 ; i < textareas.length ; i++ )
+			{
+				var config = null;
+				var textarea = textareas[i];
+				var name = textarea.name;
+
+				// The "name" and/or "id" attribute must exist.
+				if ( !textarea.name && !textarea.id )
+					continue;
+
+				if ( typeof arguments[0] == 'string' )
+				{
+					// The textarea class name could be passed as the function
+					// parameter.
+
+					var classRegex = new RegExp( '(?:^| )' + arguments[0] + '(?:$| )' );
+
+					if ( !classRegex.test( textarea.className ) )
+						continue;
+				}
+				else if ( typeof arguments[0] == 'function' )
+				{
+					// An assertion function could be passed as the function parameter.
+					// It must explicitly return "false" to ignore a specific <textarea>.
+					config = {};
+					if ( arguments[0]( textarea, config ) === false )
+						continue;
+				}
+
+				this.replace( textarea, config );
+			}
+		};
+
+		(function()
+		{
+			var onload = function()
+			{
+				var loadFullCore = CKEDITOR.loadFullCore,
+					loadFullCoreTimeout = CKEDITOR.loadFullCoreTimeout;
+
+				// Replace all textareas with the default class name.
+				if ( CKEDITOR.replaceByClassEnabled )
+					CKEDITOR.replaceAll( CKEDITOR.replaceClass );
+
+				CKEDITOR.status = 'basic_ready';
+
+				if ( loadFullCore && loadFullCore._load )
+					loadFullCore();
+				else if ( loadFullCoreTimeout )
+				{
+					setTimeout( function()
+						{
+							if ( CKEDITOR.loadFullCore )
+								CKEDITOR.loadFullCore();
+						}
+						, loadFullCoreTimeout * 1000 );
+				}
+			};
+
+			if ( window.addEventListener )
+				window.addEventListener( 'load', onload, false );
+			else if ( window.attachEvent )
+				window.attachEvent( 'onload', onload );
+		})();
+
+		CKEDITOR.status = 'basic_loaded';
+	})();
+}
Index: CKEditor/branches/features/aria/_source/core/command.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/command.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/command.js	(revision 4888)
@@ -0,0 +1,73 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.command = function( editor, commandDefinition )
+{
+	this.uiItems = [];
+
+	this.exec = function( data )
+	{
+		if ( this.state == CKEDITOR.TRISTATE_DISABLED )
+			return false;
+
+		if( this.editorFocus )     // Give editor focus if necessary (#4355).
+			editor.focus();
+
+		return ( commandDefinition.exec.call( this, editor, data ) !== false );
+	};
+
+	CKEDITOR.tools.extend( this, commandDefinition,
+		// Defaults
+		{
+			modes : { wysiwyg : 1 },
+			editorFocus : true,
+			state : CKEDITOR.TRISTATE_OFF
+		});
+
+	// Call the CKEDITOR.event constructor to initialize this instance.
+	CKEDITOR.event.call( this );
+};
+
+CKEDITOR.command.prototype =
+{
+	enable : function()
+	{
+		if ( this.state == CKEDITOR.TRISTATE_DISABLED )
+			this.setState( ( !this.preserveState || ( typeof this.previousState == 'undefined' ) ) ? CKEDITOR.TRISTATE_OFF : this.previousState );
+	},
+
+	disable : function()
+	{
+		this.setState( CKEDITOR.TRISTATE_DISABLED );
+	},
+
+	setState : function( newState )
+	{
+		// Do nothing if there is no state change.
+		if ( this.state == newState )
+			return false;
+
+		this.previousState = this.state;
+
+		// Set the new state.
+		this.state = newState;
+
+		// Fire the "state" event, so other parts of the code can react to the
+		// change.
+		this.fire( 'state' );
+
+		return true;
+	},
+
+	toggleState : function()
+	{
+		if ( this.state == CKEDITOR.TRISTATE_OFF )
+			this.setState( CKEDITOR.TRISTATE_ON );
+		else if ( this.state == CKEDITOR.TRISTATE_ON )
+			this.setState( CKEDITOR.TRISTATE_OFF );
+	}
+};
+
+CKEDITOR.event.implementOn( CKEDITOR.command.prototype, true );
Index: CKEditor/branches/features/aria/_source/core/commanddefinition.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/commanddefinition.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/commanddefinition.js	(revision 4888)
@@ -0,0 +1,86 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.commandDefinition} class,
+ *		which contains the defintion of a command. This file is for
+ *		documentation purposes only.
+ */
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ *		of the API. It just illustrates the features of command objects to be
+ *		passed to the {@link CKEDITOR.editor.prototype.addCommand} function.
+ * @name CKEDITOR.commandDefinition
+ * @constructor
+ * @example
+ */
+
+ /**
+ * Executes the command.
+ * @name CKEDITOR.commandDefinition.prototype.exec
+ * @function
+ * @param {CKEDITOR.editor} editor The editor within which run the command.
+ * @param {Object} [data] Additional data to be used to execute the command.
+ * @returns {Boolean} Whether the command has been successfully executed.
+ *		Defaults to "true", if nothing is returned.
+ * @example
+ * editorInstance.addCommand( 'sample',
+ * {
+ *     exec : function( editor )
+ *     {
+ *         alert( 'Executing a command for the editor name "' + editor.name + '"!' );
+ *     }
+ * });
+ */
+
+/**
+ * Whether the command need to be hooked into the redo/undo system.
+ * @name  CKEDITOR.commandDefinition.canUndo
+ * @type {Boolean} If not defined or 'true' both hook into undo system, set it
+ *		to 'false' explicitly  keep it out.
+ * @field
+ * @example
+ * editorInstance.addCommand( 'alertName',
+ * {
+ *     exec : function( editor )
+ *     {
+ *         alert( editor.name );
+ *     },
+ *     canUndo : false    // No support for undo/redo
+ * });
+ */
+
+/**
+ * Whether the command is asynchronous, which means the 'afterCommandExec' event
+ * will be fired by the command itself manually, and the 'exec' function return value
+ * of this command is not to be returned.
+ * @name  CKEDITOR.commandDefinition.async
+ * @type {Boolean} If defined as 'true', the command is asynchronous.
+ * @example
+ * editorInstance.addCommand( 'alertName',
+ * {
+ *     exec : function( editor )
+ *     {
+ *         // Asynchronous operation below.
+ *         CKEDITOR.ajax.loadXml( 'data.xml' );
+ *     },
+ *     async : true    // The command need some time to complete after exec function returns.
+ * });
+ */
+
+/**
+ * Whether the command should give focus to the editor before execution.
+ * @name  CKEDITOR.commandDefinition.editorFocus
+ * @type {Boolean}
+ * @example
+ * editorInstance.addCommand( 'maximize',
+ * {
+ *     exec : function( editor )
+ *     {
+ *     },
+ *     editorFocus : false    // The command doesn't require focusing the editing document.
+ * });
+ */
Index: CKEditor/branches/features/aria/_source/core/config.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/config.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/config.js	(revision 4888)
@@ -0,0 +1,302 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.config} object, which holds the
+ * default configuration settings.
+ */
+
+CKEDITOR.ENTER_P	= 1;
+CKEDITOR.ENTER_BR	= 2;
+CKEDITOR.ENTER_DIV	= 3;
+
+/**
+ * Holds the default configuration settings. Changes to this object are
+ * reflected in all editor instances, if not specificaly specified for those
+ * instances.
+ * @namespace
+ * @example
+ * // All editor created after the following setting will not load custom
+ * // configuration files.
+ * CKEDITOR.config.customConfig = '';
+ */
+CKEDITOR.config =
+{
+	/**
+	 * The URL path for the custom configuration file to be loaded. If not
+	 * overloaded with inline configurations, it defaults to the "config.js"
+	 * file present in the root of the CKEditor installation directory.<br /><br />
+	 *
+	 * CKEditor will recursively load custom configuration files defined inside
+	 * other custom configuration files.
+	 * @type String
+	 * @default '&lt;CKEditor folder&gt;/config.js'
+	 * @example
+	 * // Load a specific configuration file.
+	 * CKEDITOR.replace( 'myfiled', { customConfig : '/myconfig.js' } );
+	 * @example
+	 * // Do not load any custom configuration file.
+	 * CKEDITOR.replace( 'myfiled', { customConfig : '' } );
+	 */
+	customConfig : 'config.js',
+
+	/**
+	 * Whether the replaced element (usually a textarea) is to be updated
+	 * automatically when posting the form containing the editor.
+	 * @type Boolean
+	 * @default true
+	 * @example
+	 * config.autoUpdateElement = true;
+	 */
+	autoUpdateElement : true,
+
+	/**
+	 * The base href URL used to resolve relative and absolute URLs in the
+	 * editor content.
+	 * @type String
+	 * @default '' (empty string)
+	 * @example
+	 * config.baseHref = 'http://www.example.com/path/';
+	 */
+	baseHref : '',
+
+	/**
+	 * The CSS file(s) to be used to apply style to the contents. It should
+	 * reflect the CSS used in the final pages where the contents are to be
+	 * used.
+	 * @type String|Array
+	 * @default '&lt;CKEditor folder&gt;/contents.css'
+	 * @example
+	 * config.contentsCss = '/css/mysitestyles.css';
+	 * config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];
+	 */
+	contentsCss : CKEDITOR.basePath + 'contents.css',
+
+	/**
+	 * The writting direction of the language used to write the editor
+	 * contents. Allowed values are 'ltr' for Left-To-Right language (like
+	 * English), or 'rtl' for Right-To-Left languages (like Arabic).
+	 * @default 'ltr'
+	 * @type String
+	 * @example
+	 * config.contentsLangDirection = 'rtl';
+	 */
+	contentsLangDirection : 'ltr',
+
+	/**
+	 * The user interface language localization to use. If empty, the editor
+	 * automatically localize the editor to the user language, if supported,
+	 * otherwise the {@link CKEDITOR.config.defaultLanguage} language is used.
+	 * @default true
+	 * @type Boolean
+	 * @example
+	 * // Load the German interface.
+	 * config.language = 'de';
+	 */
+	language : '',
+
+	/**
+	 * The language to be used if {@link CKEDITOR.config.language} is left empty and it's not
+	 * possible to localize the editor to the user language.
+	 * @default 'en'
+	 * @type String
+	 * @example
+	 * config.defaultLanguage = 'it';
+	 */
+	defaultLanguage : 'en',
+
+	/**
+	 * Sets the behavior for the ENTER key. It also dictates other behaviour
+	 * rules in the editor, like whether the &lt;br&gt; element is to be used
+	 * as a paragraph separator when indenting text.
+	 * The allowed values are the following constants, and their relative
+	 * behavior:
+	 * <ul>
+	 *     <li>{@link CKEDITOR.ENTER_P} (1): new &lt;p&gt; paragraphs are created;</li>
+	 *     <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with &lt;br&gt; elements;</li>
+	 *     <li>{@link CKEDITOR.ENTER_DIV} (3): new &lt;div&gt; blocks are created.</li>
+	 * </ul>
+	 * <strong>Note</strong>: It's recommended to use the
+	 * {@link CKEDITOR.ENTER_P} value because of its semantic value and
+	 * correctness. The editor is optimized for this value.
+	 * @type Number
+	 * @default {@link CKEDITOR.ENTER_P}
+	 * @example
+	 * // Not recommended.
+	 * config.enterMode = CKEDITOR.ENTER_BR;
+	 */
+	enterMode : CKEDITOR.ENTER_P,
+
+	/**
+	 * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key.
+	 * The allowed values are the following constants, and their relative
+	 * behavior:
+	 * <ul>
+	 *     <li>{@link CKEDITOR.ENTER_P} (1): new &lt;p&gt; paragraphs are created;</li>
+	 *     <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with &lt;br&gt; elements;</li>
+	 *     <li>{@link CKEDITOR.ENTER_DIV} (3): new &lt;div&gt; blocks are created.</li>
+	 * </ul>
+	 * @type Number
+	 * @default {@link CKEDITOR.ENTER_BR}
+	 * @example
+	 * config.shiftEnterMode = CKEDITOR.ENTER_P;
+	 */
+	shiftEnterMode : CKEDITOR.ENTER_BR,
+
+	/**
+	 * A comma separated list of plugins that are not related to editor
+	 * instances. Reserved to plugins that extend the core code only.<br /><br />
+	 *
+	 * There are no ways to override this setting, except by editing the source
+	 * code of CKEditor (_source/core/config.js).
+	 * @type String
+	 * @example
+	 */
+	corePlugins : '',
+
+	/**
+	 * Sets the doctype to be used when loading the editor content as HTML.
+	 * @type String
+	 * @default '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;'
+	 * @example
+	 * // Set the doctype to the HTML 4 (quirks) mode.
+	 * config.docType = '&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;';
+	 */
+	docType : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
+
+	/**
+	 * Sets the 'id' attribute to be used on body if it doesn't have one.
+	 * @type String
+	 * @default ''
+	 */
+	bodyId : '',
+
+	/**
+	 * Sets the 'class' attribute to be used on body if it doesn't have one.
+	 * @type String
+	 * @default ''
+	 */
+	bodyClass : '',
+
+	/**
+	 * Indicates whether the contents to be edited are being inputted as a full
+	 * HTML page. A full page includes the &lt;html&gt;, &lt;head&gt; and
+	 * &lt;body&gt; tags. The final output will also reflect this setting,
+	 * including the &lt;body&gt; contents only if this setting is disabled.
+	 * @type Boolean
+	 * @default false
+	 * @example
+	 * config.fullPage = true;
+	 */
+	fullPage : false,
+
+	/**
+	 * The height of editing area( content ), in relative or absolute, e.g. 30px, 5em.
+	 * Note: Percentage unit is not supported yet. e.g. 30%.
+	 * @type Number|String
+	 * @default '200'
+	 * @example
+	 * config.height = 500;
+	 * config.height = '25em';
+	 * config.height = '300px';
+	 */
+	height : 200,
+
+	/**
+	 * Comma separated list of plugins to load and initialize for an editor
+	 * instance. This should be rarely changed, using instead the
+	 * {@link CKEDITOR.config.extraPlugins} and
+	 * {@link CKEDITOR.config.removePlugins} for customizations.
+	 * @type String
+	 * @example
+	 */
+	plugins : 'about,basicstyles,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,scayt,smiley,showblocks,showborders,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',
+
+	/**
+	 * List of additional plugins to be loaded. This is a tool setting which
+	 * makes it easier to add new plugins, whithout having to touch and
+	 * possibly breaking the {@link CKEDITOR.config.plugins} setting.
+	 * @type String
+	 * @example
+	 * config.extraPlugins = 'myplugin,anotherplugin';
+	 */
+	extraPlugins : '',
+
+	/**
+	 * List of plugins that must not be loaded. This is a tool setting which
+	 * makes it easier to avoid loading plugins definied in the
+	 * {@link CKEDITOR.config.plugins} setting, whithout having to touch it and
+	 * potentially breaking it.
+	 * @type String
+	 * @example
+	 * config.removePlugins = 'elementspath,save,font';
+	 */
+	removePlugins : '',
+
+	/**
+	 * List of regular expressions to be executed over the input HTML,
+	 * indicating code that must stay untouched.
+	 * @type Array
+	 * @default [] (empty array)
+	 * @example
+	 * config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP Code
+	 * config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP Code
+	 * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi );   // ASP.Net Code
+	 */
+	protectedSource : [],
+
+	/**
+	 * The editor tabindex value.
+	 * @type Number
+	 * @default 0 (zero)
+	 * @example
+	 * config.tabIndex = 1;
+	 */
+	tabIndex : 0,
+
+	/**
+	 * The theme to be used to build the UI.
+	 * @type String
+	 * @default 'default'
+	 * @see CKEDITOR.config.skin
+	 * @example
+	 * config.theme = 'default';
+	 */
+	theme : 'default',
+
+	/**
+	 * The skin to load. It may be the name of the skin folder inside the
+	 * editor installation path, or the name and the path separated by a comma.
+	 * @type String
+	 * @default 'default'
+	 * @example
+	 * config.skin = 'v2';
+	 * @example
+	 * config.skin = 'myskin,/customstuff/myskin/';
+	 */
+	skin : 'kama',
+
+	/**
+	 * The editor width in CSS size format or pixel integer.
+	 * @type String|Number
+	 * @default '' (empty)
+	 * @example
+	 * config.width = 850;
+	 * @example
+	 * config.width = '75%';
+	 */
+	width : '',
+
+	/**
+	 * The base Z-index for floating dialogs and popups.
+	 * @type Number
+	 * @default 10000
+	 * @example
+	 * config.baseFloatZIndex = 2000
+	 */
+	baseFloatZIndex : 10000
+};
+
+// PACKAGER_RENAME( CKEDITOR.config )
Index: CKEditor/branches/features/aria/_source/core/dom.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom.js	(revision 4888)
@@ -0,0 +1,21 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom} object, which contains DOM
+ *		manipulation objects and function.
+ */
+
+/**
+ * DOM manipulation objects and function.<br /><br />
+ * @see CKEDITOR.dom.element
+ * @see CKEDITOR.dom.node
+ * @namespace
+ * @example
+ */
+CKEDITOR.dom =
+{};
+
+// PACKAGER_RENAME( CKEDITOR.dom )
Index: CKEditor/branches/features/aria/_source/core/dom/comment.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/comment.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/comment.js	(revision 4888)
@@ -0,0 +1,32 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
+ *		a DOM comment node.
+ */
+
+CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
+{
+	base : CKEDITOR.dom.node,
+
+	$ : function( text, ownerDocument )
+	{
+		if ( typeof text == 'string' )
+			text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );
+
+		this.base( text );
+	},
+
+	proto :
+	{
+		type : CKEDITOR.NODE_COMMENT,
+
+		getOuterHtml : function()
+		{
+			return '<!--' + this.$.nodeValue + '-->';
+		}
+	}
+});
Index: CKEditor/branches/features/aria/_source/core/dom/document.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/document.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/document.js	(revision 4888)
@@ -0,0 +1,225 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
+ *		represents a DOM document.
+ */
+
+/**
+ * Represents a DOM document.
+ * @constructor
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domDocument A native DOM document.
+ * @example
+ * var document = new CKEDITOR.dom.document( document );
+ */
+CKEDITOR.dom.document = function( domDocument )
+{
+	CKEDITOR.dom.domObject.call( this, domDocument );
+};
+
+// PACKAGER_RENAME( CKEDITOR.dom.document )
+
+CKEDITOR.dom.document.prototype = new CKEDITOR.dom.domObject();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype,
+	/** @lends CKEDITOR.dom.document.prototype */
+	{
+		/**
+		 * Appends a CSS file to the document.
+		 * @param {String} cssFileUrl The CSS file URL.
+		 * @example
+		 * <b>CKEDITOR.document.appendStyleSheet( '/mystyles.css' )</b>;
+		 */
+		appendStyleSheet : function( cssFileUrl )
+		{
+			if ( this.$.createStyleSheet )
+				this.$.createStyleSheet( cssFileUrl );
+			else
+			{
+				var link = new CKEDITOR.dom.element( 'link' );
+				link.setAttributes(
+					{
+						rel		:'stylesheet',
+						type	: 'text/css',
+						href	: cssFileUrl
+					});
+
+				this.getHead().append( link );
+			}
+		},
+
+		appendStyleText : function( cssStyleText )
+		{
+			if ( this.$.createStyleSheet )
+			{
+				var styleSheet = this.$.createStyleSheet( "" );
+				styleSheet.cssText = cssStyleText ;
+			}
+			else
+			{
+				var style = new CKEDITOR.dom.element( 'style', this );
+				style.append( new CKEDITOR.dom.text( cssStyleText, this ) );
+				this.getHead().append( style );
+			}
+		},
+
+		createElement : function( name, attribsAndStyles )
+		{
+			var element = new CKEDITOR.dom.element( name, this );
+
+			if ( attribsAndStyles )
+			{
+				if ( attribsAndStyles.attributes )
+					element.setAttributes( attribsAndStyles.attributes );
+
+				if ( attribsAndStyles.styles )
+					element.setStyles( attribsAndStyles.styles );
+			}
+
+			return element;
+		},
+
+		createText : function( text )
+		{
+			return new CKEDITOR.dom.text( text, this );
+		},
+
+		focus : function()
+		{
+			this.getWindow().focus();
+		},
+
+		/**
+		 * Gets and element based on its id.
+		 * @param {String} elementId The element id.
+		 * @returns {CKEDITOR.dom.element} The element instance, or null if not found.
+		 * @example
+		 * var element = <b>CKEDITOR.document.getById( 'myElement' )</b>;
+		 * alert( element.getId() );  // "myElement"
+		 */
+		getById : function( elementId )
+		{
+			var $ = this.$.getElementById( elementId );
+			return $ ? new CKEDITOR.dom.element( $ ) : null;
+		},
+
+		getByAddress : function( address, normalized )
+		{
+			var $ = this.$.documentElement;
+
+			for ( var i = 0 ; $ && i < address.length ; i++ )
+			{
+				var target = address[ i ];
+
+				if ( !normalized )
+				{
+					$ = $.childNodes[ target ];
+					continue;
+				}
+
+				var currentIndex = -1;
+
+				for (var j = 0 ; j < $.childNodes.length ; j++ )
+				{
+					var candidate = $.childNodes[ j ];
+
+					if ( normalized === true &&
+							candidate.nodeType == 3 &&
+							candidate.previousSibling &&
+							candidate.previousSibling.nodeType == 3 )
+					{
+						continue;
+					}
+
+					currentIndex++;
+
+					if ( currentIndex == target )
+					{
+						$ = candidate;
+						break;
+					}
+				}
+			}
+
+			return $ ? new CKEDITOR.dom.node( $ ) : null;
+		},
+
+		getElementsByTag : function( tagName, namespace )
+		{
+			if ( !CKEDITOR.env.ie && namespace )
+				tagName = namespace + ':' + tagName;
+			return new CKEDITOR.dom.nodeList( this.$.getElementsByTagName( tagName ) );
+		},
+
+		/**
+		 * Gets the &lt;head&gt; element for this document.
+		 * @returns {CKEDITOR.dom.element} The &lt;head&gt; element.
+		 * @example
+		 * var element = <b>CKEDITOR.document.getHead()</b>;
+		 * alert( element.getName() );  // "head"
+		 */
+		getHead : function()
+		{
+			var head = this.$.getElementsByTagName( 'head' )[0];
+			head = new CKEDITOR.dom.element( head );
+
+			return (
+			/** @ignore */
+			this.getHead = function()
+				{
+					return head;
+				})();
+		},
+
+		/**
+		 * Gets the &lt;body&gt; element for this document.
+		 * @returns {CKEDITOR.dom.element} The &lt;body&gt; element.
+		 * @example
+		 * var element = <b>CKEDITOR.document.getBody()</b>;
+		 * alert( element.getName() );  // "body"
+		 */
+		getBody : function()
+		{
+			var body = new CKEDITOR.dom.element( this.$.body );
+
+			return (
+			/** @ignore */
+			this.getBody = function()
+				{
+					return body;
+				})();
+		},
+
+		getDocumentElement : function()
+		{
+			var documentElement = new CKEDITOR.dom.element( this.$.documentElement );
+
+			return (
+			/** @ignore */
+			this.getDocumentElement = function()
+				{
+					return documentElement;
+				})();
+		},
+
+		/**
+		 * Gets the window object that holds this document.
+		 * @returns {CKEDITOR.dom.window} The window object.
+		 * @example
+		 */
+		getWindow : function()
+		{
+			var win = new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView );
+
+			return (
+			/** @ignore */
+			this.getWindow = function()
+				{
+					return win;
+				})();
+		}
+	});
Index: CKEditor/branches/features/aria/_source/core/dom/documentfragment.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/documentfragment.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/documentfragment.js	(revision 4888)
@@ -0,0 +1,49 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+/**
+ * DocumentFragment is a "lightweight" or "minimal" Document object. It is
+ * commonly used to extract a portion of a document's tree or to create a new
+ * fragment of a document. Various operations may take DocumentFragment objects
+ * as arguments and results in all the child nodes of the DocumentFragment being
+ * moved to the child list of this node.
+ *
+ * @param {Object} ownerDocument
+ */
+CKEDITOR.dom.documentFragment = function( ownerDocument )
+{
+	ownerDocument = ownerDocument || CKEDITOR.document;
+	this.$ = ownerDocument.$.createDocumentFragment();
+};
+
+CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype,
+	CKEDITOR.dom.element.prototype,
+	{
+		type : CKEDITOR.NODE_DOCUMENT_FRAGMENT,
+		insertAfterNode : function( node )
+		{
+			node = node.$;
+			node.parentNode.insertBefore( this.$, node.nextSibling );
+		}
+	},
+	true,
+	{
+		'append' : 1,
+		'appendBogus' : 1,
+		'getFirst' : 1,
+		'getLast' : 1,
+		'appendTo' : 1,
+		'moveChildren' : 1,
+		'insertBefore' : 1,
+		'insertAfterNode' : 1,
+		'replace' : 1,
+		'trim' : 1,
+		'type' : 1,
+		'ltrim' : 1,
+		'rtrim' : 1,
+		'getDocument' : 1,
+		'getChildCount' : 1,
+		'getChild' : 1,
+		'getChildren' : 1
+	} );
Index: CKEditor/branches/features/aria/_source/core/dom/domobject.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/domobject.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/domobject.js	(revision 4888)
@@ -0,0 +1,204 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.editor} class, which is the base
+ *		for other classes representing DOM objects.
+ */
+
+/**
+ * Represents a DOM object. This class is not intended to be used directly. It
+ * serves as the base class for other classes representing specific DOM
+ * objects.
+ * @constructor
+ * @param {Object} nativeDomObject A native DOM object.
+ * @augments CKEDITOR.event
+ * @example
+ */
+CKEDITOR.dom.domObject = function( nativeDomObject )
+{
+	if ( nativeDomObject )
+	{
+		/**
+		 * The native DOM object represented by this class instance.
+		 * @type Object
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'span' );
+		 * alert( element.$.nodeType );  // "1"
+		 */
+		this.$ = nativeDomObject;
+	}
+};
+
+CKEDITOR.dom.domObject.prototype = (function()
+{
+	// Do not define other local variables here. We want to keep the native
+	// listener closures as clean as possible.
+
+	var getNativeListener = function( domObject, eventName )
+	{
+		return function( domEvent )
+		{
+			// In FF, when reloading the page with the editor focused, it may
+			// throw an error because the CKEDITOR global is not anymore
+			// available. So, we check it here first. (#2923)
+			if ( typeof CKEDITOR != 'undefined' )
+				domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
+		};
+	};
+
+	return /** @lends CKEDITOR.dom.domObject.prototype */ {
+
+		getPrivate : function()
+		{
+			var priv;
+
+			// Get the main private function from the custom data. Create it if not
+			// defined.
+			if ( !( priv = this.getCustomData( '_' ) ) )
+				this.setCustomData( '_', ( priv = {} ) );
+
+			return priv;
+		},
+
+		/** @ignore */
+		on  : function( eventName )
+		{
+			// We customize the "on" function here. The basic idea is that we'll have
+			// only one listener for a native event, which will then call all listeners
+			// set to the event.
+
+			// Get the listeners holder object.
+			var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
+
+			if ( !nativeListeners )
+			{
+				nativeListeners = {};
+				this.setCustomData( '_cke_nativeListeners', nativeListeners );
+			}
+
+			// Check if we have a listener for that event.
+			if ( !nativeListeners[ eventName ] )
+			{
+				var listener = nativeListeners[ eventName ] = getNativeListener( this, eventName );
+
+				if ( this.$.addEventListener )
+					this.$.addEventListener( eventName, listener, !!CKEDITOR.event.useCapture );
+				else if ( this.$.attachEvent )
+					this.$.attachEvent( 'on' + eventName, listener );
+			}
+
+			// Call the original implementation.
+			return CKEDITOR.event.prototype.on.apply( this, arguments );
+		},
+
+		/** @ignore */
+		removeListener : function( eventName )
+		{
+			// Call the original implementation.
+			CKEDITOR.event.prototype.removeListener.apply( this, arguments );
+
+			// If we don't have listeners for this event, clean the DOM up.
+			if ( !this.hasListeners( eventName ) )
+			{
+				var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
+				var listener = nativeListeners && nativeListeners[ eventName ];
+				if ( listener )
+				{
+					if ( this.$.removeEventListener )
+						this.$.removeEventListener( eventName, listener, false );
+					else if ( this.$.detachEvent )
+						this.$.detachEvent( 'on' + eventName, listener );
+
+					delete nativeListeners[ eventName ];
+				}
+			}
+		}
+	};
+})();
+
+(function( domObjectProto )
+{
+	var customData = {};
+
+	/**
+	 * Determines whether the specified object is equal to the current object.
+	 * @name CKEDITOR.dom.domObject.prototype.equals
+	 * @function
+	 * @param {Object} object The object to compare with the current object.
+	 * @returns {Boolean} "true" if the object is equal.
+	 * @example
+	 * var doc = new CKEDITOR.dom.document( document );
+	 * alert( doc.equals( CKEDITOR.document ) );  // "true"
+	 * alert( doc == CKEDITOR.document );         // "false"
+	 */
+	domObjectProto.equals = function( object )
+	{
+		return ( object && object.$ === this.$ );
+	};
+
+	/**
+	 * Sets a data slot value for this object. These values are shared by all
+	 * instances pointing to that same DOM object.
+	 * @name CKEDITOR.dom.domObject.prototype.setCustomData
+	 * @function
+	 * @param {String} key A key used to identify the data slot.
+	 * @param {Object} value The value to set to the data slot.
+	 * @returns {CKEDITOR.dom.domObject} This DOM object instance.
+	 * @see CKEDITOR.dom.domObject.prototype.getCustomData
+	 * @example
+	 * var element = new CKEDITOR.dom.element( 'span' );
+	 * element.setCustomData( 'hasCustomData', true );
+	 */
+	domObjectProto.setCustomData = function( key, value )
+	{
+		var expandoNumber = this.getUniqueId(),
+			dataSlot = customData[ expandoNumber ] || ( customData[ expandoNumber ] = {} );
+
+		dataSlot[ key ] = value;
+
+		return this;
+	};
+
+	/**
+	 * Gets the value set to a data slot in this object.
+	 * @name CKEDITOR.dom.domObject.prototype.getCustomData
+	 * @function
+	 * @param {String} key The key used to identify the data slot.
+	 * @returns {Object} This value set to the data slot.
+	 * @see CKEDITOR.dom.domObject.prototype.setCustomData
+	 * @example
+	 * var element = new CKEDITOR.dom.element( 'span' );
+	 * alert( element.getCustomData( 'hasCustomData' ) );  // e.g. 'true'
+	 */
+	domObjectProto.getCustomData = function( key )
+	{
+		var expandoNumber = this.$._cke_expando,
+			dataSlot = expandoNumber && customData[ expandoNumber ];
+
+		return dataSlot && dataSlot[ key ];
+	};
+
+	domObjectProto.removeCustomData = function( key )
+	{
+		var expandoNumber = this.$._cke_expando,
+			dataSlot = expandoNumber && customData[ expandoNumber ],
+			retval = dataSlot && dataSlot[ key ];
+
+		if ( typeof retval != 'undefined' )
+			delete dataSlot[ key ];
+
+		return retval || null;
+	};
+
+	domObjectProto.getUniqueId = function()
+	{
+		return this.$._cke_expando || ( this.$._cke_expando = CKEDITOR.tools.getNextNumber() );
+	};
+
+	// Implement CKEDITOR.event.
+	CKEDITOR.event.implementOn( domObjectProto );
+
+})( CKEDITOR.dom.domObject.prototype );
Index: CKEditor/branches/features/aria/_source/core/dom/element.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/element.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/element.js	(revision 4888)
@@ -0,0 +1,1431 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.element} class, which
+ *		represents a DOM element.
+ */
+
+/**
+ * Represents a DOM element.
+ * @constructor
+ * @augments CKEDITOR.dom.node
+ * @param {Object|String} element A native DOM element or the element name for
+ *		new elements.
+ * @param {CKEDITOR.dom.document} [ownerDocument] The document that will contain
+ *		the element in case of element creation.
+ * @example
+ * // Create a new &lt;span&gt; element.
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * @example
+ * // Create an element based on a native DOM element.
+ * var element = new CKEDITOR.dom.element( document.getElementById( 'myId' ) );
+ */
+CKEDITOR.dom.element = function( element, ownerDocument )
+{
+	if ( typeof element == 'string' )
+		element = ( ownerDocument ? ownerDocument.$ : document ).createElement( element );
+
+	// Call the base constructor (we must not call CKEDITOR.dom.node).
+	CKEDITOR.dom.domObject.call( this, element );
+};
+
+// PACKAGER_RENAME( CKEDITOR.dom.element )
+
+/**
+ * The the {@link CKEDITOR.dom.element} representing and element. If the
+ * element is a native DOM element, it will be transformed into a valid
+ * CKEDITOR.dom.element object.
+ * @returns {CKEDITOR.dom.element} The transformed element.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( element == <b>CKEDITOR.dom.element.get( element )</b> );  "true"
+ * @example
+ * var element = document.getElementById( 'myElement' );
+ * alert( <b>CKEDITOR.dom.element.get( element )</b>.getName() );  e.g. "p"
+ */
+CKEDITOR.dom.element.get = function( element )
+{
+	return element && ( element.$ ? element : new CKEDITOR.dom.element( element ) );
+};
+
+CKEDITOR.dom.element.prototype = new CKEDITOR.dom.node();
+
+/**
+ * Creates an instance of the {@link CKEDITOR.dom.element} class based on the
+ * HTML representation of an element.
+ * @param {String} html The element HTML. It should define only one element in
+ *		the "root" level. The "root" element can have child nodes, but not
+ *		siblings.
+ * @returns {CKEDITOR.dom.element} The element instance.
+ * @example
+ * var element = <b>CKEDITOR.dom.element.createFromHtml( '&lt;strong class="anyclass"&gt;My element&lt;/strong&gt;' )</b>;
+ * alert( element.getName() );  // "strong"
+ */
+CKEDITOR.dom.element.createFromHtml = function( html, ownerDocument )
+{
+	var temp = new CKEDITOR.dom.element( 'div', ownerDocument );
+	temp.setHtml( html );
+
+	// When returning the node, remove it from its parent to detach it.
+	return temp.getFirst().remove();
+};
+
+CKEDITOR.dom.element.setMarker = function( database, element, name, value )
+{
+	var id = element.getCustomData( 'list_marker_id' ) ||
+			( element.setCustomData( 'list_marker_id', CKEDITOR.tools.getNextNumber() ).getCustomData( 'list_marker_id' ) ),
+		markerNames = element.getCustomData( 'list_marker_names' ) ||
+			( element.setCustomData( 'list_marker_names', {} ).getCustomData( 'list_marker_names' ) );
+	database[id] = element;
+	markerNames[name] = 1;
+
+	return element.setCustomData( name, value );
+};
+
+CKEDITOR.dom.element.clearAllMarkers = function( database )
+{
+	for ( var i in database )
+		CKEDITOR.dom.element.clearMarkers( database, database[i], true );
+};
+
+CKEDITOR.dom.element.clearMarkers = function( database, element, removeFromDatabase )
+{
+	var names = element.getCustomData( 'list_marker_names' ),
+		id = element.getCustomData( 'list_marker_id' );
+	for ( var i in names )
+		element.removeCustomData( i );
+	element.removeCustomData( 'list_marker_names' );
+	if ( removeFromDatabase )
+	{
+		element.removeCustomData( 'list_marker_id' );
+		delete database[id];
+	}
+};
+
+CKEDITOR.tools.extend( CKEDITOR.dom.element.prototype,
+	/** @lends CKEDITOR.dom.element.prototype */
+	{
+		/**
+		 * The node type. This is a constant value set to
+		 * {@link CKEDITOR.NODE_ELEMENT}.
+		 * @type Number
+		 * @example
+		 */
+		type : CKEDITOR.NODE_ELEMENT,
+
+		/**
+		 * Adds a CSS class to the element. It appends the class to the
+		 * already existing names.
+		 * @param {String} className The name of the class to be added.
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'div' );
+		 * element.addClass( 'classA' );  // &lt;div class="classA"&gt;
+		 * element.addClass( 'classB' );  // &lt;div class="classA classB"&gt;
+		 * element.addClass( 'classA' );  // &lt;div class="classA classB"&gt;
+		 */
+		addClass : function( className )
+		{
+			var c = this.$.className;
+			if ( c )
+			{
+				var regex = new RegExp( '(?:^|\\s)' + className + '(?:\\s|$)', '' );
+				if ( !regex.test( c ) )
+					c += ' ' + className;
+			}
+			this.$.className = c || className;
+		},
+
+		/**
+		 * Removes a CSS class name from the elements classes. Other classes
+		 * remain untouched.
+		 * @param {String} className The name of the class to remove.
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'div' );
+		 * element.addClass( 'classA' );  // &lt;div class="classA"&gt;
+		 * element.addClass( 'classB' );  // &lt;div class="classA classB"&gt;
+		 * element.removeClass( 'classA' );  // &lt;div class="classB"&gt;
+		 * element.removeClass( 'classB' );  // &lt;div&gt;
+		 */
+		removeClass : function( className )
+		{
+			var c = this.getAttribute( 'class' );
+			if ( c )
+			{
+				var regex = new RegExp( '(?:^|\\s+)' + className + '(?=\\s|$)', 'i' );
+				if ( regex.test( c ) )
+				{
+					c = c.replace( regex, '' ).replace( /^\s+/, '' );
+
+					if ( c )
+						this.setAttribute( 'class', c );
+					else
+						this.removeAttribute( 'class' );
+				}
+			}
+		},
+
+		hasClass : function( className )
+		{
+			var regex = new RegExp( '(?:^|\\s+)' + className + '(?=\\s|$)', '' );
+			return regex.test( this.getAttribute('class') );
+		},
+
+		/**
+		 * Append a node as a child of this element.
+		 * @param {CKEDITOR.dom.node|String} node The node or element name to be
+		 *		appended.
+		 * @param {Boolean} [toStart] Indicates that the element is to be
+		 *		appended at the start.
+		 * @returns {CKEDITOR.dom.node} The appended node.
+		 * @example
+		 * var p = new CKEDITOR.dom.element( 'p' );
+		 *
+		 * var strong = new CKEDITOR.dom.element( 'strong' );
+		 * <b>p.append( strong );</b>
+		 *
+		 * var em = <b>p.append( 'em' );</b>
+		 *
+		 * // result: "&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;"
+		 */
+		append : function( node, toStart )
+		{
+			if ( typeof node == 'string' )
+				node = this.getDocument().createElement( node );
+
+			if ( toStart )
+				this.$.insertBefore( node.$, this.$.firstChild );
+			else
+				this.$.appendChild( node.$ );
+
+			return node;
+		},
+
+		appendHtml : function( html )
+		{
+			if ( !this.$.childNodes.length )
+				this.setHtml( html );
+			else
+			{
+				var temp = new CKEDITOR.dom.element( 'div', this.getDocument() );
+				temp.setHtml( html );
+				temp.moveChildren( this );
+			}
+		},
+
+		/**
+		 * Append text to this element.
+		 * @param {String} text The text to be appended.
+		 * @returns {CKEDITOR.dom.node} The appended node.
+		 * @example
+		 * var p = new CKEDITOR.dom.element( 'p' );
+		 * p.appendText( 'This is' );
+		 * p.appendText( ' some text' );
+		 *
+		 * // result: "&lt;p&gt;This is some text&lt;/p&gt;"
+		 */
+		appendText : function( text )
+		{
+			if ( this.$.text != undefined )
+				this.$.text += text;
+			else
+				this.append( new CKEDITOR.dom.text( text ) );
+		},
+
+		appendBogus : function()
+		{
+			var lastChild = this.getLast() ;
+
+			// Ignore empty/spaces text.
+			while ( lastChild && lastChild.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.rtrim( lastChild.getText() ) )
+				lastChild = lastChild.getPrevious();
+			if ( !lastChild || !lastChild.is || !lastChild.is( 'br' ) )
+			{
+				this.append(
+					CKEDITOR.env.opera ?
+						this.getDocument().createText('') :
+						this.getDocument().createElement( 'br' ) );
+			}
+		},
+
+		/**
+		 * Breaks one of the ancestor element in the element position, moving
+		 * this element between the broken parts.
+		 * @param {CKEDITOR.dom.element} parent The anscestor element to get broken.
+		 * @example
+		 * // Before breaking:
+		 * //     &lt;b&gt;This &lt;i&gt;is some&lt;span /&gt; sample&lt;/i&gt; test text&lt;/b&gt;
+		 * // If "element" is &lt;span /&gt; and "parent" is &lt;i&gt;:
+		 * //     &lt;b&gt;This &lt;i&gt;is some&lt;/i&gt;&lt;span /&gt;&lt;i&gt; sample&lt;/i&gt; test text&lt;/b&gt;
+		 * element.breakParent( parent );
+		 * @example
+		 * // Before breaking:
+		 * //     &lt;b&gt;This &lt;i&gt;is some&lt;span /&gt; sample&lt;/i&gt; test text&lt;/b&gt;
+		 * // If "element" is &lt;span /&gt; and "parent" is &lt;b&gt;:
+		 * //     &lt;b&gt;This &lt;i&gt;is some&lt;/i&gt;&lt;/b&gt;&lt;span /&gt;&lt;b&gt;&lt;i&gt; sample&lt;/i&gt; test text&lt;/b&gt;
+		 * element.breakParent( parent );
+		 */
+		breakParent : function( parent )
+		{
+			var range = new CKEDITOR.dom.range( this.getDocument() );
+
+			// We'll be extracting part of this element, so let's use our
+			// range to get the correct piece.
+			range.setStartAfter( this );
+			range.setEndAfter( parent );
+
+			// Extract it.
+			var docFrag = range.extractContents();
+
+			// Move the element outside the broken element.
+			range.insertNode( this.remove() );
+
+			// Re-insert the extracted piece after the element.
+			docFrag.insertAfterNode( this );
+		},
+
+		contains :
+			CKEDITOR.env.ie || CKEDITOR.env.webkit ?
+				function( node )
+				{
+					var $ = this.$;
+
+					return node.type != CKEDITOR.NODE_ELEMENT ?
+						$.contains( node.getParent().$ ) :
+						$ != node.$ && $.contains( node.$ );
+				}
+			:
+				function( node )
+				{
+					return !!( this.$.compareDocumentPosition( node.$ ) & 16 );
+				},
+
+		/**
+		 * Moves the selection focus to this element.
+		 * @example
+		 * var element = CKEDITOR.document.getById( 'myTextarea' );
+		 * <b>element.focus()</b>;
+		 */
+		focus : function()
+		{
+			// IE throws error if the element is not visible.
+			try
+			{
+				this.$.focus();
+			}
+			catch (e)
+			{}
+		},
+
+		/**
+		 * Gets the inner HTML of this element.
+		 * @returns {String} The inner HTML of this element.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;div&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/div&gt;' );
+		 * alert( <b>p.getHtml()</b> );  // "&lt;b&gt;Example&lt;/b&gt;"
+		 */
+		getHtml : function()
+		{
+			var retval = this.$.innerHTML;
+			// Strip <?xml:namespace> tags in IE. (#3341).
+			return CKEDITOR.env.ie ? retval.replace( /<\?[^>]*>/g, '' ) : retval;
+		},
+
+		getOuterHtml : function()
+		{
+			if ( this.$.outerHTML )
+			{
+				// IE includes the <?xml:namespace> tag in the outerHTML of
+				// namespaced element. So, we must strip it here. (#3341)
+				return this.$.outerHTML.replace( /<\?[^>]*>/, '' );
+			}
+
+			var tmpDiv = this.$.ownerDocument.createElement( 'div' );
+			tmpDiv.appendChild( this.$.cloneNode( true ) );
+			return tmpDiv.innerHTML;
+		},
+
+		/**
+		 * Sets the inner HTML of this element.
+		 * @param {String} html The HTML to be set for this element.
+		 * @returns {String} The inserted HTML.
+		 * @example
+		 * var p = new CKEDITOR.dom.element( 'p' );
+		 * <b>p.setHtml( '&lt;b&gt;Inner&lt;/b&gt; HTML' );</b>
+		 *
+		 * // result: "&lt;p&gt;&lt;b&gt;Inner&lt;/b&gt; HTML&lt;/p&gt;"
+		 */
+		setHtml : function( html )
+		{
+			return ( this.$.innerHTML = html );
+		},
+
+		/**
+		 * Sets the element contents as plain text.
+		 * @param {String} text The text to be set.
+		 * @returns {String} The inserted text.
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'div' );
+		 * element.setText( 'A > B & C < D' );
+		 * alert( element.innerHTML );  // "A &amp;gt; B &amp;amp; C &amp;lt; D"
+		 */
+		setText : function( text )
+		{
+			CKEDITOR.dom.element.prototype.setText = ( this.$.innerText != undefined ) ?
+				function ( text )
+				{
+					return this.$.innerText = text;
+				} :
+				function ( text )
+				{
+					return this.$.textContent = text;
+				};
+
+			return this.setText( text );
+		},
+
+		/**
+		 * Gets the value of an element attribute.
+		 * @function
+		 * @param {String} name The attribute name.
+		 * @returns {String} The attribute value or null if not defined.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;input type="text" /&gt;' );
+		 * alert( <b>element.getAttribute( 'type' )</b> );  // "text"
+		 */
+		getAttribute : (function()
+		{
+			var standard = function( name )
+			{
+				return this.$.getAttribute( name, 2 );
+			};
+
+			if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+			{
+				return function( name )
+				{
+					switch ( name )
+					{
+						case 'class':
+							name = 'className';
+							break;
+
+						case 'tabindex':
+							var tabIndex = standard.call( this, name );
+
+							// IE returns tabIndex=0 by default for all
+							// elements. For those elements,
+							// getAtrribute( 'tabindex', 2 ) returns 32768
+							// instead. So, we must make this check to give a
+							// uniform result among all browsers.
+							if ( tabIndex !== 0 && this.$.tabIndex === 0 )
+								tabIndex = null;
+
+							return tabIndex;
+							break;
+
+						case 'checked':
+						{
+							var attr = this.$.attributes.getNamedItem( name ),
+								attrValue = attr.specified ? attr.nodeValue     // For value given by parser.
+															 : this.$.checked;  // For value created via DOM interface.
+
+							return attrValue ? 'checked' : null;
+						}
+
+						case 'hspace':
+							return this.$.hspace;
+
+						case 'style':
+							// IE does not return inline styles via getAttribute(). See #2947.
+							return this.$.style.cssText;
+					}
+
+					return standard.call( this, name );
+				};
+			}
+			else
+				return standard;
+		})(),
+
+		getChildren : function()
+		{
+			return new CKEDITOR.dom.nodeList( this.$.childNodes );
+		},
+
+		/**
+		 * Gets the current computed value of one of the element CSS style
+		 * properties.
+		 * @function
+		 * @param {String} propertyName The style property name.
+		 * @returns {String} The property value.
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'span' );
+		 * alert( <b>element.getComputedStyle( 'display' )</b> );  // "inline"
+		 */
+		getComputedStyle :
+			CKEDITOR.env.ie ?
+				function( propertyName )
+				{
+					return this.$.currentStyle[ CKEDITOR.tools.cssStyleToDomStyle( propertyName ) ];
+				}
+			:
+				function( propertyName )
+				{
+					return this.getWindow().$.getComputedStyle( this.$, '' ).getPropertyValue( propertyName );
+				},
+
+		/**
+		 * Gets the DTD entries for this element.
+		 * @returns {Object} An object containing the list of elements accepted
+		 *		by this element.
+		 */
+		getDtd : function()
+		{
+			var dtd = CKEDITOR.dtd[ this.getName() ];
+
+			this.getDtd = function()
+			{
+				return dtd;
+			};
+
+			return dtd;
+		},
+
+		getElementsByTag : CKEDITOR.dom.document.prototype.getElementsByTag,
+
+		/**
+		 * Gets the computed tabindex for this element.
+		 * @function
+		 * @returns {Number} The tabindex value.
+		 * @example
+		 * var element = CKEDITOR.document.getById( 'myDiv' );
+		 * alert( <b>element.getTabIndex()</b> );  // e.g. "-1"
+		 */
+		getTabIndex :
+			CKEDITOR.env.ie ?
+				function()
+				{
+					var tabIndex = this.$.tabIndex;
+
+					// IE returns tabIndex=0 by default for all elements. In
+					// those cases we must check that the element really has
+					// the tabindex attribute set to zero, or it is one of
+					// those element that should have zero by default.
+					if ( tabIndex === 0 && !CKEDITOR.dtd.$tabIndex[ this.getName() ] && parseInt( this.getAttribute( 'tabindex' ), 10 ) !== 0 )
+						tabIndex = -1;
+
+						return tabIndex;
+				}
+			: CKEDITOR.env.webkit ?
+				function()
+				{
+					var tabIndex = this.$.tabIndex;
+
+					// Safari returns "undefined" for elements that should not
+					// have tabindex (like a div). So, we must try to get it
+					// from the attribute.
+					// https://bugs.webkit.org/show_bug.cgi?id=20596
+					if ( tabIndex == undefined )
+					{
+						tabIndex = parseInt( this.getAttribute( 'tabindex' ), 10 );
+
+						// If the element don't have the tabindex attribute,
+						// then we should return -1.
+						if ( isNaN( tabIndex ) )
+							tabIndex = -1;
+					}
+
+					return tabIndex;
+				}
+			:
+				function()
+				{
+					return this.$.tabIndex;
+				},
+
+		/**
+		 * Gets the text value of this element.
+		 *
+		 * Only in IE (which uses innerText), &lt;br&gt; will cause linebreaks,
+		 * and sucessive whitespaces (including line breaks) will be reduced to
+		 * a single space. This behavior is ok for us, for now. It may change
+		 * in the future.
+		 * @returns {String} The text value.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;div&gt;Same &lt;i&gt;text&lt;/i&gt;.&lt;/div&gt;' );
+		 * alert( <b>element.getText()</b> );  // "Sample text."
+		 */
+		getText : function()
+		{
+			return this.$.textContent || this.$.innerText || '';
+		},
+
+		/**
+		 * Gets the window object that contains this element.
+		 * @returns {CKEDITOR.dom.window} The window object.
+		 * @example
+		 */
+		getWindow : function()
+		{
+			return this.getDocument().getWindow();
+		},
+
+		/**
+		 * Gets the value of the "id" attribute of this element.
+		 * @returns {String} The element id, or null if not available.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;p id="myId"&gt;&lt;/p&gt;' );
+		 * alert( <b>element.getId()</b> );  // "myId"
+		 */
+		getId : function()
+		{
+			return this.$.id || null;
+		},
+
+		/**
+		 * Gets the value of the "name" attribute of this element.
+		 * @returns {String} The element name, or null if not available.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;input name="myName"&gt;&lt;/input&gt;' );
+		 * alert( <b>element.getNameAtt()</b> );  // "myName"
+		 */
+		getNameAtt : function()
+		{
+			return this.$.name || null;
+		},
+
+		/**
+		 * Gets the element name (tag name). The returned name is guaranteed to
+		 * be always full lowercased.
+		 * @returns {String} The element name.
+		 * @example
+		 * var element = new CKEDITOR.dom.element( 'span' );
+		 * alert( <b>element.getName()</b> );  // "span"
+		 */
+		getName : function()
+		{
+			// Cache the lowercased name inside a closure.
+			var nodeName = this.$.nodeName.toLowerCase();
+
+			if ( CKEDITOR.env.ie )
+			{
+				var scopeName = this.$.scopeName;
+				if ( scopeName != 'HTML' )
+					nodeName = scopeName.toLowerCase() + ':' + nodeName;
+			}
+
+			return (
+			/** @ignore */
+			this.getName = function()
+				{
+					return nodeName;
+				})();
+		},
+
+		/**
+		 * Gets the value set to this element. This value is usually available
+		 * for form field elements.
+		 * @returns {String} The element value.
+		 */
+		getValue : function()
+		{
+			return this.$.value;
+		},
+
+		/**
+		 * Gets the first child node of this element.
+		 * @param {Function} evaluator Filtering the result node.
+		 * @returns {CKEDITOR.dom.node} The first child node or null if not
+		 *		available.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;div&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/div&gt;' );
+		 * var first = <b>element.getFirst()</b>;
+		 * alert( first.getName() );  // "b"
+		 */
+		getFirst : function( evaluator )
+		{
+			var first = this.$.firstChild,
+				retval = first && new CKEDITOR.dom.node( first );
+			if ( retval && evaluator && !evaluator( retval ) )
+				retval = retval.getNext( evaluator );
+
+			return retval;
+		},
+
+		/**
+		 * @param {Function} evaluator Filtering the result node.
+		 */
+		getLast : function( evaluator )
+		{
+			var last = this.$.lastChild,
+				retval = last && new CKEDITOR.dom.node( last );
+			if ( retval && evaluator && !evaluator( retval ) )
+				retval = retval.getPrevious( evaluator );
+
+			return retval;
+		},
+
+		getStyle : function( name )
+		{
+			return this.$.style[ CKEDITOR.tools.cssStyleToDomStyle( name ) ];
+		},
+
+		/**
+		 * Checks if the element name matches one or more names.
+		 * @param {String} name[,name[,...]] One or more names to be checked.
+		 * @returns {Boolean} true if the element name matches any of the names.
+		 * @example
+		 * var element = new CKEDITOR.element( 'span' );
+		 * alert( <b>element.is( 'span' )</b> );  "true"
+		 * alert( <b>element.is( 'p', 'span' )</b> );  "true"
+		 * alert( <b>element.is( 'p' )</b> );  "false"
+		 * alert( <b>element.is( 'p', 'div' )</b> );  "false"
+		 */
+		is : function()
+		{
+			var name = this.getName();
+			for ( var i = 0 ; i < arguments.length ; i++ )
+			{
+				if ( arguments[ i ] == name )
+					return true;
+			}
+			return false;
+		},
+
+		isEditable : function()
+		{
+			// Get the element name.
+			var name = this.getName();
+
+			// Get the element DTD (defaults to span for unknown elements).
+			var dtd = !CKEDITOR.dtd.$nonEditable[ name ]
+						&& ( CKEDITOR.dtd[ name ] || CKEDITOR.dtd.span );
+
+			// In the DTD # == text node.
+			return ( dtd && dtd['#'] );
+		},
+
+		isIdentical : function( otherElement )
+		{
+			if ( this.getName() != otherElement.getName() )
+				return false;
+
+			var thisAttribs = this.$.attributes,
+				otherAttribs = otherElement.$.attributes;
+
+			var thisLength = thisAttribs.length,
+				otherLength = otherAttribs.length;
+
+			if ( !CKEDITOR.env.ie && thisLength != otherLength )
+				return false;
+
+			for ( var i = 0 ; i < thisLength ; i++ )
+			{
+				var attribute = thisAttribs[ i ];
+
+				if ( ( !CKEDITOR.env.ie || ( attribute.specified && attribute.nodeName != '_cke_expando' ) ) && attribute.nodeValue != otherElement.getAttribute( attribute.nodeName ) )
+					return false;
+			}
+
+			// For IE, we have to for both elements, because it's difficult to
+			// know how the atttibutes collection is organized in its DOM.
+			if ( CKEDITOR.env.ie )
+			{
+				for ( i = 0 ; i < otherLength ; i++ )
+				{
+					attribute = otherAttribs[ i ];
+					if ( attribute.specified && attribute.nodeName != '_cke_expando'
+							&& attribute.nodeValue != this.getAttribute( attribute.nodeName ) )
+						return false;
+				}
+			}
+
+			return true;
+		},
+
+		/**
+		 * Checks if this element is visible. May not work if the element is
+		 * child of an element with visibility set to "hidden", but works well
+		 * on the great majority of cases.
+		 * @return {Boolean} True if the element is visible.
+		 */
+		isVisible : function()
+		{
+			var isVisible = !!this.$.offsetHeight && this.getComputedStyle( 'visibility' ) != 'hidden',
+				elementWindow,
+				elementWindowFrame;
+
+			// Webkit and Opera report non-zero offsetHeight despite that
+			// element is inside an invisible iframe. (#4542)
+			if ( isVisible && ( CKEDITOR.env.webkit || CKEDITOR.env.opera ) )
+			{
+				elementWindow = this.getWindow();
+
+				if ( !elementWindow.equals( CKEDITOR.document.getWindow() )
+						&& ( elementWindowFrame = elementWindow.$.frameElement ) )
+				{
+					isVisible = new CKEDITOR.dom.element( elementWindowFrame ).isVisible();
+				}
+			}
+
+			return isVisible;
+		},
+
+		/**
+		 * Indicates that the element has defined attributes.
+		 * @returns {Boolean} True if the element has attributes.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '<div title="Test">Example</div>' );
+		 * alert( <b>element.hasAttributes()</b> );  "true"
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '<div>Example</div>' );
+		 * alert( <b>element.hasAttributes()</b> );  "false"
+		 */
+		hasAttributes :
+			CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) ?
+				function()
+				{
+					var attributes = this.$.attributes;
+
+					for ( var i = 0 ; i < attributes.length ; i++ )
+					{
+						var attribute = attributes[i];
+
+						switch ( attribute.nodeName )
+						{
+							case 'class' :
+								// IE has a strange bug. If calling removeAttribute('className'),
+								// the attributes collection will still contain the "class"
+								// attribute, which will be marked as "specified", even if the
+								// outerHTML of the element is not displaying the class attribute.
+								// Note : I was not able to reproduce it outside the editor,
+								// but I've faced it while working on the TC of #1391.
+								if ( this.getAttribute( 'class' ) )
+									return true;
+
+							// Attributes to be ignored.
+							case '_cke_expando' :
+								continue;
+
+							/*jsl:fallthru*/
+
+							default :
+								if ( attribute.specified )
+									return true;
+						}
+					}
+
+					return false;
+				}
+			:
+				function()
+				{
+					var attributes = this.$.attributes;
+					return ( attributes.length > 1 || ( attributes.length == 1 && attributes[0].nodeName != '_cke_expando' ) );
+				},
+
+		/**
+		 * Indicates whether a specified attribute is defined for this element.
+		 * @returns {Boolean} True if the specified attribute is defined.
+		 * @param (String) name The attribute name.
+		 * @example
+		 */
+		hasAttribute : function( name )
+		{
+			var $attr = this.$.attributes.getNamedItem( name );
+			return !!( $attr && $attr.specified );
+		},
+
+		/**
+		 * Hides this element (display:none).
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.hide()</b>;
+		 */
+		hide : function()
+		{
+			this.setStyle( 'display', 'none' );
+		},
+
+		moveChildren : function( target, toStart )
+		{
+			var $ = this.$;
+			target = target.$;
+
+			if ( $ == target )
+				return;
+
+			var child;
+
+			if ( toStart )
+			{
+				while ( ( child = $.lastChild ) )
+					target.insertBefore( $.removeChild( child ), target.firstChild );
+			}
+			else
+			{
+				while ( ( child = $.firstChild ) )
+					target.appendChild( $.removeChild( child ) );
+			}
+		},
+
+		/**
+		 * Shows this element (display it).
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.show()</b>;
+		 */
+		show : function()
+		{
+			this.setStyles(
+				{
+					display : '',
+					visibility : ''
+				});
+		},
+
+		/**
+		 * Sets the value of an element attribute.
+		 * @param {String} name The name of the attribute.
+		 * @param {String} value The value to be set to the attribute.
+		 * @function
+		 * @returns {CKEDITOR.dom.element} This element instance.
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.setAttribute( 'class', 'myClass' )</b>;
+		 * <b>element.setAttribute( 'title', 'This is an example' )</b>;
+		 */
+		setAttribute : (function()
+		{
+			var standard = function( name, value )
+			{
+				this.$.setAttribute( name, value );
+				return this;
+			};
+
+			if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+			{
+				return function( name, value )
+				{
+					if ( name == 'class' )
+						this.$.className = value;
+					else if ( name == 'style' )
+						this.$.style.cssText = value;
+					else if ( name == 'tabindex' )	// Case sensitive.
+						this.$.tabIndex = value;
+					else if ( name == 'checked' )
+						this.$.checked = value;
+					else
+						standard.apply( this, arguments );
+					return this;
+				};
+			}
+			else
+				return standard;
+		})(),
+
+		/**
+		 * Sets the value of several element attributes.
+		 * @param {Object} attributesPairs An object containing the names and
+		 *		values of the attributes.
+		 * @returns {CKEDITOR.dom.element} This element instance.
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.setAttributes({
+		 *     'class' : 'myClass',
+		 *     'title' : 'This is an example' })</b>;
+		 */
+		setAttributes : function( attributesPairs )
+		{
+			for ( var name in attributesPairs )
+				this.setAttribute( name, attributesPairs[ name ] );
+			return this;
+		},
+
+		/**
+		 * Sets the element value. This function is usually used with form
+		 * field element.
+		 * @param {String} value The element value.
+		 * @returns {CKEDITOR.dom.element} This element instance.
+		 */
+		setValue : function( value )
+		{
+			this.$.value = value;
+			return this;
+		},
+
+		/**
+		 * Removes an attribute from the element.
+		 * @param {String} name The attribute name.
+		 * @function
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '<div class="classA"></div>' );
+		 * element.removeAttribute( 'class' );
+		 */
+		removeAttribute : (function()
+		{
+			var standard = function( name )
+			{
+				this.$.removeAttribute( name );
+			};
+
+			if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+			{
+				return function( name )
+				{
+					if ( name == 'class' )
+						name = 'className';
+					else if ( name == 'tabindex' )
+						name = 'tabIndex';
+					standard.call( this, name );
+				};
+			}
+			else
+				return standard;
+		})(),
+
+		removeAttributes : function ( attributes )
+		{
+			for ( var i = 0 ; i < attributes.length ; i++ )
+				this.removeAttribute( attributes[ i ] );
+		},
+
+		/**
+		 * Removes a style from the element.
+		 * @param {String} name The style name.
+		 * @function
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '<div style="display:none"></div>' );
+		 * element.removeStyle( 'display' );
+		 */
+		removeStyle : function( name )
+		{
+			this.setStyle( name, '' );
+			if ( this.$.style.removeAttribute )
+				this.$.style.removeAttribute( CKEDITOR.tools.cssStyleToDomStyle( name ) );
+
+			if ( !this.$.style.cssText )
+				this.removeAttribute( 'style' );
+		},
+
+		/**
+		 * Sets the value of an element style.
+		 * @param {String} name The name of the style. The CSS naming notation
+		 *		must be used (e.g. "background-color").
+		 * @param {String} value The value to be set to the style.
+		 * @returns {CKEDITOR.dom.element} This element instance.
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.setStyle( 'background-color', '#ff0000' )</b>;
+		 * <b>element.setStyle( 'margin-top', '10px' )</b>;
+		 * <b>element.setStyle( 'float', 'right' )</b>;
+		 */
+		setStyle : function( name, value )
+		{
+			this.$.style[ CKEDITOR.tools.cssStyleToDomStyle( name ) ] = value;
+			return this;
+		},
+
+		/**
+		 * Sets the value of several element styles.
+		 * @param {Object} stylesPairs An object containing the names and
+		 *		values of the styles.
+		 * @returns {CKEDITOR.dom.element} This element instance.
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.setStyles({
+		 *     'position' : 'absolute',
+		 *     'float' : 'right' })</b>;
+		 */
+		setStyles : function( stylesPairs )
+		{
+			for ( var name in stylesPairs )
+				this.setStyle( name, stylesPairs[ name ] );
+			return this;
+		},
+
+		/**
+		 * Sets the opacity of an element.
+		 * @param {Number} opacity A number within the range [0.0, 1.0].
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * <b>element.setOpacity( 0.75 )</b>;
+		 */
+		setOpacity : function( opacity )
+		{
+			if ( CKEDITOR.env.ie )
+			{
+				opacity = Math.round( opacity * 100 );
+				this.setStyle( 'filter', opacity >= 100 ? '' : 'progid:DXImageTransform.Microsoft.Alpha(opacity=' + opacity + ')' );
+			}
+			else
+				this.setStyle( 'opacity', opacity );
+		},
+
+		/**
+		 * Makes the element and its children unselectable.
+		 * @function
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'myElement' );
+		 * element.unselectable();
+		 */
+		unselectable :
+			CKEDITOR.env.gecko ?
+				function()
+				{
+					this.$.style.MozUserSelect = 'none';
+				}
+			: CKEDITOR.env.webkit ?
+				function()
+				{
+					this.$.style.KhtmlUserSelect = 'none';
+				}
+			:
+				function()
+				{
+					if ( CKEDITOR.env.ie || CKEDITOR.env.opera )
+					{
+						var element = this.$,
+							e,
+							i = 0;
+
+						element.unselectable = 'on';
+
+						while ( ( e = element.all[ i++ ] ) )
+						{
+							switch ( e.tagName.toLowerCase() )
+							{
+								case 'iframe' :
+								case 'textarea' :
+								case 'input' :
+								case 'select' :
+									/* Ignore the above tags */
+									break;
+								default :
+									e.unselectable = 'on';
+							}
+						}
+					}
+				},
+
+		getPositionedAncestor : function()
+		{
+			var current = this;
+			while ( current.getName() != 'html' )
+			{
+				if ( current.getComputedStyle( 'position' ) != 'static' )
+					return current;
+
+				current = current.getParent();
+			}
+			return null;
+		},
+
+		getDocumentPosition : function( refDocument )
+		{
+			var x = 0, y = 0,
+				body = this.getDocument().getBody(),
+				quirks = this.getDocument().$.compatMode == 'BackCompat';
+
+			var doc = this.getDocument();
+
+			if ( document.documentElement[ "getBoundingClientRect" ] )
+			{
+				var box  = this.$.getBoundingClientRect(),
+					$doc = doc.$,
+					$docElem = $doc.documentElement;
+
+				var clientTop = $docElem.clientTop || body.$.clientTop || 0,
+					clientLeft = $docElem.clientLeft || body.$.clientLeft || 0,
+					needAdjustScrollAndBorders = true;
+
+				/*
+				 * #3804: getBoundingClientRect() works differently on IE and non-IE
+				 * browsers, regarding scroll positions.
+				 *
+				 * On IE, the top position of the <html> element is always 0, no matter
+				 * how much you scrolled down.
+				 *
+				 * On other browsers, the top position of the <html> element is negative
+				 * scrollTop.
+				 */
+				if ( CKEDITOR.env.ie )
+				{
+					var inDocElem = doc.getDocumentElement().contains( this ),
+						inBody = doc.getBody().contains( this );
+
+					needAdjustScrollAndBorders = ( quirks && inBody ) || ( !quirks && inDocElem );
+				}
+
+				if ( needAdjustScrollAndBorders )
+				{
+					x = box.left + ( !quirks && $docElem.scrollLeft || body.$.scrollLeft );
+					x -= clientLeft;
+					y = box.top  + ( !quirks && $docElem.scrollTop || body.$.scrollTop );
+					y -= clientTop;
+				}
+			}
+			else
+ 			{
+				var current = this, previous = null, offsetParent;
+				while ( current && !( current.getName() == 'body' || current.getName() == 'html' ) )
+				{
+					x += current.$.offsetLeft - current.$.scrollLeft;
+					y += current.$.offsetTop - current.$.scrollTop;
+
+					// Opera includes clientTop|Left into offsetTop|Left.
+					if ( !current.equals( this ) )
+					{
+						x += ( current.$.clientLeft || 0 );
+						y += ( current.$.clientTop || 0 );
+					}
+
+					var scrollElement = previous;
+					while ( scrollElement && !scrollElement.equals( current ) )
+					{
+						x -= scrollElement.$.scrollLeft;
+						y -= scrollElement.$.scrollTop;
+						scrollElement = scrollElement.getParent();
+					}
+
+					previous = current;
+					current = ( offsetParent = current.$.offsetParent ) ?
+					          new CKEDITOR.dom.element( offsetParent ) : null;
+				}
+			}
+
+			if ( refDocument )
+			{
+				var currentWindow = this.getWindow(),
+					refWindow = refDocument.getWindow();
+
+				if ( !currentWindow.equals( refWindow ) && currentWindow.$.frameElement )
+				{
+					var iframePosition = ( new CKEDITOR.dom.element( currentWindow.$.frameElement ) ).getDocumentPosition( refDocument );
+
+					x += iframePosition.x;
+					y += iframePosition.y;
+				}
+			}
+
+			if ( !document.documentElement[ "getBoundingClientRect" ] )
+			{
+				// In Firefox, we'll endup one pixel before the element positions,
+				// so we must add it here.
+				if ( CKEDITOR.env.gecko && !quirks )
+				{
+					x += this.$.clientLeft ? 1 : 0;
+					y += this.$.clientTop ? 1 : 0;
+				}
+			}
+
+			return { x : x, y : y };
+		},
+
+		scrollIntoView : function( alignTop )
+		{
+			// Get the element window.
+			var win = this.getWindow(),
+				winHeight = win.getViewPaneSize().height;
+
+			// Starts from the offset that will be scrolled with the negative value of
+			// the visible window height.
+			var offset = winHeight * -1;
+
+			// Append the view pane's height if align to top.
+			// Append element height if we are aligning to the bottom.
+			if ( alignTop )
+				offset += winHeight;
+			else
+			{
+				offset += this.$.offsetHeight || 0;
+
+				// Consider the margin in the scroll, which is ok for our current needs, but
+				// needs investigation if we will be using this function in other places.
+				offset += parseInt( this.getComputedStyle( 'marginBottom' ) || 0, 10 ) || 0;
+			}
+
+			// Append the offsets for the entire element hierarchy.
+			var elementPosition = this.getDocumentPosition();
+			offset += elementPosition.y;
+
+			// offset value might be out of range(nagative), fix it(#3692).
+			offset = offset < 0 ? 0 : offset;
+
+			// Scroll the window to the desired position, if not already visible(#3795).
+			var currentScroll = win.getScrollPosition().y;
+			if ( offset > currentScroll || offset < currentScroll - winHeight )
+				win.$.scrollTo( 0, offset );
+		},
+
+		setState : function( state )
+		{
+			switch ( state )
+			{
+				case CKEDITOR.TRISTATE_ON :
+					this.addClass( 'cke_on' );
+					this.removeClass( 'cke_off' );
+					this.removeClass( 'cke_disabled' );
+					break;
+				case CKEDITOR.TRISTATE_DISABLED :
+					this.addClass( 'cke_disabled' );
+					this.removeClass( 'cke_off' );
+					this.removeClass( 'cke_on' );
+					break;
+				default :
+					this.addClass( 'cke_off' );
+					this.removeClass( 'cke_on' );
+					this.removeClass( 'cke_disabled' );
+					break;
+			}
+		},
+
+		/**
+		 * Returns the inner document of this IFRAME element.
+		 * @returns {CKEDITOR.dom.document} The inner document.
+		 */
+		getFrameDocument : function()
+		{
+			var $ = this.$;
+
+			try
+			{
+				// In IE, with custom document.domain, it may happen that
+				// the iframe is not yet available, resulting in "Access
+				// Denied" for the following property access.
+				$.contentWindow.document;
+			}
+			catch ( e )
+			{
+				// Trick to solve this issue, forcing the iframe to get ready
+				// by simply setting its "src" property.
+				$.src = $.src;
+
+				// In IE6 though, the above is not enough, so we must pause the
+				// execution for a while, giving it time to think.
+				if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+				{
+					window.showModalDialog(
+						'javascript:document.write("' +
+							'<script>' +
+								'window.setTimeout(' +
+									'function(){window.close();}' +
+									',50);' +
+							'</script>")' );
+				}
+			}
+
+			return $ && new CKEDITOR.dom.document( $.contentWindow.document );
+		},
+
+		/**
+		 * Copy all the attributes from one node to the other, kinda like a clone
+		 * skipAttributes is an object with the attributes that must NOT be copied.
+		 * @param {CKEDITOR.dom.element} dest The destination element.
+		 * @param {Object} skipAttributes A dictionary of attributes to skip.
+		 * @example
+		 */
+		copyAttributes : function( dest, skipAttributes )
+		{
+			var attributes = this.$.attributes;
+			skipAttributes = skipAttributes || {};
+
+			for ( var n = 0 ; n < attributes.length ; n++ )
+			{
+				var attribute = attributes[n];
+
+				// Lowercase attribute name hard rule is broken for
+				// some attribute on IE, e.g. CHECKED.
+				var attrName = attribute.nodeName.toLowerCase(),
+					attrValue;
+
+				// We can set the type only once, so do it with the proper value, not copying it.
+				if ( attrName in skipAttributes )
+					continue;
+
+				if( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
+					dest.setAttribute( attrName, attrValue );
+				// IE BUG: value attribute is never specified even if it exists.
+				else if ( attribute.specified ||
+				  ( CKEDITOR.env.ie && attribute.nodeValue && attrName == 'value' ) )
+				{
+					attrValue = this.getAttribute( attrName );
+					if ( attrValue === null )
+						attrValue = attribute.nodeValue;
+
+					dest.setAttribute( attrName, attrValue );
+				}
+			}
+
+			// The style:
+			if ( this.$.style.cssText !== '' )
+				dest.$.style.cssText = this.$.style.cssText;
+		},
+
+		/**
+		 * Changes the tag name of the current element.
+		 * @param {String} newTag The new tag for the element.
+		 */
+		renameNode : function( newTag )
+		{
+			// If it's already correct exit here.
+			if ( this.getName() == newTag )
+				return;
+
+			var doc = this.getDocument();
+
+			// Create the new node.
+			var newNode = new CKEDITOR.dom.element( newTag, doc );
+
+			// Copy all attributes.
+			this.copyAttributes( newNode );
+
+			// Move children to the new node.
+			this.moveChildren( newNode );
+
+			// Replace the node.
+			this.$.parentNode.replaceChild( newNode.$, this.$ );
+			newNode.$._cke_expando = this.$._cke_expando;
+			this.$ = newNode.$;
+		},
+
+		/**
+		 * Gets a DOM tree descendant under the current node.
+		 * @param {Array|Number} indices The child index or array of child indices under the node.
+		 * @returns {CKEDITOR.dom.node} The specified DOM child under the current node. Null if child does not exist.
+		 * @example
+		 * var strong = p.getChild(0);
+		 */
+		getChild : function( indices )
+		{
+			var rawNode = this.$;
+
+			if ( !indices.slice )
+				rawNode = rawNode.childNodes[ indices ];
+			else
+			{
+				while ( indices.length > 0 && rawNode )
+					rawNode = rawNode.childNodes[ indices.shift() ];
+			}
+
+			return rawNode ? new CKEDITOR.dom.node( rawNode ) : null;
+		},
+
+		getChildCount : function()
+		{
+			return this.$.childNodes.length;
+ 		},
+
+		disableContextMenu : function()
+		{
+			this.on( 'contextmenu', function( event )
+				{
+					// Cancel the browser context menu.
+					if ( !event.data.getTarget().hasClass( 'cke_enable_context_menu' ) )
+						event.data.preventDefault();
+				} );
+		}
+	});
Index: CKEditor/branches/features/aria/_source/core/dom/elementpath.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/elementpath.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/elementpath.js	(revision 4888)
@@ -0,0 +1,104 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	// 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,de: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 };
+
+	// Check if an element contains any block element.
+	var checkHasBlock = function( element )
+	{
+		var childNodes = element.getChildren();
+
+		for ( var i = 0, count = childNodes.count() ; i < count ; i++ )
+		{
+			var child = childNodes.getItem( i );
+
+			if ( child.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$block[ child.getName() ] )
+				return true;
+		}
+
+		return false;
+	};
+
+	CKEDITOR.dom.elementPath = function( lastNode )
+	{
+		var block = null;
+		var blockLimit = null;
+		var elements = [];
+
+		var e = lastNode;
+
+		while ( e )
+		{
+			if ( e.type == CKEDITOR.NODE_ELEMENT )
+			{
+				if ( !this.lastElement )
+					this.lastElement = e;
+
+				var elementName = e.getName();
+				if ( CKEDITOR.env.ie && e.$.scopeName != 'HTML' )
+					elementName = e.$.scopeName.toLowerCase() + ':' + elementName;
+
+				if ( !blockLimit )
+				{
+					if ( !block && pathBlockElements[ elementName ] )
+						block = e;
+
+					if ( pathBlockLimitElements[ elementName ] )
+					{
+						// DIV is considered the Block, if no block is available (#525)
+						// and if it doesn't contain other blocks.
+						if ( !block && elementName == 'div' && !checkHasBlock( e ) )
+							block = e;
+						else
+							blockLimit = e;
+					}
+				}
+
+				elements.push( e );
+
+				if ( elementName == 'body' )
+					break;
+			}
+			e = e.getParent();
+		}
+
+		this.block = block;
+		this.blockLimit = blockLimit;
+		this.elements = elements;
+	};
+})();
+
+CKEDITOR.dom.elementPath.prototype =
+{
+	/**
+	 * Compares this element path with another one.
+	 * @param {CKEDITOR.dom.elementPath} otherPath The elementPath object to be
+	 * compared with this one.
+	 * @returns {Boolean} "true" if the paths are equal, containing the same
+	 * number of elements and the same elements in the same order.
+	 */
+	compare : function( otherPath )
+	{
+		var thisElements = this.elements;
+		var otherElements = otherPath && otherPath.elements;
+
+		if ( !otherElements || thisElements.length != otherElements.length )
+			return false;
+
+		for ( var i = 0 ; i < thisElements.length ; i++ )
+		{
+			if ( !thisElements[ i ].equals( otherElements[ i ] ) )
+				return false;
+		}
+
+		return true;
+	}
+};
Index: CKEditor/branches/features/aria/_source/core/dom/event.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/event.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/event.js	(revision 4888)
@@ -0,0 +1,142 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.event} class, which
+ *		represents the a native DOM event object.
+ */
+
+/**
+ * Represents a native DOM event object.
+ * @constructor
+ * @param {Object} domEvent A native DOM event object.
+ * @example
+ */
+CKEDITOR.dom.event = function( domEvent )
+{
+	/**
+	 * The native DOM event object represented by this class instance.
+	 * @type Object
+	 * @example
+	 */
+	this.$ = domEvent;
+};
+
+CKEDITOR.dom.event.prototype =
+{
+	/**
+	 * Gets the key code associated to the event.
+	 * @returns {Number} The key code.
+	 * @example
+	 * alert( event.getKey() );  "65" is "a" has been pressed
+	 */
+	getKey : function()
+	{
+		return this.$.keyCode || this.$.which;
+	},
+
+	/**
+	 * Gets a number represeting the combination of the keys pressed during the
+	 * event. It is the sum with the current key code and the {@link CKEDITOR.CTRL},
+	 * {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT} constants.
+	 * @returns {Number} The number representing the keys combination.
+	 * @example
+	 * alert( event.getKeystroke() == 65 );                                   // "a" key
+	 * alert( event.getKeystroke() == CKEDITOR.CTRL + 65 );                   // CTRL + "a" key
+	 * alert( event.getKeystroke() == CKEDITOR.CTRL + CKEDITOR.SHIFT + 65 );  // CTRL + SHIFT + "a" key
+	 */
+	getKeystroke : function()
+	{
+		var keystroke = this.getKey();
+
+		if ( this.$.ctrlKey || this.$.metaKey )
+			keystroke += CKEDITOR.CTRL;
+
+		if ( this.$.shiftKey )
+			keystroke += CKEDITOR.SHIFT;
+
+		if ( this.$.altKey )
+			keystroke += CKEDITOR.ALT;
+
+		return keystroke;
+	},
+
+	/**
+	 * Prevents the original behavior of the event to happen. It can optionally
+	 * stop propagating the event in the event chain.
+	 * @param {Boolean} [stopPropagation] Stop propagating this event in the
+	 *		event chain.
+	 * @example
+	 * var element = CKEDITOR.document.getById( 'myElement' );
+	 * element.on( 'click', function( ev )
+	 *     {
+	 *         // The DOM event object is passed by the "data" property.
+	 *         var domEvent = ev.data;
+	 *         // Prevent the click to chave any effect in the element.
+	 *         domEvent.preventDefault();
+	 *     });
+	 */
+	preventDefault : function( stopPropagation )
+	{
+		var $ = this.$;
+		if ( $.preventDefault )
+			$.preventDefault();
+		else
+			$.returnValue = false;
+
+		if ( stopPropagation )
+			this.stopPropagation();
+	},
+
+	stopPropagation : function()
+	{
+		var $ = this.$;
+		if ( $.stopPropagation )
+			$.stopPropagation();
+		else
+			$.cancelBubble = true;
+	},
+
+	/**
+	 * Returns the DOM node where the event was targeted to.
+	 * @returns {CKEDITOR.dom.node} The target DOM node.
+	 * @example
+	 * var element = CKEDITOR.document.getById( 'myElement' );
+	 * element.on( 'click', function( ev )
+	 *     {
+	 *         // The DOM event object is passed by the "data" property.
+	 *         var domEvent = ev.data;
+	 *         // Add a CSS class to the event target.
+	 *         domEvent.getTarget().addClass( 'clicked' );
+	 *     });
+	 */
+
+	getTarget : function()
+	{
+		var rawNode = this.$.target || this.$.srcElement;
+		return rawNode ? new CKEDITOR.dom.node( rawNode ) : null;
+	}
+};
+
+/**
+ * CTRL key (1000).
+ * @constant
+ * @example
+ */
+CKEDITOR.CTRL = 1000;
+
+/**
+ * SHIFT key (2000).
+ * @constant
+ * @example
+ */
+CKEDITOR.SHIFT = 2000;
+
+/**
+ * ALT key (4000).
+ * @constant
+ * @example
+ */
+CKEDITOR.ALT = 4000;
Index: CKEditor/branches/features/aria/_source/core/dom/node.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/node.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/node.js	(revision 4888)
@@ -0,0 +1,649 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.node} class, which is the base
+ *		class for classes that represent DOM nodes.
+ */
+
+/**
+ * Base class for classes representing DOM nodes. This constructor may return
+ * and instance of classes that inherits this class, like
+ * {@link CKEDITOR.dom.element} or {@link CKEDITOR.dom.text}.
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domNode A native DOM node.
+ * @constructor
+ * @see CKEDITOR.dom.element
+ * @see CKEDITOR.dom.text
+ * @example
+ */
+CKEDITOR.dom.node = function( domNode )
+{
+	if ( domNode )
+	{
+		switch ( domNode.nodeType )
+		{
+			case CKEDITOR.NODE_ELEMENT :
+				return new CKEDITOR.dom.element( domNode );
+
+			case CKEDITOR.NODE_TEXT :
+				return new CKEDITOR.dom.text( domNode );
+		}
+
+		// Call the base constructor.
+		CKEDITOR.dom.domObject.call( this, domNode );
+	}
+
+	return this;
+};
+
+CKEDITOR.dom.node.prototype = new CKEDITOR.dom.domObject();
+
+/**
+ * Element node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_ELEMENT = 1;
+
+/**
+ * Text node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_TEXT = 3;
+
+/**
+ * Comment node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_COMMENT = 8;
+
+CKEDITOR.NODE_DOCUMENT_FRAGMENT = 11;
+
+CKEDITOR.POSITION_IDENTICAL = 0;
+CKEDITOR.POSITION_DISCONNECTED = 1;
+CKEDITOR.POSITION_FOLLOWING = 2;
+CKEDITOR.POSITION_PRECEDING = 4;
+CKEDITOR.POSITION_IS_CONTAINED = 8;
+CKEDITOR.POSITION_CONTAINS = 16;
+
+CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype,
+	/** @lends CKEDITOR.dom.node.prototype */
+	{
+		/**
+		 * Makes this node child of another element.
+		 * @param {CKEDITOR.dom.element} element The target element to which append
+		 *		this node.
+		 * @returns {CKEDITOR.dom.element} The target element.
+		 * @example
+		 * var p = new CKEDITOR.dom.element( 'p' );
+		 * var strong = new CKEDITOR.dom.element( 'strong' );
+		 * strong.appendTo( p );
+		 *
+		 * // result: "&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;"
+		 */
+		appendTo : function( element, toStart )
+		{
+			element.append( this, toStart );
+			return element;
+		},
+
+		clone : function( includeChildren, cloneId )
+		{
+			var $clone = this.$.cloneNode( includeChildren );
+
+			if ( !cloneId )
+			{
+				var removeIds = function( node )
+				{
+					if ( node.nodeType != CKEDITOR.NODE_ELEMENT )
+						return;
+
+					node.removeAttribute( 'id', false ) ;
+					node.removeAttribute( '_cke_expando', false ) ;
+
+					var childs = node.childNodes;
+					for ( var i=0 ; i < childs.length ; i++ )
+						removeIds( childs[ i ] );
+				};
+
+				// The "id" attribute should never be cloned to avoid duplication.
+				removeIds( $clone );
+			}
+
+			return new CKEDITOR.dom.node( $clone );
+		},
+
+		hasPrevious : function()
+		{
+			return !!this.$.previousSibling;
+		},
+
+		hasNext : function()
+		{
+			return !!this.$.nextSibling;
+		},
+
+		/**
+		 * Inserts this element after a node.
+		 * @param {CKEDITOR.dom.node} node The that will preceed this element.
+		 * @returns {CKEDITOR.dom.node} The node preceeding this one after
+		 *		insertion.
+		 * @example
+		 * var em = new CKEDITOR.dom.element( 'em' );
+		 * var strong = new CKEDITOR.dom.element( 'strong' );
+		 * strong.insertAfter( em );
+		 *
+		 * // result: "&lt;em&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt;"
+		 */
+		insertAfter : function( node )
+		{
+			node.$.parentNode.insertBefore( this.$, node.$.nextSibling );
+			return node;
+		},
+
+		/**
+		 * Inserts this element before a node.
+		 * @param {CKEDITOR.dom.node} node The that will be after this element.
+		 * @returns {CKEDITOR.dom.node} The node being inserted.
+		 * @example
+		 * var em = new CKEDITOR.dom.element( 'em' );
+		 * var strong = new CKEDITOR.dom.element( 'strong' );
+		 * strong.insertBefore( em );
+		 *
+		 * // result: "&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;"
+		 */
+		insertBefore : function( node )
+		{
+			node.$.parentNode.insertBefore( this.$, node.$ );
+			return node;
+		},
+
+		insertBeforeMe : function( node )
+		{
+			this.$.parentNode.insertBefore( node.$, this.$ );
+			return node;
+		},
+
+		/**
+		 * Retrieves a uniquely identifiable tree address for this node.
+		 * The tree address returns is an array of integers, with each integer
+		 * indicating a child index of a DOM node, starting from
+		 * document.documentElement.
+		 *
+		 * For example, assuming <body> is the second child from <html> (<head>
+		 * being the first), and we'd like to address the third child under the
+		 * fourth child of body, the tree address returned would be:
+		 * [1, 3, 2]
+		 *
+		 * The tree address cannot be used for finding back the DOM tree node once
+		 * the DOM tree structure has been modified.
+		 */
+		getAddress : function( normalized )
+		{
+			var address = [];
+			var $documentElement = this.getDocument().$.documentElement;
+			var node = this.$;
+
+			while ( node && node != $documentElement )
+			{
+				var parentNode = node.parentNode;
+				var currentIndex = -1;
+
+				for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
+				{
+					var candidate = parentNode.childNodes[i];
+
+					if ( normalized &&
+							candidate.nodeType == 3 &&
+							candidate.previousSibling &&
+							candidate.previousSibling.nodeType == 3 )
+					{
+						continue;
+					}
+
+					currentIndex++;
+
+					if ( candidate == node )
+						break;
+				}
+
+				address.unshift( currentIndex );
+
+				node = node.parentNode;
+			}
+
+			return address;
+		},
+
+		/**
+		 * Gets the document containing this element.
+		 * @returns {CKEDITOR.dom.document} The document.
+		 * @example
+		 * var element = CKEDITOR.document.getById( 'example' );
+		 * alert( <b>element.getDocument().equals( CKEDITOR.document )</b> );  // "true"
+		 */
+		getDocument : function()
+		{
+			var document = new CKEDITOR.dom.document( this.$.ownerDocument || this.$.parentNode.ownerDocument );
+
+			return (
+			/** @ignore */
+			this.getDocument = function()
+				{
+					return document;
+				})();
+		},
+
+		getIndex : function()
+		{
+			var $ = this.$;
+
+			var currentNode = $.parentNode && $.parentNode.firstChild;
+			var currentIndex = -1;
+
+			while ( currentNode )
+			{
+				currentIndex++;
+
+				if ( currentNode == $ )
+					return currentIndex;
+
+				currentNode = currentNode.nextSibling;
+			}
+
+			return -1;
+		},
+
+		getNextSourceNode : function( startFromSibling, nodeType, guard )
+		{
+			// If "guard" is a node, transform it in a function.
+			if ( guard && !guard.call )
+			{
+				var guardNode = guard;
+				guard = function( node )
+				{
+					return !node.equals( guardNode );
+				};
+			}
+
+			var node = ( !startFromSibling && this.getFirst && this.getFirst() ),
+				parent;
+
+			// Guarding when we're skipping the current element( no children or 'startFromSibling' ).
+			// send the 'moving out' signal even we don't actually dive into.
+			if ( !node )
+			{
+				if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
+					return null;
+				node = this.getNext();
+			}
+
+			while ( !node && ( parent = ( parent || this ).getParent() ) )
+			{
+				// The guard check sends the "true" paramenter to indicate that
+				// we are moving "out" of the element.
+				if ( guard && guard( parent, true ) === false )
+					return null;
+
+				node = parent.getNext();
+			}
+
+			if ( !node )
+				return null;
+
+			if ( guard && guard( node ) === false )
+				return null;
+
+			if ( nodeType && nodeType != node.type )
+				return node.getNextSourceNode( false, nodeType, guard );
+
+			return node;
+		},
+
+		getPreviousSourceNode : function( startFromSibling, nodeType, guard )
+		{
+			if ( guard && !guard.call )
+			{
+				var guardNode = guard;
+				guard = function( node )
+				{
+					return !node.equals( guardNode );
+				};
+			}
+
+			var node = ( !startFromSibling && this.getLast && this.getLast() ),
+				parent;
+
+			// Guarding when we're skipping the current element( no children or 'startFromSibling' ).
+			// send the 'moving out' signal even we don't actually dive into.
+			if ( !node )
+			{
+				if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
+					return null;
+				node = this.getPrevious();
+			}
+
+			while ( !node && ( parent = ( parent || this ).getParent() ) )
+			{
+				// The guard check sends the "true" paramenter to indicate that
+				// we are moving "out" of the element.
+				if ( guard && guard( parent, true ) === false )
+					return null;
+
+				node = parent.getPrevious();
+			}
+
+			if ( !node )
+				return null;
+
+			if ( guard && guard( node ) === false )
+				return null;
+
+			if ( nodeType && node.type != nodeType )
+				return node.getPreviousSourceNode( false, nodeType, guard );
+
+			return node;
+		},
+
+		getPrevious : function( evaluator )
+		{
+			var previous = this.$, retval;
+			do
+			{
+				previous = previous.previousSibling;
+				retval = previous && new CKEDITOR.dom.node( previous );
+			}
+			while ( retval && evaluator && !evaluator( retval ) )
+			return retval;
+		},
+
+		/**
+		 * Gets the node that follows this element in its parent's child list.
+		 * @param {Function} evaluator Filtering the result node.
+		 * @returns {CKEDITOR.dom.node} The next node or null if not available.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;div&gt;&lt;b&gt;Example&lt;/b&gt; &lt;i&gt;next&lt;/i&gt;&lt;/div&gt;' );
+		 * var first = <b>element.getFirst().getNext()</b>;
+		 * alert( first.getName() );  // "i"
+		 */
+		getNext : function( evaluator )
+		{
+			var next = this.$, retval;
+			do
+			{
+				next = next.nextSibling;
+				retval = next && new CKEDITOR.dom.node( next );
+			}
+			while ( retval && evaluator && !evaluator( retval ) )
+			return retval;
+		},
+
+		/**
+		 * Gets the parent element for this node.
+		 * @returns {CKEDITOR.dom.element} The parent element.
+		 * @example
+		 * var node = editor.document.getBody().getFirst();
+		 * var parent = node.<b>getParent()</b>;
+		 * alert( node.getName() );  // "body"
+		 */
+		getParent : function()
+		{
+			var parent = this.$.parentNode;
+			return ( parent && parent.nodeType == 1 ) ? new CKEDITOR.dom.node( parent ) : null;
+		},
+
+		getParents : function( closerFirst )
+		{
+			var node = this;
+			var parents = [];
+
+			do
+			{
+				parents[  closerFirst ? 'push' : 'unshift' ]( node );
+			}
+			while ( ( node = node.getParent() ) )
+
+			return parents;
+		},
+
+		getCommonAncestor : function( node )
+		{
+			if ( node.equals( this ) )
+				return this;
+
+			if ( node.contains && node.contains( this ) )
+				return node;
+
+			var start = this.contains ? this : this.getParent();
+
+			do
+			{
+				if ( start.contains( node ) )
+					return start;
+			}
+			while ( ( start = start.getParent() ) );
+
+			return null;
+		},
+
+		getPosition : function( otherNode )
+		{
+			var $ = this.$;
+			var $other = otherNode.$;
+
+			if ( $.compareDocumentPosition )
+				return $.compareDocumentPosition( $other );
+
+			// IE and Safari have no support for compareDocumentPosition.
+
+			if ( $ == $other )
+				return CKEDITOR.POSITION_IDENTICAL;
+
+			// Only element nodes support contains and sourceIndex.
+			if ( this.type == CKEDITOR.NODE_ELEMENT && otherNode.type == CKEDITOR.NODE_ELEMENT )
+			{
+				if ( $.contains )
+				{
+					if ( $.contains( $other ) )
+						return CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING;
+
+					if ( $other.contains( $ ) )
+						return CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
+				}
+
+				if ( 'sourceIndex' in $ )
+				{
+					return ( $.sourceIndex < 0 || $other.sourceIndex < 0 ) ? CKEDITOR.POSITION_DISCONNECTED :
+						( $.sourceIndex < $other.sourceIndex ) ? CKEDITOR.POSITION_PRECEDING :
+						CKEDITOR.POSITION_FOLLOWING;
+				}
+			}
+
+			// For nodes that don't support compareDocumentPosition, contains
+			// or sourceIndex, their "address" is compared.
+
+			var addressOfThis = this.getAddress(),
+				addressOfOther = otherNode.getAddress(),
+				minLevel = Math.min( addressOfThis.length, addressOfOther.length );
+
+				// Determinate preceed/follow relationship.
+				for ( var i = 0 ; i <= minLevel - 1 ; i++ )
+ 				{
+					if ( addressOfThis[ i ] != addressOfOther[ i ] )
+					{
+						if ( i < minLevel )
+						{
+							return addressOfThis[ i ] < addressOfOther[ i ] ?
+						            CKEDITOR.POSITION_PRECEDING : CKEDITOR.POSITION_FOLLOWING;
+						}
+						break;
+					}
+ 				}
+
+				// Determinate contains/contained relationship.
+				return ( addressOfThis.length < addressOfOther.length ) ?
+							CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING :
+							CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
+		},
+
+		/**
+		 * Gets the closes ancestor node of a specified node name.
+		 * @param {String} name Node name of ancestor node.
+		 * @param {Boolean} includeSelf (Optional) Whether to include the current
+		 * node in the calculation or not.
+		 * @returns {CKEDITOR.dom.node} Ancestor node.
+		 */
+		getAscendant : function( name, includeSelf )
+		{
+			var $ = this.$;
+
+			if ( !includeSelf )
+				$ = $.parentNode;
+
+			while ( $ )
+			{
+				if ( $.nodeName && $.nodeName.toLowerCase() == name )
+					return new CKEDITOR.dom.node( $ );
+
+				$ = $.parentNode;
+			}
+			return null;
+		},
+
+		hasAscendant : function( name, includeSelf )
+		{
+			var $ = this.$;
+
+			if ( !includeSelf )
+				$ = $.parentNode;
+
+			while ( $ )
+			{
+				if ( $.nodeName && $.nodeName.toLowerCase() == name )
+					return true;
+
+				$ = $.parentNode;
+			}
+			return false;
+		},
+
+		move : function( target, toStart )
+		{
+			target.append( this.remove(), toStart );
+		},
+
+		/**
+		 * Removes this node from the document DOM.
+		 * @param {Boolean} [preserveChildren] Indicates that the children
+		 *		elements must remain in the document, removing only the outer
+		 *		tags.
+		 * @example
+		 * var element = CKEDITOR.dom.element.getById( 'MyElement' );
+		 * <b>element.remove()</b>;
+		 */
+		remove : function( preserveChildren )
+		{
+			var $ = this.$;
+			var parent = $.parentNode;
+
+			if ( parent )
+			{
+				if ( preserveChildren )
+				{
+					// Move all children before the node.
+					for ( var child ; ( child = $.firstChild ) ; )
+					{
+						parent.insertBefore( $.removeChild( child ), $ );
+					}
+				}
+
+				parent.removeChild( $ );
+			}
+
+			return this;
+		},
+
+		replace : function( nodeToReplace )
+		{
+			this.insertBefore( nodeToReplace );
+			nodeToReplace.remove();
+		},
+
+		trim : function()
+		{
+			this.ltrim();
+			this.rtrim();
+		},
+
+		ltrim : function()
+		{
+			var child;
+			while ( this.getFirst && ( child = this.getFirst() ) )
+			{
+				if ( child.type == CKEDITOR.NODE_TEXT )
+				{
+					var trimmed = CKEDITOR.tools.ltrim( child.getText() ),
+						originalLength = child.getLength();
+
+					if ( !trimmed )
+					{
+						child.remove();
+						continue;
+					}
+					else if ( trimmed.length < originalLength )
+					{
+						child.split( originalLength - trimmed.length );
+
+						// IE BUG: child.remove() may raise JavaScript errors here. (#81)
+						this.$.removeChild( this.$.firstChild );
+					}
+				}
+				break;
+			}
+		},
+
+		rtrim : function()
+		{
+			var child;
+			while ( this.getLast && ( child = this.getLast() ) )
+			{
+				if ( child.type == CKEDITOR.NODE_TEXT )
+				{
+					var trimmed = CKEDITOR.tools.rtrim( child.getText() ),
+						originalLength = child.getLength();
+
+					if ( !trimmed )
+					{
+						child.remove();
+						continue;
+					}
+					else if ( trimmed.length < originalLength )
+					{
+						child.split( trimmed.length );
+
+						// IE BUG: child.getNext().remove() may raise JavaScript errors here.
+						// (#81)
+						this.$.lastChild.parentNode.removeChild( this.$.lastChild );
+					}
+				}
+				break;
+			}
+
+			if ( !CKEDITOR.env.ie && !CKEDITOR.env.opera )
+			{
+				child = this.$.lastChild;
+
+				if ( child && child.type == 1 && child.nodeName.toLowerCase() == 'br' )
+				{
+					// Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#324).
+					child.parentNode.removeChild( child ) ;
+				}
+			}
+		}
+	}
+);
Index: CKEditor/branches/features/aria/_source/core/dom/nodelist.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/nodelist.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/nodelist.js	(revision 4888)
@@ -0,0 +1,23 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dom.nodeList = function( nativeList )
+{
+	this.$ = nativeList;
+};
+
+CKEDITOR.dom.nodeList.prototype =
+{
+	count : function()
+	{
+		return this.$.length;
+	},
+
+	getItem : function( index )
+	{
+		var $node = this.$[ index ];
+		return $node ? new CKEDITOR.dom.node( $node ) : null;
+	}
+};
Index: CKEditor/branches/features/aria/_source/core/dom/range.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/range.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/range.js	(revision 4888)
@@ -0,0 +1,1729 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dom.range = function( document )
+{
+	this.startContainer	= null;
+	this.startOffset	= null;
+	this.endContainer	= null;
+	this.endOffset		= null;
+	this.collapsed		= true;
+
+	this.document = document;
+};
+
+(function()
+{
+	// Updates the "collapsed" property for the given range object.
+	var updateCollapsed = function( range )
+	{
+		range.collapsed = (
+			range.startContainer &&
+			range.endContainer &&
+			range.startContainer.equals( range.endContainer ) &&
+			range.startOffset == range.endOffset );
+	};
+
+	// This is a shared function used to delete, extract and clone the range
+	// contents.
+	// V2
+	var execContentsAction = function( range, action, docFrag )
+	{
+		range.optimizeBookmark();
+
+		var startNode	= range.startContainer;
+		var endNode		= range.endContainer;
+
+		var startOffset	= range.startOffset;
+		var endOffset	= range.endOffset;
+
+		var removeStartNode;
+		var removeEndNode;
+
+		// For text containers, we must simply split the node and point to the
+		// second part. The removal will be handled by the rest of the code .
+		if ( endNode.type == CKEDITOR.NODE_TEXT )
+			endNode = endNode.split( endOffset );
+		else
+		{
+			// If the end container has children and the offset is pointing
+			// to a child, then we should start from it.
+			if ( endNode.getChildCount() > 0 )
+			{
+				// If the offset points after the last node.
+				if ( endOffset >= endNode.getChildCount() )
+				{
+					// Let's create a temporary node and mark it for removal.
+					endNode = endNode.append( range.document.createText( '' ) );
+					removeEndNode = true;
+				}
+				else
+					endNode = endNode.getChild( endOffset );
+			}
+		}
+
+		// For text containers, we must simply split the node. The removal will
+		// be handled by the rest of the code .
+		if ( startNode.type == CKEDITOR.NODE_TEXT )
+		{
+			startNode.split( startOffset );
+
+			// In cases the end node is the same as the start node, the above
+			// splitting will also split the end, so me must move the end to
+			// the second part of the split.
+			if ( startNode.equals( endNode ) )
+				endNode = startNode.getNext();
+		}
+		else
+		{
+			// If the start container has children and the offset is pointing
+			// to a child, then we should start from its previous sibling.
+
+			// If the offset points to the first node, we don't have a
+			// sibling, so let's use the first one, but mark it for removal.
+			if ( !startOffset )
+			{
+				// Let's create a temporary node and mark it for removal.
+				startNode = startNode.getFirst().insertBeforeMe( range.document.createText( '' ) );
+				removeStartNode = true;
+			}
+			else if ( startOffset >= startNode.getChildCount() )
+			{
+				// Let's create a temporary node and mark it for removal.
+				startNode = startNode.append( range.document.createText( '' ) );
+				removeStartNode = true;
+			}
+			else
+				startNode = startNode.getChild( startOffset ).getPrevious();
+		}
+
+		// Get the parent nodes tree for the start and end boundaries.
+		var startParents	= startNode.getParents();
+		var endParents		= endNode.getParents();
+
+		// Compare them, to find the top most siblings.
+		var i, topStart, topEnd;
+
+		for ( i = 0 ; i < startParents.length ; i++ )
+		{
+			topStart = startParents[ i ];
+			topEnd = endParents[ i ];
+
+			// The compared nodes will match until we find the top most
+			// siblings (different nodes that have the same parent).
+			// "i" will hold the index in the parents array for the top
+			// most element.
+			if ( !topStart.equals( topEnd ) )
+				break;
+		}
+
+		var clone = docFrag, levelStartNode, levelClone, currentNode, currentSibling;
+
+		// Remove all successive sibling nodes for every node in the
+		// startParents tree.
+		for ( var j = i ; j < startParents.length ; j++ )
+		{
+			levelStartNode = startParents[j];
+
+			// For Extract and Clone, we must clone this level.
+			if ( clone && !levelStartNode.equals( startNode ) )		// action = 0 = Delete
+				levelClone = clone.append( levelStartNode.clone() );
+
+			currentNode = levelStartNode.getNext();
+
+			while( currentNode )
+			{
+				// Stop processing when the current node matches a node in the
+				// endParents tree or if it is the endNode.
+				if ( currentNode.equals( endParents[ j ] ) || currentNode.equals( endNode ) )
+					break;
+
+				// Cache the next sibling.
+				currentSibling = currentNode.getNext();
+
+				// If cloning, just clone it.
+				if ( action == 2 )	// 2 = Clone
+					clone.append( currentNode.clone( true ) );
+				else
+				{
+					// Both Delete and Extract will remove the node.
+					currentNode.remove();
+
+					// When Extracting, move the removed node to the docFrag.
+					if ( action == 1 )	// 1 = Extract
+						clone.append( currentNode );
+				}
+
+				currentNode = currentSibling;
+			}
+
+			if ( clone )
+				clone = levelClone;
+		}
+
+		clone = docFrag;
+
+		// Remove all previous sibling nodes for every node in the
+		// endParents tree.
+		for ( var k = i ; k < endParents.length ; k++ )
+		{
+			levelStartNode = endParents[ k ];
+
+			// For Extract and Clone, we must clone this level.
+			if ( action > 0 && !levelStartNode.equals( endNode ) )		// action = 0 = Delete
+				levelClone = clone.append( levelStartNode.clone() );
+
+			// The processing of siblings may have already been done by the parent.
+			if ( !startParents[ k ] || levelStartNode.$.parentNode != startParents[ k ].$.parentNode )
+			{
+				currentNode = levelStartNode.getPrevious();
+
+				while( currentNode )
+				{
+					// Stop processing when the current node matches a node in the
+					// startParents tree or if it is the startNode.
+					if ( currentNode.equals( startParents[ k ] ) || currentNode.equals( startNode ) )
+						break;
+
+					// Cache the next sibling.
+					currentSibling = currentNode.getPrevious();
+
+					// If cloning, just clone it.
+					if ( action == 2 )	// 2 = Clone
+						clone.$.insertBefore( currentNode.$.cloneNode( true ), clone.$.firstChild ) ;
+					else
+					{
+						// Both Delete and Extract will remove the node.
+						currentNode.remove();
+
+						// When Extracting, mode the removed node to the docFrag.
+						if ( action == 1 )	// 1 = Extract
+							clone.$.insertBefore( currentNode.$, clone.$.firstChild );
+					}
+
+					currentNode = currentSibling;
+				}
+			}
+
+			if ( clone )
+				clone = levelClone;
+		}
+
+		if ( action == 2 )		// 2 = Clone.
+		{
+			// No changes in the DOM should be done, so fix the split text (if any).
+
+			var startTextNode = range.startContainer;
+			if ( startTextNode.type == CKEDITOR.NODE_TEXT )
+			{
+				startTextNode.$.data += startTextNode.$.nextSibling.data;
+				startTextNode.$.parentNode.removeChild( startTextNode.$.nextSibling );
+			}
+
+			var endTextNode = range.endContainer;
+			if ( endTextNode.type == CKEDITOR.NODE_TEXT && endTextNode.$.nextSibling )
+			{
+				endTextNode.$.data += endTextNode.$.nextSibling.data;
+				endTextNode.$.parentNode.removeChild( endTextNode.$.nextSibling );
+			}
+		}
+		else
+		{
+			// Collapse the range.
+
+			// If a node has been partially selected, collapse the range between
+			// topStart and topEnd. Otherwise, simply collapse it to the start. (W3C specs).
+			if ( topStart && topEnd && ( startNode.$.parentNode != topStart.$.parentNode || endNode.$.parentNode != topEnd.$.parentNode ) )
+			{
+				var endIndex = topEnd.getIndex();
+
+				// If the start node is to be removed, we must correct the
+				// index to reflect the removal.
+				if ( removeStartNode && topEnd.$.parentNode == startNode.$.parentNode )
+					endIndex--;
+
+				range.setStart( topEnd.getParent(), endIndex );
+			}
+
+			// Collapse it to the start.
+			range.collapse( true );
+		}
+
+		// Cleanup any marked node.
+		if( removeStartNode )
+			startNode.remove();
+
+		if( removeEndNode && endNode.$.parentNode )
+			endNode.remove();
+	};
+
+	var inlineChildReqElements = { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 };
+
+	// Creates the appropriate node evaluator for the dom walker used inside
+	// check(Start|End)OfBlock.
+	function getCheckStartEndBlockEvalFunction( isStart )
+	{
+		var hadBr = false, bookmarkEvaluator = CKEDITOR.dom.walker.bookmark( true );
+		return function( node )
+		{
+			// First ignore bookmark nodes.
+			if ( bookmarkEvaluator( node ) )
+				return true;
+
+			if ( node.type == CKEDITOR.NODE_TEXT )
+			{
+				// If there's any visible text, then we're not at the start.
+				if ( CKEDITOR.tools.trim( node.getText() ).length )
+					return false;
+				}
+			else if( node.type == CKEDITOR.NODE_ELEMENT )
+			{
+				// If there are non-empty inline elements (e.g. <img />), then we're not
+				// at the start.
+				if ( !inlineChildReqElements[ node.getName() ] )
+				{
+					// If we're working at the end-of-block, forgive the first <br /> in non-IE
+					// browsers.
+					if ( !isStart && !CKEDITOR.env.ie && node.getName() == 'br' && !hadBr )
+						hadBr = true;
+					else
+						return false;
+				}
+			}
+			return true;
+		};
+	}
+
+	// Evaluator for CKEDITOR.dom.element::checkBoundaryOfElement, reject any
+	// text node and non-empty elements unless it's being bookmark text.
+	function elementBoundaryEval( node )
+	{
+		// Reject any text node unless it's being bookmark
+		// OR it's spaces. (#3883)
+		return node.type != CKEDITOR.NODE_TEXT
+			    && node.getName() in CKEDITOR.dtd.$removeEmpty
+			    || !CKEDITOR.tools.trim( node.getText() )
+			    || node.getParent().hasAttribute( '_fck_bookmark' );
+	}
+
+	var whitespaceEval = new CKEDITOR.dom.walker.whitespaces(),
+		bookmarkEval = new CKEDITOR.dom.walker.bookmark();
+
+	function nonWhitespaceOrBookmarkEval( node )
+	{
+		// Whitespaces and bookmark nodes are to be ignored.
+		return !whitespaceEval( node ) && !bookmarkEval( node );
+	}
+
+	CKEDITOR.dom.range.prototype =
+	{
+		clone : function()
+		{
+			var clone = new CKEDITOR.dom.range( this.document );
+
+			clone.startContainer = this.startContainer;
+			clone.startOffset = this.startOffset;
+			clone.endContainer = this.endContainer;
+			clone.endOffset = this.endOffset;
+			clone.collapsed = this.collapsed;
+
+			return clone;
+		},
+
+		collapse : function( toStart )
+		{
+			if ( toStart )
+			{
+				this.endContainer	= this.startContainer;
+				this.endOffset		= this.startOffset;
+			}
+			else
+			{
+				this.startContainer	= this.endContainer;
+				this.startOffset	= this.endOffset;
+			}
+
+			this.collapsed = true;
+		},
+
+		// The selection may be lost when cloning (due to the splitText() call).
+		cloneContents : function()
+		{
+			var docFrag = new CKEDITOR.dom.documentFragment( this.document );
+
+			if ( !this.collapsed )
+				execContentsAction( this, 2, docFrag );
+
+			return docFrag;
+		},
+
+		deleteContents : function()
+		{
+			if ( this.collapsed )
+				return;
+
+			execContentsAction( this, 0 );
+		},
+
+		extractContents : function()
+		{
+			var docFrag = new CKEDITOR.dom.documentFragment( this.document );
+
+			if ( !this.collapsed )
+				execContentsAction( this, 1, docFrag );
+
+			return docFrag;
+		},
+
+		/**
+		 * Creates a bookmark object, which can be later used to restore the
+		 * range by using the moveToBookmark function.
+		 * This is an "intrusive" way to create a bookmark. It includes <span> tags
+		 * in the range boundaries. The advantage of it is that it is possible to
+		 * handle DOM mutations when moving back to the bookmark.
+		 * Attention: the inclusion of nodes in the DOM is a design choice and
+		 * should not be changed as there are other points in the code that may be
+		 * using those nodes to perform operations. See GetBookmarkNode.
+		 * @param {Boolean} [serializable] Indicates that the bookmark nodes
+		 *		must contain ids, which can be used to restore the range even
+		 *		when these nodes suffer mutations (like a clonation or innerHTML
+		 *		change).
+		 * @returns {Object} And object representing a bookmark.
+		 */
+		createBookmark : function( serializable )
+		{
+			var startNode, endNode;
+			var baseId;
+			var clone;
+
+			startNode = this.document.createElement( 'span' );
+			startNode.setAttribute( '_fck_bookmark', 1 );
+			startNode.setStyle( 'display', 'none' );
+
+			// For IE, it must have something inside, otherwise it may be
+			// removed during DOM operations.
+			startNode.setHtml( '&nbsp;' );
+
+			if ( serializable )
+			{
+				baseId = 'cke_bm_' + CKEDITOR.tools.getNextNumber();
+				startNode.setAttribute( 'id', baseId + 'S' );
+			}
+
+			// If collapsed, the endNode will not be created.
+			if ( !this.collapsed )
+			{
+				endNode = startNode.clone();
+				endNode.setHtml( '&nbsp;' );
+
+				if ( serializable )
+					endNode.setAttribute( 'id', baseId + 'E' );
+
+				clone = this.clone();
+				clone.collapse();
+				clone.insertNode( endNode );
+			}
+
+			clone = this.clone();
+			clone.collapse( true );
+			clone.insertNode( startNode );
+
+			// Update the range position.
+			if ( endNode )
+			{
+				this.setStartAfter( startNode );
+				this.setEndBefore( endNode );
+			}
+			else
+				this.moveToPosition( startNode, CKEDITOR.POSITION_AFTER_END );
+
+			return {
+				startNode : serializable ? baseId + 'S' : startNode,
+				endNode : serializable ? baseId + 'E' : endNode,
+				serializable : serializable
+			};
+		},
+
+		/**
+		 * Creates a "non intrusive" and "mutation sensible" bookmark. This
+		 * kind of bookmark should be used only when the DOM is supposed to
+		 * remain stable after its creation.
+		 * @param {Boolean} [normalized] Indicates that the bookmark must
+		 *		normalized. When normalized, the successive text nodes are
+		 *		considered a single node. To sucessful load a normalized
+		 *		bookmark, the DOM tree must be also normalized before calling
+		 *		moveToBookmark.
+		 * @returns {Object} An object representing the bookmark.
+		 */
+		createBookmark2 : function( normalized )
+		{
+			var startContainer	= this.startContainer,
+				endContainer	= this.endContainer;
+
+			var startOffset	= this.startOffset,
+				endOffset	= this.endOffset;
+
+			var child, previous;
+
+			// If there is no range then get out of here.
+			// It happens on initial load in Safari #962 and if the editor it's
+			// hidden also in Firefox
+			if ( !startContainer || !endContainer )
+				return { start : 0, end : 0 };
+
+			if ( normalized )
+			{
+				// Find out if the start is pointing to a text node that will
+				// be normalized.
+				if ( startContainer.type == CKEDITOR.NODE_ELEMENT )
+				{
+					child = startContainer.getChild( startOffset );
+
+					// In this case, move the start information to that text
+					// node.
+					if ( child && child.type == CKEDITOR.NODE_TEXT
+							&& startOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
+					{
+						startContainer = child;
+						startOffset = 0;
+					}
+				}
+
+				// Normalize the start.
+				while ( startContainer.type == CKEDITOR.NODE_TEXT
+						&& ( previous = startContainer.getPrevious() )
+						&& previous.type == CKEDITOR.NODE_TEXT )
+				{
+					startContainer = previous;
+					startOffset += previous.getLength();
+				}
+
+				// Process the end only if not normalized.
+				if ( !this.isCollapsed )
+				{
+					// Find out if the start is pointing to a text node that
+					// will be normalized.
+					if ( endContainer.type == CKEDITOR.NODE_ELEMENT )
+					{
+						child = endContainer.getChild( endOffset );
+
+						// In this case, move the start information to that
+						// text node.
+						if ( child && child.type == CKEDITOR.NODE_TEXT
+								&& endOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
+						{
+							endContainer = child;
+							endOffset = 0;
+						}
+					}
+
+					// Normalize the end.
+					while ( endContainer.type == CKEDITOR.NODE_TEXT
+							&& ( previous = endContainer.getPrevious() )
+							&& previous.type == CKEDITOR.NODE_TEXT )
+					{
+						endContainer = previous;
+						endOffset += previous.getLength();
+					}
+				}
+			}
+
+			return {
+				start		: startContainer.getAddress( normalized ),
+				end			: this.isCollapsed ? null : endContainer.getAddress( normalized ),
+				startOffset	: startOffset,
+				endOffset	: endOffset,
+				normalized	: normalized,
+				is2			: true		// It's a createBookmark2 bookmark.
+			};
+		},
+
+		moveToBookmark : function( bookmark )
+		{
+			if ( bookmark.is2 )		// Created with createBookmark2().
+			{
+				// Get the start information.
+				var startContainer	= this.document.getByAddress( bookmark.start, bookmark.normalized ),
+					startOffset	= bookmark.startOffset;
+
+				// Get the end information.
+				var endContainer	= bookmark.end && this.document.getByAddress( bookmark.end, bookmark.normalized ),
+					endOffset	= bookmark.endOffset;
+
+				// Set the start boundary.
+				this.setStart( startContainer, startOffset );
+
+				// Set the end boundary. If not available, collapse it.
+				if ( endContainer )
+					this.setEnd( endContainer, endOffset );
+				else
+					this.collapse( true );
+			}
+			else					// Created with createBookmark().
+			{
+				var serializable = bookmark.serializable,
+					startNode	= serializable ? this.document.getById( bookmark.startNode ) : bookmark.startNode,
+					endNode		= serializable ? this.document.getById( bookmark.endNode ) : bookmark.endNode;
+
+				// Set the range start at the bookmark start node position.
+				this.setStartBefore( startNode );
+
+				// Remove it, because it may interfere in the setEndBefore call.
+				startNode.remove();
+
+				// Set the range end at the bookmark end node position, or simply
+				// collapse it if it is not available.
+				if ( endNode )
+				{
+					this.setEndBefore( endNode );
+					endNode.remove();
+				}
+				else
+					this.collapse( true );
+			}
+		},
+
+		getBoundaryNodes : function()
+		{
+			var startNode = this.startContainer,
+				endNode = this.endContainer,
+				startOffset = this.startOffset,
+				endOffset = this.endOffset,
+				childCount;
+
+			if ( startNode.type == CKEDITOR.NODE_ELEMENT )
+			{
+				childCount = startNode.getChildCount();
+				if ( childCount > startOffset )
+					startNode = startNode.getChild( startOffset );
+				else if ( childCount < 1 )
+					startNode = startNode.getPreviousSourceNode();
+				else		// startOffset > childCount but childCount is not 0
+				{
+					// Try to take the node just after the current position.
+					startNode = startNode.$;
+					while ( startNode.lastChild )
+						startNode = startNode.lastChild;
+					startNode = new CKEDITOR.dom.node( startNode );
+
+					// Normally we should take the next node in DFS order. But it
+					// is also possible that we've already reached the end of
+					// document.
+					startNode = startNode.getNextSourceNode() || startNode;
+				}
+			}
+			if ( endNode.type == CKEDITOR.NODE_ELEMENT )
+			{
+				childCount = endNode.getChildCount();
+				if ( childCount > endOffset )
+					endNode = endNode.getChild( endOffset ).getPreviousSourceNode( true );
+				else if ( childCount < 1 )
+					endNode = endNode.getPreviousSourceNode();
+				else		// endOffset > childCount but childCount is not 0
+				{
+					// Try to take the node just before the current position.
+					endNode = endNode.$;
+					while ( endNode.lastChild )
+						endNode = endNode.lastChild;
+					endNode = new CKEDITOR.dom.node( endNode );
+				}
+			}
+
+			// Sometimes the endNode will come right before startNode for collapsed
+			// ranges. Fix it. (#3780)
+			if ( startNode.getPosition( endNode ) & CKEDITOR.POSITION_FOLLOWING )
+				startNode = endNode;
+
+			return { startNode : startNode, endNode : endNode };
+		},
+
+		/**
+		 * Find the node which fully contains the range.
+		 * @param includeSelf
+		 * @param {Boolean} ignoreTextNode Whether ignore CKEDITOR.NODE_TEXT type.
+		 */
+		getCommonAncestor : function( includeSelf , ignoreTextNode )
+		{
+			var start = this.startContainer,
+				end = this.endContainer,
+				ancestor;
+
+			if ( start.equals( end ) )
+			{
+				if ( includeSelf
+						&& start.type == CKEDITOR.NODE_ELEMENT
+						&& this.startOffset == this.endOffset - 1 )
+					ancestor = start.getChild( this.startOffset );
+				else
+					ancestor = start;
+			}
+			else
+				ancestor = start.getCommonAncestor( end );
+
+			return ignoreTextNode && !ancestor.is ? ancestor.getParent() : ancestor;
+		},
+
+		/**
+		 * Transforms the startContainer and endContainer properties from text
+		 * nodes to element nodes, whenever possible. This is actually possible
+		 * if either of the boundary containers point to a text node, and its
+		 * offset is set to zero, or after the last char in the node.
+		 */
+		optimize : function()
+		{
+			var container = this.startContainer;
+			var offset = this.startOffset;
+
+			if ( container.type != CKEDITOR.NODE_ELEMENT )
+			{
+				if ( !offset )
+					this.setStartBefore( container );
+				else if ( offset >= container.getLength() )
+					this.setStartAfter( container );
+			}
+
+			container = this.endContainer;
+			offset = this.endOffset;
+
+			if ( container.type != CKEDITOR.NODE_ELEMENT )
+			{
+				if ( !offset )
+					this.setEndBefore( container );
+				else if ( offset >= container.getLength() )
+					this.setEndAfter( container );
+			}
+		},
+
+		/**
+		 * Move the range out of bookmark nodes if they're been the container.
+		 */
+		optimizeBookmark: function()
+		{
+			var startNode = this.startContainer,
+				endNode = this.endContainer;
+
+			if ( startNode.is && startNode.is( 'span' )
+				&& startNode.hasAttribute( '_fck_bookmark' ) )
+				this.setStartAt( startNode, CKEDITOR.POSITION_BEFORE_START );
+			if ( endNode && endNode.is && endNode.is( 'span' )
+				&& endNode.hasAttribute( '_fck_bookmark' ) )
+				this.setEndAt( endNode,  CKEDITOR.POSITION_AFTER_END );
+		},
+
+		trim : function( ignoreStart, ignoreEnd )
+		{
+			var startContainer = this.startContainer,
+				startOffset = this.startOffset,
+				collapsed = this.collapsed;
+			if ( ( !ignoreStart || collapsed )
+				 && startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
+			{
+				// If the offset is zero, we just insert the new node before
+				// the start.
+				if ( !startOffset )
+				{
+					startOffset = startContainer.getIndex();
+					startContainer = startContainer.getParent();
+				}
+				// If the offset is at the end, we'll insert it after the text
+				// node.
+				else if ( startOffset >= startContainer.getLength() )
+				{
+					startOffset = startContainer.getIndex() + 1;
+					startContainer = startContainer.getParent();
+				}
+				// In other case, we split the text node and insert the new
+				// node at the split point.
+				else
+				{
+					var nextText = startContainer.split( startOffset );
+
+					startOffset = startContainer.getIndex() + 1;
+					startContainer = startContainer.getParent();
+					// Check if it is necessary to update the end boundary.
+					if ( !collapsed && this.startContainer.equals( this.endContainer ) )
+						this.setEnd( nextText, this.endOffset - this.startOffset );
+				}
+
+				this.setStart( startContainer, startOffset );
+
+				if ( collapsed )
+					this.collapse( true );
+			}
+
+			var endContainer = this.endContainer;
+			var endOffset = this.endOffset;
+
+			if ( !( ignoreEnd || collapsed )
+				 && endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
+			{
+				// If the offset is zero, we just insert the new node before
+				// the start.
+				if ( !endOffset )
+				{
+					endOffset = endContainer.getIndex();
+					endContainer = endContainer.getParent();
+				}
+				// If the offset is at the end, we'll insert it after the text
+				// node.
+				else if ( endOffset >= endContainer.getLength() )
+				{
+					endOffset = endContainer.getIndex() + 1;
+					endContainer = endContainer.getParent();
+				}
+				// In other case, we split the text node and insert the new
+				// node at the split point.
+				else
+				{
+					endContainer.split( endOffset );
+
+					endOffset = endContainer.getIndex() + 1;
+					endContainer = endContainer.getParent();
+				}
+
+				this.setEnd( endContainer, endOffset );
+			}
+		},
+
+		enlarge : function( unit )
+		{
+			switch ( unit )
+			{
+				case CKEDITOR.ENLARGE_ELEMENT :
+
+					if ( this.collapsed )
+						return;
+
+					// Get the common ancestor.
+					var commonAncestor = this.getCommonAncestor();
+
+					var body = this.document.getBody();
+
+					// For each boundary
+					//		a. Depending on its position, find out the first node to be checked (a sibling) or, if not available, to be enlarge.
+					//		b. Go ahead checking siblings and enlarging the boundary as much as possible until the common ancestor is not reached. After reaching the common ancestor, just save the enlargeable node to be used later.
+
+					var startTop, endTop;
+
+					var enlargeable, sibling, commonReached;
+
+					// Indicates that the node can be added only if whitespace
+					// is available before it.
+					var needsWhiteSpace = false;
+					var isWhiteSpace;
+					var siblingText;
+
+					// Process the start boundary.
+
+					var container = this.startContainer;
+					var offset = this.startOffset;
+
+					if ( container.type == CKEDITOR.NODE_TEXT )
+					{
+						if ( offset )
+						{
+							// Check if there is any non-space text before the
+							// offset. Otherwise, container is null.
+							container = !CKEDITOR.tools.trim( container.substring( 0, offset ) ).length && container;
+
+							// If we found only whitespace in the node, it
+							// means that we'll need more whitespace to be able
+							// to expand. For example, <i> can be expanded in
+							// "A <i> [B]</i>", but not in "A<i> [B]</i>".
+							needsWhiteSpace = !!container;
+						}
+
+						if ( container )
+						{
+							if ( !( sibling = container.getPrevious() ) )
+								enlargeable = container.getParent();
+						}
+					}
+					else
+					{
+						// If we have offset, get the node preceeding it as the
+						// first sibling to be checked.
+						if ( offset )
+							sibling = container.getChild( offset - 1 ) || container.getLast();
+
+						// If there is no sibling, mark the container to be
+						// enlarged.
+						if ( !sibling )
+							enlargeable = container;
+					}
+
+					while ( enlargeable || sibling )
+					{
+						if ( enlargeable && !sibling )
+						{
+							// If we reached the common ancestor, mark the flag
+							// for it.
+							if ( !commonReached && enlargeable.equals( commonAncestor ) )
+								commonReached = true;
+
+							if ( !body.contains( enlargeable ) )
+								break;
+
+							// If we don't need space or this element breaks
+							// the line, then enlarge it.
+							if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
+							{
+								needsWhiteSpace = false;
+
+								// If the common ancestor has been reached,
+								// we'll not enlarge it immediately, but just
+								// mark it to be enlarged later if the end
+								// boundary also enlarges it.
+								if ( commonReached )
+									startTop = enlargeable;
+								else
+									this.setStartBefore( enlargeable );
+							}
+
+							sibling = enlargeable.getPrevious();
+						}
+
+						// Check all sibling nodes preceeding the enlargeable
+						// node. The node wil lbe enlarged only if none of them
+						// blocks it.
+						while ( sibling )
+						{
+							// This flag indicates that this node has
+							// whitespaces at the end.
+							isWhiteSpace = false;
+
+							if ( sibling.type == CKEDITOR.NODE_TEXT )
+							{
+								siblingText = sibling.getText();
+
+								if ( /[^\s\ufeff]/.test( siblingText ) )
+									sibling = null;
+
+								isWhiteSpace = /[\s\ufeff]$/.test( siblingText );
+							}
+							else
+							{
+								// If this is a visible element.
+								// 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.getAttribute( '_fck_bookmark' ) )
+								{
+									// We'll accept it only if we need
+									// whitespace, and this is an inline
+									// element with whitespace only.
+									if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
+									{
+										// It must contains spaces and inline elements only.
+
+										siblingText = sibling.getText();
+
+										if ( !(/[^\s\ufeff]/).test( siblingText ) )	// Spaces + Zero Width No-Break Space (U+FEFF)
+											sibling = null;
+										else
+										{
+											var allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
+											for ( var i = 0, child ; child = allChildren[ i++ ] ; )
+											{
+												if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
+												{
+													sibling = null;
+													break;
+												}
+											}
+										}
+
+										if ( sibling )
+											isWhiteSpace = !!siblingText.length;
+									}
+									else
+										sibling = null;
+								}
+							}
+
+							// A node with whitespaces has been found.
+							if ( isWhiteSpace )
+							{
+								// Enlarge the last enlargeable node, if we
+								// were waiting for spaces.
+								if ( needsWhiteSpace )
+								{
+									if ( commonReached )
+										startTop = enlargeable;
+									else if ( enlargeable )
+										this.setStartBefore( enlargeable );
+								}
+								else
+									needsWhiteSpace = true;
+							}
+
+							if ( sibling )
+							{
+								var next = sibling.getPrevious();
+
+								if ( !enlargeable && !next )
+								{
+									// Set the sibling as enlargeable, so it's
+									// parent will be get later outside this while.
+									enlargeable = sibling;
+									sibling = null;
+									break;
+								}
+
+								sibling = next;
+							}
+							else
+							{
+								// If sibling has been set to null, then we
+								// need to stop enlarging.
+								enlargeable = null;
+							}
+						}
+
+						if ( enlargeable )
+							enlargeable = enlargeable.getParent();
+					}
+
+					// Process the end boundary. This is basically the same
+					// code used for the start boundary, with small changes to
+					// make it work in the oposite side (to the right). This
+					// makes it difficult to reuse the code here. So, fixes to
+					// the above code are likely to be replicated here.
+
+					container = this.endContainer;
+					offset = this.endOffset;
+
+					// Reset the common variables.
+					enlargeable = sibling = null;
+					commonReached = needsWhiteSpace = false;
+
+					if ( container.type == CKEDITOR.NODE_TEXT )
+					{
+						// Check if there is any non-space text after the
+						// offset. Otherwise, container is null.
+						container = !CKEDITOR.tools.trim( container.substring( offset ) ).length && container;
+
+						// If we found only whitespace in the node, it
+						// means that we'll need more whitespace to be able
+						// to expand. For example, <i> can be expanded in
+						// "A <i> [B]</i>", but not in "A<i> [B]</i>".
+						needsWhiteSpace = !( container && container.getLength() );
+
+						if ( container )
+						{
+							if ( !( sibling = container.getNext() ) )
+								enlargeable = container.getParent();
+						}
+					}
+					else
+					{
+						// Get the node right after the boudary to be checked
+						// first.
+						sibling = container.getChild( offset );
+
+						if ( !sibling )
+							enlargeable = container;
+					}
+
+					while ( enlargeable || sibling )
+					{
+						if ( enlargeable && !sibling )
+						{
+							if ( !commonReached && enlargeable.equals( commonAncestor ) )
+								commonReached = true;
+
+							if ( !body.contains( enlargeable ) )
+								break;
+
+							if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
+							{
+								needsWhiteSpace = false;
+
+								if ( commonReached )
+									endTop = enlargeable;
+								else if ( enlargeable )
+									this.setEndAfter( enlargeable );
+							}
+
+							sibling = enlargeable.getNext();
+						}
+
+						while ( sibling )
+						{
+							isWhiteSpace = false;
+
+							if ( sibling.type == CKEDITOR.NODE_TEXT )
+							{
+								siblingText = sibling.getText();
+
+								if ( /[^\s\ufeff]/.test( siblingText ) )
+									sibling = null;
+
+								isWhiteSpace = /^[\s\ufeff]/.test( siblingText );
+							}
+							else
+							{
+								// If this is a visible element.
+								// 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.getAttribute( '_fck_bookmark' ) )
+								{
+									// We'll accept it only if we need
+									// whitespace, and this is an inline
+									// element with whitespace only.
+									if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
+									{
+										// It must contains spaces and inline elements only.
+
+										siblingText = sibling.getText();
+
+										if ( !(/[^\s\ufeff]/).test( siblingText ) )
+											sibling = null;
+										else
+										{
+											allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
+											for ( i = 0 ; child = allChildren[ i++ ] ; )
+											{
+												if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
+												{
+													sibling = null;
+													break;
+												}
+											}
+										}
+
+										if ( sibling )
+											isWhiteSpace = !!siblingText.length;
+									}
+									else
+										sibling = null;
+								}
+							}
+
+							if ( isWhiteSpace )
+							{
+								if ( needsWhiteSpace )
+								{
+									if ( commonReached )
+										endTop = enlargeable;
+									else
+										this.setEndAfter( enlargeable );
+								}
+							}
+
+							if ( sibling )
+							{
+								next = sibling.getNext();
+
+								if ( !enlargeable && !next )
+								{
+									enlargeable = sibling;
+									sibling = null;
+									break;
+								}
+
+								sibling = next;
+							}
+							else
+							{
+								// If sibling has been set to null, then we
+								// need to stop enlarging.
+								enlargeable = null;
+							}
+						}
+
+						if ( enlargeable )
+							enlargeable = enlargeable.getParent();
+					}
+
+					// If the common ancestor can be enlarged by both boundaries, then include it also.
+					if ( startTop && endTop )
+					{
+						commonAncestor = startTop.contains( endTop ) ? endTop : startTop;
+
+						this.setStartBefore( commonAncestor );
+						this.setEndAfter( commonAncestor );
+					}
+					break;
+
+				case CKEDITOR.ENLARGE_BLOCK_CONTENTS:
+				case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:
+
+					// Enlarging the start boundary.
+					var walkerRange = new CKEDITOR.dom.range( this.document );
+
+					body = this.document.getBody();
+
+					walkerRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
+					walkerRange.setEnd( this.startContainer, this.startOffset );
+
+					var walker = new CKEDITOR.dom.walker( walkerRange ),
+					    blockBoundary,  // The node on which the enlarging should stop.
+						tailBr, //
+					    defaultGuard = CKEDITOR.dom.walker.blockBoundary(
+								( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ? { br : 1 } : null ),
+						// Record the encountered 'blockBoundary' for later use.
+						boundaryGuard = function( node )
+						{
+							var retval = defaultGuard( node );
+							if ( !retval )
+								blockBoundary = node;
+							return retval;
+						},
+						// Record the encounted 'tailBr' for later use.
+						tailBrGuard = function( node )
+						{
+							var retval = boundaryGuard( node );
+							if ( !retval && node.is && node.is( 'br' ) )
+								tailBr = node;
+							return retval;
+						};
+
+					walker.guard = boundaryGuard;
+
+					enlargeable = walker.lastBackward();
+
+					// It's the body which stop the enlarging if no block boundary found.
+					blockBoundary = blockBoundary || body;
+
+					// Start the range at different position by comparing
+					// the document position of it with 'enlargeable' node.
+					this.setStartAt(
+							blockBoundary,
+							!blockBoundary.is( 'br' ) &&
+							( !enlargeable && this.checkStartOfBlock()
+							  || enlargeable && blockBoundary.contains( enlargeable ) ) ?
+								CKEDITOR.POSITION_AFTER_START :
+								CKEDITOR.POSITION_AFTER_END );
+
+					// Enlarging the end boundary.
+					walkerRange = this.clone();
+					walkerRange.collapse();
+					walkerRange.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
+					walker = new CKEDITOR.dom.walker( walkerRange );
+
+					// tailBrGuard only used for on range end.
+					walker.guard = ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ?
+						tailBrGuard : boundaryGuard;
+					blockBoundary = null;
+					// End the range right before the block boundary node.
+
+					enlargeable = walker.lastForward();
+
+					// It's the body which stop the enlarging if no block boundary found.
+					blockBoundary = blockBoundary || body;
+
+					// Start the range at different position by comparing
+					// the document position of it with 'enlargeable' node.
+					this.setEndAt(
+							blockBoundary,
+							( !enlargeable && this.checkEndOfBlock()
+							  || enlargeable && blockBoundary.contains( enlargeable ) ) ?
+								CKEDITOR.POSITION_BEFORE_END :
+								CKEDITOR.POSITION_BEFORE_START );
+					// We must include the <br> at the end of range if there's
+					// one and we're expanding list item contents
+					if ( tailBr )
+						this.setEndAfter( tailBr );
+			}
+		},
+
+		/**
+		 * Inserts a node at the start of the range. The range will be expanded
+		 * the contain the node.
+		 */
+		insertNode : function( node )
+		{
+			this.optimizeBookmark();
+			this.trim( false, true );
+
+			var startContainer = this.startContainer;
+			var startOffset = this.startOffset;
+
+			var nextNode = startContainer.getChild( startOffset );
+
+			if ( nextNode )
+				node.insertBefore( nextNode );
+			else
+				startContainer.append( node );
+
+			// Check if we need to update the end boundary.
+			if ( node.getParent().equals( this.endContainer ) )
+				this.endOffset++;
+
+			// Expand the range to embrace the new node.
+			this.setStartBefore( node );
+		},
+
+		moveToPosition : function( node, position )
+		{
+			this.setStartAt( node, position );
+			this.collapse( true );
+		},
+
+		selectNodeContents : function( node )
+		{
+			this.setStart( node, 0 );
+			this.setEnd( node, node.type == CKEDITOR.NODE_TEXT ? node.getLength() : node.getChildCount() );
+		},
+
+		/**
+		 * Sets the start position of a Range.
+		 * @param {CKEDITOR.dom.node} startNode The node to start the range.
+		 * @param {Number} startOffset An integer greater than or equal to zero
+		 *		representing the offset for the start of the range from the start
+		 *		of startNode.
+		 */
+		setStart : function( startNode, startOffset )
+		{
+			// W3C requires a check for the new position. If it is after the end
+			// boundary, the range should be collapsed to the new start. It seams
+			// we will not need this check for our use of this class so we can
+			// ignore it for now.
+
+			this.startContainer	= startNode;
+			this.startOffset	= startOffset;
+
+			if ( !this.endContainer )
+			{
+				this.endContainer	= startNode;
+				this.endOffset		= startOffset;
+			}
+
+			updateCollapsed( this );
+		},
+
+		/**
+		 * Sets the end position of a Range.
+		 * @param {CKEDITOR.dom.node} endNode The node to end the range.
+		 * @param {Number} endOffset An integer greater than or equal to zero
+		 *		representing the offset for the end of the range from the start
+		 *		of endNode.
+		 */
+		setEnd : function( endNode, endOffset )
+		{
+			// W3C requires a check for the new position. If it is before the start
+			// boundary, the range should be collapsed to the new end. It seams we
+			// will not need this check for our use of this class so we can ignore
+			// it for now.
+
+			this.endContainer	= endNode;
+			this.endOffset		= endOffset;
+
+			if ( !this.startContainer )
+			{
+				this.startContainer	= endNode;
+				this.startOffset	= endOffset;
+			}
+
+			updateCollapsed( this );
+		},
+
+		setStartAfter : function( node )
+		{
+			this.setStart( node.getParent(), node.getIndex() + 1 );
+		},
+
+		setStartBefore : function( node )
+		{
+			this.setStart( node.getParent(), node.getIndex() );
+		},
+
+		setEndAfter : function( node )
+		{
+			this.setEnd( node.getParent(), node.getIndex() + 1 );
+		},
+
+		setEndBefore : function( node )
+		{
+			this.setEnd( node.getParent(), node.getIndex() );
+		},
+
+		setStartAt : function( node, position )
+		{
+			switch( position )
+			{
+				case CKEDITOR.POSITION_AFTER_START :
+					this.setStart( node, 0 );
+					break;
+
+				case CKEDITOR.POSITION_BEFORE_END :
+					if ( node.type == CKEDITOR.NODE_TEXT )
+						this.setStart( node, node.getLength() );
+					else
+						this.setStart( node, node.getChildCount() );
+					break;
+
+				case CKEDITOR.POSITION_BEFORE_START :
+					this.setStartBefore( node );
+					break;
+
+				case CKEDITOR.POSITION_AFTER_END :
+					this.setStartAfter( node );
+			}
+
+			updateCollapsed( this );
+		},
+
+		setEndAt : function( node, position )
+		{
+			switch( position )
+			{
+				case CKEDITOR.POSITION_AFTER_START :
+					this.setEnd( node, 0 );
+					break;
+
+				case CKEDITOR.POSITION_BEFORE_END :
+					if ( node.type == CKEDITOR.NODE_TEXT )
+						this.setEnd( node, node.getLength() );
+					else
+						this.setEnd( node, node.getChildCount() );
+					break;
+
+				case CKEDITOR.POSITION_BEFORE_START :
+					this.setEndBefore( node );
+					break;
+
+				case CKEDITOR.POSITION_AFTER_END :
+					this.setEndAfter( node );
+			}
+
+			updateCollapsed( this );
+		},
+
+		fixBlock : function( isStart, blockTag )
+		{
+			var bookmark = this.createBookmark(),
+				fixedBlock = this.document.createElement( blockTag );
+
+			this.collapse( isStart );
+
+			this.enlarge( CKEDITOR.ENLARGE_BLOCK_CONTENTS );
+
+			this.extractContents().appendTo( fixedBlock );
+			fixedBlock.trim();
+
+			if ( !CKEDITOR.env.ie )
+				fixedBlock.appendBogus();
+
+			this.insertNode( fixedBlock );
+
+			this.moveToBookmark( bookmark );
+
+			return fixedBlock;
+		},
+
+		splitBlock : function( blockTag )
+		{
+			var startPath	= new CKEDITOR.dom.elementPath( this.startContainer ),
+				endPath		= new CKEDITOR.dom.elementPath( this.endContainer );
+
+			var startBlockLimit	= startPath.blockLimit,
+				endBlockLimit	= endPath.blockLimit;
+
+			var startBlock	= startPath.block,
+				endBlock	= endPath.block;
+
+			var elementPath = null;
+			// Do nothing if the boundaries are in different block limits.
+			if ( !startBlockLimit.equals( endBlockLimit ) )
+				return null;
+
+			// Get or fix current blocks.
+			if ( blockTag != 'br' )
+			{
+				if ( !startBlock )
+				{
+					startBlock = this.fixBlock( true, blockTag );
+					endBlock = new CKEDITOR.dom.elementPath( this.endContainer ).block;
+				}
+
+				if ( !endBlock )
+					endBlock = this.fixBlock( false, blockTag );
+			}
+
+			// Get the range position.
+			var isStartOfBlock = startBlock && this.checkStartOfBlock(),
+				isEndOfBlock = endBlock && this.checkEndOfBlock();
+
+			// Delete the current contents.
+			// TODO: Why is 2.x doing CheckIsEmpty()?
+			this.deleteContents();
+
+			if ( startBlock && startBlock.equals( endBlock ) )
+			{
+				if ( isEndOfBlock )
+				{
+					elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
+					this.moveToPosition( endBlock, CKEDITOR.POSITION_AFTER_END );
+					endBlock = null;
+				}
+				else if ( isStartOfBlock )
+				{
+					elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
+					this.moveToPosition( startBlock, CKEDITOR.POSITION_BEFORE_START );
+					startBlock = null;
+				}
+				else
+				{
+					endBlock = this.splitElement( startBlock );
+
+					// In Gecko, the last child node must be a bogus <br>.
+					// Note: bogus <br> added under <ul> or <ol> would cause
+					// lists to be incorrectly rendered.
+					if ( !CKEDITOR.env.ie && !startBlock.is( 'ul', 'ol') )
+						startBlock.appendBogus() ;
+				}
+			}
+
+			return {
+				previousBlock : startBlock,
+				nextBlock : endBlock,
+				wasStartOfBlock : isStartOfBlock,
+				wasEndOfBlock : isEndOfBlock,
+				elementPath : elementPath
+			};
+		},
+
+		/**
+		 * Branch the specified element from the collapsed range position and
+		 * place the caret between the two result branches.
+		 * Note: The range must be collapsed and been enclosed by this element.
+		 * @param {CKEDITOR.dom.element} element
+		 * @return {CKEDITOR.dom.element} Root element of the new branch after the split.
+		 */
+		splitElement : function( toSplit )
+		{
+			if ( !this.collapsed )
+				return null;
+
+			// Extract the contents of the block from the selection point to the end
+			// of its contents.
+			this.setEndAt( toSplit, CKEDITOR.POSITION_BEFORE_END );
+			var documentFragment = this.extractContents();
+
+			// Duplicate the element after it.
+			var clone = toSplit.clone( false );
+
+			// Place the extracted contents into the duplicated element.
+			documentFragment.appendTo( clone );
+			clone.insertAfter( toSplit );
+			this.moveToPosition( toSplit, CKEDITOR.POSITION_AFTER_END );
+			return clone;
+		},
+
+		/**
+		 * Check whether current range is on the inner edge of the specified element.
+		 * @param {Number} checkType ( CKEDITOR.START | CKEDITOR.END ) The checking side.
+		 * @param {CKEDITOR.dom.element} element The target element to check.
+		 */
+		checkBoundaryOfElement : function( element, checkType )
+		{
+			var walkerRange = this.clone();
+			// Expand the range to element boundary.
+			walkerRange[ checkType == CKEDITOR.START ?
+			 'setStartAt' : 'setEndAt' ]
+			 ( element, checkType == CKEDITOR.START ?
+			   CKEDITOR.POSITION_AFTER_START
+			   : CKEDITOR.POSITION_BEFORE_END );
+
+			var walker = new CKEDITOR.dom.walker( walkerRange ),
+			 retval = false;
+			walker.evaluator = elementBoundaryEval;
+			return walker[ checkType == CKEDITOR.START ?
+				'checkBackward' : 'checkForward' ]();
+		},
+		// Calls to this function may produce changes to the DOM. The range may
+		// be updated to reflect such changes.
+		checkStartOfBlock : function()
+		{
+			var startContainer = this.startContainer,
+				startOffset = this.startOffset;
+
+			// If the starting node is a text node, and non-empty before the offset,
+			// then we're surely not at the start of block.
+			if ( startOffset && startContainer.type == CKEDITOR.NODE_TEXT )
+			{
+				var textBefore = CKEDITOR.tools.ltrim( startContainer.substring( 0, startOffset ) );
+				if ( textBefore.length )
+					return false;
+			}
+
+			// Antecipate the trim() call here, so the walker will not make
+			// changes to the DOM, which would not get reflected into this
+			// range otherwise.
+			this.trim();
+
+			// We need to grab the block element holding the start boundary, so
+			// let's use an element path for it.
+			var path = new CKEDITOR.dom.elementPath( this.startContainer );
+
+			// Creates a range starting at the block start until the range start.
+			var walkerRange = this.clone();
+			walkerRange.collapse( true );
+			walkerRange.setStartAt( path.block || path.blockLimit, CKEDITOR.POSITION_AFTER_START );
+
+			var walker = new CKEDITOR.dom.walker( walkerRange );
+			walker.evaluator = getCheckStartEndBlockEvalFunction( true );
+
+			return walker.checkBackward();
+		},
+
+		checkEndOfBlock : function()
+		{
+			var endContainer = this.endContainer,
+				endOffset = this.endOffset;
+
+			// If the ending node is a text node, and non-empty after the offset,
+			// then we're surely not at the end of block.
+			if ( endContainer.type == CKEDITOR.NODE_TEXT )
+			{
+				var textAfter = CKEDITOR.tools.rtrim( endContainer.substring( endOffset ) );
+				if ( textAfter.length )
+					return false;
+			}
+
+			// Antecipate the trim() call here, so the walker will not make
+			// changes to the DOM, which would not get reflected into this
+			// range otherwise.
+			this.trim();
+
+			// We need to grab the block element holding the start boundary, so
+			// let's use an element path for it.
+			var path = new CKEDITOR.dom.elementPath( this.endContainer );
+
+			// Creates a range starting at the block start until the range start.
+			var walkerRange = this.clone();
+			walkerRange.collapse( false );
+			walkerRange.setEndAt( path.block || path.blockLimit, CKEDITOR.POSITION_BEFORE_END );
+
+			var walker = new CKEDITOR.dom.walker( walkerRange );
+			walker.evaluator = getCheckStartEndBlockEvalFunction( false );
+
+			return walker.checkForward();
+		},
+
+		/**
+		 * Moves the range boundaries to the first/end editing point inside an
+		 * element. For example, in an element tree like
+		 * "&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt; Text&lt;/p&gt;", the start editing point is
+		 * "&lt;p&gt;&lt;b&gt;&lt;i&gt;^&lt;/i&gt;&lt;/b&gt; Text&lt;/p&gt;" (inside &lt;i&gt;).
+		 * @param {CKEDITOR.dom.element} el The element into which look for the
+		 *		editing spot.
+		 * @param {Boolean} isMoveToEnd Whether move to the end editable position.
+		 */
+		moveToElementEditablePosition : function( el, isMoveToEnd )
+		{
+			var isEditable;
+
+			while ( el && el.type == CKEDITOR.NODE_ELEMENT )
+			{
+				isEditable = el.isEditable();
+
+				// If an editable element is found, move inside it.
+				if ( isEditable )
+					this.moveToPosition( el, isMoveToEnd ?
+					                         CKEDITOR.POSITION_BEFORE_END :
+					                         CKEDITOR.POSITION_AFTER_START );
+				// Stop immediately if we've found a non editable inline element (e.g <img>).
+				else if ( CKEDITOR.dtd.$inline[ el.getName() ] )
+				{
+					this.moveToPosition( el, isMoveToEnd ?
+					                         CKEDITOR.POSITION_AFTER_END :
+					                         CKEDITOR.POSITION_BEFORE_START );
+					return true;
+				}
+
+				// Non-editable non-inline elements are to be bypassed, getting the next one.
+				if ( CKEDITOR.dtd.$empty[ el.getName() ] )
+					el = el[ isMoveToEnd ? 'getPrevious' : 'getNext' ]( nonWhitespaceOrBookmarkEval );
+				else
+					el = el[ isMoveToEnd ? 'getLast' : 'getFirst' ]( nonWhitespaceOrBookmarkEval );
+
+				// Stop immediately if we've found a text node.
+				if ( el && el.type == CKEDITOR.NODE_TEXT )
+				{
+					this.moveToPosition( el, isMoveToEnd ?
+					                         CKEDITOR.POSITION_AFTER_END :
+					                         CKEDITOR.POSITION_BEFORE_START );
+					return true;
+				}
+			}
+
+			return isEditable;
+		},
+
+		/**
+		 *@see {CKEDITOR.dom.range.moveToElementEditablePosition}
+		 */
+		moveToElementEditStart : function( target )
+		{
+			return this.moveToElementEditablePosition( target );
+		},
+
+		/**
+		 *@see {CKEDITOR.dom.range.moveToElementEditablePosition}
+		 */
+		moveToElementEditEnd : function( target )
+		{
+			return this.moveToElementEditablePosition( target, true );
+		},
+
+		/**
+		 * Get the single node enclosed within the range if there's one.
+		 */
+		getEnclosedNode : function()
+		{
+			var walkerRange = this.clone(),
+				walker = new CKEDITOR.dom.walker( walkerRange ),
+				isNotBookmarks = CKEDITOR.dom.walker.bookmark( true ),
+				isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+				evaluator = function( node )
+				{
+					return isNotWhitespaces( node ) && isNotBookmarks( node );
+				};
+			walkerRange.evaluator = evaluator;
+			var node = walker.next();
+			walker.reset();
+			return node && node.equals( walker.previous() ) ? node : null;
+		},
+
+		getTouchedStartNode : function()
+		{
+			var container = this.startContainer ;
+
+			if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
+				return container ;
+
+			return container.getChild( this.startOffset ) || container ;
+		},
+
+		getTouchedEndNode : function()
+		{
+			var container = this.endContainer ;
+
+			if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
+				return container ;
+
+			return container.getChild( this.endOffset - 1 ) || container ;
+		}
+	};
+})();
+
+CKEDITOR.POSITION_AFTER_START	= 1;	// <element>^contents</element>		"^text"
+CKEDITOR.POSITION_BEFORE_END	= 2;	// <element>contents^</element>		"text^"
+CKEDITOR.POSITION_BEFORE_START	= 3;	// ^<element>contents</element>		^"text"
+CKEDITOR.POSITION_AFTER_END		= 4;	// <element>contents</element>^		"text"
+
+CKEDITOR.ENLARGE_ELEMENT = 1;
+CKEDITOR.ENLARGE_BLOCK_CONTENTS = 2;
+CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS = 3;
+
+/**
+ * Check boundary types.
+ * @see CKEDITOR.dom.range::checkBoundaryOfElement
+ */
+CKEDITOR.START = 1;
+CKEDITOR.END = 2;
+CKEDITOR.STARTEND = 3;
Index: CKEditor/branches/features/aria/_source/core/dom/text.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/text.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/text.js	(revision 4888)
@@ -0,0 +1,123 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.text} class, which represents
+ *		a DOM text node.
+ */
+
+/**
+ * Represents a DOM text node.
+ * @constructor
+ * @augments CKEDITOR.dom.node
+ * @param {Object|String} text A native DOM text node or a string containing
+ *		the text to use to create a new text node.
+ * @param {CKEDITOR.dom.document} [ownerDocument] The document that will contain
+ *		the node in case of new node creation. Defaults to the current document.
+ * @example
+ * var nativeNode = document.createTextNode( 'Example' );
+ * var text = CKEDITOR.dom.text( nativeNode );
+ * @example
+ * var text = CKEDITOR.dom.text( 'Example' );
+ */
+CKEDITOR.dom.text = function( text, ownerDocument )
+{
+	if ( typeof text == 'string' )
+		text = ( ownerDocument ? ownerDocument.$ : document ).createTextNode( text );
+
+	// Theoretically, we should call the base constructor here
+	// (not CKEDITOR.dom.node though). But, IE doesn't support expando
+	// properties on text node, so the features provided by domObject will not
+	// work for text nodes (which is not a big issue for us).
+	//
+	// CKEDITOR.dom.domObject.call( this, element );
+
+	/**
+	 * The native DOM text node represented by this class instance.
+	 * @type Object
+	 * @example
+	 * var element = new CKEDITOR.dom.text( 'Example' );
+	 * alert( element.$.nodeType );  // "3"
+	 */
+	this.$ = text;
+};
+
+CKEDITOR.dom.text.prototype = new CKEDITOR.dom.node();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.text.prototype,
+	/** @lends CKEDITOR.dom.text.prototype */
+	{
+		/**
+		 * The node type. This is a constant value set to
+		 * {@link CKEDITOR.NODE_TEXT}.
+		 * @type Number
+		 * @example
+		 */
+		type : CKEDITOR.NODE_TEXT,
+
+		getLength : function()
+		{
+			return this.$.nodeValue.length;
+		},
+
+		getText : function()
+		{
+			return this.$.nodeValue;
+		},
+
+		/**
+		 * Breaks this text node into two nodes at the specified offset,
+		 * keeping both in the tree as siblings. This node then only contains
+		 * all the content up to the offset point. A new text node, which is
+		 * inserted as the next sibling of this node, contains all the content
+		 * at and after the offset point. When the offset is equal to the
+		 * length of this node, the new node has no data.
+		 * @param {Number} The position at which to split, starting from zero.
+		 * @returns {CKEDITOR.dom.text} The new text node.
+		 */
+		split : function( offset )
+		{
+			// If the offset is after the last char, IE creates the text node
+			// on split, but don't include it into the DOM. So, we have to do
+			// that manually here.
+			if ( CKEDITOR.env.ie && offset == this.getLength() )
+			{
+				var next = this.getDocument().createText( '' );
+				next.insertAfter( this );
+				return next;
+			}
+
+			var doc = this.getDocument();
+			var retval = new CKEDITOR.dom.text( this.$.splitText( offset ), doc );
+
+			// IE BUG: IE8 does not update the childNodes array in DOM after splitText(),
+			// we need to make some DOM changes to make it update. (#3436)
+			if ( CKEDITOR.env.ie8 )
+			{
+				var workaround = new CKEDITOR.dom.text( '', doc );
+				workaround.insertAfter( retval );
+				workaround.remove();
+			}
+
+			return retval;
+		},
+
+		/**
+		 * Extracts characters from indexA up to but not including indexB.
+		 * @param {Number} indexA An integer between 0 and one less than the
+		 *		length of the text.
+		 * @param {Number} [indexB] An integer between 0 and the length of the
+		 *		string. If omitted, extracts characters to the end of the text.
+		 */
+		substring : function( indexA, indexB )
+		{
+			// We need the following check due to a Firefox bug
+			// https://bugzilla.mozilla.org/show_bug.cgi?id=458886
+			if ( typeof indexB != 'number' )
+				return this.$.nodeValue.substr( indexA );
+			else
+				return this.$.nodeValue.substring( indexA, indexB );
+		}
+	});
Index: CKEditor/branches/features/aria/_source/core/dom/walker.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/walker.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/walker.js	(revision 4888)
@@ -0,0 +1,451 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	// This function is to be called under a "walker" instance scope.
+	function iterate( rtl, breakOnFalse )
+	{
+		// Return null if we have reached the end.
+		if ( this._.end )
+			return null;
+
+		var node,
+			range = this.range,
+			guard,
+			userGuard = this.guard,
+			type = this.type,
+			getSourceNodeFn = ( rtl ? 'getPreviousSourceNode' : 'getNextSourceNode' );
+
+		// This is the first call. Initialize it.
+		if ( !this._.start )
+		{
+			this._.start = 1;
+
+			// Trim text nodes and optmize the range boundaries. DOM changes
+			// may happen at this point.
+			range.trim();
+
+			// A collapsed range must return null at first call.
+			if ( range.collapsed )
+			{
+				this.end();
+				return null;
+			}
+		}
+
+		// Create the LTR guard function, if necessary.
+		if ( !rtl && !this._.guardLTR )
+		{
+			// Gets the node that stops the walker when going LTR.
+			var limitLTR = range.endContainer,
+				blockerLTR = limitLTR.getChild( range.endOffset );
+
+			this._.guardLTR = function( node, movingOut )
+			{
+				return ( ( !movingOut || !limitLTR.equals( node ) )
+					&& ( !blockerLTR || !node.equals( blockerLTR ) )
+					&& ( node.type != CKEDITOR.NODE_ELEMENT || !movingOut || node.getName() != 'body' ) );
+			};
+		}
+
+		// Create the RTL guard function, if necessary.
+		if ( rtl && !this._.guardRTL )
+		{
+			// Gets the node that stops the walker when going LTR.
+			var limitRTL = range.startContainer,
+				blockerRTL = ( range.startOffset > 0 ) && limitRTL.getChild( range.startOffset - 1 );
+
+			this._.guardRTL = function( node, movingOut )
+			{
+				return ( ( !movingOut || !limitRTL.equals( node ) )
+					&& ( !blockerRTL || !node.equals( blockerRTL ) )
+					&& ( node.type != CKEDITOR.NODE_ELEMENT || !movingOut || node.getName() != 'body' ) );
+			};
+		}
+
+		// Define which guard function to use.
+		var stopGuard = rtl ? this._.guardRTL : this._.guardLTR;
+
+		// Make the user defined guard function participate in the process,
+		// otherwise simply use the boundary guard.
+		if ( userGuard )
+		{
+			guard = function( node, movingOut )
+			{
+				if ( stopGuard( node, movingOut ) === false )
+					return false;
+
+				return userGuard( node, movingOut );
+			};
+		}
+		else
+			guard = stopGuard;
+
+		if ( this.current )
+			node = this.current[ getSourceNodeFn ]( false, type, guard );
+		else
+		{
+			// Get the first node to be returned.
+
+			if ( rtl )
+			{
+				node = range.endContainer;
+
+				if ( range.endOffset > 0 )
+				{
+					node = node.getChild( range.endOffset - 1 );
+					if ( guard( node ) === false )
+						node = null;
+				}
+				else
+					node = ( guard ( node ) === false ) ?
+						null : node.getPreviousSourceNode( true, type, guard );
+			}
+			else
+			{
+				node = range.startContainer;
+				node = node.getChild( range.startOffset );
+
+				if ( node )
+				{
+					if ( guard( node ) === false )
+						node = null;
+				}
+				else
+					node = ( guard ( range.startContainer ) === false ) ?
+						null : range.startContainer.getNextSourceNode( true, type, guard ) ;
+			}
+		}
+
+		while ( node && !this._.end )
+		{
+			this.current = node;
+
+			if ( !this.evaluator || this.evaluator( node ) !== false )
+			{
+				if ( !breakOnFalse )
+					return node;
+			}
+			else if ( breakOnFalse && this.evaluator )
+				return false;
+
+			node = node[ getSourceNodeFn ]( false, type, guard );
+		}
+
+		this.end();
+		return this.current = null;
+	}
+
+	function iterateToLast( rtl )
+	{
+		var node, last = null;
+
+		while ( ( node = iterate.call( this, rtl ) ) )
+			last = node;
+
+		return last;
+	}
+
+	CKEDITOR.dom.walker = CKEDITOR.tools.createClass(
+	{
+		/**
+		 * Utility class to "walk" the DOM inside a range boundaries. If
+		 * necessary, partially included nodes (text nodes) are broken to
+		 * reflect the boundaries limits, so DOM and range changes may happen.
+		 * Outside changes to the range may break the walker.
+		 *
+		 * The walker may return nodes that are not totaly included into the
+		 * range boundaires. Let's take the following range representation,
+		 * where the square brackets indicate the boundaries:
+		 *
+		 * [&lt;p&gt;Some &lt;b&gt;sample] text&lt;/b&gt;
+		 *
+		 * While walking forward into the above range, the following nodes are
+		 * returned: &lt;p&gt;, "Some ", &lt;b&gt; and "sample". Going
+		 * backwards instead we have: "sample" and "Some ". So note that the
+		 * walker always returns nodes when "entering" them, but not when
+		 * "leaving" them. The guard function is instead called both when
+		 * entering and leaving nodes.
+		 *
+		 * @constructor
+		 * @param {CKEDITOR.dom.range} range The range within which walk.
+		 */
+		$ : function( range )
+		{
+			this.range = range;
+
+			/**
+			 * A function executed for every matched node, to check whether
+			 * it's to be considered into the walk or not. If not provided, all
+			 * matched nodes are considered good.
+			 * If the function returns "false" the node is ignored.
+			 * @name CKEDITOR.dom.walker.prototype.evaluator
+			 * @property
+			 * @type Function
+			 */
+			// this.evaluator = null;
+
+			/**
+			 * A function executed for every node the walk pass by to check
+			 * whether the walk is to be finished. It's called when both
+			 * entering and exiting nodes, as well as for the matched nodes.
+			 * If this function returns "false", the walking ends and no more
+			 * nodes are evaluated.
+			 * @name CKEDITOR.dom.walker.prototype.guard
+			 * @property
+			 * @type Function
+			 */
+			// this.guard = null;
+
+			/** @private */
+			this._ = {};
+		},
+
+//		statics :
+//		{
+//			/* Creates a CKEDITOR.dom.walker instance to walk inside DOM boundaries set by nodes.
+//			 * @param {CKEDITOR.dom.node} startNode The node from wich the walk
+//			 *		will start.
+//			 * @param {CKEDITOR.dom.node} [endNode] The last node to be considered
+//			 *		in the walk. No more nodes are retrieved after touching or
+//			 *		passing it. If not provided, the walker stops at the
+//			 *		&lt;body&gt; closing boundary.
+//			 * @returns {CKEDITOR.dom.walker} A DOM walker for the nodes between the
+//			 *		provided nodes.
+//			 */
+//			createOnNodes : function( startNode, endNode, startInclusive, endInclusive )
+//			{
+//				var range = new CKEDITOR.dom.range();
+//				if ( startNode )
+//					range.setStartAt( startNode, startInclusive ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_END ) ;
+//				else
+//					range.setStartAt( startNode.getDocument().getBody(), CKEDITOR.POSITION_AFTER_START ) ;
+//
+//				if ( endNode )
+//					range.setEndAt( endNode, endInclusive ? CKEDITOR.POSITION_AFTER_END : CKEDITOR.POSITION_BEFORE_START ) ;
+//				else
+//					range.setEndAt( startNode.getDocument().getBody(), CKEDITOR.POSITION_BEFORE_END ) ;
+//
+//				return new CKEDITOR.dom.walker( range );
+//			}
+//		},
+//
+		proto :
+		{
+			/**
+			 * Stop walking. No more nodes are retrieved if this function gets
+			 * called.
+			 */
+			end : function()
+			{
+				this._.end = 1;
+			},
+
+			/**
+			 * Retrieves the next node (at right).
+			 * @returns {CKEDITOR.dom.node} The next node or null if no more
+			 *		nodes are available.
+			 */
+			next : function()
+			{
+				return iterate.call( this );
+			},
+
+			/**
+			 * Retrieves the previous node (at left).
+			 * @returns {CKEDITOR.dom.node} The previous node or null if no more
+			 *		nodes are available.
+			 */
+			previous : function()
+			{
+				return iterate.call( this, true );
+			},
+
+			/**
+			 * Check all nodes at right, executing the evaluation fuction.
+			 * @returns {Boolean} "false" if the evaluator function returned
+			 *		"false" for any of the matched nodes. Otherwise "true".
+			 */
+			checkForward : function()
+			{
+				return iterate.call( this, false, true ) !== false;
+			},
+
+			/**
+			 * Check all nodes at left, executing the evaluation fuction.
+			 * @returns {Boolean} "false" if the evaluator function returned
+			 *		"false" for any of the matched nodes. Otherwise "true".
+			 */
+			checkBackward : function()
+			{
+				return iterate.call( this, true, true ) !== false;
+			},
+
+			/**
+			 * Executes a full walk forward (to the right), until no more nodes
+			 * are available, returning the last valid node.
+			 * @returns {CKEDITOR.dom.node} The last node at the right or null
+			 *		if no valid nodes are available.
+			 */
+			lastForward : function()
+			{
+				return iterateToLast.call( this );
+			},
+
+			/**
+			 * Executes a full walk backwards (to the left), until no more nodes
+			 * are available, returning the last valid node.
+			 * @returns {CKEDITOR.dom.node} The last node at the left or null
+			 *		if no valid nodes are available.
+			 */
+			lastBackward : function()
+			{
+				return iterateToLast.call( this, true );
+			},
+
+			reset : function()
+			{
+				delete this.current;
+				this._ = {};
+			}
+
+		}
+	});
+
+	/*
+	 * Anything whose display computed style is block, list-item, table,
+	 * table-row-group, table-header-group, table-footer-group, table-row,
+	 * table-column-group, table-column, table-cell, table-caption, or whose node
+	 * name is hr, br (when enterMode is br only) is a block boundary.
+	 */
+	var blockBoundaryDisplayMatch =
+	{
+		block : 1,
+		'list-item' : 1,
+		table : 1,
+		'table-row-group' : 1,
+		'table-header-group' : 1,
+		'table-footer-group' : 1,
+		'table-row' : 1,
+		'table-column-group' : 1,
+		'table-column' : 1,
+		'table-cell' : 1,
+		'table-caption' : 1
+	},
+	blockBoundaryNodeNameMatch = { hr : 1 };
+
+	CKEDITOR.dom.element.prototype.isBlockBoundary = function( customNodeNames )
+	{
+		var nodeNameMatches = CKEDITOR.tools.extend( {},
+													blockBoundaryNodeNameMatch, customNodeNames || {} );
+
+		return blockBoundaryDisplayMatch[ this.getComputedStyle( 'display' ) ] ||
+			nodeNameMatches[ this.getName() ];
+	};
+
+	CKEDITOR.dom.walker.blockBoundary = function( customNodeNames )
+	{
+		return function( node , type )
+		{
+			return ! ( node.type == CKEDITOR.NODE_ELEMENT
+						&& node.isBlockBoundary( customNodeNames ) );
+		};
+	};
+
+	CKEDITOR.dom.walker.listItemBoundary = function()
+	{
+			return this.blockBoundary( { br : 1 } );
+	};
+	/**
+	 * Whether the node is a bookmark node's inner text node.
+	 */
+	CKEDITOR.dom.walker.bookmarkContents = function( node )
+	{
+	},
+
+	/**
+	 * Whether the to-be-evaluated node is a bookmark node OR bookmark node
+	 * inner contents.
+	 * @param {Boolean} contentOnly Whether only test againt the text content of
+	 * bookmark node instead of the element itself(default).
+	 * @param {Boolean} isReject Whether should return 'false' for the bookmark
+	 * node instead of 'true'(default).
+	 */
+	CKEDITOR.dom.walker.bookmark = function( contentOnly, isReject )
+	{
+		function isBookmarkNode( node )
+		{
+			return ( node && node.getName
+					&& node.getName() == 'span'
+					&& node.hasAttribute('_fck_bookmark') );
+		}
+
+		return function( node )
+		{
+			var isBookmark, parent;
+			// Is bookmark inner text node?
+			isBookmark = ( node && !node.getName && ( parent = node.getParent() )
+						&& isBookmarkNode( parent ) );
+			// Is bookmark node?
+			isBookmark = contentOnly ? isBookmark : isBookmark || isBookmarkNode( node );
+			return isReject ^ isBookmark;
+		};
+	};
+
+	/**
+	 * Whether the node is a text node containing only whitespaces characters.
+	 * @param isReject
+	 */
+	CKEDITOR.dom.walker.whitespaces = function( isReject )
+	{
+		return function( node )
+		{
+			var isWhitespace = node && ( node.type == CKEDITOR.NODE_TEXT )
+							&& !CKEDITOR.tools.trim( node.getText() );
+			return isReject ^ isWhitespace;
+		};
+	};
+
+	/**
+	 * Whether the node is invisible in wysiwyg mode.
+	 * @param isReject
+	 */
+	CKEDITOR.dom.walker.invisible = function( isReject )
+	{
+		var whitespace = CKEDITOR.dom.walker.whitespaces();
+		return function( node )
+		{
+			// Nodes that take no spaces in wysiwyg:
+			// 1. White-spaces but not including NBSP;
+			// 2. Empty inline elements, e.g. <b></b> we're checking here
+			// 'offsetHeight' instead of 'offsetWidth' for properly excluding
+			// all sorts of empty paragraph, e.g. <br />.
+			var isInvisible = whitespace( node ) || node.is && !node.$.offsetHeight;
+			return isReject ^ isInvisible;
+		};
+	};
+
+	var tailNbspRegex = /^[\t\r\n ]*(?:&nbsp;|\xa0)$/,
+		isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+		isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true ),
+		fillerEvaluator = function( element )
+		{
+			return isNotBookmark( element ) && isNotWhitespaces( element );
+		};
+
+	// Check if there's a filler node at the end of an element, and return it.
+	CKEDITOR.dom.element.prototype.getBogus = function ()
+	{
+		var tail = this.getLast( fillerEvaluator );
+		if ( tail && ( !CKEDITOR.env.ie ? tail.is && tail.is( 'br' )
+				: tail.getText && tailNbspRegex.test( tail.getText() ) ) )
+		{
+			return tail;
+		}
+		return false;
+	};
+
+})();
Index: CKEditor/branches/features/aria/_source/core/dom/window.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dom/window.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dom/window.js	(revision 4888)
@@ -0,0 +1,96 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
+ *		represents a DOM document.
+ */
+
+/**
+ * Represents a DOM window.
+ * @constructor
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domWindow A native DOM window.
+ * @example
+ * var document = new CKEDITOR.dom.window( window );
+ */
+CKEDITOR.dom.window = function( domWindow )
+{
+	CKEDITOR.dom.domObject.call( this, domWindow );
+};
+
+CKEDITOR.dom.window.prototype = new CKEDITOR.dom.domObject();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.window.prototype,
+	/** @lends CKEDITOR.dom.window.prototype */
+	{
+		/**
+		 * Moves the selection focus to this window.
+		 * @function
+		 * @example
+		 * var win = new CKEDITOR.dom.window( window );
+		 * <b>win.focus()</b>;
+		 */
+		focus : function()
+		{
+			// Webkit is sometimes failed to focus iframe, blur it first(#3835).
+			if( CKEDITOR.env.webkit && this.$.parent )
+				this.$.parent.focus();
+			this.$.focus();
+		},
+
+		/**
+		 * Gets the width and height of this window's viewable area.
+		 * @function
+		 * @returns {Object} An object with the "width" and "height"
+		 *		properties containing the size.
+		 * @example
+		 * var win = new CKEDITOR.dom.window( window );
+		 * var size = <b>win.getViewPaneSize()</b>;
+		 * alert( size.width );
+		 * alert( size.height );
+		 */
+		getViewPaneSize : function()
+		{
+			var doc = this.$.document,
+				stdMode = doc.compatMode == 'CSS1Compat';
+			return {
+				width : ( stdMode ? doc.documentElement.clientWidth : doc.body.clientWidth ) || 0,
+				height : ( stdMode ? doc.documentElement.clientHeight : doc.body.clientHeight ) || 0
+			};
+		},
+
+		/**
+		 * Gets the current position of the window's scroll.
+		 * @function
+		 * @returns {Object} An object with the "x" and "y" properties
+		 *		containing the scroll position.
+		 * @example
+		 * var win = new CKEDITOR.dom.window( window );
+		 * var pos = <b>win.getScrollPosition()</b>;
+		 * alert( pos.x );
+		 * alert( pos.y );
+		 */
+		getScrollPosition : function()
+		{
+			var $ = this.$;
+
+			if ( 'pageXOffset' in $ )
+			{
+				return {
+					x : $.pageXOffset || 0,
+					y : $.pageYOffset || 0
+				};
+			}
+			else
+			{
+				var doc = $.document;
+				return {
+					x : doc.documentElement.scrollLeft || doc.body.scrollLeft || 0,
+					y : doc.documentElement.scrollTop || doc.body.scrollTop || 0
+				};
+			}
+		}
+	});
Index: CKEditor/branches/features/aria/_source/core/dtd.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/dtd.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/dtd.js	(revision 4888)
@@ -0,0 +1,233 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dtd} object, which holds the DTD
+ *		mapping for XHTML 1.0 Transitional. This file was automatically
+ *		generated from the file: xhtml1-transitional.dtd.
+ */
+
+/**
+ * Holds and object representation of the HTML DTD to be used by the editor in
+ * its internal operations.
+ *
+ * Each element in the DTD is represented by a
+ * property in this object. Each property contains the list of elements that
+ * can be contained by the element. Text is represented by the "#" property.
+ *
+ * Several special grouping properties are also available. Their names start
+ * with the "$" character.
+ * @namespace
+ * @example
+ * // Check if "div" can be contained in a "p" element.
+ * alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] );  "false"
+ * @example
+ * // Check if "p" can be contained in a "div" element.
+ * alert( !!CKEDITOR.dtd[ 'div' ][ 'p' ] );  "true"
+ * @example
+ * // Check if "p" is a block element.
+ * alert( !!CKEDITOR.dtd.$block[ 'p' ] );  "true"
+ */
+CKEDITOR.dtd = (function()
+{
+	var X = CKEDITOR.tools.extend,
+
+		A = {isindex:1,fieldset:1},
+		B = {input:1,button:1,select:1,textarea:1,label:1},
+		C = X({a:1},B),
+		D = X({iframe:1},C),
+		E = {hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1},
+		F = {ins:1,del:1,script:1},
+		G = X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F),
+		H = X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G),
+		I = X({p:1},H),
+		J = X({iframe:1},H,B),
+		K = {img:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,'#':1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,'var':1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1},
+
+		L = X({a:1},J),
+		M = {tr:1},
+		N = {'#':1},
+		O = X({param:1},K),
+		P = X({form:1},A,D,E,I),
+		Q = {li:1},
+		R = {style:1,script:1},
+		S = {base:1,link:1,meta:1,title:1},
+		T = X(S,R),
+		U = {head:1,body:1},
+		V = {html:1};
+
+	var block = {address:1,blockquote:1,center:1,dir:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,isindex:1,menu:1,noframes:1,ol:1,p:1,pre:1,table:1,ul:1};
+
+	return /** @lends CKEDITOR.dtd */ {
+
+		// The "$" items have been added manually.
+
+		// List of elements living outside body.
+		$nonBodyContent: X(V,U,S),
+
+		/**
+		 * List of block elements, like "p" or "div".
+		 * @type Object
+		 * @example
+		 */
+		$block : block,
+
+		/**
+		 * List of block limit elements.
+		 * @type Object
+		 * @example
+		 */
+		$blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 },
+
+		$inline : L,	// Just like span.
+
+		$body : X({script:1,style:1}, block),
+
+		$cdata : {script:1,style:1},
+
+		/**
+		 * List of empty (self-closing) elements, like "br" or "img".
+		 * @type Object
+		 * @example
+		 */
+		$empty : {area:1,base:1,br:1,col:1,hr:1,img:1,input:1,link:1,meta:1,param:1},
+
+		/**
+		 * List of list item elements, like "li" or "dd".
+		 * @type Object
+		 * @example
+		 */
+		$listItem : {dd:1,dt:1,li:1},
+
+		/**
+	     * List of list root elements.
+	     * @type Object
+	     * @example
+	     */
+	    $list: { ul:1,ol:1,dl:1},
+
+		/**
+		 * Elements that accept text nodes, but are not possible to edit into
+		 * the browser.
+		 * @type Object
+		 * @example
+		 */
+		$nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1,param:1},
+
+		/**
+		 * List of elements that can be ignored if empty, like "b" or "span".
+		 * @type Object
+		 * @example
+		 */
+		$removeEmpty : {abbr:1,acronym:1,address:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1},
+
+		/**
+		 * List of elements that have tabindex set to zero by default.
+		 * @type Object
+		 * @example
+		 */
+		$tabIndex : {a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},
+
+		/**
+		 * List of elements used inside the "table" element, like "tbody" or "td".
+		 * @type Object
+		 * @example
+		 */
+		$tableContent : {caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},
+
+        html: U,
+        head: T,
+        style: N,
+        script: N,
+        body: P,
+        base: {},
+        link: {},
+        meta: {},
+        title: N,
+        col : {},
+        tr : {td:1,th:1},
+        img : {},
+        colgroup : {col:1},
+        noscript : P,
+        td : P,
+        br : {},
+        th : P,
+        center : P,
+        kbd : L,
+        button : X(I,E),
+        basefont : {},
+        h5 : L,
+        h4 : L,
+        samp : L,
+        h6 : L,
+        ol : Q,
+        h1 : L,
+        h3 : L,
+        option : N,
+        h2 : L,
+        form : X(A,D,E,I),
+        select : {optgroup:1,option:1},
+        font : L,
+        ins : L,
+        menu : Q,
+        abbr : L,
+        label : L,
+        table : {thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},
+        code : L,
+        script : N,
+        tfoot : M,
+        cite : L,
+        li : P,
+        input : {},
+        iframe : P,
+        strong : L,
+        textarea : N,
+        noframes : P,
+        big : L,
+        small : L,
+        span : L,
+        hr : {},
+        dt : L,
+        sub : L,
+        optgroup : {option:1},
+        param : {},
+        bdo : L,
+        'var' : L,
+        div : P,
+        object : O,
+        sup : L,
+        dd : P,
+        strike : L,
+        area : {},
+        dir : Q,
+        map : X({area:1,form:1,p:1},A,F,E),
+        applet : O,
+        dl : {dt:1,dd:1},
+        del : L,
+        isindex : {},
+        fieldset : X({legend:1},K),
+        thead : M,
+        ul : Q,
+        acronym : L,
+        b : L,
+        a : J,
+        blockquote : P,
+        caption : L,
+        i : L,
+        u : L,
+        tbody : M,
+        s : L,
+        address : X(D,I),
+        tt : L,
+        legend : L,
+        q : L,
+        pre : X(G,C),
+        p : L,
+        em : L,
+        dfn : L
+    };
+})();
+
+// PACKAGER_RENAME( CKEDITOR.dtd )
Index: CKEditor/branches/features/aria/_source/core/editor.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/editor.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/editor.js	(revision 4888)
@@ -0,0 +1,692 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.editor} class, which represents an
+ *		editor instance.
+ */
+
+(function()
+{
+	// The counter for automatic instance names.
+	var nameCounter = 0;
+
+	var getNewName = function()
+	{
+		var name = 'editor' + ( ++nameCounter );
+		return ( CKEDITOR.instances && CKEDITOR.instances[ name ] ) ? getNewName() : name;
+	};
+
+	// ##### START: Config Privates
+
+	// These function loads custom configuration files and cache the
+	// CKEDITOR.editorConfig functions defined on them, so there is no need to
+	// download them more than once for several instances.
+	var loadConfigLoaded = {};
+	var loadConfig = function( editor )
+	{
+		var customConfig = editor.config.customConfig;
+
+		// Check if there is a custom config to load.
+		if ( !customConfig )
+			return false;
+
+		customConfig = CKEDITOR.getUrl( customConfig );
+
+		var loadedConfig = loadConfigLoaded[ customConfig ] || ( loadConfigLoaded[ customConfig ] = {} );
+
+		// If the custom config has already been downloaded, reuse it.
+		if ( loadedConfig.fn )
+		{
+			// Call the cached CKEDITOR.editorConfig defined in the custom
+			// config file for the editor instance depending on it.
+			loadedConfig.fn.call( editor, editor.config );
+
+			// If there is no other customConfig in the chain, fire the
+			// "configLoaded" event.
+			if ( CKEDITOR.getUrl( editor.config.customConfig ) == customConfig || !loadConfig( editor ) )
+				editor.fireOnce( 'customConfigLoaded' );
+		}
+		else
+		{
+			// Load the custom configuration file.
+			CKEDITOR.scriptLoader.load( customConfig, function()
+				{
+					// If the CKEDITOR.editorConfig function has been properly
+					// defined in the custom configuration file, cache it.
+					if ( CKEDITOR.editorConfig )
+						loadedConfig.fn = CKEDITOR.editorConfig;
+					else
+						loadedConfig.fn = function(){};
+
+					// Call the load config again. This time the custom
+					// config is already cached and so it will get loaded.
+					loadConfig( editor );
+				});
+		}
+
+		return true;
+	};
+
+	var initConfig = function( editor, instanceConfig )
+	{
+		// Setup the lister for the "customConfigLoaded" event.
+		editor.on( 'customConfigLoaded', function()
+			{
+				if ( instanceConfig )
+				{
+					// Register the events that may have been set at the instance
+					// configuration object.
+					if ( instanceConfig.on )
+					{
+						for ( var eventName in instanceConfig.on )
+						{
+							editor.on( eventName, instanceConfig.on[ eventName ] );
+						}
+					}
+
+					// Overwrite the settings from the in-page config.
+					CKEDITOR.tools.extend( editor.config, instanceConfig, true );
+
+					delete editor.config.on;
+				}
+
+				onConfigLoaded( editor );
+			});
+
+		// The instance config may override the customConfig setting to avoid
+		// loading the default ~/config.js file.
+		if ( instanceConfig && instanceConfig.customConfig != undefined )
+			editor.config.customConfig = instanceConfig.customConfig;
+
+		// Load configs from the custom configuration files.
+		if ( !loadConfig( editor ) )
+			editor.fireOnce( 'customConfigLoaded' );
+	};
+
+	// ##### END: Config Privates
+
+	var onConfigLoaded = function( editor )
+	{
+		// Set config related properties.
+
+		var skin = editor.config.skin.split( ',' ),
+			skinName = skin[ 0 ],
+			skinPath = CKEDITOR.getUrl( skin[ 1 ] || (
+				'_source/' +	// @Packager.RemoveLine
+				'skins/' + skinName + '/' ) );
+
+		editor.skinName = skinName;
+		editor.skinPath = skinPath;
+		editor.skinClass = 'cke_skin_' + skinName;
+
+		// Fire the "configLoaded" event.
+		editor.fireOnce( 'configLoaded' );
+
+		// Load language file.
+		loadSkin( editor );
+	};
+
+	var loadLang = function( editor )
+	{
+		CKEDITOR.lang.load( editor.config.language, editor.config.defaultLanguage, function( languageCode, lang )
+			{
+				editor.langCode = languageCode;
+
+				// As we'll be adding plugin specific entries that could come
+				// from different language code files, we need a copy of lang,
+				// not a direct reference to it.
+				editor.lang = CKEDITOR.tools.prototypedCopy( lang );
+
+				// We're not able to support RTL in Firefox 2 at this time.
+				if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 && editor.lang.dir == 'rtl' )
+					editor.lang.dir = 'ltr';
+
+				loadPlugins( editor );
+			});
+	};
+
+	var loadPlugins = function( editor )
+	{
+		var config			= editor.config,
+			plugins			= config.plugins,
+			extraPlugins	= config.extraPlugins,
+			removePlugins	= config.removePlugins;
+
+		if ( extraPlugins )
+		{
+			// Remove them first to avoid duplications.
+			var removeRegex = new RegExp( '(?:^|,)(?:' + extraPlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
+			plugins = plugins.replace( removeRegex, '' );
+
+			plugins += ',' + extraPlugins;
+		}
+
+		if ( removePlugins )
+		{
+			removeRegex = new RegExp( '(?:^|,)(?:' + removePlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
+			plugins = plugins.replace( removeRegex, '' );
+		}
+
+		// Load all plugins defined in the "plugins" setting.
+		CKEDITOR.plugins.load( plugins.split( ',' ), function( plugins )
+			{
+				// The list of plugins.
+				var pluginsArray = [];
+
+				// The language code to get loaded for each plugin. Null
+				// entries will be appended for plugins with no language files.
+				var languageCodes = [];
+
+				// The list of URLs to language files.
+				var languageFiles = [];
+
+				// Cache the loaded plugin names.
+				editor.plugins = plugins;
+
+				// Loop through all plugins, to build the list of language
+				// files to get loaded.
+				for ( var pluginName in plugins )
+				{
+					var plugin = plugins[ pluginName ],
+						pluginLangs = plugin.lang,
+						pluginPath = CKEDITOR.plugins.getPath( pluginName ),
+						lang = null;
+
+					// Set the plugin path in the plugin.
+					plugin.path = pluginPath;
+
+					// If the plugin has "lang".
+					if ( pluginLangs )
+					{
+						// Resolve the plugin language. If the current language
+						// is not available, get the first one (default one).
+						lang = ( CKEDITOR.tools.indexOf( pluginLangs, editor.langCode ) >= 0 ? editor.langCode : pluginLangs[ 0 ] );
+
+						if ( !plugin.lang[ lang ] )
+						{
+							// Put the language file URL into the list of files to
+							// get downloaded.
+							languageFiles.push( CKEDITOR.getUrl( pluginPath + 'lang/' + lang + '.js' ) );
+						}
+						else
+						{
+							CKEDITOR.tools.extend( editor.lang, plugin.lang[ lang ] );
+							lang = null;
+						}
+					}
+
+					// Save the language code, so we know later which
+					// language has been resolved to this plugin.
+					languageCodes.push( lang );
+
+					pluginsArray.push( plugin );
+				}
+
+				// Load all plugin specific language files in a row.
+				CKEDITOR.scriptLoader.load( languageFiles, function()
+					{
+						// Initialize all plugins that have the "beforeInit" and "init" methods defined.
+						var methods = [ 'beforeInit', 'init', 'afterInit' ];
+						for ( var m = 0 ; m < methods.length ; m++ )
+						{
+							for ( var i = 0 ; i < pluginsArray.length ; i++ )
+							{
+								var plugin = pluginsArray[ i ];
+
+								// Uses the first loop to update the language entries also.
+								if ( m === 0 && languageCodes[ i ] && plugin.lang )
+									CKEDITOR.tools.extend( editor.lang, plugin.lang[ languageCodes[ i ] ] );
+
+								// Call the plugin method (beforeInit and init).
+								if ( plugin[ methods[ m ] ] )
+									plugin[ methods[ m ] ]( editor );
+							}
+						}
+
+						// Load the editor skin.
+						editor.fire( 'pluginsLoaded' );
+						loadTheme( editor );
+					});
+			});
+	};
+
+	var loadSkin = function( editor )
+	{
+		CKEDITOR.skins.load( editor, 'editor', function()
+			{
+				loadLang( editor );
+			});
+	};
+
+	var loadTheme = function( editor )
+	{
+		var theme = editor.config.theme;
+		CKEDITOR.themes.load( theme, function()
+			{
+				var editorTheme = editor.theme = CKEDITOR.themes.get( theme );
+				editorTheme.path = CKEDITOR.themes.getPath( theme );
+				editorTheme.build( editor );
+
+				if ( editor.config.autoUpdateElement )
+					attachToForm( editor );
+			});
+	};
+
+	var attachToForm = function( editor )
+	{
+		var element = editor.element;
+
+		// If are replacing a textarea, we must
+		if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && element.is( 'textarea' ) )
+		{
+			var form = element.$.form && new CKEDITOR.dom.element( element.$.form );
+			if ( form )
+			{
+				function onSubmit()
+				{
+					editor.updateElement();
+				}
+				form.on( 'submit',onSubmit );
+
+				// Setup the submit function because it doesn't fire the
+				// "submit" event.
+				if ( !form.$.submit.nodeName )
+				{
+					form.$.submit = CKEDITOR.tools.override( form.$.submit, function( originalSubmit )
+						{
+							return function()
+								{
+									editor.updateElement();
+
+									// For IE, the DOM submit function is not a
+									// function, so we need thid check.
+									if ( originalSubmit.apply )
+										originalSubmit.apply( this, arguments );
+									else
+										originalSubmit();
+								};
+						});
+				}
+
+				// Remove 'submit' events registered on form element before destroying.(#3988)
+				editor.on( 'destroy', function()
+				{
+					form.removeListener( 'submit', onSubmit );
+				} );
+			}
+		}
+	};
+
+	function updateCommandsMode()
+	{
+		var command,
+			commands = this._.commands,
+			mode = this.mode;
+
+		for ( var name in commands )
+		{
+			command = commands[ name ];
+			command[ command.modes[ mode ] ? 'enable' : 'disable' ]();
+		}
+	}
+
+	/**
+	 * Initializes the editor instance. This function is called by the editor
+	 * contructor (editor_basic.js).
+	 * @private
+	 */
+	CKEDITOR.editor.prototype._init = function()
+		{
+			// Get the properties that have been saved in the editor_base
+			// implementation.
+			var element			= CKEDITOR.dom.element.get( this._.element ),
+				instanceConfig	= this._.instanceConfig;
+			delete this._.element;
+			delete this._.instanceConfig;
+
+			this._.commands = {};
+			this._.styles = [];
+
+			/**
+			 * The DOM element that has been replaced by this editor instance. This
+			 * element holds the editor data on load and post.
+			 * @name CKEDITOR.editor.prototype.element
+			 * @type CKEDITOR.dom.element
+			 * @example
+			 * var editor = CKEDITOR.instances.editor1;
+			 * alert( <b>editor.element</b>.getName() );  "textarea"
+			 */
+			this.element = element;
+
+			/**
+			 * The editor instance name. It hay be the replaced element id, name or
+			 * a default name using a progressive counter (editor1, editor2, ...).
+			 * @name CKEDITOR.editor.prototype.name
+			 * @type String
+			 * @example
+			 * var editor = CKEDITOR.instances.editor1;
+			 * alert( <b>editor.name</b> );  "editor1"
+			 */
+			this.name = ( element && ( this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+							&& ( element.getId() || element.getNameAtt() ) )
+						|| getNewName();
+
+			if ( this.name in CKEDITOR.instances )
+				throw '[CKEDITOR.editor] The instance "' + this.name + '" already exists.';
+
+			/**
+			 * The configurations for this editor instance. It inherits all
+			 * settings defined in (@link CKEDITOR.config}, combined with settings
+			 * loaded from custom configuration files and those defined inline in
+			 * the page when creating the editor.
+			 * @name CKEDITOR.editor.prototype.config
+			 * @type Object
+			 * @example
+			 * var editor = CKEDITOR.instances.editor1;
+			 * alert( <b>editor.config.theme</b> );  "default" e.g.
+			 */
+			this.config = CKEDITOR.tools.prototypedCopy( CKEDITOR.config );
+
+			/**
+			 * Namespace containing UI features related to this editor instance.
+			 * @name CKEDITOR.editor.prototype.ui
+			 * @type CKEDITOR.ui
+			 * @example
+			 */
+			this.ui = new CKEDITOR.ui( this );
+
+			/**
+			 * Controls the focus state of this editor instance. This property
+			 * is rarely used for normal API operations. It is mainly
+			 * destinated to developer adding UI elements to the editor interface.
+			 * @name CKEDITOR.editor.prototype.focusManager
+			 * @type CKEDITOR.focusManager
+			 * @example
+			 */
+			this.focusManager = new CKEDITOR.focusManager( this );
+
+			CKEDITOR.fire( 'instanceCreated', null, this );
+
+			this.on( 'mode', updateCommandsMode, null, null, 1 );
+
+			initConfig( this, instanceConfig );
+		};
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+	/** @lends CKEDITOR.editor.prototype */
+	{
+		/**
+		 * Adds a command definition to the editor instance. Commands added with
+		 * this function can be later executed with {@link #execCommand}.
+		 * @param {String} commandName The indentifier name of the command.
+		 * @param {CKEDITOR.commandDefinition} commandDefinition The command definition.
+		 * @example
+		 * editorInstance.addCommand( 'sample',
+		 * {
+		 *     exec : function( editor )
+		 *     {
+		 *         alert( 'Executing a command for the editor name "' + editor.name + '"!' );
+		 *     }
+		 * });
+		 */
+		addCommand : function( commandName, commandDefinition )
+		{
+			return this._.commands[ commandName ] = new CKEDITOR.command( this, commandDefinition );
+		},
+
+		/**
+		 * Add a trunk of css text to the editor which will be applied to the wysiwyg editing document.
+		 * Note: This function should be called before editor is loaded to take effect.
+		 * @param css {String} CSS text.
+		 * @example
+		 * editorInstance.addCss( 'body { background-color: grey; }' );
+		 */
+		addCss : function( css )
+		{
+			this._.styles.push( css );
+		},
+
+		/**
+		 * Destroys the editor instance, releasing all resources used by it.
+		 * If the editor replaced an element, the element will be recovered.
+		 * @param {Boolean} [noUpdate] If the instance is replacing a DOM
+		 *		element, this parameter indicates whether or not to update the
+		 *		element with the instance contents.
+		 * @example
+		 * alert( CKEDITOR.instances.editor1 );  e.g "object"
+		 * <b>CKEDITOR.instances.editor1.destroy()</b>;
+		 * alert( CKEDITOR.instances.editor1 );  "undefined"
+		 */
+		destroy : function( noUpdate )
+		{
+			if ( !noUpdate )
+				this.updateElement();
+
+			this.theme.destroy( this );
+			this.fire( 'destroy' );
+			CKEDITOR.remove( this );
+			CKEDITOR.fire( 'instanceDestroyed', null, this );
+		},
+
+		/**
+		 * Executes a command.
+		 * @param {String} commandName The indentifier name of the command.
+		 * @param {Object} [data] Data to be passed to the command
+		 * @returns {Boolean} "true" if the command has been successfuly
+		 *		executed, otherwise "false".
+		 * @example
+		 * editorInstance.execCommand( 'Bold' );
+		 */
+		execCommand : function( commandName, data )
+		{
+			var command = this.getCommand( commandName );
+
+			var eventData =
+			{
+				name: commandName,
+				commandData: data,
+				command: command
+			};
+
+			if ( command && command.state != CKEDITOR.TRISTATE_DISABLED )
+			{
+				if ( this.fire( 'beforeCommandExec', eventData ) !== true )
+				{
+					eventData.returnValue = command.exec( eventData.commandData );
+
+					// Fire the 'afterCommandExec' immediately if command is synchronous.
+					if ( !command.async && this.fire( 'afterCommandExec', eventData ) !== true )
+						return eventData.returnValue;
+				}
+			}
+
+			// throw 'Unknown command name "' + commandName + '"';
+			return false;
+		},
+
+		/**
+		 * Gets one of the registered commands. Note that, after registering a
+		 * command definition with addCommand, it is transformed internally
+		 * into an instance of {@link CKEDITOR.command}, which will be then
+		 * returned by this function.
+		 * @param {String} commandName The name of the command to be returned.
+		 * This is the same used to register the command with addCommand.
+		 * @returns {CKEDITOR.command} The command object identified by the
+		 * provided name.
+		 */
+		getCommand : function( commandName )
+		{
+			return this._.commands[ commandName ];
+		},
+
+		/**
+		 * Gets the editor data. The data will be in raw format. It is the same
+		 * data that is posted by the editor.
+		 * @type String
+		 * @returns (String) The editor data.
+		 * @example
+		 * if ( CKEDITOR.instances.editor1.<b>getData()</b> == '' )
+		 *     alert( 'There is no data available' );
+		 */
+		getData : function()
+		{
+			this.fire( 'beforeGetData' );
+
+			var eventData = this._.data;
+
+			if ( typeof eventData != 'string' )
+			{
+				var element = this.element;
+				if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+					eventData = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
+				else
+					eventData = '';
+			}
+
+			eventData = { dataValue : eventData };
+
+			// Fire "getData" so data manipulation may happen.
+			this.fire( 'getData', eventData );
+
+			return eventData.dataValue;
+		},
+
+		getSnapshot : function()
+		{
+			var data = this.fire( 'getSnapshot' );
+
+			if ( typeof data != 'string' )
+			{
+				var element = this.element;
+				if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+					data = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
+			}
+
+			return data;
+		},
+
+		loadSnapshot : function( snapshot )
+		{
+			this.fire( 'loadSnapshot', snapshot );
+		},
+
+		/**
+		 * Sets the editor data. The data must be provided in raw format (HTML).
+		 * <b>Note:</b> This's an asynchronous method, the {@param callback}
+		 * function should be relied on if you want to interact with the editor
+		 * after data is fully loaded.
+		 *
+		 * @param {String} data HTML code to replace the curent content in the editor.
+		 * @param {Function} callback Function to be called after the setData is completed.
+		 * @example
+		 * CKEDITOR.instances.editor1.<b>setData( '&lt;p&gt;This is the editor data.&lt;/p&gt;' )</b>;
+		 * CKEDITOR.instances.editor1.setData( '&lt;p&gt;Some other editor data.&lt;/p&gt;', function()
+		 * {
+		 * 		CKEDITOR.instances.editor1.checkDirty(); 	// true
+		 * } );
+		 */
+		setData : function( data , callback )
+		{
+			if( callback )
+			{
+				this.on( 'dataReady', function( evt )
+				{
+					evt.removeListener();
+					callback.call( evt.editor );
+				} );
+			}
+			// Fire "setData" so data manipulation may happen.
+			var eventData = { dataValue : data };
+			this.fire( 'setData', eventData );
+
+			this._.data = eventData.dataValue;
+
+			this.fire( 'afterSetData', eventData );
+		},
+
+		/**
+		 * Inserts HTML into the currently selected position in the editor.
+		 * @param {String} data HTML code to be inserted into the editor.
+		 * @example
+		 * CKEDITOR.instances.editor1.<b>insertHtml( '&lt;p&gt;This is a new paragraph.&lt;/p&gt;' )</b>;
+		 */
+		insertHtml : function( data )
+		{
+			this.fire( 'insertHtml', data );
+		},
+
+		/**
+		 * Inserts an element into the currently selected position in the
+		 * editor.
+		 * @param {CKEDITOR.dom.element} element The element to be inserted
+		 *		into the editor.
+		 * @example
+		 * var element = CKEDITOR.dom.element.createFromHtml( '&lt;img src="hello.png" border="0" title="Hello" /&gt;' );
+		 * CKEDITOR.instances.editor1.<b>insertElement( element )</b>;
+		 */
+		insertElement : function( element )
+		{
+			this.fire( 'insertElement', element );
+		},
+
+		checkDirty : function()
+		{
+			return ( this.mayBeDirty && this._.previousValue !== this.getSnapshot() );
+		},
+
+		resetDirty : function()
+		{
+			if ( this.mayBeDirty )
+				this._.previousValue = this.getSnapshot();
+		},
+
+		/**
+		 * Updates the &lt;textarea&gt; element that has been replaced by the editor with
+		 * the current data available in the editor.
+		 * @example
+		 * CKEDITOR.instances.editor1.updateElement();
+		 * alert( document.getElementById( 'editor1' ).value );  // The current editor data.
+		 */
+		updateElement : function()
+		{
+			var element = this.element;
+			if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+			{
+				var data = this.getData();
+
+				if( this.config.htmlEncodeOutput )
+					data = CKEDITOR.tools.htmlEncode( data );
+
+				if ( element.is( 'textarea' ) )
+					element.setValue( data );
+				else
+					element.setHtml( data );
+			}
+		}
+	});
+
+CKEDITOR.on( 'loaded', function()
+	{
+		// Run the full initialization for pending editors.
+		var pending = CKEDITOR.editor._pending;
+		if ( pending )
+		{
+			delete CKEDITOR.editor._pending;
+
+			for ( var i = 0 ; i < pending.length ; i++ )
+				pending[ i ]._init();
+		}
+	});
+
+/**
+ * Whether escape HTML when editor update original input element.
+ * @name CKEDITOR.config.htmlEncodeOutput
+ * @type {Boolean}
+ * @default false
+ * @example
+ * config.htmlEncodeOutput = true;
+ */
Index: CKEditor/branches/features/aria/_source/core/editor_basic.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/editor_basic.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/editor_basic.js	(revision 4888)
@@ -0,0 +1,179 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+if ( !CKEDITOR.editor )
+{
+	/**
+	 * No element is linked to the editor instance.
+	 * @constant
+	 * @example
+	 */
+	CKEDITOR.ELEMENT_MODE_NONE = 0;
+
+	/**
+	 * The element is to be replaced by the editor instance.
+	 * @constant
+	 * @example
+	 */
+	CKEDITOR.ELEMENT_MODE_REPLACE = 1;
+
+	/**
+	 * The editor is to be created inside the element.
+	 * @constant
+	 * @example
+	 */
+	CKEDITOR.ELEMENT_MODE_APPENDTO = 2;
+
+	/**
+	 * Represents an editor instance. This constructor should be rarely used,
+	 * being the {@link CKEDITOR} methods preferible.
+	 * @constructor
+	 * @param {Object} instanceConfig Configuration values for this specific
+	 *		instance.
+	 * @param {CKEDITOR.dom.element} [element] The element linked to this
+	 *		instance.
+	 * @param {Number} [mode] The mode in which the element is linked to this
+	 *		instance.
+	 * @augments CKEDITOR.event
+	 * @example
+	 */
+	CKEDITOR.editor = function( instanceConfig, element, mode )
+	{
+		this._ =
+		{
+			// Save the config to be processed later by the full core code.
+			instanceConfig : instanceConfig,
+			element : element
+		};
+
+		/**
+		 * The mode in which the {@link #element} is linked to this editor
+		 * instance. It can be any of the following values:
+		 * <ul>
+		 * <li><b>CKEDITOR.ELEMENT_MODE_NONE</b>: No element is linked to the
+		 *		editor instance.</li>
+		 * <li><b>CKEDITOR.ELEMENT_MODE_REPLACE</b>: The element is to be
+		 *		replaced by the editor instance.</li>
+		 * <li><b>CKEDITOR.ELEMENT_MODE_APPENDTO</b>: The editor is to be
+		 *		created inside the element.</li>
+		 * </ul>
+		 * @name CKEDITOR.editor.prototype.elementMode
+		 * @type Number
+		 * @example
+		 * var editor = CKEDITOR.replace( 'editor1' );
+		 * alert( <b>editor.elementMode</b> );  "1"
+		 */
+		this.elementMode = mode || CKEDITOR.ELEMENT_MODE_NONE;
+
+		// Call the CKEDITOR.event constructor to initialize this instance.
+		CKEDITOR.event.call( this );
+
+		this._init();
+	};
+
+	/**
+	 * Replaces a &lt;textarea&gt; or a DOM element (DIV) with a CKEditor
+	 * instance. For textareas, the initial value in the editor will be the
+	 * textarea value. For DOM elements, their innerHTML will be used
+	 * instead. We recommend using TEXTAREA and DIV elements only. Do not use
+	 * this function directly. Use {@link CKEDITOR.replace} instead.
+	 * @param {Object|String} elementOrIdOrName The DOM element (textarea), its
+	 *		ID or name.
+	 * @param {Object} [config] The specific configurations to apply to this
+	 *		editor instance. Configurations set here will override global CKEditor
+	 *		settings.
+	 * @returns {CKEDITOR.editor} The editor instance created.
+	 * @example
+	 */
+	CKEDITOR.editor.replace = function( elementOrIdOrName, config )
+	{
+		var element = elementOrIdOrName;
+
+		if ( typeof element != 'object' )
+		{
+			// Look for the element by id. We accept any kind of element here.
+			element = document.getElementById( elementOrIdOrName );
+
+			// If not found, look for elements by name. In this case we accept only
+			// textareas.
+			if ( !element )
+			{
+				var i = 0,
+					textareasByName	= document.getElementsByName( elementOrIdOrName );
+
+				while ( ( element = textareasByName[ i++ ] ) && element.tagName.toLowerCase() != 'textarea' )
+				{ /*jsl:pass*/ }
+			}
+
+			if ( !element )
+				throw '[CKEDITOR.editor.replace] The element with id or name "' + elementOrIdOrName + '" was not found.';
+		}
+
+		// Do not replace the textarea right now, just hide it. The effective
+		// replacement will be done by the _init function.
+		element.style.visibility = 'hidden';
+
+		// Create the editor instance.
+		return new CKEDITOR.editor( config, element, CKEDITOR.ELEMENT_MODE_REPLACE );
+	};
+
+	/**
+	 * Creates a new editor instance inside a specific DOM element. Do not use
+	 * this function directly. Use {@link CKEDITOR.appendTo} instead.
+	 * @param {Object|String} elementOrId The DOM element or its ID.
+	 * @param {Object} [config] The specific configurations to apply to this
+	 *		editor instance. Configurations set here will override global CKEditor
+	 *		settings.
+	 * @returns {CKEDITOR.editor} The editor instance created.
+	 * @example
+	 */
+	CKEDITOR.editor.appendTo = function( elementOrId, config )
+	{
+		var element = elementOrId;
+		if ( typeof element != 'object' )
+		{
+			element = document.getElementById( elementOrId );
+
+			if( !element )
+				throw '[CKEDITOR.editor.appendTo] The element with id "' + elementOrId + '" was not found.';
+		}
+
+		// Create the editor instance.
+		return new CKEDITOR.editor( config, element, CKEDITOR.ELEMENT_MODE_APPENDTO );
+	};
+
+	CKEDITOR.editor.prototype =
+	{
+		/**
+		 * Initializes the editor instance. This function will be overriden by the
+		 * full CKEDITOR.editor implementation (editor.js).
+		 * @private
+		 */
+		_init : function()
+		{
+			var pending = CKEDITOR.editor._pending || ( CKEDITOR.editor._pending = [] );
+			pending.push( this );
+		},
+
+		// Both fire and fireOnce will always pass this editor instance as the
+		// "editor" param in CKEDITOR.event.fire. So, we override it to do that
+		// automaticaly.
+
+		/** @ignore */
+		fire : function( eventName, data )
+		{
+			return CKEDITOR.event.prototype.fire.call( this, eventName, data, this );
+		},
+
+		/** @ignore */
+		fireOnce : function( eventName, data )
+		{
+			return CKEDITOR.event.prototype.fireOnce.call( this, eventName, data, this );
+		}
+	};
+
+	// "Inherit" (copy actually) from CKEDITOR.event.
+	CKEDITOR.event.implementOn( CKEDITOR.editor.prototype, true );
+}
Index: CKEditor/branches/features/aria/_source/core/env.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/env.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/env.js	(revision 4888)
@@ -0,0 +1,219 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.env} object, which constains
+ *		environment and browser information.
+ */
+
+if ( !CKEDITOR.env )
+{
+	/**
+	 * Environment and browser information.
+	 * @namespace
+	 * @example
+	 */
+	CKEDITOR.env = (function()
+	{
+		var agent = navigator.userAgent.toLowerCase();
+		var opera = window.opera;
+
+		var env =
+		/** @lends CKEDITOR.env */
+		{
+			/**
+			 * Indicates that CKEditor is running on Internet Explorer.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.ie )
+			 *     alert( "I'm on IE!" );
+			 */
+			ie		: /*@cc_on!@*/false,
+
+			/**
+			 * Indicates that CKEditor is running on Opera.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.opera )
+			 *     alert( "I'm on Opera!" );
+			 */
+			opera	: ( !!opera && opera.version ),
+
+			/**
+			 * Indicates that CKEditor is running on a WebKit based browser, like
+			 * Safari.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.webkit )
+			 *     alert( "I'm on WebKit!" );
+			 */
+			webkit	: ( agent.indexOf( ' applewebkit/' ) > -1 ),
+
+			/**
+			 * Indicates that CKEditor is running on Adobe AIR.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.air )
+			 *     alert( "I'm on AIR!" );
+			 */
+			air		: ( agent.indexOf( ' adobeair/' ) > -1 ),
+
+			/**
+			 * Indicates that CKEditor is running on Macintosh.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.mac )
+			 *     alert( "I love apples!" );
+			 */
+			mac	: ( agent.indexOf( 'macintosh' ) > -1 ),
+
+			quirks : ( document.compatMode == 'BackCompat' ),
+
+			isCustomDomain : function()
+			{
+				return this.ie && document.domain != window.location.hostname;
+			}
+		};
+
+		/**
+		 * Indicates that CKEditor is running on a Gecko based browser, like
+		 * Firefox.
+		 * @name CKEDITOR.env.gecko
+		 * @type Boolean
+		 * @example
+		 * if ( CKEDITOR.env.gecko )
+		 *     alert( "I'm riding a gecko!" );
+		 */
+		env.gecko = ( navigator.product == 'Gecko' && !env.webkit && !env.opera );
+
+		var version = 0;
+
+		// Internet Explorer 6.0+
+		if ( env.ie )
+		{
+			version = parseFloat( agent.match( /msie (\d+)/ )[1] );
+
+			/**
+			 *  Indicate IE8 browser.
+			 */
+			env.ie8 = !!document.documentMode;
+
+			/**
+			 * Indicte IE8 document mode.
+			 */
+			env.ie8Compat = document.documentMode == 8;
+
+			/**
+			 * Indicates that CKEditor is running on an IE7-like environment, which
+			 * includes IE7 itself and IE8's IE7 document mode.
+			 * @type Boolean
+			 */
+			env.ie7Compat = ( ( version == 7 && !document.documentMode )
+					|| document.documentMode == 7 );
+
+			/**
+			 * Indicates that CKEditor is running on an IE6-like environment, which
+			 * includes IE6 itself and IE7 and IE8 quirks mode.
+			 * @type Boolean
+			 * @example
+			 * if ( CKEDITOR.env.ie6Compat )
+			 *     alert( "I'm on IE6 or quirks mode!" );
+			 */
+			env.ie6Compat = ( version < 7 || env.quirks );
+
+		}
+
+		// Gecko.
+		if ( env.gecko )
+		{
+			var geckoRelease = agent.match( /rv:([\d\.]+)/ );
+			if ( geckoRelease )
+			{
+				geckoRelease = geckoRelease[1].split( '.' );
+				version = geckoRelease[0] * 10000 + ( geckoRelease[1] || 0 ) * 100 + ( geckoRelease[2] || 0 ) * 1;
+			}
+		}
+
+		// Opera 9.50+
+		if ( env.opera )
+			version = parseFloat( opera.version() );
+
+		// Adobe AIR 1.0+
+		// Checked before Safari because AIR have the WebKit rich text editor
+		// features from Safari 3.0.4, but the version reported is 420.
+		if ( env.air )
+			version = parseFloat( agent.match( / adobeair\/(\d+)/ )[1] );
+
+		// WebKit 522+ (Safari 3+)
+		if ( env.webkit )
+			version = parseFloat( agent.match( / applewebkit\/(\d+)/ )[1] );
+
+		/**
+		 * Contains the browser version.
+		 *
+		 * For gecko based browsers (like Firefox) it contains the revision
+		 * number with first three parts concatenated with a padding zero
+		 * (e.g. for revision 1.9.0.2 we have 10900).
+		 *
+		 * For webkit based browser (like Safari and Chrome) it contains the
+		 * WebKit build version (e.g. 522).
+		 * @name CKEDITOR.env.version
+		 * @type Boolean
+		 * @example
+		 * if ( CKEDITOR.env.ie && <b>CKEDITOR.env.version</b> <= 6 )
+		 *     alert( "Ouch!" );
+		 */
+		env.version = version;
+
+		/**
+		 * Indicates that CKEditor is running on a compatible browser.
+		 * @name CKEDITOR.env.isCompatible
+		 * @type Boolean
+		 * @example
+		 * if ( CKEDITOR.env.isCompatible )
+		 *     alert( "Your browser is pretty cool!" );
+		 */
+		env.isCompatible =
+			( env.ie && version >= 6 ) ||
+			( env.gecko && version >= 10801 ) ||
+			( env.opera && version >= 9.5 ) ||
+			( env.air && version >= 1 ) ||
+			( env.webkit && version >= 522 ) ||
+			false;
+
+		// The CSS class to be appended on the main UI containers, making it
+		// easy to apply browser specific styles to it.
+		env.cssClass =
+			'cke_browser_' + (
+				env.ie ? 'ie' :
+				env.gecko ? 'gecko' :
+				env.opera ? 'opera' :
+				env.air ? 'air' :
+				env.webkit ? 'webkit' :
+				'unknown' );
+
+		if ( env.quirks )
+			env.cssClass += ' cke_browser_quirks';
+
+		if ( env.ie )
+		{
+			env.cssClass += ' cke_browser_ie' + (
+				env.version < 7 ? '6' :
+				env.version >= 8 ? '8' :
+				'7' );
+
+			if ( env.quirks )
+				env.cssClass += ' cke_browser_iequirks';
+		}
+
+		if ( env.gecko && version < 10900 )
+			env.cssClass += ' cke_browser_gecko18';
+
+		return env;
+	})();
+}
+
+// PACKAGER_RENAME( CKEDITOR.env )
+// PACKAGER_RENAME( CKEDITOR.env.ie )
Index: CKEditor/branches/features/aria/_source/core/event.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/event.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/event.js	(revision 4888)
@@ -0,0 +1,335 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.event} class, which serves as the
+ *		base for classes and objects that require event handling features.
+ */
+
+if ( !CKEDITOR.event )
+{
+	/**
+	 * This is a base class for classes and objects that require event handling
+	 * features.
+	 * @constructor
+	 * @example
+	 */
+	CKEDITOR.event = function()
+	{};
+
+	/**
+	 * Implements the {@link CKEDITOR.event} features in an object.
+	 * @param {Object} targetObject The object in which implement the features.
+	 * @example
+	 * var myObject = { message : 'Example' };
+	 * <b>CKEDITOR.event.implementOn( myObject }</b>;
+	 * myObject.on( 'testEvent', function()
+	 *     {
+	 *         alert( this.message );  // "Example"
+	 *     });
+	 * myObject.fire( 'testEvent' );
+	 */
+	CKEDITOR.event.implementOn = function( targetObject, isTargetPrototype )
+	{
+		var eventProto = CKEDITOR.event.prototype;
+
+		for ( var prop in eventProto )
+		{
+			if ( targetObject[ prop ] == undefined )
+				targetObject[ prop ] = eventProto[ prop ];
+		}
+	};
+
+	CKEDITOR.event.prototype = (function()
+	{
+		// Returns the private events object for a given object.
+		var getPrivate = function( obj )
+		{
+			var _ = ( obj.getPrivate && obj.getPrivate() ) || obj._ || ( obj._ = {} );
+			return _.events || ( _.events = {} );
+		};
+
+		var eventEntry = function( eventName )
+		{
+			this.name = eventName;
+			this.listeners = [];
+		};
+
+		eventEntry.prototype =
+		{
+			// Get the listener index for a specified function.
+			// Returns -1 if not found.
+			getListenerIndex : function( listenerFunction )
+			{
+				for ( var i = 0, listeners = this.listeners ; i < listeners.length ; i++ )
+				{
+					if ( listeners[i].fn == listenerFunction )
+						return i;
+				}
+				return -1;
+			}
+		};
+
+		return /** @lends CKEDITOR.event.prototype */ {
+			/**
+			 * Registers a listener to a specific event in the current object.
+			 * @param {String} eventName The event name to which listen.
+			 * @param {Function} listenerFunction The function listening to the
+			 *		event.
+			 * @param {Object} [scopeObj] The object used to scope the listener
+			 *		call (the this object. If omitted, the current object is used.
+			 * @param {Object} [listenerData] Data to be sent as the
+			 *		{@link CKEDITOR.eventInfo#listenerData} when calling the
+			 *		listener.
+			 * @param {Number} [priority] The listener priority. Lower priority
+			 *		listeners are called first. Listeners with the same priority
+			 *		value are called in registration order. Defaults to 10.
+			 * @example
+			 * someObject.on( 'someEvent', function()
+			 *     {
+			 *         alert( this == someObject );  // "true"
+			 *     });
+			 * @example
+			 * someObject.on( 'someEvent', function()
+			 *     {
+			 *         alert( this == anotherObject );  // "true"
+			 *     }
+			 *     , anotherObject );
+			 * @example
+			 * someObject.on( 'someEvent', function( event )
+			 *     {
+			 *         alert( event.listenerData );  // "Example"
+			 *     }
+			 *     , null, 'Example' );
+			 * @example
+			 * someObject.on( 'someEvent', function() { ... } );                   // 2nd called
+			 * someObject.on( 'someEvent', function() { ... }, null, null, 100 );  // 3rd called
+			 * someObject.on( 'someEvent', function() { ... }, null, null, 1 );    // 1st called
+			 */
+			on : function( eventName, listenerFunction, scopeObj, listenerData, priority )
+			{
+				// Get the event entry (create it if needed).
+				var events = getPrivate( this ),
+					event = events[ eventName ] || ( events[ eventName ] = new eventEntry( eventName ) );
+
+				if ( event.getListenerIndex( listenerFunction ) < 0 )
+				{
+					// Get the listeners.
+					var listeners = event.listeners;
+
+					// Fill the scope.
+					if ( !scopeObj )
+						scopeObj = this;
+
+					// Default the priority, if needed.
+					if ( isNaN( priority ) )
+						priority = 10;
+
+					var me = this;
+
+					// Create the function to be fired for this listener.
+					var listenerFirer = function( editor, publisherData, stopFn, cancelFn )
+					{
+						var ev =
+						{
+							name : eventName,
+							sender : this,
+							editor : editor,
+							data : publisherData,
+							listenerData : listenerData,
+							stop : stopFn,
+							cancel : cancelFn,
+							removeListener : function()
+							{
+								me.removeListener( eventName, listenerFunction );
+							}
+						};
+
+						listenerFunction.call( scopeObj, ev );
+
+						return ev.data;
+					};
+					listenerFirer.fn = listenerFunction;
+					listenerFirer.priority = priority;
+
+					// Search for the right position for this new listener, based on its
+					// priority.
+					for ( var i = listeners.length - 1 ; i >= 0 ; i-- )
+					{
+						// Find the item which should be before the new one.
+						if ( listeners[ i ].priority <= priority )
+						{
+							// Insert the listener in the array.
+							listeners.splice( i + 1, 0, listenerFirer );
+							return;
+						}
+					}
+
+					// If no position has been found (or zero length), put it in
+					// the front of list.
+					listeners.unshift( listenerFirer );
+				}
+			},
+
+			/**
+			 * Fires an specific event in the object. All registered listeners are
+			 * called at this point.
+			 * @function
+			 * @param {String} eventName The event name to fire.
+			 * @param {Object} [data] Data to be sent as the
+			 *		{@link CKEDITOR.eventInfo#data} when calling the
+			 *		listeners.
+			 * @param {CKEDITOR.editor} [editor] The editor instance to send as the
+			 *		{@link CKEDITOR.eventInfo#editor} when calling the
+			 *		listener.
+			 * @returns {Boolean|Object} A booloan indicating that the event is to be
+			 *		canceled, or data returned by one of the listeners.
+			 * @example
+			 * someObject.on( 'someEvent', function() { ... } );
+			 * someObject.on( 'someEvent', function() { ... } );
+			 * <b>someObject.fire( 'someEvent' )</b>;  // both listeners are called
+			 * @example
+			 * someObject.on( 'someEvent', function( event )
+			 *     {
+			 *         alert( event.data );  // "Example"
+			 *     });
+			 * <b>someObject.fire( 'someEvent', 'Example' )</b>;
+			 */
+			fire : (function()
+			{
+				// Create the function that marks the event as stopped.
+				var stopped = false;
+				var stopEvent = function()
+				{
+					stopped = true;
+				};
+
+				// Create the function that marks the event as canceled.
+				var canceled = false;
+				var cancelEvent = function()
+				{
+					canceled = true;
+				};
+
+				return function( eventName, data, editor )
+				{
+					// Get the event entry.
+					var event = getPrivate( this )[ eventName ];
+
+					// Save the previous stopped and cancelled states. We may
+					// be nesting fire() calls.
+					var previousStopped = stopped,
+						previousCancelled = canceled;
+
+					// Reset the stopped and canceled flags.
+					stopped = canceled = false;
+
+					if ( event )
+					{
+						var listeners = event.listeners;
+
+						if ( listeners.length )
+						{
+							// As some listeners may remove themselves from the
+							// event, the original array length is dinamic. So,
+							// let's make a copy of all listeners, so we are
+							// sure we'll call all of them.
+							listeners = listeners.slice( 0 );
+
+							// Loop through all listeners.
+							for ( var i = 0 ; i < listeners.length ; i++ )
+							{
+								// Call the listener, passing the event data.
+								var retData = listeners[i].call( this, editor, data, stopEvent, cancelEvent );
+
+								if ( typeof retData != 'undefined' )
+									data = retData;
+
+								// No further calls is stopped or canceled.
+								if ( stopped || canceled )
+									break;
+							}
+						}
+					}
+
+					var ret = canceled || ( typeof data == 'undefined' ? false : data );
+
+					// Restore the previous stopped and canceled states.
+					stopped = previousStopped;
+					canceled = previousCancelled;
+
+					return ret;
+				};
+			})(),
+
+			/**
+			 * Fires an specific event in the object, releasing all listeners
+			 * registered to that event. The same listeners are not called again on
+			 * successive calls of it or of {@link #fire}.
+			 * @param {String} eventName The event name to fire.
+			 * @param {Object} [data] Data to be sent as the
+			 *		{@link CKEDITOR.eventInfo#data} when calling the
+			 *		listeners.
+			 * @param {CKEDITOR.editor} [editor] The editor instance to send as the
+			 *		{@link CKEDITOR.eventInfo#editor} when calling the
+			 *		listener.
+			 * @returns {Boolean|Object} A booloan indicating that the event is to be
+			 *		canceled, or data returned by one of the listeners.
+			 * @example
+			 * someObject.on( 'someEvent', function() { ... } );
+			 * someObject.fire( 'someEvent' );  // above listener called
+			 * <b>someObject.fireOnce( 'someEvent' )</b>;  // above listener called
+			 * someObject.fire( 'someEvent' );  // no listeners called
+			 */
+			fireOnce : function( eventName, data, editor )
+			{
+				var ret = this.fire( eventName, data, editor );
+				delete getPrivate( this )[ eventName ];
+				return ret;
+			},
+
+			/**
+			 * Unregisters a listener function from being called at the specified
+			 *		event. No errors are thrown if the listener has not been
+			 *		registered previously.
+			 * @param {String} eventName The event name.
+			 * @param {Function} listenerFunction The listener function to unregister.
+			 * @example
+			 * var myListener = function() { ... };
+			 * someObject.on( 'someEvent', myListener );
+			 * someObject.fire( 'someEvent' );  // myListener called
+			 * <b>someObject.removeListener( 'someEvent', myListener )</b>;
+			 * someObject.fire( 'someEvent' );  // myListener not called
+			 */
+			removeListener : function( eventName, listenerFunction )
+			{
+				// Get the event entry.
+				var event = getPrivate( this )[ eventName ];
+
+				if ( event )
+				{
+					var index = event.getListenerIndex( listenerFunction );
+					if ( index >= 0 )
+						event.listeners.splice( index, 1 );
+				}
+			},
+
+			/**
+			 * Checks if there is any listener registered to a given event.
+			 * @param {String} eventName The event name.
+			 * @example
+			 * var myListener = function() { ... };
+			 * someObject.on( 'someEvent', myListener );
+			 * alert( someObject.<b>hasListeners( 'someEvent' )</b> );  // "true"
+			 * alert( someObject.<b>hasListeners( 'noEvent' )</b> );    // "false"
+			 */
+			hasListeners : function( eventName )
+			{
+				var event = getPrivate( this )[ eventName ];
+				return ( event && event.listeners.length > 0 ) ;
+			}
+		};
+	})();
+}
Index: CKEditor/branches/features/aria/_source/core/eventInfo.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/eventInfo.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/eventInfo.js	(revision 4888)
@@ -0,0 +1,120 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.eventInfo} class, which
+ *		contains the defintions of the event object passed to event listeners.
+ *		This file is for documentation purposes only.
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the features
+ * of the event object passed to event listeners by a {@link CKEDITOR.event}
+ * based object.
+ * @name CKEDITOR.eventInfo
+ * @constructor
+ * @example
+ * // Do not do this.
+ * var myEvent = new CKEDITOR.eventInfo();  // Error: CKEDITOR.eventInfo is undefined
+ */
+
+/**
+ * The event name.
+ * @name CKEDITOR.eventInfo.prototype.name
+ * @field
+ * @type String
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         alert( <b>event.name</b> );  // "someEvent"
+ *     });
+ * someObject.fire( 'someEvent' );
+ */
+
+/**
+ * The object that publishes (sends) the event.
+ * @name CKEDITOR.eventInfo.prototype.sender
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         alert( <b>event.sender</b> == someObject );  // "true"
+ *     });
+ * someObject.fire( 'someEvent' );
+ */
+
+/**
+ * The editor instance that holds the sender. May be the same as sender. May be
+ * null if the sender is not part of an editor instance, like a component
+ * running in standalone mode.
+ * @name CKEDITOR.eventInfo.prototype.editor
+ * @field
+ * @type CKEDITOR.editor
+ * @example
+ * myButton.on( 'someEvent', function( event )
+ *     {
+ *         alert( <b>event.editor</b> == myEditor );  // "true"
+ *     });
+ * myButton.fire( 'someEvent', null, <b>myEditor</b> );
+ */
+
+/**
+ * Any kind of additional data. Its format and usage is event dependent.
+ * @name CKEDITOR.eventInfo.prototype.data
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         alert( <b>event.data</b> );  // "Example"
+ *     });
+ * someObject.fire( 'someEvent', <b>'Example'</b> );
+ */
+
+/**
+ * Any extra data appended during the listener registration.
+ * @name CKEDITOR.eventInfo.prototype.listenerData
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         alert( <b>event.listenerData</b> );  // "Example"
+ *     }
+ *     , null, <b>'Example'</b> );
+ */
+
+/**
+ * Indicates that no further listeners are to be called.
+ * @name CKEDITOR.eventInfo.prototype.stop
+ * @function
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         <b>event.stop()</b>;
+ *     });
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         // This one will not be called.
+ *     });
+ * alert( someObject.fire( 'someEvent' ) );  // "false"
+ */
+
+/**
+ * Indicates that the event is to be cancelled (if cancelable).
+ * @name CKEDITOR.eventInfo.prototype.cancel
+ * @function
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         <b>event.cancel()</b>;
+ *     });
+ * someObject.on( 'someEvent', function( event )
+ *     {
+ *         // This one will not be called.
+ *     });
+ * alert( someObject.fire( 'someEvent' ) );  // "true"
+ */
Index: CKEditor/branches/features/aria/_source/core/focusmanager.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/focusmanager.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/focusmanager.js	(revision 4888)
@@ -0,0 +1,123 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.focusManager} class, which is used
+ *		to handle the focus on editor instances..
+ */
+
+/**
+ * Manages the focus activity in an editor instance. This class is to be used
+ * mainly by UI elements coders when adding interface elements to CKEditor.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.focusManager = function( editor )
+{
+	if ( editor.focusManager )
+		return editor.focusManager;
+
+	/**
+	 * Indicates that the editor instance has focus.
+	 * @type Boolean
+	 * @example
+	 * alert( CKEDITOR.instances.editor1.focusManager.hasFocus );  // e.g "true"
+	 */
+	this.hasFocus = false;
+
+	/**
+	 * Object used to hold private stuff.
+	 * @private
+	 */
+	this._ =
+	{
+		editor : editor
+	};
+
+	return this;
+};
+
+CKEDITOR.focusManager.prototype =
+{
+	/**
+	 * Indicates that the editor instance has the focus.
+	 *
+	 * This function is not used to set the focus in the editor. Use
+	 * {@link CKEDITOR.editor#focus} for it instead.
+	 * @example
+	 * var editor = CKEDITOR.instances.editor1;
+	 * <b>editor.focusManager.focus()</b>;
+	 */
+	focus : function()
+	{
+		if ( this._.timer )
+			clearTimeout( this._.timer );
+
+		if ( !this.hasFocus )
+		{
+			// If another editor has the current focus, we first "blur" it. In
+			// this way the events happen in a more logical sequence, like:
+			//		"focus 1" > "blur 1" > "focus 2"
+			// ... instead of:
+			//		"focus 1" > "focus 2" > "blur 1"
+			if ( CKEDITOR.currentInstance )
+				CKEDITOR.currentInstance.focusManager.forceBlur();
+
+			var editor = this._.editor;
+
+			editor.container.getFirst().addClass( 'cke_focus' );
+
+			this.hasFocus = true;
+			editor.fire( 'focus' );
+		}
+	},
+
+	/**
+	 * Indicates that the editor instance has lost the focus. Note that this
+	 * functions acts asynchronously with a delay of 100ms to avoid subsequent
+	 * blur/focus effects. If you want the "blur" to happen immediately, use
+	 * the {@link #forceBlur} function instead.
+	 * @example
+	 * var editor = CKEDITOR.instances.editor1;
+	 * <b>editor.focusManager.blur()</b>;
+	 */
+	blur : function()
+	{
+		var focusManager = this;
+
+		if ( focusManager._.timer )
+			clearTimeout( focusManager._.timer );
+
+		focusManager._.timer = setTimeout(
+			function()
+			{
+				delete focusManager._.timer;
+				focusManager.forceBlur();
+			}
+			, 100 );
+	},
+
+	/**
+	 * Indicates that the editor instance has lost the focus. Unlike
+	 * {@link #blur}, this function is synchronous, marking the instance as
+	 * "blured" immediately.
+	 * @example
+	 * var editor = CKEDITOR.instances.editor1;
+	 * <b>editor.focusManager.forceBlur()</b>;
+	 */
+	forceBlur : function()
+	{
+		if ( this.hasFocus )
+		{
+			var editor = this._.editor;
+
+			editor.container.getFirst().removeClass( 'cke_focus' );
+
+			this.hasFocus = false;
+			editor.fire( 'blur' );
+		}
+	}
+};
Index: CKEditor/branches/features/aria/_source/core/htmlparser.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser.js	(revision 4888)
@@ -0,0 +1,212 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * HTML text parser.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser = function()
+{
+	this._ =
+	{
+		htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g' )
+	};
+};
+
+(function()
+{
+	var attribsRegex	= /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,
+		emptyAttribs	= {checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};
+
+	CKEDITOR.htmlParser.prototype =
+	{
+		/**
+		 * Function to be fired when a tag opener is found. This function
+		 * should be overriden when using this class.
+		 * @param {String} tagName The tag name. The name is guarantted to be
+		 *		lowercased.
+		 * @param {Object} attributes An object containing all tag attributes. Each
+		 *		property in this object represent and attribute name and its
+		 *		value is the attribute value.
+		 * @param {Boolean} selfClosing true if the tag closes itself, false if the
+		 * 		tag doesn't.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * parser.onTagOpen = function( tagName, attributes, selfClosing )
+		 *     {
+		 *         alert( tagName );  // e.g. "b"
+		 *     });
+		 * parser.parse( "&lt;!-- Example --&gt;&lt;b&gt;Hello&lt;/b&gt;" );
+		 */
+		onTagOpen	: function() {},
+
+		/**
+		 * Function to be fired when a tag closer is found. This function
+		 * should be overriden when using this class.
+		 * @param {String} tagName The tag name. The name is guarantted to be
+		 *		lowercased.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * parser.onTagClose = function( tagName )
+		 *     {
+		 *         alert( tagName );  // e.g. "b"
+		 *     });
+		 * parser.parse( "&lt;!-- Example --&gt;&lt;b&gt;Hello&lt;/b&gt;" );
+		 */
+		onTagClose	: function() {},
+
+		/**
+		 * Function to be fired when text is found. This function
+		 * should be overriden when using this class.
+		 * @param {String} text The text found.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * parser.onText = function( text )
+		 *     {
+		 *         alert( text );  // e.g. "Hello"
+		 *     });
+		 * parser.parse( "&lt;!-- Example --&gt;&lt;b&gt;Hello&lt;/b&gt;" );
+		 */
+		onText		: function() {},
+
+		/**
+		 * Function to be fired when CDATA section is found. This function
+		 * should be overriden when using this class.
+		 * @param {String} cdata The CDATA been found.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * parser.onCDATA = function( cdata )
+		 *     {
+		 *         alert( cdata );  // e.g. "var hello;"
+		 *     });
+		 * parser.parse( "&lt;script&gt;var hello;&lt;/script&gt;" );
+		 */
+		onCDATA		: function() {},
+
+		/**
+		 * Function to be fired when a commend is found. This function
+		 * should be overriden when using this class.
+		 * @param {String} comment The comment text.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * parser.onText = function( comment )
+		 *     {
+		 *         alert( comment );  // e.g. " Example "
+		 *     });
+		 * parser.parse( "&lt;!-- Example --&gt;&lt;b&gt;Hello&lt;/b&gt;" );
+		 */
+		onComment	: function() {},
+
+		/**
+		 * Parses text, looking for HTML tokens, like tag openers or closers,
+		 * or comments. This function fires the onTagOpen, onTagClose, onText
+		 * and onComment function during its execution.
+		 * @param {String} html The HTML to be parsed.
+		 * @example
+		 * var parser = new CKEDITOR.htmlParser();
+		 * // The onTagOpen, onTagClose, onText and onComment should be overriden
+		 * // at this point.
+		 * parser.parse( "&lt;!-- Example --&gt;&lt;b&gt;Hello&lt;/b&gt;" );
+		 */
+		parse : function( html )
+		{
+			var parts,
+				tagName,
+				nextIndex = 0,
+				cdata;	// The collected data inside a CDATA section.
+
+			while ( ( parts = this._.htmlPartsRegex.exec( html ) ) )
+			{
+				var tagIndex = parts.index;
+				if ( tagIndex > nextIndex )
+				{
+					var text = html.substring( nextIndex, tagIndex );
+
+					if ( cdata )
+						cdata.push( text );
+					else
+						this.onText( text );
+				}
+
+				nextIndex = this._.htmlPartsRegex.lastIndex;
+
+				/*
+				 "parts" is an array with the following items:
+					0 : The entire match for opening/closing tags and comments.
+					1 : Group filled with the tag name for closing tags.
+					2 : Group filled with the comment text.
+					3 : Group filled with the tag name for opening tags.
+					4 : Group filled with the attributes part of opening tags.
+				 */
+
+				// Closing tag
+				if ( ( tagName = parts[ 1 ] ) )
+				{
+					tagName = tagName.toLowerCase();
+
+					if ( cdata && CKEDITOR.dtd.$cdata[ tagName ] )
+					{
+						// Send the CDATA data.
+						this.onCDATA( cdata.join('') );
+						cdata = null;
+					}
+
+					if ( !cdata )
+					{
+						this.onTagClose( tagName );
+						continue;
+					}
+				}
+
+				// If CDATA is enabled, just save the raw match.
+				if ( cdata )
+				{
+					cdata.push( parts[ 0 ] );
+					continue;
+				}
+
+				// Opening tag
+				if ( ( tagName = parts[ 3 ] ) )
+				{
+					tagName = tagName.toLowerCase();
+					var attribs = {},
+						attribMatch,
+						attribsPart = parts[ 4 ],
+						selfClosing = !!( attribsPart && attribsPart.charAt( attribsPart.length - 1 ) == '/' );
+
+					if ( attribsPart )
+					{
+						while ( ( attribMatch = attribsRegex.exec( attribsPart ) ) )
+						{
+							var attName = attribMatch[1].toLowerCase(),
+								attValue = attribMatch[2] || attribMatch[3] || attribMatch[4] || '';
+
+							if ( !attValue && emptyAttribs[ attName ] )
+								attribs[ attName ] = attName;
+							else
+								attribs[ attName ] = attValue;
+						}
+					}
+
+					this.onTagOpen( tagName, attribs, selfClosing );
+
+					// Open CDATA mode when finding the appropriate tags.
+					if ( !cdata && CKEDITOR.dtd.$cdata[ tagName ] )
+						cdata = [];
+
+					continue;
+				}
+
+				// Comment
+				if( ( tagName = parts[ 2 ] ) )
+					this.onComment( tagName );
+			}
+
+			if ( html.length > nextIndex )
+				this.onText( html.substring( nextIndex, html.length ) );
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/htmlparser/basicwriter.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/basicwriter.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/basicwriter.js	(revision 4888)
@@ -0,0 +1,141 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.htmlParser.basicWriter = CKEDITOR.tools.createClass(
+{
+	$ : function()
+	{
+		this._ =
+		{
+			output : []
+		};
+	},
+
+	proto :
+	{
+		/**
+		 * Writes the tag opening part for a opener tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @param {Object} attributes The attributes defined for this tag. The
+		 *		attributes could be used to inspect the tag.
+		 * @example
+		 * // Writes "&lt;p".
+		 * writer.openTag( 'p', { class : 'MyClass', id : 'MyId' } );
+		 */
+		openTag : function( tagName, attributes )
+		{
+			this._.output.push( '<', tagName );
+		},
+
+		/**
+		 * Writes the tag closing part for a opener tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @param {Boolean} isSelfClose Indicates that this is a self-closing tag,
+		 *		like "br" or "img".
+		 * @example
+		 * // Writes "&gt;".
+		 * writer.openTagClose( 'p', false );
+		 * @example
+		 * // Writes " /&gt;".
+		 * writer.openTagClose( 'br', true );
+		 */
+		openTagClose : function( tagName, isSelfClose )
+		{
+			if ( isSelfClose )
+				this._.output.push( ' />' );
+			else
+				this._.output.push( '>' );
+		},
+
+		/**
+		 * Writes an attribute. This function should be called after opening the
+		 * tag with {@link #openTagClose}.
+		 * @param {String} attName The attribute name.
+		 * @param {String} attValue The attribute value.
+		 * @example
+		 * // Writes ' class="MyClass"'.
+		 * writer.attribute( 'class', 'MyClass' );
+		 */
+		attribute : function( attName, attValue )
+		{
+			this._.output.push( ' ', attName, '="', attValue, '"' );
+		},
+
+		/**
+		 * Writes a closer tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @example
+		 * // Writes "&lt;/p&gt;".
+		 * writer.closeTag( 'p' );
+		 */
+		closeTag : function( tagName )
+		{
+			this._.output.push( '</', tagName, '>' );
+		},
+
+		/**
+		 * Writes text.
+		 * @param {String} text The text value
+		 * @example
+		 * // Writes "Hello Word".
+		 * writer.text( 'Hello Word' );
+		 */
+		text : function( text )
+		{
+			this._.output.push( text );
+		},
+
+		/**
+		 * Writes a comment.
+		 * @param {String} comment The comment text.
+		 * @example
+		 * // Writes "&lt;!-- My comment --&gt;".
+		 * writer.comment( ' My comment ' );
+		 */
+		comment : function( comment )
+		{
+			this._.output.push( '<!--', comment, '-->' );
+		},
+
+		/**
+		 * Writes any kind of data to the ouput.
+		 * @example
+		 * writer.write( 'This is an &lt;b&gt;example&lt;/b&gt;.' );
+		 */
+		write : function( data )
+		{
+			this._.output.push( data );
+		},
+
+		/**
+		 * Empties the current output buffer.
+		 * @example
+		 * writer.reset();
+		 */
+		reset : function()
+		{
+			this._.output = [];
+			this._.indent = false;
+		},
+
+		/**
+		 * Empties the current output buffer.
+		 * @param {Boolean} reset Indicates that the {@link reset} function is to
+		 *		be automatically called after retrieving the HTML.
+		 * @returns {String} The HTML written to the writer so far.
+		 * @example
+		 * var html = writer.getHtml();
+		 */
+		getHtml : function( reset )
+		{
+			var html = this._.output.join( '' );
+
+			if ( reset )
+				this.reset();
+
+			return html;
+		}
+	}
+});
Index: CKEditor/branches/features/aria/_source/core/htmlparser/cdata.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/cdata.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/cdata.js	(revision 4888)
@@ -0,0 +1,43 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+
+	/**
+	 * A lightweight representation of HTML text.
+	 * @constructor
+	 * @example
+	 */
+	CKEDITOR.htmlParser.cdata = function( value )
+	{
+		/**
+		 * The CDATA value.
+		 * @type String
+		 * @example
+		 */
+		this.value = value;
+	};
+
+	CKEDITOR.htmlParser.cdata.prototype =
+	{
+		/**
+		 * CDATA has the same type as {@link CKEDITOR.htmlParser.text} This is
+		 * a constant value set to {@link CKEDITOR.NODE_TEXT}.
+		 * @type Number
+		 * @example
+		 */
+		type : CKEDITOR.NODE_TEXT,
+
+		/**
+		 * Writes write the CDATA with no special manipulations.
+		 * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+		 */
+		writeHtml : function( writer )
+		{
+			writer.write( this.value );
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/htmlparser/comment.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/comment.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/comment.js	(revision 4888)
@@ -0,0 +1,60 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML comment.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.comment = function( value )
+{
+	/**
+	 * The comment text.
+	 * @type String
+	 * @example
+	 */
+	this.value = value;
+
+	/** @private */
+	this._ =
+	{
+		isBlockLike : false
+	};
+};
+
+CKEDITOR.htmlParser.comment.prototype =
+{
+	/**
+	 * The node type. This is a constant value set to {@link CKEDITOR.NODE_COMMENT}.
+	 * @type Number
+	 * @example
+	 */
+	type : CKEDITOR.NODE_COMMENT,
+
+	/**
+	 * Writes the HTML representation of this comment to a CKEDITOR.htmlWriter.
+	 * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+	 * @example
+	 */
+	writeHtml : function( writer, filter )
+	{
+		var comment = this.value;
+
+		if ( filter )
+		{
+			if ( !( comment = filter.onComment( comment, this ) ) )
+				return;
+
+			if ( typeof comment != 'string' )
+			{
+				comment.parent = this.parent;
+				comment.writeHtml( writer, filter );
+				return;
+			}
+		}
+
+		writer.comment( comment );
+	}
+};
Index: CKEditor/branches/features/aria/_source/core/htmlparser/element.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/element.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/element.js	(revision 4888)
@@ -0,0 +1,240 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML element.
+ * @param {String} name The element name.
+ * @param {Object} attributes And object holding all attributes defined for
+ *		this element.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.element = function( name, attributes )
+{
+	/**
+	 * The element name.
+	 * @type String
+	 * @example
+	 */
+	this.name = name;
+
+	/**
+	 * Holds the attributes defined for this element.
+	 * @type Object
+	 * @example
+	 */
+	this.attributes = attributes || ( attributes = {} );
+
+	/**
+	 * The nodes that are direct children of this element.
+	 * @type Array
+	 * @example
+	 */
+	this.children = [];
+
+	var tagName = attributes._cke_real_element_type || name;
+
+	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 ];
+
+	this.isEmpty	= isEmpty;
+	this.isUnknown	= !dtd[ name ];
+
+	/** @private */
+	this._ =
+	{
+		isBlockLike : isBlockLike,
+		hasInlineStarted : isEmpty || !isBlockLike
+	};
+};
+
+(function()
+{
+	// Used to sort attribute entries in an array, where the first element of
+	// each object is the attribute name.
+	var sortAttribs = function( a, b )
+	{
+		a = a[0];
+		b = b[0];
+		return a < b ? -1 : a > b ? 1 : 0;
+	};
+
+	CKEDITOR.htmlParser.element.prototype =
+	{
+		/**
+		 * The node type. This is a constant value set to {@link CKEDITOR.NODE_ELEMENT}.
+		 * @type Number
+		 * @example
+		 */
+		type : CKEDITOR.NODE_ELEMENT,
+
+		/**
+		 * Adds a node to the element children list.
+		 * @param {Object} node The node to be added. It can be any of of the
+		 *		following types: {@link CKEDITOR.htmlParser.element},
+		 *		{@link CKEDITOR.htmlParser.text} and
+		 *		{@link CKEDITOR.htmlParser.comment}.
+		 * @function
+		 * @example
+		 */
+		add : CKEDITOR.htmlParser.fragment.prototype.add,
+
+		/**
+		 * Clone this element.
+		 * @returns {CKEDITOR.htmlParser.element} The element clone.
+		 * @example
+		 */
+		clone : function()
+		{
+			return new CKEDITOR.htmlParser.element( this.name, this.attributes );
+		},
+
+		/**
+		 * Writes the element HTML to a CKEDITOR.htmlWriter.
+		 * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+		 * @example
+		 */
+		writeHtml : function( writer, filter )
+		{
+			var attributes = this.attributes;
+
+			// Ignore cke: prefixes when writing HTML.
+			var element = this,
+				writeName = element.name,
+				a, newAttrName, value;
+
+			var isChildrenFiltered;
+
+			/**
+			 * Providing an option for bottom-up filtering order ( element
+			 * children to be pre-filtered before the element itself ).
+			 */
+			element.filterChildren = function()
+			{
+				if( !isChildrenFiltered )
+				{
+					var writer = new CKEDITOR.htmlParser.basicWriter();
+					CKEDITOR.htmlParser.fragment.prototype.writeChildrenHtml.call( element, writer, filter );
+					element.children = new CKEDITOR.htmlParser.fragment.fromHtml( writer.getHtml() ).children;
+					isChildrenFiltered = 1;
+				}
+			};
+
+			if ( filter )
+			{
+				while ( true )
+				{
+					if ( !( writeName = filter.onElementName( writeName ) ) )
+						return;
+
+					element.name = writeName;
+
+					if ( !( element = filter.onElement( element ) ) )
+						return;
+
+					element.parent = this.parent;
+
+					if ( element.name == writeName )
+						break;
+
+					// If the element has been replaced with something of a
+					// different type, then make the replacement write itself.
+					if ( element.type != CKEDITOR.NODE_ELEMENT )
+					{
+						element.writeHtml( writer, filter );
+						return;
+					}
+
+					writeName = element.name;
+
+					// This indicate that the element has been dropped by
+					// filter but not the children.
+					if ( !writeName )
+					{
+						this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter );
+						return;
+					}
+				}
+
+				// The element may have been changed, so update the local
+				// references.
+				attributes = element.attributes;
+			}
+
+			// Open element tag.
+			writer.openTag( writeName, attributes );
+
+			// Copy all attributes to an array.
+			var attribsArray = [];
+			// Iterate over the attributes twice since filters may alter
+			// other attributes.
+			for( var i = 0 ; i < 2; i++ )
+			{
+				for ( a in attributes )
+				{
+					newAttrName = a;
+					value = attributes[ a ];
+					if( i == 1 )
+						attribsArray.push( [ a, value ] );
+					else if ( filter )
+					{
+						while ( true )
+						{
+							if ( !( newAttrName = filter.onAttributeName( a ) ) )
+							{
+								delete attributes[ a ];
+								break;
+							}
+							else if( newAttrName != a )
+							{
+								delete attributes[ a ];
+								a = newAttrName;
+								continue;
+							}
+							else
+								break;
+						}
+						if( newAttrName )
+						{
+							if( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
+								delete attributes[ newAttrName ];
+							else
+								attributes [ newAttrName ] = value;
+						}
+					}
+				}
+			}
+			// Sort the attributes by name.
+			if ( writer.sortAttributes )
+				attribsArray.sort( sortAttribs );
+
+			// Send the attributes.
+			var len = attribsArray.length;
+			for ( i = 0 ; i < len ; i++ )
+			{
+				var attrib = attribsArray[ i ];
+				writer.attribute( attrib[0], attrib[1] );
+			}
+
+			// Close the tag.
+			writer.openTagClose( writeName, element.isEmpty );
+
+			if ( !element.isEmpty )
+			{
+				this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter );
+				// Close the element.
+				writer.closeTag( writeName );
+			}
+		},
+
+		writeChildrenHtml : function( writer, filter )
+		{
+			// Send children.
+			CKEDITOR.htmlParser.fragment.prototype.writeChildrenHtml.apply( this, arguments );
+
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/htmlparser/filter.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/filter.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/filter.js	(revision 4888)
@@ -0,0 +1,262 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	CKEDITOR.htmlParser.filter = CKEDITOR.tools.createClass(
+	{
+		$ : function( rules )
+		{
+			this._ =
+			{
+				elementNames : [],
+				attributeNames : [],
+				elements : { $length : 0 },
+				attributes : { $length : 0 }
+			};
+
+			if ( rules )
+				this.addRules( rules, 10 );
+		},
+
+		proto :
+		{
+			addRules : function( rules, priority )
+			{
+				if ( typeof priority != 'number' )
+					priority = 10;
+
+				// Add the elementNames.
+				addItemsToList( this._.elementNames, rules.elementNames, priority );
+
+				// Add the attributeNames.
+				addItemsToList( this._.attributeNames, rules.attributeNames, priority );
+
+				// Add the elements.
+				addNamedItems( this._.elements, rules.elements, priority );
+
+				// Add the attributes.
+				addNamedItems( this._.attributes, rules.attributes, priority );
+
+				// Add the text.
+				this._.text = transformNamedItem( this._.text, rules.text, priority ) || this._.text;
+
+				// Add the comment.
+				this._.comment = transformNamedItem( this._.comment, rules.comment, priority ) || this._.comment;
+
+				// Add root fragment.
+				this._.root = transformNamedItem( this._.root, rules.root, priority ) || this._.root;
+			},
+
+			onElementName : function( name )
+			{
+				return filterName( name, this._.elementNames );
+			},
+
+			onAttributeName : function( name )
+			{
+				return filterName( name, this._.attributeNames );
+			},
+
+			onText : function( text )
+			{
+				var textFilter = this._.text;
+				return textFilter ? textFilter.filter( text ) : text;
+			},
+
+			onComment : function( commentText, comment )
+			{
+				var textFilter = this._.comment;
+				return textFilter ? textFilter.filter( commentText, comment ) : commentText;
+			},
+
+			onFragment : function( element )
+			{
+				var rootFilter = this._.root;
+				return rootFilter ? rootFilter.filter( element ) : element;
+			},
+
+			onElement : function( element )
+			{
+				// We must apply filters set to the specific element name as
+				// well as those set to the generic $ name. So, add both to an
+				// array and process them in a small loop.
+				var filters = [ this._.elements[ '^' ], this._.elements[ element.name ], this._.elements.$ ],
+					filter, ret;
+
+				for ( var i = 0 ; i < 3 ; i++ )
+				{
+					filter = filters[ i ];
+					if ( filter )
+					{
+						ret = filter.filter( element, this );
+
+						if ( ret === false )
+							return null;
+
+						if ( ret && ret != element )
+							return this.onNode( ret );
+
+						// The non-root element has been dismissed by one of the filters.
+						if ( element.parent && !element.name )
+							break;
+					}
+				}
+
+				return element;
+			},
+
+			onNode : function( node )
+			{
+				var type = node.type;
+
+				return type == CKEDITOR.NODE_ELEMENT ? this.onElement( node ) :
+					type == CKEDITOR.NODE_TEXT ? new CKEDITOR.htmlParser.text( this.onText( node.value ) ) :
+					type == CKEDITOR.NODE_COMMENT ? new CKEDITOR.htmlParser.comment( this.onComment( node.value ) ):
+					null;
+			},
+
+			onAttribute : function( element, name, value )
+			{
+				var filter = this._.attributes[ name ];
+
+				if ( filter )
+				{
+					var ret = filter.filter( value, element, this );
+
+					if ( ret === false )
+						return false;
+
+					if ( typeof ret != 'undefined' )
+						return ret;
+				}
+
+				return value;
+			}
+		}
+	});
+
+	function filterName( name, filters )
+	{
+		for ( var i = 0 ; name && i < filters.length ; i++ )
+		{
+			var filter = filters[ i ];
+			name = name.replace( filter[ 0 ], filter[ 1 ] );
+		}
+		return name;
+	}
+
+	function addItemsToList( list, items, priority )
+	{
+		if( typeof items == 'function' )
+			items = [ items ];
+
+		var i, j,
+			listLength = list.length,
+			itemsLength = items && items.length;
+
+		if ( itemsLength )
+		{
+			// Find the index to insert the items at.
+			for ( i = 0 ; i < listLength && list[ i ].pri < priority ; i++ )
+			{ /*jsl:pass*/ }
+
+			// Add all new items to the list at the specific index.
+			for ( j = itemsLength - 1 ; j >= 0 ; j-- )
+			{
+				var item = items[ j ];
+				if ( item )
+				{
+					item.pri = priority;
+					list.splice( i, 0, item );
+				}
+			}
+		}
+	}
+
+	function addNamedItems( hashTable, items, priority )
+	{
+		if ( items )
+		{
+			for ( var name in items )
+			{
+				var current = hashTable[ name ];
+
+				hashTable[ name ] =
+					transformNamedItem(
+						current,
+						items[ name ],
+						priority );
+
+				if ( !current )
+					hashTable.$length++;
+			}
+		}
+	}
+
+	function transformNamedItem( current, item, priority )
+	{
+		if ( item )
+		{
+			item.pri = priority;
+
+			if ( current )
+			{
+				// If the current item is not an Array, transform it.
+				if ( !current.splice )
+				{
+					if ( current.pri > priority )
+						current = [ item, current ];
+					else
+						current = [ current, item ];
+
+					current.filter = callItems;
+				}
+				else
+					addItemsToList( current, item, priority );
+
+				return current;
+			}
+			else
+			{
+				item.filter = item;
+				return item;
+			}
+		}
+	}
+
+	function callItems( currentEntry )
+	{
+		var isObject = ( typeof currentEntry == 'object' );
+
+		for ( var i = 0 ; i < this.length ; i++ )
+		{
+			var item = this[ i ],
+				ret = item.apply( window, arguments );
+
+			if ( typeof ret != 'undefined' )
+			{
+				if ( ret === false )
+					return false;
+
+				if ( isObject && ret != currentEntry )
+					return ret;
+			}
+		}
+
+		return null;
+	}
+})();
+
+// "entities" plugin
+/*
+{
+	text : function( text )
+	{
+		// TODO : Process entities.
+		return text.toUpperCase();
+	}
+};
+*/
Index: CKEditor/branches/features/aria/_source/core/htmlparser/fragment.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/fragment.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/fragment.js	(revision 4888)
@@ -0,0 +1,468 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML DOM structure.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.fragment = function()
+{
+	/**
+	 * The nodes contained in the root of this fragment.
+	 * @type Array
+	 * @example
+	 * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<b>Sample</b> Text' );
+	 * alert( fragment.children.length );  "2"
+	 */
+	this.children = [];
+
+	/**
+	 * Get the fragment parent. Should always be null.
+	 * @type Object
+	 * @default null
+	 * @example
+	 */
+	this.parent = null;
+
+	/** @private */
+	this._ =
+	{
+		isBlockLike : true,
+		hasInlineStarted : false
+	};
+};
+
+(function()
+{
+	// Elements which the end tag is marked as optional in the HTML 4.01 DTD
+	// (expect empty elements).
+	var optionalClose = {colgroup:1,dd:1,dt:1,li:1,option:1,p:1,td:1,tfoot:1,th:1,thead:1,tr:1};
+
+	// Block-level elements whose internal structure should be respected during
+	// parser fixing.
+	var nonBreakingBlocks = CKEDITOR.tools.extend(
+			{table:1,ul:1,ol:1,dl:1},
+			CKEDITOR.dtd.table, CKEDITOR.dtd.ul, CKEDITOR.dtd.ol, CKEDITOR.dtd.dl ),
+		listBlocks = CKEDITOR.dtd.$list, listItems = CKEDITOR.dtd.$listItem;
+
+	/**
+	 * Creates a {@link CKEDITOR.htmlParser.fragment} from an HTML string.
+	 * @param {String} fragmentHtml The HTML to be parsed, filling the fragment.
+	 * @param {Number} [fixForBody=false] Wrap body with specified element if needed.
+	 * @returns CKEDITOR.htmlParser.fragment The fragment created.
+	 * @example
+	 * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<b>Sample</b> Text' );
+	 * alert( fragment.children[0].name );  "b"
+	 * alert( fragment.children[1].value );  " Text"
+	 */
+	CKEDITOR.htmlParser.fragment.fromHtml = function( fragmentHtml, fixForBody )
+	{
+		var parser = new CKEDITOR.htmlParser(),
+			html = [],
+			fragment = new CKEDITOR.htmlParser.fragment(),
+			pendingInline = [],
+			currentNode = fragment,
+		    // Indicate we're inside a <pre> element, spaces should be touched differently.
+			inPre = false,
+			returnPoint;
+
+		function checkPending( newTagName )
+		{
+			if ( pendingInline.length > 0 )
+			{
+				for ( var i = 0 ; i < pendingInline.length ; i++ )
+				{
+					var pendingElement = pendingInline[ i ],
+						pendingName = pendingElement.name,
+						pendingDtd = CKEDITOR.dtd[ pendingName ],
+						currentDtd = currentNode.name && CKEDITOR.dtd[ currentNode.name ];
+
+					if ( ( !currentDtd || currentDtd[ pendingName ] ) && ( !newTagName || !pendingDtd || pendingDtd[ newTagName ] || !CKEDITOR.dtd[ newTagName ] ) )
+					{
+						// Get a clone for the pending element.
+						pendingElement = pendingElement.clone();
+
+						// Add it to the current node and make it the current,
+						// so the new element will be added inside of it.
+						pendingElement.parent = currentNode;
+						currentNode = pendingElement;
+
+						// Remove the pending element (back the index by one
+						// to properly process the next entry).
+						pendingInline.splice( i, 1 );
+						i--;
+					}
+				}
+			}
+		}
+
+		function addElement( element, target, enforceCurrent )
+		{
+			target = target || currentNode || fragment;
+
+			// If the target is the fragment and this element can't go inside
+			// body (if fixForBody).
+			if ( fixForBody && !target.type )
+			{
+				var elementName, realElementName;
+				if ( element.attributes
+					 && ( realElementName =
+						  element.attributes[ '_cke_real_element_type' ] ) )
+					elementName = realElementName;
+				else
+					elementName =  element.name;
+				if ( elementName
+						&& !( elementName in CKEDITOR.dtd.$body )
+						&& !( elementName in CKEDITOR.dtd.$nonBodyContent )  )
+				{
+					var savedCurrent = currentNode;
+
+					// Create a <p> in the fragment.
+					currentNode = target;
+					parser.onTagOpen( fixForBody, {} );
+
+					// The new target now is the <p>.
+					target = currentNode;
+
+					if ( enforceCurrent )
+						currentNode = savedCurrent;
+				}
+			}
+
+			// Rtrim empty spaces on block end boundary. (#3585)
+			if ( element._.isBlockLike
+				 && element.name != 'pre' )
+			{
+
+				var length = element.children.length,
+					lastChild = element.children[ length - 1 ],
+					text;
+				if ( lastChild && lastChild.type == CKEDITOR.NODE_TEXT )
+				{
+					if ( !( text = CKEDITOR.tools.rtrim( lastChild.value ) ) )
+						element.children.length = length -1;
+					else
+						lastChild.value = text;
+				}
+			}
+
+			target.add( element );
+
+			if ( element.returnPoint )
+			{
+				currentNode = element.returnPoint;
+				delete element.returnPoint;
+			}
+		}
+
+		parser.onTagOpen = function( tagName, attributes, selfClosing )
+		{
+			var element = new CKEDITOR.htmlParser.element( tagName, attributes );
+
+			// "isEmpty" will be always "false" for unknown elements, so we
+			// must force it if the parser has identified it as a selfClosing tag.
+			if ( element.isUnknown && selfClosing )
+				element.isEmpty = true;
+
+			// This is a tag to be removed if empty, so do not add it immediately.
+			if ( CKEDITOR.dtd.$removeEmpty[ tagName ] )
+			{
+				pendingInline.push( element );
+				return;
+			}
+			else if ( tagName == 'pre' )
+				inPre = true;
+			else if ( tagName == 'br' && inPre )
+			{
+				currentNode.add( new CKEDITOR.htmlParser.text( '\n' ) );
+				return;
+			}
+
+			var currentName = currentNode.name;
+
+			var currentDtd = currentName
+				&& ( CKEDITOR.dtd[ currentName ]
+					|| ( currentNode._.isBlockLike ? CKEDITOR.dtd.div : CKEDITOR.dtd.span ) );
+
+			// If the element cannot be child of the current element.
+			if ( currentDtd   // Fragment could receive any elements.
+				 && !element.isUnknown && !currentNode.isUnknown && !currentDtd[ tagName ] )
+			{
+
+				var reApply = false,
+					addPoint;   // New position to start adding nodes.
+
+				// Fixing malformed nested lists by moving it into a previous list item. (#3828)
+				if( tagName in listBlocks
+					&& currentName in listBlocks )
+				{
+					var children = currentNode.children,
+						lastChild = children[ children.length - 1 ];
+
+					// Establish the list item if it's not existed.
+					if ( !( lastChild && lastChild.name in listItems ) )
+						addElement( ( lastChild = new CKEDITOR.htmlParser.element( 'li' ) ), currentNode );
+
+					returnPoint = currentNode, addPoint = lastChild;
+				}
+				// If the element name is the same as the current element name,
+				// then just close the current one and append the new one to the
+				// parent. This situation usually happens with <p>, <li>, <dt> and
+				// <dd>, specially in IE. Do not enter in this if block in this case.
+				else if ( tagName == currentName )
+				{
+					addElement( currentNode, currentNode.parent );
+				}
+				else
+				{
+					if ( nonBreakingBlocks[ currentName ] )
+					{
+						if ( !returnPoint )
+							returnPoint = currentNode;
+					}
+					else
+					{
+						addElement( currentNode, currentNode.parent, true );
+
+						if ( !optionalClose[ currentName ] )
+						{
+							// The current element is an inline element, which
+							// cannot hold the new one. Put it in the pending list,
+							// and try adding the new one after it.
+							pendingInline.unshift( currentNode );
+						}
+					}
+
+					reApply = true;
+				}
+
+				if( addPoint )
+					currentNode = addPoint;
+				// Try adding it to the return point, or the parent element.
+				else
+					currentNode = currentNode.returnPoint || currentNode.parent;
+
+				if ( reApply )
+				{
+					parser.onTagOpen.apply( this, arguments );
+					return;
+				}
+			}
+
+			checkPending( tagName );
+
+			element.parent = currentNode;
+			element.returnPoint = returnPoint;
+			returnPoint = 0;
+
+			if ( element.isEmpty )
+				addElement( element );
+			else
+				currentNode = element;
+		};
+
+		parser.onTagClose = function( tagName )
+		{
+			// Check if there is any pending tag to be closed.
+			for ( var i = pendingInline.length - 1 ; i >= 0 ; i-- )
+			{
+				// If found, just remove it from the list.
+				if ( tagName == pendingInline[ i ].name )
+				{
+					pendingInline.splice( i, 1 );
+					return;
+				}
+			}
+
+			var pendingAdd = [],
+				newPendingInline = [],
+				candidate = currentNode;
+
+			while ( candidate.type && candidate.name != tagName )
+			{
+				// If this is an inline element, add it to the pending list, if we're
+				// really closing one of the parents element later, they will continue
+				// after it.
+				if ( !candidate._.isBlockLike )
+					newPendingInline.unshift( candidate );
+
+				// This node should be added to it's parent at this point. But,
+				// it should happen only if the closing tag is really closing
+				// one of the nodes. So, for now, we just cache it.
+				pendingAdd.push( candidate );
+
+				candidate = candidate.parent;
+			}
+
+			if ( candidate.type )
+			{
+				// Add all elements that have been found in the above loop.
+				for ( i = 0 ; i < pendingAdd.length ; i++ )
+				{
+					var node = pendingAdd[ i ];
+					addElement( node, node.parent );
+				}
+
+				currentNode = candidate;
+
+				if( currentNode.name == 'pre' )
+					inPre = false;
+
+				addElement( candidate, candidate.parent );
+
+				// The parent should start receiving new nodes now, except if
+				// addElement changed the currentNode.
+				if ( candidate == currentNode )
+					currentNode = currentNode.parent;
+
+				pendingInline = pendingInline.concat( newPendingInline );
+			}
+
+			if( tagName == 'body' )
+				fixForBody = false;
+		};
+
+		parser.onText = function( text )
+		{
+			// Trim empty spaces at beginning of element contents except <pre>.
+			if ( !currentNode._.hasInlineStarted && !inPre )
+			{
+				text = CKEDITOR.tools.ltrim( text );
+
+				if ( text.length === 0 )
+					return;
+			}
+
+			checkPending();
+
+			if ( fixForBody
+				 && ( !currentNode.type || currentNode.name == 'body' )
+				 && CKEDITOR.tools.trim( text ) )
+			{
+				this.onTagOpen( fixForBody, {} );
+			}
+
+			// Shrinking consequential spaces into one single for all elements
+			// text contents.
+			if ( !inPre )
+				text = text.replace( /[\t\r\n ]{2,}|[\t\r\n]/g, ' ' );
+
+			currentNode.add( new CKEDITOR.htmlParser.text( text ) );
+		};
+
+		parser.onCDATA = function( cdata )
+		{
+			currentNode.add( new CKEDITOR.htmlParser.cdata( cdata ) );
+		};
+
+		parser.onComment = function( comment )
+		{
+			currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
+		};
+
+		// Parse it.
+		parser.parse( fragmentHtml );
+
+		// Close all pending nodes.
+		while ( currentNode.type )
+		{
+			var parent = currentNode.parent,
+				node = currentNode;
+
+			if ( fixForBody
+				 && ( !parent.type || parent.name == 'body' )
+				 && !CKEDITOR.dtd.$body[ node.name ] )
+			{
+				currentNode = parent;
+				parser.onTagOpen( fixForBody, {} );
+				parent = currentNode;
+			}
+
+			parent.add( node );
+			currentNode = parent;
+		}
+
+		return fragment;
+	};
+
+	CKEDITOR.htmlParser.fragment.prototype =
+	{
+		/**
+		 * Adds a node to this fragment.
+		 * @param {Object} node The node to be added. It can be any of of the
+		 *		following types: {@link CKEDITOR.htmlParser.element},
+		 *		{@link CKEDITOR.htmlParser.text} and
+		 *		{@link CKEDITOR.htmlParser.comment}.
+		 * @example
+		 */
+		add : function( node )
+		{
+			var len = this.children.length,
+				previous = len > 0 && this.children[ len - 1 ] || null;
+
+			if ( previous )
+			{
+				// If the block to be appended is following text, trim spaces at
+				// the right of it.
+				if ( node._.isBlockLike && previous.type == CKEDITOR.NODE_TEXT )
+				{
+					previous.value = CKEDITOR.tools.rtrim( previous.value );
+
+					// If we have completely cleared the previous node.
+					if ( previous.value.length === 0 )
+					{
+						// Remove it from the list and add the node again.
+						this.children.pop();
+						this.add( node );
+						return;
+					}
+				}
+
+				previous.next = node;
+			}
+
+			node.previous = previous;
+			node.parent = this;
+
+			this.children.push( node );
+
+			this._.hasInlineStarted = node.type == CKEDITOR.NODE_TEXT || ( node.type == CKEDITOR.NODE_ELEMENT && !node._.isBlockLike );
+		},
+
+		/**
+		 * Writes the fragment HTML to a CKEDITOR.htmlWriter.
+		 * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+		 * @example
+		 * var writer = new CKEDITOR.htmlWriter();
+		 * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '&lt;P&gt;&lt;B&gt;Example' );
+		 * fragment.writeHtml( writer )
+		 * alert( writer.getHtml() );  "&lt;p&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/p&gt;"
+		 */
+		writeHtml : function( writer, filter )
+		{
+			var isChildrenFiltered;
+			this.filterChildren = function()
+			{
+				var writer = new CKEDITOR.htmlParser.basicWriter();
+				this.writeChildrenHtml.call( this, writer, filter, true );
+				var html = writer.getHtml();
+				this.children = new CKEDITOR.htmlParser.fragment.fromHtml( html ).children;
+				isChildrenFiltered = 1;
+			};
+
+			// Filtering the root fragment before anything else.
+			!this.name && filter && filter.onFragment( this );
+
+			this.writeChildrenHtml( writer, isChildrenFiltered ? null : filter );
+		},
+
+		writeChildrenHtml : function( writer, filter )
+		{
+			for ( var i = 0 ; i < this.children.length ; i++ )
+				this.children[i].writeHtml( writer, filter );
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/htmlparser/text.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/htmlparser/text.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/htmlparser/text.js	(revision 4888)
@@ -0,0 +1,55 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var spacesRegex = /[\t\r\n ]{2,}|[\t\r\n]/g;
+
+	/**
+	 * A lightweight representation of HTML text.
+	 * @constructor
+	 * @example
+	 */
+ 	CKEDITOR.htmlParser.text = function( value )
+	{
+		/**
+		 * The text value.
+		 * @type String
+		 * @example
+		 */
+		this.value = value;
+
+		/** @private */
+		this._ =
+		{
+			isBlockLike : false
+		};
+	};
+
+	CKEDITOR.htmlParser.text.prototype =
+	{
+		/**
+		 * The node type. This is a constant value set to {@link CKEDITOR.NODE_TEXT}.
+		 * @type Number
+		 * @example
+		 */
+		type : CKEDITOR.NODE_TEXT,
+
+		/**
+		 * Writes the HTML representation of this text to a CKEDITOR.htmlWriter.
+		 * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+		 * @example
+		 */
+		writeHtml : function( writer, filter )
+		{
+			var text = this.value;
+
+			if ( filter && !( text = filter.onText( text, this ) ) )
+				return;
+
+			writer.text( text );
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/imagecacher.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/imagecacher.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/imagecacher.js	(revision 4888)
@@ -0,0 +1,58 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var loaded = {};
+
+	var loadImage = function( image, callback )
+	{
+		var doCallback = function()
+			{
+				loaded[ image ] = 1;
+				callback();
+			};
+
+		var img = new CKEDITOR.dom.element( 'img' );
+		img.on( 'load', doCallback );
+		img.on( 'error', doCallback );
+		img.setAttribute( 'src', image );
+	};
+
+	/**
+	 * Load images into the browser cache.
+	 * @namespace
+	 * @example
+	 */
+ 	CKEDITOR.imageCacher =
+	{
+		/**
+		 * Loads one or more images.
+		 * @param {Array} images The URLs for the images to be loaded.
+		 * @param {Function} callback The function to be called once all images
+		 *		are loaded.
+		 */
+		load : function( images, callback )
+		{
+			var pendingCount = images.length;
+
+			var checkPending = function()
+			{
+				if ( --pendingCount === 0 )
+					callback();
+			};
+
+			for ( var i = 0 ; i < images.length ; i++ )
+			{
+				var image = images[ i ];
+
+				if ( loaded[ image ] )
+					checkPending();
+				else
+					loadImage( image, checkPending );
+			}
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/lang.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/lang.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/lang.js	(revision 4888)
@@ -0,0 +1,151 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var loadedLangs = {};
+
+	CKEDITOR.lang =
+	{
+		/**
+		 * The list of languages available in the editor core.
+		 * @type Object
+		 * @example
+		 * alert( CKEDITOR.lang.en );  // "true"
+		 */
+		languages :
+		{
+			'af'	: 1,
+			'ar'	: 1,
+			'bg'	: 1,
+			'bn'	: 1,
+			'bs'	: 1,
+			'ca'	: 1,
+			'cs'	: 1,
+			'da'	: 1,
+			'de'	: 1,
+			'el'	: 1,
+			'en-au'	: 1,
+			'en-ca'	: 1,
+			'en-uk'	: 1,
+			'en'	: 1,
+			'eo'	: 1,
+			'es'	: 1,
+			'et'	: 1,
+			'eu'	: 1,
+			'fa'	: 1,
+			'fi'	: 1,
+			'fo'	: 1,
+			'fr-ca'	: 1,
+			'fr'	: 1,
+			'gl'	: 1,
+			'gu'	: 1,
+			'he'	: 1,
+			'hi'	: 1,
+			'hr'	: 1,
+			'hu'	: 1,
+			'is'	: 1,
+			'it'	: 1,
+			'ja'	: 1,
+			'km'	: 1,
+			'ko'	: 1,
+			'lt'	: 1,
+			'lv'	: 1,
+			'mn'	: 1,
+			'ms'	: 1,
+			'nb'	: 1,
+			'nl'	: 1,
+			'no'	: 1,
+			'pl'	: 1,
+			'pt-br'	: 1,
+			'pt'	: 1,
+			'ro'	: 1,
+			'ru'	: 1,
+			'sk'	: 1,
+			'sl'	: 1,
+			'sr-latn'	: 1,
+			'sr'	: 1,
+			'sv'	: 1,
+			'th'	: 1,
+			'tr'	: 1,
+			'uk'	: 1,
+			'vi'	: 1,
+			'zh-cn'	: 1,
+			'zh'	: 1
+		},
+
+		/**
+		 * Loads a specific language file, or auto detect it. A callback is
+		 * then called when the file gets loaded.
+		 * @param {String} languageCode The code of the language file to be
+		 *		loaded. If "autoDetect" is set to true, this language will be
+		 *		used as the default one, if the detect language is not
+		 *		available in the core.
+		 * @param {Boolean} autoDetect Indicates that the function must try to
+		 *		detect the user language and load it instead.
+		 * @param {Function} callback The function to be called once the
+		 *		language file is loaded. Two parameters are passed to this
+		 *		function: the language code and the loaded language entries.
+		 * @example
+		 */
+		load : function( languageCode, defaultLanguage, callback )
+		{
+			// If no languageCode - fallback to browser or default.
+			// If languageCode - fallback to no-localized version or default.
+			if ( !languageCode || !CKEDITOR.lang.languages[ languageCode ] )
+				languageCode = this.detect( defaultLanguage, languageCode );
+
+			if ( !this[ languageCode ] )
+			{
+				CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(
+					'_source/' +	// @Packager.RemoveLine
+					'lang/' + languageCode + '.js' ),
+					function()
+						{
+							callback( languageCode, this[ languageCode ] );
+						}
+						, this );
+			}
+			else
+				callback( languageCode, this[ languageCode ] );
+		},
+
+		/**
+		 * Returns the language that best fit the user language. For example,
+		 * suppose that the user language is "pt-br". If this language is
+		 * supported by the editor, it is returned. Otherwise, if only "pt" is
+		 * supported, it is returned instead. If none of the previous are
+		 * supported, a default language is then returned.
+		 * @param {String} defaultLanguage The default language to be returned
+		 *		if the user language is not supported.
+		 * @returns {String} The detected language code.
+		 * @example
+		 * alert( CKEDITOR.lang.detect( 'en' ) );  // e.g., in a German browser: "de"
+		 */
+		detect : function( defaultLanguage, probeLanguage )
+		{
+			var languages = this.languages;
+			probeLanguage = probeLanguage || navigator.userLanguage || navigator.language;
+
+			var parts = probeLanguage
+					.toLowerCase()
+					.match( /([a-z]+)(?:-([a-z]+))?/ ),
+				lang = parts[1],
+				locale = parts[2];
+
+			if ( languages[ lang + '-' + locale ] )
+				lang = lang + '-' + locale;
+			else if ( !languages[ lang ] )
+				lang = null;
+
+			CKEDITOR.lang.detect = lang ?
+				function() { return lang; } :
+				function( defaultLanguage ) { return defaultLanguage; };
+
+			return lang || defaultLanguage;
+		}
+	};
+
+})();
Index: CKEditor/branches/features/aria/_source/core/loader.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/loader.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/loader.js	(revision 4888)
@@ -0,0 +1,244 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.loader} objects, which is used to
+ *		load core scripts and their dependencies from _source.
+ */
+
+if ( typeof CKEDITOR == 'undefined' )
+	CKEDITOR = {};
+
+if ( !CKEDITOR.loader )
+{
+	/**
+	 * Load core scripts and their dependencies from _source.
+	 * @namespace
+	 * @example
+	 */
+	CKEDITOR.loader = (function()
+	{
+		// Table of script names and their dependencies.
+		var scripts =
+		{
+			'core/_bootstrap'		: [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/scriptloader', 'core/tools', /* The following are entries that we want to force loading at the end to avoid dependence recursion */ 'core/dom/comment', 'core/dom/elementpath', 'core/dom/text', 'core/dom/range' ],
+			'core/ajax'				: [ 'core/xml' ],
+			'core/ckeditor'			: [ 'core/ckeditor_basic', 'core/dom', 'core/dtd', 'core/dom/document', 'core/dom/element', 'core/editor', 'core/event', 'core/htmlparser', 'core/htmlparser/element', 'core/htmlparser/fragment', 'core/htmlparser/filter', 'core/htmlparser/basicwriter', 'core/tools' ],
+			'core/ckeditor_base'	: [],
+			'core/ckeditor_basic'	: [ 'core/editor_basic', 'core/env', 'core/event' ],
+			'core/command'			: [],
+			'core/config'			: [ 'core/ckeditor_base' ],
+			'core/dom'				: [],
+			'core/dom/comment'		: [ 'core/dom/node' ],
+			'core/dom/document'		: [ 'core/dom', 'core/dom/domobject', 'core/dom/window' ],
+			'core/dom/documentfragment'	: [ 'core/dom/element' ],
+			'core/dom/element'		: [ 'core/dom', 'core/dom/document', 'core/dom/domobject', 'core/dom/node', 'core/dom/nodelist', 'core/tools' ],
+			'core/dom/elementpath'	: [ 'core/dom/element' ],
+			'core/dom/event'		: [],
+			'core/dom/node'			: [ 'core/dom/domobject', 'core/tools' ],
+			'core/dom/nodelist'		: [ 'core/dom/node' ],
+			'core/dom/domobject'	: [ 'core/dom/event' ],
+			'core/dom/range'		: [ 'core/dom/document', 'core/dom/documentfragment', 'core/dom/element', 'core/dom/walker' ],
+			'core/dom/text'			: [ 'core/dom/node', 'core/dom/domobject' ],
+			'core/dom/walker'		: [ 'core/dom/node' ],
+			'core/dom/window'		: [ 'core/dom/domobject' ],
+			'core/dtd'				: [ 'core/tools' ],
+			'core/editor'			: [ 'core/command', 'core/config', 'core/editor_basic', 'core/focusmanager', 'core/lang', 'core/plugins', 'core/skins', 'core/themes', 'core/tools', 'core/ui' ],
+			'core/editor_basic'		: [ 'core/event' ],
+			'core/env'				: [],
+			'core/event'			: [],
+			'core/focusmanager'		: [],
+			'core/htmlparser'		: [],
+			'core/htmlparser/comment'	: [ 'core/htmlparser' ],
+			'core/htmlparser/element'	: [ 'core/htmlparser', 'core/htmlparser/fragment' ],
+			'core/htmlparser/fragment'	: [ 'core/htmlparser', 'core/htmlparser/comment', 'core/htmlparser/text', 'core/htmlparser/cdata' ],
+			'core/htmlparser/text'		: [ 'core/htmlparser' ],
+			'core/htmlparser/cdata'		: [ 'core/htmlparser' ],
+			'core/htmlparser/filter'	: [ 'core/htmlparser' ],
+			'core/htmlparser/basicwriter': [ 'core/htmlparser' ],
+			'core/imagecacher'		: [ 'core/dom/element' ],
+			'core/lang'				: [],
+			'core/plugins'			: [ 'core/resourcemanager' ],
+			'core/resourcemanager'	: [ 'core/scriptloader', 'core/tools' ],
+			'core/scriptloader'		: [ 'core/dom/element', 'core/env' ],
+			'core/skins'			: [ 'core/imagecacher', 'core/scriptloader' ],
+			'core/themes'			: [ 'core/resourcemanager' ],
+			'core/tools'			: [ 'core/env' ],
+			'core/ui'				: [],
+			'core/xml'				: [ 'core/env' ]
+		};
+
+		var basePath = (function()
+		{
+			// This is a copy of CKEDITOR.basePath, but requires the script having
+			// "_source/core/loader.js".
+			if ( CKEDITOR && CKEDITOR.basePath )
+				return CKEDITOR.basePath;
+
+			// Find out the editor directory path, based on its <script> tag.
+			var path = '';
+			var scripts = document.getElementsByTagName( 'script' );
+
+			for ( var i = 0 ; i < scripts.length ; i++ )
+			{
+				var match = scripts[i].src.match( /(^|.*[\\\/])core\/loader.js(?:\?.*)?$/i );
+
+				if ( match )
+				{
+					path = match[1];
+					break;
+				}
+			}
+
+			// In IE (only) the script.src string is the raw valued entered in the
+			// HTML. Other browsers return the full resolved URL instead.
+			if ( path.indexOf('://') == -1 )
+			{
+				// Absolute path.
+				if ( path.indexOf( '/' ) === 0 )
+					path = location.href.match( /^.*?:\/\/[^\/]*/ )[0] + path;
+				// Relative path.
+				else
+					path = location.href.match( /^[^\?]*\// )[0] + path;
+			}
+
+			return path;
+		})();
+
+		var timestamp = ( CKEDITOR && CKEDITOR.timestamp ) || ( new Date() ).valueOf();	// %REMOVE_LINE%
+		/*																				// %REMOVE_LINE%
+		 * The production implementation contains a fixed timestamp						// %REMOVE_LINE%
+		 * generated by the releaser													// %REMOVE_LINE%
+		var timestamp = '%TIMESTAMP%';
+		 */																				// %REMOVE_LINE%
+
+		var getUrl = function( resource )
+		{
+			if ( CKEDITOR && CKEDITOR.getUrl )
+				return CKEDITOR.getUrl( resource );
+
+			return basePath + resource +
+				( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) +
+				't=' + timestamp;
+		};
+
+		var pendingLoad = [];
+
+		/** @lends CKEDITOR.loader */
+		return {
+			/**
+			 * The list of loaded scripts in their loading order.
+			 * @type Array
+			 * @example
+			 * // Alert the loaded script names.
+			 * alert( <b>CKEDITOR.loader.loadedScripts</b> );
+			 */
+			loadedScripts : [],
+
+			loadPending : function()
+			{
+				var scriptName = pendingLoad.shift();
+
+				if ( !scriptName )
+					return;
+
+				var scriptSrc = getUrl( '_source/' + scriptName + '.js' );
+
+				var script = document.createElement( 'script' );
+				script.type = 'text/javascript';
+				script.src = scriptSrc;
+
+				function onScriptLoaded()
+				{
+					// Append this script to the list of loaded scripts.
+					CKEDITOR.loader.loadedScripts.push( scriptName );
+
+					// Load the next.
+					CKEDITOR.loader.loadPending();
+				}
+
+				// We must guarantee the execution order of the scripts, so we
+				// need to load them one by one. (#4145)
+				// The followin if/else block has been taken from the scriptloader core code.
+				if ( CKEDITOR.env.ie )
+				{
+					/** @ignore */
+					script.onreadystatechange = function()
+					{
+						if ( script.readyState == 'loaded' || script.readyState == 'complete' )
+						{
+							script.onreadystatechange = null;
+							onScriptLoaded();
+						}
+					};
+				}
+				else
+				{
+					/** @ignore */
+					script.onload = function()
+					{
+						// Some browsers, such as Safari, may call the onLoad function
+						// immediately. Which will break the loading sequence. (#3661)
+						setTimeout( function() { onScriptLoaded( scriptName ); }, 0 );
+					};
+				}
+
+				document.body.appendChild( script );
+			},
+
+			/**
+			 * Loads a specific script, including its dependencies. This is not a
+			 * synchronous loading, which means that the code the be loaded will
+			 * not necessarily be available after this call.
+			 * @example
+			 * CKEDITOR.loader.load( 'core/dom/element' );
+			 */
+			load : function( scriptName, defer )
+			{
+				// Check if the script has already been loaded.
+				if ( scriptName in this.loadedScripts )
+					return;
+
+				// Get the script dependencies list.
+				var dependencies = scripts[ scriptName ];
+				if ( !dependencies )
+					throw 'The script name"' + scriptName + '" is not defined.';
+
+				// Mark the script as loaded, even before really loading it, to
+				// avoid cross references recursion.
+				this.loadedScripts[ scriptName ] = true;
+
+				// Load all dependencies first.
+				for ( var i = 0 ; i < dependencies.length ; i++ )
+					this.load( dependencies[ i ], true );
+
+				var scriptSrc = getUrl( '_source/' + scriptName + '.js' );
+
+				// Append the <script> element to the DOM.
+				if ( document.body )
+				{
+					pendingLoad.push( scriptName );
+
+					if ( !defer )
+						this.loadPending();
+				}
+				else
+				{
+					// Append this script to the list of loaded scripts.
+					this.loadedScripts.push( scriptName );
+
+					document.write( '<script src="' + scriptSrc + '" type="text/javascript"><\/script>' );
+				}
+			}
+		};
+	})();
+}
+
+// Check if any script has been defined for autoload.
+if ( CKEDITOR._autoLoad )
+{
+	CKEDITOR.loader.load( CKEDITOR._autoLoad );
+	delete CKEDITOR._autoLoad;
+}
Index: CKEditor/branches/features/aria/_source/core/plugindefinition.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/plugindefinition.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/plugindefinition.js	(revision 4888)
@@ -0,0 +1,66 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.pluginDefinition} class, which
+ *		contains the defintion of a plugin. This file is for documentation
+ *		purposes only.
+ */
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ *		of the API. It just illustrates the features of plugin objects to be
+ *		passed to the {@link CKEDITOR.plugins.add} function.
+ * @name CKEDITOR.pluginDefinition
+ * @constructor
+ * @example
+ */
+
+/**
+ * A list of plugins that are required by this plugin. Note that this property
+ * doesn't guarantee the loading order of the plugins.
+ * @name CKEDITOR.pluginDefinition.prototype.requires
+ * @type Array
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ *     requires : [ 'button', 'selection' ]
+ * });
+ */
+
+ /**
+ * Function called on initialization of every editor instance created in the
+ * page before the init() call task. The beforeInit function will be called for
+ * all plugins, after that the init function is called for all of them. This
+ * feature makes it possible to initialize things that could be used in the
+ * init function of other plugins.
+ * @name CKEDITOR.pluginDefinition.prototype.beforeInit
+ * @function
+ * @param {CKEDITOR.editor} editor The editor instance being initialized.
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ *     beforeInit : function( editor )
+ *     {
+ *         alert( 'Editor "' + editor.name + '" is to be initialized!' );
+ *     }
+ * });
+ */
+
+ /**
+ * Function called on initialization of every editor instance created in the
+ * page.
+ * @name CKEDITOR.pluginDefinition.prototype.init
+ * @function
+ * @param {CKEDITOR.editor} editor The editor instance being initialized.
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ *     init : function( editor )
+ *     {
+ *         alert( 'Editor "' + editor.name + '" is being initialized!' );
+ *     }
+ * });
+ */
Index: CKEditor/branches/features/aria/_source/core/plugins.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/plugins.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/plugins.js	(revision 4888)
@@ -0,0 +1,83 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.plugins} object, which is used to
+ *		manage plugins registration and loading.
+ */
+
+/**
+ * Manages plugins registration and loading.
+ * @namespace
+ * @augments CKEDITOR.resourceManager
+ * @example
+ */
+CKEDITOR.plugins = new CKEDITOR.resourceManager(
+	'_source/' +	// @Packager.RemoveLine
+	'plugins/', 'plugin' );
+
+// PACKAGER_RENAME( CKEDITOR.plugins )
+
+CKEDITOR.plugins.load = CKEDITOR.tools.override( CKEDITOR.plugins.load, function( originalLoad )
+	{
+		return function( name, callback, scope )
+		{
+			var allPlugins = {};
+
+			var loadPlugins = function( names )
+			{
+				originalLoad.call( this, names, function( plugins )
+					{
+						CKEDITOR.tools.extend( allPlugins, plugins );
+
+						var requiredPlugins = [];
+						for ( var pluginName in plugins )
+						{
+							var plugin = plugins[ pluginName ],
+								requires = plugin && plugin.requires;
+
+							if ( requires )
+							{
+								for ( var i = 0 ; i < requires.length ; i++ )
+								{
+									if ( !allPlugins[ requires[ i ] ] )
+										requiredPlugins.push( requires[ i ] );
+								}
+							}
+						}
+
+						if ( requiredPlugins.length )
+							loadPlugins.call( this, requiredPlugins );
+						else
+						{
+							// Call the "onLoad" function for all plugins.
+							for ( pluginName in allPlugins )
+							{
+								plugin = allPlugins[ pluginName ];
+								if ( plugin.onLoad && !plugin.onLoad._called )
+								{
+									plugin.onLoad();
+									plugin.onLoad._called = 1;
+								}
+							}
+
+							// Call the callback.
+							if ( callback )
+								callback.call( scope || window, allPlugins );
+						}
+					}
+					, this);
+
+			};
+
+			loadPlugins.call( this, name );
+		};
+	});
+
+CKEDITOR.plugins.setLang = function( pluginName, languageCode, languageEntries )
+{
+	var plugin = this.get( pluginName );
+	plugin.lang[ languageCode ] = languageEntries;
+};
Index: CKEditor/branches/features/aria/_source/core/resourcemanager.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/resourcemanager.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/resourcemanager.js	(revision 4888)
@@ -0,0 +1,234 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.resourceManager} class, which is
+ *		the base for resource managers, like plugins and themes.
+ */
+
+ /**
+ * Base class for resource managers, like plugins and themes. This class is not
+ * intended to be used out of the CKEditor core code.
+ * @param {String} basePath The path for the resources folder.
+ * @param {String} fileName The name used for resource files.
+ * @namespace
+ * @example
+ */
+CKEDITOR.resourceManager = function( basePath, fileName )
+{
+	/**
+	 * The base directory containing all resources.
+	 * @name CKEDITOR.resourceManager.prototype.basePath
+	 * @type String
+	 * @example
+	 */
+	this.basePath = basePath;
+
+	/**
+	 * The name used for resource files.
+	 * @name CKEDITOR.resourceManager.prototype.fileName
+	 * @type String
+	 * @example
+	 */
+	this.fileName = fileName;
+
+	/**
+	 * Contains references to all resources that have already been registered
+	 * with {@link #add}.
+	 * @name CKEDITOR.resourceManager.prototype.registered
+	 * @type Object
+	 * @example
+	 */
+	this.registered = {};
+
+	/**
+	 * Contains references to all resources that have already been loaded
+	 * with {@link #load}.
+	 * @name CKEDITOR.resourceManager.prototype.loaded
+	 * @type Object
+	 * @example
+	 */
+	this.loaded = {};
+
+	/**
+	 * Contains references to all resources that have already been registered
+	 * with {@link #addExternal}.
+	 * @name CKEDITOR.resourceManager.prototype.externals
+	 * @type Object
+	 * @example
+	 */
+	this.externals = {};
+
+	/**
+	 * @private
+	 */
+	this._ =
+	{
+		// List of callbacks waiting for plugins to be loaded.
+		waitingList : {}
+	};
+};
+
+CKEDITOR.resourceManager.prototype =
+{
+	/**
+	 * Registers a resource.
+	 * @param {String} name The resource name.
+	 * @param {Object} [definition] The resource definition.
+	 * @example
+	 * CKEDITOR.plugins.add( 'sample', { ... plugin definition ... } );
+	 * @see CKEDITOR.pluginDefinition
+	 */
+	add : function( name, definition )
+	{
+		if ( this.registered[ name ] )
+			throw '[CKEDITOR.resourceManager.add] The resource name "' + name + '" is already registered.';
+
+		CKEDITOR.fire( name + CKEDITOR.tools.capitalize( this.fileName ) + 'Ready',
+				this.registered[ name ] = definition || {} );
+	},
+
+	/**
+	 * Gets the definition of a specific resource.
+	 * @param {String} name The resource name.
+	 * @type Object
+	 * @example
+	 * var definition = <b>CKEDITOR.plugins.get( 'sample' )</b>;
+	 */
+	get : function( name )
+	{
+		return this.registered[ name ] || null;
+	},
+
+	/**
+	 * Get the folder path for a specific loaded resource.
+	 * @param {String} name The resource name.
+	 * @type String
+	 * @example
+	 * alert( <b>CKEDITOR.plugins.getPath( 'sample' )</b> );  // "&lt;editor path&gt;/plugins/sample/"
+	 */
+	getPath : function( name )
+	{
+		var external = this.externals[ name ];
+		return CKEDITOR.getUrl( ( external && external.dir ) || this.basePath + name + '/' );
+	},
+
+	/**
+	 * Get the file path for a specific loaded resource.
+	 * @param {String} name The resource name.
+	 * @type String
+	 * @example
+	 * alert( <b>CKEDITOR.plugins.getFilePath( 'sample' )</b> );  // "&lt;editor path&gt;/plugins/sample/plugin.js"
+	 */
+	getFilePath : function( name )
+	{
+		var external = this.externals[ name ];
+		return CKEDITOR.getUrl(
+				this.getPath( name ) +
+				( ( external && external.file ) || ( this.fileName + '.js' ) ) );
+	},
+
+	/**
+	 * Registers one or more resources to be loaded from an external path
+	 * instead of the core base path.
+	 * @param {String} names The resource names, separated by commas.
+	 * @param {String} path The path of the folder containing the resource.
+	 * @param {String} [fileName] The resource file name. If not provided, the
+	 *		default name is used.
+	 * @example
+	 * // Loads a plugin from '/myplugin/samples/plugin.js'.
+	 * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' );
+	 * @example
+	 * // Loads a plugin from '/myplugin/samples/my_plugin.js'.
+	 * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/', 'my_plugin.js' );
+	 */
+	addExternal : function( names, path, fileName )
+	{
+		names = names.split( ',' );
+		for ( var i = 0 ; i < names.length ; i++ )
+		{
+			var name = names[ i ];
+
+			this.externals[ name ] =
+			{
+				dir : path,
+				file : fileName
+			};
+		}
+	},
+
+	/**
+	 * Loads one or more resources.
+	 * @param {String|Array} name The name of the resource to load. It may be a
+	 *		string with a single resource name, or an array with several names.
+	 * @param {Function} callback A function to be called when all resources
+	 *		are loaded. The callback will receive an array containing all
+	 *		loaded names.
+	 * @param {Object} [scope] The scope object to be used for the callback
+	 *		call.
+	 * @example
+	 * <b>CKEDITOR.plugins.load</b>( 'myplugin', function( plugins )
+	 *     {
+	 *         alert( plugins['myplugin'] );  // "object"
+	 *     });
+	 */
+	load : function( names, callback, scope )
+	{
+		// Ensure that we have an array of names.
+		if ( !CKEDITOR.tools.isArray( names ) )
+			names = names ? [ names ] : [];
+
+		var loaded = this.loaded,
+			registered = this.registered,
+			urls = [],
+			urlsNames = {},
+			resources = {};
+
+		// Loop through all names.
+		for ( var i = 0 ; i < names.length ; i++ )
+		{
+			var name = names[ i ];
+
+			if ( !name )
+				continue;
+
+			// If not available yet.
+			if ( !loaded[ name ] && !registered[ name ] )
+			{
+				var url = this.getFilePath( name );
+				urls.push( url );
+				if ( !( url in urlsNames ) )
+					urlsNames[ url ] = [];
+				urlsNames[ url ].push( name );
+			}
+			else
+				resources[ name ] = this.get( name );
+		}
+
+		CKEDITOR.scriptLoader.load( urls, function( completed, failed )
+			{
+				if ( failed.length )
+				{
+					throw '[CKEDITOR.resourceManager.load] Resource name "' + urlsNames[ failed[ 0 ] ].join( ',' )
+						+ '" was not found at "' + failed[ 0 ] + '".';
+				}
+
+				for ( var i = 0 ; i < completed.length ; i++ )
+				{
+					var nameList = urlsNames[ completed[ i ] ];
+					for ( var j = 0 ; j < nameList.length ; j++ )
+					{
+						var name = nameList[ j ];
+						resources[ name ] = this.get( name );
+
+						loaded[ name ] = 1;
+					}
+				}
+
+				callback.call( scope, resources );
+			}
+			, this);
+	}
+};
Index: CKEditor/branches/features/aria/_source/core/scriptloader.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/scriptloader.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/scriptloader.js	(revision 4888)
@@ -0,0 +1,198 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts
+ *		asynchronously.
+ */
+
+/**
+ * Load scripts asynchronously.
+ * @namespace
+ * @example
+ */
+CKEDITOR.scriptLoader = (function()
+{
+	var uniqueScripts = {};
+	var waitingList = {};
+
+	return /** @lends CKEDITOR.scriptLoader */ {
+		/**
+		 * Loads one or more external script checking if not already loaded
+		 * previously by this function.
+		 * @param {String|Array} scriptUrl One or more URLs pointing to the
+		 *		scripts to be loaded.
+		 * @param {Function} [callback] A function to be called when the script
+		 *		is loaded and executed. If a string is passed to "scriptUrl", a
+		 *		boolean parameter is passed to the callback, indicating the
+		 *		success of the load. If an array is passed instead, two array
+		 *		parameters are passed to the callback; the first contains the
+		 *		URLs that have been properly loaded, and the second the failed
+		 *		ones.
+		 * @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.
+		 * @example
+		 * CKEDITOR.scriptLoader.load( '/myscript.js' );
+		 * @example
+		 * CKEDITOR.scriptLoader.load( '/myscript.js', function( success )
+		 *     {
+		 *         // Alerts "true" if the script has been properly loaded.
+		 *         // HTTP error 404 should return "false".
+		 *         alert( success );
+		 *     });
+		 * @example
+		 * CKEDITOR.scriptLoader.load( [ '/myscript1.js', '/myscript2.js' ], function( completed, failed )
+		 *     {
+		 *         alert( 'Number of scripts loaded: ' + completed.length );
+		 *         alert( 'Number of failures: ' + failed.length );
+		 *     });
+		 */
+		load : function( scriptUrl, callback, scope, noCheck, showBusy )
+		{
+			var isString = ( typeof scriptUrl == 'string' );
+
+			if ( isString )
+				scriptUrl = [ scriptUrl ];
+
+			if ( !scope )
+				scope = CKEDITOR;
+
+			var scriptCount = scriptUrl.length,
+				completed = [],
+				failed = [];
+
+			var doCallback = function( success )
+			{
+				if ( callback )
+				{
+					if ( isString )
+						callback.call( scope, success );
+					else
+						callback.call( scope, completed, failed );
+				}
+			};
+
+			if ( scriptCount === 0 )
+			{
+				doCallback( true );
+				return;
+			}
+
+			var checkLoaded = function( url, success )
+			{
+				( success ? completed : failed ).push( url );
+
+				if ( --scriptCount <= 0 )
+				{
+					showBusy && CKEDITOR.document.getDocumentElement().removeStyle( 'cursor' );
+					doCallback( success );
+				}
+			};
+
+			var onLoad = function( url, success )
+			{
+				// Mark this script as loaded.
+				uniqueScripts[ url ] = 1;
+
+				// Get the list of callback checks waiting for this file.
+				var waitingInfo = waitingList[ url ];
+				delete waitingList[ url ];
+
+				// Check all callbacks waiting for this file.
+				for ( var i = 0 ; i < waitingInfo.length ; i++ )
+					waitingInfo[ i ]( url, success );
+			};
+
+			var loadScript = function( url )
+			{
+				if ( noCheck !== true && uniqueScripts[ url ] )
+				{
+					checkLoaded( url, true );
+					return;
+				}
+
+				var waitingInfo = waitingList[ url ] || ( waitingList[ url ] = [] );
+				waitingInfo.push( checkLoaded );
+
+				// Load it only for the first request.
+				if ( waitingInfo.length > 1 )
+					return;
+
+				// Create the <script> element.
+				var script = new CKEDITOR.dom.element( 'script' );
+				script.setAttributes( {
+					type : 'text/javascript',
+					src : url } );
+
+				if ( callback )
+				{
+					if ( CKEDITOR.env.ie )
+					{
+						// FIXME: For IE, we are not able to return false on error (like 404).
+
+						/** @ignore */
+						script.$.onreadystatechange = function ()
+						{
+							if ( script.$.readyState == 'loaded' || script.$.readyState == 'complete' )
+							{
+								script.$.onreadystatechange = null;
+								onLoad( url, true );
+							}
+						};
+					}
+					else
+					{
+						/** @ignore */
+						script.$.onload = function()
+						{
+							// Some browsers, such as Safari, may call the onLoad function
+							// immediately. Which will break the loading sequence. (#3661)
+							setTimeout( function() { onLoad( url, true ); }, 0 );
+						};
+
+						// FIXME: Opera and Safari will not fire onerror.
+
+						/** @ignore */
+						script.$.onerror = function()
+						{
+							onLoad( url, false );
+						};
+					}
+				}
+
+				// Append it to <head>.
+				script.appendTo( CKEDITOR.document.getHead() );
+
+				CKEDITOR.fire( 'download', url );		// @Packager.RemoveLine
+			};
+
+			showBusy && CKEDITOR.document.getDocumentElement().setStyle( 'cursor', 'wait' );
+			for ( var i = 0 ; i < scriptCount ; i++ )
+			{
+				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/features/aria/_source/core/skins.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/skins.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/skins.js	(revision 4888)
@@ -0,0 +1,204 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.skins} object, which is used to
+ *		manage skins loading.
+ */
+
+/**
+ * Manages skins loading.
+ * @namespace
+ * @example
+ */
+CKEDITOR.skins = (function()
+{
+	// Holds the list of loaded skins.
+	var loaded = {};
+	var preloaded = {};
+	var paths = {};
+
+	var loadPart = function( editor, skinName, part, callback )
+	{
+		// Get the skin definition.
+		var skinDefinition = loaded[ skinName ];
+
+		if ( !editor.skin )
+		{
+			editor.skin = skinDefinition;
+
+			// Trigger init function if any.
+			if ( skinDefinition.init )
+				skinDefinition.init( editor );
+		}
+
+		var appendSkinPath = function( fileNames )
+		{
+			for ( var n = 0 ; n < fileNames.length ; n++ )
+			{
+				fileNames[ n ] = CKEDITOR.getUrl( paths[ skinName ] + fileNames[ n ] );
+			}
+		};
+
+		function fixCSSTextRelativePath( cssStyleText, baseUrl )
+		{
+			return cssStyleText.replace( /url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,
+					function( match, opener, path, closer )
+					{
+						if ( /^\/|^\w?:/.test( path ) )
+							return match;
+						else
+							return 'url(' + baseUrl + opener +  path + closer + ')';
+					} );
+		}
+
+		// Check if we need to preload images from it.
+		if ( !preloaded[ skinName ] )
+		{
+			var preload = skinDefinition.preload;
+			if ( preload && preload.length > 0 )
+			{
+				appendSkinPath( preload );
+				CKEDITOR.imageCacher.load( preload, function()
+					{
+						preloaded[ skinName ] = 1;
+						loadPart( editor, skinName, part, callback );
+					} );
+				return;
+			}
+
+			// Mark it as preloaded.
+			preloaded[ skinName ] = 1;
+		}
+
+		// Get the part definition.
+		part = skinDefinition[ part ];
+		var partIsLoaded = !part || !!part._isLoaded;
+
+		// Call the callback immediately if already loaded.
+		if ( partIsLoaded )
+			callback && callback();
+		else
+		{
+			// Put the callback in a queue.
+			var pending = part._pending || ( part._pending = [] );
+			pending.push( callback );
+
+			// We may have more than one skin part load request. Just the first
+			// one must do the loading job.
+			if ( pending.length > 1 )
+				return;
+
+			// Check whether the "css" and "js" properties have been defined
+			// for that part.
+			var cssIsLoaded = !part.css || !part.css.length;
+			var jsIsLoaded = !part.js || !part.js.length;
+
+			// This is the function that will trigger the callback calls on
+			// load.
+			var checkIsLoaded = function()
+			{
+				if ( cssIsLoaded && jsIsLoaded )
+				{
+					// Mark the part as loaded.
+					part._isLoaded = 1;
+
+					// Call all pending callbacks.
+					for ( var i = 0 ; i < pending.length ; i++ )
+					{
+						if ( pending[ i ] )
+							pending[ i ]();
+					}
+				}
+			};
+
+			// Load the "css" pieces.
+			if ( !cssIsLoaded )
+			{
+				var cssPart = part.css;
+
+				if ( CKEDITOR.tools.isArray( cssPart ) )
+				{
+					appendSkinPath( cssPart );
+					for ( var c = 0 ; c < cssPart.length ; c++ )
+						CKEDITOR.document.appendStyleSheet( cssPart[ c ] );
+				}
+				else
+				{
+					cssPart = fixCSSTextRelativePath(
+								cssPart, CKEDITOR.getUrl( paths[ skinName ] ) );
+					// Processing Inline CSS part.
+					CKEDITOR.document.appendStyleText( cssPart );
+				}
+
+				part.css = cssPart;
+
+				cssIsLoaded = 1;
+			}
+
+			// Load the "js" pieces.
+			if ( !jsIsLoaded )
+			{
+				appendSkinPath( part.js );
+				CKEDITOR.scriptLoader.load( part.js, function()
+					{
+						jsIsLoaded = 1;
+						checkIsLoaded();
+					});
+			}
+
+			// We may have nothing to load, so check it immediately.
+			checkIsLoaded();
+		}
+	};
+
+	return /** @lends CKEDITOR.skins */ {
+
+		/**
+		 * Registers a skin definition.
+		 * @param {String} skinName The skin name.
+		 * @param {Object} skinDefinition The skin definition.
+		 * @example
+		 */
+		add : function( skinName, skinDefinition )
+		{
+			loaded[ skinName ] = skinDefinition;
+
+			skinDefinition.skinPath = paths[ skinName ]
+				|| ( paths[ skinName ] =
+						CKEDITOR.getUrl(
+							'_source/' +	// @Packager.RemoveLine
+							'skins/' + skinName + '/' ) );
+		},
+
+		/**
+		 * Loads a skin part. Skins are defined in parts, which are basically
+		 * separated CSS files. This function is mainly used by the core code and
+		 * should not have much use out of it.
+		 * @param {String} skinName The name of the skin to be loaded.
+		 * @param {String} skinPart The skin part to be loaded. Common skin parts
+		 *		are "editor" and "dialog".
+		 * @param {Function} [callback] A function to be called once the skin
+		 *		part files are loaded.
+		 * @example
+		 */
+		load : function( editor, skinPart, callback )
+		{
+			var skinName = editor.skinName,
+				skinPath = editor.skinPath;
+
+			if ( loaded[ skinName ] )
+				loadPart( editor, skinName, skinPart, callback );
+			else
+			{
+				paths[ skinName ] = skinPath;
+				CKEDITOR.scriptLoader.load( skinPath + 'skin.js', function()
+						{
+							 loadPart( editor, skinName, skinPart, callback );
+						});
+			}
+		}
+	};
+})();
Index: CKEditor/branches/features/aria/_source/core/themes.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/themes.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/themes.js	(revision 4888)
@@ -0,0 +1,19 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.themes} object, which is used to
+ *		manage themes registration and loading.
+ */
+
+/**
+ * Manages themes registration and loading.
+ * @namespace
+ * @augments CKEDITOR.resourceManager
+ * @example
+ */
+CKEDITOR.themes = new CKEDITOR.resourceManager(
+	'_source/'+		// @Packager.RemoveLine
+	'themes/', 'theme' );
Index: CKEditor/branches/features/aria/_source/core/tools.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/tools.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/tools.js	(revision 4888)
@@ -0,0 +1,675 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.tools} object, which contains
+ *		utility functions.
+ */
+
+(function()
+{
+	var functions = [];
+
+	/**
+	 * Utility functions.
+	 * @namespace
+	 * @example
+	 */
+	CKEDITOR.tools =
+	{
+		/**
+		 * Compare the elements of two arrays.
+		 * @param {Array} arrayA An array to be compared.
+		 * @param {Array} arrayB The other array to be compared.
+		 * @returns {Boolean} "true" is the arrays have the same lenght and
+		 *		their elements match.
+		 * @example
+		 * var a = [ 1, 'a', 3 ];
+		 * var b = [ 1, 3, 'a' ];
+		 * var c = [ 1, 'a', 3 ];
+		 * var d = [ 1, 'a', 3, 4 ];
+		 *
+		 * alert( CKEDITOR.tools.arrayCompare( a, b ) );  // false
+		 * alert( CKEDITOR.tools.arrayCompare( a, c ) );  // true
+		 * alert( CKEDITOR.tools.arrayCompare( a, d ) );  // false
+		 */
+		arrayCompare : function( arrayA, arrayB )
+		{
+			if ( !arrayA && !arrayB )
+				return true;
+
+			if ( !arrayA || !arrayB || arrayA.length != arrayB.length )
+				return false;
+
+			for ( var i = 0 ; i < arrayA.length ; i++ )
+			{
+				if ( arrayA[ i ] != arrayB[ i ] )
+					return false;
+			}
+
+			return true;
+		},
+
+		/**
+		 * Creates a deep copy of an object.
+		 * Attention: there is no support for recursive references.
+		 * @param {Object} object The object to be cloned.
+		 * @returns {Object} The object clone.
+		 * @example
+		 * var obj =
+		 *     {
+		 *         name : 'John',
+		 *         cars :
+		 *             {
+		 *                 Mercedes : { color : 'blue' },
+		 *                 Porsche : { color : 'red' }
+		 *             }
+		 *     };
+		 * var clone = CKEDITOR.tools.clone( obj );
+		 * clone.name = 'Paul';
+		 * clone.cars.Porsche.color = 'silver';
+		 * alert( obj.name );	// John
+		 * alert( clone.name );	// Paul
+		 * alert( obj.cars.Porsche.color );	// red
+		 * alert( clone.cars.Porsche.color );	// silver
+		 */
+		clone : function( obj )
+		{
+			var clone;
+
+			// Array.
+			if ( obj && ( obj instanceof Array ) )
+			{
+				clone = [];
+
+				for ( var i = 0 ; i < obj.length ; i++ )
+					clone[ i ] = this.clone( obj[ i ] );
+
+				return clone;
+			}
+
+			// "Static" types.
+			if ( obj === null
+				|| ( typeof( obj ) != 'object' )
+				|| ( obj instanceof String )
+				|| ( obj instanceof Number )
+				|| ( obj instanceof Boolean )
+				|| ( obj instanceof Date )
+				|| ( obj instanceof RegExp) )
+			{
+				return obj;
+			}
+
+			// Objects.
+			clone = new obj.constructor();
+
+			for ( var propertyName in obj )
+			{
+				var property = obj[ propertyName ];
+				clone[ propertyName ] = this.clone( property );
+			}
+
+			return clone;
+		},
+
+		/**
+		 * Turn the first letter of string to upper-case.
+		 * @param {String} str
+		 */
+		capitalize: function( str )
+		{
+			return str.charAt( 0 ).toUpperCase() + str.substring( 1 ).toLowerCase();
+		},
+
+		/**
+		 * Copy the properties from one object to another. By default, properties
+		 * already present in the target object <strong>are not</strong> overwritten.
+		 * @param {Object} target The object to be extended.
+		 * @param {Object} source[,souce(n)] The objects from which copy
+		 *		properties. Any number of objects can be passed to this function.
+		 * @param {Boolean} [overwrite] If 'true' is specified it indicates that
+		 *            properties already present in the target object could be
+		 *            overwritten by subsequent objects.
+		 * @param {Object} [properties] Only properties within the specified names
+		 *            list will be received from the source object.
+		 * @returns {Object} the extended object (target).
+		 * @example
+		 * // Create the sample object.
+		 * var myObject =
+		 * {
+		 *     prop1 : true
+		 * };
+		 *
+		 * // Extend the above object with two properties.
+		 * CKEDITOR.tools.extend( myObject,
+		 *     {
+		 *         prop2 : true,
+		 *         prop3 : true
+		 *     } );
+		 *
+		 * // Alert "prop1", "prop2" and "prop3".
+		 * for ( var p in myObject )
+		 *     alert( p );
+		 */
+		extend : function( target )
+		{
+			var argsLength = arguments.length,
+				overwrite, propertiesList;
+
+			if ( typeof ( overwrite = arguments[ argsLength - 1 ] ) == 'boolean')
+				argsLength--;
+			else if ( typeof ( overwrite = arguments[ argsLength - 2 ] ) == 'boolean' )
+			{
+				propertiesList = arguments [ argsLength -1 ];
+				argsLength-=2;
+			}
+			for ( var i = 1 ; i < argsLength ; i++ )
+			{
+				var source = arguments[ i ];
+				for ( var propertyName in source )
+				{
+					// Only copy existed fields if in overwrite mode.
+					if ( overwrite === true || target[ propertyName ] == undefined )
+					{
+						// Only copy  specified fields if list is provided.
+						if ( !propertiesList || ( propertyName in propertiesList ) )
+							target[ propertyName ] = source[ propertyName ];
+
+					}
+				}
+			}
+
+			return target;
+		},
+
+		/**
+		 * Creates an object which is an instance of a class which prototype is a
+		 * predefined object. All properties defined in the source object are
+		 * automatically inherited by the resulting object, including future
+		 * changes to it.
+		 * @param {Object} source The source object to be used as the prototype for
+		 *		the final object.
+		 * @returns {Object} The resulting copy.
+		 */
+		prototypedCopy : function( source )
+		{
+			var copy = function()
+			{};
+			copy.prototype = source;
+			return new copy();
+		},
+
+		/**
+		 * Checks if an object is an Array.
+		 * @param {Object} object The object to be checked.
+		 * @type Boolean
+		 * @returns <i>true</i> if the object is an Array, otherwise <i>false</i>.
+		 * @example
+		 * alert( CKEDITOR.tools.isArray( [] ) );      // "true"
+		 * alert( CKEDITOR.tools.isArray( 'Test' ) );  // "false"
+		 */
+		isArray : function( object )
+		{
+			return ( !!object && object instanceof Array );
+		},
+
+		isEmpty : function ( object )
+		{
+			for ( var i in object )
+			{
+				if ( object.hasOwnProperty( i ) )
+					return false;
+			}
+			return true;
+		},
+		/**
+		 * Transforms a CSS property name to its relative DOM style name.
+		 * @param {String} cssName The CSS property name.
+		 * @returns {String} The transformed name.
+		 * @example
+		 * alert( CKEDITOR.tools.cssStyleToDomStyle( 'background-color' ) );  // "backgroundColor"
+		 * alert( CKEDITOR.tools.cssStyleToDomStyle( 'float' ) );             // "cssFloat"
+		 */
+		cssStyleToDomStyle : ( function()
+		{
+			var test = document.createElement( 'div' ).style;
+
+			var cssFloat = ( typeof test.cssFloat != 'undefined' ) ? 'cssFloat'
+				: ( typeof test.styleFloat != 'undefined' ) ? 'styleFloat'
+				: 'float';
+
+			return function( cssName )
+			{
+				if ( cssName == 'float' )
+					return cssFloat;
+				else
+				{
+					return cssName.replace( /-./g, function( match )
+						{
+							return match.substr( 1 ).toUpperCase();
+						});
+				}
+			};
+		} )(),
+
+		/**
+		 * Build the HTML snippet of a set of <style>/<link>.
+		 * @param css {String|Array} Each of which are url (absolute) of a CSS file or
+		 * a trunk of style text.
+		 */
+		buildStyleHtml : function ( css )
+		{
+			css = [].concat( css );
+			var item, retval = [];
+			for ( var i = 0; i < css.length; i++ )
+			{
+				item = css[ i ];
+				// Is CSS style text ?
+				if ( /@import|[{}]/.test(item) )
+					retval.push('<style>' + item + '</style>');
+				else
+					retval.push('<link type="text/css" rel=stylesheet href="' + item + '">');
+			}
+			return retval.join( '' );
+		},
+
+		/**
+		 * Replace special HTML characters in a string with their relative HTML
+		 * entity values.
+		 * @param {String} text The string to be encoded.
+		 * @returns {String} The encode string.
+		 * @example
+		 * alert( CKEDITOR.tools.htmlEncode( 'A > B & C < D' ) );  // "A &amp;gt; B &amp;amp; C &amp;lt; D"
+		 */
+		htmlEncode : function( text )
+		{
+			var standard = function( text )
+			{
+				var span = new CKEDITOR.dom.element( 'span' );
+				span.setText( text );
+				return span.getHtml();
+			};
+
+			var fix1 = ( standard( '\n' ).toLowerCase() == '<br>' ) ?
+				function( text )
+				{
+					// #3874 IE and Safari encode line-break into <br>
+					return standard( text ).replace( /<br>/gi, '\n' );
+				} :
+				standard;
+
+			var fix2 = ( standard( '>' ) == '>' ) ?
+				function( text )
+				{
+					// WebKit does't encode the ">" character, which makes sense, but
+					// it's different than other browsers.
+					return fix1( text ).replace( />/g, '&gt;' );
+				} :
+				fix1;
+
+			var fix3 = ( standard( '  ' ) == '&nbsp; ' ) ?
+				function( text )
+				{
+					// #3785 IE8 changes spaces (>= 2) to &nbsp;
+					return fix2( text ).replace( /&nbsp;/g, ' ' );
+				} :
+				fix2;
+
+			this.htmlEncode = fix3;
+
+			return this.htmlEncode( text );
+		},
+
+		/**
+		 * Replace characters can't be represented through CSS Selectors string
+		 * by CSS Escape Notation where the character escape sequence consists
+		 * of a backslash character (\) followed by the orginal characters.
+		 * Ref: http://www.w3.org/TR/css3-selectors/#grammar
+		 * @param cssSelectText
+		 * @return the escaped selector text.
+		 */
+		escapeCssSelector : function( cssSelectText )
+		{
+			return cssSelectText.replace( /[\s#:.,$*^\[\]()~=+>]/g, '\\$&' );
+		},
+
+		/**
+		 * Gets a unique number for this CKEDITOR execution session. It returns
+		 * progressive numbers starting at 1.
+		 * @function
+		 * @returns {Number} A unique number.
+		 * @example
+		 * alert( CKEDITOR.tools.<b>getNextNumber()</b> );  // "1" (e.g.)
+		 * alert( CKEDITOR.tools.<b>getNextNumber()</b> );  // "2"
+		 */
+		getNextNumber : (function()
+		{
+			var last = 0;
+			return function()
+			{
+				return ++last;
+			};
+		})(),
+
+		/**
+		 * Creates a function override.
+		 * @param {Function} originalFunction The function to be overridden.
+		 * @param {Function} functionBuilder A function that returns the new
+		 *		function. The original function reference will be passed to this
+		 *		function.
+		 * @returns {Function} The new function.
+		 * @example
+		 * var example =
+		 * {
+		 *     myFunction : function( name )
+		 *     {
+		 *         alert( 'Name: ' + name );
+		 *     }
+		 * };
+		 *
+		 * example.myFunction = CKEDITOR.tools.override( example.myFunction, function( myFunctionOriginal )
+		 *     {
+		 *         return function( name )
+		 *             {
+		 *                 alert( 'Override Name: ' + name );
+		 *                 myFunctionOriginal.call( this, name );
+		 *             };
+		 *     });
+		 */
+		override : function( originalFunction, functionBuilder )
+		{
+			return functionBuilder( originalFunction );
+		},
+
+		/**
+		 * Executes a function after specified delay.
+		 * @param {Function} func The function to be executed.
+		 * @param {Number} [milliseconds] The amount of time (millisecods) to wait
+		 *		to fire the function execution. Defaults to zero.
+		 * @param {Object} [scope] The object to hold the function execution scope
+		 *		(the "this" object). By default the "window" object.
+		 * @param {Object|Array} [args] A single object, or an array of objects, to
+		 *		pass as arguments to the function.
+		 * @param {Object} [ownerWindow] The window that will be used to set the
+		 *		timeout. By default the current "window".
+		 * @returns {Object} A value that can be used to cancel the function execution.
+		 * @example
+		 * CKEDITOR.tools.<b>setTimeout(
+		 *     function()
+		 *     {
+		 *         alert( 'Executed after 2 seconds' );
+		 *     },
+		 *     2000 )</b>;
+		 */
+		setTimeout : function( func, milliseconds, scope, args, ownerWindow )
+		{
+			if ( !ownerWindow )
+				ownerWindow = window;
+
+			if ( !scope )
+				scope = ownerWindow;
+
+			return ownerWindow.setTimeout(
+				function()
+				{
+					if ( args )
+						func.apply( scope, [].concat( args ) ) ;
+					else
+						func.apply( scope ) ;
+				},
+				milliseconds || 0 );
+		},
+
+		/**
+		 * Remove spaces from the start and the end of a string. The following
+		 * characters are removed: space, tab, line break, line feed.
+		 * @function
+		 * @param {String} str The text from which remove the spaces.
+		 * @returns {String} The modified string without the boundary spaces.
+		 * @example
+		 * alert( CKEDITOR.tools.trim( '  example ' );  // "example"
+		 */
+		trim : (function()
+		{
+			// We are not using \s because we don't want "non-breaking spaces" to be caught.
+			var trimRegex = /(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;
+			return function( str )
+			{
+				return str.replace( trimRegex, '' ) ;
+			};
+		})(),
+
+		/**
+		 * Remove spaces from the start (left) of a string. The following
+		 * characters are removed: space, tab, line break, line feed.
+		 * @function
+		 * @param {String} str The text from which remove the spaces.
+		 * @returns {String} The modified string excluding the removed spaces.
+		 * @example
+		 * alert( CKEDITOR.tools.ltrim( '  example ' );  // "example "
+		 */
+		ltrim : (function()
+		{
+			// We are not using \s because we don't want "non-breaking spaces" to be caught.
+			var trimRegex = /^[ \t\n\r]+/g;
+			return function( str )
+			{
+				return str.replace( trimRegex, '' ) ;
+			};
+		})(),
+
+		/**
+		 * Remove spaces from the end (right) of a string. The following
+		 * characters are removed: space, tab, line break, line feed.
+		 * @function
+		 * @param {String} str The text from which remove the spaces.
+		 * @returns {String} The modified string excluding the removed spaces.
+		 * @example
+		 * alert( CKEDITOR.tools.ltrim( '  example ' );  // "  example"
+		 */
+		rtrim : (function()
+		{
+			// We are not using \s because we don't want "non-breaking spaces" to be caught.
+			var trimRegex = /[ \t\n\r]+$/g;
+			return function( str )
+			{
+				return str.replace( trimRegex, '' ) ;
+			};
+		})(),
+
+		/**
+		 * Returns the index of an element in an array.
+		 * @param {Array} array The array to be searched.
+		 * @param {Object} entry The element to be found.
+		 * @returns {Number} The (zero based) index of the first entry that matches
+		 *		the entry, or -1 if not found.
+		 * @example
+		 * var letters = [ 'a', 'b', 0, 'c', false ];
+		 * alert( CKEDITOR.tools.indexOf( letters, '0' ) );  "-1" because 0 !== '0'
+		 * alert( CKEDITOR.tools.indexOf( letters, false ) );  "4" because 0 !== false
+		 */
+		indexOf :
+			// #2514: We should try to use Array.indexOf if it does exist.
+			( Array.prototype.indexOf ) ?
+				function( array, entry )
+					{
+						return array.indexOf( entry );
+					}
+			:
+				function( array, entry )
+				{
+					for ( var i = 0, len = array.length ; i < len ; i++ )
+					{
+						if ( array[ i ] === entry )
+							return i;
+					}
+					return -1;
+				},
+
+		/**
+		 * Creates a function that will always execute in the context of a
+		 * specified object.
+		 * @param {Function} func The function to be executed.
+		 * @param {Object} obj The object to which bind the execution context.
+		 * @returns {Function} The function that can be used to execute the
+		 *		"func" function in the context of "obj".
+		 * @example
+		 * var obj = { text : 'My Object' };
+		 *
+		 * function alertText()
+		 * {
+		 *     alert( this.text );
+		 * }
+		 *
+		 * var newFunc = <b>CKEDITOR.tools.bind( alertText, obj )</b>;
+		 * newFunc();  // Alerts "My Object".
+		 */
+		bind : function( func, obj )
+		{
+			return function() { return func.apply( obj, arguments ); };
+		},
+
+		/**
+		 * Class creation based on prototype inheritance, with supports of the
+		 * following features:
+		 * <ul>
+		 * <li> Static fields </li>
+		 * <li> Private fields </li>
+		 * <li> Public (prototype) fields </li>
+		 * <li> Chainable base class constructor </li>
+		 * </ul>
+		 * @param {Object} definiton The class definiton object.
+		 * @returns {Function} A class-like JavaScript function.
+		 */
+		createClass : function( definition )
+		{
+			var $ = definition.$,
+				baseClass = definition.base,
+				privates = definition.privates || definition._,
+				proto = definition.proto,
+				statics = definition.statics;
+
+			if ( privates )
+			{
+				var originalConstructor = $;
+				$ = function()
+				{
+					// Create (and get) the private namespace.
+					var _ = this._ || ( this._ = {} );
+
+					// Make some magic so "this" will refer to the main
+					// instance when coding private functions.
+					for ( var privateName in privates )
+					{
+						var priv = privates[ privateName ];
+
+						_[ privateName ] =
+							( typeof priv == 'function' ) ? CKEDITOR.tools.bind( priv, this ) : priv;
+					}
+
+					originalConstructor.apply( this, arguments );
+				};
+			}
+
+			if ( baseClass )
+			{
+				$.prototype = this.prototypedCopy( baseClass.prototype );
+				$.prototype.constructor = $;
+				$.prototype.base = function()
+				{
+					this.base = baseClass.prototype.base;
+					baseClass.apply( this, arguments );
+					this.base = arguments.callee;
+				};
+			}
+
+			if ( proto )
+				this.extend( $.prototype, proto, true );
+
+			if ( statics )
+				this.extend( $, statics, true );
+
+			return $;
+		},
+
+		/**
+		 * Creates a function reference that can be called later using
+		 * CKEDITOR.tools.callFunction. This approach is specially useful to
+		 * make DOM attribute function calls to JavaScript defined functions.
+		 * @param {Function} fn The function to be executed on call.
+		 * @param {Object} [scope] The object to have the context on "fn" execution.
+		 * @returns {Number} A unique reference to be used in conjuction with
+		 *		CKEDITOR.tools.callFunction.
+		 * @example
+		 * var ref = <b>CKEDITOR.tools.addFunction</b>(
+		 *     function()
+		 *     {
+		 *         alert( 'Hello!');
+		 *     });
+		 * CKEDITOR.tools.callFunction( ref );  // Hello!
+		 */
+		addFunction : function( fn, scope )
+		{
+			return functions.push( function()
+				{
+					fn.apply( scope || this, arguments );
+				}) - 1;
+		},
+
+		/**
+		 * Executes a function based on the reference created with
+		 * CKEDITOR.tools.addFunction.
+		 * @param {Number} ref The function reference created with
+		 *		CKEDITOR.tools.addFunction.
+		 * @param {[Any,[Any,...]} params Any number of parameters to be passed
+		 *		to the executed function.
+		 * @returns {Any} The return value of the function.
+		 * @example
+		 * var ref = CKEDITOR.tools.addFunction(
+		 *     function()
+		 *     {
+		 *         alert( 'Hello!');
+		 *     });
+		 * <b>CKEDITOR.tools.callFunction( ref )</b>;  // Hello!
+		 */
+		callFunction : function( ref )
+		{
+			var fn = functions[ ref ];
+			return fn && fn.apply( window, Array.prototype.slice.call( arguments, 1 ) );
+		},
+
+		cssLength : (function()
+		{
+			var decimalRegex = /^\d+(?:\.\d+)?$/;
+			return function( length )
+			{
+				return length + ( decimalRegex.test( length ) ? 'px' : '' );
+			};
+		})(),
+
+		repeat : function( str, times )
+		{
+			return new Array( times + 1 ).join( str );
+		},
+
+		tryThese : function()
+		{
+			var returnValue;
+			for ( var i = 0, length = arguments.length; i < length; i++ )
+			{
+				var lambda = arguments[i];
+				try
+				{
+					returnValue = lambda();
+					break;
+				}
+				catch (e) {}
+			}
+			return returnValue;
+		}
+	};
+})();
+
+// PACKAGER_RENAME( CKEDITOR.tools )
Index: CKEditor/branches/features/aria/_source/core/ui.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/ui.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/ui.js	(revision 4888)
@@ -0,0 +1,116 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Contains UI features related to an editor instance.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.ui = function( editor )
+{
+	if ( editor.ui )
+		return editor.ui;
+
+	/**
+	 * Object used to hold private stuff.
+	 * @private
+	 */
+	this._ =
+	{
+		handlers : {},
+		items : {},
+		editor : editor
+	};
+
+	return this;
+};
+
+// PACKAGER_RENAME( CKEDITOR.ui )
+
+CKEDITOR.ui.prototype =
+{
+	/**
+	 * Adds a UI item to the items collection. These items can be later used in
+	 * the interface.
+	 * @param {String} name The UI item name.
+	 * @param {Object} type The item type.
+	 * @param {Object} definition The item definition. The properties of this
+	 *		object depend on the item type.
+	 * @example
+	 * // Add a new button named "MyBold".
+	 * editorInstance.ui.add( 'MyBold', CKEDITOR.UI_BUTTON,
+	 *     {
+	 *         label : 'My Bold',
+	 *         command : 'bold'
+	 *     });
+	 */
+	add : function( name, type, definition )
+	{
+		this._.items[ name ] =
+		{
+			type : type,
+			// The name of {@link CKEDITOR.command} which associate with this UI.
+			command : definition.command || null,
+			args : Array.prototype.slice.call( arguments, 2 )
+		};
+	},
+
+	/**
+	 * Gets a UI object.
+	 * @param {String} name The UI item hame.
+	 * @example
+	 */
+	create : function( name )
+	{
+		var item	= this._.items[ name ],
+			handler	= item && this._.handlers[ item.type ],
+			command = item && item.command && this._.editor.getCommand( item.command );
+
+		var result = handler && handler.create.apply( this, item.args );
+
+		// Add reference inside command object.
+		if ( command )
+			command.uiItems.push( result );
+
+		return result;
+	},
+
+	/**
+	 * Adds a handler for a UI item type. The handler is responsible for
+	 * transforming UI item definitions in UI objects.
+	 * @param {Object} type The item type.
+	 * @param {Object} handler The handler definition.
+	 * @example
+	 */
+	addHandler : function( type, handler )
+	{
+		this._.handlers[ type ] = handler;
+	}
+};
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ *		of the API. It just illustrates the features of hanlder objects to be
+ *		passed to the {@link CKEDITOR.ui.prototype.addHandler} function.
+ * @name CKEDITOR.ui.handlerDefinition
+ * @constructor
+ * @example
+ */
+
+ /**
+ * Transforms an item definition into an UI item object.
+ * @name CKEDITOR.handlerDefinition.prototype.create
+ * @function
+ * @param {Object} definition The item definition.
+ * @example
+ * editorInstance.ui.addHandler( CKEDITOR.UI_BUTTON,
+ *     {
+ *         create : function( definition )
+ *         {
+ *             return new CKEDITOR.ui.button( definition );
+ *         }
+ *     });
+ */
Index: CKEditor/branches/features/aria/_source/core/xml.js
===================================================================
--- CKEditor/branches/features/aria/_source/core/xml.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/core/xml.js	(revision 4888)
@@ -0,0 +1,165 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a
+ *		loaded XML document.
+ */
+
+/**
+ * Represents a loaded XML document.
+ * @constructor
+ * @param {object|string} xmlObjectOrData A native XML (DOM document) object or
+ *		a string containing the XML definition to be loaded.
+ * @example
+ * var xml = <b>new CKEDITOR.xml( '<books><book title="My Book" /></books>' )</b>;
+ */
+CKEDITOR.xml = function( xmlObjectOrData )
+{
+	var baseXml = null;
+
+	if ( typeof xmlObjectOrData == 'object' )
+		baseXml = xmlObjectOrData;
+	else
+	{
+		var data = ( xmlObjectOrData || '' ).replace( /&nbsp;/g, '\xA0' );
+		if ( window.DOMParser )
+			baseXml = (new DOMParser()).parseFromString( data, 'text/xml' );
+		else if ( window.ActiveXObject )
+		{
+			try { baseXml = new ActiveXObject( 'MSXML2.DOMDocument' ); }
+			catch(e)
+			{
+				try { baseXml = new ActiveXObject( 'Microsoft.XmlDom' ); } catch(e) {}
+			}
+
+			if ( baseXml )
+			{
+				baseXml.async = false;
+				baseXml.resolveExternals = false;
+				baseXml.validateOnParse = false;
+				baseXml.loadXML( data );
+			}
+		}
+	}
+
+	/**
+	 * The native XML (DOM document) used by the class instance.
+	 * @type object
+	 * @example
+	 */
+	this.baseXml = baseXml;
+};
+
+CKEDITOR.xml.prototype =
+{
+	/**
+	 * Get a single node from the XML document, based on a XPath query.
+	 * @param {String} xpath The XPath query to execute.
+	 * @param {Object} [contextNode] The XML DOM node to be used as the context
+	 *		for the XPath query. The document root is used by default.
+	 * @returns {Object} A XML node element or null if the query has no results.
+	 * @example
+	 * // Create the XML instance.
+	 * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+	 * // Get the first <item> node.
+	 * var itemNode = <b>xml.selectSingleNode( 'list/item' )</b>;
+	 * // Alert "item".
+	 * alert( itemNode.nodeName );
+	 */
+	selectSingleNode : function( xpath, contextNode )
+	{
+		var baseXml = this.baseXml;
+
+		if ( contextNode || ( contextNode = baseXml ) )
+		{
+			if ( CKEDITOR.env.ie || contextNode.selectSingleNode )	// IE
+				return contextNode.selectSingleNode( xpath );
+			else if ( baseXml.evaluate )							// Others
+			{
+				var result = baseXml.evaluate( xpath, contextNode, null, 9, null);
+				return ( result && result.singleNodeValue ) || null;
+			}
+		}
+
+		return null;
+	},
+
+	/**
+	 * Gets a list node from the XML document, based on a XPath query.
+	 * @param {String} xpath The XPath query to execute.
+	 * @param {Object} [contextNode] The XML DOM node to be used as the context
+	 *		for the XPath query. The document root is used by default.
+	 * @returns {ArrayLike} An array containing all matched nodes. The array will
+	 *		be empty if the query has no results.
+	 * @example
+	 * // Create the XML instance.
+	 * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+	 * // Get the first <item> node.
+	 * var itemNodes = xml.selectSingleNode( 'list/item' );
+	 * // Alert "item" twice, one for each <item>.
+	 * for ( var i = 0 ; i < itemNodes.length ; i++ )
+	 *     alert( itemNodes[i].nodeName );
+	 */
+	selectNodes : function( xpath, contextNode )
+	{
+		var baseXml = this.baseXml,
+			nodes = [];
+
+		if ( contextNode || ( contextNode = baseXml ) )
+		{
+			if ( CKEDITOR.env.ie || contextNode.selectNodes )		// IE
+				return contextNode.selectNodes( xpath );
+			else if ( baseXml.evaluate )							// Others
+			{
+				var result = baseXml.evaluate( xpath, contextNode, null, 5, null);
+
+				if ( result )
+				{
+					var node;
+					while( ( node = result.iterateNext() ) )
+						nodes.push( node );
+				}
+			}
+		}
+
+		return nodes;
+	},
+
+	/**
+	 * Gets the string representation of hte inner contents of a XML node,
+	 * based on a XPath query.
+	 * @param {String} xpath The XPath query to execute.
+	 * @param {Object} [contextNode] The XML DOM node to be used as the context
+	 *		for the XPath query. The document root is used by default.
+	 * @returns {String} The textual representation of the inner contents of
+	 *		the node or null if the query has no results.
+	 * @example
+	 * // Create the XML instance.
+	 * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+	 * // Alert "<item id="test1" /><item id="test2" />".
+	 * alert( xml.getInnerXml( 'list' ) );
+	 */
+	getInnerXml : function( xpath, contextNode )
+	{
+		var node = this.selectSingleNode( xpath, contextNode ),
+			xml = [];
+		if ( node )
+		{
+			node = node.firstChild;
+			while ( node )
+			{
+				if ( node.xml )				// IE
+					xml.push( node.xml );
+				else if ( window.XMLSerializer )	// Others
+					xml.push( ( new XMLSerializer() ).serializeToString( node ) );
+
+				node = node.nextSibling;
+			}
+		}
+
+		return xml.length ? xml.join( '' ) : null;
+	}
+};
Index: CKEditor/branches/features/aria/_source/lang/_languages.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/_languages.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/_languages.js	(revision 4888)
@@ -0,0 +1,82 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+var CKEDITOR_LANGS = (function()
+{
+	var langs =
+	{
+		af		: 'Afrikaans',
+		ar		: 'Arabic',
+		bg		: 'Bulgarian',
+		bn		: 'Bengali/Bangla',
+		bs		: 'Bosnian',
+		ca		: 'Catalan',
+		cs		: 'Czech',
+		da		: 'Danish',
+		de		: 'German',
+		el		: 'Greek',
+		en		: 'English',
+		'en-au'	: 'English (Australia)',
+		'en-ca'	: 'English (Canadian)',
+		'en-uk'	: 'English (United Kingdom)',
+		eo		: 'Esperanto',
+		es		: 'Spanish',
+		et		: 'Estonian',
+		eu		: 'Basque',
+		fa		: 'Persian',
+		fi		: 'Finnish',
+		fo		: 'Faroese',
+		fr		: 'French',
+		'fr-ca'	: 'French (Canada)',
+		gl		: 'Galician',
+		gu		: 'Gujarati',
+		he		: 'Hebrew',
+		hi		: 'Hindi',
+		hr		: 'Croatian',
+		hu		: 'Hungarian',
+		is		: 'Icelandic',
+		it		: 'Italian',
+		ja		: 'Japanese',
+		km		: 'Khmer',
+		ko		: 'Korean',
+		lt		: 'Lithuanian',
+		lv		: 'Latvian',
+		mn		: 'Mongolian',
+		ms		: 'Malay',
+		nb		: 'Norwegian Bokmal',
+		nl		: 'Dutch',
+		no		: 'Norwegian',
+		pl		: 'Polish',
+		pt		: 'Portuguese (Portugal)',
+		'pt-br'	: 'Portuguese (Brazil)',
+		ro		: 'Romanian',
+		ru		: 'Russian',
+		sk		: 'Slovak',
+		sl		: 'Slovenian',
+		sr		: 'Serbian (Cyrillic)',
+		'sr-latn'	: 'Serbian (Latin)',
+		sv		: 'Swedish',
+		th		: 'Thai',
+		tr		: 'Turkish',
+		uk		: 'Ukrainian',
+		vi		: 'Vietnamese',
+		zh		: 'Chinese Traditional',
+		'zh-cn'	: 'Chinese Simplified'
+	};
+
+	var langsArray = [];
+
+	for ( var code in langs )
+	{
+		langsArray.push( { code : code, name : langs[ code ] } );
+	}
+
+	langsArray.sort( function( a, b )
+		{
+			return ( a.name < b.name ) ? -1 : 1;
+		});
+
+	return langsArray;
+})();
Index: CKEditor/branches/features/aria/_source/lang/_translationstatus.txt
===================================================================
--- CKEditor/branches/features/aria/_source/lang/_translationstatus.txt	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/_translationstatus.txt	(revision 4888)
@@ -0,0 +1,59 @@
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+
+af.js      Found: 302 Missing: 187
+ar.js      Found: 473 Missing: 16
+bg.js      Found: 295 Missing: 194
+bn.js      Found: 297 Missing: 192
+bs.js      Found: 203 Missing: 286
+ca.js      Found: 426 Missing: 63
+cs.js      Found: 433 Missing: 56
+da.js      Found: 426 Missing: 63
+de.js      Found: 466 Missing: 23
+el.js      Found: 301 Missing: 188
+en-au.js   Found: 385 Missing: 104
+en-ca.js   Found: 385 Missing: 104
+en-uk.js   Found: 385 Missing: 104
+eo.js      Found: 275 Missing: 214
+es.js      Found: 426 Missing: 63
+et.js      Found: 316 Missing: 173
+eu.js      Found: 426 Missing: 63
+fa.js      Found: 317 Missing: 172
+fi.js      Found: 434 Missing: 55
+fo.js      Found: 316 Missing: 173
+fr-ca.js   Found: 317 Missing: 172
+fr.js      Found: 425 Missing: 64
+gl.js      Found: 298 Missing: 191
+gu.js      Found: 316 Missing: 173
+he.js      Found: 435 Missing: 54
+hi.js      Found: 317 Missing: 172
+hr.js      Found: 426 Missing: 63
+hu.js      Found: 316 Missing: 173
+is.js      Found: 322 Missing: 167
+it.js      Found: 425 Missing: 64
+ja.js      Found: 435 Missing: 54
+km.js      Found: 291 Missing: 198
+ko.js      Found: 308 Missing: 181
+lt.js      Found: 321 Missing: 168
+lv.js      Found: 298 Missing: 191
+mn.js      Found: 316 Missing: 173
+ms.js      Found: 280 Missing: 209
+nb.js      Found: 432 Missing: 57
+nl.js      Found: 433 Missing: 56
+no.js      Found: 432 Missing: 57
+pl.js      Found: 433 Missing: 56
+pt-br.js   Found: 425 Missing: 64
+pt.js      Found: 297 Missing: 192
+ro.js      Found: 316 Missing: 173
+ru.js      Found: 322 Missing: 167
+sk.js      Found: 317 Missing: 172
+sl.js      Found: 315 Missing: 174
+sr-latn.js Found: 291 Missing: 198
+sr.js      Found: 291 Missing: 198
+sv.js      Found: 314 Missing: 175
+th.js      Found: 302 Missing: 187
+tr.js      Found: 322 Missing: 167
+uk.js      Found: 426 Missing: 63
+vi.js      Found: 426 Missing: 63
+zh-cn.js   Found: 426 Missing: 63
+zh.js      Found: 426 Missing: 63
Index: CKEditor/branches/features/aria/_source/lang/af.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/af.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/af.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Afrikaans language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['af'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'Nuwe Bladsy',
+	save			: 'Bewaar',
+	preview			: 'Voorskou',
+	cut				: 'Uitsny ',
+	copy			: 'Kopieer',
+	paste			: 'Byvoeg',
+	print			: 'Druk',
+	underline		: 'Onderstreep',
+	bold			: 'Vet',
+	italic			: 'Skuins',
+	selectAll		: 'Selekteer alles',
+	removeFormat	: 'Formaat verweider',
+	strike			: 'Gestreik',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Horisontale lyn byvoeg',
+	pagebreak		: 'Bladsy breek byvoeg',
+	unlink			: 'Skakel verweider',
+	undo			: 'Ont-skep',
+	redo			: 'Her-skep',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Server deurblaai',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Oplaai',
+		uploadSubmit	: 'Stuur dit na die Server',
+		image			: 'Beeld',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'HakBox',
+		radio		: 'PuntBox',
+		textField		: 'Byvoegbare karakter strook',
+		textarea		: 'Byvoegbare karakter area',
+		hiddenField		: 'Blinde strook',
+		button			: 'Knop',
+		select	: 'Opklapbare keuse strook',
+		imageButton		: 'Beeld knop',
+		notSet			: '<geen instelling>',
+		id				: 'Id',
+		name			: 'Naam',
+		langDir			: 'Taal rigting',
+		langDirLtr		: 'Links na regs (LTR)',
+		langDirRtl		: 'Regs na links (RTL)',
+		langCode		: 'Taal kode',
+		longDescr		: 'Lang beskreiwing URL',
+		cssClass		: 'Skakel Tiepe',
+		advisoryTitle	: 'Voorbeveelings Titel',
+		cssStyle		: 'Styl',
+		ok				: 'OK',
+		cancel			: 'Kanseleer',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Ingewikkeld',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Spesiaale Karakter byvoeg',
+		title		: 'Kies spesiale karakter'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Skakel byvoeg/verander',
+		menu		: 'Verander skakel',
+		title		: 'Skakel',
+		info		: 'Skakel informasie',
+		target		: 'Mikpunt',
+		upload		: 'Oplaai',
+		advanced	: 'Ingewikkeld',
+		type		: 'Skakel soort',
+		toAnchor	: 'Skakel na plekhouers in text',
+		toEmail		: 'E-Mail',
+		target		: 'Mikpunt',
+		targetNotSet	: '<geen instelling>',
+		targetFrame	: '<raam>',
+		targetPopup	: '<popup venster>',
+		targetNew	: 'Nuwe Venster (_blank)',
+		targetTop	: 'Boonste Venster (_top)',
+		targetSelf	: 'Selfde Venster (_self)',
+		targetParent	: 'Vorige Venster (_parent)',
+		targetFrameName	: 'Mikpunt Venster Naam',
+		targetPopupName	: 'Popup Venster Naam',
+		popupFeatures	: 'Popup Venster Geaartheid',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Status Balk',
+		popupLocationBar	: 'Adres Balk',
+		popupToolbar	: 'Gereedskap Balk',
+		popupMenuBar	: 'Menu Balk',
+		popupFullScreen	: 'Voll Skerm (IE)',
+		popupScrollBars	: 'Gleibalkstuk',
+		popupDependent	: 'Afhanklik (Netscape)',
+		popupWidth		: 'Weite',
+		popupLeft		: 'Links Posisie',
+		popupHeight		: 'Hoogde',
+		popupTop		: 'Bo Posisie',
+		id				: 'Id', // MISSING
+		langDir			: 'Taal rigting',
+		langDirNotSet	: '<geen instelling>',
+		langDirLTR		: 'Links na regs (LTR)',
+		langDirRTL		: 'Regs na links (RTL)',
+		acccessKey		: 'Toegang sleutel',
+		name			: 'Naam',
+		langCode		: 'Taal rigting',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Voorbeveelings Titel',
+		advisoryContentType	: 'Voorbeveelings inhoud soort',
+		cssClasses		: 'Skakel Tiepe',
+		charset			: 'Geskakelde voorbeeld karakterstel',
+		styles			: 'Styl',
+		selectAnchor	: 'Kies \'n plekhouer',
+		anchorName		: 'Volgens plekhouer naam',
+		anchorId		: 'Volgens element Id',
+		emailAddress	: 'E-Mail Adres',
+		emailSubject	: 'Boodskap Opskrif',
+		emailBody		: 'Boodskap Inhoud',
+		noAnchors		: '(Geen plekhouers beskikbaar in dokument}',
+		noUrl			: 'Voeg asseblief die URL in',
+		noEmail			: 'Voeg asseblief die e-mail adres in'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Plekhouer byvoeg/verander',
+		menu		: 'Plekhouer eienskappe',
+		title		: 'Plekhouer eienskappe',
+		name		: 'Plekhouer Naam',
+		errorName	: 'Voltooi die plekhouer naam asseblief'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Vind',
+		replace				: 'Vervang',
+		findWhat			: 'Soek wat:',
+		replaceWith			: 'Vervang met:',
+		notFoundMsg			: 'Die gespesifiseerde karakters word nie gevind nie.',
+		matchCase			: 'Vergelyk karakter skryfweise',
+		matchWord			: 'Vergelyk komplete woord',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Vervang alles',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabel',
+		title		: 'Tabel eienskappe',
+		menu		: 'Tabel eienskappe',
+		deleteTable	: 'Tabel verweider',
+		rows		: 'Reie',
+		columns		: 'Kolome',
+		border		: 'Kant groote',
+		align		: 'Parideering',
+		alignNotSet	: '<geen instelling>',
+		alignLeft	: 'Links',
+		alignCenter	: 'Middel',
+		alignRight	: 'Regs',
+		width		: 'Weite',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Hoogde',
+		cellSpace	: 'Cell spasieering',
+		cellPad		: 'Cell buffer',
+		caption		: 'Beskreiwing',
+		summary		: 'Opsomming',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Cell verweider',
+			merge			: 'Cell verenig',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Ry',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Ry verweider'
+		},
+
+		column :
+		{
+			menu			: 'Kolom',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Kolom verweider'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Knop eienskappe',
+		text		: 'Karakters (Waarde)',
+		type		: 'Soort',
+		typeBtn		: 'Knop',
+		typeSbm		: 'Indien',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'HakBox eienskappe',
+		radioTitle	: 'PuntBox eienskappe',
+		value		: 'Waarde',
+		selected	: 'Uitgekies'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form eienskappe',
+		menu		: 'Form eienskappe',
+		action		: 'Aksie',
+		method		: 'Metode',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Mikpunt',
+		targetNotSet	: '<geen instelling>',
+		targetNew	: 'Nuwe Venster (_blank)',
+		targetTop	: 'Boonste Venster (_top)',
+		targetSelf	: 'Selfde Venster (_self)',
+		targetParent	: 'Vorige Venster (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Opklapbare keuse strook eienskappe',
+		selectInfo	: 'Info',
+		opAvail		: 'Beskikbare Opsies',
+		value		: 'Waarde',
+		size		: 'Grote',
+		lines		: 'lyne',
+		chkMulti	: 'Laat meerere keuses toe',
+		opText		: 'Karakters',
+		opValue		: 'Waarde',
+		btnAdd		: 'Byvoeg',
+		btnModify	: 'Verander',
+		btnUp		: 'Op',
+		btnDown		: 'Af',
+		btnSetValue : 'Stel as uitgekiesde waarde',
+		btnDelete	: 'Verweider'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Karakter area eienskappe',
+		cols		: 'Kolom',
+		rows		: 'Reie'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Karakter strook eienskappe',
+		name		: 'Naam',
+		value		: 'Waarde',
+		charWidth	: 'Karakter weite',
+		maxChars	: 'Maximale karakters',
+		type		: 'Soort',
+		typeText	: 'Karakters',
+		typePass	: 'Wagwoord'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Blinde strook eienskappe',
+		name	: 'Naam',
+		value	: 'Waarde'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Beeld eienskappe',
+		titleButton	: 'Beeld knop eienskappe',
+		menu		: 'Beeld eienskappe',
+		infoTab	: 'Beeld informasie',
+		btnUpload	: 'Stuur dit na die Server',
+		url		: 'URL',
+		upload	: 'Uplaai',
+		alt		: 'Alternatiewe beskrywing',
+		width		: 'Weidte',
+		height	: 'Hoogde',
+		lockRatio	: 'Behou preporsie',
+		resetSize	: 'Herstel groote',
+		border	: 'Kant',
+		hSpace	: 'HSpasie',
+		vSpace	: 'VSpasie',
+		align		: 'Paradeer',
+		alignLeft	: 'Links',
+		alignRight	: 'Regs',
+		preview	: 'Voorskou',
+		alertUrl	: 'Voeg asseblief Beeld URL in.',
+		linkTab	: 'Skakel',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash eienskappe',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash eienskappe',
+		chkPlay		: 'Automaties Speel',
+		chkLoop		: 'Herhaling',
+		chkMenu		: 'Laat Flash Menu toe',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Scale',
+		scaleAll		: 'Wys alles',
+		scaleNoBorder	: 'Geen kante',
+		scaleFit		: 'Presiese pas',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Paradeer',
+		alignLeft	: 'Links',
+		alignAbsBottom: 'Abs Onder',
+		alignAbsMiddle: 'Abs Middel',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Onder',
+		alignMiddle	: 'Middel',
+		alignRight	: 'Regs',
+		alignTextTop	: 'Text Bo',
+		alignTop	: 'Bo',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Agtergrond kleur',
+		width	: 'Weidte',
+		height	: 'Hoogde',
+		hSpace	: 'HSpasie',
+		vSpace	: 'VSpasie',
+		validateSrc : 'Voeg asseblief die URL in',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Spelling nagaan',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Nie in woordeboek nie',
+		changeTo		: 'Verander na',
+		btnIgnore		: 'Ignoreer',
+		btnIgnoreAll	: 'Ignoreer na-volgende',
+		btnReplace		: 'Vervang',
+		btnReplaceAll	: 'vervang na-volgende',
+		btnUndo			: 'Ont-skep',
+		noSuggestions	: '- Geen voorstel -',
+		progress		: 'Spelling word beproef...',
+		noMispell		: 'Spellproef kompleet: Geen foute',
+		noChanges		: 'Spellproef kompleet: Geen woord veranderings',
+		oneChange		: 'Spellproef kompleet: Een woord verander',
+		manyChanges		: 'Spellproef kompleet: %1 woorde verander',
+		ieSpellDownload	: 'Geen Spellproefer geinstaleer nie. Wil U dit aflaai?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Voeg Smiley by'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Genommerde lys',
+	bulletedlist : 'Gepunkte lys',
+	indent : 'Paradeering verleng',
+	outdent : 'Paradeering verkort',
+
+	justify :
+	{
+		left : 'Links rig',
+		center : 'Rig Middel',
+		right : 'Regs rig',
+		block : 'Blok paradeer'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Byvoeg',
+		cutError	: 'U browser se sekuriteit instelling behinder die uitsny aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+X).',
+		copyError	: 'U browser se sekuriteit instelling behinder die kopieerings aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+C).',
+		pasteMsg	: 'Voeg asseblief die inhoud in die gegewe box by met sleutel kombenasie(<STRONG>Ctrl+V</STRONG>) en druk <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Van Word af byvoeg',
+		title : 'Van Word af byvoeg',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Voeg slegs karakters by',
+		title : 'Voeg slegs karakters by'
+	},
+
+	templates :
+	{
+		button : 'Templates',
+		title : 'Inhoud Templates',
+		insertOption: 'Vervang bestaande inhoud',
+		selectPromptMsg: 'Kies die template om te gebruik in die editor<br>(Inhoud word vervang!):',
+		emptyListMsg : '(Geen templates gedefinieerd)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Styl',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Karakter formaat',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Karakter formaat',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normaal',
+		tag_pre : 'Geformateerd',
+		tag_address : 'Adres',
+		tag_h1 : 'Opskrif 1',
+		tag_h2 : 'Opskrif 2',
+		tag_h3 : 'Opskrif 3',
+		tag_h4 : 'Opskrif 4',
+		tag_h5 : 'Opskrif 5',
+		tag_h6 : 'Opskrif 6',
+		tag_div : 'Normaal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Karakters',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Karakters',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Karakter grote',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Karakter grote',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Karakter kleur',
+		bgColorTitle : 'Agtergrond kleur',
+		auto : 'Automaties',
+		more : 'Meer Kleure...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ar.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ar.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ar.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Arabic language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ar'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'rtl',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'محرر النص المنسق, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'المصدر',
+	newPage			: 'صفحة جديدة',
+	save			: 'حفظ',
+	preview			: 'معاينة الصفحة',
+	cut				: 'قص',
+	copy			: 'نسخ',
+	paste			: 'لصق',
+	print			: 'طباعة',
+	underline		: 'تسطير',
+	bold			: 'غامق',
+	italic			: 'مائل',
+	selectAll		: 'تحديد الكل',
+	removeFormat	: 'إزالة التنسيقات',
+	strike			: 'يتوسطه خط',
+	subscript		: 'منخفض',
+	superscript		: 'مرتفع',
+	horizontalrule	: 'خط فاصل',
+	pagebreak		: 'إدخال صفحة جديدة',
+	unlink			: 'إزالة رابط',
+	undo			: 'تراجع',
+	redo			: 'إعادة',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'تصفح',
+		url				: 'الرابط',
+		protocol		: 'البروتوكول',
+		upload			: 'رفع',
+		uploadSubmit	: 'أرسل',
+		image			: 'صورة',
+		flash			: 'فلاش',
+		form			: 'نموذج',
+		checkbox		: 'خانة إختيار',
+		radio		: 'زر اختيار',
+		textField		: 'مربع نص',
+		textarea		: 'مساحة نصية',
+		hiddenField		: 'إدراج حقل خفي',
+		button			: 'زر ضغط',
+		select	: 'اختار',
+		imageButton		: 'زر صورة',
+		notSet			: '<بدون تحديد>',
+		id				: 'الرقم',
+		name			: 'الاسم',
+		langDir			: 'إتجاه النص',
+		langDirLtr		: 'اليسار لليمين (LTR)',
+		langDirRtl		: 'اليمين لليسار (RTL)',
+		langCode		: 'رمز اللغة',
+		longDescr		: 'الوصف التفصيلى',
+		cssClass		: 'فئات التنسيق',
+		advisoryTitle	: 'عنوان التقرير',
+		cssStyle		: 'نمط',
+		ok				: 'موافق',
+		cancel			: 'إلغاء الأمر',
+		generalTab		: 'عام',
+		advancedTab		: 'متقدم',
+		validateNumberFailed	: 'لايوجد نتيجة',
+		confirmNewPage	: 'ستفقد أي متغييرات اذا لم تقم بحفظها اولا. هل أنت متأكد أنك تريد صفحة جديدة؟',
+		confirmCancel	: 'بعض الخيارات قد تغيرت. هل أنت متأكد من إغلاق مربع النص؟',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, غير متاح</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'إدراج  خاص.ِ',
+		title		: 'اختر الخواص'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'رابط',
+		menu		: 'تحرير رابط',
+		title		: 'إرتباط تشعبي',
+		info		: 'معلومات الرابط',
+		target		: 'هدف الرابط',
+		upload		: 'رفع',
+		advanced	: 'متقدم',
+		type		: 'نوع الربط',
+		toAnchor	: 'مكان في هذا المستند',
+		toEmail		: 'بريد إلكتروني',
+		target		: 'هدف الرابط',
+		targetNotSet	: '<بدون تحديد>',
+		targetFrame	: '<إطار>',
+		targetPopup	: '<نافذة منبثقة>',
+		targetNew	: 'إطار جديد (_blank)',
+		targetTop	: 'صفحة كاملة (_top)',
+		targetSelf	: 'الاطار الحالى (_self)',
+		targetParent	: 'الإطار الأصلي (_parent)',
+		targetFrameName	: 'اسم الإطار المستهدف',
+		targetPopupName	: 'اسم النافذة المنبثقة',
+		popupFeatures	: 'خصائص النافذة المنبثقة',
+		popupResizable	: 'قابلة التشكيل',
+		popupStatusBar	: 'شريط الحالة',
+		popupLocationBar	: 'شريط العنوان',
+		popupToolbar	: 'شريط الأدوات',
+		popupMenuBar	: 'القوائم الرئيسية',
+		popupFullScreen	: 'ملئ الشاشة (IE)',
+		popupScrollBars	: 'أشرطة التمرير',
+		popupDependent	: 'تابع (Netscape)',
+		popupWidth		: 'العرض',
+		popupLeft		: 'التمركز لليسار',
+		popupHeight		: 'الإرتفاع',
+		popupTop		: 'التمركز للأعلى',
+		id				: 'هوية',
+		langDir			: 'إتجاه النص',
+		langDirNotSet	: '<بدون تحديد>',
+		langDirLTR		: 'اليسار لليمين (LTR)',
+		langDirRTL		: 'اليمين لليسار (RTL)',
+		acccessKey		: 'مفاتيح الإختصار',
+		name			: 'الاسم',
+		langCode		: 'كود النص',
+		tabIndex		: 'الترتيب',
+		advisoryTitle	: 'عنوان التقرير',
+		advisoryContentType	: 'نوع التقرير',
+		cssClasses		: 'فئات التنسيق',
+		charset			: 'ترميز المادة المطلوبة',
+		styles			: 'نمط',
+		selectAnchor	: 'اختر علامة مرجعية',
+		anchorName		: 'حسب الاسم',
+		anchorId		: 'حسب رقم العنصر',
+		emailAddress	: 'عنوان البريد إلكتروني',
+		emailSubject	: 'موضوع الرسالة',
+		emailBody		: 'محتوى الرسالة',
+		noAnchors		: '(لا توجد علامات مرجعية في هذا المستند)',
+		noUrl			: 'من فضلك أدخل عنوان الموقع الذي يشير إليه الرابط',
+		noEmail			: 'من فضلك أدخل عنوان البريد الإلكتروني'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'إشارة مرجعية',
+		menu		: 'تحرير الإشارة المرجعية',
+		title		: 'خصائص الإشارة المرجعية',
+		name		: 'اسم الإشارة المرجعية',
+		errorName	: 'الرجاء كتابة اسم الإشارة المرجعية'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'بحث واستبدال',
+		find				: 'بحث',
+		replace				: 'إستبدال',
+		findWhat			: 'البحث بـ:',
+		replaceWith			: 'إستبدال بـ:',
+		notFoundMsg			: 'لم يتم العثور على النص المحدد.',
+		matchCase			: 'مطابقة حالة الأحرف',
+		matchWord			: 'مطابقة بالكامل',
+		matchCyclic			: 'مطابقة دورية',
+		replaceAll			: 'إستبدال الكل',
+		replaceSuccessMsg	: 'تم استبدال 1% من الحالات '
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'جدول',
+		title		: 'خصائص الجدول',
+		menu		: 'خصائص الجدول',
+		deleteTable	: 'حذف الجدول',
+		rows		: 'صفوف',
+		columns		: 'أعمدة',
+		border		: 'الحدود',
+		align		: 'المحاذاة',
+		alignNotSet	: '<بدون محاذاة>',
+		alignLeft	: 'يسار',
+		alignCenter	: 'وسط',
+		alignRight	: 'يمين',
+		width		: 'العرض',
+		widthPx		: 'بكسل',
+		widthPc		: 'بالمئة',
+		height		: 'الإرتفاع',
+		cellSpace	: 'تباعد الخلايا',
+		cellPad		: 'المسافة البادئة',
+		caption		: 'الوصف',
+		summary		: 'الخلاصة',
+		headers		: 'العناوين',
+		headersNone		: 'بدون',
+		headersColumn	: 'العمود الأول',
+		headersRow		: 'الصف الأول',
+		headersBoth		: 'كلاهما',
+		invalidRows		: 'عدد الصفوف يجب أن يكون عدداً أكبر من صفر.',
+		invalidCols		: 'عدد الأعمدة يجب أن يكون عدداً أكبر من صفر.',
+		invalidBorder	: 'حجم الحد يجب أن يكون عدداً.',
+		invalidWidth	: 'عرض الجدول يجب أن يكون عدداً.',
+		invalidHeight	: 'ارتفاع الجدول يجب أن يكون عدداً.',
+		invalidCellSpacing	: 'المسافة بين الخلايا يجب أن تكون عدداً.',
+		invalidCellPadding	: 'المسافة البادئة يجب أن تكون عدداً',
+
+		cell :
+		{
+			menu			: 'خلية',
+			insertBefore	: 'إدراج خلية قبل',
+			insertAfter		: 'إدراج خلية بعد',
+			deleteCell		: 'حذف خلية',
+			merge			: 'دمج خلايا',
+			mergeRight		: 'دمج لليمين',
+			mergeDown		: 'دمج للأسفل',
+			splitHorizontal	: 'تقسيم الخلية أفقياً',
+			splitVertical	: 'تقسيم الخلية عمودياً',
+			title			: 'خصائص الخلية',
+			cellType		: 'نوع الخلية',
+			rowSpan			: 'امتداد الصفوف',
+			colSpan			: 'امتداد الأعمدة',
+			wordWrap		: 'التفاف النص',
+			hAlign			: 'محاذاة أفقية',
+			vAlign			: 'محاذاة رأسية',
+			alignTop		: 'أعلى',
+			alignMiddle		: 'وسط',
+			alignBottom		: 'أسفل',
+			alignBaseline	: 'خط القاعدة',
+			bgColor			: 'لون الخلفية',
+			borderColor		: 'لون الحدود',
+			data			: 'بيانات',
+			header			: 'عنوان',
+			yes				: 'نعم',
+			no				: 'لا',
+			invalidWidth	: 'عرض الخلية يجب أن يكون عدداً.',
+			invalidHeight	: 'ارتفاع الخلية يجب أن يكون عدداً.',
+			invalidRowSpan	: 'امتداد الصفوف يجب أن يكون عدداً صحيحاً.',
+			invalidColSpan	: 'امتداد الأعمدة يجب أن يكون عدداً صحيحاً.',
+			chooseColor : 'اختر'
+		},
+
+		row :
+		{
+			menu			: 'صف',
+			insertBefore	: 'إدراج صف قبل',
+			insertAfter		: 'إدراج صف بعد',
+			deleteRow		: 'حذف صفوف'
+		},
+
+		column :
+		{
+			menu			: 'عمود',
+			insertBefore	: 'إدراج عمود قبل',
+			insertAfter		: 'إدراج عمود بعد',
+			deleteColumn	: 'حذف أعمدة'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'خصائص زر الضغط',
+		text		: 'القيمة/التسمية',
+		type		: 'نوع الزر',
+		typeBtn		: 'زر',
+		typeSbm		: 'إرسال',
+		typeRst		: 'إعادة تعيين'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'خصائص خانة الإختيار',
+		radioTitle	: 'خصائص زر الخيار',
+		value		: 'القيمة',
+		selected	: 'محدد'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'خصائص النموذج',
+		menu		: 'خصائص النموذج',
+		action		: 'اسم الملف',
+		method		: 'الأسلوب',
+		encoding	: 'تشفير',
+		target		: 'الهدف',
+		targetNotSet	: '<بدون تحديد>',
+		targetNew	: 'نافذة جديدة (_blank)',
+		targetTop	: 'نافذة بالاعلى (_top)',
+		targetSelf	: 'نفس النافذة (_self)',
+		targetParent	: 'النافذة الأصل (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'خصائص اختيار الحقل',
+		selectInfo	: 'اختار معلومات',
+		opAvail		: 'الخيارات المتاحة',
+		value		: 'القيمة',
+		size		: 'الحجم',
+		lines		: 'الأسطر',
+		chkMulti	: 'السماح بتحديدات متعددة',
+		opText		: 'النص',
+		opValue		: 'القيمة',
+		btnAdd		: 'إضافة',
+		btnModify	: 'تعديل',
+		btnUp		: 'أعلى',
+		btnDown		: 'أسفل',
+		btnSetValue : 'إجعلها محددة',
+		btnDelete	: 'إزالة'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'خصائص مساحة النص',
+		cols		: 'الأعمدة',
+		rows		: 'الصفوف'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'خصائص مربع النص',
+		name		: 'الاسم',
+		value		: 'القيمة',
+		charWidth	: 'عرض السمات',
+		maxChars	: 'اقصى عدد للسمات',
+		type		: 'نوع المحتوى',
+		typeText	: 'نص',
+		typePass	: 'كلمة مرور'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'خصائص الحقل المخفي',
+		name	: 'الاسم',
+		value	: 'القيمة'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'خصائص الصورة',
+		titleButton	: 'خصائص زر الصورة',
+		menu		: 'خصائص الصورة',
+		infoTab	: 'معلومات الصورة',
+		btnUpload	: 'أرسلها للخادم',
+		url		: 'موقع الصورة',
+		upload	: 'رفع',
+		alt		: 'عنوان الصورة',
+		width		: 'العرض',
+		height	: 'الإرتفاع',
+		lockRatio	: 'تناسق الحجم',
+		resetSize	: 'إستعادة الحجم الأصلي',
+		border	: 'سمك الحدود',
+		hSpace	: 'تباعد أفقي',
+		vSpace	: 'تباعد عمودي',
+		align		: 'محاذاة',
+		alignLeft	: 'يسار',
+		alignRight	: 'يمين',
+		preview	: 'معاينة',
+		alertUrl	: 'فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.',
+		linkTab	: 'الرابط',
+		button2Img	: 'هل تريد تحويل زر الصورة المختار إلى صورة بسيطة؟',
+		img2Button	: 'هل تريد تحويل الصورة المختارة إلى زر صورة؟',
+		urlMissing : 'عنوان مصدر الصورة مفقود'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'خصائص الفلاش',
+		propertiesTab	: 'الخصائص',
+		title		: 'خصائص فيلم الفلاش',
+		chkPlay		: 'تشغيل تلقائي',
+		chkLoop		: 'تكرار',
+		chkMenu		: 'تمكين قائمة فيلم الفلاش',
+		chkFull		: 'ملء الشاشة',
+ 		scale		: 'الحجم',
+		scaleAll		: 'إظهار الكل',
+		scaleNoBorder	: 'بلا حدود',
+		scaleFit		: 'ضبط تام',
+		access			: 'دخول النص البرمجي',
+		accessAlways	: 'دائماً',
+		accessSameDomain	: 'نفس النطاق',
+		accessNever	: 'مطلقاً',
+		align		: 'محاذاة',
+		alignLeft	: 'يسار',
+		alignAbsBottom: 'أسفل النص',
+		alignAbsMiddle: 'وسط السطر',
+		alignBaseline	: 'على السطر',
+		alignBottom	: 'أسفل',
+		alignMiddle	: 'وسط',
+		alignRight	: 'يمين',
+		alignTextTop	: 'أعلى النص',
+		alignTop	: 'أعلى',
+		quality		: 'جودة',
+		qualityBest		 : 'أفضل',
+		qualityHigh		 : 'عالية',
+		qualityAutoHigh	 : 'عالية تلقائياً',
+		qualityMedium	 : 'متوسطة',
+		qualityAutoLow	 : 'منخفضة تلقائياً',
+		qualityLow		 : 'منخفضة',
+		windowModeWindow	 : 'نافذة',
+		windowModeOpaque	 : 'غير شفاف',
+		windowModeTransparent	 : 'شفاف',
+		windowMode	: 'وضع النافذة',
+		flashvars	: 'متغيرات الفلاش',
+		bgcolor	: 'لون الخلفية',
+		width	: 'العرض',
+		height	: 'الإرتفاع',
+		hSpace	: 'تباعد أفقي',
+		vSpace	: 'تباعد عمودي',
+		validateSrc : 'فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط',
+		validateWidth : 'العرض يجب أن يكون عدداً.',
+		validateHeight : 'الارتفاع يجب أن يكون عدداً.',
+		validateHSpace : 'HSpace يجب أن يكون عدداً.',
+		validateVSpace : 'VSpace يجب أن يكون عدداً.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'تدقيق إملائي',
+		title			: 'التدقيق الإملائي',
+		notAvailable	: 'عفواً، ولكن هذه الخدمة غير متاحة الان',
+		errorLoading	: 'خطأ في تحميل تطبيق خدمة الاستضافة: %s.',
+		notInDic		: 'ليست في القاموس',
+		changeTo		: 'التغيير إلى',
+		btnIgnore		: 'تجاهل',
+		btnIgnoreAll	: 'تجاهل الكل',
+		btnReplace		: 'تغيير',
+		btnReplaceAll	: 'تغيير الكل',
+		btnUndo			: 'تراجع',
+		noSuggestions	: '- لا توجد إقتراحات -',
+		progress		: 'جاري التدقيق الاملائى',
+		noMispell		: 'تم التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية',
+		noChanges		: 'تم التدقيق الإملائي: لم يتم تغيير أي كلمة',
+		oneChange		: 'تم التدقيق الإملائي: تم تغيير كلمة واحدة فقط',
+		manyChanges		: 'تم إكمال التدقيق الإملائي: تم تغيير %1 من كلمات',
+		ieSpellDownload	: 'المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟'
+	},
+
+	smiley :
+	{
+		toolbar	: 'ابتسامات',
+		title	: 'إدراج ابتسامات'
+	},
+
+	elementsPath :
+	{
+		eleTitle : 'عنصر 1%'
+	},
+
+	numberedlist : 'ادخال/حذف تعداد رقمي',
+	bulletedlist : 'ادخال/حذف تعداد نقطي',
+	indent : 'زيادة المسافة البادئة',
+	outdent : 'إنقاص المسافة البادئة',
+
+	justify :
+	{
+		left : 'محاذاة إلى اليسار',
+		center : 'توسيط',
+		right : 'محاذاة إلى اليمين',
+		block : 'ضبط'
+	},
+
+	blockquote : 'اقتباس',
+
+	clipboard :
+	{
+		title		: 'لصق',
+		cutError	: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).',
+		copyError	: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).',
+		pasteMsg	: 'الصق داخل الصندوق بإستخدام زرائر (<STRONG>Ctrl+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر  <STRONG>موافق</STRONG>.',
+		securityMsg	: 'نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذلك يجب عليك لصق المحتوى مرة أخرى في هذه النافذة.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟',
+		toolbar : 'لصق من وورد',
+		title : 'لصق من وورد',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'لصق كنص بسيط',
+		title : 'لصق كنص بسيط'
+	},
+
+	templates :
+	{
+		button : 'القوالب',
+		title : 'قوالب المحتوى',
+		insertOption: 'استبدال المحتوى',
+		selectPromptMsg: 'اختر القالب الذي تود وضعه في المحرر',
+		emptyListMsg : '(لم يتم تعريف أي قالب)'
+	},
+
+	showBlocks : 'مخطط تفصيلي',
+
+	stylesCombo :
+	{
+		label : 'أنماط',
+		voiceLabel : 'أنماط',
+		panelVoiceLabel : 'اختر نمط',
+		panelTitle1 : 'أنماط الفقرة',
+		panelTitle2 : 'أنماط مضمنة',
+		panelTitle3 : 'أنماط الكائن'
+	},
+
+	format :
+	{
+		label : 'تنسيق',
+		voiceLabel : 'تنسيق',
+		panelTitle : 'تنسيق الفقرة',
+		panelVoiceLabel : 'اختر تنسيق الفقرة',
+
+		tag_p : 'عادي',
+		tag_pre : 'منسّق',
+		tag_address : 'عنوان',
+		tag_h1 : 'العنوان 1',
+		tag_h2 : 'العنوان  2',
+		tag_h3 : 'العنوان  3',
+		tag_h4 : 'العنوان  4',
+		tag_h5 : 'العنوان  5',
+		tag_h6 : 'العنوان  6',
+		tag_div : 'عادي (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'خط',
+		voiceLabel : 'حجم الخط',
+		panelTitle : 'حجم الخط',
+		panelVoiceLabel : 'اختر حجم الخط'
+	},
+
+	fontSize :
+	{
+		label : 'حجم الخط',
+		voiceLabel : 'حجم الخط',
+		panelTitle : 'حجم الخط',
+		panelVoiceLabel : 'اختر حجم الخط'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'لون النص',
+		bgColorTitle : 'لون الخلفية',
+		auto : 'تلقائي',
+		more : 'ألوان إضافية...'
+	},
+
+	colors :
+	{
+		'000' : 'أسود',
+		'800000' : 'كستنائي',
+		'8B4513' : 'بني فاتح',
+		'2F4F4F' : 'رمادي أردوازي غامق',
+		'008080' : 'أزرق مخضر',
+		'000080' : 'أزرق داكن',
+		'4B0082' : 'كحلي',
+		'696969' : 'رمادي داكن',
+		'B22222' : 'طوبي',
+		'A52A2A' : 'بني',
+		'DAA520' : 'ذهبي داكن',
+		'006400' : 'أخضر داكن',
+		'40E0D0' : 'فيروزي',
+		'0000CD' : 'أزرق متوسط',
+		'800080' : 'بنفسجي غامق',
+		'808080' : 'رمادي',
+		'F00' : 'أحمر',
+		'FF8C00' : 'برتقالي داكن',
+		'FFD700' : 'ذهبي',
+		'008000' : 'أخضر',
+		'0FF' : 'تركواز',
+		'00F' : 'أزرق',
+		'EE82EE' : 'بنفسجي',
+		'A9A9A9' : 'رمادي شاحب',
+		'FFA07A' : 'برتقالي وردي',
+		'FFA500' : 'برتقالي',
+		'FFFF00' : 'أصفر',
+		'00FF00' : 'ليموني',
+		'AFEEEE' : 'فيروزي شاحب',
+		'ADD8E6' : 'أزرق فاتح',
+		'DDA0DD' : 'بنفسجي فاتح',
+		'D3D3D3' : 'رمادي فاتح',
+		'FFF0F5' : 'وردي فاتح',
+		'FAEBD7' : 'أبيض عتيق',
+		'FFFFE0' : 'أصفر فاتح',
+		'F0FFF0' : 'أبيض مائل للأخضر',
+		'F0FFFF' : 'سماوي',
+		'F0F8FF' : 'لبني',
+		'E6E6FA' : 'أرجواني',
+		'FFF' : 'أبيض'
+	},
+
+	scayt :
+	{
+		title : 'تدقيق إملائي أثناء الكتابة',
+		enable : 'تفعيل SCAYT',
+		disable : 'تعطيل SCAYT',
+		about : 'عن SCAYT',
+		toggle : 'تثبيت SCAYT',
+		options : 'خيارات',
+		langs : 'لغات',
+		moreSuggestions : 'المزيد من المقترحات',
+		ignore : 'تجاهل',
+		ignoreAll : 'تجاهل الكل',
+		addWord : 'إضافة كلمة',
+		emptyDic : 'اسم القاموس يجب ألا يكون فارغاً.',
+		optionsTab : 'خيارات',
+		languagesTab : 'لغات',
+		dictionariesTab : 'قواميس',
+		aboutTab : 'عن'
+	},
+
+	about :
+	{
+		title : 'عن CKEditor',
+		dlgTitle : 'عن rotidEKC',
+		moreInfo : 'للحصول على معلومات الترخيص ، يرجى زيارة موقعنا على شبكة الانترنت:',
+		copy : 'حقوق النشر &copy; $1. جميع الحقوق محفوظة.'
+	},
+
+	maximize : 'تكبير',
+	minimize : 'تصغير',
+
+	fakeobjects :
+	{
+		anchor : 'إرساء',
+		flash : 'رسم متحرك بالفلاش',
+		div : 'فاصل صفحة',
+		unknown : 'كائن غير معروف'
+	},
+
+	resize : 'اسحب لتغيير الحجم',
+
+	colordialog :
+	{
+		title : 'اختر لون',
+		highlight : 'إلقاء الضوء',
+		selected : 'مُختار',
+		clear : 'مسح'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/bg.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/bg.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/bg.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bulgarian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bg'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Код',
+	newPage			: 'Нова страница',
+	save			: 'Запази',
+	preview			: 'Предварителен изглед',
+	cut				: 'Изрежи',
+	copy			: 'Запамети',
+	paste			: 'Вмъкни',
+	print			: 'Печат',
+	underline		: 'Подчертан',
+	bold			: 'Удебелен',
+	italic			: 'Курсив',
+	selectAll		: 'Селектирай всичко',
+	removeFormat	: 'Изтрий форматирането',
+	strike			: 'Зачертан',
+	subscript		: 'Индекс за база',
+	superscript		: 'Индекс за степен',
+	horizontalrule	: 'Вмъкни хоризонтална линия',
+	pagebreak		: 'Вмъкни нов ред',
+	unlink			: 'Изтрий връзка',
+	undo			: 'Отмени',
+	redo			: 'Повтори',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Разгледай сървъра',
+		url				: 'Пълен път (URL)',
+		protocol		: 'Протокол',
+		upload			: 'Качи',
+		uploadSubmit	: 'Прати към сървъра',
+		image			: 'Изображение',
+		flash			: 'Flash',
+		form			: 'Формуляр',
+		checkbox		: 'Поле за отметка',
+		radio		: 'Поле за опция',
+		textField		: 'Текстово поле',
+		textarea		: 'Текстова област',
+		hiddenField		: 'Скрито поле',
+		button			: 'Бутон',
+		select	: 'Падащо меню с опции',
+		imageButton		: 'Бутон-изображение',
+		notSet			: '<не е настроен>',
+		id				: 'Идентификатор',
+		name			: 'Име',
+		langDir			: 'посока на речта',
+		langDirLtr		: 'От ляво на дясно',
+		langDirRtl		: 'От дясно на ляво',
+		langCode		: 'Код на езика',
+		longDescr		: 'Описание на връзката',
+		cssClass		: 'Клас от стиловите таблици',
+		advisoryTitle	: 'Препоръчително заглавие',
+		cssStyle		: 'Стил',
+		ok				: 'ОК',
+		cancel			: 'Отказ',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Подробности...',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Вмъкни специален символ',
+		title		: 'Изберете специален символ'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Добави/Редактирай връзка',
+		menu		: 'Редактирай връзка',
+		title		: 'Връзка',
+		info		: 'Информация за връзката',
+		target		: 'Цел',
+		upload		: 'Качи',
+		advanced	: 'Подробности...',
+		type		: 'Вид на връзката',
+		toAnchor	: 'Котва в текущата страница',
+		toEmail		: 'Е-поща',
+		target		: 'Цел',
+		targetNotSet	: '<не е настроен>',
+		targetFrame	: '<рамка>',
+		targetPopup	: '<дъщерен прозорец>',
+		targetNew	: 'Нов прозорец (_blank)',
+		targetTop	: 'Целия прозорец (_top)',
+		targetSelf	: 'Активния прозорец (_self)',
+		targetParent	: 'Родителски прозорец (_parent)',
+		targetFrameName	: 'Име на целевия прозорец',
+		targetPopupName	: 'Име на дъщерния прозорец',
+		popupFeatures	: 'Параметри на дъщерния прозорец',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Поле за статус',
+		popupLocationBar	: 'Поле за адрес',
+		popupToolbar	: 'Панел с бутони',
+		popupMenuBar	: 'Меню',
+		popupFullScreen	: 'Голям екран (MS IE)',
+		popupScrollBars	: 'Плъзгач',
+		popupDependent	: 'Зависим (Netscape)',
+		popupWidth		: 'Ширина',
+		popupLeft		: 'Координати - X',
+		popupHeight		: 'Височина',
+		popupTop		: 'Координати - Y',
+		id				: 'Id', // MISSING
+		langDir			: 'посока на речта',
+		langDirNotSet	: '<не е настроен>',
+		langDirLTR		: 'От ляво на дясно',
+		langDirRTL		: 'От дясно на ляво',
+		acccessKey		: 'Бърз клавиш',
+		name			: 'Име',
+		langCode		: 'посока на речта',
+		tabIndex		: 'Ред на достъп',
+		advisoryTitle	: 'Препоръчително заглавие',
+		advisoryContentType	: 'Препоръчителен тип на съдържанието',
+		cssClasses		: 'Клас от стиловите таблици',
+		charset			: 'Тип на свързания ресурс',
+		styles			: 'Стил',
+		selectAnchor	: 'Изберете котва',
+		anchorName		: 'По име на котвата',
+		anchorId		: 'По идентификатор на елемент',
+		emailAddress	: 'Адрес за е-поща',
+		emailSubject	: 'Тема на писмото',
+		emailBody		: 'Текст на писмото',
+		noAnchors		: '(Няма котви в текущия документ)',
+		noUrl			: 'Моля, напишете пълния път (URL)',
+		noEmail			: 'Моля, напишете адреса за е-поща'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Добави/Редактирай котва',
+		menu		: 'Параметри на котвата',
+		title		: 'Параметри на котвата',
+		name		: 'Име на котвата',
+		errorName	: 'Моля, въведете име на котвата'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Търси',
+		replace				: 'Замести',
+		findWhat			: 'Търси:',
+		replaceWith			: 'Замести с:',
+		notFoundMsg			: 'Указания текст не беше намерен.',
+		matchCase			: 'Със същия регистър',
+		matchWord			: 'Търси същата дума',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Замести всички',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Таблица',
+		title		: 'Параметри на таблицата',
+		menu		: 'Параметри на таблицата',
+		deleteTable	: 'Изтрий таблицата',
+		rows		: 'Редове',
+		columns		: 'Колони',
+		border		: 'Размер на рамката',
+		align		: 'Подравняване',
+		alignNotSet	: '<Не е избрано>',
+		alignLeft	: 'Ляво',
+		alignCenter	: 'Център',
+		alignRight	: 'Дясно',
+		width		: 'Ширина',
+		widthPx		: 'пиксели',
+		widthPc		: 'проценти',
+		height		: 'Височина',
+		cellSpace	: 'Разстояние между клетките',
+		cellPad		: 'Отстъп на съдържанието в клетките',
+		caption		: 'Заглавие',
+		summary		: 'Резюме',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Изтрий клетките',
+			merge			: 'Обедини клетките',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Изтрий редовете'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Изтрий колоните'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Параметри на бутона',
+		text		: 'Текст (Стойност)',
+		type		: 'Тип',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Параметри на полето за отметка',
+		radioTitle	: 'Параметри на полето за опция',
+		value		: 'Стойност',
+		selected	: 'Отметнато'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Параметри на формуляра',
+		menu		: 'Параметри на формуляра',
+		action		: 'Действие',
+		method		: 'Метод',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Цел',
+		targetNotSet	: '<не е настроен>',
+		targetNew	: 'Нов прозорец (_blank)',
+		targetTop	: 'Целия прозорец (_top)',
+		targetSelf	: 'Активния прозорец (_self)',
+		targetParent	: 'Родителски прозорец (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Параметри на падащото меню с опции',
+		selectInfo	: 'Информация',
+		opAvail		: 'Възможни опции',
+		value		: 'Стойност',
+		size		: 'Размер',
+		lines		: 'линии',
+		chkMulti	: 'Разрешено множествено селектиране',
+		opText		: 'Текст',
+		opValue		: 'Стойност',
+		btnAdd		: 'Добави',
+		btnModify	: 'Промени',
+		btnUp		: 'Нагоре',
+		btnDown		: 'Надолу',
+		btnSetValue : 'Настрой като избрана стойност',
+		btnDelete	: 'Изтрий'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Параметри на текстовата област',
+		cols		: 'Колони',
+		rows		: 'Редове'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Параметри на текстовото-поле',
+		name		: 'Име',
+		value		: 'Стойност',
+		charWidth	: 'Ширина на символите',
+		maxChars	: 'Максимум символи',
+		type		: 'Тип',
+		typeText	: 'Текст',
+		typePass	: 'Парола'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Параметри на скритото поле',
+		name	: 'Име',
+		value	: 'Стойност'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Параметри на изображението',
+		titleButton	: 'Параметри на бутона-изображение',
+		menu		: 'Параметри на изображението',
+		infoTab	: 'Информация за изображението',
+		btnUpload	: 'Прати към сървъра',
+		url		: 'Пълен път (URL)',
+		upload	: 'Качи',
+		alt		: 'Алтернативен текст',
+		width		: 'Ширина',
+		height	: 'Височина',
+		lockRatio	: 'Запази пропорцията',
+		resetSize	: 'Възстанови размера',
+		border	: 'Рамка',
+		hSpace	: 'Хоризонтален отстъп',
+		vSpace	: 'Вертикален отстъп',
+		align		: 'Подравняване',
+		alignLeft	: 'Ляво',
+		alignRight	: 'Дясно',
+		preview	: 'Изглед',
+		alertUrl	: 'Моля, въведете пълния път до изображението',
+		linkTab	: 'Връзка',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Параметри на Flash обекта',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Параметри на Flash обекта',
+		chkPlay		: 'Автоматично стартиране',
+		chkLoop		: 'Ново стартиране след завършването',
+		chkMenu		: 'Разрешено Flash меню',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Оразмеряване',
+		scaleAll		: 'Покажи целия обект',
+		scaleNoBorder	: 'Без рамка',
+		scaleFit		: 'Според мястото',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Подравняване',
+		alignLeft	: 'Ляво',
+		alignAbsBottom: 'Най-долу',
+		alignAbsMiddle: 'Точно по средата',
+		alignBaseline	: 'По базовата линия',
+		alignBottom	: 'Долу',
+		alignMiddle	: 'По средата',
+		alignRight	: 'Дясно',
+		alignTextTop	: 'Върху текста',
+		alignTop	: 'Отгоре',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Цвят на фона',
+		width	: 'Ширина',
+		height	: 'Височина',
+		hSpace	: 'Хоризонтален отстъп',
+		vSpace	: 'Вертикален отстъп',
+		validateSrc : 'Моля, напишете пълния път (URL)',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Провери правописа',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Липсва в речника',
+		changeTo		: 'Промени на',
+		btnIgnore		: 'Игнорирай',
+		btnIgnoreAll	: 'Игнорирай всички',
+		btnReplace		: 'Замести',
+		btnReplaceAll	: 'Замести всички',
+		btnUndo			: 'Отмени',
+		noSuggestions	: '- Няма предложения -',
+		progress		: 'Извършване на проверката за правопис...',
+		noMispell		: 'Проверката за правопис завършена: не са открити правописни грешки',
+		noChanges		: 'Проверката за правопис завършена: няма променени думи',
+		oneChange		: 'Проверката за правопис завършена: една дума е променена',
+		manyChanges		: 'Проверката за правопис завършена: %1 думи са променени',
+		ieSpellDownload	: 'Инструментът за проверка на правопис не е инсталиран. Желаете ли да го инсталирате ?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Усмивка',
+		title	: 'Добави усмивка'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Нумериран списък',
+	bulletedlist : 'Ненумериран списък',
+	indent : 'Увеличи отстъпа',
+	outdent : 'Намали отстъпа',
+
+	justify :
+	{
+		left : 'Подравняване в ляво',
+		center : 'Подравнявне в средата',
+		right : 'Подравняване в дясно',
+		block : 'Двустранно подравняване'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Вмъкни',
+		cutError	: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни изрязването. За целта използвайте клавиатурата (Ctrl+X).',
+		copyError	: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl+C).',
+		pasteMsg	: 'Вмъкнете тук съдъжанието с клавиатуарата (<STRONG>Ctrl+V</STRONG>) и натиснете <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Вмъкни от MS Word',
+		title : 'Вмъкни от MS Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Вмъкни като чист текст',
+		title : 'Вмъкни като чист текст'
+	},
+
+	templates :
+	{
+		button : 'Шаблони',
+		title : 'Шаблони',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Изберете шаблон <br>(текущото съдържание на редактора ще бъде загубено):',
+		emptyListMsg : '(Няма дефинирани шаблони)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Стил',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Формат',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Формат',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Нормален',
+		tag_pre : 'Форматиран',
+		tag_address : 'Адрес',
+		tag_h1 : 'Заглавие 1',
+		tag_h2 : 'Заглавие 2',
+		tag_h3 : 'Заглавие 3',
+		tag_h4 : 'Заглавие 4',
+		tag_h5 : 'Заглавие 5',
+		tag_h6 : 'Заглавие 6',
+		tag_div : 'Параграф (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Шрифт',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Шрифт',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Размер',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Размер',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Цвят на текста',
+		bgColorTitle : 'Цвят на фона',
+		auto : 'По подразбиране',
+		more : 'Други цветове...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/bn.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/bn.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/bn.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bengali/Bangla language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bn'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'সোর্স',
+	newPage			: 'নতুন পেজ',
+	save			: 'সংরক্ষন কর',
+	preview			: 'প্রিভিউ',
+	cut				: 'কাট',
+	copy			: 'কপি',
+	paste			: 'পেস্ট',
+	print			: 'প্রিন্ট',
+	underline		: 'আন্ডারলাইন',
+	bold			: 'বোল্ড',
+	italic			: 'ইটালিক',
+	selectAll		: 'সব সিলেক্ট কর',
+	removeFormat	: 'ফরমেট সরাও',
+	strike			: 'স্ট্রাইক থ্রু',
+	subscript		: 'অধোলেখ',
+	superscript		: 'অভিলেখ',
+	horizontalrule	: 'রেখা যুক্ত কর',
+	pagebreak		: 'পেজ ব্রেক',
+	unlink			: 'লিংক সরাও',
+	undo			: 'আনডু',
+	redo			: 'রি-ডু',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'ব্রাউজ সার্ভার',
+		url				: 'URL',
+		protocol		: 'প্রোটোকল',
+		upload			: 'আপলোড',
+		uploadSubmit	: 'ইহাকে সার্ভারে প্রেরন কর',
+		image			: 'ছবির লেবেল যুক্ত কর',
+		flash			: 'ফ্লাশ লেবেল যুক্ত কর',
+		form			: 'ফর্ম',
+		checkbox		: 'চেক বাক্স',
+		radio		: 'রেডিও বাটন',
+		textField		: 'টেক্সট ফীল্ড',
+		textarea		: 'টেক্সট এরিয়া',
+		hiddenField		: 'গুপ্ত ফীল্ড',
+		button			: 'বাটন',
+		select	: 'বাছাই ফীল্ড',
+		imageButton		: 'ছবির বাটন',
+		notSet			: '<সেট নেই>',
+		id				: 'আইডি',
+		name			: 'নাম',
+		langDir			: 'ভাষা লেখার দিক',
+		langDirLtr		: 'বাম থেকে ডান (LTR)',
+		langDirRtl		: 'ডান থেকে বাম (RTL)',
+		langCode		: 'ভাষা কোড',
+		longDescr		: 'URL এর লম্বা বর্ণনা',
+		cssClass		: 'স্টাইল-শীট ক্লাস',
+		advisoryTitle	: 'পরামর্শ শীর্ষক',
+		cssStyle		: 'স্টাইল',
+		ok				: 'ওকে',
+		cancel			: 'বাতিল',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'এডভান্সড',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'বিশেষ অক্ষর যুক্ত কর',
+		title		: 'বিশেষ ক্যারেক্টার বাছাই কর'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'লিংক যুক্ত কর',
+		menu		: 'লিংক সম্পাদন',
+		title		: 'লিংক',
+		info		: 'লিংক তথ্য',
+		target		: 'টার্গেট',
+		upload		: 'আপলোড',
+		advanced	: 'এডভান্সড',
+		type		: 'লিংক প্রকার',
+		toAnchor	: 'এই পেজে নোঙর কর',
+		toEmail		: 'ইমেইল',
+		target		: 'টার্গেট',
+		targetNotSet	: '<সেট নেই>',
+		targetFrame	: '<ফ্রেম>',
+		targetPopup	: '<পপআপ উইন্ডো>',
+		targetNew	: 'নতুন উইন্ডো (_blank)',
+		targetTop	: 'শীর্ষ উইন্ডো (_top)',
+		targetSelf	: 'এই উইন্ডো (_self)',
+		targetParent	: 'মূল উইন্ডো (_parent)',
+		targetFrameName	: 'টার্গেট ফ্রেমের নাম',
+		targetPopupName	: 'পপআপ উইন্ডোর নাম',
+		popupFeatures	: 'পপআপ উইন্ডো ফীচার সমূহ',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'স্ট্যাটাস বার',
+		popupLocationBar	: 'লোকেশন বার',
+		popupToolbar	: 'টুল বার',
+		popupMenuBar	: 'মেন্যু বার',
+		popupFullScreen	: 'পূর্ণ পর্দা জুড়ে (IE)',
+		popupScrollBars	: 'স্ক্রল বার',
+		popupDependent	: 'ডিপেন্ডেন্ট (Netscape)',
+		popupWidth		: 'প্রস্থ',
+		popupLeft		: 'বামের পজিশন',
+		popupHeight		: 'দৈর্ঘ্য',
+		popupTop		: 'ডানের পজিশন',
+		id				: 'Id', // MISSING
+		langDir			: 'ভাষা লেখার দিক',
+		langDirNotSet	: '<সেট নেই>',
+		langDirLTR		: 'বাম থেকে ডান (LTR)',
+		langDirRTL		: 'ডান থেকে বাম (RTL)',
+		acccessKey		: 'এক্সেস কী',
+		name			: 'নাম',
+		langCode		: 'ভাষা লেখার দিক',
+		tabIndex		: 'ট্যাব ইন্ডেক্স',
+		advisoryTitle	: 'পরামর্শ শীর্ষক',
+		advisoryContentType	: 'পরামর্শ কন্টেন্টের প্রকার',
+		cssClasses		: 'স্টাইল-শীট ক্লাস',
+		charset			: 'লিংক রিসোর্স ক্যারেক্টর সেট',
+		styles			: 'স্টাইল',
+		selectAnchor	: 'নোঙর বাছাই',
+		anchorName		: 'নোঙরের নাম দিয়ে',
+		anchorId		: 'নোঙরের আইডি দিয়ে',
+		emailAddress	: 'ইমেইল ঠিকানা',
+		emailSubject	: 'মেসেজের বিষয়',
+		emailBody		: 'মেসেজের দেহ',
+		noAnchors		: '(No anchors available in the document)', // MISSING
+		noUrl			: 'অনুগ্রহ করে URL লিংক টাইপ করুন',
+		noEmail			: 'অনুগ্রহ করে ইমেইল এড্রেস টাইপ করুন'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'নোঙ্গর',
+		menu		: 'নোঙর প্রোপার্টি',
+		title		: 'নোঙর প্রোপার্টি',
+		name		: 'নোঙরের নাম',
+		errorName	: 'নোঙরের নাম টাইপ করুন'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'খোজো',
+		replace				: 'রিপ্লেস',
+		findWhat			: 'যা খুঁজতে হবে:',
+		replaceWith			: 'যার সাথে বদলাতে হবে:',
+		notFoundMsg			: 'আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি',
+		matchCase			: 'কেস মিলাও',
+		matchWord			: 'পুরা শব্দ মেলাও',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'সব বদলে দাও',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'টেবিলের লেবেল যুক্ত কর',
+		title		: 'টেবিল প্রোপার্টি',
+		menu		: 'টেবিল প্রোপার্টি',
+		deleteTable	: 'টেবিল ডিলীট কর',
+		rows		: 'রো',
+		columns		: 'কলাম',
+		border		: 'বর্ডার সাইজ',
+		align		: 'এলাইনমেন্ট',
+		alignNotSet	: '<সেট নেই>',
+		alignLeft	: 'বামে',
+		alignCenter	: 'মাঝখানে',
+		alignRight	: 'ডানে',
+		width		: 'প্রস্থ',
+		widthPx		: 'পিক্সেল',
+		widthPc		: 'শতকরা',
+		height		: 'দৈর্ঘ্য',
+		cellSpace	: 'সেল স্পেস',
+		cellPad		: 'সেল প্যাডিং',
+		caption		: 'শীর্ষক',
+		summary		: 'সারাংশ',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'সেল',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'সেল মুছে দাও',
+			merge			: 'সেল জোড়া দাও',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'রো',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'রো মুছে দাও'
+		},
+
+		column :
+		{
+			menu			: 'কলাম',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'কলাম মুছে দাও'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'বাটন প্রোপার্টি',
+		text		: 'টেক্সট (ভ্যালু)',
+		type		: 'প্রকার',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'চেক বক্স প্রোপার্টি',
+		radioTitle	: 'রেডিও বাটন প্রোপার্টি',
+		value		: 'ভ্যালু',
+		selected	: 'সিলেক্টেড'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'ফর্ম প্রোপার্টি',
+		menu		: 'ফর্ম প্রোপার্টি',
+		action		: 'একশ্যন',
+		method		: 'পদ্ধতি',
+		encoding	: 'Encoding', // MISSING
+		target		: 'টার্গেট',
+		targetNotSet	: '<সেট নেই>',
+		targetNew	: 'নতুন উইন্ডো (_blank)',
+		targetTop	: 'শীর্ষ উইন্ডো (_top)',
+		targetSelf	: 'এই উইন্ডো (_self)',
+		targetParent	: 'মূল উইন্ডো (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'বাছাই ফীল্ড প্রোপার্টি',
+		selectInfo	: 'তথ্য',
+		opAvail		: 'অন্যান্য বিকল্প',
+		value		: 'ভ্যালু',
+		size		: 'সাইজ',
+		lines		: 'লাইন সমূহ',
+		chkMulti	: 'একাধিক সিলেকশন এলাউ কর',
+		opText		: 'টেক্সট',
+		opValue		: 'ভ্যালু',
+		btnAdd		: 'যুক্ত',
+		btnModify	: 'বদলে দাও',
+		btnUp		: 'উপর',
+		btnDown		: 'নীচে',
+		btnSetValue : 'বাছাই করা ভ্যালু হিসেবে সেট কর',
+		btnDelete	: 'ডিলীট'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'টেক্সট এরিয়া প্রোপার্টি',
+		cols		: 'কলাম',
+		rows		: 'রো'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'টেক্সট ফীল্ড প্রোপার্টি',
+		name		: 'নাম',
+		value		: 'ভ্যালু',
+		charWidth	: 'ক্যারেক্টার প্রশস্ততা',
+		maxChars	: 'সর্বাধিক ক্যারেক্টার',
+		type		: 'টাইপ',
+		typeText	: 'টেক্সট',
+		typePass	: 'পাসওয়ার্ড'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'গুপ্ত ফীল্ড প্রোপার্টি',
+		name	: 'নাম',
+		value	: 'ভ্যালু'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'ছবির প্রোপার্টি',
+		titleButton	: 'ছবি বাটন প্রোপার্টি',
+		menu		: 'ছবির প্রোপার্টি',
+		infoTab	: 'ছবির তথ্য',
+		btnUpload	: 'ইহাকে সার্ভারে প্রেরন কর',
+		url		: 'URL',
+		upload	: 'আপলোড',
+		alt		: 'বিকল্প টেক্সট',
+		width		: 'প্রস্থ',
+		height	: 'দৈর্ঘ্য',
+		lockRatio	: 'অনুপাত লক কর',
+		resetSize	: 'সাইজ পূর্বাবস্থায় ফিরিয়ে দাও',
+		border	: 'বর্ডার',
+		hSpace	: 'হরাইজন্টাল স্পেস',
+		vSpace	: 'ভার্টিকেল স্পেস',
+		align		: 'এলাইন',
+		alignLeft	: 'বামে',
+		alignRight	: 'ডানে',
+		preview	: 'প্রীভিউ',
+		alertUrl	: 'অনুগ্রহক করে ছবির URL টাইপ করুন',
+		linkTab	: 'লিংক',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'ফ্লাশ প্রোপার্টি',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'ফ্ল্যাশ প্রোপার্টি',
+		chkPlay		: 'অটো প্লে',
+		chkLoop		: 'লূপ',
+		chkMenu		: 'ফ্ল্যাশ মেনু এনাবল কর',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'স্কেল',
+		scaleAll		: 'সব দেখাও',
+		scaleNoBorder	: 'কোনো বর্ডার নেই',
+		scaleFit		: 'নিখুঁত ফিট',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'এলাইন',
+		alignLeft	: 'বামে',
+		alignAbsBottom: 'Abs নীচে',
+		alignAbsMiddle: 'Abs উপর',
+		alignBaseline	: 'মূল রেখা',
+		alignBottom	: 'নীচে',
+		alignMiddle	: 'মধ্য',
+		alignRight	: 'ডানে',
+		alignTextTop	: 'টেক্সট উপর',
+		alignTop	: 'উপর',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'বেকগ্রাউন্ড রং',
+		width	: 'প্রস্থ',
+		height	: 'দৈর্ঘ্য',
+		hSpace	: 'হরাইজন্টাল স্পেস',
+		vSpace	: 'ভার্টিকেল স্পেস',
+		validateSrc : 'অনুগ্রহ করে URL লিংক টাইপ করুন',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'বানান চেক',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'শব্দকোষে নেই',
+		changeTo		: 'এতে বদলাও',
+		btnIgnore		: 'ইগনোর কর',
+		btnIgnoreAll	: 'সব ইগনোর কর',
+		btnReplace		: 'বদলে দাও',
+		btnReplaceAll	: 'সব বদলে দাও',
+		btnUndo			: 'আন্ডু',
+		noSuggestions	: '- কোন সাজেশন নেই -',
+		progress		: 'বানান পরীক্ষা চলছে...',
+		noMispell		: 'বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি',
+		noChanges		: 'বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি',
+		oneChange		: 'বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে',
+		manyChanges		: 'বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে',
+		ieSpellDownload	: 'বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'স্মাইলী',
+		title	: 'স্মাইলী যুক্ত কর'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'সাংখ্যিক লিস্টের লেবেল',
+	bulletedlist : 'বুলেট লিস্ট লেবেল',
+	indent : 'ইনডেন্ট বাড়াও',
+	outdent : 'ইনডেন্ট কমাও',
+
+	justify :
+	{
+		left : 'বা দিকে ঘেঁষা',
+		center : 'মাঝ বরাবর ঘেষা',
+		right : 'ডান দিকে ঘেঁষা',
+		block : 'ব্লক জাস্টিফাই'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'পেস্ট',
+		cutError	: 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+X)।',
+		copyError	: 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+C)।',
+		pasteMsg	: 'অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (<STRONG>Ctrl+V</STRONG>) পেস্ট করুন এবং <STRONG>OK</STRONG> চাপ দিন',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'পেস্ট (শব্দ)',
+		title : 'পেস্ট (শব্দ)',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'সাদা টেক্সট হিসেবে পেস্ট কর',
+		title : 'সাদা টেক্সট হিসেবে পেস্ট কর'
+	},
+
+	templates :
+	{
+		button : 'টেমপ্লেট',
+		title : 'কনটেন্ট টেমপ্লেট',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন<br>(আসল কনটেন্ট হারিয়ে যাবে):',
+		emptyListMsg : '(কোন টেমপ্লেট ডিফাইন করা নেই)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'স্টাইল',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'ফন্ট ফরমেট',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'ফন্ট ফরমেট',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'সাধারণ',
+		tag_pre : 'ফর্মেটেড',
+		tag_address : 'ঠিকানা',
+		tag_h1 : 'শীর্ষক ১',
+		tag_h2 : 'শীর্ষক ২',
+		tag_h3 : 'শীর্ষক ৩',
+		tag_h4 : 'শীর্ষক ৪',
+		tag_h5 : 'শীর্ষক ৫',
+		tag_h6 : 'শীর্ষক ৬',
+		tag_div : 'শীর্ষক (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'ফন্ট',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'ফন্ট',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'সাইজ',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'সাইজ',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'টেক্স্ট রং',
+		bgColorTitle : 'বেকগ্রাউন্ড রং',
+		auto : 'অটোমেটিক',
+		more : 'আরও রং...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/bs.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/bs.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/bs.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bosnian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bs'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'HTML kôd',
+	newPage			: 'Novi dokument',
+	save			: 'Snimi',
+	preview			: 'Prikaži',
+	cut				: 'Izreži',
+	copy			: 'Kopiraj',
+	paste			: 'Zalijepi',
+	print			: 'Štampaj',
+	underline		: 'Podvuci',
+	bold			: 'Boldiraj',
+	italic			: 'Ukosi',
+	selectAll		: 'Selektuj sve',
+	removeFormat	: 'Poništi format',
+	strike			: 'Precrtaj',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Ubaci horizontalnu liniju',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: 'Izbriši link',
+	undo			: 'Vrati',
+	redo			: 'Ponovi',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server', // MISSING
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Šalji',
+		uploadSubmit	: 'Šalji na server',
+		image			: 'Slika',
+		flash			: 'Flash', // MISSING
+		form			: 'Form', // MISSING
+		checkbox		: 'Checkbox', // MISSING
+		radio		: 'Radio Button', // MISSING
+		textField		: 'Text Field', // MISSING
+		textarea		: 'Textarea', // MISSING
+		hiddenField		: 'Hidden Field', // MISSING
+		button			: 'Button', // MISSING
+		select	: 'Selection Field', // MISSING
+		imageButton		: 'Image Button', // MISSING
+		notSet			: '<nije podešeno>',
+		id				: 'Id',
+		name			: 'Naziv',
+		langDir			: 'Smjer pisanja',
+		langDirLtr		: 'S lijeva na desno (LTR)',
+		langDirRtl		: 'S desna na lijevo (RTL)',
+		langCode		: 'Jezièni kôd',
+		longDescr		: 'Dugaèki opis URL-a',
+		cssClass		: 'Klase CSS stilova',
+		advisoryTitle	: 'Advisory title',
+		cssStyle		: 'Stil',
+		ok				: 'OK',
+		cancel			: 'Odustani',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Naprednije',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Ubaci specijalni karater',
+		title		: 'Izaberi specijalni karakter'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Ubaci/Izmjeni link',
+		menu		: 'Izmjeni link',
+		title		: 'Link',
+		info		: 'Link info',
+		target		: 'Prozor',
+		upload		: 'Šalji',
+		advanced	: 'Naprednije',
+		type		: 'Tip linka',
+		toAnchor	: 'Sidro na ovoj stranici',
+		toEmail		: 'E-Mail',
+		target		: 'Prozor',
+		targetNotSet	: '<nije podešeno>',
+		targetFrame	: '<frejm>',
+		targetPopup	: '<popup prozor>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Najgornji prozor (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Glavni prozor (_parent)',
+		targetFrameName	: 'Target Frame Name', // MISSING
+		targetPopupName	: 'Naziv popup prozora',
+		popupFeatures	: 'Moguænosti popup prozora',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Statusna traka',
+		popupLocationBar	: 'Traka za lokaciju',
+		popupToolbar	: 'Traka sa alatima',
+		popupMenuBar	: 'Izborna traka',
+		popupFullScreen	: 'Cijeli ekran (IE)',
+		popupScrollBars	: 'Scroll traka',
+		popupDependent	: 'Ovisno (Netscape)',
+		popupWidth		: 'Širina',
+		popupLeft		: 'Lijeva pozicija',
+		popupHeight		: 'Visina',
+		popupTop		: 'Gornja pozicija',
+		id				: 'Id', // MISSING
+		langDir			: 'Smjer pisanja',
+		langDirNotSet	: '<nije podešeno>',
+		langDirLTR		: 'S lijeva na desno (LTR)',
+		langDirRTL		: 'S desna na lijevo (RTL)',
+		acccessKey		: 'Pristupna tipka',
+		name			: 'Naziv',
+		langCode		: 'Smjer pisanja',
+		tabIndex		: 'Tab indeks',
+		advisoryTitle	: 'Advisory title',
+		advisoryContentType	: 'Advisory vrsta sadržaja',
+		cssClasses		: 'Klase CSS stilova',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Stil',
+		selectAnchor	: 'Izaberi sidro',
+		anchorName		: 'Po nazivu sidra',
+		anchorId		: 'Po Id-u elementa',
+		emailAddress	: 'E-Mail Adresa',
+		emailSubject	: 'Subjekt poruke',
+		emailBody		: 'Poruka',
+		noAnchors		: '(Nema dostupnih sidra na stranici)',
+		noUrl			: 'Molimo ukucajte URL link',
+		noEmail			: 'Molimo ukucajte e-mail adresu'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anchor', // MISSING
+		menu		: 'Edit Anchor', // MISSING
+		title		: 'Anchor Properties', // MISSING
+		name		: 'Anchor Name', // MISSING
+		errorName	: 'Please type the anchor name' // MISSING
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Naði',
+		replace				: 'Zamjeni',
+		findWhat			: 'Naði šta:',
+		replaceWith			: 'Zamjeni sa:',
+		notFoundMsg			: 'Traženi tekst nije pronaðen.',
+		matchCase			: 'Uporeðuj velika/mala slova',
+		matchWord			: 'Uporeðuj samo cijelu rijeè',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Zamjeni sve',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Svojstva tabele',
+		menu		: 'Svojstva tabele',
+		deleteTable	: 'Delete Table', // MISSING
+		rows		: 'Redova',
+		columns		: 'Kolona',
+		border		: 'Okvir',
+		align		: 'Poravnanje',
+		alignNotSet	: '<Nije podešeno>',
+		alignLeft	: 'Lijevo',
+		alignCenter	: 'Centar',
+		alignRight	: 'Desno',
+		width		: 'Širina',
+		widthPx		: 'piksela',
+		widthPc		: 'posto',
+		height		: 'Visina',
+		cellSpace	: 'Razmak æelija',
+		cellPad		: 'Uvod æelija',
+		caption		: 'Naslov',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Briši æelije',
+			merge			: 'Spoji æelije',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Briši redove'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Briši kolone'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button Properties', // MISSING
+		text		: 'Text (Value)', // MISSING
+		type		: 'Type', // MISSING
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox Properties', // MISSING
+		radioTitle	: 'Radio Button Properties', // MISSING
+		value		: 'Value', // MISSING
+		selected	: 'Selected' // MISSING
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Properties', // MISSING
+		menu		: 'Form Properties', // MISSING
+		action		: 'Action', // MISSING
+		method		: 'Method', // MISSING
+		encoding	: 'Encoding', // MISSING
+		target		: 'Prozor',
+		targetNotSet	: '<nije podešeno>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Najgornji prozor (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Glavni prozor (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection Field Properties', // MISSING
+		selectInfo	: 'Select Info', // MISSING
+		opAvail		: 'Available Options', // MISSING
+		value		: 'Value', // MISSING
+		size		: 'Size', // MISSING
+		lines		: 'lines', // MISSING
+		chkMulti	: 'Allow multiple selections', // MISSING
+		opText		: 'Text', // MISSING
+		opValue		: 'Value', // MISSING
+		btnAdd		: 'Add', // MISSING
+		btnModify	: 'Modify', // MISSING
+		btnUp		: 'Up', // MISSING
+		btnDown		: 'Down', // MISSING
+		btnSetValue : 'Set as selected value', // MISSING
+		btnDelete	: 'Delete' // MISSING
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea Properties', // MISSING
+		cols		: 'Columns', // MISSING
+		rows		: 'Rows' // MISSING
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field Properties', // MISSING
+		name		: 'Name', // MISSING
+		value		: 'Value', // MISSING
+		charWidth	: 'Character Width', // MISSING
+		maxChars	: 'Maximum Characters', // MISSING
+		type		: 'Type', // MISSING
+		typeText	: 'Text', // MISSING
+		typePass	: 'Password' // MISSING
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field Properties', // MISSING
+		name	: 'Name', // MISSING
+		value	: 'Value' // MISSING
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Svojstva slike',
+		titleButton	: 'Image Button Properties', // MISSING
+		menu		: 'Svojstva slike',
+		infoTab	: 'Info slike',
+		btnUpload	: 'Šalji na server',
+		url		: 'URL',
+		upload	: 'Šalji',
+		alt		: 'Tekst na slici',
+		width		: 'Širina',
+		height	: 'Visina',
+		lockRatio	: 'Zakljuèaj odnos',
+		resetSize	: 'Resetuj dimenzije',
+		border	: 'Okvir',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Poravnanje',
+		alignLeft	: 'Lijevo',
+		alignRight	: 'Desno',
+		preview	: 'Prikaz',
+		alertUrl	: 'Molimo ukucajte URL od slike.',
+		linkTab	: 'Link', // MISSING
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties', // MISSING
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash Properties', // MISSING
+		chkPlay		: 'Auto Play', // MISSING
+		chkLoop		: 'Loop', // MISSING
+		chkMenu		: 'Enable Flash Menu', // MISSING
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Scale', // MISSING
+		scaleAll		: 'Show all', // MISSING
+		scaleNoBorder	: 'No Border', // MISSING
+		scaleFit		: 'Exact Fit', // MISSING
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Poravnanje',
+		alignLeft	: 'Lijevo',
+		alignAbsBottom: 'Abs dole',
+		alignAbsMiddle: 'Abs sredina',
+		alignBaseline	: 'Bazno',
+		alignBottom	: 'Dno',
+		alignMiddle	: 'Sredina',
+		alignRight	: 'Desno',
+		alignTextTop	: 'Vrh teksta',
+		alignTop	: 'Vrh',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Boja pozadine',
+		width	: 'Širina',
+		height	: 'Visina',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Molimo ukucajte URL link',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Check Spelling', // MISSING
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Not in dictionary', // MISSING
+		changeTo		: 'Change to', // MISSING
+		btnIgnore		: 'Ignore', // MISSING
+		btnIgnoreAll	: 'Ignore All', // MISSING
+		btnReplace		: 'Replace', // MISSING
+		btnReplaceAll	: 'Replace All', // MISSING
+		btnUndo			: 'Undo', // MISSING
+		noSuggestions	: '- No suggestions -', // MISSING
+		progress		: 'Spell check in progress...', // MISSING
+		noMispell		: 'Spell check complete: No misspellings found', // MISSING
+		noChanges		: 'Spell check complete: No words changed', // MISSING
+		oneChange		: 'Spell check complete: One word changed', // MISSING
+		manyChanges		: 'Spell check complete: %1 words changed', // MISSING
+		ieSpellDownload	: 'Spell checker not installed. Do you want to download it now?' // MISSING
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smješko',
+		title	: 'Ubaci smješka'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numerisana lista',
+	bulletedlist : 'Lista',
+	indent : 'Poveæaj uvod',
+	outdent : 'Smanji uvod',
+
+	justify :
+	{
+		left : 'Lijevo poravnanje',
+		center : 'Centralno poravnanje',
+		right : 'Desno poravnanje',
+		block : 'Puno poravnanje'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Zalijepi',
+		cutError	: 'Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl+X).',
+		copyError	: 'Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK', // MISSING
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Zalijepi iz Word-a',
+		title : 'Zalijepi iz Word-a',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Zalijepi kao obièan tekst',
+		title : 'Zalijepi kao obièan tekst'
+	},
+
+	templates :
+	{
+		button : 'Templates', // MISSING
+		title : 'Content Templates', // MISSING
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Please select the template to open in the editor', // MISSING
+		emptyListMsg : '(No templates defined)' // MISSING
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Velièina',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Velièina',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Boja teksta',
+		bgColorTitle : 'Boja pozadine',
+		auto : 'Automatska',
+		more : 'Više boja...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ca.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ca.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ca.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Catalan language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ca'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editor de text enriquit, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Codi font',
+	newPage			: 'Nova Pàgina',
+	save			: 'Desa',
+	preview			: 'Visualització prèvia',
+	cut				: 'Retalla',
+	copy			: 'Copia',
+	paste			: 'Enganxa',
+	print			: 'Imprimeix',
+	underline		: 'Subratllat',
+	bold			: 'Negreta',
+	italic			: 'Cursiva',
+	selectAll		: 'Selecciona-ho tot',
+	removeFormat	: 'Elimina Format',
+	strike			: 'Barrat',
+	subscript		: 'Subíndex',
+	superscript		: 'Superíndex',
+	horizontalrule	: 'Insereix línia horitzontal',
+	pagebreak		: 'Insereix salt de pàgina',
+	unlink			: 'Elimina l\'enllaç',
+	undo			: 'Desfés',
+	redo			: 'Refés',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Veure servidor',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Puja',
+		uploadSubmit	: 'Envia-la al servidor',
+		image			: 'Imatge',
+		flash			: 'Flash',
+		form			: 'Formulari',
+		checkbox		: 'Casella de verificació',
+		radio		: 'Botó d\'opció',
+		textField		: 'Camp de text',
+		textarea		: 'Àrea de text',
+		hiddenField		: 'Camp ocult',
+		button			: 'Botó',
+		select	: 'Camp de selecció',
+		imageButton		: 'Botó d\'imatge',
+		notSet			: '<no definit>',
+		id				: 'Id',
+		name			: 'Nom',
+		langDir			: 'Direcció de l\'idioma',
+		langDirLtr		: 'D\'esquerra a dreta (LTR)',
+		langDirRtl		: 'De dreta a esquerra (RTL)',
+		langCode		: 'Codi d\'idioma',
+		longDescr		: 'Descripció llarga de la URL',
+		cssClass		: 'Classes del full d\'estil',
+		advisoryTitle	: 'Títol consultiu',
+		cssStyle		: 'Estil',
+		ok				: 'D\'acord',
+		cancel			: 'Cancel·la',
+		generalTab		: 'General',
+		advancedTab		: 'Avançat',
+		validateNumberFailed	: 'Aquest valor no és un número.',
+		confirmNewPage	: 'Els canvis en aquest contingut que no es desin es perdran. Esteu segur que voleu carregar una pàgina nova?',
+		confirmCancel	: 'Algunes opcions s\'han canviat. Esteu segur que voleu tancar la finestra de diàleg?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, no disponible</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insereix caràcter especial',
+		title		: 'Selecciona el caràcter especial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Insereix/Edita enllaç',
+		menu		: 'Edita l\'enllaç',
+		title		: 'Enllaç',
+		info		: 'Informació de l\'enllaç',
+		target		: 'Destí',
+		upload		: 'Puja',
+		advanced	: 'Avançat',
+		type		: 'Tipus d\'enllaç',
+		toAnchor	: 'Àncora en aquesta pàgina',
+		toEmail		: 'Correu electrònic',
+		target		: 'Destí',
+		targetNotSet	: '<no definit>',
+		targetFrame	: '<marc>',
+		targetPopup	: '<finestra emergent>',
+		targetNew	: 'Nova finestra (_blank)',
+		targetTop	: 'Finestra Major (_top)',
+		targetSelf	: 'Mateixa finestra (_self)',
+		targetParent	: 'Finestra pare (_parent)',
+		targetFrameName	: 'Nom del marc de destí',
+		targetPopupName	: 'Nom finestra popup',
+		popupFeatures	: 'Característiques finestra popup',
+		popupResizable	: 'Redimensionable',
+		popupStatusBar	: 'Barra d\'estat',
+		popupLocationBar	: 'Barra d\'adreça',
+		popupToolbar	: 'Barra d\'eines',
+		popupMenuBar	: 'Barra de menú',
+		popupFullScreen	: 'Pantalla completa (IE)',
+		popupScrollBars	: 'Barres d\'scroll',
+		popupDependent	: 'Depenent (Netscape)',
+		popupWidth		: 'Amplada',
+		popupLeft		: 'Posició esquerra',
+		popupHeight		: 'Alçada',
+		popupTop		: 'Posició dalt',
+		id				: 'Id',
+		langDir			: 'Direcció de l\'idioma',
+		langDirNotSet	: '<no definit>',
+		langDirLTR		: 'D\'esquerra a dreta (LTR)',
+		langDirRTL		: 'De dreta a esquerra (RTL)',
+		acccessKey		: 'Clau d\'accés',
+		name			: 'Nom',
+		langCode		: 'Direcció de l\'idioma',
+		tabIndex		: 'Index de Tab',
+		advisoryTitle	: 'Títol consultiu',
+		advisoryContentType	: 'Tipus de contingut consultiu',
+		cssClasses		: 'Classes del full d\'estil',
+		charset			: 'Conjunt de caràcters font enllaçat',
+		styles			: 'Estil',
+		selectAnchor	: 'Selecciona una àncora',
+		anchorName		: 'Per nom d\'àncora',
+		anchorId		: 'Per Id d\'element',
+		emailAddress	: 'Adreça de correu electrònic',
+		emailSubject	: 'Assumpte del missatge',
+		emailBody		: 'Cos del missatge',
+		noAnchors		: '(No hi ha àncores disponibles en aquest document)',
+		noUrl			: 'Si us plau, escrigui l\'enllaç URL',
+		noEmail			: 'Si us plau, escrigui l\'adreça correu electrònic'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Insereix/Edita àncora',
+		menu		: 'Propietats de l\'àncora',
+		title		: 'Propietats de l\'àncora',
+		name		: 'Nom de l\'àncora',
+		errorName	: 'Si us plau, escriviu el nom de l\'ancora'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Cerca i reemplaça',
+		find				: 'Cerca',
+		replace				: 'Reemplaça',
+		findWhat			: 'Cerca:',
+		replaceWith			: 'Remplaça amb:',
+		notFoundMsg			: 'El text especificat no s\'ha trobat.',
+		matchCase			: 'Distingeix majúscules/minúscules',
+		matchWord			: 'Només paraules completes',
+		matchCyclic			: 'Match cyclic',
+		replaceAll			: 'Reemplaça-ho tot',
+		replaceSuccessMsg	: '%1 ocurrència/es reemplaçada/es.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Taula',
+		title		: 'Propietats de la taula',
+		menu		: 'Propietats de la taula',
+		deleteTable	: 'Suprimeix la taula',
+		rows		: 'Files',
+		columns		: 'Columnes',
+		border		: 'Mida vora',
+		align		: 'Alineació',
+		alignNotSet	: '<No Definit>',
+		alignLeft	: 'Esquerra',
+		alignCenter	: 'Centre',
+		alignRight	: 'Dreta',
+		width		: 'Amplada',
+		widthPx		: 'píxels',
+		widthPc		: 'percentatge',
+		height		: 'Alçada',
+		cellSpace	: 'Espaiat de cel·les',
+		cellPad		: 'Encoixinament de cel·les',
+		caption		: 'Títol',
+		summary		: 'Resum',
+		headers		: 'Capçaleres',
+		headersNone		: 'Cap',
+		headersColumn	: 'Primera columna',
+		headersRow		: 'Primera fila',
+		headersBoth		: 'Ambdues',
+		invalidRows		: 'El nombre de files ha de ser un nombre major que 0.',
+		invalidCols		: 'El nombre de columnes ha de ser un nombre major que 0.',
+		invalidBorder	: 'El gruix de la vora ha de ser un nombre.',
+		invalidWidth	: 'L\'amplada de la taula  ha de ser un nombre.',
+		invalidHeight	: 'L\'alçada de la taula  ha de ser un nombre.',
+		invalidCellSpacing	: 'L\'espaiat de cel·la  ha de ser un nombre.',
+		invalidCellPadding	: 'L\'encoixinament de cel·la  ha de ser un nombre.',
+
+		cell :
+		{
+			menu			: 'Cel·la',
+			insertBefore	: 'Insereix cel·la abans de',
+			insertAfter		: 'Insereix cel·la darrera',
+			deleteCell		: 'Suprimeix les cel·les',
+			merge			: 'Fusiona les cel·les',
+			mergeRight		: 'Fusiona cap a la dreta',
+			mergeDown		: 'Fusiona cap avall',
+			splitHorizontal	: 'Divideix la cel·la horitzontalment',
+			splitVertical	: 'Divideix la cel·la verticalment',
+			title			: 'Propertiat de la cel·la',
+			cellType		: 'Tipus de cel·la',
+			rowSpan			: 'Expansió de files',
+			colSpan			: 'Expansió de columnes',
+			wordWrap		: 'Ajustar al contingut',
+			hAlign			: 'Aliniació Horizontal',
+			vAlign			: 'Aliniació Vertical',
+			alignTop		: 'A dalt',
+			alignMiddle		: 'Al mig',
+			alignBottom		: 'A baix',
+			alignBaseline	: 'A la línia base',
+			bgColor			: 'Color de fons',
+			borderColor		: 'Color de la vora',
+			data			: 'Data',
+			header			: 'Capçalera',
+			yes				: 'Sí',
+			no				: 'No',
+			invalidWidth	: 'L\'amplada de cel·la ha de ser un nombre.',
+			invalidHeight	: 'L\'alçada de cel·la ha de ser un nombre.',
+			invalidRowSpan	: 'L\'expansió de files ha de ser un nombre enter.',
+			invalidColSpan	: 'L\'expansió de columnes ha de ser un nombre enter.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Fila',
+			insertBefore	: 'Insereix fila abans de',
+			insertAfter		: 'Insereix fila darrera',
+			deleteRow		: 'Suprimeix una fila'
+		},
+
+		column :
+		{
+			menu			: 'Columna',
+			insertBefore	: 'Insereix columna abans de',
+			insertAfter		: 'Insereix columna darrera',
+			deleteColumn	: 'Suprimeix una columna'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propietats del botó',
+		text		: 'Text (Valor)',
+		type		: 'Tipus',
+		typeBtn		: 'Botó',
+		typeSbm		: 'Transmet formulari',
+		typeRst		: 'Reinicia formulari'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propietats de la casella de verificació',
+		radioTitle	: 'Propietats del botó d\'opció',
+		value		: 'Valor',
+		selected	: 'Seleccionat'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propietats del formulari',
+		menu		: 'Propietats del formulari',
+		action		: 'Acció',
+		method		: 'Mètode',
+		encoding	: 'Codificació',
+		target		: 'Destí',
+		targetNotSet	: '<no definit>',
+		targetNew	: 'Nova finestra (_blank)',
+		targetTop	: 'Finestra Major (_top)',
+		targetSelf	: 'Mateixa finestra (_self)',
+		targetParent	: 'Finestra pare (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propietats del camp de selecció',
+		selectInfo	: 'Info',
+		opAvail		: 'Opcions disponibles',
+		value		: 'Valor',
+		size		: 'Mida',
+		lines		: 'Línies',
+		chkMulti	: 'Permet múltiples seleccions',
+		opText		: 'Text',
+		opValue		: 'Valor',
+		btnAdd		: 'Afegeix',
+		btnModify	: 'Modifica',
+		btnUp		: 'Amunt',
+		btnDown		: 'Avall',
+		btnSetValue : 'Selecciona per defecte',
+		btnDelete	: 'Elimina'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propietats de l\'àrea de text',
+		cols		: 'Columnes',
+		rows		: 'Files'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propietats del camp de text',
+		name		: 'Nom',
+		value		: 'Valor',
+		charWidth	: 'Amplada',
+		maxChars	: 'Nombre màxim de caràcters',
+		type		: 'Tipus',
+		typeText	: 'Text',
+		typePass	: 'Contrasenya'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propietats del camp ocult',
+		name	: 'Nom',
+		value	: 'Valor'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propietats de la imatge',
+		titleButton	: 'Propietats del botó d\'imatge',
+		menu		: 'Propietats de la imatge',
+		infoTab	: 'Informació de la imatge',
+		btnUpload	: 'Envia-la al servidor',
+		url		: 'URL',
+		upload	: 'Puja',
+		alt		: 'Text alternatiu',
+		width		: 'Amplada',
+		height	: 'Alçada',
+		lockRatio	: 'Bloqueja les proporcions',
+		resetSize	: 'Restaura la mida',
+		border	: 'Vora',
+		hSpace	: 'Espaiat horit.',
+		vSpace	: 'Espaiat vert.',
+		align		: 'Alineació',
+		alignLeft	: 'Ajusta a l\'esquerra',
+		alignRight	: 'Ajusta a la dreta',
+		preview	: 'Vista prèvia',
+		alertUrl	: 'Si us plau, escriviu la URL de la imatge',
+		linkTab	: 'Enllaç',
+		button2Img	: 'Voleu transformar el botó d\'imatge seleccionat en una simple imatge?',
+		img2Button	: 'Voleu transformar la imatge seleccionada en un botó d\'imatge?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propietats del Flash',
+		propertiesTab	: 'Propietats',
+		title		: 'Propietats del Flash',
+		chkPlay		: 'Reprodució automàtica',
+		chkLoop		: 'Bucle',
+		chkMenu		: 'Habilita menú Flash',
+		chkFull		: 'Permetre la pantalla completa',
+ 		scale		: 'Escala',
+		scaleAll		: 'Mostra-ho tot',
+		scaleNoBorder	: 'Sense vores',
+		scaleFit		: 'Mida exacta',
+		access			: 'Accés a scripts',
+		accessAlways	: 'Sempre',
+		accessSameDomain	: 'El mateix domini',
+		accessNever	: 'Mai',
+		align		: 'Alineació',
+		alignLeft	: 'Ajusta a l\'esquerra',
+		alignAbsBottom: 'Abs Bottom',
+		alignAbsMiddle: 'Abs Middle',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Bottom',
+		alignMiddle	: 'Middle',
+		alignRight	: 'Ajusta a la dreta',
+		alignTextTop	: 'Text Top',
+		alignTop	: 'Top',
+		quality		: 'Qualitat',
+		qualityBest		 : 'La millor',
+		qualityHigh		 : 'Alta',
+		qualityAutoHigh	 : 'Alta automàtica',
+		qualityMedium	 : 'Mitjana',
+		qualityAutoLow	 : 'Baixa automàtica',
+		qualityLow		 : 'Baixa',
+		windowModeWindow	 : 'Finestra',
+		windowModeOpaque	 : 'Opaca',
+		windowModeTransparent	 : 'Transparent',
+		windowMode	: 'Mode de la finestra',
+		flashvars	: 'Variables de Flash',
+		bgcolor	: 'Color de Fons',
+		width	: 'Amplada',
+		height	: 'Alçada',
+		hSpace	: 'Espaiat horit.',
+		vSpace	: 'Espaiat vert.',
+		validateSrc : 'Si us plau, escrigui l\'enllaç URL',
+		validateWidth : 'L\'amplada ha de ser un nombre.',
+		validateHeight : 'L\'alçada ha de ser un nombre.',
+		validateHSpace : 'L\'espaiat horitzonatal ha de ser un nombre.',
+		validateVSpace : 'L\'espaiat vertical ha de ser un nombre.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Revisa l\'ortografia',
+		title			: 'Comprova l\'ortografia',
+		notAvailable	: 'El servei no es troba disponible ara.',
+		errorLoading	: 'Error carregant el servidor: %s.',
+		notInDic		: 'No és al diccionari',
+		changeTo		: 'Reemplaça amb',
+		btnIgnore		: 'Ignora',
+		btnIgnoreAll	: 'Ignora-les totes',
+		btnReplace		: 'Canvia',
+		btnReplaceAll	: 'Canvia-les totes',
+		btnUndo			: 'Desfés',
+		noSuggestions	: 'Cap suggeriment',
+		progress		: 'Verificació ortogràfica en curs...',
+		noMispell		: 'Verificació ortogràfica acabada: no hi ha cap paraula mal escrita',
+		noChanges		: 'Verificació ortogràfica: no s\'ha canviat cap paraula',
+		oneChange		: 'Verificació ortogràfica: s\'ha canviat una paraula',
+		manyChanges		: 'Verificació ortogràfica: s\'han canviat %1 paraules',
+		ieSpellDownload	: 'Verificació ortogràfica no instal·lada. Voleu descarregar-ho ara?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Icona',
+		title	: 'Insereix una icona'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Llista numerada',
+	bulletedlist : 'Llista de pics',
+	indent : 'Augmenta el sagnat',
+	outdent : 'Redueix el sagnat',
+
+	justify :
+	{
+		left : 'Alinia a l\'esquerra',
+		center : 'Centrat',
+		right : 'Alinia a la dreta',
+		block : 'Justificat'
+	},
+
+	blockquote : 'Bloc de cita',
+
+	clipboard :
+	{
+		title		: 'Enganxa',
+		cutError	: 'La seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).',
+		copyError	: 'La seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).',
+		pasteMsg	: 'Si us plau, enganxeu dins del següent camp utilitzant el teclat (<STRONG>Ctrl+V</STRONG>) i premeu <STRONG>OK</STRONG>.',
+		securityMsg	: 'A causa de la configuració de seguretat del vostre navegador, l\'editor no pot accedir al porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?',
+		toolbar : 'Enganxa des del Word',
+		title : 'Enganxa des del Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Enganxa com a text no formatat',
+		title : 'Enganxa com a text no formatat'
+	},
+
+	templates :
+	{
+		button : 'Plantilles',
+		title : 'Contingut plantilles',
+		insertOption: 'Reemplaça el contingut actual',
+		selectPromptMsg: 'Si us plau, seleccioneu la plantilla per obrir a l\'editor<br>(el contingut actual no serà enregistrat):',
+		emptyListMsg : '(No hi ha plantilles definides)'
+	},
+
+	showBlocks : 'Mostra els blocs',
+
+	stylesCombo :
+	{
+		label : 'Estil',
+		voiceLabel : 'Estils',
+		panelVoiceLabel : 'Seleccioneu un estil',
+		panelTitle1 : 'Estils de bloc',
+		panelTitle2 : 'Estils incrustats',
+		panelTitle3 : 'Estils d\'objecte'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Seleccioneu un format de paràgraf',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatejat',
+		tag_address : 'Adreça',
+		tag_h1 : 'Encapçalament 1',
+		tag_h2 : 'Encapçalament 2',
+		tag_h3 : 'Encapçalament 3',
+		tag_h4 : 'Encapçalament 4',
+		tag_h5 : 'Encapçalament 5',
+		tag_h6 : 'Encapçalament 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Tipus de lletra',
+		voiceLabel : 'Tipus de lletra',
+		panelTitle : 'Tipus de lletra',
+		panelVoiceLabel : 'Seleccioneu un tipus de lletra'
+	},
+
+	fontSize :
+	{
+		label : 'Mida',
+		voiceLabel : 'Mida de la lletra',
+		panelTitle : 'Mida',
+		panelVoiceLabel : 'Seleccioneu una mida de lletra'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Color de Text',
+		bgColorTitle : 'Color de Fons',
+		auto : 'Automàtic',
+		more : 'Més colors...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type',
+		enable : 'Habilitat l\'SCAYT',
+		disable : 'Deshabilita SCAYT',
+		about : 'Quant a l\'SCAYT',
+		toggle : 'Commuta l\'SCAYT',
+		options : 'Opcions',
+		langs : 'Idiomes',
+		moreSuggestions : 'Més suggerències',
+		ignore : 'Ignora',
+		ignoreAll : 'Ignora\'ls tots',
+		addWord : 'Afegeix una paraula',
+		emptyDic : 'El nom del diccionari no hauria d\'estar buit.',
+		optionsTab : 'Opcions',
+		languagesTab : 'Idiomes',
+		dictionariesTab : 'Diccionaris',
+		aboutTab : 'Quant a'
+	},
+
+	about :
+	{
+		title : 'Quan al CKEditor',
+		dlgTitle : 'Quan al CKEditor',
+		moreInfo : 'Per informació sobre llicències visiteu el web:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximiza',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Àncora',
+		flash : 'Animació Flash',
+		div : 'Salt de pàgina',
+		unknown : 'Objecte desconegut'
+	},
+
+	resize : 'Arrossegueu per redimensionar',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/cs.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/cs.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/cs.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Czech language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['cs'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editor formátovaného textu, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Zdroj',
+	newPage			: 'Nová stránka',
+	save			: 'Uložit',
+	preview			: 'Náhled',
+	cut				: 'Vyjmout',
+	copy			: 'Kopírovat',
+	paste			: 'Vložit',
+	print			: 'Tisk',
+	underline		: 'Podtržené',
+	bold			: 'Tučné',
+	italic			: 'Kurzíva',
+	selectAll		: 'Vybrat vše',
+	removeFormat	: 'Odstranit formátování',
+	strike			: 'Přeškrtnuté',
+	subscript		: 'Dolní index',
+	superscript		: 'Horní index',
+	horizontalrule	: 'Vložit vodorovnou linku',
+	pagebreak		: 'Vložit konec stránky',
+	unlink			: 'Odstranit odkaz',
+	undo			: 'Zpět',
+	redo			: 'Znovu',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Vybrat na serveru',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Odeslat',
+		uploadSubmit	: 'Odeslat na server',
+		image			: 'Obrázek',
+		flash			: 'Flash',
+		form			: 'Formulář',
+		checkbox		: 'Zaškrtávací políčko',
+		radio		: 'Přepínač',
+		textField		: 'Textové pole',
+		textarea		: 'Textová oblast',
+		hiddenField		: 'Skryté pole',
+		button			: 'Tlačítko',
+		select	: 'Seznam',
+		imageButton		: 'Obrázkové tlačítko',
+		notSet			: '<nenastaveno>',
+		id				: 'Id',
+		name			: 'Jméno',
+		langDir			: 'Orientace jazyka',
+		langDirLtr		: 'Zleva do prava (LTR)',
+		langDirRtl		: 'Zprava do leva (RTL)',
+		langCode		: 'Kód jazyka',
+		longDescr		: 'Dlouhý popis URL',
+		cssClass		: 'Třída stylu',
+		advisoryTitle	: 'Pomocný titulek',
+		cssStyle		: 'Styl',
+		ok				: 'OK',
+		cancel			: 'Storno',
+		generalTab		: 'Obecné',
+		advancedTab		: 'Rozšířené',
+		validateNumberFailed	: 'Zadaná hodnota není číselná.',
+		confirmNewPage	: 'Jakékoliv neuložené změny obsahu budou ztraceny. Skutečně chete otevrít novou stránku?',
+		confirmCancel	: 'Některá z nastavení byla změněna. Skutečně chete zavřít dialogové okno?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, nedostupné</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Vložit speciální znaky',
+		title		: 'Výběr speciálního znaku'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Vložit/změnit odkaz',
+		menu		: 'Změnit odkaz',
+		title		: 'Odkaz',
+		info		: 'Informace o odkazu',
+		target		: 'Cíl',
+		upload		: 'Odeslat',
+		advanced	: 'Rozšířené',
+		type		: 'Typ odkazu',
+		toAnchor	: 'Kotva v této stránce',
+		toEmail		: 'E-Mail',
+		target		: 'Cíl',
+		targetNotSet	: '<nenastaveno>',
+		targetFrame	: '<rámec>',
+		targetPopup	: '<vyskakovací okno>',
+		targetNew	: 'Nové okno (_blank)',
+		targetTop	: 'Hlavní okno (_top)',
+		targetSelf	: 'Stejné okno (_self)',
+		targetParent	: 'Rodičovské okno (_parent)',
+		targetFrameName	: 'Název cílového rámu',
+		targetPopupName	: 'Název vyskakovacího okna',
+		popupFeatures	: 'Vlastnosti vyskakovacího okna',
+		popupResizable	: 'Umožňující měnit velikost',
+		popupStatusBar	: 'Stavový řádek',
+		popupLocationBar	: 'Panel umístění',
+		popupToolbar	: 'Panel nástrojů',
+		popupMenuBar	: 'Panel nabídky',
+		popupFullScreen	: 'Celá obrazovka (IE)',
+		popupScrollBars	: 'Posuvníky',
+		popupDependent	: 'Závislost (Netscape)',
+		popupWidth		: 'Šířka',
+		popupLeft		: 'Levý okraj',
+		popupHeight		: 'Výška',
+		popupTop		: 'Horní okraj',
+		id				: 'Id',
+		langDir			: 'Orientace jazyka',
+		langDirNotSet	: '<nenastaveno>',
+		langDirLTR		: 'Zleva do prava (LTR)',
+		langDirRTL		: 'Zprava do leva (RTL)',
+		acccessKey		: 'Přístupový klíč',
+		name			: 'Jméno',
+		langCode		: 'Orientace jazyka',
+		tabIndex		: 'Pořadí prvku',
+		advisoryTitle	: 'Pomocný titulek',
+		advisoryContentType	: 'Pomocný typ obsahu',
+		cssClasses		: 'Třída stylu',
+		charset			: 'Přiřazená znaková sada',
+		styles			: 'Styl',
+		selectAnchor	: 'Vybrat kotvu',
+		anchorName		: 'Podle jména kotvy',
+		anchorId		: 'Podle Id objektu',
+		emailAddress	: 'E-Mailová adresa',
+		emailSubject	: 'Předmět zprávy',
+		emailBody		: 'Tělo zprávy',
+		noAnchors		: '(Ve stránce není definována žádná kotva!)',
+		noUrl			: 'Zadejte prosím URL odkazu',
+		noEmail			: 'Zadejte prosím e-mailovou adresu'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Vložít/změnit záložku',
+		menu		: 'Vlastnosti záložky',
+		title		: 'Vlastnosti záložky',
+		name		: 'Název záložky',
+		errorName	: 'Zadejte prosím název záložky'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Najít a nahradit',
+		find				: 'Hledat',
+		replace				: 'Nahradit',
+		findWhat			: 'Co hledat:',
+		replaceWith			: 'Čím nahradit:',
+		notFoundMsg			: 'Hledaný text nebyl nalezen.',
+		matchCase			: 'Rozlišovat velikost písma',
+		matchWord			: 'Pouze celá slova',
+		matchCyclic			: 'Procházet opakovaně',
+		replaceAll			: 'Nahradit vše',
+		replaceSuccessMsg	: '%1 nahrazení.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabulka',
+		title		: 'Vlastnosti tabulky',
+		menu		: 'Vlastnosti tabulky',
+		deleteTable	: 'Smazat tabulku',
+		rows		: 'Řádky',
+		columns		: 'Sloupce',
+		border		: 'Ohraničení',
+		align		: 'Zarovnání',
+		alignNotSet	: '<nenastaveno>',
+		alignLeft	: 'Vlevo',
+		alignCenter	: 'Na střed',
+		alignRight	: 'Vpravo',
+		width		: 'Šířka',
+		widthPx		: 'bodů',
+		widthPc		: 'procent',
+		height		: 'Výška',
+		cellSpace	: 'Vzdálenost buněk',
+		cellPad		: 'Odsazení obsahu v buňce',
+		caption		: 'Popis',
+		summary		: 'Souhrn',
+		headers		: 'Záhlaví',
+		headersNone		: 'Žádné',
+		headersColumn	: 'První sloupec',
+		headersRow		: 'První řádek',
+		headersBoth		: 'Obojí',
+		invalidRows		: 'Počet řádků musí být číslo větší než 0.',
+		invalidCols		: 'Počet sloupců musí být číslo větší než 0.',
+		invalidBorder	: 'Zdaná velikost okraje musí být číselná.',
+		invalidWidth	: 'Zadaná šířka tabulky musí být číselná.',
+		invalidHeight	: 'zadaná výška tabulky musí být číselná.',
+		invalidCellSpacing	: 'Zadaná vzdálenost buněk musí být číselná.',
+		invalidCellPadding	: 'Zadané odsazení obsahu v buňce musí být číselné.',
+
+		cell :
+		{
+			menu			: 'Buňka',
+			insertBefore	: 'Vložit buňku před',
+			insertAfter		: 'Vložit buňku za',
+			deleteCell		: 'Smazat buňky',
+			merge			: 'Sloučit buňky',
+			mergeRight		: 'Sloučit doprava',
+			mergeDown		: 'Sloučit dolů',
+			splitHorizontal	: 'Rozdělit buňky vodorovně',
+			splitVertical	: 'Rozdělit buňky svisle',
+			title			: 'Vlastnosti buňky',
+			cellType		: 'Typ buňky',
+			rowSpan			: 'Spojit řádky',
+			colSpan			: 'Spojit sloupce',
+			wordWrap		: 'Zalamování',
+			hAlign			: 'Vodorovné zarovnání',
+			vAlign			: 'Svislé zarovnání',
+			alignTop		: 'Nahoru',
+			alignMiddle		: 'Doprostřed',
+			alignBottom		: 'Dolů',
+			alignBaseline	: 'Na účaří',
+			bgColor			: 'Barva pozadí',
+			borderColor		: 'Barva okraje',
+			data			: 'Data',
+			header			: 'Hlavička',
+			yes				: 'Ano',
+			no				: 'Ne',
+			invalidWidth	: 'Zadaná šířka buňky musí být číslená.',
+			invalidHeight	: 'Zadaná výška buňky musí být číslená.',
+			invalidRowSpan	: 'Zadaný počet sloučených řádků musí být celé číslo.',
+			invalidColSpan	: 'Zadaný počet sloučených sloupců musí být celé číslo.',
+			chooseColor : 'Výběr'
+		},
+
+		row :
+		{
+			menu			: 'Řádek',
+			insertBefore	: 'Vložit řádek před',
+			insertAfter		: 'Vložit řádek za',
+			deleteRow		: 'Smazat řádky'
+		},
+
+		column :
+		{
+			menu			: 'Sloupec',
+			insertBefore	: 'Vložit sloupec před',
+			insertAfter		: 'Vložit sloupec za',
+			deleteColumn	: 'Smazat sloupec'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Vlastnosti tlačítka',
+		text		: 'Popisek',
+		type		: 'Typ',
+		typeBtn		: 'Tlačítko',
+		typeSbm		: 'Odeslat',
+		typeRst		: 'Obnovit'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Vlastnosti zaškrtávacího políčka',
+		radioTitle	: 'Vlastnosti přepínače',
+		value		: 'Hodnota',
+		selected	: 'Zaškrtnuto'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Vlastnosti formuláře',
+		menu		: 'Vlastnosti formuláře',
+		action		: 'Akce',
+		method		: 'Metoda',
+		encoding	: 'Kódování',
+		target		: 'Cíl',
+		targetNotSet	: '<nenastaveno>',
+		targetNew	: 'Nové okno (_blank)',
+		targetTop	: 'Hlavní okno (_top)',
+		targetSelf	: 'Stejné okno (_self)',
+		targetParent	: 'Rodičovské okno (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Vlastnosti seznamu',
+		selectInfo	: 'Info',
+		opAvail		: 'Dostupná nastavení',
+		value		: 'Hodnota',
+		size		: 'Velikost',
+		lines		: 'Řádků',
+		chkMulti	: 'Povolit mnohonásobné výběry',
+		opText		: 'Text',
+		opValue		: 'Hodnota',
+		btnAdd		: 'Přidat',
+		btnModify	: 'Změnit',
+		btnUp		: 'Nahoru',
+		btnDown		: 'Dolů',
+		btnSetValue : 'Nastavit jako vybranou hodnotu',
+		btnDelete	: 'Smazat'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Vlastnosti textové oblasti',
+		cols		: 'Sloupců',
+		rows		: 'Řádků'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Vlastnosti textového pole',
+		name		: 'Název',
+		value		: 'Hodnota',
+		charWidth	: 'Šířka ve znacích',
+		maxChars	: 'Maximální počet znaků',
+		type		: 'Typ',
+		typeText	: 'Text',
+		typePass	: 'Heslo'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Vlastnosti skrytého pole',
+		name	: 'Název',
+		value	: 'Hodnota'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Vlastnosti obrázku',
+		titleButton	: 'Vlastností obrázkového tlačítka',
+		menu		: 'Vlastnosti obrázku',
+		infoTab	: 'Informace o obrázku',
+		btnUpload	: 'Odeslat na server',
+		url		: 'URL',
+		upload	: 'Odeslat',
+		alt		: 'Alternativní text',
+		width		: 'Šířka',
+		height	: 'Výška',
+		lockRatio	: 'Zámek',
+		resetSize	: 'Původní velikost',
+		border	: 'Okraje',
+		hSpace	: 'H-mezera',
+		vSpace	: 'V-mezera',
+		align		: 'Zarovnání',
+		alignLeft	: 'Vlevo',
+		alignRight	: 'Vpravo',
+		preview	: 'Náhled',
+		alertUrl	: 'Zadejte prosím URL obrázku',
+		linkTab	: 'Odkaz',
+		button2Img	: 'Skutečně chcete převést zvolené obrázkové tlačítko na obyčejný obrázek?',
+		img2Button	: 'Skutečně chcete převést zvolený obrázek na obrázkové tlačítko?',
+		urlMissing : 'Zadané URL zdroje obrázku nebylo nalezeno.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Vlastnosti Flashe',
+		propertiesTab	: 'Vlastnosti',
+		title		: 'Vlastnosti Flashe',
+		chkPlay		: 'Automatické spuštění',
+		chkLoop		: 'Opakování',
+		chkMenu		: 'Nabídka Flash',
+		chkFull		: 'Povolit celoobrazovkový režim',
+ 		scale		: 'Zobrazit',
+		scaleAll		: 'Zobrazit vše',
+		scaleNoBorder	: 'Bez okraje',
+		scaleFit		: 'Přizpůsobit',
+		access			: 'Přístup ke skriptu',
+		accessAlways	: 'Vždy',
+		accessSameDomain	: 'Ve stejné doméně',
+		accessNever	: 'Nikdy',
+		align		: 'Zarovnání',
+		alignLeft	: 'Vlevo',
+		alignAbsBottom: 'Zcela dolů',
+		alignAbsMiddle: 'Doprostřed',
+		alignBaseline	: 'Na účaří',
+		alignBottom	: 'Dolů',
+		alignMiddle	: 'Na střed',
+		alignRight	: 'Vpravo',
+		alignTextTop	: 'Na horní okraj textu',
+		alignTop	: 'Nahoru',
+		quality		: 'Kvalita',
+		qualityBest		 : 'Nejlepší',
+		qualityHigh		 : 'Vysoká',
+		qualityAutoHigh	 : 'Vysoká - auto',
+		qualityMedium	 : 'Střední',
+		qualityAutoLow	 : 'Nízká - auto',
+		qualityLow		 : 'Nejnižší',
+		windowModeWindow	 : 'Okno',
+		windowModeOpaque	 : 'Neprůhledné',
+		windowModeTransparent	 : 'Průhledné',
+		windowMode	: 'Režim okna',
+		flashvars	: 'Proměnné pro Flash',
+		bgcolor	: 'Barva pozadí',
+		width	: 'Šířka',
+		height	: 'Výška',
+		hSpace	: 'H-mezera',
+		vSpace	: 'V-mezera',
+		validateSrc : 'Zadejte prosím URL odkazu',
+		validateWidth : 'Zadaná šířka musí být číslo.',
+		validateHeight : 'Zadaná výška musí být číslo.',
+		validateHSpace : 'Zadaná H-mezera musí být číslo.',
+		validateVSpace : 'Zadaná V-mezera musí být číslo.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Zkontrolovat pravopis',
+		title			: 'Kontrola pravopisu',
+		notAvailable	: 'Omlouváme se, ale služba nyní není dostupná.',
+		errorLoading	: 'Chyba nahrávání služby aplikace z: %s.',
+		notInDic		: 'Není ve slovníku',
+		changeTo		: 'Změnit na',
+		btnIgnore		: 'Přeskočit',
+		btnIgnoreAll	: 'Přeskakovat vše',
+		btnReplace		: 'Zaměnit',
+		btnReplaceAll	: 'Zaměňovat vše',
+		btnUndo			: 'Zpět',
+		noSuggestions	: '- žádné návrhy -',
+		progress		: 'Probíhá kontrola pravopisu...',
+		noMispell		: 'Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny',
+		noChanges		: 'Kontrola pravopisu dokončena: Beze změn',
+		oneChange		: 'Kontrola pravopisu dokončena: Jedno slovo změněno',
+		manyChanges		: 'Kontrola pravopisu dokončena: %1 slov změněno',
+		ieSpellDownload	: 'Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smajlíky',
+		title	: 'Vkládání smajlíků'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 objekt'
+	},
+
+	numberedlist : 'Číslování',
+	bulletedlist : 'Odrážky',
+	indent : 'Zvětšit odsazení',
+	outdent : 'Zmenšit odsazení',
+
+	justify :
+	{
+		left : 'Zarovnat vlevo',
+		center : 'Zarovnat na střed',
+		right : 'Zarovnat vpravo',
+		block : 'Zarovnat do bloku'
+	},
+
+	blockquote : 'Citace',
+
+	clipboard :
+	{
+		title		: 'Vložit',
+		cutError	: 'Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl+X).',
+		copyError	: 'Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl+C).',
+		pasteMsg	: 'Do následujícího pole vložte požadovaný obsah pomocí klávesnice (<STRONG>Ctrl+V</STRONG>) a stiskněte <STRONG>OK</STRONG>.',
+		securityMsg	: 'Z důvodů nastavení bezpečnosti Vašeho prohlížeče nemůže editor přistupovat přímo do schránky. Obsah schránky prosím vložte znovu do tohoto okna.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?',
+		toolbar : 'Vložit z Wordu',
+		title : 'Vložit z Wordu',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Vložit jako čistý text',
+		title : 'Vložit jako čistý text'
+	},
+
+	templates :
+	{
+		button : 'Šablony',
+		title : 'Šablony obsahu',
+		insertOption: 'Nahradit aktuální obsah',
+		selectPromptMsg: 'Prosím zvolte šablonu pro otevření v editoru<br>(aktuální obsah editoru bude ztracen):',
+		emptyListMsg : '(Není definována žádná šablona)'
+	},
+
+	showBlocks : 'Ukázat bloky',
+
+	stylesCombo :
+	{
+		label : 'Styl',
+		voiceLabel : 'Styly',
+		panelVoiceLabel : 'Výběr stylu',
+		panelTitle1 : 'Blokové styly',
+		panelTitle2 : 'Řádkové styly',
+		panelTitle3 : 'Objektové styly'
+	},
+
+	format :
+	{
+		label : 'Formát',
+		voiceLabel : 'Formátování',
+		panelTitle : 'Formát',
+		panelVoiceLabel : 'Volba formátu odstavce',
+
+		tag_p : 'Normální',
+		tag_pre : 'Naformátováno',
+		tag_address : 'Adresa',
+		tag_h1 : 'Nadpis 1',
+		tag_h2 : 'Nadpis 2',
+		tag_h3 : 'Nadpis 3',
+		tag_h4 : 'Nadpis 4',
+		tag_h5 : 'Nadpis 5',
+		tag_h6 : 'Nadpis 6',
+		tag_div : 'Normální (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Písmo',
+		voiceLabel : 'Písmo',
+		panelTitle : 'Písmo',
+		panelVoiceLabel : 'Volba písma'
+	},
+
+	fontSize :
+	{
+		label : 'Velikost',
+		voiceLabel : 'Velikost písma',
+		panelTitle : 'Velikost',
+		panelVoiceLabel : 'Volba velikosti písma'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Barva textu',
+		bgColorTitle : 'Barva pozadí',
+		auto : 'Automaticky',
+		more : 'Více barev...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Kontrola pravopisu během psaní (SCAYT)',
+		enable : 'Zapnout SCAYT',
+		disable : 'Vypnout SCAYT',
+		about : 'O aplikaci SCAYT',
+		toggle : 'Vypínač SCAYT',
+		options : 'Nastavení',
+		langs : 'Jazyky',
+		moreSuggestions : 'Více návrhů',
+		ignore : 'Přeskočit',
+		ignoreAll : 'Přeskočit vše',
+		addWord : 'Přidat slovo',
+		emptyDic : 'Název slovníku nesmí být prázdný.',
+		optionsTab : 'Nastavení',
+		languagesTab : 'Jazyky',
+		dictionariesTab : 'Slovníky',
+		aboutTab : 'O aplikaci'
+	},
+
+	about :
+	{
+		title : 'O aplikaci CKEditor',
+		dlgTitle : 'O aplikaci CKEditor',
+		moreInfo : 'Pro informace o lincenci navštivte naši webovou stránku:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximalizovat',
+	minimize : 'Minimalizovat',
+
+	fakeobjects :
+	{
+		anchor : 'Záložka',
+		flash : 'Flash animace',
+		div : 'Zalomení stránky',
+		unknown : 'Neznámý objekt'
+	},
+
+	resize : 'Uchopit pro změnu velikosti',
+
+	colordialog :
+	{
+		title : 'Výběr barvy',
+		highlight : 'Zvýraznit',
+		selected : 'Vybráno',
+		clear : 'Vyčistit'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/da.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/da.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/da.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Danish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['da'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kilde',
+	newPage			: 'Ny side',
+	save			: 'Gem',
+	preview			: 'Vis eksempel',
+	cut				: 'Klip',
+	copy			: 'Kopiér',
+	paste			: 'Indsæt',
+	print			: 'Udskriv',
+	underline		: 'Understreget',
+	bold			: 'Fed',
+	italic			: 'Kursiv',
+	selectAll		: 'Vælg alt',
+	removeFormat	: 'Fjern formatering',
+	strike			: 'Gennemstreget',
+	subscript		: 'Sænket skrift',
+	superscript		: 'Hævet skrift',
+	horizontalrule	: 'Indsæt vandret streg',
+	pagebreak		: 'Indsæt sideskift',
+	unlink			: 'Fjern hyperlink',
+	undo			: 'Fortryd',
+	redo			: 'Annullér fortryd',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Gennemse...',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Upload',
+		image			: 'Indsæt billede',
+		flash			: 'Indsæt Flash',
+		form			: 'Indsæt formular',
+		checkbox		: 'Indsæt afkrydsningsfelt',
+		radio		: 'Indsæt alternativknap',
+		textField		: 'Indsæt tekstfelt',
+		textarea		: 'Indsæt tekstboks',
+		hiddenField		: 'Indsæt skjult felt',
+		button			: 'Indsæt knap',
+		select	: 'Indsæt liste',
+		imageButton		: 'Indsæt billedknap',
+		notSet			: '<intet valgt>',
+		id				: 'Id',
+		name			: 'Navn',
+		langDir			: 'Tekstretning',
+		langDirLtr		: 'Fra venstre mod højre (LTR)',
+		langDirRtl		: 'Fra højre mod venstre (RTL)',
+		langCode		: 'Sprogkode',
+		longDescr		: 'Udvidet beskrivelse',
+		cssClass		: 'Typografiark (CSS)',
+		advisoryTitle	: 'Titel',
+		cssStyle		: 'Typografi (CSS)',
+		ok				: 'OK',
+		cancel			: 'Annullér',
+		generalTab		: 'Generelt',
+		advancedTab		: 'Avanceret',
+		validateNumberFailed	: 'Værdien er ikke et tal.',
+		confirmNewPage	: 'Alt indhold, der ikke er blevet gemt, vil gå tabt. Er du sikker på, at du vil indlæse en ny side?',
+		confirmCancel	: 'Nogle af indstillingerne er blevet ændret. Er du sikker på, at du vil lukke vinduet?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, ikke tilgængelig</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Indsæt symbol',
+		title		: 'Vælg symbol'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Indsæt/redigér hyperlink',
+		menu		: 'Redigér hyperlink',
+		title		: 'Egenskaber for hyperlink',
+		info		: 'Generelt',
+		target		: 'Mål',
+		upload		: 'Upload',
+		advanced	: 'Avanceret',
+		type		: 'Type',
+		toAnchor	: 'Bogmærke på denne side',
+		toEmail		: 'E-mail',
+		target		: 'Mål',
+		targetNotSet	: '<intet valgt>',
+		targetFrame	: '<ramme>',
+		targetPopup	: '<popup vindue>',
+		targetNew	: 'Nyt vindue (_blank)',
+		targetTop	: 'Hele vinduet (_top)',
+		targetSelf	: 'Samme vindue/ramme (_self)',
+		targetParent	: 'Overordnet vindue/ramme (_parent)',
+		targetFrameName	: 'Destinationsvinduets navn',
+		targetPopupName	: 'Popup vinduets navn',
+		popupFeatures	: 'Egenskaber for popup',
+		popupResizable	: 'Justérbar',
+		popupStatusBar	: 'Statuslinje',
+		popupLocationBar	: 'Adresselinje',
+		popupToolbar	: 'Værktøjslinje',
+		popupMenuBar	: 'Menulinje',
+		popupFullScreen	: 'Fuld skærm (IE)',
+		popupScrollBars	: 'Scrollbar',
+		popupDependent	: 'Koblet/dependent (Netscape)',
+		popupWidth		: 'Bredde',
+		popupLeft		: 'Position fra venstre',
+		popupHeight		: 'Højde',
+		popupTop		: 'Position fra toppen',
+		id				: 'Id',
+		langDir			: 'Tekstretning',
+		langDirNotSet	: '<intet valgt>',
+		langDirLTR		: 'Fra venstre mod højre (LTR)',
+		langDirRTL		: 'Fra højre mod venstre (RTL)',
+		acccessKey		: 'Genvejstast',
+		name			: 'Navn',
+		langCode		: 'Tekstretning',
+		tabIndex		: 'Tabulator indeks',
+		advisoryTitle	: 'Titel',
+		advisoryContentType	: 'Indholdstype',
+		cssClasses		: 'Typografiark',
+		charset			: 'Tegnsæt',
+		styles			: 'Typografi',
+		selectAnchor	: 'Vælg et anker',
+		anchorName		: 'Efter anker navn',
+		anchorId		: 'Efter element Id',
+		emailAddress	: 'E-mail adresse',
+		emailSubject	: 'Emne',
+		emailBody		: 'Besked',
+		noAnchors		: '(Ingen bogmærker i dokumentet)',
+		noUrl			: 'Indtast hyperlink URL!',
+		noEmail			: 'Indtast e-mail adresse!'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Indsæt/redigér bogmærke',
+		menu		: 'Egenskaber for bogmærke',
+		title		: 'Egenskaber for bogmærke',
+		name		: 'Bogmærke navn',
+		errorName	: 'Indtast bogmærke navn'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Søg og erstat',
+		find				: 'Søg',
+		replace				: 'Erstat',
+		findWhat			: 'Søg efter:',
+		replaceWith			: 'Erstat med:',
+		notFoundMsg			: 'Søgeteksten blev ikke fundet',
+		matchCase			: 'Forskel på store og små bogstaver',
+		matchWord			: 'Kun hele ord',
+		matchCyclic			: 'Match cyklisk',
+		replaceAll			: 'Erstat alle',
+		replaceSuccessMsg	: '%1 forekomst(er) erstattet.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabel',
+		title		: 'Egenskaber for tabel',
+		menu		: 'Egenskaber for tabel',
+		deleteTable	: 'Slet tabel',
+		rows		: 'Rækker',
+		columns		: 'Kolonner',
+		border		: 'Rammebredde',
+		align		: 'Justering',
+		alignNotSet	: '<intet valgt>',
+		alignLeft	: 'Venstrestillet',
+		alignCenter	: 'Centreret',
+		alignRight	: 'Højrestillet',
+		width		: 'Bredde',
+		widthPx		: 'pixels',
+		widthPc		: 'procent',
+		height		: 'Højde',
+		cellSpace	: 'Celleafstand',
+		cellPad		: 'Cellemargen',
+		caption		: 'Titel',
+		summary		: 'Resumé',
+		headers		: 'Header',
+		headersNone		: 'Ingen',
+		headersColumn	: 'Første kolonne',
+		headersRow		: 'Første række',
+		headersBoth		: 'Begge',
+		invalidRows		: 'Antallet af rækker skal være større end 0.',
+		invalidCols		: 'Antallet af kolonner skal være større end 0.',
+		invalidBorder	: 'Rammetykkelse skal være et tal.',
+		invalidWidth	: 'Tabelbredde skal være et tal.',
+		invalidHeight	: 'Tabelhøjde skal være et tal.',
+		invalidCellSpacing	: 'Celleafstand skal være et tal.',
+		invalidCellPadding	: 'Cellemargen skal være et tal.',
+
+		cell :
+		{
+			menu			: 'Celle',
+			insertBefore	: 'Indsæt celle før',
+			insertAfter		: 'Indsæt celle efter',
+			deleteCell		: 'Slet celle',
+			merge			: 'Flet celler',
+			mergeRight		: 'Flet til højre',
+			mergeDown		: 'Flet nedad',
+			splitHorizontal	: 'Del celle vandret',
+			splitVertical	: 'Del celle lodret',
+			title			: 'Celleegenskaber',
+			cellType		: 'Celletype',
+			rowSpan			: 'Række span (rows span)',
+			colSpan			: 'Kolonne span (columns span)',
+			wordWrap		: 'Tekstombrydning',
+			hAlign			: 'Vandret justering',
+			vAlign			: 'Lodret justering',
+			alignTop		: 'Top',
+			alignMiddle		: 'Midt',
+			alignBottom		: 'Bund',
+			alignBaseline	: 'Grundlinje',
+			bgColor			: 'Baggrundsfarve',
+			borderColor		: 'Rammefarve',
+			data			: 'Data',
+			header			: 'Header',
+			yes				: 'Ja',
+			no				: 'Nej',
+			invalidWidth	: 'Cellebredde skal være et tal.',
+			invalidHeight	: 'Cellehøjde skal være et tal.',
+			invalidRowSpan	: 'Række span skal være et heltal.',
+			invalidColSpan	: 'Kolonne span skal være et heltal.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Række',
+			insertBefore	: 'Indsæt række før',
+			insertAfter		: 'Indsæt række efter',
+			deleteRow		: 'Slet række'
+		},
+
+		column :
+		{
+			menu			: 'Kolonne',
+			insertBefore	: 'Indsæt kolonne før',
+			insertAfter		: 'Indsæt kolonne efter',
+			deleteColumn	: 'Slet kolonne'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Egenskaber for knap',
+		text		: 'Tekst',
+		type		: 'Type',
+		typeBtn		: 'Knap',
+		typeSbm		: 'Send',
+		typeRst		: 'Nulstil'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Egenskaber for afkrydsningsfelt',
+		radioTitle	: 'Egenskaber for alternativknap',
+		value		: 'Værdi',
+		selected	: 'Valgt'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Egenskaber for formular',
+		menu		: 'Egenskaber for formular',
+		action		: 'Handling',
+		method		: 'Metode',
+		encoding	: 'Kodning (encoding)',
+		target		: 'Mål',
+		targetNotSet	: '<intet valgt>',
+		targetNew	: 'Nyt vindue (_blank)',
+		targetTop	: 'Hele vinduet (_top)',
+		targetSelf	: 'Samme vindue/ramme (_self)',
+		targetParent	: 'Overordnet vindue/ramme (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Egenskaber for liste',
+		selectInfo	: 'Generelt',
+		opAvail		: 'Valgmuligheder',
+		value		: 'Værdi',
+		size		: 'Størrelse',
+		lines		: 'Linjer',
+		chkMulti	: 'Tillad flere valg',
+		opText		: 'Tekst',
+		opValue		: 'Værdi',
+		btnAdd		: 'Tilføj',
+		btnModify	: 'Redigér',
+		btnUp		: 'Op',
+		btnDown		: 'Ned',
+		btnSetValue : 'Sæt som valgt',
+		btnDelete	: 'Slet'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Egenskaber for tekstboks',
+		cols		: 'Kolonner',
+		rows		: 'Rækker'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Egenskaber for tekstfelt',
+		name		: 'Navn',
+		value		: 'Værdi',
+		charWidth	: 'Bredde (tegn)',
+		maxChars	: 'Max. antal tegn',
+		type		: 'Type',
+		typeText	: 'Tekst',
+		typePass	: 'Adgangskode'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Egenskaber for skjult felt',
+		name	: 'Navn',
+		value	: 'Værdi'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Egenskaber for billede',
+		titleButton	: 'Egenskaber for billedknap',
+		menu		: 'Egenskaber for billede',
+		infoTab	: 'Generelt',
+		btnUpload	: 'Upload',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternativ tekst',
+		width		: 'Bredde',
+		height	: 'Højde',
+		lockRatio	: 'Lås størrelsesforhold',
+		resetSize	: 'Nulstil størrelse',
+		border	: 'Ramme',
+		hSpace	: 'Vandret margen',
+		vSpace	: 'Lodret margen',
+		align		: 'Justering',
+		alignLeft	: 'Venstre',
+		alignRight	: 'Højre',
+		preview	: 'Vis eksempel',
+		alertUrl	: 'Indtast stien til billedet',
+		linkTab	: 'Hyperlink',
+		button2Img	: 'Vil du lave billedknappen om til et almindeligt billede?',
+		img2Button	: 'Vil du lave billedet om til en billedknap?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Egenskaber for Flash',
+		propertiesTab	: 'Egenskaber',
+		title		: 'Egenskaber for Flash',
+		chkPlay		: 'Automatisk afspilning',
+		chkLoop		: 'Gentagelse',
+		chkMenu		: 'Vis Flash menu',
+		chkFull		: 'Tillad fuldskærm',
+ 		scale		: 'Skalér',
+		scaleAll		: 'Vis alt',
+		scaleNoBorder	: 'Ingen ramme',
+		scaleFit		: 'Tilpas størrelse',
+		access			: 'Script adgang',
+		accessAlways	: 'Altid',
+		accessSameDomain	: 'Samme domæne',
+		accessNever	: 'Aldrig',
+		align		: 'Justering',
+		alignLeft	: 'Venstre',
+		alignAbsBottom: 'Absolut nederst',
+		alignAbsMiddle: 'Absolut centreret',
+		alignBaseline	: 'Grundlinje',
+		alignBottom	: 'Nederst',
+		alignMiddle	: 'Centreret',
+		alignRight	: 'Højre',
+		alignTextTop	: 'Toppen af teksten',
+		alignTop	: 'Øverst',
+		quality		: 'Kvalitet',
+		qualityBest		 : 'Bedste',
+		qualityHigh		 : 'Høj',
+		qualityAutoHigh	 : 'Auto høj',
+		qualityMedium	 : 'Medium',
+		qualityAutoLow	 : 'Auto lav',
+		qualityLow		 : 'Lav',
+		windowModeWindow	 : 'Vindue',
+		windowModeOpaque	 : 'Gennemsigtig (opaque)',
+		windowModeTransparent	 : 'Transparent',
+		windowMode	: 'Vinduestilstand',
+		flashvars	: 'Variabler for Flash',
+		bgcolor	: 'Baggrundsfarve',
+		width	: 'Bredde',
+		height	: 'Højde',
+		hSpace	: 'Vandret margen',
+		vSpace	: 'Lodret margen',
+		validateSrc : 'Indtast hyperlink URL!',
+		validateWidth : 'Bredde skal være et tal.',
+		validateHeight : 'Højde skal være et tal.',
+		validateHSpace : 'Vandret margen skal være et tal.',
+		validateVSpace : 'Lodret margen skal være et tal.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Stavekontrol',
+		title			: 'Stavekontrol',
+		notAvailable	: 'Stavekontrol er desværre ikke tilgængelig.',
+		errorLoading	: 'Fejl ved indlæsning af host: %s.',
+		notInDic		: 'Ikke i ordbogen',
+		changeTo		: 'Forslag',
+		btnIgnore		: 'Ignorér',
+		btnIgnoreAll	: 'Ignorér alle',
+		btnReplace		: 'Erstat',
+		btnReplaceAll	: 'Erstat alle',
+		btnUndo			: 'Tilbage',
+		noSuggestions	: '(ingen forslag)',
+		progress		: 'Stavekontrollen arbejder...',
+		noMispell		: 'Stavekontrol færdig: Ingen fejl fundet',
+		noChanges		: 'Stavekontrol færdig: Ingen ord ændret',
+		oneChange		: 'Stavekontrol færdig: Et ord ændret',
+		manyChanges		: 'Stavekontrol færdig: %1 ord ændret',
+		ieSpellDownload	: 'Stavekontrol ikke installeret. Vil du installere den nu?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Vælg smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Talopstilling',
+	bulletedlist : 'Punktopstilling',
+	indent : 'Forøg indrykning',
+	outdent : 'Formindsk indrykning',
+
+	justify :
+	{
+		left : 'Venstrestillet',
+		center : 'Centreret',
+		right : 'Højrestillet',
+		block : 'Lige margener'
+	},
+
+	blockquote : 'Blokcitat',
+
+	clipboard :
+	{
+		title		: 'Indsæt',
+		cutError	: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Brug i stedet tastaturet til at klippe teksten (Ctrl+X).',
+		copyError	: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Brug i stedet tastaturet til at kopiere teksten (Ctrl+C).',
+		pasteMsg	: 'Indsæt i feltet herunder (<STRONG>Ctrl+V</STRONG>) og klik på <STRONG>OK</STRONG>.',
+		securityMsg	: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Du skal indsætte udklipsholderens indhold i dette vindue igen.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?',
+		toolbar : 'Indsæt fra Word',
+		title : 'Indsæt fra Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Indsæt som ikke-formateret tekst',
+		title : 'Indsæt som ikke-formateret tekst'
+	},
+
+	templates :
+	{
+		button : 'Skabeloner',
+		title : 'Indholdsskabeloner',
+		insertOption: 'Erstat det faktiske indhold',
+		selectPromptMsg: 'Vælg den skabelon, som skal åbnes i editoren (nuværende indhold vil blive overskrevet):',
+		emptyListMsg : '(Der er ikke defineret nogen skabelon)'
+	},
+
+	showBlocks : 'Vis afsnitsmærker',
+
+	stylesCombo :
+	{
+		label : 'Typografi',
+		voiceLabel : 'Typografi',
+		panelVoiceLabel : 'Vælg typografi',
+		panelTitle1 : 'Block typografi',
+		panelTitle2 : 'Inline typografi',
+		panelTitle3 : 'Object typografi'
+	},
+
+	format :
+	{
+		label : 'Formatering',
+		voiceLabel : 'Formatering',
+		panelTitle : 'Formatering',
+		panelVoiceLabel : 'Vælg afsnitsformatering',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formateret',
+		tag_address : 'Adresse',
+		tag_h1 : 'Overskrift 1',
+		tag_h2 : 'Overskrift 2',
+		tag_h3 : 'Overskrift 3',
+		tag_h4 : 'Overskrift 4',
+		tag_h5 : 'Overskrift 5',
+		tag_h6 : 'Overskrift 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Skrifttype',
+		voiceLabel : 'Skrifttype',
+		panelTitle : 'Skrifttype',
+		panelVoiceLabel : 'Vælg skrifttype'
+	},
+
+	fontSize :
+	{
+		label : 'Skriftstørrelse',
+		voiceLabel : 'Skriftstørrelse',
+		panelTitle : 'Skriftstørrelse',
+		panelVoiceLabel : 'Vælg skriftstørrelse'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstfarve',
+		bgColorTitle : 'Baggrundsfarve',
+		auto : 'Automatisk',
+		more : 'Flere farver...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Stavekontrol mens du skriver',
+		enable : 'Aktivér SCAYT',
+		disable : 'Deaktivér SCAYT',
+		about : 'Om SCAYT',
+		toggle : 'Skift/toggle SCAYT',
+		options : 'Indstillinger',
+		langs : 'Sprog',
+		moreSuggestions : 'Flere forslag',
+		ignore : 'Ignorér',
+		ignoreAll : 'Ignorér alle',
+		addWord : 'Tilføj ord',
+		emptyDic : 'Ordbogsnavn må ikke være tom.',
+		optionsTab : 'Indstillinger',
+		languagesTab : 'Sprog',
+		dictionariesTab : 'Ordbøger',
+		aboutTab : 'Om'
+	},
+
+	about :
+	{
+		title : 'Om CKEditor',
+		dlgTitle : 'Om CKEditor',
+		moreInfo : 'For informationer omkring licens, se venligst vores hjemmeside (på engelsk):',
+		copy : 'Copyright &copy; $1. Alle rettigheder forbeholdes.'
+	},
+
+	maximize : 'Maximér',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anker',
+		flash : 'Flashanimation',
+		div : 'Sideskift',
+		unknown : 'Ukendt objekt'
+	},
+
+	resize : 'Træk for at skalere',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/de.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/de.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/de.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * German language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['de'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Quellcode',
+	newPage			: 'Neue Seite',
+	save			: 'Speichern',
+	preview			: 'Vorschau',
+	cut				: 'Ausschneiden',
+	copy			: 'Kopieren',
+	paste			: 'Einfügen',
+	print			: 'Drucken',
+	underline		: 'Unterstrichen',
+	bold			: 'Fett',
+	italic			: 'Kursiv',
+	selectAll		: 'Alles auswählen',
+	removeFormat	: 'Formatierungen entfernen',
+	strike			: 'Durchgestrichen',
+	subscript		: 'Tiefgestellt',
+	superscript		: 'Hochgestellt',
+	horizontalrule	: 'Horizontale Linie einfügen',
+	pagebreak		: 'Seitenumbruch einfügen',
+	unlink			: 'Link entfernen',
+	undo			: 'Rückgängig',
+	redo			: 'Wiederherstellen',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Server durchsuchen',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Upload',
+		uploadSubmit	: 'Zum Server senden',
+		image			: 'Bild',
+		flash			: 'Flash',
+		form			: 'Formular',
+		checkbox		: 'Checkbox',
+		radio		: 'Radiobutton',
+		textField		: 'Textfeld einzeilig',
+		textarea		: 'Textfeld mehrzeilig',
+		hiddenField		: 'verstecktes Feld',
+		button			: 'Klickbutton',
+		select	: 'Auswahlfeld',
+		imageButton		: 'Bildbutton',
+		notSet			: '<nichts>',
+		id				: 'ID',
+		name			: 'Name',
+		langDir			: 'Schreibrichtung',
+		langDirLtr		: 'Links nach Rechts (LTR)',
+		langDirRtl		: 'Rechts nach Links (RTL)',
+		langCode		: 'Sprachenkürzel',
+		longDescr		: 'Langform URL',
+		cssClass		: 'Stylesheet Klasse',
+		advisoryTitle	: 'Titel Beschreibung',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Abbrechen',
+		generalTab		: 'Allgemein',
+		advancedTab		: 'Erweitert',
+		validateNumberFailed	: 'Dieser Wert ist keine Nummer.',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, nicht verfügbar</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Sonderzeichen einfügen/editieren',
+		title		: 'Sonderzeichen auswählen'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link einfügen/editieren',
+		menu		: 'Link editieren',
+		title		: 'Link',
+		info		: 'Link-Info',
+		target		: 'Zielseite',
+		upload		: 'Upload',
+		advanced	: 'Erweitert',
+		type		: 'Link-Typ',
+		toAnchor	: 'Anker in dieser Seite',
+		toEmail		: 'E-Mail',
+		target		: 'Zielseite',
+		targetNotSet	: '<nichts>',
+		targetFrame	: '<Frame>',
+		targetPopup	: '<Pop-up Fenster>',
+		targetNew	: 'Neues Fenster (_blank)',
+		targetTop	: 'Oberstes Fenster (_top)',
+		targetSelf	: 'Gleiches Fenster (_self)',
+		targetParent	: 'Oberes Fenster (_parent)',
+		targetFrameName	: 'Ziel-Fenster-Name',
+		targetPopupName	: 'Pop-up Fenster-Name',
+		popupFeatures	: 'Pop-up Fenster-Eigenschaften',
+		popupResizable	: 'Größe änderbar',
+		popupStatusBar	: 'Statusleiste',
+		popupLocationBar	: 'Adress-Leiste',
+		popupToolbar	: 'Werkzeugleiste',
+		popupMenuBar	: 'Menü-Leiste',
+		popupFullScreen	: 'Vollbild (IE)',
+		popupScrollBars	: 'Rollbalken',
+		popupDependent	: 'Abhängig (Netscape)',
+		popupWidth		: 'Breite',
+		popupLeft		: 'Linke Position',
+		popupHeight		: 'Höhe',
+		popupTop		: 'Obere Position',
+		id				: 'Id',
+		langDir			: 'Schreibrichtung',
+		langDirNotSet	: '<nichts>',
+		langDirLTR		: 'Links nach Rechts (LTR)',
+		langDirRTL		: 'Rechts nach Links (RTL)',
+		acccessKey		: 'Zugriffstaste',
+		name			: 'Name',
+		langCode		: 'Schreibrichtung',
+		tabIndex		: 'Tab-Index',
+		advisoryTitle	: 'Titel Beschreibung',
+		advisoryContentType	: 'Inhaltstyp',
+		cssClasses		: 'Stylesheet Klasse',
+		charset			: 'Ziel-Zeichensatz',
+		styles			: 'Style',
+		selectAnchor	: 'Anker auswählen',
+		anchorName		: 'nach Anker Name',
+		anchorId		: 'nach Element Id',
+		emailAddress	: 'E-Mail Addresse',
+		emailSubject	: 'Betreffzeile',
+		emailBody		: 'Nachrichtentext',
+		noAnchors		: '(keine Anker im Dokument vorhanden)',
+		noUrl			: 'Bitte geben Sie die Link-URL an',
+		noEmail			: 'Bitte geben Sie e-Mail Adresse an'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anker einfügen/editieren',
+		menu		: 'Anker-Eigenschaften',
+		title		: 'Anker-Eigenschaften',
+		name		: 'Anker Name',
+		errorName	: 'Bitte geben Sie den Namen des Ankers ein'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Suchen und Ersetzen',
+		find				: 'Suchen',
+		replace				: 'Ersetzen',
+		findWhat			: 'Suche nach:',
+		replaceWith			: 'Ersetze mit:',
+		notFoundMsg			: 'Der gesuchte Text wurde nicht gefunden.',
+		matchCase			: 'Groß-Kleinschreibung beachten',
+		matchWord			: 'Nur ganze Worte suchen',
+		matchCyclic			: 'zyklische suche',
+		replaceAll			: 'Alle Ersetzen',
+		replaceSuccessMsg	: '%1 vorkommen ersetzt.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabelle',
+		title		: 'Tabellen-Eigenschaften',
+		menu		: 'Tabellen-Eigenschaften',
+		deleteTable	: 'Tabelle löschen',
+		rows		: 'Zeile',
+		columns		: 'Spalte',
+		border		: 'Rahmen',
+		align		: 'Ausrichtung',
+		alignNotSet	: '<keine>',
+		alignLeft	: 'Links',
+		alignCenter	: 'Zentriert',
+		alignRight	: 'Rechts',
+		width		: 'Breite',
+		widthPx		: 'Pixel',
+		widthPc		: '%',
+		height		: 'Höhe',
+		cellSpace	: 'Zellenabstand außen',
+		cellPad		: 'Zellenabstand innen',
+		caption		: 'Überschrift',
+		summary		: 'Inhaltsübersicht',
+		headers		: 'Überschriften',
+		headersNone		: 'keine',
+		headersColumn	: 'Erste Spalte',
+		headersRow		: 'Erste Zeile',
+		headersBoth		: 'keine',
+		invalidRows		: 'Die Anzahl der Zeilen muß größer als 0 sein.',
+		invalidCols		: 'Die Anzahl der Spalten muß größer als 0 sein..',
+		invalidBorder	: 'Die Rahmenbreite muß eine Zahl sein.',
+		invalidWidth	: 'Die Tabellenbreite muss eine Zahl sein.',
+		invalidHeight	: 'Die Tabellenbreite muß eine Zahl sein.',
+		invalidCellSpacing	: 'Der Zellenabstand außen muß eine Zahl sein.',
+		invalidCellPadding	: 'Der Zellenabstand innen muß eine Zahl sein.',
+
+		cell :
+		{
+			menu			: 'Zelle',
+			insertBefore	: 'Zelle davor einfügen',
+			insertAfter		: 'Zelle danach einfügen',
+			deleteCell		: 'Zelle löschen',
+			merge			: 'Zellen verbinden',
+			mergeRight		: 'nach rechts verbinden',
+			mergeDown		: 'nach unten verbinden',
+			splitHorizontal	: 'Zelle horizontal teilen',
+			splitVertical	: 'Zelle vertikal teilen',
+			title			: 'Zellen Eigenschaften',
+			cellType		: 'Zellart',
+			rowSpan			: 'Anzahl Zeilen verbinden',
+			colSpan			: 'Anzahl Spalten verbinden',
+			wordWrap		: 'Zeilenumbruch',
+			hAlign			: 'Horizontale Ausrichtung',
+			vAlign			: 'Vertikale Ausrichtung',
+			alignTop		: 'Oben',
+			alignMiddle		: 'Mitte',
+			alignBottom		: 'Unten',
+			alignBaseline	: 'Grundlinie',
+			bgColor			: 'Hintergrundfarbe',
+			borderColor		: 'Rahmenfarbe',
+			data			: 'Daten',
+			header			: 'Überschrift',
+			yes				: 'Ja',
+			no				: 'Nein',
+			invalidWidth	: 'Zellenbreite muß eine Zahl sein.',
+			invalidHeight	: 'Zellenhöhe muß eine Zahl sein.',
+			invalidRowSpan	: '"Anzahl Zeilen verbinden" muss eine Ganzzahl sein.',
+			invalidColSpan	: '"Anzahl Spalten verbinden" muss eine Ganzzahl sein.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Zeile',
+			insertBefore	: 'Zeile oberhalb einfügen',
+			insertAfter		: 'Zeile unterhalb einfügen',
+			deleteRow		: 'Zeile entfernen'
+		},
+
+		column :
+		{
+			menu			: 'Spalte',
+			insertBefore	: 'Spalte links davor einfügen',
+			insertAfter		: 'Spalte rechts danach einfügen',
+			deleteColumn	: 'Spalte löschen'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button-Eigenschaften',
+		text		: 'Text (Wert)',
+		type		: 'Typ',
+		typeBtn		: 'Button',
+		typeSbm		: 'Absenden',
+		typeRst		: 'Zurücksetzen'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox-Eigenschaften',
+		radioTitle	: 'Optionsfeld-Eigenschaften',
+		value		: 'Wert',
+		selected	: 'ausgewählt'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formular-Eigenschaften',
+		menu		: 'Formular-Eigenschaften',
+		action		: 'Action',
+		method		: 'Method',
+		encoding	: 'Zeichenkodierung',
+		target		: 'Zielseite',
+		targetNotSet	: '<keins>',
+		targetNew	: 'Neues Fenster (_blank)',
+		targetTop	: 'Oberstes Fenster (_top)',
+		targetSelf	: 'Gleiches Fenster (_self)',
+		targetParent	: 'Oberes Fenster (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Auswahlfeld-Eigenschaften',
+		selectInfo	: 'Info',
+		opAvail		: 'Mögliche Optionen',
+		value		: 'Wert',
+		size		: 'Größe',
+		lines		: 'Linien',
+		chkMulti	: 'Erlaube Mehrfachauswahl',
+		opText		: 'Text',
+		opValue		: 'Wert',
+		btnAdd		: 'Hinzufügen',
+		btnModify	: 'Ändern',
+		btnUp		: 'Hoch',
+		btnDown		: 'Runter',
+		btnSetValue : 'Setze als Standardwert',
+		btnDelete	: 'Entfernen'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textfeld (mehrzeilig) Eigenschaften',
+		cols		: 'Spalten',
+		rows		: 'Reihen'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Textfeld (einzeilig) Eigenschaften',
+		name		: 'Name',
+		value		: 'Wert',
+		charWidth	: 'Zeichenbreite',
+		maxChars	: 'Max. Zeichen',
+		type		: 'Typ',
+		typeText	: 'Text',
+		typePass	: 'Passwort'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Verstecktes Feld-Eigenschaften',
+		name	: 'Name',
+		value	: 'Wert'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Bild-Eigenschaften',
+		titleButton	: 'Bildbutton-Eigenschaften',
+		menu		: 'Bild-Eigenschaften',
+		infoTab	: 'Bild-Info',
+		btnUpload	: 'Zum Server senden',
+		url		: 'URL',
+		upload	: 'Hochladen',
+		alt		: 'Alternativer Text',
+		width		: 'Breite',
+		height	: 'Höhe',
+		lockRatio	: 'Größenverhältnis beibehalten',
+		resetSize	: 'Größe zurücksetzen',
+		border	: 'Rahmen',
+		hSpace	: 'Horizontal-Abstand',
+		vSpace	: 'Vertikal-Abstand',
+		align		: 'Ausrichtung',
+		alignLeft	: 'Links',
+		alignRight	: 'Rechts',
+		preview	: 'Vorschau',
+		alertUrl	: 'Bitte geben Sie die Bild-URL an',
+		linkTab	: 'Link',
+		button2Img	: 'Möchten Sie den gewählten Bild-Button in ein einfaches Bild umwandeln?',
+		img2Button	: 'Möchten Sie das gewählten Bild in einen Bild-Button umwandeln?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash-Eigenschaften',
+		propertiesTab	: 'Eigenschaften',
+		title		: 'Flash-Eigenschaften',
+		chkPlay		: 'autom. Abspielen',
+		chkLoop		: 'Endlosschleife',
+		chkMenu		: 'Flash-Menü aktivieren',
+		chkFull		: 'Vollbildmodus erlauben',
+ 		scale		: 'Skalierung',
+		scaleAll		: 'Alles anzeigen',
+		scaleNoBorder	: 'ohne Rand',
+		scaleFit		: 'Passgenau',
+		access			: 'Skript Zugang',
+		accessAlways	: 'Immer',
+		accessSameDomain	: 'Gleiche Domain',
+		accessNever	: 'Nie',
+		align		: 'Ausrichtung',
+		alignLeft	: 'Links',
+		alignAbsBottom: 'Abs Unten',
+		alignAbsMiddle: 'Abs Mitte',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Unten',
+		alignMiddle	: 'Mitte',
+		alignRight	: 'Rechts',
+		alignTextTop	: 'Text Oben',
+		alignTop	: 'Oben',
+		quality		: 'Qualität',
+		qualityBest		 : 'Beste',
+		qualityHigh		 : 'Hoch',
+		qualityAutoHigh	 : 'Auto Hoch',
+		qualityMedium	 : 'Medium',
+		qualityAutoLow	 : 'Auto Niedrig',
+		qualityLow		 : 'Niedrig',
+		windowModeWindow	 : 'Fenster',
+		windowModeOpaque	 : 'Deckend',
+		windowModeTransparent	 : 'Transparent',
+		windowMode	: 'Fenster Modus',
+		flashvars	: 'Variablen für Flash',
+		bgcolor	: 'Hintergrundfarbe',
+		width	: 'Breite',
+		height	: 'Höhe',
+		hSpace	: 'Horizontal-Abstand',
+		vSpace	: 'Vertikal-Abstand',
+		validateSrc : 'Bitte geben Sie die Link-URL an',
+		validateWidth : 'Breite muss eine Zahl sein.',
+		validateHeight : 'Höhe muss eine Zahl sein.',
+		validateHSpace : 'HSpace muss eine Zahl sein.',
+		validateVSpace : 'VSpace muss eine Zahl sein.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Rechtschreibprüfung',
+		title			: 'Rechtschreibprüfung',
+		notAvailable	: 'Entschuldigung, aber dieser Dienst steht im Moment nicht zur verfügung.',
+		errorLoading	: 'Fehler beim laden des Dienstanbieters: %s.',
+		notInDic		: 'Nicht im Wörterbuch',
+		changeTo		: 'Ändern in',
+		btnIgnore		: 'Ignorieren',
+		btnIgnoreAll	: 'Alle Ignorieren',
+		btnReplace		: 'Ersetzen',
+		btnReplaceAll	: 'Alle Ersetzen',
+		btnUndo			: 'Rückgängig',
+		noSuggestions	: ' - keine Vorschläge - ',
+		progress		: 'Rechtschreibprüfung läuft...',
+		noMispell		: 'Rechtschreibprüfung abgeschlossen - keine Fehler gefunden',
+		noChanges		: 'Rechtschreibprüfung abgeschlossen - keine Worte geändert',
+		oneChange		: 'Rechtschreibprüfung abgeschlossen - ein Wort geändert',
+		manyChanges		: 'Rechtschreibprüfung abgeschlossen - %1 Wörter geändert',
+		ieSpellDownload	: 'Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Smiley auswählen'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 Element'
+	},
+
+	numberedlist : 'Nummerierte Liste',
+	bulletedlist : 'Liste',
+	indent : 'Einzug erhöhen',
+	outdent : 'Einzug verringern',
+
+	justify :
+	{
+		left : 'Linksbündig',
+		center : 'Zentriert',
+		right : 'Rechtsbündig',
+		block : 'Blocksatz'
+	},
+
+	blockquote : 'Zitatblock',
+
+	clipboard :
+	{
+		title		: 'Einfügen',
+		cutError	: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).',
+		copyError	: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).',
+		pasteMsg	: 'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit <STRONG>Strg+V</STRONG>) ein und bestätigen Sie mit <STRONG>OK</STRONG>.',
+		securityMsg	: 'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.'
+	},
+
+	pastefromword :
+	{
+		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',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Als Text einfügen',
+		title : 'Als Text einfügen'
+	},
+
+	templates :
+	{
+		button : 'Vorlagen',
+		title : 'Vorlagen',
+		insertOption: 'Aktuellen Inhalt ersetzen',
+		selectPromptMsg: 'Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):',
+		emptyListMsg : '(keine Vorlagen definiert)'
+	},
+
+	showBlocks : 'Blöcke anzeigen',
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Stilarten',
+		panelVoiceLabel : 'Stilart auswahl',
+		panelTitle1 : 'Block Stilart',
+		panelTitle2 : 'Inline Stilart',
+		panelTitle3 : 'Objekt Stilart'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Wählen Sie einen Absatzformat',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatiert',
+		tag_address : 'Addresse',
+		tag_h1 : 'Überschrift 1',
+		tag_h2 : 'Überschrift 2',
+		tag_h3 : 'Überschrift 3',
+		tag_h4 : 'Überschrift 4',
+		tag_h5 : 'Überschrift 5',
+		tag_h6 : 'Überschrift 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Schriftart',
+		voiceLabel : 'Schriftart',
+		panelTitle : 'Schriftart',
+		panelVoiceLabel : 'Wählen Sie eine Schriftart'
+	},
+
+	fontSize :
+	{
+		label : 'Größe',
+		voiceLabel : 'Schrifgröße',
+		panelTitle : 'Größe',
+		panelVoiceLabel : 'Wählen Sie eine Schriftgröße'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Textfarbe',
+		bgColorTitle : 'Hintergrundfarbe',
+		auto : 'Automatisch',
+		more : 'Weitere Farben...'
+	},
+
+	colors :
+	{
+		'000' : 'Schwarz',
+		'800000' : 'Kastanienbraun',
+		'8B4513' : 'Braun',
+		'2F4F4F' : 'Dunkles Schiefergrau',
+		'008080' : 'Blaugrün',
+		'000080' : 'Navy',
+		'4B0082' : 'Indigo',
+		'696969' : 'Dunkelgrau',
+		'B22222' : 'Ziegelrot',
+		'A52A2A' : 'Braun',
+		'DAA520' : 'Goldgelb',
+		'006400' : 'Dunkelgrün',
+		'40E0D0' : 'Türkis',
+		'0000CD' : 'Medium Blau',
+		'800080' : 'Lila',
+		'808080' : 'Grau',
+		'F00' : 'Rot',
+		'FF8C00' : 'Dunkelorange',
+		'FFD700' : 'Gold',
+		'008000' : 'Grün',
+		'0FF' : 'Cyan',
+		'00F' : 'Blau',
+		'EE82EE' : 'Hellviolett',
+		'A9A9A9' : 'Dunkelgrau',
+		'FFA07A' : 'Helles Lachsrosa',
+		'FFA500' : 'Orange',
+		'FFFF00' : 'Gelb',
+		'00FF00' : 'Lime',
+		'AFEEEE' : 'Blaß-Türkis',
+		'ADD8E6' : 'Hellblau',
+		'DDA0DD' : 'Pflaumenblau',
+		'D3D3D3' : 'Hellgrau',
+		'FFF0F5' : 'Lavendel',
+		'FAEBD7' : 'Antik Weiß',
+		'FFFFE0' : 'Hellgelb',
+		'F0FFF0' : 'Honigtau',
+		'F0FFFF' : 'Azurblau',
+		'F0F8FF' : 'Alice Blau',
+		'E6E6FA' : 'Lavendel',
+		'FFF' : 'Weiß'
+	},
+
+	scayt :
+	{
+		title : 'Rechtschreibprüfung während der Texteingabe',
+		enable : 'SCAYT einschalten',
+		disable : 'SCAYT ausschalten',
+		about : 'Über SCAYT',
+		toggle : 'SCAYT umschalten',
+		options : 'Optionen',
+		langs : 'Sprachen',
+		moreSuggestions : 'Mehr Vorschläge',
+		ignore : 'Ignorieren',
+		ignoreAll : 'Alle ignorieren',
+		addWord : 'Wort hinzufügen',
+		emptyDic : 'Wörterbuchname sollte leer sein.',
+		optionsTab : 'Optionen',
+		languagesTab : 'Sprachen',
+		dictionariesTab : 'Wörterbücher',
+		aboutTab : 'Über'
+	},
+
+	about :
+	{
+		title : 'Über CKEditor',
+		dlgTitle : 'Über CKEditor',
+		moreInfo : 'Für Informationen Liztenzbestimmungen besuchen sie bitte unsere Webseite:',
+		copy : 'Copyright &copy; $1. Alle Rechte vorbehalten.'
+	},
+
+	maximize : 'Maximieren',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anker',
+		flash : 'Flash Animation',
+		div : 'Seitenumbruch',
+		unknown : 'Unbekanntes Objekt'
+	},
+
+	resize : 'Zum Vergrößern ziehen',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/el.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/el.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/el.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Greek language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['el'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'HTML κώδικας',
+	newPage			: 'Νέα Σελίδα',
+	save			: 'Αποθήκευση',
+	preview			: 'Προεπισκόπιση',
+	cut				: 'Αποκοπή',
+	copy			: 'Αντιγραφή',
+	paste			: 'Επικόλληση',
+	print			: 'Εκτύπωση',
+	underline		: 'Υπογράμμιση',
+	bold			: 'Έντονα',
+	italic			: 'Πλάγια',
+	selectAll		: 'Επιλογή όλων',
+	removeFormat	: 'Αφαίρεση Μορφοποίησης',
+	strike			: 'Διαγράμμιση',
+	subscript		: 'Δείκτης',
+	superscript		: 'Εκθέτης',
+	horizontalrule	: 'Εισαγωγή Οριζόντιας Γραμμής',
+	pagebreak		: 'Εισαγωγή τέλους σελίδας',
+	unlink			: 'Αφαίρεση Συνδέσμου (Link)',
+	undo			: 'Αναίρεση',
+	redo			: 'Επαναφορά',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Εξερεύνηση διακομιστή',
+		url				: 'URL',
+		protocol		: 'Προτόκολο',
+		upload			: 'Αποστολή',
+		uploadSubmit	: 'Αποστολή στον Διακομιστή',
+		image			: 'Εικόνα',
+		flash			: 'Εισαγωγή Flash',
+		form			: 'Φόρμα',
+		checkbox		: 'Κουτί επιλογής',
+		radio		: 'Κουμπί Radio',
+		textField		: 'Πεδίο κειμένου',
+		textarea		: 'Περιοχή κειμένου',
+		hiddenField		: 'Κρυφό πεδίο',
+		button			: 'Κουμπί',
+		select	: 'Πεδίο επιλογής',
+		imageButton		: 'Κουμπί εικόνας',
+		notSet			: '<χωρίς>',
+		id				: 'Id',
+		name			: 'Όνομα',
+		langDir			: 'Κατεύθυνση κειμένου',
+		langDirLtr		: 'Αριστερά προς Δεξιά (LTR)',
+		langDirRtl		: 'Δεξιά προς Αριστερά (RTL)',
+		langCode		: 'Κωδικός Γλώσσας',
+		longDescr		: 'Αναλυτική περιγραφή URL',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Συμβουλευτικός τίτλος',
+		cssStyle		: 'Στύλ',
+		ok				: 'OK',
+		cancel			: 'Ακύρωση',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Για προχωρημένους',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Εισαγωγή Ειδικού Συμβόλου',
+		title		: 'Επιλέξτε ένα Ειδικό Σύμβολο'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Εισαγωγή/Μεταβολή Συνδέσμου (Link)',
+		menu		: 'Μεταβολή Συνδέσμου (Link)',
+		title		: 'Σύνδεσμος (Link)',
+		info		: 'Link',
+		target		: 'Παράθυρο Στόχος (Target)',
+		upload		: 'Αποστολή',
+		advanced	: 'Για προχωρημένους',
+		type		: 'Τύπος συνδέσμου (Link)',
+		toAnchor	: 'Άγκυρα σε αυτή τη σελίδα',
+		toEmail		: 'E-Mail',
+		target		: 'Παράθυρο Στόχος (Target)',
+		targetNotSet	: '<χωρίς>',
+		targetFrame	: '<πλαίσιο>',
+		targetPopup	: '<παράθυρο popup>',
+		targetNew	: 'Νέο Παράθυρο (_blank)',
+		targetTop	: 'Ανώτατο Παράθυρο (_top)',
+		targetSelf	: 'Ίδιο Παράθυρο (_self)',
+		targetParent	: 'Γονικό Παράθυρο (_parent)',
+		targetFrameName	: 'Όνομα πλαισίου στόχου',
+		targetPopupName	: 'Όνομα Popup Window',
+		popupFeatures	: 'Επιλογές Popup Window',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Μπάρα Status',
+		popupLocationBar	: 'Μπάρα Τοποθεσίας',
+		popupToolbar	: 'Μπάρα Εργαλείων',
+		popupMenuBar	: 'Μπάρα Menu',
+		popupFullScreen	: 'Ολόκληρη η Οθόνη (IE)',
+		popupScrollBars	: 'Μπάρες Κύλισης',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Πλάτος',
+		popupLeft		: 'Τοποθεσία Αριστερής Άκρης',
+		popupHeight		: 'Ύψος',
+		popupTop		: 'Τοποθεσία Πάνω Άκρης',
+		id				: 'Id', // MISSING
+		langDir			: 'Κατεύθυνση κειμένου',
+		langDirNotSet	: '<χωρίς>',
+		langDirLTR		: 'Αριστερά προς Δεξιά (LTR)',
+		langDirRTL		: 'Δεξιά προς Αριστερά (RTL)',
+		acccessKey		: 'Συντόμευση (Access Key)',
+		name			: 'Όνομα',
+		langCode		: 'Κατεύθυνση κειμένου',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Συμβουλευτικός τίτλος',
+		advisoryContentType	: 'Συμβουλευτικός τίτλος περιεχομένου',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Στύλ',
+		selectAnchor	: 'Επιλέξτε μια άγκυρα',
+		anchorName		: 'Βάσει του Ονόματος (Name) της άγκυρας',
+		anchorId		: 'Βάσει του Element Id',
+		emailAddress	: 'Διεύθυνση Ηλεκτρονικού Ταχυδρομείου',
+		emailSubject	: 'Θέμα Μηνύματος',
+		emailBody		: 'Κείμενο Μηνύματος',
+		noAnchors		: '(Δεν υπάρχουν άγκυρες στο κείμενο)',
+		noUrl			: 'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)',
+		noEmail			: 'Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Εισαγωγή/επεξεργασία Anchor',
+		menu		: 'Ιδιότητες άγκυρας',
+		title		: 'Ιδιότητες άγκυρας',
+		name		: 'Όνομα άγκυρας',
+		errorName	: 'Παρακαλούμε εισάγετε όνομα άγκυρας'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Αναζήτηση',
+		replace				: 'Αντικατάσταση',
+		findWhat			: 'Αναζήτηση:',
+		replaceWith			: 'Αντικατάσταση με:',
+		notFoundMsg			: 'Το κείμενο δεν βρέθηκε.',
+		matchCase			: 'Έλεγχος πεζών/κεφαλαίων',
+		matchWord			: 'Εύρεση πλήρους λέξης',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Αντικατάσταση Όλων',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Πίνακας',
+		title		: 'Ιδιότητες Πίνακα',
+		menu		: 'Ιδιότητες Πίνακα',
+		deleteTable	: 'Διαγραφή πίνακα',
+		rows		: 'Γραμμές',
+		columns		: 'Κολώνες',
+		border		: 'Μέγεθος Περιθωρίου',
+		align		: 'Στοίχιση',
+		alignNotSet	: '<χωρίς>',
+		alignLeft	: 'Αριστερά',
+		alignCenter	: 'Κέντρο',
+		alignRight	: 'Δεξιά',
+		width		: 'Πλάτος',
+		widthPx		: 'pixels',
+		widthPc		: '%',
+		height		: 'Ύψος',
+		cellSpace	: 'Απόσταση κελιών',
+		cellPad		: 'Γέμισμα κελιών',
+		caption		: 'Υπέρτιτλος',
+		summary		: 'Περίληψη',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Κελί',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Διαγραφή Κελιών',
+			merge			: 'Ενοποίηση Κελιών',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Σειρά',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Διαγραφή Γραμμών'
+		},
+
+		column :
+		{
+			menu			: 'Στήλη',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Διαγραφή Κολωνών'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Ιδιότητες κουμπιού',
+		text		: 'Κείμενο (Τιμή)',
+		type		: 'Τύπος',
+		typeBtn		: 'Κουμπί',
+		typeSbm		: 'Καταχώρηση',
+		typeRst		: 'Επαναφορά'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Ιδιότητες κουμπιού επιλογής',
+		radioTitle	: 'Ιδιότητες κουμπιού radio',
+		value		: 'Τιμή',
+		selected	: 'Επιλεγμένο'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Ιδιότητες φόρμας',
+		menu		: 'Ιδιότητες φόρμας',
+		action		: 'Δράση',
+		method		: 'Μάθοδος',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Παράθυρο Στόχος (Target)',
+		targetNotSet	: '<χωρίς>',
+		targetNew	: 'Νέο Παράθυρο (_blank)',
+		targetTop	: 'Ανώτατο Παράθυρο (_top)',
+		targetSelf	: 'Ίδιο Παράθυρο (_self)',
+		targetParent	: 'Γονικό Παράθυρο (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Ιδιότητες πεδίου επιλογής',
+		selectInfo	: 'Πληροφορίες',
+		opAvail		: 'Διαθέσιμες επιλογές',
+		value		: 'Τιμή',
+		size		: 'Μέγεθος',
+		lines		: 'γραμμές',
+		chkMulti	: 'Πολλαπλές επιλογές',
+		opText		: 'Κείμενο',
+		opValue		: 'Τιμή',
+		btnAdd		: 'Προσθήκη',
+		btnModify	: 'Αλλαγή',
+		btnUp		: 'Πάνω',
+		btnDown		: 'Κάτω',
+		btnSetValue : 'Προεπιλεγμένη επιλογή',
+		btnDelete	: 'Διαγραφή'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Ιδιότητες περιοχής κειμένου',
+		cols		: 'Στήλες',
+		rows		: 'Σειρές'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Ιδιότητες πεδίου κειμένου',
+		name		: 'Όνομα',
+		value		: 'Τιμή',
+		charWidth	: 'Μήκος χαρακτήρων',
+		maxChars	: 'Μέγιστοι χαρακτήρες',
+		type		: 'Τύπος',
+		typeText	: 'Κείμενο',
+		typePass	: 'Κωδικός'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Ιδιότητες κρυφού πεδίου',
+		name	: 'Όνομα',
+		value	: 'Τιμή'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Ιδιότητες Εικόνας',
+		titleButton	: 'Ιδιότητες κουμπιού εικόνας',
+		menu		: 'Ιδιότητες Εικόνας',
+		infoTab	: 'Πληροφορίες Εικόνας',
+		btnUpload	: 'Αποστολή στον Διακομιστή',
+		url		: 'URL',
+		upload	: 'Αποστολή',
+		alt		: 'Εναλλακτικό Κείμενο (ALT)',
+		width		: 'Πλάτος',
+		height	: 'Ύψος',
+		lockRatio	: 'Κλείδωμα Αναλογίας',
+		resetSize	: 'Επαναφορά Αρχικού Μεγέθους',
+		border	: 'Περιθώριο',
+		hSpace	: 'Οριζόντιος Χώρος (HSpace)',
+		vSpace	: 'Κάθετος Χώρος (VSpace)',
+		align		: 'Ευθυγράμμιση (Align)',
+		alignLeft	: 'Αριστερά',
+		alignRight	: 'Δεξιά (Right)',
+		preview	: 'Προεπισκόπιση',
+		alertUrl	: 'Εισάγετε την τοποθεσία (URL) της εικόνας',
+		linkTab	: 'Σύνδεσμος',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Ιδιότητες Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Ιδιότητες flash',
+		chkPlay		: 'Αυτόματη έναρξη',
+		chkLoop		: 'Επανάληψη',
+		chkMenu		: 'Ενεργοποίηση Flash Menu',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Κλίμακα',
+		scaleAll		: 'Εμφάνιση όλων',
+		scaleNoBorder	: 'Χωρίς όρια',
+		scaleFit		: 'Ακριβής εφαρμογή',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Ευθυγράμμιση (Align)',
+		alignLeft	: 'Αριστερά',
+		alignAbsBottom: 'Απόλυτα Κάτω (Abs Bottom)',
+		alignAbsMiddle: 'Απόλυτα στη Μέση (Abs Middle)',
+		alignBaseline	: 'Γραμμή Βάσης (Baseline)',
+		alignBottom	: 'Κάτω (Bottom)',
+		alignMiddle	: 'Μέση (Middle)',
+		alignRight	: 'Δεξιά (Right)',
+		alignTextTop	: 'Κορυφή Κειμένου (Text Top)',
+		alignTop	: 'Πάνω (Top)',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Χρώμα Υποβάθρου',
+		width	: 'Πλάτος',
+		height	: 'Ύψος',
+		hSpace	: 'Οριζόντιος Χώρος (HSpace)',
+		vSpace	: 'Κάθετος Χώρος (VSpace)',
+		validateSrc : 'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Ορθογραφικός έλεγχος',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Δεν υπάρχει στο λεξικό',
+		changeTo		: 'Αλλαγή σε',
+		btnIgnore		: 'Αγνόηση',
+		btnIgnoreAll	: 'Αγνόηση όλων',
+		btnReplace		: 'Αντικατάσταση',
+		btnReplaceAll	: 'Αντικατάσταση όλων',
+		btnUndo			: 'Αναίρεση',
+		noSuggestions	: '- Δεν υπάρχουν προτάσεις -',
+		progress		: 'Ορθογραφικός έλεγχος σε εξέλιξη...',
+		noMispell		: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη',
+		noChanges		: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις',
+		oneChange		: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε',
+		manyChanges		: 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν',
+		ieSpellDownload	: 'Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Επιλέξτε ένα Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Λίστα με Αριθμούς',
+	bulletedlist : 'Λίστα με Bullets',
+	indent : 'Αύξηση Εσοχής',
+	outdent : 'Μείωση Εσοχής',
+
+	justify :
+	{
+		left : 'Στοίχιση Αριστερά',
+		center : 'Στοίχιση στο Κέντρο',
+		right : 'Στοίχιση Δεξιά',
+		block : 'Πλήρης Στοίχιση (Block)'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Επικόλληση',
+		cutError	: 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+X).',
+		copyError	: 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+C).',
+		pasteMsg	: 'Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (<STRONG>Ctrl+V</STRONG>) και πατήστε <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Επικόλληση από το Word',
+		title : 'Επικόλληση από το Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Επικόλληση ως Απλό Κείμενο',
+		title : 'Επικόλληση ως Απλό Κείμενο'
+	},
+
+	templates :
+	{
+		button : 'Πρότυπα',
+		title : 'Πρότυπα περιεχομένου',
+		insertOption: 'Αντικατάσταση υπάρχοντων περιεχομένων',
+		selectPromptMsg: 'Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα<br>(τα υπάρχοντα περιεχόμενα θα χαθούν):',
+		emptyListMsg : '(Δεν έχουν καθοριστεί πρότυπα)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Στυλ',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Μορφή Γραμματοσειράς',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Μορφή Γραμματοσειράς',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Κανονικό',
+		tag_pre : 'Μορφοποιημένο',
+		tag_address : 'Διεύθυνση',
+		tag_h1 : 'Επικεφαλίδα 1',
+		tag_h2 : 'Επικεφαλίδα 2',
+		tag_h3 : 'Επικεφαλίδα 3',
+		tag_h4 : 'Επικεφαλίδα 4',
+		tag_h5 : 'Επικεφαλίδα 5',
+		tag_h6 : 'Επικεφαλίδα 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Γραμματοσειρά',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Γραμματοσειρά',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Μέγεθος',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Μέγεθος',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Χρώμα Γραμμάτων',
+		bgColorTitle : 'Χρώμα Υποβάθρου',
+		auto : 'Αυτόματο',
+		more : 'Περισσότερα χρώματα...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/en-au.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/en-au.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/en-au.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (Australia) language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-au'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'New Page',
+	save			: 'Save',
+	preview			: 'Preview',
+	cut				: 'Cut',
+	copy			: 'Copy',
+	paste			: 'Paste',
+	print			: 'Print',
+	underline		: 'Underline',
+	bold			: 'Bold',
+	italic			: 'Italic',
+	selectAll		: 'Select All',
+	removeFormat	: 'Remove Format',
+	strike			: 'Strike Through',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Insert Horizontal Line',
+	pagebreak		: 'Insert Page Break for Printing',
+	unlink			: 'Unlink',
+	undo			: 'Undo',
+	redo			: 'Redo',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Send it to the Server',
+		image			: 'Image',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Hidden Field',
+		button			: 'Button',
+		select	: 'Selection Field',
+		imageButton		: 'Image Button',
+		notSet			: '<not set>',
+		id				: 'Id',
+		name			: 'Name',
+		langDir			: 'Language Direction',
+		langDirLtr		: 'Left to Right (LTR)',
+		langDirRtl		: 'Right to Left (RTL)',
+		langCode		: 'Language Code',
+		longDescr		: 'Long Description URL',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Cancel',
+		generalTab		: 'General',
+		advancedTab		: 'Advanced',
+		validateNumberFailed	: 'This value is not a number.',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insert Special Character',
+		title		: 'Select Special Character'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link',
+		menu		: 'Edit Link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Target',
+		upload		: 'Upload',
+		advanced	: 'Advanced',
+		type		: 'Link Type',
+		toAnchor	: 'Link to anchor in the text',
+		toEmail		: 'E-mail',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<popup window>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)',
+		targetFrameName	: 'Target Frame Name',
+		targetPopupName	: 'Popup Window Name',
+		popupFeatures	: 'Popup Window Features',
+		popupResizable	: 'Resizable',
+		popupStatusBar	: 'Status Bar',
+		popupLocationBar	: 'Location Bar',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Menu Bar',
+		popupFullScreen	: 'Full Screen (IE)',
+		popupScrollBars	: 'Scroll Bars',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Width',
+		popupLeft		: 'Left Position',
+		popupHeight		: 'Height',
+		popupTop		: 'Top Position',
+		id				: 'Id',
+		langDir			: 'Language Direction',
+		langDirNotSet	: '<not set>',
+		langDirLTR		: 'Left to Right (LTR)',
+		langDirRTL		: 'Right to Left (RTL)',
+		acccessKey		: 'Access Key',
+		name			: 'Name',
+		langCode		: 'Language Code',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Style',
+		selectAnchor	: 'Select an Anchor',
+		anchorName		: 'By Anchor Name',
+		anchorId		: 'By Element Id',
+		emailAddress	: 'E-Mail Address',
+		emailSubject	: 'Message Subject',
+		emailBody		: 'Message Body',
+		noAnchors		: '(No anchors available in the document)',
+		noUrl			: 'Please type the link URL',
+		noEmail			: 'Please type the e-mail address'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anchor',
+		menu		: 'Edit Anchor',
+		title		: 'Anchor Properties',
+		name		: 'Anchor Name',
+		errorName	: 'Please type the anchor name'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace',
+		find				: 'Find',
+		replace				: 'Replace',
+		findWhat			: 'Find what:',
+		replaceWith			: 'Replace with:',
+		notFoundMsg			: 'The specified text was not found.',
+		matchCase			: 'Match case',
+		matchWord			: 'Match whole word',
+		matchCyclic			: 'Match cyclic',
+		replaceAll			: 'Replace All',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Table',
+		title		: 'Table Properties',
+		menu		: 'Table Properties',
+		deleteTable	: 'Delete Table',
+		rows		: 'Rows',
+		columns		: 'Columns',
+		border		: 'Border size',
+		align		: 'Alignment',
+		alignNotSet	: '<Not set>',
+		alignLeft	: 'Left',
+		alignCenter	: 'Centre',
+		alignRight	: 'Right',
+		width		: 'Width',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Height',
+		cellSpace	: 'Cell spacing',
+		cellPad		: 'Cell padding',
+		caption		: 'Caption',
+		summary		: 'Summary',
+		headers		: 'Headers',
+		headersNone		: 'None',
+		headersColumn	: 'First column',
+		headersRow		: 'First Row',
+		headersBoth		: 'Both',
+		invalidRows		: 'Number of rows must be a number greater than 0.',
+		invalidCols		: 'Number of columns must be a number greater than 0.',
+		invalidBorder	: 'Border size must be a number.',
+		invalidWidth	: 'Table width must be a number.',
+		invalidHeight	: 'Table height must be a number.',
+		invalidCellSpacing	: 'Cell spacing must be a number.',
+		invalidCellPadding	: 'Cell padding must be a number.',
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Insert Cell Before',
+			insertAfter		: 'Insert Cell After',
+			deleteCell		: 'Delete Cells',
+			merge			: 'Merge Cells',
+			mergeRight		: 'Merge Right',
+			mergeDown		: 'Merge Down',
+			splitHorizontal	: 'Split Cell Horizontally',
+			splitVertical	: 'Split Cell Vertically',
+			title			: 'Cell Properties',
+			cellType		: 'Cell Type',
+			rowSpan			: 'Rows Span',
+			colSpan			: 'Columns Span',
+			wordWrap		: 'Word Wrap',
+			hAlign			: 'Horizontal Alignment',
+			vAlign			: 'Vertical Alignment',
+			alignTop		: 'Top',
+			alignMiddle		: 'Middle',
+			alignBottom		: 'Bottom',
+			alignBaseline	: 'Baseline',
+			bgColor			: 'Background Color',
+			borderColor		: 'Border Color',
+			data			: 'Data',
+			header			: 'Header',
+			yes				: 'Yes',
+			no				: 'No',
+			invalidWidth	: 'Cell width must be a number.',
+			invalidHeight	: 'Cell height must be a number.',
+			invalidRowSpan	: 'Rows span must be a whole number.',
+			invalidColSpan	: 'Columns span must be a whole number.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row',
+			insertBefore	: 'Insert Row Before',
+			insertAfter		: 'Insert Row After',
+			deleteRow		: 'Delete Rows'
+		},
+
+		column :
+		{
+			menu			: 'Column',
+			insertBefore	: 'Insert Column Before',
+			insertAfter		: 'Insert Column After',
+			deleteColumn	: 'Delete Columns'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button Properties',
+		text		: 'Text (Value)',
+		type		: 'Type',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox Properties',
+		radioTitle	: 'Radio Button Properties',
+		value		: 'Value',
+		selected	: 'Selected'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Properties',
+		menu		: 'Form Properties',
+		action		: 'Action',
+		method		: 'Method',
+		encoding	: 'Encoding',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection Field Properties',
+		selectInfo	: 'Select Info',
+		opAvail		: 'Available Options',
+		value		: 'Value',
+		size		: 'Size',
+		lines		: 'lines',
+		chkMulti	: 'Allow multiple selections',
+		opText		: 'Text',
+		opValue		: 'Value',
+		btnAdd		: 'Add',
+		btnModify	: 'Modify',
+		btnUp		: 'Up',
+		btnDown		: 'Down',
+		btnSetValue : 'Set as selected value',
+		btnDelete	: 'Delete'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea Properties',
+		cols		: 'Columns',
+		rows		: 'Rows'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field Properties',
+		name		: 'Name',
+		value		: 'Value',
+		charWidth	: 'Character Width',
+		maxChars	: 'Maximum Characters',
+		type		: 'Type',
+		typeText	: 'Text',
+		typePass	: 'Password'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field Properties',
+		name	: 'Name',
+		value	: 'Value'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Image Properties',
+		titleButton	: 'Image Button Properties',
+		menu		: 'Image Properties',
+		infoTab	: 'Image Info',
+		btnUpload	: 'Send it to the Server',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternative Text',
+		width		: 'Width',
+		height	: 'Height',
+		lockRatio	: 'Lock Ratio',
+		resetSize	: 'Reset Size',
+		border	: 'Border',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignRight	: 'Right',
+		preview	: 'Preview',
+		alertUrl	: 'Please type the image URL',
+		linkTab	: 'Link',
+		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
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties',
+		propertiesTab	: 'Properties',
+		title		: 'Flash Properties',
+		chkPlay		: 'Auto Play',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Enable Flash Menu',
+		chkFull		: 'Allow Fullscreen',
+ 		scale		: 'Scale',
+		scaleAll		: 'Show all',
+		scaleNoBorder	: 'No Border',
+		scaleFit		: 'Exact Fit',
+		access			: 'Script Access',
+		accessAlways	: 'Always',
+		accessSameDomain	: 'Same domain',
+		accessNever	: 'Never',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignAbsBottom: 'Abs Bottom',
+		alignAbsMiddle: 'Abs Middle',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Bottom',
+		alignMiddle	: 'Middle',
+		alignRight	: 'Right',
+		alignTextTop	: 'Text Top',
+		alignTop	: '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
+		windowMode	: 'Window mode',
+		flashvars	: 'Variables for Flash',
+		bgcolor	: 'Background colour',
+		width	: 'Width',
+		height	: 'Height',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'URL must not be empty.',
+		validateWidth : 'Width must be a number.',
+		validateHeight : 'Height must be a number.',
+		validateHSpace : 'HSpace must be a number.',
+		validateVSpace : 'VSpace must be a number.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Check Spelling',
+		title			: 'Spell Check',
+		notAvailable	: 'Sorry, but service is unavailable now.',
+		errorLoading	: 'Error loading application service host: %s.',
+		notInDic		: 'Not in dictionary',
+		changeTo		: 'Change to',
+		btnIgnore		: 'Ignore',
+		btnIgnoreAll	: 'Ignore All',
+		btnReplace		: 'Replace',
+		btnReplaceAll	: 'Replace All',
+		btnUndo			: 'Undo',
+		noSuggestions	: '- No suggestions -',
+		progress		: 'Spell check in progress...',
+		noMispell		: 'Spell check complete: No misspellings found',
+		noChanges		: 'Spell check complete: No words changed',
+		oneChange		: 'Spell check complete: One word changed',
+		manyChanges		: 'Spell check complete: %1 words changed',
+		ieSpellDownload	: 'Spell checker not installed. Do you want to download it now?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Insert a Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Insert/Remove Numbered List',
+	bulletedlist : 'Insert/Remove Bulleted List',
+	indent : 'Increase Indent',
+	outdent : 'Decrease Indent',
+
+	justify :
+	{
+		left : 'Left Justify',
+		center : 'Centre Justify',
+		right : 'Right Justify',
+		block : 'Block Justify'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Paste',
+		cutError	: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).',
+		copyError	: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		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
+	},
+
+	pasteText :
+	{
+		button : 'Paste as plain text',
+		title : 'Paste as Plain Text'
+	},
+
+	templates :
+	{
+		button : 'Templates',
+		title : 'Content Templates',
+		insertOption: 'Replace actual contents',
+		selectPromptMsg: 'Please select the template to open in the editor',
+		emptyListMsg : '(No templates defined)'
+	},
+
+	showBlocks : 'Show Blocks',
+
+	stylesCombo :
+	{
+		label : 'Styles',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles',
+		panelTitle2 : 'Inline Styles',
+		panelTitle3 : 'Object Styles'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Paragraph Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font Name',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Size',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Font Size',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Text Colour',
+		bgColorTitle : 'Background Colour',
+		auto : 'Automatic',
+		more : 'More Colours...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor',
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximize',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/en-ca.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/en-ca.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/en-ca.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (Australia) language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-ca'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'New Page',
+	save			: 'Save',
+	preview			: 'Preview',
+	cut				: 'Cut',
+	copy			: 'Copy',
+	paste			: 'Paste',
+	print			: 'Print',
+	underline		: 'Underline',
+	bold			: 'Bold',
+	italic			: 'Italic',
+	selectAll		: 'Select All',
+	removeFormat	: 'Remove Format',
+	strike			: 'Strike Through',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Insert Horizontal Line',
+	pagebreak		: 'Insert Page Break for Printing',
+	unlink			: 'Unlink',
+	undo			: 'Undo',
+	redo			: 'Redo',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Send it to the Server',
+		image			: 'Image',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Hidden Field',
+		button			: 'Button',
+		select	: 'Selection Field',
+		imageButton		: 'Image Button',
+		notSet			: '<not set>',
+		id				: 'Id',
+		name			: 'Name',
+		langDir			: 'Language Direction',
+		langDirLtr		: 'Left to Right (LTR)',
+		langDirRtl		: 'Right to Left (RTL)',
+		langCode		: 'Language Code',
+		longDescr		: 'Long Description URL',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Cancel',
+		generalTab		: 'General',
+		advancedTab		: 'Advanced',
+		validateNumberFailed	: 'This value is not a number.',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insert Special Character',
+		title		: 'Select Special Character'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link',
+		menu		: 'Edit Link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Target',
+		upload		: 'Upload',
+		advanced	: 'Advanced',
+		type		: 'Link Type',
+		toAnchor	: 'Link to anchor in the text',
+		toEmail		: 'E-mail',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<popup window>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)',
+		targetFrameName	: 'Target Frame Name',
+		targetPopupName	: 'Popup Window Name',
+		popupFeatures	: 'Popup Window Features',
+		popupResizable	: 'Resizable',
+		popupStatusBar	: 'Status Bar',
+		popupLocationBar	: 'Location Bar',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Menu Bar',
+		popupFullScreen	: 'Full Screen (IE)',
+		popupScrollBars	: 'Scroll Bars',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Width',
+		popupLeft		: 'Left Position',
+		popupHeight		: 'Height',
+		popupTop		: 'Top Position',
+		id				: 'Id',
+		langDir			: 'Language Direction',
+		langDirNotSet	: '<not set>',
+		langDirLTR		: 'Left to Right (LTR)',
+		langDirRTL		: 'Right to Left (RTL)',
+		acccessKey		: 'Access Key',
+		name			: 'Name',
+		langCode		: 'Language Code',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Style',
+		selectAnchor	: 'Select an Anchor',
+		anchorName		: 'By Anchor Name',
+		anchorId		: 'By Element Id',
+		emailAddress	: 'E-Mail Address',
+		emailSubject	: 'Message Subject',
+		emailBody		: 'Message Body',
+		noAnchors		: '(No anchors available in the document)',
+		noUrl			: 'Please type the link URL',
+		noEmail			: 'Please type the e-mail address'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anchor',
+		menu		: 'Edit Anchor',
+		title		: 'Anchor Properties',
+		name		: 'Anchor Name',
+		errorName	: 'Please type the anchor name'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace',
+		find				: 'Find',
+		replace				: 'Replace',
+		findWhat			: 'Find what:',
+		replaceWith			: 'Replace with:',
+		notFoundMsg			: 'The specified text was not found.',
+		matchCase			: 'Match case',
+		matchWord			: 'Match whole word',
+		matchCyclic			: 'Match cyclic',
+		replaceAll			: 'Replace All',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Table',
+		title		: 'Table Properties',
+		menu		: 'Table Properties',
+		deleteTable	: 'Delete Table',
+		rows		: 'Rows',
+		columns		: 'Columns',
+		border		: 'Border size',
+		align		: 'Alignment',
+		alignNotSet	: '<Not set>',
+		alignLeft	: 'Left',
+		alignCenter	: 'Centre',
+		alignRight	: 'Right',
+		width		: 'Width',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Height',
+		cellSpace	: 'Cell spacing',
+		cellPad		: 'Cell padding',
+		caption		: 'Caption',
+		summary		: 'Summary',
+		headers		: 'Headers',
+		headersNone		: 'None',
+		headersColumn	: 'First column',
+		headersRow		: 'First Row',
+		headersBoth		: 'Both',
+		invalidRows		: 'Number of rows must be a number greater than 0.',
+		invalidCols		: 'Number of columns must be a number greater than 0.',
+		invalidBorder	: 'Border size must be a number.',
+		invalidWidth	: 'Table width must be a number.',
+		invalidHeight	: 'Table height must be a number.',
+		invalidCellSpacing	: 'Cell spacing must be a number.',
+		invalidCellPadding	: 'Cell padding must be a number.',
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Insert Cell Before',
+			insertAfter		: 'Insert Cell After',
+			deleteCell		: 'Delete Cells',
+			merge			: 'Merge Cells',
+			mergeRight		: 'Merge Right',
+			mergeDown		: 'Merge Down',
+			splitHorizontal	: 'Split Cell Horizontally',
+			splitVertical	: 'Split Cell Vertically',
+			title			: 'Cell Properties',
+			cellType		: 'Cell Type',
+			rowSpan			: 'Rows Span',
+			colSpan			: 'Columns Span',
+			wordWrap		: 'Word Wrap',
+			hAlign			: 'Horizontal Alignment',
+			vAlign			: 'Vertical Alignment',
+			alignTop		: 'Top',
+			alignMiddle		: 'Middle',
+			alignBottom		: 'Bottom',
+			alignBaseline	: 'Baseline',
+			bgColor			: 'Background Color',
+			borderColor		: 'Border Color',
+			data			: 'Data',
+			header			: 'Header',
+			yes				: 'Yes',
+			no				: 'No',
+			invalidWidth	: 'Cell width must be a number.',
+			invalidHeight	: 'Cell height must be a number.',
+			invalidRowSpan	: 'Rows span must be a whole number.',
+			invalidColSpan	: 'Columns span must be a whole number.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row',
+			insertBefore	: 'Insert Row Before',
+			insertAfter		: 'Insert Row After',
+			deleteRow		: 'Delete Rows'
+		},
+
+		column :
+		{
+			menu			: 'Column',
+			insertBefore	: 'Insert Column Before',
+			insertAfter		: 'Insert Column After',
+			deleteColumn	: 'Delete Columns'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button Properties',
+		text		: 'Text (Value)',
+		type		: 'Type',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox Properties',
+		radioTitle	: 'Radio Button Properties',
+		value		: 'Value',
+		selected	: 'Selected'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Properties',
+		menu		: 'Form Properties',
+		action		: 'Action',
+		method		: 'Method',
+		encoding	: 'Encoding',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection Field Properties',
+		selectInfo	: 'Select Info',
+		opAvail		: 'Available Options',
+		value		: 'Value',
+		size		: 'Size',
+		lines		: 'lines',
+		chkMulti	: 'Allow multiple selections',
+		opText		: 'Text',
+		opValue		: 'Value',
+		btnAdd		: 'Add',
+		btnModify	: 'Modify',
+		btnUp		: 'Up',
+		btnDown		: 'Down',
+		btnSetValue : 'Set as selected value',
+		btnDelete	: 'Delete'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea Properties',
+		cols		: 'Columns',
+		rows		: 'Rows'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field Properties',
+		name		: 'Name',
+		value		: 'Value',
+		charWidth	: 'Character Width',
+		maxChars	: 'Maximum Characters',
+		type		: 'Type',
+		typeText	: 'Text',
+		typePass	: 'Password'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field Properties',
+		name	: 'Name',
+		value	: 'Value'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Image Properties',
+		titleButton	: 'Image Button Properties',
+		menu		: 'Image Properties',
+		infoTab	: 'Image Info',
+		btnUpload	: 'Send it to the Server',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternative Text',
+		width		: 'Width',
+		height	: 'Height',
+		lockRatio	: 'Lock Ratio',
+		resetSize	: 'Reset Size',
+		border	: 'Border',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignRight	: 'Right',
+		preview	: 'Preview',
+		alertUrl	: 'Please type the image URL',
+		linkTab	: 'Link',
+		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
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties',
+		propertiesTab	: 'Properties',
+		title		: 'Flash Properties',
+		chkPlay		: 'Auto Play',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Enable Flash Menu',
+		chkFull		: 'Allow Fullscreen',
+ 		scale		: 'Scale',
+		scaleAll		: 'Show all',
+		scaleNoBorder	: 'No Border',
+		scaleFit		: 'Exact Fit',
+		access			: 'Script Access',
+		accessAlways	: 'Always',
+		accessSameDomain	: 'Same domain',
+		accessNever	: 'Never',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignAbsBottom: 'Abs Bottom',
+		alignAbsMiddle: 'Abs Middle',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Bottom',
+		alignMiddle	: 'Middle',
+		alignRight	: 'Right',
+		alignTextTop	: 'Text Top',
+		alignTop	: '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
+		windowMode	: 'Window mode',
+		flashvars	: 'Variables for Flash',
+		bgcolor	: 'Background colour',
+		width	: 'Width',
+		height	: 'Height',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'URL must not be empty.',
+		validateWidth : 'Width must be a number.',
+		validateHeight : 'Height must be a number.',
+		validateHSpace : 'HSpace must be a number.',
+		validateVSpace : 'VSpace must be a number.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Check Spelling',
+		title			: 'Spell Check',
+		notAvailable	: 'Sorry, but service is unavailable now.',
+		errorLoading	: 'Error loading application service host: %s.',
+		notInDic		: 'Not in dictionary',
+		changeTo		: 'Change to',
+		btnIgnore		: 'Ignore',
+		btnIgnoreAll	: 'Ignore All',
+		btnReplace		: 'Replace',
+		btnReplaceAll	: 'Replace All',
+		btnUndo			: 'Undo',
+		noSuggestions	: '- No suggestions -',
+		progress		: 'Spell check in progress...',
+		noMispell		: 'Spell check complete: No misspellings found',
+		noChanges		: 'Spell check complete: No words changed',
+		oneChange		: 'Spell check complete: One word changed',
+		manyChanges		: 'Spell check complete: %1 words changed',
+		ieSpellDownload	: 'Spell checker not installed. Do you want to download it now?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Insert a Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Insert/Remove Numbered List',
+	bulletedlist : 'Insert/Remove Bulleted List',
+	indent : 'Increase Indent',
+	outdent : 'Decrease Indent',
+
+	justify :
+	{
+		left : 'Left Justify',
+		center : 'Centre Justify',
+		right : 'Right Justify',
+		block : 'Block Justify'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Paste',
+		cutError	: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).',
+		copyError	: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		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
+	},
+
+	pasteText :
+	{
+		button : 'Paste as plain text',
+		title : 'Paste as Plain Text'
+	},
+
+	templates :
+	{
+		button : 'Templates',
+		title : 'Content Templates',
+		insertOption: 'Replace actual contents',
+		selectPromptMsg: 'Please select the template to open in the editor',
+		emptyListMsg : '(No templates defined)'
+	},
+
+	showBlocks : 'Show Blocks',
+
+	stylesCombo :
+	{
+		label : 'Styles',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles',
+		panelTitle2 : 'Inline Styles',
+		panelTitle3 : 'Object Styles'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Paragraph Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font Name',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Size',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Font Size',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Text Colour',
+		bgColorTitle : 'Background Colour',
+		auto : 'Automatic',
+		more : 'More Colours...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor',
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximize',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/en-uk.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/en-uk.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/en-uk.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (Australia) language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-uk'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'New Page',
+	save			: 'Save',
+	preview			: 'Preview',
+	cut				: 'Cut',
+	copy			: 'Copy',
+	paste			: 'Paste',
+	print			: 'Print',
+	underline		: 'Underline',
+	bold			: 'Bold',
+	italic			: 'Italic',
+	selectAll		: 'Select All',
+	removeFormat	: 'Remove Format',
+	strike			: 'Strike Through',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Insert Horizontal Line',
+	pagebreak		: 'Insert Page Break for Printing',
+	unlink			: 'Unlink',
+	undo			: 'Undo',
+	redo			: 'Redo',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Send it to the Server',
+		image			: 'Image',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Hidden Field',
+		button			: 'Button',
+		select	: 'Selection Field',
+		imageButton		: 'Image Button',
+		notSet			: '<not set>',
+		id				: 'Id',
+		name			: 'Name',
+		langDir			: 'Language Direction',
+		langDirLtr		: 'Left to Right (LTR)',
+		langDirRtl		: 'Right to Left (RTL)',
+		langCode		: 'Language Code',
+		longDescr		: 'Long Description URL',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Cancel',
+		generalTab		: 'General',
+		advancedTab		: 'Advanced',
+		validateNumberFailed	: 'This value is not a number.',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insert Special Character',
+		title		: 'Select Special Character'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link',
+		menu		: 'Edit Link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Target',
+		upload		: 'Upload',
+		advanced	: 'Advanced',
+		type		: 'Link Type',
+		toAnchor	: 'Link to anchor in the text',
+		toEmail		: 'E-mail',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<popup window>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)',
+		targetFrameName	: 'Target Frame Name',
+		targetPopupName	: 'Popup Window Name',
+		popupFeatures	: 'Popup Window Features',
+		popupResizable	: 'Resizable',
+		popupStatusBar	: 'Status Bar',
+		popupLocationBar	: 'Location Bar',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Menu Bar',
+		popupFullScreen	: 'Full Screen (IE)',
+		popupScrollBars	: 'Scroll Bars',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Width',
+		popupLeft		: 'Left Position',
+		popupHeight		: 'Height',
+		popupTop		: 'Top Position',
+		id				: 'Id',
+		langDir			: 'Language Direction',
+		langDirNotSet	: '<not set>',
+		langDirLTR		: 'Left to Right (LTR)',
+		langDirRTL		: 'Right to Left (RTL)',
+		acccessKey		: 'Access Key',
+		name			: 'Name',
+		langCode		: 'Language Code',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Style',
+		selectAnchor	: 'Select an Anchor',
+		anchorName		: 'By Anchor Name',
+		anchorId		: 'By Element Id',
+		emailAddress	: 'E-Mail Address',
+		emailSubject	: 'Message Subject',
+		emailBody		: 'Message Body',
+		noAnchors		: '(No anchors available in the document)',
+		noUrl			: 'Please type the link URL',
+		noEmail			: 'Please type the e-mail address'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anchor',
+		menu		: 'Edit Anchor',
+		title		: 'Anchor Properties',
+		name		: 'Anchor Name',
+		errorName	: 'Please type the anchor name'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace',
+		find				: 'Find',
+		replace				: 'Replace',
+		findWhat			: 'Find what:',
+		replaceWith			: 'Replace with:',
+		notFoundMsg			: 'The specified text was not found.',
+		matchCase			: 'Match case',
+		matchWord			: 'Match whole word',
+		matchCyclic			: 'Match cyclic',
+		replaceAll			: 'Replace All',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Table',
+		title		: 'Table Properties',
+		menu		: 'Table Properties',
+		deleteTable	: 'Delete Table',
+		rows		: 'Rows',
+		columns		: 'Columns',
+		border		: 'Border size',
+		align		: 'Alignment',
+		alignNotSet	: '<Not set>',
+		alignLeft	: 'Left',
+		alignCenter	: 'Centre',
+		alignRight	: 'Right',
+		width		: 'Width',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Height',
+		cellSpace	: 'Cell spacing',
+		cellPad		: 'Cell padding',
+		caption		: 'Caption',
+		summary		: 'Summary',
+		headers		: 'Headers',
+		headersNone		: 'None',
+		headersColumn	: 'First column',
+		headersRow		: 'First Row',
+		headersBoth		: 'Both',
+		invalidRows		: 'Number of rows must be a number greater than 0.',
+		invalidCols		: 'Number of columns must be a number greater than 0.',
+		invalidBorder	: 'Border size must be a number.',
+		invalidWidth	: 'Table width must be a number.',
+		invalidHeight	: 'Table height must be a number.',
+		invalidCellSpacing	: 'Cell spacing must be a number.',
+		invalidCellPadding	: 'Cell padding must be a number.',
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Insert Cell Before',
+			insertAfter		: 'Insert Cell After',
+			deleteCell		: 'Delete Cells',
+			merge			: 'Merge Cells',
+			mergeRight		: 'Merge Right',
+			mergeDown		: 'Merge Down',
+			splitHorizontal	: 'Split Cell Horizontally',
+			splitVertical	: 'Split Cell Vertically',
+			title			: 'Cell Properties',
+			cellType		: 'Cell Type',
+			rowSpan			: 'Rows Span',
+			colSpan			: 'Columns Span',
+			wordWrap		: 'Word Wrap',
+			hAlign			: 'Horizontal Alignment',
+			vAlign			: 'Vertical Alignment',
+			alignTop		: 'Top',
+			alignMiddle		: 'Middle',
+			alignBottom		: 'Bottom',
+			alignBaseline	: 'Baseline',
+			bgColor			: 'Background Color',
+			borderColor		: 'Border Color',
+			data			: 'Data',
+			header			: 'Header',
+			yes				: 'Yes',
+			no				: 'No',
+			invalidWidth	: 'Cell width must be a number.',
+			invalidHeight	: 'Cell height must be a number.',
+			invalidRowSpan	: 'Rows span must be a whole number.',
+			invalidColSpan	: 'Columns span must be a whole number.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row',
+			insertBefore	: 'Insert Row Before',
+			insertAfter		: 'Insert Row After',
+			deleteRow		: 'Delete Rows'
+		},
+
+		column :
+		{
+			menu			: 'Column',
+			insertBefore	: 'Insert Column Before',
+			insertAfter		: 'Insert Column After',
+			deleteColumn	: 'Delete Columns'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button Properties',
+		text		: 'Text (Value)',
+		type		: 'Type',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox Properties',
+		radioTitle	: 'Radio Button Properties',
+		value		: 'Value',
+		selected	: 'Selected'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Properties',
+		menu		: 'Form Properties',
+		action		: 'Action',
+		method		: 'Method',
+		encoding	: 'Encoding',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection Field Properties',
+		selectInfo	: 'Select Info',
+		opAvail		: 'Available Options',
+		value		: 'Value',
+		size		: 'Size',
+		lines		: 'lines',
+		chkMulti	: 'Allow multiple selections',
+		opText		: 'Text',
+		opValue		: 'Value',
+		btnAdd		: 'Add',
+		btnModify	: 'Modify',
+		btnUp		: 'Up',
+		btnDown		: 'Down',
+		btnSetValue : 'Set as selected value',
+		btnDelete	: 'Delete'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea Properties',
+		cols		: 'Columns',
+		rows		: 'Rows'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field Properties',
+		name		: 'Name',
+		value		: 'Value',
+		charWidth	: 'Character Width',
+		maxChars	: 'Maximum Characters',
+		type		: 'Type',
+		typeText	: 'Text',
+		typePass	: 'Password'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field Properties',
+		name	: 'Name',
+		value	: 'Value'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Image Properties',
+		titleButton	: 'Image Button Properties',
+		menu		: 'Image Properties',
+		infoTab	: 'Image Info',
+		btnUpload	: 'Send it to the Server',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternative Text',
+		width		: 'Width',
+		height	: 'Height',
+		lockRatio	: 'Lock Ratio',
+		resetSize	: 'Reset Size',
+		border	: 'Border',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignRight	: 'Right',
+		preview	: 'Preview',
+		alertUrl	: 'Please type the image URL',
+		linkTab	: 'Link',
+		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
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties',
+		propertiesTab	: 'Properties',
+		title		: 'Flash Properties',
+		chkPlay		: 'Auto Play',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Enable Flash Menu',
+		chkFull		: 'Allow Fullscreen',
+ 		scale		: 'Scale',
+		scaleAll		: 'Show all',
+		scaleNoBorder	: 'No Border',
+		scaleFit		: 'Exact Fit',
+		access			: 'Script Access',
+		accessAlways	: 'Always',
+		accessSameDomain	: 'Same domain',
+		accessNever	: 'Never',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignAbsBottom: 'Abs Bottom',
+		alignAbsMiddle: 'Abs Middle',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Bottom',
+		alignMiddle	: 'Middle',
+		alignRight	: 'Right',
+		alignTextTop	: 'Text Top',
+		alignTop	: '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
+		windowMode	: 'Window mode',
+		flashvars	: 'Variables for Flash',
+		bgcolor	: 'Background colour',
+		width	: 'Width',
+		height	: 'Height',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'URL must not be empty.',
+		validateWidth : 'Width must be a number.',
+		validateHeight : 'Height must be a number.',
+		validateHSpace : 'HSpace must be a number.',
+		validateVSpace : 'VSpace must be a number.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Check Spelling',
+		title			: 'Spell Check',
+		notAvailable	: 'Sorry, but service is unavailable now.',
+		errorLoading	: 'Error loading application service host: %s.',
+		notInDic		: 'Not in dictionary',
+		changeTo		: 'Change to',
+		btnIgnore		: 'Ignore',
+		btnIgnoreAll	: 'Ignore All',
+		btnReplace		: 'Replace',
+		btnReplaceAll	: 'Replace All',
+		btnUndo			: 'Undo',
+		noSuggestions	: '- No suggestions -',
+		progress		: 'Spell check in progress...',
+		noMispell		: 'Spell check complete: No misspellings found',
+		noChanges		: 'Spell check complete: No words changed',
+		oneChange		: 'Spell check complete: One word changed',
+		manyChanges		: 'Spell check complete: %1 words changed',
+		ieSpellDownload	: 'Spell checker not installed. Do you want to download it now?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Insert a Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Insert/Remove Numbered List',
+	bulletedlist : 'Insert/Remove Bulleted List',
+	indent : 'Increase Indent',
+	outdent : 'Decrease Indent',
+
+	justify :
+	{
+		left : 'Left Justify',
+		center : 'Centre Justify',
+		right : 'Right Justify',
+		block : 'Block Justify'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Paste',
+		cutError	: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).',
+		copyError	: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		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
+	},
+
+	pasteText :
+	{
+		button : 'Paste as plain text',
+		title : 'Paste as Plain Text'
+	},
+
+	templates :
+	{
+		button : 'Templates',
+		title : 'Content Templates',
+		insertOption: 'Replace actual contents',
+		selectPromptMsg: 'Please select the template to open in the editor',
+		emptyListMsg : '(No templates defined)'
+	},
+
+	showBlocks : 'Show Blocks',
+
+	stylesCombo :
+	{
+		label : 'Styles',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles',
+		panelTitle2 : 'Inline Styles',
+		panelTitle3 : 'Object Styles'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Paragraph Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font Name',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Size',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Font Size',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Text Colour',
+		bgColorTitle : 'Background Colour',
+		auto : 'Automatic',
+		more : 'More Colours...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor',
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximize',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/en.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/en.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/en.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the English
+ *		language. This is the base file for all translations.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'New Page',
+	save			: 'Save',
+	preview			: 'Preview',
+	cut				: 'Cut',
+	copy			: 'Copy',
+	paste			: 'Paste',
+	print			: 'Print',
+	underline		: 'Underline',
+	bold			: 'Bold',
+	italic			: 'Italic',
+	selectAll		: 'Select All',
+	removeFormat	: 'Remove Format',
+	strike			: 'Strike Through',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Insert Horizontal Line',
+	pagebreak		: 'Insert Page Break for Printing',
+	unlink			: 'Unlink',
+	undo			: 'Undo',
+	redo			: 'Redo',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Send it to the Server',
+		image			: 'Image',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Hidden Field',
+		button			: 'Button',
+		select	: 'Selection Field',
+		imageButton		: 'Image Button',
+		notSet			: '<not set>',
+		id				: 'Id',
+		name			: 'Name',
+		langDir			: 'Language Direction',
+		langDirLtr		: 'Left to Right (LTR)',
+		langDirRtl		: 'Right to Left (RTL)',
+		langCode		: 'Language Code',
+		longDescr		: 'Long Description URL',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Cancel',
+		generalTab		: 'General',
+		advancedTab		: 'Advanced',
+		validateNumberFailed	: 'This value is not a number.',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insert Special Character',
+		title		: 'Select Special Character'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link',
+		menu		: 'Edit Link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Target',
+		upload		: 'Upload',
+		advanced	: 'Advanced',
+		type		: 'Link Type',
+		toAnchor	: 'Link to anchor in the text',
+		toEmail		: 'E-mail',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<popup window>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)',
+		targetFrameName	: 'Target Frame Name',
+		targetPopupName	: 'Popup Window Name',
+		popupFeatures	: 'Popup Window Features',
+		popupResizable	: 'Resizable',
+		popupStatusBar	: 'Status Bar',
+		popupLocationBar	: 'Location Bar',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Menu Bar',
+		popupFullScreen	: 'Full Screen (IE)',
+		popupScrollBars	: 'Scroll Bars',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Width',
+		popupLeft		: 'Left Position',
+		popupHeight		: 'Height',
+		popupTop		: 'Top Position',
+		id				: 'Id',
+		langDir			: 'Language Direction',
+		langDirNotSet	: '<not set>',
+		langDirLTR		: 'Left to Right (LTR)',
+		langDirRTL		: 'Right to Left (RTL)',
+		acccessKey		: 'Access Key',
+		name			: 'Name',
+		langCode		: 'Language Code',
+		tabIndex		: 'Tab Index',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Style',
+		selectAnchor	: 'Select an Anchor',
+		anchorName		: 'By Anchor Name',
+		anchorId		: 'By Element Id',
+		emailAddress	: 'E-Mail Address',
+		emailSubject	: 'Message Subject',
+		emailBody		: 'Message Body',
+		noAnchors		: '(No anchors available in the document)',
+		noUrl			: 'Please type the link URL',
+		noEmail			: 'Please type the e-mail address'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Anchor',
+		menu		: 'Edit Anchor',
+		title		: 'Anchor Properties',
+		name		: 'Anchor Name',
+		errorName	: 'Please type the anchor name'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace',
+		find				: 'Find',
+		replace				: 'Replace',
+		findWhat			: 'Find what:',
+		replaceWith			: 'Replace with:',
+		notFoundMsg			: 'The specified text was not found.',
+		matchCase			: 'Match case',
+		matchWord			: 'Match whole word',
+		matchCyclic			: 'Match cyclic',
+		replaceAll			: 'Replace All',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Table',
+		title		: 'Table Properties',
+		menu		: 'Table Properties',
+		deleteTable	: 'Delete Table',
+		rows		: 'Rows',
+		columns		: 'Columns',
+		border		: 'Border size',
+		align		: 'Alignment',
+		alignNotSet	: '<Not set>',
+		alignLeft	: 'Left',
+		alignCenter	: 'Center',
+		alignRight	: 'Right',
+		width		: 'Width',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Height',
+		cellSpace	: 'Cell spacing',
+		cellPad		: 'Cell padding',
+		caption		: 'Caption',
+		summary		: 'Summary',
+		headers		: 'Headers',
+		headersNone		: 'None',
+		headersColumn	: 'First column',
+		headersRow		: 'First Row',
+		headersBoth		: 'Both',
+		invalidRows		: 'Number of rows must be a number greater than 0.',
+		invalidCols		: 'Number of columns must be a number greater than 0.',
+		invalidBorder	: 'Border size must be a number.',
+		invalidWidth	: 'Table width must be a number.',
+		invalidHeight	: 'Table height must be a number.',
+		invalidCellSpacing	: 'Cell spacing must be a number.',
+		invalidCellPadding	: 'Cell padding must be a number.',
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Insert Cell Before',
+			insertAfter		: 'Insert Cell After',
+			deleteCell		: 'Delete Cells',
+			merge			: 'Merge Cells',
+			mergeRight		: 'Merge Right',
+			mergeDown		: 'Merge Down',
+			splitHorizontal	: 'Split Cell Horizontally',
+			splitVertical	: 'Split Cell Vertically',
+			title			: 'Cell Properties',
+			cellType		: 'Cell Type',
+			rowSpan			: 'Rows Span',
+			colSpan			: 'Columns Span',
+			wordWrap		: 'Word Wrap',
+			hAlign			: 'Horizontal Alignment',
+			vAlign			: 'Vertical Alignment',
+			alignTop		: 'Top',
+			alignMiddle		: 'Middle',
+			alignBottom		: 'Bottom',
+			alignBaseline	: 'Baseline',
+			bgColor			: 'Background Color',
+			borderColor		: 'Border Color',
+			data			: 'Data',
+			header			: 'Header',
+			yes				: 'Yes',
+			no				: 'No',
+			invalidWidth	: 'Cell width must be a number.',
+			invalidHeight	: 'Cell height must be a number.',
+			invalidRowSpan	: 'Rows span must be a whole number.',
+			invalidColSpan	: 'Columns span must be a whole number.',
+			chooseColor : 'Choose'
+		},
+
+		row :
+		{
+			menu			: 'Row',
+			insertBefore	: 'Insert Row Before',
+			insertAfter		: 'Insert Row After',
+			deleteRow		: 'Delete Rows'
+		},
+
+		column :
+		{
+			menu			: 'Column',
+			insertBefore	: 'Insert Column Before',
+			insertAfter		: 'Insert Column After',
+			deleteColumn	: 'Delete Columns'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Button Properties',
+		text		: 'Text (Value)',
+		type		: 'Type',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox Properties',
+		radioTitle	: 'Radio Button Properties',
+		value		: 'Value',
+		selected	: 'Selected'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Properties',
+		menu		: 'Form Properties',
+		action		: 'Action',
+		method		: 'Method',
+		encoding	: 'Encoding',
+		target		: 'Target',
+		targetNotSet	: '<not set>',
+		targetNew	: 'New Window (_blank)',
+		targetTop	: 'Topmost Window (_top)',
+		targetSelf	: 'Same Window (_self)',
+		targetParent	: 'Parent Window (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection Field Properties',
+		selectInfo	: 'Select Info',
+		opAvail		: 'Available Options',
+		value		: 'Value',
+		size		: 'Size',
+		lines		: 'lines',
+		chkMulti	: 'Allow multiple selections',
+		opText		: 'Text',
+		opValue		: 'Value',
+		btnAdd		: 'Add',
+		btnModify	: 'Modify',
+		btnUp		: 'Up',
+		btnDown		: 'Down',
+		btnSetValue : 'Set as selected value',
+		btnDelete	: 'Delete'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea Properties',
+		cols		: 'Columns',
+		rows		: 'Rows'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field Properties',
+		name		: 'Name',
+		value		: 'Value',
+		charWidth	: 'Character Width',
+		maxChars	: 'Maximum Characters',
+		type		: 'Type',
+		typeText	: 'Text',
+		typePass	: 'Password'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field Properties',
+		name	: 'Name',
+		value	: 'Value'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Image Properties',
+		titleButton	: 'Image Button Properties',
+		menu		: 'Image Properties',
+		infoTab	: 'Image Info',
+		btnUpload	: 'Send it to the Server',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternative Text',
+		width		: 'Width',
+		height	: 'Height',
+		lockRatio	: 'Lock Ratio',
+		resetSize	: 'Reset Size',
+		border	: 'Border',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignRight	: 'Right',
+		preview	: 'Preview',
+		alertUrl	: 'Please type the image URL',
+		linkTab	: 'Link',
+		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.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties',
+		propertiesTab	: 'Properties',
+		title		: 'Flash Properties',
+		chkPlay		: 'Auto Play',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Enable Flash Menu',
+		chkFull		: 'Allow Fullscreen',
+ 		scale		: 'Scale',
+		scaleAll		: 'Show all',
+		scaleNoBorder	: 'No Border',
+		scaleFit		: 'Exact Fit',
+		access			: 'Script Access',
+		accessAlways	: 'Always',
+		accessSameDomain	: 'Same domain',
+		accessNever	: 'Never',
+		align		: 'Align',
+		alignLeft	: 'Left',
+		alignAbsBottom: 'Abs Bottom',
+		alignAbsMiddle: 'Abs Middle',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Bottom',
+		alignMiddle	: 'Middle',
+		alignRight	: 'Right',
+		alignTextTop	: 'Text Top',
+		alignTop	: 'Top',
+		quality		: 'Quality',
+		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',
+		bgcolor	: 'Background color',
+		width	: 'Width',
+		height	: 'Height',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'URL must not be empty.',
+		validateWidth : 'Width must be a number.',
+		validateHeight : 'Height must be a number.',
+		validateHSpace : 'HSpace must be a number.',
+		validateVSpace : 'VSpace must be a number.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Check Spelling',
+		title			: 'Spell Check',
+		notAvailable	: 'Sorry, but service is unavailable now.',
+		errorLoading	: 'Error loading application service host: %s.',
+		notInDic		: 'Not in dictionary',
+		changeTo		: 'Change to',
+		btnIgnore		: 'Ignore',
+		btnIgnoreAll	: 'Ignore All',
+		btnReplace		: 'Replace',
+		btnReplaceAll	: 'Replace All',
+		btnUndo			: 'Undo',
+		noSuggestions	: '- No suggestions -',
+		progress		: 'Spell check in progress...',
+		noMispell		: 'Spell check complete: No misspellings found',
+		noChanges		: 'Spell check complete: No words changed',
+		oneChange		: 'Spell check complete: One word changed',
+		manyChanges		: 'Spell check complete: %1 words changed',
+		ieSpellDownload	: 'Spell checker not installed. Do you want to download it now?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Insert a Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Insert/Remove Numbered List',
+	bulletedlist : 'Insert/Remove Bulleted List',
+	indent : 'Increase Indent',
+	outdent : 'Decrease Indent',
+
+	justify :
+	{
+		left : 'Left Justify',
+		center : 'Center Justify',
+		right : 'Right Justify',
+		block : 'Block Justify'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Paste',
+		cutError	: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).',
+		copyError	: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.'
+	},
+
+	pastefromword :
+	{
+		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'
+	},
+
+	pasteText :
+	{
+		button : 'Paste as plain text',
+		title : 'Paste as Plain Text'
+	},
+
+	templates :
+	{
+		button : 'Templates',
+		title : 'Content Templates',
+		insertOption: 'Replace actual contents',
+		selectPromptMsg: 'Please select the template to open in the editor',
+		emptyListMsg : '(No templates defined)'
+	},
+
+	showBlocks : 'Show Blocks',
+
+	stylesCombo :
+	{
+		label : 'Styles',
+		voiceLabel : 'Styles',
+		panelVoiceLabel : 'Select a style',
+		panelTitle1 : 'Block Styles',
+		panelTitle2 : 'Inline Styles',
+		panelTitle3 : 'Object Styles'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Paragraph Format',
+		panelVoiceLabel : 'Select a paragraph format',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	div :
+	{
+		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'
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font',
+		panelTitle : 'Font Name',
+		panelVoiceLabel : 'Select a font'
+	},
+
+	fontSize :
+	{
+		label : 'Size',
+		voiceLabel : 'Font Size',
+		panelTitle : 'Font Size',
+		panelVoiceLabel : 'Select a font size'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Text Color',
+		bgColorTitle : 'Background Color',
+		auto : 'Automatic',
+		more : 'More Colors...'
+	},
+
+	colors :
+	{
+		'000' : 'Black',
+		'800000' : 'Maroon',
+		'8B4513' : 'Saddle Brown',
+		'2F4F4F' : 'Dark Slate Gray',
+		'008080' : 'Teal',
+		'000080' : 'Navy',
+		'4B0082' : 'Indigo',
+		'696969' : 'Dim Gray',
+		'B22222' : 'Fire Brick',
+		'A52A2A' : 'Brown',
+		'DAA520' : 'Golden Rod',
+		'006400' : 'Dark Green',
+		'40E0D0' : 'Turquoise',
+		'0000CD' : 'Medium Blue',
+		'800080' : 'Purple',
+		'808080' : 'Gray',
+		'F00' : 'Red',
+		'FF8C00' : 'Dark Orange',
+		'FFD700' : 'Gold',
+		'008000' : 'Green',
+		'0FF' : 'Cyan',
+		'00F' : 'Blue',
+		'EE82EE' : 'Violet',
+		'A9A9A9' : 'Dark Gray',
+		'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',
+		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',
+		languagesTab : 'Languages',
+		dictionariesTab : 'Dictionaries',
+		aboutTab : 'About'
+	},
+
+	about :
+	{
+		title : 'About CKEditor',
+		dlgTitle : 'About CKEditor',
+		moreInfo : 'For licensing information please visit our web site:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Maximize',
+	minimize : 'Minimize',
+
+	fakeobjects :
+	{
+		anchor : 'Anchor',
+		flash : 'Flash Animation',
+		div : 'Page Break',
+		unknown : 'Unknown Object'
+	},
+
+	resize : 'Drag to resize',
+
+	colordialog :
+	{
+		title : 'Select color',
+		highlight : 'Highlight',
+		selected : 'Selected',
+		clear : 'Clear'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar',
+	toolbarExpand : 'Expand Toolbar'
+};
Index: CKEditor/branches/features/aria/_source/lang/eo.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/eo.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/eo.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Esperanto language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['eo'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Fonto',
+	newPage			: 'Nova Paĝo',
+	save			: 'Sekurigi',
+	preview			: 'Vidigi Aspekton',
+	cut				: 'Eltondi',
+	copy			: 'Kopii',
+	paste			: 'Interglui',
+	print			: 'Presi',
+	underline		: 'Substreko',
+	bold			: 'Grasa',
+	italic			: 'Kursiva',
+	selectAll		: 'Elekti ĉion',
+	removeFormat	: 'Forigi Formaton',
+	strike			: 'Trastreko',
+	subscript		: 'Subskribo',
+	superscript		: 'Superskribo',
+	horizontalrule	: 'Enmeti Horizonta Linio',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: 'Forigi Ligilon',
+	undo			: 'Malfari',
+	redo			: 'Refari',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Foliumi en la Servilo',
+		url				: 'URL',
+		protocol		: 'Protokolo',
+		upload			: 'Alŝuti',
+		uploadSubmit	: 'Sendu al Servilo',
+		image			: 'Bildo',
+		flash			: 'Flash', // MISSING
+		form			: 'Formularo',
+		checkbox		: 'Markobutono',
+		radio		: 'Radiobutono',
+		textField		: 'Teksta kampo',
+		textarea		: 'Teksta Areo',
+		hiddenField		: 'Kaŝita Kampo',
+		button			: 'Butono',
+		select	: 'Elekta Kampo',
+		imageButton		: 'Bildbutono',
+		notSet			: '<Defaŭlta>',
+		id				: 'Id',
+		name			: 'Nomo',
+		langDir			: 'Skribdirekto',
+		langDirLtr		: 'De maldekstro dekstren (LTR)',
+		langDirRtl		: 'De dekstro maldekstren (RTL)',
+		langCode		: 'Lingva Kodo',
+		longDescr		: 'URL de Longa Priskribo',
+		cssClass		: 'Klasoj de Stilfolioj',
+		advisoryTitle	: 'Indika Titolo',
+		cssStyle		: 'Stilo',
+		ok				: 'Akcepti',
+		cancel			: 'Rezigni',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Speciala',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Enmeti Specialan Signon',
+		title		: 'Enmeti Specialan Signon'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Enmeti/Ŝanĝi Ligilon',
+		menu		: 'Modifier Ligilon',
+		title		: 'Ligilo',
+		info		: 'Informoj pri la Ligilo',
+		target		: 'Celo',
+		upload		: 'Alŝuti',
+		advanced	: 'Speciala',
+		type		: 'Tipo de Ligilo',
+		toAnchor	: 'Ankri en tiu ĉi paĝo',
+		toEmail		: 'Retpoŝto',
+		target		: 'Celo',
+		targetNotSet	: '<Defaŭlta>',
+		targetFrame	: '<kadro>',
+		targetPopup	: '<ŝprucfenestro>',
+		targetNew	: 'Nova Fenestro (_blank)',
+		targetTop	: 'Plej Supra Fenestro (_top)',
+		targetSelf	: 'Sama Fenestro (_self)',
+		targetParent	: 'Gepatra Fenestro (_parent)',
+		targetFrameName	: 'Nomo de Kadro',
+		targetPopupName	: 'Nomo de Ŝprucfenestro',
+		popupFeatures	: 'Atributoj de la Ŝprucfenestro',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Statobreto',
+		popupLocationBar	: 'Adresobreto',
+		popupToolbar	: 'Ilobreto',
+		popupMenuBar	: 'Menubreto',
+		popupFullScreen	: 'Tutekrane (IE)',
+		popupScrollBars	: 'Rulumlisteloj',
+		popupDependent	: 'Dependa (Netscape)',
+		popupWidth		: 'Larĝo',
+		popupLeft		: 'Pozicio de Maldekstro',
+		popupHeight		: 'Alto',
+		popupTop		: 'Pozicio de Supro',
+		id				: 'Id', // MISSING
+		langDir			: 'Skribdirekto',
+		langDirNotSet	: '<Defaŭlta>',
+		langDirLTR		: 'De maldekstro dekstren (LTR)',
+		langDirRTL		: 'De dekstro maldekstren (RTL)',
+		acccessKey		: 'Fulmoklavo',
+		name			: 'Nomo',
+		langCode		: 'Skribdirekto',
+		tabIndex		: 'Taba Ordo',
+		advisoryTitle	: 'Indika Titolo',
+		advisoryContentType	: 'Indika Enhavotipo',
+		cssClasses		: 'Klasoj de Stilfolioj',
+		charset			: 'Signaro de la Ligita Rimedo',
+		styles			: 'Stilo',
+		selectAnchor	: 'Elekti Ankron',
+		anchorName		: 'Per Ankronomo',
+		anchorId		: 'Per Elementidentigilo',
+		emailAddress	: 'Retadreso',
+		emailSubject	: 'Temlinio',
+		emailBody		: 'Mesaĝa korpo',
+		noAnchors		: '<Ne disponeblas ankroj en la dokumento>',
+		noUrl			: 'Bonvolu entajpi la URL-on',
+		noEmail			: 'Bonvolu entajpi la retadreson'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Enmeti/Ŝanĝi Ankron',
+		menu		: 'Ankraj Atributoj',
+		title		: 'Ankraj Atributoj',
+		name		: 'Ankra Nomo',
+		errorName	: 'Bv tajpi la ankran nomon'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Serĉi',
+		replace				: 'Anstataŭigi',
+		findWhat			: 'Serĉi:',
+		replaceWith			: 'Anstataŭigi per:',
+		notFoundMsg			: 'La celteksto ne estas trovita.',
+		matchCase			: 'Kongruigi Usklecon',
+		matchWord			: 'Tuta Vorto',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Anstataŭigi Ĉiun',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabelo',
+		title		: 'Atributoj de Tabelo',
+		menu		: 'Atributoj de Tabelo',
+		deleteTable	: 'Delete Table', // MISSING
+		rows		: 'Linioj',
+		columns		: 'Kolumnoj',
+		border		: 'Bordero',
+		align		: 'Ĝisrandigo',
+		alignNotSet	: '<Defaŭlte>',
+		alignLeft	: 'Maldekstre',
+		alignCenter	: 'Centre',
+		alignRight	: 'Dekstre',
+		width		: 'Larĝo',
+		widthPx		: 'Bitbilderoj',
+		widthPc		: 'elcentoj',
+		height		: 'Alto',
+		cellSpace	: 'Interspacigo de Ĉeloj',
+		cellPad		: 'Ĉirkaŭenhava Plenigado',
+		caption		: 'Titolo',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Forigi Ĉelojn',
+			merge			: 'Kunfandi Ĉelojn',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Forigi Liniojn'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Forigi Kolumnojn'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Butonaj Atributoj',
+		text		: 'Teksto (Valoro)',
+		type		: 'Tipo',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Markobutonaj Atributoj',
+		radioTitle	: 'Radiobutonaj Atributoj',
+		value		: 'Valoro',
+		selected	: 'Elektita'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formularaj Atributoj',
+		menu		: 'Formularaj Atributoj',
+		action		: 'Ago',
+		method		: 'Metodo',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Celo',
+		targetNotSet	: '<Defaŭlta>',
+		targetNew	: 'Nova Fenestro (_blank)',
+		targetTop	: 'Plej Supra Fenestro (_top)',
+		targetSelf	: 'Sama Fenestro (_self)',
+		targetParent	: 'Gepatra Fenestro (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Atributoj de Elekta Kampo',
+		selectInfo	: 'Select Info', // MISSING
+		opAvail		: 'Elektoj Disponeblaj',
+		value		: 'Valoro',
+		size		: 'Grando',
+		lines		: 'Linioj',
+		chkMulti	: 'Permesi Plurajn Elektojn',
+		opText		: 'Teksto',
+		opValue		: 'Valoro',
+		btnAdd		: 'Aldoni',
+		btnModify	: 'Modifi',
+		btnUp		: 'Supren',
+		btnDown		: 'Malsupren',
+		btnSetValue : 'Agordi kiel Elektitan Valoron',
+		btnDelete	: 'Forigi'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Atributoj de Teksta Areo',
+		cols		: 'Kolumnoj',
+		rows		: 'Vicoj'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Atributoj de Teksta Kampo',
+		name		: 'Nomo',
+		value		: 'Valoro',
+		charWidth	: 'Signolarĝo',
+		maxChars	: 'Maksimuma Nombro da Signoj',
+		type		: 'Tipo',
+		typeText	: 'Teksto',
+		typePass	: 'Pasvorto'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Atributoj de Kaŝita Kampo',
+		name	: 'Nomo',
+		value	: 'Valoro'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Atributoj de Bildo',
+		titleButton	: 'Bildbutonaj Atributoj',
+		menu		: 'Atributoj de Bildo',
+		infoTab	: 'Informoj pri Bildo',
+		btnUpload	: 'Sendu al Servilo',
+		url		: 'URL',
+		upload	: 'Alŝuti',
+		alt		: 'Anstataŭiga Teksto',
+		width		: 'Larĝo',
+		height	: 'Alto',
+		lockRatio	: 'Konservi Proporcion',
+		resetSize	: 'Origina Grando',
+		border	: 'Bordero',
+		hSpace	: 'HSpaco',
+		vSpace	: 'VSpaco',
+		align		: 'Ĝisrandigo',
+		alignLeft	: 'Maldekstre',
+		alignRight	: 'Dekstre',
+		preview	: 'Vidigi Aspekton',
+		alertUrl	: 'Bonvolu tajpi la URL de la bildo',
+		linkTab	: 'Link', // MISSING
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties', // MISSING
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash Properties', // MISSING
+		chkPlay		: 'Auto Play', // MISSING
+		chkLoop		: 'Loop', // MISSING
+		chkMenu		: 'Enable Flash Menu', // MISSING
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Scale', // MISSING
+		scaleAll		: 'Show all', // MISSING
+		scaleNoBorder	: 'No Border', // MISSING
+		scaleFit		: 'Exact Fit', // MISSING
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Ĝisrandigo',
+		alignLeft	: 'Maldekstre',
+		alignAbsBottom: 'Abs Malsupre',
+		alignAbsMiddle: 'Abs Centre',
+		alignBaseline	: 'Je Malsupro de Teksto',
+		alignBottom	: 'Malsupre',
+		alignMiddle	: 'Centre',
+		alignRight	: 'Dekstre',
+		alignTextTop	: 'Je Supro de Teksto',
+		alignTop	: 'Supre',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Fona Koloro',
+		width	: 'Larĝo',
+		height	: 'Alto',
+		hSpace	: 'HSpaco',
+		vSpace	: 'VSpaco',
+		validateSrc : 'Bonvolu entajpi la URL-on',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Literumada Kontrolilo',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Ne trovita en la vortaro',
+		changeTo		: 'Ŝanĝi al',
+		btnIgnore		: 'Malatenti',
+		btnIgnoreAll	: 'Malatenti Ĉiun',
+		btnReplace		: 'Anstataŭigi',
+		btnReplaceAll	: 'Anstataŭigi Ĉiun',
+		btnUndo			: 'Malfari',
+		noSuggestions	: '- Neniu propono -',
+		progress		: 'Literumkontrolado daŭras...',
+		noMispell		: 'Literumkontrolado finita: neniu fuŝo trovita',
+		noChanges		: 'Literumkontrolado finita: neniu vorto ŝanĝita',
+		oneChange		: 'Literumkontrolado finita: unu vorto ŝanĝita',
+		manyChanges		: 'Literumkontrolado finita: %1 vortoj ŝanĝitaj',
+		ieSpellDownload	: 'Literumada Kontrolilo ne instalita. Ĉu vi volas elŝuti ĝin nun?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Mienvinjeto',
+		title	: 'Enmeti Mienvinjeton'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numera Listo',
+	bulletedlist : 'Bula Listo',
+	indent : 'Pligrandigi Krommarĝenon',
+	outdent : 'Malpligrandigi Krommarĝenon',
+
+	justify :
+	{
+		left : 'Maldekstrigi',
+		center : 'Centrigi',
+		right : 'Dekstrigi',
+		block : 'Ĝisrandigi Ambaŭflanke'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Interglui',
+		cutError	: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-X).',
+		copyError	: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK', // MISSING
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Interglui el Word',
+		title : 'Interglui el Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Interglui kiel Tekston',
+		title : 'Interglui kiel Tekston'
+	},
+
+	templates :
+	{
+		button : 'Templates', // MISSING
+		title : 'Content Templates', // MISSING
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Please select the template to open in the editor', // MISSING
+		emptyListMsg : '(No templates defined)' // MISSING
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Stilo',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formato',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formato',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normala',
+		tag_pre : 'Formatita',
+		tag_address : 'Adreso',
+		tag_h1 : 'Titolo 1',
+		tag_h2 : 'Titolo 2',
+		tag_h3 : 'Titolo 3',
+		tag_h4 : 'Titolo 4',
+		tag_h5 : 'Titolo 5',
+		tag_h6 : 'Titolo 6',
+		tag_div : 'Paragrafo (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Tiparo',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Tiparo',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Grando',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Grando',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Teksta Koloro',
+		bgColorTitle : 'Fona Koloro',
+		auto : 'Aŭtomata',
+		more : 'Pli da Koloroj...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/es.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/es.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/es.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Spanish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['es'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editor de texto enriquecido, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Fuente HTML',
+	newPage			: 'Nueva Página',
+	save			: 'Guardar',
+	preview			: 'Vista Previa',
+	cut				: 'Cortar',
+	copy			: 'Copiar',
+	paste			: 'Pegar',
+	print			: 'Imprimir',
+	underline		: 'Subrayado',
+	bold			: 'Negrita',
+	italic			: 'Cursiva',
+	selectAll		: 'Seleccionar Todo',
+	removeFormat	: 'Eliminar Formato',
+	strike			: 'Tachado',
+	subscript		: 'Subíndice',
+	superscript		: 'Superíndice',
+	horizontalrule	: 'Insertar Línea Horizontal',
+	pagebreak		: 'Insertar Salto de Página',
+	unlink			: 'Eliminar Vínculo',
+	undo			: 'Deshacer',
+	redo			: 'Rehacer',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Ver Servidor',
+		url				: 'URL',
+		protocol		: 'Protocolo',
+		upload			: 'Cargar',
+		uploadSubmit	: 'Enviar al Servidor',
+		image			: 'Imagen',
+		flash			: 'Flash',
+		form			: 'Formulario',
+		checkbox		: 'Casilla de Verificación',
+		radio		: 'Botones de Radio',
+		textField		: 'Campo de Texto',
+		textarea		: 'Area de Texto',
+		hiddenField		: 'Campo Oculto',
+		button			: 'Botón',
+		select	: 'Campo de Selección',
+		imageButton		: 'Botón Imagen',
+		notSet			: '<No definido>',
+		id				: 'Id',
+		name			: 'Nombre',
+		langDir			: 'Orientación',
+		langDirLtr		: 'Izquierda a Derecha (LTR)',
+		langDirRtl		: 'Derecha a Izquierda (RTL)',
+		langCode		: 'Cód. de idioma',
+		longDescr		: 'Descripción larga URL',
+		cssClass		: 'Clases de hojas de estilo',
+		advisoryTitle	: 'Título',
+		cssStyle		: 'Estilo',
+		ok				: 'OK',
+		cancel			: 'Cancelar',
+		generalTab		: 'General',
+		advancedTab		: 'Avanzado',
+		validateNumberFailed	: 'El valor no es un número.',
+		confirmNewPage	: 'Cualquier cambio que no se haya guardado se perderá. ¿Está seguro de querer crear una nueva página?',
+		confirmCancel	: 'Algunas de las opciones se han cambiado. ¿Está seguro de querer cerrar el diálogo?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, no disponible</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insertar Caracter Especial',
+		title		: 'Seleccione un caracter especial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Insertar/Editar Vínculo',
+		menu		: 'Editar Vínculo',
+		title		: 'Vínculo',
+		info		: 'Información de Vínculo',
+		target		: 'Destino',
+		upload		: 'Cargar',
+		advanced	: 'Avanzado',
+		type		: 'Tipo de vínculo',
+		toAnchor	: 'Referencia en esta página',
+		toEmail		: 'E-Mail',
+		target		: 'Destino',
+		targetNotSet	: '<No definido>',
+		targetFrame	: '<marco>',
+		targetPopup	: '<ventana emergente>',
+		targetNew	: 'Nueva Ventana(_blank)',
+		targetTop	: 'Ventana primaria (_top)',
+		targetSelf	: 'Misma Ventana (_self)',
+		targetParent	: 'Ventana Padre (_parent)',
+		targetFrameName	: 'Nombre del Marco Destino',
+		targetPopupName	: 'Nombre de Ventana Emergente',
+		popupFeatures	: 'Características de Ventana Emergente',
+		popupResizable	: 'Redimensionable',
+		popupStatusBar	: 'Barra de Estado',
+		popupLocationBar	: 'Barra de ubicación',
+		popupToolbar	: 'Barra de Herramientas',
+		popupMenuBar	: 'Barra de Menú',
+		popupFullScreen	: 'Pantalla Completa (IE)',
+		popupScrollBars	: 'Barras de desplazamiento',
+		popupDependent	: 'Dependiente (Netscape)',
+		popupWidth		: 'Anchura',
+		popupLeft		: 'Posición Izquierda',
+		popupHeight		: 'Altura',
+		popupTop		: 'Posición Derecha',
+		id				: 'Id',
+		langDir			: 'Orientación',
+		langDirNotSet	: '<No definido>',
+		langDirLTR		: 'Izquierda a Derecha (LTR)',
+		langDirRTL		: 'Derecha a Izquierda (RTL)',
+		acccessKey		: 'Clave de Acceso',
+		name			: 'Nombre',
+		langCode		: 'Orientación',
+		tabIndex		: 'Indice de tabulación',
+		advisoryTitle	: 'Título',
+		advisoryContentType	: 'Tipo de Contenido',
+		cssClasses		: 'Clases de hojas de estilo',
+		charset			: 'Fuente de caracteres vinculado',
+		styles			: 'Estilo',
+		selectAnchor	: 'Seleccionar una referencia',
+		anchorName		: 'Por Nombre de Referencia',
+		anchorId		: 'Por ID de elemento',
+		emailAddress	: 'Dirección de E-Mail',
+		emailSubject	: 'Título del Mensaje',
+		emailBody		: 'Cuerpo del Mensaje',
+		noAnchors		: '(No hay referencias disponibles en el documento)',
+		noUrl			: 'Por favor tipee el vínculo URL',
+		noEmail			: 'Por favor tipee la dirección de e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Referencia',
+		menu		: 'Propiedades de Referencia',
+		title		: 'Propiedades de Referencia',
+		name		: 'Nombre de la Referencia',
+		errorName	: 'Por favor, complete el nombre de la Referencia'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Buscar y Reemplazar',
+		find				: 'Buscar',
+		replace				: 'Reemplazar',
+		findWhat			: 'Texto a buscar:',
+		replaceWith			: 'Reemplazar con:',
+		notFoundMsg			: 'El texto especificado no ha sido encontrado.',
+		matchCase			: 'Coincidir may/min',
+		matchWord			: 'Coincidir toda la palabra',
+		matchCyclic			: 'Buscar en todo el contenido',
+		replaceAll			: 'Reemplazar Todo',
+		replaceSuccessMsg	: 'La expresión buscada ha sido reemplazada %1 veces.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabla',
+		title		: 'Propiedades de Tabla',
+		menu		: 'Propiedades de Tabla',
+		deleteTable	: 'Eliminar Tabla',
+		rows		: 'Filas',
+		columns		: 'Columnas',
+		border		: 'Tamaño de Borde',
+		align		: 'Alineación',
+		alignNotSet	: '<No establecido>',
+		alignLeft	: 'Izquierda',
+		alignCenter	: 'Centrado',
+		alignRight	: 'Derecha',
+		width		: 'Anchura',
+		widthPx		: 'pixeles',
+		widthPc		: 'porcentaje',
+		height		: 'Altura',
+		cellSpace	: 'Esp. e/celdas',
+		cellPad		: 'Esp. interior',
+		caption		: 'Título',
+		summary		: 'Síntesis',
+		headers		: 'Encabezados',
+		headersNone		: 'Ninguno',
+		headersColumn	: 'Primera columna',
+		headersRow		: 'Primera fila',
+		headersBoth		: 'Ambas',
+		invalidRows		: 'El número de filas debe ser un número mayor que 0.',
+		invalidCols		: 'El número de columnas debe ser un número mayor que 0.',
+		invalidBorder	: 'El tamaño del borde debe ser un número.',
+		invalidWidth	: 'La anchura de tabla debe ser un número.',
+		invalidHeight	: 'La altura de tabla debe ser un número.',
+		invalidCellSpacing	: 'El espaciado entre celdas debe ser un número.',
+		invalidCellPadding	: 'El espaciado interior debe ser un número.',
+
+		cell :
+		{
+			menu			: 'Celda',
+			insertBefore	: 'Insertar celda a la izquierda',
+			insertAfter		: 'Insertar celda a la derecha',
+			deleteCell		: 'Eliminar Celdas',
+			merge			: 'Combinar Celdas',
+			mergeRight		: 'Combinar a la derecha',
+			mergeDown		: 'Combinar hacia abajo',
+			splitHorizontal	: 'Dividir la celda horizontalmente',
+			splitVertical	: 'Dividir la celda verticalmente',
+			title			: 'Propiedades de celda',
+			cellType		: 'Tipo de Celda',
+			rowSpan			: 'Expandir filas',
+			colSpan			: 'Expandir columnas',
+			wordWrap		: 'Ajustar al contenido',
+			hAlign			: 'Alineación Horizontal',
+			vAlign			: 'Alineación Vertical',
+			alignTop		: 'Arriba',
+			alignMiddle		: 'Medio',
+			alignBottom		: 'Abajo',
+			alignBaseline	: 'Linea de base',
+			bgColor			: 'Color de fondo',
+			borderColor		: 'Color de borde',
+			data			: 'Datos',
+			header			: 'Encabezado',
+			yes				: 'Sí',
+			no				: 'No',
+			invalidWidth	: 'La anchura de celda debe ser un número.',
+			invalidHeight	: 'La altura de celda debe ser un número.',
+			invalidRowSpan	: 'La expansión de filas debe ser un número entero.',
+			invalidColSpan	: 'La expansión de columnas debe ser un número entero.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Fila',
+			insertBefore	: 'Insertar fila en la parte superior',
+			insertAfter		: 'Insertar fila en la parte inferior',
+			deleteRow		: 'Eliminar Filas'
+		},
+
+		column :
+		{
+			menu			: 'Columna',
+			insertBefore	: 'Insertar columna a la izquierda',
+			insertAfter		: 'Insertar columna a la derecha',
+			deleteColumn	: 'Eliminar Columnas'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propiedades de Botón',
+		text		: 'Texto (Valor)',
+		type		: 'Tipo',
+		typeBtn		: 'Boton',
+		typeSbm		: 'Enviar',
+		typeRst		: 'Reestablecer'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propiedades de Casilla',
+		radioTitle	: 'Propiedades de Botón de Radio',
+		value		: 'Valor',
+		selected	: 'Seleccionado'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propiedades de Formulario',
+		menu		: 'Propiedades de Formulario',
+		action		: 'Acción',
+		method		: 'Método',
+		encoding	: 'Codificación',
+		target		: 'Destino',
+		targetNotSet	: '<No definido>',
+		targetNew	: 'Nueva Ventana(_blank)',
+		targetTop	: 'Ventana primaria (_top)',
+		targetSelf	: 'Misma Ventana (_self)',
+		targetParent	: 'Ventana Padre (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propiedades de Campo de Selección',
+		selectInfo	: 'Información',
+		opAvail		: 'Opciones disponibles',
+		value		: 'Valor',
+		size		: 'Tamaño',
+		lines		: 'Lineas',
+		chkMulti	: 'Permitir múltiple selección',
+		opText		: 'Texto',
+		opValue		: 'Valor',
+		btnAdd		: 'Agregar',
+		btnModify	: 'Modificar',
+		btnUp		: 'Subir',
+		btnDown		: 'Bajar',
+		btnSetValue : 'Establecer como predeterminado',
+		btnDelete	: 'Eliminar'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propiedades de Area de Texto',
+		cols		: 'Columnas',
+		rows		: 'Filas'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propiedades de Campo de Texto',
+		name		: 'Nombre',
+		value		: 'Valor',
+		charWidth	: 'Caracteres de ancho',
+		maxChars	: 'Máximo caracteres',
+		type		: 'Tipo',
+		typeText	: 'Texto',
+		typePass	: 'Contraseña'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propiedades de Campo Oculto',
+		name	: 'Nombre',
+		value	: 'Valor'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propiedades de Imagen',
+		titleButton	: 'Propiedades de Botón de Imagen',
+		menu		: 'Propiedades de Imagen',
+		infoTab	: 'Información de Imagen',
+		btnUpload	: 'Enviar al Servidor',
+		url		: 'URL',
+		upload	: 'Cargar',
+		alt		: 'Texto Alternativo',
+		width		: 'Anchura',
+		height	: 'Altura',
+		lockRatio	: 'Proporcional',
+		resetSize	: 'Tamaño Original',
+		border	: 'Borde',
+		hSpace	: 'Esp.Horiz',
+		vSpace	: 'Esp.Vert',
+		align		: 'Alineación',
+		alignLeft	: 'Izquierda',
+		alignRight	: 'Derecha',
+		preview	: 'Vista Previa',
+		alertUrl	: 'Por favor escriba la URL de la imagen',
+		linkTab	: 'Vínculo',
+		button2Img	: '¿Desea convertir el botón de imagen en una simple imagen?',
+		img2Button	: '¿Desea convertir la imagen en un botón de imagen?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propiedades de Flash',
+		propertiesTab	: 'Propiedades',
+		title		: 'Propiedades de Flash',
+		chkPlay		: 'Autoejecución',
+		chkLoop		: 'Repetir',
+		chkMenu		: 'Activar Menú Flash',
+		chkFull		: 'Permitir pantalla completa',
+ 		scale		: 'Escala',
+		scaleAll		: 'Mostrar todo',
+		scaleNoBorder	: 'Sin Borde',
+		scaleFit		: 'Ajustado',
+		access			: 'Acceso de scripts',
+		accessAlways	: 'Siempre',
+		accessSameDomain	: 'Mismo dominio',
+		accessNever	: 'Nunca',
+		align		: 'Alineación',
+		alignLeft	: 'Izquierda',
+		alignAbsBottom: 'Abs inferior',
+		alignAbsMiddle: 'Abs centro',
+		alignBaseline	: 'Línea de base',
+		alignBottom	: 'Pie',
+		alignMiddle	: 'Centro',
+		alignRight	: 'Derecha',
+		alignTextTop	: 'Tope del texto',
+		alignTop	: 'Tope',
+		quality		: 'Calidad',
+		qualityBest		 : 'La mejor',
+		qualityHigh		 : 'Alta',
+		qualityAutoHigh	 : 'Auto Alta',
+		qualityMedium	 : 'Media',
+		qualityAutoLow	 : 'Auto Baja',
+		qualityLow		 : 'Baja',
+		windowModeWindow	 : 'Ventana',
+		windowModeOpaque	 : 'Opaco',
+		windowModeTransparent	 : 'Transparente',
+		windowMode	: 'WindowMode',
+		flashvars	: 'FlashVars',
+		bgcolor	: 'Color de Fondo',
+		width	: 'Anchura',
+		height	: 'Altura',
+		hSpace	: 'Esp.Horiz',
+		vSpace	: 'Esp.Vert',
+		validateSrc : 'Por favor escriba el vínculo URL',
+		validateWidth : 'Anchura debe ser un número.',
+		validateHeight : 'Altura debe ser un número.',
+		validateHSpace : 'Esp.Horiz debe ser un número.',
+		validateVSpace : 'Esp.Vert debe ser un número.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Ortografía',
+		title			: 'Comprobar ortografía',
+		notAvailable	: 'Lo sentimos pero el servicio no está disponible.',
+		errorLoading	: 'Error cargando la aplicación del servidor: %s.',
+		notInDic		: 'No se encuentra en el Diccionario',
+		changeTo		: 'Cambiar a',
+		btnIgnore		: 'Ignorar',
+		btnIgnoreAll	: 'Ignorar Todo',
+		btnReplace		: 'Reemplazar',
+		btnReplaceAll	: 'Reemplazar Todo',
+		btnUndo			: 'Deshacer',
+		noSuggestions	: '- No hay sugerencias -',
+		progress		: 'Control de Ortografía en progreso...',
+		noMispell		: 'Control finalizado: no se encontraron errores',
+		noChanges		: 'Control finalizado: no se ha cambiado ninguna palabra',
+		oneChange		: 'Control finalizado: se ha cambiado una palabra',
+		manyChanges		: 'Control finalizado: se ha cambiado %1 palabras',
+		ieSpellDownload	: 'Módulo de Control de Ortografía no instalado. ¿Desea descargarlo ahora?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticons',
+		title	: 'Insertar un Emoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 elemento'
+	},
+
+	numberedlist : 'Numeración',
+	bulletedlist : 'Viñetas',
+	indent : 'Aumentar Sangría',
+	outdent : 'Disminuir Sangría',
+
+	justify :
+	{
+		left : 'Alinear a Izquierda',
+		center : 'Centrar',
+		right : 'Alinear a Derecha',
+		block : 'Justificado'
+	},
+
+	blockquote : 'Cita',
+
+	clipboard :
+	{
+		title		: 'Pegar',
+		cutError	: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado. Por favor use el teclado (Ctrl+X).',
+		copyError	: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado. Por favor use el teclado (Ctrl+C).',
+		pasteMsg	: 'Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl+V</STRONG>); luego presione <STRONG>OK</STRONG>.',
+		securityMsg	: 'Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles. Es necesario que lo pegue de nuevo en esta ventana.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'El texto que desea parece provenir de Word. Desea depurarlo antes de pegarlo?',
+		toolbar : 'Pegar desde Word',
+		title : 'Pegar desde Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Pegar como Texto Plano',
+		title : 'Pegar como Texto Plano'
+	},
+
+	templates :
+	{
+		button : 'Plantillas',
+		title : 'Contenido de Plantillas',
+		insertOption: 'Reemplazar el contenido actual',
+		selectPromptMsg: 'Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):',
+		emptyListMsg : '(No hay plantillas definidas)'
+	},
+
+	showBlocks : 'Mostrar bloques',
+
+	stylesCombo :
+	{
+		label : 'Estilo',
+		voiceLabel : 'Estilos',
+		panelVoiceLabel : 'Elija un estilo',
+		panelTitle1 : 'Estilos de párrafo',
+		panelTitle2 : 'Estilos de carácter',
+		panelTitle3 : 'Estilos de objeto'
+	},
+
+	format :
+	{
+		label : 'Formato',
+		voiceLabel : 'Formato',
+		panelTitle : 'Formato',
+		panelVoiceLabel : 'Elija un formato de párrafo',
+
+		tag_p : 'Normal',
+		tag_pre : 'Con formato',
+		tag_address : 'Dirección',
+		tag_h1 : 'Encabezado 1',
+		tag_h2 : 'Encabezado 2',
+		tag_h3 : 'Encabezado 3',
+		tag_h4 : 'Encabezado 4',
+		tag_h5 : 'Encabezado 5',
+		tag_h6 : 'Encabezado 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Fuente',
+		voiceLabel : 'Fuente',
+		panelTitle : 'Fuente',
+		panelVoiceLabel : 'Elija una fuente'
+	},
+
+	fontSize :
+	{
+		label : 'Tamaño',
+		voiceLabel : 'Tamaño de fuente',
+		panelTitle : 'Tamaño',
+		panelVoiceLabel : 'Elija un tamaño de fuente'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Color de Texto',
+		bgColorTitle : 'Color de Fondo',
+		auto : 'Automático',
+		more : 'Más Colores...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Comprobar Ortografía Mientras Escribe',
+		enable : 'Activar COME',
+		disable : 'Desactivar COME',
+		about : 'Acerca de COME',
+		toggle : 'Cambiar COME',
+		options : 'Opciones',
+		langs : 'Idiomas',
+		moreSuggestions : 'Más sugerencias',
+		ignore : 'Ignorar',
+		ignoreAll : 'Ignorar Todas',
+		addWord : 'Añadir palabra',
+		emptyDic : 'El nombre del diccionario no puede estar en blanco.',
+		optionsTab : 'Opciones',
+		languagesTab : 'Idiomas',
+		dictionariesTab : 'Diccionarios',
+		aboutTab : 'Acerca de'
+	},
+
+	about :
+	{
+		title : 'Acerca de CKEditor',
+		dlgTitle : 'Acerca de CKEditor',
+		moreInfo : 'Para información de licencia, por favor visite nuestro sitio web:',
+		copy : 'Copyright &copy; $1. Todos los derechos reservados.'
+	},
+
+	maximize : 'Maximizar',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Ancla',
+		flash : 'Animación flash',
+		div : 'Salto de página',
+		unknown : 'Objeto desconocido'
+	},
+
+	resize : 'Arrastre para redimensionar',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/et.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/et.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/et.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Estonian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['et'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Lähtekood',
+	newPage			: 'Uus leht',
+	save			: 'Salvesta',
+	preview			: 'Eelvaade',
+	cut				: 'Lõika',
+	copy			: 'Kopeeri',
+	paste			: 'Kleebi',
+	print			: 'Prindi',
+	underline		: 'Allajoonitud',
+	bold			: 'Paks',
+	italic			: 'Kursiiv',
+	selectAll		: 'Vali kõik',
+	removeFormat	: 'Eemalda vorming',
+	strike			: 'Läbijoonitud',
+	subscript		: 'Allindeks',
+	superscript		: 'Ülaindeks',
+	horizontalrule	: 'Sisesta horisontaaljoon',
+	pagebreak		: 'Sisesta lehevahetuskoht',
+	unlink			: 'Eemalda link',
+	undo			: 'Võta tagasi',
+	redo			: 'Korda toimingut',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Sirvi serverit',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Lae üles',
+		uploadSubmit	: 'Saada serverissee',
+		image			: 'Pilt',
+		flash			: 'Flash',
+		form			: 'Vorm',
+		checkbox		: 'Märkeruut',
+		radio		: 'Raadionupp',
+		textField		: 'Tekstilahter',
+		textarea		: 'Tekstiala',
+		hiddenField		: 'Varjatud lahter',
+		button			: 'Nupp',
+		select	: 'Valiklahter',
+		imageButton		: 'Piltnupp',
+		notSet			: '<määramata>',
+		id				: 'Id',
+		name			: 'Nimi',
+		langDir			: 'Keele suund',
+		langDirLtr		: 'Vasakult paremale (LTR)',
+		langDirRtl		: 'Paremalt vasakule (RTL)',
+		langCode		: 'Keele kood',
+		longDescr		: 'Pikk kirjeldus URL',
+		cssClass		: 'Stiilistiku klassid',
+		advisoryTitle	: 'Juhendav tiitel',
+		cssStyle		: 'Laad',
+		ok				: 'OK',
+		cancel			: 'Loobu',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Täpsemalt',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Sisesta erimärk',
+		title		: 'Vali erimärk'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Sisesta link / Muuda linki',
+		menu		: 'Muuda linki',
+		title		: 'Link',
+		info		: 'Lingi info',
+		target		: 'Sihtkoht',
+		upload		: 'Lae üles',
+		advanced	: 'Täpsemalt',
+		type		: 'Lingi tüüp',
+		toAnchor	: 'Ankur sellel lehel',
+		toEmail		: 'E-post',
+		target		: 'Sihtkoht',
+		targetNotSet	: '<määramata>',
+		targetFrame	: '<raam>',
+		targetPopup	: '<hüpikaken>',
+		targetNew	: 'Uus aken (_blank)',
+		targetTop	: 'Pealmine aken (_top)',
+		targetSelf	: 'Sama aken (_self)',
+		targetParent	: 'Esivanem aken (_parent)',
+		targetFrameName	: 'Sihtmärk raami nimi',
+		targetPopupName	: 'Hüpikakna nimi',
+		popupFeatures	: 'Hüpikakna omadused',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Olekuriba',
+		popupLocationBar	: 'Aadressiriba',
+		popupToolbar	: 'Tööriistariba',
+		popupMenuBar	: 'Menüüriba',
+		popupFullScreen	: 'Täisekraan (IE)',
+		popupScrollBars	: 'Kerimisribad',
+		popupDependent	: 'Sõltuv (Netscape)',
+		popupWidth		: 'Laius',
+		popupLeft		: 'Vasak asukoht',
+		popupHeight		: 'Kõrgus',
+		popupTop		: 'Ülemine asukoht',
+		id				: 'Id', // MISSING
+		langDir			: 'Keele suund',
+		langDirNotSet	: '<määramata>',
+		langDirLTR		: 'Vasakult paremale (LTR)',
+		langDirRTL		: 'Paremalt vasakule (RTL)',
+		acccessKey		: 'Juurdepääsu võti',
+		name			: 'Nimi',
+		langCode		: 'Keele suund',
+		tabIndex		: 'Tab indeks',
+		advisoryTitle	: 'Juhendav tiitel',
+		advisoryContentType	: 'Juhendava sisu tüüp',
+		cssClasses		: 'Stiilistiku klassid',
+		charset			: 'Lingitud ressurssi märgistik',
+		styles			: 'Laad',
+		selectAnchor	: 'Vali ankur',
+		anchorName		: 'Ankru nime järgi',
+		anchorId		: 'Elemendi id järgi',
+		emailAddress	: 'E-posti aadress',
+		emailSubject	: 'Sõnumi teema',
+		emailBody		: 'Sõnumi tekst',
+		noAnchors		: '(Selles dokumendis ei ole ankruid)',
+		noUrl			: 'Palun kirjuta lingi URL',
+		noEmail			: 'Palun kirjuta E-Posti aadress'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Sisesta ankur / Muuda ankrut',
+		menu		: 'Ankru omadused',
+		title		: 'Ankru omadused',
+		name		: 'Ankru nimi',
+		errorName	: 'Palun sisest ankru nimi'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Otsi ja asenda',
+		find				: 'Otsi',
+		replace				: 'Asenda',
+		findWhat			: 'Leia mida:',
+		replaceWith			: 'Asenda millega:',
+		notFoundMsg			: 'Valitud teksti ei leitud.',
+		matchCase			: 'Erista suur- ja väiketähti',
+		matchWord			: 'Otsi terviklike sõnu',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Asenda kõik',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabel',
+		title		: 'Tabeli atribuudid',
+		menu		: 'Tabeli atribuudid',
+		deleteTable	: 'Kustuta tabel',
+		rows		: 'Read',
+		columns		: 'Veerud',
+		border		: 'Joone suurus',
+		align		: 'Joondus',
+		alignNotSet	: '<Määramata>',
+		alignLeft	: 'Vasak',
+		alignCenter	: 'Kesk',
+		alignRight	: 'Parem',
+		width		: 'Laius',
+		widthPx		: 'pikslit',
+		widthPc		: 'protsenti',
+		height		: 'Kõrgus',
+		cellSpace	: 'Lahtri vahe',
+		cellPad		: 'Lahtri täidis',
+		caption		: 'Tabeli tiitel',
+		summary		: 'Kokkuvõte',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Lahter',
+			insertBefore	: 'Sisesta lahter enne',
+			insertAfter		: 'Sisesta lahter peale',
+			deleteCell		: 'Eemalda lahtrid',
+			merge			: 'Ühenda lahtrid',
+			mergeRight		: 'Ühenda paremale',
+			mergeDown		: 'Ühenda alla',
+			splitHorizontal	: 'Poolita lahter horisontaalselt',
+			splitVertical	: 'Poolita lahter vertikaalselt',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Rida',
+			insertBefore	: 'Sisesta rida enne',
+			insertAfter		: 'Sisesta rida peale',
+			deleteRow		: 'Eemalda read'
+		},
+
+		column :
+		{
+			menu			: 'Veerg',
+			insertBefore	: 'Sisesta veerg enne',
+			insertAfter		: 'Sisesta veerg peale',
+			deleteColumn	: 'Eemalda veerud'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Nupu omadused',
+		text		: 'Tekst (väärtus)',
+		type		: 'Tüüp',
+		typeBtn		: 'Nupp',
+		typeSbm		: 'Saada',
+		typeRst		: 'Lähtesta'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Märkeruudu omadused',
+		radioTitle	: 'Raadionupu omadused',
+		value		: 'Väärtus',
+		selected	: 'Valitud'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Vormi omadused',
+		menu		: 'Vormi omadused',
+		action		: 'Toiming',
+		method		: 'Meetod',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Sihtkoht',
+		targetNotSet	: '<määramata>',
+		targetNew	: 'Uus aken (_blank)',
+		targetTop	: 'Pealmine aken (_top)',
+		targetSelf	: 'Sama aken (_self)',
+		targetParent	: 'Esivanem aken (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Valiklahtri omadused',
+		selectInfo	: 'Info',
+		opAvail		: 'Võimalikud valikud',
+		value		: 'Väärtus',
+		size		: 'Suurus',
+		lines		: 'ridu',
+		chkMulti	: 'Võimalda mitu valikut',
+		opText		: 'Tekst',
+		opValue		: 'Väärtus',
+		btnAdd		: 'Lisa',
+		btnModify	: 'Muuda',
+		btnUp		: 'Üles',
+		btnDown		: 'Alla',
+		btnSetValue : 'Sea valitud olekuna',
+		btnDelete	: 'Kustuta'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Tekstiala omadused',
+		cols		: 'Veerge',
+		rows		: 'Ridu'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Tekstilahtri omadused',
+		name		: 'Nimi',
+		value		: 'Väärtus',
+		charWidth	: 'Laius (tähemärkides)',
+		maxChars	: 'Maksimaalselt tähemärke',
+		type		: 'Tüüp',
+		typeText	: 'Tekst',
+		typePass	: 'Parool'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Varjatud lahtri omadused',
+		name	: 'Nimi',
+		value	: 'Väärtus'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Pildi atribuudid',
+		titleButton	: 'Piltnupu omadused',
+		menu		: 'Pildi atribuudid',
+		infoTab	: 'Pildi info',
+		btnUpload	: 'Saada serverissee',
+		url		: 'URL',
+		upload	: 'Lae üles',
+		alt		: 'Alternatiivne tekst',
+		width		: 'Laius',
+		height	: 'Kõrgus',
+		lockRatio	: 'Lukusta kuvasuhe',
+		resetSize	: 'Lähtesta suurus',
+		border	: 'Joon',
+		hSpace	: 'H. vaheruum',
+		vSpace	: 'V. vaheruum',
+		align		: 'Joondus',
+		alignLeft	: 'Vasak',
+		alignRight	: 'Paremale',
+		preview	: 'Eelvaade',
+		alertUrl	: 'Palun kirjuta pildi URL',
+		linkTab	: 'Link',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash omadused',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash omadused',
+		chkPlay		: 'Automaatne start ',
+		chkLoop		: 'Korduv',
+		chkMenu		: 'Võimalda flash menüü',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Mastaap',
+		scaleAll		: 'Näita kõike',
+		scaleNoBorder	: 'Äärist ei ole',
+		scaleFit		: 'Täpne sobivus',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Joondus',
+		alignLeft	: 'Vasak',
+		alignAbsBottom: 'Abs alla',
+		alignAbsMiddle: 'Abs keskele',
+		alignBaseline	: 'Baasjoonele',
+		alignBottom	: 'Alla',
+		alignMiddle	: 'Keskele',
+		alignRight	: 'Paremale',
+		alignTextTop	: 'Tekstit üles',
+		alignTop	: 'Üles',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Tausta värv',
+		width	: 'Laius',
+		height	: 'Kõrgus',
+		hSpace	: 'H. vaheruum',
+		vSpace	: 'V. vaheruum',
+		validateSrc : 'Palun kirjuta lingi URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Kontrolli õigekirja',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Puudub sõnastikust',
+		changeTo		: 'Muuda',
+		btnIgnore		: 'Ignoreeri',
+		btnIgnoreAll	: 'Ignoreeri kõiki',
+		btnReplace		: 'Asenda',
+		btnReplaceAll	: 'Asenda kõik',
+		btnUndo			: 'Võta tagasi',
+		noSuggestions	: '- Soovitused puuduvad -',
+		progress		: 'Toimub õigekirja kontroll...',
+		noMispell		: 'Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud',
+		noChanges		: 'Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud',
+		oneChange		: 'Õigekirja kontroll sooritatud: üks sõna muudeti',
+		manyChanges		: 'Õigekirja kontroll sooritatud: %1 sõna muudetud',
+		ieSpellDownload	: 'Õigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emotikon',
+		title	: 'Sisesta emotikon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Nummerdatud loetelu',
+	bulletedlist : 'Punktiseeritud loetelu',
+	indent : 'Suurenda taanet',
+	outdent : 'Vähenda taanet',
+
+	justify :
+	{
+		left : 'Vasakjoondus',
+		center : 'Keskjoondus',
+		right : 'Paremjoondus',
+		block : 'Rööpjoondus'
+	},
+
+	blockquote : 'Blokktsitaat',
+
+	clipboard :
+	{
+		title		: 'Kleebi',
+		cutError	: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+X).',
+		copyError	: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+C).',
+		pasteMsg	: 'Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (<STRONG>Ctrl+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.',
+		securityMsg	: 'Sinu veebisirvija turvaseadete tõttu, ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead kleepima need uuesti siia aknasse.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Kleebi Wordist',
+		title : 'Kleebi Wordist',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Kleebi tavalise tekstina',
+		title : 'Kleebi tavalise tekstina'
+	},
+
+	templates :
+	{
+		button : 'Šabloon',
+		title : 'Sisu šabloonid',
+		insertOption: 'Asenda tegelik sisu',
+		selectPromptMsg: 'Palun vali šabloon, et avada see redaktoris<br />(praegune sisu läheb kaotsi):',
+		emptyListMsg : '(Ühtegi šablooni ei ole defineeritud)'
+	},
+
+	showBlocks : 'Näita blokke',
+
+	stylesCombo :
+	{
+		label : 'Laad',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Vorming',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Vorming',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Tavaline',
+		tag_pre : 'Vormindatud',
+		tag_address : 'Aadress',
+		tag_h1 : 'Pealkiri 1',
+		tag_h2 : 'Pealkiri 2',
+		tag_h3 : 'Pealkiri 3',
+		tag_h4 : 'Pealkiri 4',
+		tag_h5 : 'Pealkiri 5',
+		tag_h6 : 'Pealkiri 6',
+		tag_div : 'Tavaline (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Kiri',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Kiri',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Suurus',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Suurus',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Teksti värv',
+		bgColorTitle : 'Tausta värv',
+		auto : 'Automaatne',
+		more : 'Rohkem värve...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/eu.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/eu.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/eu.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Basque language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['eu'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Testu aberastuentzako editorea, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'HTML Iturburua',
+	newPage			: 'Orrialde Berria',
+	save			: 'Gorde',
+	preview			: 'Aurrebista',
+	cut				: 'Ebaki',
+	copy			: 'Kopiatu',
+	paste			: 'Itsatsi',
+	print			: 'Inprimatu',
+	underline		: 'Azpimarratu',
+	bold			: 'Lodia',
+	italic			: 'Etzana',
+	selectAll		: 'Hautatu dena',
+	removeFormat	: 'Kendu Formatua',
+	strike			: 'Marratua',
+	subscript		: 'Azpi-indize',
+	superscript		: 'Goi-indize',
+	horizontalrule	: 'Txertatu Marra Horizontala',
+	pagebreak		: 'Txertatu Orrialde-jauzia',
+	unlink			: 'Kendu Esteka',
+	undo			: 'Desegin',
+	redo			: 'Berregin',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Zerbitzaria arakatu',
+		url				: 'URL',
+		protocol		: 'Protokoloa',
+		upload			: 'Gora kargatu',
+		uploadSubmit	: 'Zerbitzarira bidalia',
+		image			: 'Irudia',
+		flash			: 'Flasha',
+		form			: 'Formularioa',
+		checkbox		: 'Kontrol-laukia',
+		radio		: 'Aukera-botoia',
+		textField		: 'Testu Eremua',
+		textarea		: 'Testu-area',
+		hiddenField		: 'Ezkutuko Eremua',
+		button			: 'Botoia',
+		select	: 'Hautespen Eremua',
+		imageButton		: 'Irudi Botoia',
+		notSet			: '<Ezarri gabe>',
+		id				: 'Id',
+		name			: 'Izena',
+		langDir			: 'Hizkuntzaren Norabidea',
+		langDirLtr		: 'Ezkerretik Eskumara(LTR)',
+		langDirRtl		: 'Eskumatik Ezkerrera (RTL)',
+		langCode		: 'Hizkuntza Kodea',
+		longDescr		: 'URL Deskribapen Luzea',
+		cssClass		: 'Estilo-orriko Klaseak',
+		advisoryTitle	: 'Izenburua',
+		cssStyle		: 'Estiloa',
+		ok				: 'Ados',
+		cancel			: 'Utzi',
+		generalTab		: 'Orokorra',
+		advancedTab		: 'Aurreratua',
+		validateNumberFailed	: 'Balio hau ez da zenbaki bat.',
+		confirmNewPage	: 'Eduki honetan gorde gabe dauden aldaketak galduko dira. Ziur zaude orri berri bat kargatu nahi duzula?',
+		confirmCancel	: 'Aukera batzuk aldatu egin dira. Ziur zaude elkarrizketa-koadroa itxi nahi duzula?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, erabilezina</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Txertatu Karaktere Berezia',
+		title		: 'Karaktere Berezia Aukeratu'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Txertatu/Editatu Esteka',
+		menu		: 'Aldatu Esteka',
+		title		: 'Esteka',
+		info		: 'Estekaren Informazioa',
+		target		: 'Target (Helburua)',
+		upload		: 'Gora kargatu',
+		advanced	: 'Aurreratua',
+		type		: 'Esteka Mota',
+		toAnchor	: 'Aingura orrialde honetan',
+		toEmail		: 'ePosta',
+		target		: 'Target (Helburua)',
+		targetNotSet	: '<Ezarri gabe>',
+		targetFrame	: '<marko>',
+		targetPopup	: '<popup leihoa>',
+		targetNew	: 'Leiho Berria (_blank)',
+		targetTop	: 'Goiko Leihoa (_top)',
+		targetSelf	: 'Leiho Berdina (_self)',
+		targetParent	: 'Leiho Gurasoa (_parent)',
+		targetFrameName	: 'Marko Helburuaren Izena',
+		targetPopupName	: 'Popup Leihoaren Izena',
+		popupFeatures	: 'Popup Leihoaren Ezaugarriak',
+		popupResizable	: 'Tamaina Aldakorra',
+		popupStatusBar	: 'Egoera Barra',
+		popupLocationBar	: 'Kokaleku Barra',
+		popupToolbar	: 'Tresna Barra',
+		popupMenuBar	: 'Menu Barra',
+		popupFullScreen	: 'Pantaila Osoa (IE)',
+		popupScrollBars	: 'Korritze Barrak',
+		popupDependent	: 'Menpekoa (Netscape)',
+		popupWidth		: 'Zabalera',
+		popupLeft		: 'Ezkerreko  Posizioa',
+		popupHeight		: 'Altuera',
+		popupTop		: 'Goiko Posizioa',
+		id				: 'Id',
+		langDir			: 'Hizkuntzaren Norabidea',
+		langDirNotSet	: '<Ezarri gabe>',
+		langDirLTR		: 'Ezkerretik Eskumara(LTR)',
+		langDirRTL		: 'Eskumatik Ezkerrera (RTL)',
+		acccessKey		: 'Sarbide-gakoa',
+		name			: 'Izena',
+		langCode		: 'Hizkuntzaren Norabidea',
+		tabIndex		: 'Tabulazio Indizea',
+		advisoryTitle	: 'Izenburua',
+		advisoryContentType	: 'Eduki Mota (Content Type)',
+		cssClasses		: 'Estilo-orriko Klaseak',
+		charset			: 'Estekatutako Karaktere Multzoa',
+		styles			: 'Estiloa',
+		selectAnchor	: 'Aingura bat hautatu',
+		anchorName		: 'Aingura izenagatik',
+		anchorId		: 'Elementuaren ID-gatik',
+		emailAddress	: 'ePosta Helbidea',
+		emailSubject	: 'Mezuaren Gaia',
+		emailBody		: 'Mezuaren Gorputza',
+		noAnchors		: '(Ez daude aingurak eskuragarri dokumentuan)',
+		noUrl			: 'Mesedez URL esteka idatzi',
+		noEmail			: 'Mesedez ePosta helbidea idatzi'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Aingura',
+		menu		: 'Ainguraren Ezaugarriak',
+		title		: 'Ainguraren Ezaugarriak',
+		name		: 'Ainguraren Izena',
+		errorName	: 'Idatzi ainguraren izena'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Bilatu eta Ordeztu',
+		find				: 'Bilatu',
+		replace				: 'Ordezkatu',
+		findWhat			: 'Zer bilatu:',
+		replaceWith			: 'Zerekin ordeztu:',
+		notFoundMsg			: 'Idatzitako testua ez da topatu.',
+		matchCase			: 'Maiuskula/minuskula',
+		matchWord			: 'Esaldi osoa bilatu',
+		matchCyclic			: 'Bilaketa ziklikoa',
+		replaceAll			: 'Ordeztu Guztiak',
+		replaceSuccessMsg	: 'Zenbat aldiz ordeztua: %1'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Taula',
+		title		: 'Taularen Ezaugarriak',
+		menu		: 'Taularen Ezaugarriak',
+		deleteTable	: 'Ezabatu Taula',
+		rows		: 'Lerroak',
+		columns		: 'Zutabeak',
+		border		: 'Ertzaren Zabalera',
+		align		: 'Lerrokatu',
+		alignNotSet	: '<Ezarri gabe>',
+		alignLeft	: 'Ezkerrean',
+		alignCenter	: 'Erdian',
+		alignRight	: 'Eskuman',
+		width		: 'Zabalera',
+		widthPx		: 'pixel',
+		widthPc		: 'ehuneko',
+		height		: 'Altuera',
+		cellSpace	: 'Gelaxka arteko tartea',
+		cellPad		: 'Gelaxken betegarria',
+		caption		: 'Epigrafea',
+		summary		: 'Laburpena',
+		headers		: 'Goiburuak',
+		headersNone		: 'Bat ere ez',
+		headersColumn	: 'Lehen zutabea',
+		headersRow		: 'Lehen lerroa',
+		headersBoth		: 'Biak',
+		invalidRows		: 'Lerro kopurua 0 baino handiagoa den zenbakia izan behar da.',
+		invalidCols		: 'Zutabe kopurua 0 baino handiagoa den zenbakia izan behar da.',
+		invalidBorder	: 'Ertzaren tamaina zenbaki bat izan behar da.',
+		invalidWidth	: 'Taularen zabalera zenbaki bat izan behar da.',
+		invalidHeight	: 'Taularen altuera zenbaki bat izan behar da.',
+		invalidCellSpacing	: 'Gelaxka arteko tartea zenbaki bat izan behar da.',
+		invalidCellPadding	: 'Gelaxken betegarria zenbaki bat izan behar da.',
+
+		cell :
+		{
+			menu			: 'Gelaxka',
+			insertBefore	: 'Txertatu Gelaxka Aurretik',
+			insertAfter		: 'Txertatu Gelaxka Ostean',
+			deleteCell		: 'Kendu Gelaxkak',
+			merge			: 'Batu Gelaxkak',
+			mergeRight		: 'Elkartu Eskumara',
+			mergeDown		: 'Elkartu Behera',
+			splitHorizontal	: 'Banatu Gelaxkak Horizontalki',
+			splitVertical	: 'Banatu Gelaxkak Bertikalki',
+			title			: 'Gelaxken Ezaugarriak',
+			cellType		: 'Gelaxka Mota',
+			rowSpan			: 'Hedatutako Lerroak',
+			colSpan			: 'Hedatutako Zutabeak',
+			wordWrap		: 'Itzulbira',
+			hAlign			: 'Lerrokatze Horizontala',
+			vAlign			: 'Lerrokatze Bertikala',
+			alignTop		: 'Goian',
+			alignMiddle		: 'Erdian',
+			alignBottom		: 'Behean',
+			alignBaseline	: 'Oinarri-lerroan',
+			bgColor			: 'Fondoaren Kolorea',
+			borderColor		: 'Ertzaren Kolorea',
+			data			: 'Data',
+			header			: 'Goiburua',
+			yes				: 'Bai',
+			no				: 'Ez',
+			invalidWidth	: 'Gelaxkaren zabalera zenbaki bat izan behar da.',
+			invalidHeight	: 'Gelaxkaren altuera zenbaki bat izan behar da.',
+			invalidRowSpan	: 'Lerroen hedapena zenbaki osoa izan behar da.',
+			invalidColSpan	: 'Zutabeen hedapena zenbaki osoa izan behar da.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Lerroa',
+			insertBefore	: 'Txertatu Lerroa Aurretik',
+			insertAfter		: 'Txertatu Lerroa Ostean',
+			deleteRow		: 'Ezabatu Lerroak'
+		},
+
+		column :
+		{
+			menu			: 'Zutabea',
+			insertBefore	: 'Txertatu Zutabea Aurretik',
+			insertAfter		: 'Txertatu Zutabea Ostean',
+			deleteColumn	: 'Ezabatu Zutabeak'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Botoiaren Ezaugarriak',
+		text		: 'Testua (Balorea)',
+		type		: 'Mota',
+		typeBtn		: 'Botoia',
+		typeSbm		: 'Bidali',
+		typeRst		: 'Garbitu'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Kontrol-laukiko Ezaugarriak',
+		radioTitle	: 'Aukera-botoiaren Ezaugarriak',
+		value		: 'Balorea',
+		selected	: 'Hautatuta'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formularioaren Ezaugarriak',
+		menu		: 'Formularioaren Ezaugarriak',
+		action		: 'Ekintza',
+		method		: 'Metodoa',
+		encoding	: 'Kodeketa',
+		target		: 'Target (Helburua)',
+		targetNotSet	: '<Ezarri gabe>',
+		targetNew	: 'Leiho Berria (_blank)',
+		targetTop	: 'Goiko Leihoa (_top)',
+		targetSelf	: 'Leiho Berdina (_self)',
+		targetParent	: 'Leiho Gurasoa (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Hautespen Eremuaren Ezaugarriak',
+		selectInfo	: 'Informazioa',
+		opAvail		: 'Aukera Eskuragarriak',
+		value		: 'Balorea',
+		size		: 'Tamaina',
+		lines		: 'lerro kopurura',
+		chkMulti	: 'Hautaketa anitzak baimendu',
+		opText		: 'Testua',
+		opValue		: 'Balorea',
+		btnAdd		: 'Gehitu',
+		btnModify	: 'Aldatu',
+		btnUp		: 'Gora',
+		btnDown		: 'Behera',
+		btnSetValue : 'Aukeratutako balorea ezarri',
+		btnDelete	: 'Ezabatu'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Testu-arearen Ezaugarriak',
+		cols		: 'Zutabeak',
+		rows		: 'Lerroak'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Testu Eremuaren Ezaugarriak',
+		name		: 'Izena',
+		value		: 'Balorea',
+		charWidth	: 'Zabalera',
+		maxChars	: 'Zenbat karaktere gehienez',
+		type		: 'Mota',
+		typeText	: 'Testua',
+		typePass	: 'Pasahitza'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Ezkutuko Eremuaren Ezaugarriak',
+		name	: 'Izena',
+		value	: 'Balorea'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Irudi Ezaugarriak',
+		titleButton	: 'Irudi Botoiaren Ezaugarriak',
+		menu		: 'Irudi Ezaugarriak',
+		infoTab	: 'Irudi informazioa',
+		btnUpload	: 'Zerbitzarira bidalia',
+		url		: 'URL',
+		upload	: 'Gora Kargatu',
+		alt		: 'Ordezko Testua',
+		width		: 'Zabalera',
+		height	: 'Altuera',
+		lockRatio	: 'Erlazioa Blokeatu',
+		resetSize	: 'Tamaina Berrezarri',
+		border	: 'Ertza',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Lerrokatu',
+		alignLeft	: 'Ezkerrera',
+		alignRight	: 'Eskuman',
+		preview	: 'Aurrebista',
+		alertUrl	: 'Mesedez Irudiaren URLa idatzi',
+		linkTab	: 'Esteka',
+		button2Img	: 'Aukeratutako irudi botoia, irudi normal batean eraldatu nahi duzu?',
+		img2Button	: 'Aukeratutako irudia, irudi botoi batean eraldatu nahi duzu?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flasharen Ezaugarriak',
+		propertiesTab	: 'Ezaugarriak',
+		title		: 'Flasharen Ezaugarriak',
+		chkPlay		: 'Automatikoki Erreproduzitu',
+		chkLoop		: 'Begizta',
+		chkMenu		: 'Flasharen Menua Gaitu',
+		chkFull		: 'Onartu Pantaila osoa',
+ 		scale		: 'Eskalatu',
+		scaleAll		: 'Dena erakutsi',
+		scaleNoBorder	: 'Ertzik gabe',
+		scaleFit		: 'Doitu',
+		access			: 'Scriptak baimendu',
+		accessAlways	: 'Beti',
+		accessSameDomain	: 'Domeinu berdinekoak',
+		accessNever	: 'Inoiz ere ez',
+		align		: 'Lerrokatu',
+		alignLeft	: 'Ezkerrera',
+		alignAbsBottom: 'Abs Behean',
+		alignAbsMiddle: 'Abs Erdian',
+		alignBaseline	: 'Oinan',
+		alignBottom	: 'Behean',
+		alignMiddle	: 'Erdian',
+		alignRight	: 'Eskuman',
+		alignTextTop	: 'Testua Goian',
+		alignTop	: 'Goian',
+		quality		: 'Kalitatea',
+		qualityBest		 : 'Hoberena',
+		qualityHigh		 : 'Altua',
+		qualityAutoHigh	 : 'Auto Altua',
+		qualityMedium	 : 'Ertaina',
+		qualityAutoLow	 : 'Auto Baxua',
+		qualityLow		 : 'Baxua',
+		windowModeWindow	 : 'Leihoa',
+		windowModeOpaque	 : 'Opakoa',
+		windowModeTransparent	 : 'Gardena',
+		windowMode	: 'Leihoaren modua',
+		flashvars	: 'Flash Aldagaiak',
+		bgcolor	: 'Atzeko kolorea',
+		width	: 'Zabalera',
+		height	: 'Altuera',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Mesedez URL esteka idatzi',
+		validateWidth : 'Zabalera zenbaki bat izan behar da.',
+		validateHeight : 'Altuera zenbaki bat izan behar da.',
+		validateHSpace : 'HSpace zenbaki bat izan behar da.',
+		validateVSpace : 'VSpace zenbaki bat izan behar da.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Ortografia',
+		title			: 'Ortografia zuzenketa',
+		notAvailable	: 'Barkatu baina momentu honetan zerbitzua ez dago erabilgarri.',
+		errorLoading	: 'Errorea gertatu da aplikazioa zerbitzaritik kargatzean: %s.',
+		notInDic		: 'Ez dago hiztegian',
+		changeTo		: 'Honekin ordezkatu',
+		btnIgnore		: 'Ezikusi',
+		btnIgnoreAll	: 'Denak Ezikusi',
+		btnReplace		: 'Ordezkatu',
+		btnReplaceAll	: 'Denak Ordezkatu',
+		btnUndo			: 'Desegin',
+		noSuggestions	: '- Iradokizunik ez -',
+		progress		: 'Zuzenketa ortografikoa martxan...',
+		noMispell		: 'Zuzenketa ortografikoa bukatuta: Akatsik ez',
+		noChanges		: 'Zuzenketa ortografikoa bukatuta: Ez da ezer aldatu',
+		oneChange		: 'Zuzenketa ortografikoa bukatuta: Hitz bat aldatu da',
+		manyChanges		: 'Zuzenketa ortografikoa bukatuta: %1 hitz aldatu dira',
+		ieSpellDownload	: 'Zuzentzaile ortografikoa ez dago instalatuta. Deskargatu nahi duzu?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Aurpegierak',
+		title	: 'Aurpegiera Sartu'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 elementua'
+	},
+
+	numberedlist : 'Zenbakidun Zerrenda',
+	bulletedlist : 'Buletdun Zerrenda',
+	indent : 'Handitu Koska',
+	outdent : 'Txikitu Koska',
+
+	justify :
+	{
+		left : 'Lerrokatu Ezkerrean',
+		center : 'Lerrokatu Erdian',
+		right : 'Lerrokatu Eskuman',
+		block : 'Justifikatu'
+	},
+
+	blockquote : 'Aipamen blokea',
+
+	clipboard :
+	{
+		title		: 'Itsatsi',
+		cutError	: 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+X).',
+		copyError	: 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+C).',
+		pasteMsg	: 'Mesedez teklatua erabilita (<STRONG>Ctrl+V</STRONG>) ondorego eremuan testua itsatsi eta <STRONG>OK</STRONG> sakatu.',
+		securityMsg	: 'Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Itsatsi nahi duzun testua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?',
+		toolbar : 'Itsatsi Word-etik',
+		title : 'Itsatsi Word-etik',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Testu Arrunta bezala Itsatsi',
+		title : 'Testu Arrunta bezala Itsatsi'
+	},
+
+	templates :
+	{
+		button : 'Txantiloiak',
+		title : 'Eduki Txantiloiak',
+		insertOption: 'Ordeztu oraingo edukiak',
+		selectPromptMsg: 'Mesedez txantiloia aukeratu editorean kargatzeko<br>(orain dauden edukiak galduko dira):',
+		emptyListMsg : '(Ez dago definitutako txantiloirik)'
+	},
+
+	showBlocks : 'Blokeak erakutsi',
+
+	stylesCombo :
+	{
+		label : 'Estiloa',
+		voiceLabel : 'Estiloak',
+		panelVoiceLabel : 'Estilo bat aukeratu',
+		panelTitle1 : 'Bloke Estiloak',
+		panelTitle2 : 'Inline Estiloak',
+		panelTitle3 : 'Objektu Estiloak'
+	},
+
+	format :
+	{
+		label : 'Formatua',
+		voiceLabel : 'Formatua',
+		panelTitle : 'Formatua',
+		panelVoiceLabel : 'Aukeratu paragrafo formatu bat',
+
+		tag_p : 'Arrunta',
+		tag_pre : 'Formateatua',
+		tag_address : 'Helbidea',
+		tag_h1 : 'Izenburua 1',
+		tag_h2 : 'Izenburua 2',
+		tag_h3 : 'Izenburua 3',
+		tag_h4 : 'Izenburua 4',
+		tag_h5 : 'Izenburua 5',
+		tag_h6 : 'Izenburua 6',
+		tag_div : 'Paragrafoa (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Letra-tipoa',
+		voiceLabel : 'Letra-tipoa',
+		panelTitle : 'Letra-tipoa',
+		panelVoiceLabel : 'Aukeratu letra-tipoa'
+	},
+
+	fontSize :
+	{
+		label : 'Tamaina',
+		voiceLabel : 'Tamaina',
+		panelTitle : 'Tamaina',
+		panelVoiceLabel : 'Aukeratu letraren tamaina'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Testu Kolorea',
+		bgColorTitle : 'Atzeko kolorea',
+		auto : 'Automatikoa',
+		more : 'Kolore gehiago...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Ortografia Zuzenketa Idatzi Ahala (SCAYT)',
+		enable : 'Gaitu SCAYT',
+		disable : 'Desgaitu SCAYT',
+		about : 'SCAYTi buruz',
+		toggle : 'SCAYT aldatu',
+		options : 'Aukerak',
+		langs : 'Hizkuntzak',
+		moreSuggestions : 'Iradokizun gehiago',
+		ignore : 'Baztertu',
+		ignoreAll : 'Denak baztertu',
+		addWord : 'Hitza Gehitu',
+		emptyDic : 'Hiztegiaren izena ezin da hutsik egon.',
+		optionsTab : 'Aukerak',
+		languagesTab : 'Hizkuntzak',
+		dictionariesTab : 'Hiztegiak',
+		aboutTab : 'Honi buruz'
+	},
+
+	about :
+	{
+		title : 'CKEditor(r)i buruz',
+		dlgTitle : 'CKEditor(r)i buruz',
+		moreInfo : 'Lizentziari buruzko informazioa gure webgunean:',
+		copy : 'Copyright &copy; $1. Eskubide guztiak erreserbaturik.'
+	},
+
+	maximize : 'Maximizatu',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Aingura',
+		flash : 'Flash Animazioa',
+		div : 'Orrialde Saltoa',
+		unknown : 'Objektu ezezaguna'
+	},
+
+	resize : 'Arrastatu tamaina aldatzeko',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/fa.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/fa.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/fa.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Persian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fa'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'rtl',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'منبع',
+	newPage			: 'برگهٴ تازه',
+	save			: 'ذخیره',
+	preview			: 'پیشنمایش',
+	cut				: 'برش',
+	copy			: 'کپی',
+	paste			: 'چسباندن',
+	print			: 'چاپ',
+	underline		: 'خطزیردار',
+	bold			: 'درشت',
+	italic			: 'خمیده',
+	selectAll		: 'گزینش همه',
+	removeFormat	: 'برداشتن فرمت',
+	strike			: 'میانخط',
+	subscript		: 'زیرنویس',
+	superscript		: 'بالانویس',
+	horizontalrule	: 'گنجاندن خط ِافقی',
+	pagebreak		: 'گنجاندن شکستگی ِپایان ِبرگه',
+	unlink			: 'برداشتن پیوند',
+	undo			: 'واچیدن',
+	redo			: 'بازچیدن',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'فهرستنمایی سرور',
+		url				: 'URL',
+		protocol		: 'پروتکل',
+		upload			: 'انتقال به سرور',
+		uploadSubmit	: 'به سرور بفرست',
+		image			: 'تصویر',
+		flash			: 'Flash',
+		form			: 'فرم',
+		checkbox		: 'خانهٴ گزینهای',
+		radio		: 'دکمهٴ رادیویی',
+		textField		: 'فیلد متنی',
+		textarea		: 'ناحیهٴ متنی',
+		hiddenField		: 'فیلد پنهان',
+		button			: 'دکمه',
+		select	: 'فیلد چندگزینهای',
+		imageButton		: 'دکمهٴ تصویری',
+		notSet			: '<تعیننشده>',
+		id				: 'شناسه',
+		name			: 'نام',
+		langDir			: 'جهتنمای زبان',
+		langDirLtr		: 'چپ به راست (LTR)',
+		langDirRtl		: 'راست به چپ (RTL)',
+		langCode		: 'کد زبان',
+		longDescr		: 'URL توصیف طولانی',
+		cssClass		: 'کلاسهای شیوهنامه(Stylesheet)',
+		advisoryTitle	: 'عنوان کمکی',
+		cssStyle		: 'شیوه(style)',
+		ok				: 'پذیرش',
+		cancel			: 'انصراف',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'پیشرفته',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'گنجاندن نویسهٴ ویژه',
+		title		: 'گزینش نویسهٴویژه'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'گنجاندن/ویرایش ِپیوند',
+		menu		: 'ویرایش پیوند',
+		title		: 'پیوند',
+		info		: 'اطلاعات پیوند',
+		target		: 'مقصد',
+		upload		: 'انتقال به سرور',
+		advanced	: 'پیشرفته',
+		type		: 'نوع پیوند',
+		toAnchor	: 'لنگر در همین صفحه',
+		toEmail		: 'پست الکترونیکی',
+		target		: 'مقصد',
+		targetNotSet	: '<تعیننشده>',
+		targetFrame	: '<فریم>',
+		targetPopup	: '<پنجرهٴ پاپاپ>',
+		targetNew	: 'پنجرهٴ دیگر (_blank)',
+		targetTop	: 'بالاترین پنجره (_top)',
+		targetSelf	: 'همان پنجره (_self)',
+		targetParent	: 'پنجرهٴ والد (_parent)',
+		targetFrameName	: 'نام فریم مقصد',
+		targetPopupName	: 'نام پنجرهٴ پاپاپ',
+		popupFeatures	: 'ویژگیهای پنجرهٴ پاپاپ',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'نوار وضعیت',
+		popupLocationBar	: 'نوار موقعیت',
+		popupToolbar	: 'نوارابزار',
+		popupMenuBar	: 'نوار منو',
+		popupFullScreen	: 'تمامصفحه (IE)',
+		popupScrollBars	: 'میلههای پیمایش',
+		popupDependent	: 'وابسته (Netscape)',
+		popupWidth		: 'پهنا',
+		popupLeft		: 'موقعیت ِچپ',
+		popupHeight		: 'درازا',
+		popupTop		: 'موقعیت ِبالا',
+		id				: 'Id', // MISSING
+		langDir			: 'جهتنمای زبان',
+		langDirNotSet	: '<تعیننشده>',
+		langDirLTR		: 'چپ به راست (LTR)',
+		langDirRTL		: 'راست به چپ (RTL)',
+		acccessKey		: 'کلید دستیابی',
+		name			: 'نام',
+		langCode		: 'جهتنمای زبان',
+		tabIndex		: 'نمایهٴ دسترسی با Tab',
+		advisoryTitle	: 'عنوان کمکی',
+		advisoryContentType	: 'نوع محتوای کمکی',
+		cssClasses		: 'کلاسهای شیوهنامه(Stylesheet)',
+		charset			: 'نویسهگان منبع ِپیوندشده',
+		styles			: 'شیوه(style)',
+		selectAnchor	: 'یک لنگر برگزینید',
+		anchorName		: 'با نام لنگر',
+		anchorId		: 'با شناسهٴ المان',
+		emailAddress	: 'نشانی پست الکترونیکی',
+		emailSubject	: 'موضوع پیام',
+		emailBody		: 'متن پیام',
+		noAnchors		: '(در این سند لنگری دردسترس نیست)',
+		noUrl			: 'لطفا URL پیوند را بنویسید',
+		noEmail			: 'لطفا نشانی پست الکترونیکی را بنویسید'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'گنجاندن/ویرایش ِلنگر',
+		menu		: 'ویژگیهای لنگر',
+		title		: 'ویژگیهای لنگر',
+		name		: 'نام لنگر',
+		errorName	: 'لطفا نام لنگر را بنویسید'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'جستجو و جایگزینی',
+		find				: 'جستجو',
+		replace				: 'جایگزینی',
+		findWhat			: 'چهچیز را مییابید:',
+		replaceWith			: 'جایگزینی با:',
+		notFoundMsg			: 'متن موردنظر یافت نشد.',
+		matchCase			: 'همسانی در بزرگی و کوچکی نویسهها',
+		matchWord			: 'همسانی با واژهٴ کامل',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'جایگزینی همهٴ یافتهها',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'جدول',
+		title		: 'ویژگیهای جدول',
+		menu		: 'ویژگیهای جدول',
+		deleteTable	: 'پاککردن جدول',
+		rows		: 'سطرها',
+		columns		: 'ستونها',
+		border		: 'اندازهٴ لبه',
+		align		: 'چینش',
+		alignNotSet	: '<تعیننشده>',
+		alignLeft	: 'چپ',
+		alignCenter	: 'وسط',
+		alignRight	: 'راست',
+		width		: 'پهنا',
+		widthPx		: 'پیکسل',
+		widthPc		: 'درصد',
+		height		: 'درازا',
+		cellSpace	: 'فاصلهٴ میان سلولها',
+		cellPad		: 'فاصلهٴ پرشده در سلول',
+		caption		: 'عنوان',
+		summary		: 'خلاصه',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'سلول',
+			insertBefore	: 'افزودن سلول قبل از',
+			insertAfter		: 'افزودن سلول بعد از',
+			deleteCell		: 'حذف سلولها',
+			merge			: 'ادغام سلولها',
+			mergeRight		: 'ادغام به راست',
+			mergeDown		: 'ادغام به پایین',
+			splitHorizontal	: 'جدا کردن افقی سلول',
+			splitVertical	: 'جدا کردن عمودی سلول',
+			title			: 'ویژگیهای سلول',
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'سطر',
+			insertBefore	: 'افزودن سطر قبل از',
+			insertAfter		: 'افزودن سطر بعد از',
+			deleteRow		: 'حذف سطرها'
+		},
+
+		column :
+		{
+			menu			: 'ستون',
+			insertBefore	: 'افزودن ستون قبل از',
+			insertAfter		: 'افزودن ستون بعد از',
+			deleteColumn	: 'حذف ستونها'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'ویژگیهای دکمه',
+		text		: 'متن (مقدار)',
+		type		: 'نوع',
+		typeBtn		: 'دکمه',
+		typeSbm		: 'Submit',
+		typeRst		: 'بازنشانی (Reset)'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'ویژگیهای خانهٴ گزینهای',
+		radioTitle	: 'ویژگیهای دکمهٴ رادیویی',
+		value		: 'مقدار',
+		selected	: 'برگزیده'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'ویژگیهای فرم',
+		menu		: 'ویژگیهای فرم',
+		action		: 'رویداد',
+		method		: 'متد',
+		encoding	: 'Encoding', // MISSING
+		target		: 'مقصد',
+		targetNotSet	: '<تعیننشده>',
+		targetNew	: 'پنجرهٴ دیگر (_blank)',
+		targetTop	: 'بالاترین پنجره (_top)',
+		targetSelf	: 'همان پنجره (_self)',
+		targetParent	: 'پنجرهٴ والد (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'ویژگیهای فیلد چندگزینهای',
+		selectInfo	: 'اطلاعات',
+		opAvail		: 'گزینههای دردسترس',
+		value		: 'مقدار',
+		size		: 'اندازه',
+		lines		: 'خطوط',
+		chkMulti	: 'گزینش چندگانه فراهم باشد',
+		opText		: 'متن',
+		opValue		: 'مقدار',
+		btnAdd		: 'افزودن',
+		btnModify	: 'ویرایش',
+		btnUp		: 'بالا',
+		btnDown		: 'پائین',
+		btnSetValue : 'تنظیم به عنوان مقدار ِبرگزیده',
+		btnDelete	: 'پاککردن'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'ویژگیهای ناحیهٴ متنی',
+		cols		: 'ستونها',
+		rows		: 'سطرها'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'ویژگیهای فیلد متنی',
+		name		: 'نام',
+		value		: 'مقدار',
+		charWidth	: 'پهنای نویسه',
+		maxChars	: 'بیشینهٴ نویسهها',
+		type		: 'نوع',
+		typeText	: 'متن',
+		typePass	: 'گذرواژه'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'ویژگیهای فیلد پنهان',
+		name	: 'نام',
+		value	: 'مقدار'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'ویژگیهای تصویر',
+		titleButton	: 'ویژگیهای دکمهٴ تصویری',
+		menu		: 'ویژگیهای تصویر',
+		infoTab	: 'اطلاعات تصویر',
+		btnUpload	: 'به سرور بفرست',
+		url		: 'URL',
+		upload	: 'انتقال به سرور',
+		alt		: 'متن جایگزین',
+		width		: 'پهنا',
+		height	: 'درازا',
+		lockRatio	: 'قفلکردن ِنسبت',
+		resetSize	: 'بازنشانی اندازه',
+		border	: 'لبه',
+		hSpace	: 'فاصلهٴ افقی',
+		vSpace	: 'فاصلهٴ عمودی',
+		align		: 'چینش',
+		alignLeft	: 'چپ',
+		alignRight	: 'راست',
+		preview	: 'پیشنمایش',
+		alertUrl	: 'لطفا URL تصویر را بنویسید',
+		linkTab	: 'پیوند',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'ویژگیهای Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'ویژگیهای Flash',
+		chkPlay		: 'آغاز ِخودکار',
+		chkLoop		: 'اجرای پیاپی',
+		chkMenu		: 'دردسترسبودن منوی Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'مقیاس',
+		scaleAll		: 'نمایش همه',
+		scaleNoBorder	: 'بدون کران',
+		scaleFit		: 'جایگیری کامل',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'چینش',
+		alignLeft	: 'چپ',
+		alignAbsBottom: 'پائین مطلق',
+		alignAbsMiddle: 'وسط مطلق',
+		alignBaseline	: 'خطپایه',
+		alignBottom	: 'پائین',
+		alignMiddle	: 'وسط',
+		alignRight	: 'راست',
+		alignTextTop	: 'متن بالا',
+		alignTop	: 'بالا',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'رنگ پسزمینه',
+		width	: 'پهنا',
+		height	: 'درازا',
+		hSpace	: 'فاصلهٴ افقی',
+		vSpace	: 'فاصلهٴ عمودی',
+		validateSrc : 'لطفا URL پیوند را بنویسید',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'بررسی املا',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'در واژهنامه یافت نشد',
+		changeTo		: 'تغییر به',
+		btnIgnore		: 'چشمپوشی',
+		btnIgnoreAll	: 'چشمپوشی همه',
+		btnReplace		: 'جایگزینی',
+		btnReplaceAll	: 'جایگزینی همه',
+		btnUndo			: 'واچینش',
+		noSuggestions	: '- پیشنهادی نیست -',
+		progress		: 'بررسی املا در حال انجام...',
+		noMispell		: 'بررسی املا انجام شد. هیچ غلطاملائی یافت نشد',
+		noChanges		: 'بررسی املا انجام شد. هیچ واژهای تغییر نیافت',
+		oneChange		: 'بررسی املا انجام شد. یک واژه تغییر یافت',
+		manyChanges		: 'بررسی املا انجام شد. %1 واژه تغییر یافت',
+		ieSpellDownload	: 'بررسیکنندهٴ املا نصب نشده است. آیا میخواهید آن را هماکنون دریافت کنید؟'
+	},
+
+	smiley :
+	{
+		toolbar	: 'خندانک',
+		title	: 'گنجاندن خندانک'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'فهرست شمارهدار',
+	bulletedlist : 'فهرست نقطهای',
+	indent : 'افزایش تورفتگی',
+	outdent : 'کاهش تورفتگی',
+
+	justify :
+	{
+		left : 'چپچین',
+		center : 'میانچین',
+		right : 'راستچین',
+		block : 'بلوکچین'
+	},
+
+	blockquote : 'بلوک نقل قول',
+
+	clipboard :
+	{
+		title		: 'چسباندن',
+		cutError	: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحهکلید این کار را انجام دهید (Ctrl+X).',
+		copyError	: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپیکردن را انجام دهد. لطفا با دکمههای صفحهکلید این کار را انجام دهید (Ctrl+C).',
+		pasteMsg	: 'لطفا متن را با کلیدهای (<STRONG>Ctrl+V</STRONG>) در این جعبهٴ متنی بچسبانید و <STRONG>پذیرش</STRONG> را بزنید.',
+		securityMsg	: 'به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمیتواند دسترسی مستقیم به دادههای clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'چسباندن از Word',
+		title : 'چسباندن از Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'چسباندن به عنوان متن ِساده',
+		title : 'چسباندن به عنوان متن ِساده'
+	},
+
+	templates :
+	{
+		button : 'الگوها',
+		title : 'الگوهای محتویات',
+		insertOption: 'محتویات کنونی جایگزین شوند',
+		selectPromptMsg: 'لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید<br>(محتویات کنونی از دست خواهند رفت):',
+		emptyListMsg : '(الگوئی تعریف نشده است)'
+	},
+
+	showBlocks : 'نمایش بلوکها',
+
+	stylesCombo :
+	{
+		label : 'سبک',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'فرمت',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'فرمت',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'نرمال',
+		tag_pre : 'فرمتشده',
+		tag_address : 'آدرس',
+		tag_h1 : 'سرنویس 1',
+		tag_h2 : 'سرنویس 2',
+		tag_h3 : 'سرنویس 3',
+		tag_h4 : 'سرنویس 4',
+		tag_h5 : 'سرنویس 5',
+		tag_h6 : 'سرنویس 6',
+		tag_div : 'بند'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'قلم',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'قلم',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'اندازه',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'اندازه',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'رنگ متن',
+		bgColorTitle : 'رنگ پسزمینه',
+		auto : 'خودکار',
+		more : 'رنگهای بیشتر...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/fi.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/fi.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/fi.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Finnish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fi'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Tekstieditori, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Koodi',
+	newPage			: 'Tyhjennä',
+	save			: 'Tallenna',
+	preview			: 'Esikatsele',
+	cut				: 'Leikkaa',
+	copy			: 'Kopioi',
+	paste			: 'Liitä',
+	print			: 'Tulosta',
+	underline		: 'Alleviivattu',
+	bold			: 'Lihavoitu',
+	italic			: 'Kursivoitu',
+	selectAll		: 'Valitse kaikki',
+	removeFormat	: 'Poista muotoilu',
+	strike			: 'Yliviivattu',
+	subscript		: 'Alaindeksi',
+	superscript		: 'Yläindeksi',
+	horizontalrule	: 'Lisää murtoviiva',
+	pagebreak		: 'Lisää sivun vaihto',
+	unlink			: 'Poista linkki',
+	undo			: 'Kumoa',
+	redo			: 'Toista',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Selaa palvelinta',
+		url				: 'Osoite',
+		protocol		: 'Protokolla',
+		upload			: 'Lisää tiedosto',
+		uploadSubmit	: 'Lähetä palvelimelle',
+		image			: 'Kuva',
+		flash			: 'Flash',
+		form			: 'Lomake',
+		checkbox		: 'Valintaruutu',
+		radio		: 'Radiopainike',
+		textField		: 'Tekstikenttä',
+		textarea		: 'Tekstilaatikko',
+		hiddenField		: 'Piilokenttä',
+		button			: 'Painike',
+		select	: 'Valintakenttä',
+		imageButton		: 'Kuvapainike',
+		notSet			: '<ei asetettu>',
+		id				: 'Tunniste',
+		name			: 'Nimi',
+		langDir			: 'Kielen suunta',
+		langDirLtr		: 'Vasemmalta oikealle (LTR)',
+		langDirRtl		: 'Oikealta vasemmalle (RTL)',
+		langCode		: 'Kielikoodi',
+		longDescr		: 'Pitkän kuvauksen URL',
+		cssClass		: 'Tyyliluokat',
+		advisoryTitle	: 'Avustava otsikko',
+		cssStyle		: 'Tyyli',
+		ok				: 'OK',
+		cancel			: 'Peruuta',
+		generalTab		: 'Yleinen',
+		advancedTab		: 'Lisäominaisuudet',
+		validateNumberFailed	: 'Arvon pitää olla numero.',
+		confirmNewPage	: 'Kaikki tallentamattomat muutokset tähän sisältöön menetetään. Oletko varma, että haluat ladata uuden sivun?',
+		confirmCancel	: 'Jotkut asetuksista on muuttuneet. Oletko varma, että haluat sulkea valintaikkunan?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, ei saatavissa</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Lisää erikoismerkki',
+		title		: 'Valitse erikoismerkki'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Lisää linkki/muokkaa linkkiä',
+		menu		: 'Muokkaa linkkiä',
+		title		: 'Linkki',
+		info		: 'Linkin tiedot',
+		target		: 'Kohde',
+		upload		: 'Lisää tiedosto',
+		advanced	: 'Lisäominaisuudet',
+		type		: 'Linkkityyppi',
+		toAnchor	: 'Ankkuri tässä sivussa',
+		toEmail		: 'Sähköposti',
+		target		: 'Kohde',
+		targetNotSet	: '<ei asetettu>',
+		targetFrame	: '<kehys>',
+		targetPopup	: '<popup ikkuna>',
+		targetNew	: 'Uusi ikkuna (_blank)',
+		targetTop	: 'Päällimmäisin ikkuna (_top)',
+		targetSelf	: 'Sama ikkuna (_self)',
+		targetParent	: 'Emoikkuna (_parent)',
+		targetFrameName	: 'Kohdekehyksen nimi',
+		targetPopupName	: 'Popup ikkunan nimi',
+		popupFeatures	: 'Popup ikkunan ominaisuudet',
+		popupResizable	: 'Venytettävä',
+		popupStatusBar	: 'Tilarivi',
+		popupLocationBar	: 'Osoiterivi',
+		popupToolbar	: 'Vakiopainikkeet',
+		popupMenuBar	: 'Valikkorivi',
+		popupFullScreen	: 'Täysi ikkuna (IE)',
+		popupScrollBars	: 'Vierityspalkit',
+		popupDependent	: 'Riippuva (Netscape)',
+		popupWidth		: 'Leveys',
+		popupLeft		: 'Vasemmalta (px)',
+		popupHeight		: 'Korkeus',
+		popupTop		: 'Ylhäältä (px)',
+		id				: 'Tunniste',
+		langDir			: 'Kielen suunta',
+		langDirNotSet	: '<ei asetettu>',
+		langDirLTR		: 'Vasemmalta oikealle (LTR)',
+		langDirRTL		: 'Oikealta vasemmalle (RTL)',
+		acccessKey		: 'Pikanäppäin',
+		name			: 'Nimi',
+		langCode		: 'Kielen suunta',
+		tabIndex		: 'Tabulaattori indeksi',
+		advisoryTitle	: 'Avustava otsikko',
+		advisoryContentType	: 'Avustava sisällön tyyppi',
+		cssClasses		: 'Tyyliluokat',
+		charset			: 'Linkitetty kirjaimisto',
+		styles			: 'Tyyli',
+		selectAnchor	: 'Valitse ankkuri',
+		anchorName		: 'Ankkurin nimen mukaan',
+		anchorId		: 'Ankkurin ID:n mukaan',
+		emailAddress	: 'Sähköpostiosoite',
+		emailSubject	: 'Aihe',
+		emailBody		: 'Viesti',
+		noAnchors		: '(Ei ankkureita tässä dokumentissa)',
+		noUrl			: 'Linkille on kirjoitettava URL',
+		noEmail			: 'Kirjoita sähköpostiosoite'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Lisää ankkuri/muokkaa ankkuria',
+		menu		: 'Ankkurin ominaisuudet',
+		title		: 'Ankkurin ominaisuudet',
+		name		: 'Nimi',
+		errorName	: 'Ankkurille on kirjoitettava nimi'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Etsi ja korvaa',
+		find				: 'Etsi',
+		replace				: 'Korvaa',
+		findWhat			: 'Etsi mitä:',
+		replaceWith			: 'Korvaa tällä:',
+		notFoundMsg			: 'Etsittyä tekstiä ei löytynyt.',
+		matchCase			: 'Sama kirjainkoko',
+		matchWord			: 'Koko sana',
+		matchCyclic			: 'Kierrä ympäri',
+		replaceAll			: 'Korvaa kaikki',
+		replaceSuccessMsg	: '%1 esiintymä(ä) korvattu.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Taulu',
+		title		: 'Taulun ominaisuudet',
+		menu		: 'Taulun ominaisuudet',
+		deleteTable	: 'Poista taulu',
+		rows		: 'Rivit',
+		columns		: 'Sarakkeet',
+		border		: 'Rajan paksuus',
+		align		: 'Kohdistus',
+		alignNotSet	: '<ei asetettu>',
+		alignLeft	: 'Vasemmalle',
+		alignCenter	: 'Keskelle',
+		alignRight	: 'Oikealle',
+		width		: 'Leveys',
+		widthPx		: 'pikseliä',
+		widthPc		: 'prosenttia',
+		height		: 'Korkeus',
+		cellSpace	: 'Solujen väli',
+		cellPad		: 'Solujen sisennys',
+		caption		: 'Otsikko',
+		summary		: 'Yhteenveto',
+		headers		: 'Ylätunnisteet',
+		headersNone		: 'Ei',
+		headersColumn	: 'Ensimmäinen sarake',
+		headersRow		: 'Ensimmäinen rivi',
+		headersBoth		: 'Molemmat',
+		invalidRows		: 'Rivien määrän täytyy olla suurempi kuin 0.',
+		invalidCols		: 'Sarakkeiden määrän täytyy olla suurempi kuin 0.',
+		invalidBorder	: 'Reunan koon täytyy olla numero.',
+		invalidWidth	: 'Taulun leveyden täytyy olla numero.',
+		invalidHeight	: 'Taulun korkeuden täytyy olla numero.',
+		invalidCellSpacing	: 'Solujen välin täytyy olla numero.',
+		invalidCellPadding	: 'Solujen sisennyksen täytyy olla numero.',
+
+		cell :
+		{
+			menu			: 'Solu',
+			insertBefore	: 'Lisää solu eteen',
+			insertAfter		: 'Lisää solu perään',
+			deleteCell		: 'Poista solut',
+			merge			: 'Yhdistä solut',
+			mergeRight		: 'Yhdistä oikealla olevan kanssa',
+			mergeDown		: 'Yhdistä alla olevan kanssa',
+			splitHorizontal	: 'Jaa solu vaakasuunnassa',
+			splitVertical	: 'Jaa solu pystysuunnassa',
+			title			: 'Solun ominaisuudet',
+			cellType		: 'Solun tyyppi',
+			rowSpan			: 'Rivin jatkuvuus',
+			colSpan			: 'Solun jatkuvuus',
+			wordWrap		: 'Rivitys',
+			hAlign			: 'Horisontaali kohdistus',
+			vAlign			: 'Vertikaali kohdistus',
+			alignTop		: 'Ylös',
+			alignMiddle		: 'Keskelle',
+			alignBottom		: 'Alas',
+			alignBaseline	: 'Alas (teksti)',
+			bgColor			: 'Taustan väri',
+			borderColor		: 'Reunan väri',
+			data			: 'Data',
+			header			: 'Ylätunniste',
+			yes				: 'Kyllä',
+			no				: 'Ei',
+			invalidWidth	: 'Solun leveyden täytyy olla numero.',
+			invalidHeight	: 'Solun korkeuden täytyy olla numero.',
+			invalidRowSpan	: 'Rivin jatkuvuuden täytyy olla kokonaisluku.',
+			invalidColSpan	: 'Solun jatkuvuuden täytyy olla kokonaisluku.',
+			chooseColor : 'Valitse'
+		},
+
+		row :
+		{
+			menu			: 'Rivi',
+			insertBefore	: 'Lisää rivi yläpuolelle',
+			insertAfter		: 'Lisää rivi alapuolelle',
+			deleteRow		: 'Poista rivit'
+		},
+
+		column :
+		{
+			menu			: 'Sarake',
+			insertBefore	: 'Lisää sarake vasemmalle',
+			insertAfter		: 'Lisää sarake oikealle',
+			deleteColumn	: 'Poista sarakkeet'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Painikkeen ominaisuudet',
+		text		: 'Teksti (arvo)',
+		type		: 'Tyyppi',
+		typeBtn		: 'Painike',
+		typeSbm		: 'Lähetä',
+		typeRst		: 'Tyhjennä'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Valintaruudun ominaisuudet',
+		radioTitle	: 'Radiopainikkeen ominaisuudet',
+		value		: 'Arvo',
+		selected	: 'Valittu'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Lomakkeen ominaisuudet',
+		menu		: 'Lomakkeen ominaisuudet',
+		action		: 'Toiminto',
+		method		: 'Tapa',
+		encoding	: 'Enkoodaus',
+		target		: 'Kohde',
+		targetNotSet	: '<ei asetettu>',
+		targetNew	: 'Uusi ikkuna (_blank)',
+		targetTop	: 'Päällimmäisin ikkuna (_top)',
+		targetSelf	: 'Sama ikkuna (_self)',
+		targetParent	: 'Emoikkuna (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Valintakentän ominaisuudet',
+		selectInfo	: 'Info',
+		opAvail		: 'Ominaisuudet',
+		value		: 'Arvo',
+		size		: 'Koko',
+		lines		: 'Rivit',
+		chkMulti	: 'Salli usea valinta',
+		opText		: 'Teksti',
+		opValue		: 'Arvo',
+		btnAdd		: 'Lisää',
+		btnModify	: 'Muuta',
+		btnUp		: 'Ylös',
+		btnDown		: 'Alas',
+		btnSetValue : 'Aseta valituksi',
+		btnDelete	: 'Poista'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Tekstilaatikon ominaisuudet',
+		cols		: 'Sarakkeita',
+		rows		: 'Rivejä'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Tekstikentän ominaisuudet',
+		name		: 'Nimi',
+		value		: 'Arvo',
+		charWidth	: 'Leveys',
+		maxChars	: 'Maksimi merkkimäärä',
+		type		: 'Tyyppi',
+		typeText	: 'Teksti',
+		typePass	: 'Salasana'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Piilokentän ominaisuudet',
+		name	: 'Nimi',
+		value	: 'Arvo'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Kuvan ominaisuudet',
+		titleButton	: 'Kuvapainikkeen ominaisuudet',
+		menu		: 'Kuvan ominaisuudet',
+		infoTab	: 'Kuvan tiedot',
+		btnUpload	: 'Lähetä palvelimelle',
+		url		: 'Osoite',
+		upload	: 'Lisää kuva',
+		alt		: 'Vaihtoehtoinen teksti',
+		width		: 'Leveys',
+		height	: 'Korkeus',
+		lockRatio	: 'Lukitse suhteet',
+		resetSize	: 'Alkuperäinen koko',
+		border	: 'Raja',
+		hSpace	: 'Vaakatila',
+		vSpace	: 'Pystytila',
+		align		: 'Kohdistus',
+		alignLeft	: 'Vasemmalle',
+		alignRight	: 'Oikealle',
+		preview	: 'Esikatselu',
+		alertUrl	: 'Kirjoita kuvan osoite (URL)',
+		linkTab	: 'Linkki',
+		button2Img	: 'Haluatko muuntaa valitun kuvanäppäimen kuvaksi?',
+		img2Button	: 'Haluatko muuntaa valitun kuvan kuvanäppäimeksi?',
+		urlMissing : 'Kuvan lähdeosoite puuttuu.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash ominaisuudet',
+		propertiesTab	: 'Ominaisuudet',
+		title		: 'Flash ominaisuudet',
+		chkPlay		: 'Automaattinen käynnistys',
+		chkLoop		: 'Toisto',
+		chkMenu		: 'Näytä Flash-valikko',
+		chkFull		: 'Salli kokoruututila',
+ 		scale		: 'Levitä',
+		scaleAll		: 'Näytä kaikki',
+		scaleNoBorder	: 'Ei rajaa',
+		scaleFit		: 'Tarkka koko',
+		access			: 'Skriptien pääsy',
+		accessAlways	: 'Aina',
+		accessSameDomain	: 'Sama verkkotunnus',
+		accessNever	: 'Ei koskaan',
+		align		: 'Kohdistus',
+		alignLeft	: 'Vasemmalle',
+		alignAbsBottom: 'Aivan alas',
+		alignAbsMiddle: 'Aivan keskelle',
+		alignBaseline	: 'Alas (teksti)',
+		alignBottom	: 'Alas',
+		alignMiddle	: 'Keskelle',
+		alignRight	: 'Oikealle',
+		alignTextTop	: 'Ylös (teksti)',
+		alignTop	: 'Ylös',
+		quality		: 'Laatu',
+		qualityBest		 : 'Paras',
+		qualityHigh		 : 'Korkea',
+		qualityAutoHigh	 : 'Automaattinen korkea',
+		qualityMedium	 : 'Keskitaso',
+		qualityAutoLow	 : 'Automaattinen matala',
+		qualityLow		 : 'Matala',
+		windowModeWindow	 : 'Ikkuna',
+		windowModeOpaque	 : 'Läpinäkyvyys',
+		windowModeTransparent	 : 'Läpinäkyvä',
+		windowMode	: 'Ikkuna tila',
+		flashvars	: 'Muuttujat Flash:lle',
+		bgcolor	: 'Taustaväri',
+		width	: 'Leveys',
+		height	: 'Korkeus',
+		hSpace	: 'Vaakatila',
+		vSpace	: 'Pystytila',
+		validateSrc : 'Linkille on kirjoitettava URL',
+		validateWidth : 'Leveyden täytyy olla numero.',
+		validateHeight : 'Korkeuden täytyy olla numero.',
+		validateHSpace : 'Vaakatilan täytyy olla numero.',
+		validateVSpace : 'Pystytilan täytyy olla numero.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Tarkista oikeinkirjoitus',
+		title			: 'Oikoluku',
+		notAvailable	: 'Valitettavasti oikoluku ei ole käytössä tällä hetkellä.',
+		errorLoading	: 'Virhe ladattaessa oikolukupalvelua isännältä: %s.',
+		notInDic		: 'Ei sanakirjassa',
+		changeTo		: 'Vaihda',
+		btnIgnore		: 'Jätä huomioimatta',
+		btnIgnoreAll	: 'Jätä kaikki huomioimatta',
+		btnReplace		: 'Korvaa',
+		btnReplaceAll	: 'Korvaa kaikki',
+		btnUndo			: 'Kumoa',
+		noSuggestions	: 'Ei ehdotuksia',
+		progress		: 'Tarkistus käynnissä...',
+		noMispell		: 'Tarkistus valmis: Ei virheitä',
+		noChanges		: 'Tarkistus valmis: Yhtään sanaa ei muutettu',
+		oneChange		: 'Tarkistus valmis: Yksi sana muutettiin',
+		manyChanges		: 'Tarkistus valmis: %1 sanaa muutettiin',
+		ieSpellDownload	: 'Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Hymiö',
+		title	: 'Lisää hymiö'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 elementti'
+	},
+
+	numberedlist : 'Numerointi',
+	bulletedlist : 'Luottelomerkit',
+	indent : 'Suurenna sisennystä',
+	outdent : 'Pienennä sisennystä',
+
+	justify :
+	{
+		left : 'Tasaa vasemmat reunat',
+		center : 'Keskitä',
+		right : 'Tasaa oikeat reunat',
+		block : 'Tasaa molemmat reunat'
+	},
+
+	blockquote : 'Lainaus',
+
+	clipboard :
+	{
+		title		: 'Liitä',
+		cutError	: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).',
+		copyError	: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).',
+		pasteMsg	: 'Liitä painamalla (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.',
+		securityMsg	: 'Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Liitä Wordista',
+		title : 'Liitä Wordista',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Liitä tekstinä',
+		title : 'Liitä tekstinä'
+	},
+
+	templates :
+	{
+		button : 'Pohjat',
+		title : 'Sisältöpohjat',
+		insertOption: 'Korvaa editorin koko sisältö',
+		selectPromptMsg: 'Valitse pohja editoriin<br>(aiempi sisältö menetetään):',
+		emptyListMsg : '(Ei määriteltyjä pohjia)'
+	},
+
+	showBlocks : 'Näytä elementit',
+
+	stylesCombo :
+	{
+		label : 'Tyyli',
+		voiceLabel : 'Tyylit',
+		panelVoiceLabel : 'Valitse tyyli',
+		panelTitle1 : 'Lohkojen tyylit',
+		panelTitle2 : 'Rivinsisäiset tyylit',
+		panelTitle3 : 'Objektien tyylit'
+	},
+
+	format :
+	{
+		label : 'Muotoilu',
+		voiceLabel : 'Muotoilu',
+		panelTitle : 'Muotoilu',
+		panelVoiceLabel : 'Valitse kappaleen muotoilu',
+
+		tag_p : 'Normaali',
+		tag_pre : 'Muotoiltu',
+		tag_address : 'Osoite',
+		tag_h1 : 'Otsikko 1',
+		tag_h2 : 'Otsikko 2',
+		tag_h3 : 'Otsikko 3',
+		tag_h4 : 'Otsikko 4',
+		tag_h5 : 'Otsikko 5',
+		tag_h6 : 'Otsikko 6',
+		tag_div : 'Normaali (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Kirjaisinlaji',
+		voiceLabel : 'Kirjaisinlaji',
+		panelTitle : 'Kirjaisinlaji',
+		panelVoiceLabel : 'Valitse kirjaisinlaji'
+	},
+
+	fontSize :
+	{
+		label : 'Koko',
+		voiceLabel : 'Kirjaisimen koko',
+		panelTitle : 'Koko',
+		panelVoiceLabel : 'Valitse kirjaisimen koko'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstiväri',
+		bgColorTitle : 'Taustaväri',
+		auto : 'Automaattinen',
+		more : 'Lisää värejä...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Oikolue kirjoitettaessa',
+		enable : 'Ota käyttöön oikoluku kirjoitettaessa',
+		disable : 'Poista käytöstä oikoluku kirjoitetaessa',
+		about : 'Tietoja oikoluvusta kirjoitetaessa',
+		toggle : 'Vaihda oikoluku kirjoittaessa tilaa',
+		options : 'Asetukset',
+		langs : 'Kielet',
+		moreSuggestions : 'Lisää ehdotuksia',
+		ignore : 'Ohita',
+		ignoreAll : 'Ohita kaikki',
+		addWord : 'Lisää sana',
+		emptyDic : 'Sanakirjan nimi on annettava.',
+		optionsTab : 'Asetukset',
+		languagesTab : 'Kielet',
+		dictionariesTab : 'Sanakirjat',
+		aboutTab : 'Tietoa'
+	},
+
+	about :
+	{
+		title : 'Tietoa CKEditorista',
+		dlgTitle : 'Tietoa CKEditorista',
+		moreInfo : 'Lisenssitiedot löytyvät kotisivuiltamme:',
+		copy : 'Copyright &copy; $1. Kaikki oikeuden pidätetään.'
+	},
+
+	maximize : 'Suurenna',
+	minimize : 'Pienennä',
+
+	fakeobjects :
+	{
+		anchor : 'Ankkuri',
+		flash : 'Flash animaatio',
+		div : 'Sivun vaihto',
+		unknown : 'Tuntematon objekti'
+	},
+
+	resize : 'Raahaa muuttaaksesi kokoa',
+
+	colordialog :
+	{
+		title : 'Valitse väri',
+		highlight : 'Korostus',
+		selected : 'Valittu',
+		clear : 'Poista'
+	},
+
+	toolbarCollapse : 'Kutista työkalupalkki',
+	toolbarExpand : 'Laajenna työkalupalkki'
+};
Index: CKEditor/branches/features/aria/_source/lang/fo.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/fo.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/fo.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Faroese language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fo'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kelda',
+	newPage			: 'Nýggj síða',
+	save			: 'Goym',
+	preview			: 'Frumsýning',
+	cut				: 'Kvett',
+	copy			: 'Avrita',
+	paste			: 'Innrita',
+	print			: 'Prenta',
+	underline		: 'Undirstrikað',
+	bold			: 'Feit skrift',
+	italic			: 'Skráskrift',
+	selectAll		: 'Markera alt',
+	removeFormat	: 'Strika sniðgeving',
+	strike			: 'Yvirstrikað',
+	subscript		: 'Lækkað skrift',
+	superscript		: 'Hækkað skrift',
+	horizontalrule	: 'Ger vatnrætta linju',
+	pagebreak		: 'Ger síðuskift',
+	unlink			: 'Strika tilknýti',
+	undo			: 'Angra',
+	redo			: 'Vend aftur',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Ambætarakagi',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Send til ambætaran',
+		uploadSubmit	: 'Send til ambætaran',
+		image			: 'Myndir',
+		flash			: 'Flash',
+		form			: 'Formur',
+		checkbox		: 'Flugubein',
+		radio		: 'Radioknøttur',
+		textField		: 'Tekstteigur',
+		textarea		: 'Tekstumráði',
+		hiddenField		: 'Fjaldur teigur',
+		button			: 'Knøttur',
+		select	: 'Valskrá',
+		imageButton		: 'Myndaknøttur',
+		notSet			: '<ikki sett>',
+		id				: 'Id',
+		name			: 'Navn',
+		langDir			: 'Tekstkós',
+		langDirLtr		: 'Frá vinstru til høgru (LTR)',
+		langDirRtl		: 'Frá høgru til vinstru (RTL)',
+		langCode		: 'Málkoda',
+		longDescr		: 'Víðkað URL frágreiðing',
+		cssClass		: 'Typografi klassar',
+		advisoryTitle	: 'Vegleiðandi heiti',
+		cssStyle		: 'Typografi',
+		ok				: 'Góðkent',
+		cancel			: 'Avlýst',
+		generalTab		: 'Generelt',
+		advancedTab		: 'Fjølbroytt',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Set inn sertekn',
+		title		: 'Vel sertekn'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Ger/broyt tilknýti',
+		menu		: 'Broyt tilknýti',
+		title		: 'Tilknýti',
+		info		: 'Tilknýtis upplýsingar',
+		target		: 'Mál',
+		upload		: 'Send til ambætaran',
+		advanced	: 'Fjølbroytt',
+		type		: 'Tilknýtisslag',
+		toAnchor	: 'Tilknýti til marknastein í tekstinum',
+		toEmail		: 'Teldupostur',
+		target		: 'Mál',
+		targetNotSet	: '<ikki sett>',
+		targetFrame	: '<ramma>',
+		targetPopup	: '<popup vindeyga>',
+		targetNew	: 'Nýtt vindeyga (_blank)',
+		targetTop	: 'Alt vindeygað (_top)',
+		targetSelf	: 'Sama vindeygað (_self)',
+		targetParent	: 'Upphavliga vindeygað (_parent)',
+		targetFrameName	: 'Vís navn vindeygans',
+		targetPopupName	: 'Popup vindeygans navn',
+		popupFeatures	: 'Popup vindeygans víðkaðu eginleikar',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Støðufrágreiðingarbjálki',
+		popupLocationBar	: 'Adressulinja',
+		popupToolbar	: 'Amboðsbjálki',
+		popupMenuBar	: 'Skrábjálki',
+		popupFullScreen	: 'Fullur skermur (IE)',
+		popupScrollBars	: 'Rullibjálki',
+		popupDependent	: 'Bundið (Netscape)',
+		popupWidth		: 'Breidd',
+		popupLeft		: 'Frástøða frá vinstru',
+		popupHeight		: 'Hædd',
+		popupTop		: 'Frástøða frá íerva',
+		id				: 'Id', // MISSING
+		langDir			: 'Tekstkós',
+		langDirNotSet	: '<ikki sett>',
+		langDirLTR		: 'Frá vinstru til høgru (LTR)',
+		langDirRTL		: 'Frá høgru til vinstru (RTL)',
+		acccessKey		: 'Snarvegisknappur',
+		name			: 'Navn',
+		langCode		: 'Tekstkós',
+		tabIndex		: 'Inntriv indeks',
+		advisoryTitle	: 'Vegleiðandi heiti',
+		advisoryContentType	: 'Vegleiðandi innihaldsslag',
+		cssClasses		: 'Typografi klassar',
+		charset			: 'Atknýtt teknsett',
+		styles			: 'Typografi',
+		selectAnchor	: 'Vel ein marknastein',
+		anchorName		: 'Eftir navni á marknasteini',
+		anchorId		: 'Eftir element Id',
+		emailAddress	: 'Teldupost-adressa',
+		emailSubject	: 'Evni',
+		emailBody		: 'Breyðtekstur',
+		noAnchors		: '(Eingir marknasteinar eru í hesum dokumentið)',
+		noUrl			: 'Vinarliga skriva tilknýti (URL)',
+		noEmail			: 'Vinarliga skriva teldupost-adressu'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Ger/broyt marknastein',
+		menu		: 'Eginleikar fyri marknastein',
+		title		: 'Eginleikar fyri marknastein',
+		name		: 'Heiti marknasteinsins',
+		errorName	: 'Vinarliga rita marknasteinsins heiti'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Finn og broyt',
+		find				: 'Leita',
+		replace				: 'Yvirskriva',
+		findWhat			: 'Finn:',
+		replaceWith			: 'Yvirskriva við:',
+		notFoundMsg			: 'Leititeksturin varð ikki funnin',
+		matchCase			: 'Munur á stórum og smáðum bókstavum',
+		matchWord			: 'Bert heil orð',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Yvirskriva alt',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabell',
+		title		: 'Eginleikar fyri tabell',
+		menu		: 'Eginleikar fyri tabell',
+		deleteTable	: 'Strika tabell',
+		rows		: 'Røðir',
+		columns		: 'Kolonnur',
+		border		: 'Bordabreidd',
+		align		: 'Justering',
+		alignNotSet	: '<Einki valt>',
+		alignLeft	: 'Vinstrasett',
+		alignCenter	: 'Miðsett',
+		alignRight	: 'Høgrasett',
+		width		: 'Breidd',
+		widthPx		: 'pixels',
+		widthPc		: 'prosent',
+		height		: 'Hædd',
+		cellSpace	: 'Fjarstøða millum meskar',
+		cellPad		: 'Meskubreddi',
+		caption		: 'Tabellfrágreiðing',
+		summary		: 'Samandráttur',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Meski',
+			insertBefore	: 'Set meska inn áðrenn',
+			insertAfter		: 'Set meska inn aftaná',
+			deleteCell		: 'Strika meskar',
+			merge			: 'Flætta meskar',
+			mergeRight		: 'Flætta meskar til høgru',
+			mergeDown		: 'Flætta saman',
+			splitHorizontal	: 'Kloyv meska vatnrætt',
+			splitVertical	: 'Kloyv meska loddrætt',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Rað',
+			insertBefore	: 'Set rað inn áðrenn',
+			insertAfter		: 'Set rað inn aftaná',
+			deleteRow		: 'Strika røðir'
+		},
+
+		column :
+		{
+			menu			: 'Kolonna',
+			insertBefore	: 'Set kolonnu inn áðrenn',
+			insertAfter		: 'Set kolonnu inn aftaná',
+			deleteColumn	: 'Strika kolonnur'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Eginleikar fyri knøtt',
+		text		: 'Tekstur',
+		type		: 'Slag',
+		typeBtn		: 'Knøttur',
+		typeSbm		: 'Send',
+		typeRst		: 'Nullstilla'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Eginleikar fyri flugubein',
+		radioTitle	: 'Eginleikar fyri radioknøtt',
+		value		: 'Virði',
+		selected	: 'Valt'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Eginleikar fyri Form',
+		menu		: 'Eginleikar fyri Form',
+		action		: 'Hending',
+		method		: 'Háttur',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Mál',
+		targetNotSet	: '<ikki sett>',
+		targetNew	: 'Nýtt vindeyga (_blank)',
+		targetTop	: 'Alt vindeygað (_top)',
+		targetSelf	: 'Sama vindeygað (_self)',
+		targetParent	: 'Upphavliga vindeygað (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Eginleikar fyri valskrá',
+		selectInfo	: 'Upplýsingar',
+		opAvail		: 'Tøkir møguleikar',
+		value		: 'Virði',
+		size		: 'Stødd',
+		lines		: 'Linjur',
+		chkMulti	: 'Loyv fleiri valmøguleikum samstundis',
+		opText		: 'Tekstur',
+		opValue		: 'Virði',
+		btnAdd		: 'Legg afturat',
+		btnModify	: 'Broyt',
+		btnUp		: 'Upp',
+		btnDown		: 'Niður',
+		btnSetValue : 'Set sum valt virði',
+		btnDelete	: 'Strika'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Eginleikar fyri tekstumráði',
+		cols		: 'kolonnur',
+		rows		: 'røðir'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Eginleikar fyri tekstteig',
+		name		: 'Navn',
+		value		: 'Virði',
+		charWidth	: 'Breidd (sjónlig tekn)',
+		maxChars	: 'Mest loyvdu tekn',
+		type		: 'Slag',
+		typeText	: 'Tekstur',
+		typePass	: 'Loyniorð'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Eginleikar fyri fjaldan teig',
+		name	: 'Navn',
+		value	: 'Virði'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Myndaeginleikar',
+		titleButton	: 'Eginleikar fyri myndaknøtt',
+		menu		: 'Myndaeginleikar',
+		infoTab	: 'Myndaupplýsingar',
+		btnUpload	: 'Send til ambætaran',
+		url		: 'URL',
+		upload	: 'Send',
+		alt		: 'Alternativur tekstur',
+		width		: 'Breidd',
+		height	: 'Hædd',
+		lockRatio	: 'Læs lutfallið',
+		resetSize	: 'Upprunastødd',
+		border	: 'Bordi',
+		hSpace	: 'Høgri breddi',
+		vSpace	: 'Vinstri breddi',
+		align		: 'Justering',
+		alignLeft	: 'Vinstra',
+		alignRight	: 'Høgra',
+		preview	: 'Frumsýning',
+		alertUrl	: 'Rita slóðina til myndina',
+		linkTab	: 'Tilknýti',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash eginleikar',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash eginleikar',
+		chkPlay		: 'Avspælingin byrjar sjálv',
+		chkLoop		: 'Endurspæl',
+		chkMenu		: 'Ger Flash skrá virkna',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Skalering',
+		scaleAll		: 'Vís alt',
+		scaleNoBorder	: 'Eingin bordi',
+		scaleFit		: 'Neyv skalering',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Justering',
+		alignLeft	: 'Vinstra',
+		alignAbsBottom: 'Abs botnur',
+		alignAbsMiddle: 'Abs miðja',
+		alignBaseline	: 'Basislinja',
+		alignBottom	: 'Botnur',
+		alignMiddle	: 'Miðja',
+		alignRight	: 'Høgra',
+		alignTextTop	: 'Tekst toppur',
+		alignTop	: 'Ovast',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Bakgrundslitur',
+		width	: 'Breidd',
+		height	: 'Hædd',
+		hSpace	: 'Høgri breddi',
+		vSpace	: 'Vinstri breddi',
+		validateSrc : 'Vinarliga skriva tilknýti (URL)',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Kanna stavseting',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Finst ikki í orðabókini',
+		changeTo		: 'Broyt til',
+		btnIgnore		: 'Forfjóna',
+		btnIgnoreAll	: 'Forfjóna alt',
+		btnReplace		: 'Yvirskriva',
+		btnReplaceAll	: 'Yvirskriva alt',
+		btnUndo			: 'Angra',
+		noSuggestions	: '- Einki uppskot -',
+		progress		: 'Rættstavarin arbeiðir...',
+		noMispell		: 'Rættstavarain liðugur: Eingin feilur funnin',
+		noChanges		: 'Rættstavarain liðugur: Einki orð varð broytt',
+		oneChange		: 'Rættstavarain liðugur: Eitt orð er broytt',
+		manyChanges		: 'Rættstavarain liðugur: %1 orð broytt',
+		ieSpellDownload	: 'Rættstavarin er ikki tøkur í tekstviðgeranum. Vilt tú heinta hann nú?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Vel Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Talmerktur listi',
+	bulletedlist : 'Punktmerktur listi',
+	indent : 'Økja reglubrotarinntriv',
+	outdent : 'Minka reglubrotarinntriv',
+
+	justify :
+	{
+		left : 'Vinstrasett',
+		center : 'Miðsett',
+		right : 'Høgrasett',
+		block : 'Javnir tekstkantar'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Innrita',
+		cutError	: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. Vinarliga nýt knappaborðið til at kvetta tekstin (CTRL+X).',
+		copyError	: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (CTRL+C).',
+		pasteMsg	: 'Vinarliga koyr tekstin í hendan rútin við knappaborðinum (<strong>CTRL+V</strong>) og klikk á <strong>Góðtak</strong>.',
+		securityMsg	: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í beinleiðis atgongd til avritingarminnið. Tygum mugu royna aftur í hesum rútinum.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Innrita frá Word',
+		title : 'Innrita frá Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Innrita som reinan tekst',
+		title : 'Innrita som reinan tekst'
+	},
+
+	templates :
+	{
+		button : 'Skabelónir',
+		title : 'Innihaldsskabelónir',
+		insertOption: 'Yvirskriva núverandi innihald',
+		selectPromptMsg: 'Vinarliga vel ta skabelón, ið skal opnast í tekstviðgeranum<br>(Hetta yvirskrivar núverandi innihald):',
+		emptyListMsg : '(Ongar skabelónir tøkar)'
+	},
+
+	showBlocks : 'Vís blokkar',
+
+	stylesCombo :
+	{
+		label : 'Typografi',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Skriftsnið',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Skriftsnið',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Vanligt',
+		tag_pre : 'Sniðgivið',
+		tag_address : 'Adressa',
+		tag_h1 : 'Yvirskrift 1',
+		tag_h2 : 'Yvirskrift 2',
+		tag_h3 : 'Yvirskrift 3',
+		tag_h4 : 'Yvirskrift 4',
+		tag_h5 : 'Yvirskrift 5',
+		tag_h6 : 'Yvirskrift 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Skrift',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Skrift',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Skriftstødd',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Skriftstødd',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstlitur',
+		bgColorTitle : 'Bakgrundslitur',
+		auto : 'Automatiskt',
+		more : 'Fleiri litir...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/fr-ca.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/fr-ca.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/fr-ca.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Canadian French language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fr-ca'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'Nouvelle page',
+	save			: 'Sauvegarder',
+	preview			: 'Previsualiser',
+	cut				: 'Couper',
+	copy			: 'Copier',
+	paste			: 'Coller',
+	print			: 'Imprimer',
+	underline		: 'Souligné',
+	bold			: 'Gras',
+	italic			: 'Italique',
+	selectAll		: 'Tout sélectionner',
+	removeFormat	: 'Supprimer le formatage',
+	strike			: 'Barrer',
+	subscript		: 'Indice',
+	superscript		: 'Exposant',
+	horizontalrule	: 'Insérer un séparateur',
+	pagebreak		: 'Insérer un saut de page',
+	unlink			: 'Supprimer le lien',
+	undo			: 'Annuler',
+	redo			: 'Refaire',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Parcourir le serveur',
+		url				: 'URL',
+		protocol		: 'Protocole',
+		upload			: 'Télécharger',
+		uploadSubmit	: 'Envoyer sur le serveur',
+		image			: 'Image',
+		flash			: 'Animation Flash',
+		form			: 'Formulaire',
+		checkbox		: 'Case à cocher',
+		radio		: 'Bouton radio',
+		textField		: 'Champ texte',
+		textarea		: 'Zone de texte',
+		hiddenField		: 'Champ caché',
+		button			: 'Bouton',
+		select	: 'Champ de sélection',
+		imageButton		: 'Bouton image',
+		notSet			: '<Par défaut>',
+		id				: 'Id',
+		name			: 'Nom',
+		langDir			: 'Sens d\'écriture',
+		langDirLtr		: 'De gauche à droite (LTR)',
+		langDirRtl		: 'De droite à gauche (RTL)',
+		langCode		: 'Code langue',
+		longDescr		: 'URL de description longue',
+		cssClass		: 'Classes de feuilles de style',
+		advisoryTitle	: 'Titre',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Annuler',
+		generalTab		: 'Général',
+		advancedTab		: 'Avancée',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insérer un caractère spécial',
+		title		: 'Insérer un caractère spécial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Insérer/modifier le lien',
+		menu		: 'Modifier le lien',
+		title		: 'Propriétés du lien',
+		info		: 'Informations sur le lien',
+		target		: 'Destination',
+		upload		: 'Télécharger',
+		advanced	: 'Avancée',
+		type		: 'Type de lien',
+		toAnchor	: 'Ancre dans cette page',
+		toEmail		: 'E-Mail',
+		target		: 'Destination',
+		targetNotSet	: '<Par défaut>',
+		targetFrame	: '<Cadre>',
+		targetPopup	: '<fenêtre popup>',
+		targetNew	: 'Nouvelle fenêtre (_blank)',
+		targetTop	: 'Fenêtre supérieure (_top)',
+		targetSelf	: 'Même fenêtre (_self)',
+		targetParent	: 'Fenêtre mère (_parent)',
+		targetFrameName	: 'Nom du cadre de destination',
+		targetPopupName	: 'Nom de la fenêtre popup',
+		popupFeatures	: 'Caractéristiques de la fenêtre popup',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Barre d\'état',
+		popupLocationBar	: 'Barre d\'adresses',
+		popupToolbar	: 'Barre d\'outils',
+		popupMenuBar	: 'Barre de menu',
+		popupFullScreen	: 'Plein écran (IE)',
+		popupScrollBars	: 'Barres de défilement',
+		popupDependent	: 'Dépendante (Netscape)',
+		popupWidth		: 'Largeur',
+		popupLeft		: 'Position à partir de la gauche',
+		popupHeight		: 'Hauteur',
+		popupTop		: 'Position à partir du haut',
+		id				: 'Id', // MISSING
+		langDir			: 'Sens d\'écriture',
+		langDirNotSet	: '<Par défaut>',
+		langDirLTR		: 'De gauche à droite (LTR)',
+		langDirRTL		: 'De droite à gauche (RTL)',
+		acccessKey		: 'Équivalent clavier',
+		name			: 'Nom',
+		langCode		: 'Sens d\'écriture',
+		tabIndex		: 'Ordre de tabulation',
+		advisoryTitle	: 'Titre',
+		advisoryContentType	: 'Type de contenu',
+		cssClasses		: 'Classes de feuilles de style',
+		charset			: 'Encodage de caractère',
+		styles			: 'Style',
+		selectAnchor	: 'Sélectionner une ancre',
+		anchorName		: 'Par nom',
+		anchorId		: 'Par id',
+		emailAddress	: 'Adresse E-Mail',
+		emailSubject	: 'Sujet du message',
+		emailBody		: 'Corps du message',
+		noAnchors		: '(Pas d\'ancre disponible dans le document)',
+		noUrl			: 'Veuillez saisir l\'URL',
+		noEmail			: 'Veuillez saisir l\'adresse e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Insérer/modifier l\'ancre',
+		menu		: 'Propriétés de l\'ancre',
+		title		: 'Propriétés de l\'ancre',
+		name		: 'Nom de l\'ancre',
+		errorName	: 'Veuillez saisir le nom de l\'ancre'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Chercher et Remplacer',
+		find				: 'Chercher',
+		replace				: 'Remplacer',
+		findWhat			: 'Rechercher:',
+		replaceWith			: 'Remplacer par:',
+		notFoundMsg			: 'Le texte indiqué est introuvable.',
+		matchCase			: 'Respecter la casse',
+		matchWord			: 'Mot entier',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Tout remplacer',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tableau',
+		title		: 'Propriétés du tableau',
+		menu		: 'Propriétés du tableau',
+		deleteTable	: 'Supprimer le tableau',
+		rows		: 'Lignes',
+		columns		: 'Colonnes',
+		border		: 'Taille de la bordure',
+		align		: 'Alignement',
+		alignNotSet	: '<Par défaut>',
+		alignLeft	: 'Gauche',
+		alignCenter	: 'Centré',
+		alignRight	: 'Droite',
+		width		: 'Largeur',
+		widthPx		: 'pixels',
+		widthPc		: 'pourcentage',
+		height		: 'Hauteur',
+		cellSpace	: 'Espacement',
+		cellPad		: 'Contour',
+		caption		: 'Titre',
+		summary		: 'Résumé',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cellule',
+			insertBefore	: 'Insérer une cellule avant',
+			insertAfter		: 'Insérer une cellule après',
+			deleteCell		: 'Supprimer des cellules',
+			merge			: 'Fusionner les cellules',
+			mergeRight		: 'Fusionner à droite',
+			mergeDown		: 'Fusionner en bas',
+			splitHorizontal	: 'Scinder la cellule horizontalement',
+			splitVertical	: 'Scinder la cellule verticalement',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Ligne',
+			insertBefore	: 'Insérer une ligne avant',
+			insertAfter		: 'Insérer une ligne après',
+			deleteRow		: 'Supprimer des lignes'
+		},
+
+		column :
+		{
+			menu			: 'Colonne',
+			insertBefore	: 'Insérer une colonne avant',
+			insertAfter		: 'Insérer une colonne après',
+			deleteColumn	: 'Supprimer des colonnes'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propriétés du bouton',
+		text		: 'Texte (Valeur)',
+		type		: 'Type',
+		typeBtn		: 'Bouton',
+		typeSbm		: 'Soumettre',
+		typeRst		: 'Réinitialiser'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propriétés de la case à cocher',
+		radioTitle	: 'Propriétés du bouton radio',
+		value		: 'Valeur',
+		selected	: 'Sélectionné'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propriétés du formulaire',
+		menu		: 'Propriétés du formulaire',
+		action		: 'Action',
+		method		: 'Méthode',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Destination',
+		targetNotSet	: '<Par défaut>',
+		targetNew	: 'Nouvelle fenêtre (_blank)',
+		targetTop	: 'Fenêtre supérieure (_top)',
+		targetSelf	: 'Même fenêtre (_self)',
+		targetParent	: 'Fenêtre mère (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propriétés de la liste/du menu',
+		selectInfo	: 'Info',
+		opAvail		: 'Options disponibles',
+		value		: 'Valeur',
+		size		: 'Taille',
+		lines		: 'lignes',
+		chkMulti	: 'Sélection multiple',
+		opText		: 'Texte',
+		opValue		: 'Valeur',
+		btnAdd		: 'Ajouter',
+		btnModify	: 'Modifier',
+		btnUp		: 'Monter',
+		btnDown		: 'Descendre',
+		btnSetValue : 'Valeur sélectionnée',
+		btnDelete	: 'Supprimer'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propriétés de la zone de texte',
+		cols		: 'Colonnes',
+		rows		: 'Lignes'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propriétés du champ texte',
+		name		: 'Nom',
+		value		: 'Valeur',
+		charWidth	: 'Largeur en caractères',
+		maxChars	: 'Nombre maximum de caractères',
+		type		: 'Type',
+		typeText	: 'Texte',
+		typePass	: 'Mot de passe'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propriétés du champ caché',
+		name	: 'Nom',
+		value	: 'Valeur'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propriétés de l\'image',
+		titleButton	: 'Propriétés du bouton image',
+		menu		: 'Propriétés de l\'image',
+		infoTab	: 'Informations sur l\'image',
+		btnUpload	: 'Envoyer sur le serveur',
+		url		: 'URL',
+		upload	: 'Télécharger',
+		alt		: 'Texte de remplacement',
+		width		: 'Largeur',
+		height	: 'Hauteur',
+		lockRatio	: 'Garder les proportions',
+		resetSize	: 'Taille originale',
+		border	: 'Bordure',
+		hSpace	: 'Espacement horizontal',
+		vSpace	: 'Espacement vertical',
+		align		: 'Alignement',
+		alignLeft	: 'Gauche',
+		alignRight	: 'Droite',
+		preview	: 'Prévisualisation',
+		alertUrl	: 'Veuillez saisir l\'URL de l\'image',
+		linkTab	: 'Lien',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propriétés de l\'animation Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Propriétés de l\'animation Flash',
+		chkPlay		: 'Lecture automatique',
+		chkLoop		: 'Boucle',
+		chkMenu		: 'Activer le menu Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Affichage',
+		scaleAll		: 'Par défaut (tout montrer)',
+		scaleNoBorder	: 'Sans bordure',
+		scaleFit		: 'Ajuster aux dimensions',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Alignement',
+		alignLeft	: 'Gauche',
+		alignAbsBottom: 'Abs Bas',
+		alignAbsMiddle: 'Abs Milieu',
+		alignBaseline	: 'Bas du texte',
+		alignBottom	: 'Bas',
+		alignMiddle	: 'Milieu',
+		alignRight	: 'Droite',
+		alignTextTop	: 'Haut du texte',
+		alignTop	: 'Haut',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Couleur de fond',
+		width	: 'Largeur',
+		height	: 'Hauteur',
+		hSpace	: 'Espacement horizontal',
+		vSpace	: 'Espacement vertical',
+		validateSrc : 'Veuillez saisir l\'URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Orthographe',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Pas dans le dictionnaire',
+		changeTo		: 'Changer en',
+		btnIgnore		: 'Ignorer',
+		btnIgnoreAll	: 'Ignorer tout',
+		btnReplace		: 'Remplacer',
+		btnReplaceAll	: 'Remplacer tout',
+		btnUndo			: 'Annuler',
+		noSuggestions	: '- Pas de suggestion -',
+		progress		: 'Vérification d\'orthographe en cours...',
+		noMispell		: 'Vérification d\'orthographe terminée: pas d\'erreur trouvée',
+		noChanges		: 'Vérification d\'orthographe terminée: Pas de modifications',
+		oneChange		: 'Vérification d\'orthographe terminée: Un mot modifié',
+		manyChanges		: 'Vérification d\'orthographe terminée: %1 mots modifiés',
+		ieSpellDownload	: 'Le Correcteur d\'orthographe n\'est pas installé. Souhaitez-vous le télécharger maintenant?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticon',
+		title	: 'Insérer un Emoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Liste numérotée',
+	bulletedlist : 'Liste à puces',
+	indent : 'Augmenter le retrait',
+	outdent : 'Diminuer le retrait',
+
+	justify :
+	{
+		left : 'Aligner à gauche',
+		center : 'Centrer',
+		right : 'Aligner à Droite',
+		block : 'Texte justifié'
+	},
+
+	blockquote : 'Citation',
+
+	clipboard :
+	{
+		title		: 'Coller',
+		cutError	: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+X).',
+		copyError	: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl+C).',
+		pasteMsg	: 'Veuillez coller dans la zone ci-dessous en utilisant le clavier (<STRONG>Ctrl+V</STRONG>) et appuyer sur <STRONG>OK</STRONG>.',
+		securityMsg	: 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Coller en tant que Word (formaté)',
+		title : 'Coller en tant que Word (formaté)',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Coller comme texte',
+		title : 'Coller comme texte'
+	},
+
+	templates :
+	{
+		button : 'Modèles',
+		title : 'Modèles de contenu',
+		insertOption: 'Remplacer tout le contenu actuel',
+		selectPromptMsg: 'Sélectionner le modèle à ouvrir dans l\'éditeur<br>(le contenu actuel sera remplacé):',
+		emptyListMsg : '(Aucun modèle disponible)'
+	},
+
+	showBlocks : 'Afficher les blocs',
+
+	stylesCombo :
+	{
+		label : 'Style',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formaté',
+		tag_address : 'Adresse',
+		tag_h1 : 'En-tête 1',
+		tag_h2 : 'En-tête 2',
+		tag_h3 : 'En-tête 3',
+		tag_h4 : 'En-tête 4',
+		tag_h5 : 'En-tête 5',
+		tag_h6 : 'En-tête 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Police',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Police',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Taille',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Taille',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Couleur de caractère',
+		bgColorTitle : 'Couleur de fond',
+		auto : 'Automatique',
+		more : 'Plus de couleurs...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/fr.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/fr.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/fr.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * French language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fr'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editeur de Texte Enrichi, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Source',
+	newPage			: 'Nouvelle page',
+	save			: 'Enregistrer',
+	preview			: 'Aperçu',
+	cut				: 'Couper',
+	copy			: 'Copier',
+	paste			: 'Coller',
+	print			: 'Imprimer',
+	underline		: 'Souligné',
+	bold			: 'Gras',
+	italic			: 'Italique',
+	selectAll		: 'Tout sélectionner',
+	removeFormat	: 'Supprimer la mise en forme',
+	strike			: 'Barré',
+	subscript		: 'Indice',
+	superscript		: 'Exposant',
+	horizontalrule	: 'Ligne horizontale',
+	pagebreak		: 'Saut de page',
+	unlink			: 'Supprimer le lien',
+	undo			: 'Annuler',
+	redo			: 'Rétablir',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Explorer le serveur',
+		url				: 'URL',
+		protocol		: 'Protocole',
+		upload			: 'Envoyer',
+		uploadSubmit	: 'Envoyer sur le serveur',
+		image			: 'Image',
+		flash			: 'Flash',
+		form			: 'Formulaire',
+		checkbox		: 'Case à cocher',
+		radio		: 'Bouton Radio',
+		textField		: 'Champ texte',
+		textarea		: 'Zone de texte',
+		hiddenField		: 'Champ caché',
+		button			: 'Bouton',
+		select	: 'Liste déroulante',
+		imageButton		: 'Bouton image',
+		notSet			: '<non défini>',
+		id				: 'Id',
+		name			: 'Nom',
+		langDir			: 'Sens d\'écriture',
+		langDirLtr		: 'Gauche à droite (LTR)',
+		langDirRtl		: 'Droite à gauche (RTL)',
+		langCode		: 'Code de langue',
+		longDescr		: 'URL de description longue (longdesc => malvoyant)',
+		cssClass		: 'Classe CSS',
+		advisoryTitle	: 'Description (title)',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Annuler',
+		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?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, Indisponible</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Insérer un caractère spécial',
+		title		: 'Sélectionnez un caractère'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Lien',
+		menu		: 'Editer le lien',
+		title		: 'Lien',
+		info		: 'Infos sur le lien',
+		target		: 'Cible',
+		upload		: 'Envoyer',
+		advanced	: 'Avancé',
+		type		: 'Type de lien',
+		toAnchor	: 'Transformer le lien en ancre dans le texte',
+		toEmail		: 'E-mail',
+		target		: 'Cible',
+		targetNotSet	: '<non définie>',
+		targetFrame	: '<cadre>',
+		targetPopup	: '<fenêtre popup>',
+		targetNew	: 'Nouvelle fenêtre (_blank)',
+		targetTop	: 'Même fenêtre (_top)',
+		targetSelf	: 'Même Cadre (_self)',
+		targetParent	: 'Fenêtre parente (_parent)',
+		targetFrameName	: 'Nom du Cadre destination',
+		targetPopupName	: 'Nom de la fenêtre popup',
+		popupFeatures	: 'Options de la fenêtre popup',
+		popupResizable	: 'Redimensionnable',
+		popupStatusBar	: 'Barre de status',
+		popupLocationBar	: 'Barre d\'adresse',
+		popupToolbar	: 'Barre d\'outils',
+		popupMenuBar	: 'Barre de menu',
+		popupFullScreen	: 'Plein écran (IE)',
+		popupScrollBars	: 'Barres de défilement',
+		popupDependent	: 'Dépendante (Netscape)',
+		popupWidth		: 'Largeur',
+		popupLeft		: 'Position gauche',
+		popupHeight		: 'Hauteur',
+		popupTop		: 'Position haute',
+		id				: 'Id',
+		langDir			: 'Sens d\'écriture',
+		langDirNotSet	: '<non défini>',
+		langDirLTR		: 'Gauche à droite',
+		langDirRTL		: 'Droite à gauche',
+		acccessKey		: 'Touche d\'accessibilité',
+		name			: 'Nom',
+		langCode		: 'Code de langue',
+		tabIndex		: 'Index de tabulation',
+		advisoryTitle	: 'Description (title)',
+		advisoryContentType	: 'Type de contenu (ex: text/html)',
+		cssClasses		: 'Classe du CSS',
+		charset			: 'Charset de la cible',
+		styles			: 'Style',
+		selectAnchor	: 'Sélectionner l\'ancre',
+		anchorName		: 'Par nom d\'ancre',
+		anchorId		: 'Par ID d\'élément',
+		emailAddress	: 'Adresse E-Mail',
+		emailSubject	: 'Sujet du message',
+		emailBody		: 'Corps du message',
+		noAnchors		: '(Aucune ancre disponible dans ce document)',
+		noUrl			: 'Veuillez entrer l\'adresse du lien',
+		noEmail			: 'Veuillez entrer l\'adresse e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Ancre',
+		menu		: 'Editer l\'ancre',
+		title		: 'Propriétés de l\'ancre',
+		name		: 'Nom de l\'ancre',
+		errorName	: 'Veuillez entrer le nom de l\'ancre'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Trouver et remplacer',
+		find				: 'Trouver',
+		replace				: 'Remplacer',
+		findWhat			: 'Expression à trouver: ',
+		replaceWith			: 'Remplacer par: ',
+		notFoundMsg			: 'Le texte spécifié ne peut être trouvé.',
+		matchCase			: 'Respecter la casse',
+		matchWord			: 'Mot entier uniquement',
+		matchCyclic			: 'Boucler',
+		replaceAll			: 'Remplacer tout',
+		replaceSuccessMsg	: '%1 occurrence(s) replacée(s).'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tableau',
+		title		: 'Propriétés du tableau',
+		menu		: 'Propriétés du tableau',
+		deleteTable	: 'Supprimer le tableau',
+		rows		: 'Lignes',
+		columns		: 'Colonnes',
+		border		: 'Taille de la bordure',
+		align		: 'Alignement du contenu',
+		alignNotSet	: '<non définie>',
+		alignLeft	: 'Gauche',
+		alignCenter	: 'Centré',
+		alignRight	: 'Droite',
+		width		: 'Largeur',
+		widthPx		: 'pixels',
+		widthPc		: '% pourcents',
+		height		: 'Hauteur',
+		cellSpace	: 'Espacement des cellules',
+		cellPad		: 'Marge interne des cellules',
+		caption		: 'Titre du tableau',
+		summary		: 'Résumé (description)',
+		headers		: 'En-Têtes',
+		headersNone		: 'Aucunes',
+		headersColumn	: 'Première colonne',
+		headersRow		: 'Première ligne',
+		headersBoth		: 'Les deux',
+		invalidRows		: 'Le nombre de lignes doit être supérieur à 0.',
+		invalidCols		: 'Le nombre de colonnes doit être supérieur à 0.',
+		invalidBorder	: 'La taille de la bordure doit être un nombre.',
+		invalidWidth	: 'La largeur du tableau doit être un nombre.',
+		invalidHeight	: 'La hauteur du tableau doit être un nombre.',
+		invalidCellSpacing	: 'L\'espacement des cellules doit être un nombre.',
+		invalidCellPadding	: 'La marge intérieure des cellules doit être un nombre.',
+
+		cell :
+		{
+			menu			: 'Cellule',
+			insertBefore	: 'Insérer une cellule avant',
+			insertAfter		: 'Insérer une cellule après',
+			deleteCell		: 'Supprimer les cellules',
+			merge			: 'Fusionner les cellules',
+			mergeRight		: 'Fusionner à droite',
+			mergeDown		: 'Fusionner en bas',
+			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
+			hAlign			: 'Alignement Horizontal',
+			vAlign			: 'Alignement Vertical',
+			alignTop		: 'Haut',
+			alignMiddle		: 'Milieu',
+			alignBottom		: 'Bas',
+			alignBaseline	: 'Bas du texte',
+			bgColor			: 'Couleur d\'arrière-plan',
+			borderColor		: 'Couleur de Bordure',
+			data			: 'Données',
+			header			: 'Entête',
+			yes				: 'Oui',
+			no				: 'Non',
+			invalidWidth	: 'La Largeur de Cellule doit être un nombre.',
+			invalidHeight	: 'La Hauteur de Cellule doit être un nombre.',
+			invalidRowSpan	: 'La fusion de lignes doit être un nombre entier.',
+			invalidColSpan	: 'La fusion de colonnes doit être un nombre entier.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Ligne',
+			insertBefore	: 'Insérer une ligne avant',
+			insertAfter		: 'Insérer une ligne après',
+			deleteRow		: 'Supprimer les lignes'
+		},
+
+		column :
+		{
+			menu			: 'Colonnes',
+			insertBefore	: 'Insérer une colonne avant',
+			insertAfter		: 'Insérer une colonne après',
+			deleteColumn	: 'Supprimer les colonnes'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propriétés du bouton',
+		text		: 'Texte (Value)',
+		type		: 'Type',
+		typeBtn		: 'Bouton',
+		typeSbm		: 'Validation (submit)',
+		typeRst		: 'Remise à zéro'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propriétés de la case à cocher',
+		radioTitle	: 'Propriétés du bouton Radio',
+		value		: 'Valeur',
+		selected	: 'Sélectionné'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propriétés du formulaire',
+		menu		: 'Propriétés du formulaire',
+		action		: 'Action',
+		method		: 'Méthode',
+		encoding	: 'Encodage',
+		target		: 'Cible',
+		targetNotSet	: '<non définie>',
+		targetNew	: 'Nouvelle fenêtre (_blank)',
+		targetTop	: 'Même fenêtre (_top)',
+		targetSelf	: 'Même Cadre (_self)',
+		targetParent	: 'Fenêtre parente (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propriétés du menu déroulant',
+		selectInfo	: 'Informations sur le menu déroulant',
+		opAvail		: 'Options disponibles',
+		value		: 'Valeur',
+		size		: 'Taille',
+		lines		: 'Lignes',
+		chkMulti	: 'Permettre les sélections multiples',
+		opText		: 'Texte',
+		opValue		: 'Valeur',
+		btnAdd		: 'Ajouter',
+		btnModify	: 'Modifier',
+		btnUp		: 'Haut',
+		btnDown		: 'Bas',
+		btnSetValue : 'Définir comme valeur sélectionnée',
+		btnDelete	: 'Supprimer'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propriétés de la zone de texte',
+		cols		: 'Colonnes',
+		rows		: 'Lignes'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propriétés du champ texte',
+		name		: 'Nom',
+		value		: 'Valeur',
+		charWidth	: 'Taille des caractères',
+		maxChars	: 'Nombre maximum de caractères',
+		type		: 'Type',
+		typeText	: 'Texte',
+		typePass	: 'Mot de passe'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propriétés du champ caché',
+		name	: 'Nom',
+		value	: 'Valeur'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propriétés de l\'image',
+		titleButton	: 'Propriétés du bouton image',
+		menu		: 'Propriétés de l\'image',
+		infoTab	: 'Informations sur l\'image',
+		btnUpload	: 'Envoyer sur le serveur',
+		url		: 'URL',
+		upload	: 'Envoyer',
+		alt		: 'Texte de remplacement',
+		width		: 'Largeur',
+		height	: 'Hauteur',
+		lockRatio	: 'Garder les proportions',
+		resetSize	: 'Taille d\'origine',
+		border	: 'Bordure',
+		hSpace	: 'Espacement horizontal',
+		vSpace	: 'Espacement vertical',
+		align		: 'Alignement',
+		alignLeft	: 'Gauche',
+		alignRight	: 'Droite',
+		preview	: 'Aperçu',
+		alertUrl	: 'Veuillez entrer l\'adresse de l\'image',
+		linkTab	: 'Lien',
+		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
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propriétés du Flash',
+		propertiesTab	: 'Propriétés',
+		title		: 'Propriétés du Flash',
+		chkPlay		: 'Jouer automatiquement',
+		chkLoop		: 'Boucle',
+		chkMenu		: 'Activer le menu Flash',
+		chkFull		: 'Permettre le plein écran',
+ 		scale		: 'Echelle',
+		scaleAll		: 'Afficher tout',
+		scaleNoBorder	: 'Pas de bordure',
+		scaleFit		: 'Taille d\'origine',
+		access			: 'Accès aux scripts',
+		accessAlways	: 'Toujours',
+		accessSameDomain	: 'Même domaine',
+		accessNever	: 'Jamais',
+		align		: 'Alignement',
+		alignLeft	: 'Gauche',
+		alignAbsBottom: 'Bas absolu',
+		alignAbsMiddle: 'Milieu absolu',
+		alignBaseline	: 'Bas du texte',
+		alignBottom	: 'Bas',
+		alignMiddle	: 'Milieu',
+		alignRight	: 'Droite',
+		alignTextTop	: 'Haut du texte',
+		alignTop	: 'Haut',
+		quality		: 'Qualité',
+		qualityBest		 : 'Meilleure',
+		qualityHigh		 : 'Haute',
+		qualityAutoHigh	 : 'Haute Auto',
+		qualityMedium	 : 'Moyenne',
+		qualityAutoLow	 : 'Basse Auto',
+		qualityLow		 : 'Basse',
+		windowModeWindow	 : 'Fenêtre',
+		windowModeOpaque	 : 'Opaque',
+		windowModeTransparent	 : 'Transparent',
+		windowMode	: 'Mode fenêtre',
+		flashvars	: 'Variables du Flash',
+		bgcolor	: 'Couleur d\'arrière-plan',
+		width	: 'Largeur',
+		height	: 'Hauteur',
+		hSpace	: 'Espacement horizontal',
+		vSpace	: 'Espacement vertical',
+		validateSrc : 'L\'adresse ne doit pas être vide.',
+		validateWidth : 'La largeur doit être un nombre.',
+		validateHeight : 'La hauteur doit être un nombre.',
+		validateHSpace : 'L\'espacement horizontal doit être un nombre.',
+		validateVSpace : 'L\'espacement vertical doit être un nombre.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Vérifier l\'orthographe',
+		title			: 'Vérifier l\'orthographe',
+		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',
+		changeTo		: 'Modifier pour',
+		btnIgnore		: 'Ignorer',
+		btnIgnoreAll	: 'Ignorer tout',
+		btnReplace		: 'Remplacer',
+		btnReplaceAll	: 'Remplacer tout',
+		btnUndo			: 'Annuler',
+		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',
+		ieSpellDownload	: 'La vérification d\'orthographe n\'est pas installée. Voulez-vous la télécharger maintenant?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticon',
+		title	: 'Insérer un émoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 éléments'
+	},
+
+	numberedlist : 'Insérer/Supprimer la liste numérotée',
+	bulletedlist : 'Insérer/Supprimer la liste à puces',
+	indent : 'Augmenter le retrait (tabulation)',
+	outdent : 'Diminuer le retrait (tabulation)',
+
+	justify :
+	{
+		left : 'Aligner à gauche',
+		center : 'Centrer',
+		right : 'Aligner à droite',
+		block : 'Justifier'
+	},
+
+	blockquote : 'Citation',
+
+	clipboard :
+	{
+		title		: 'Coller',
+		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+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+C).',
+		pasteMsg	: 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl+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.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?',
+		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
+	},
+
+	pasteText :
+	{
+		button : 'Coller comme texte sans mise en forme',
+		title : 'Coller comme texte sans mise en forme'
+	},
+
+	templates :
+	{
+		button : 'Modèles',
+		title : 'Contenu des modèles',
+		insertOption: 'Remplacer le contenu actuel',
+		selectPromptMsg: 'Veuillez sélectionner le modèle pour l\'ouvrir dans l\'éditeur',
+		emptyListMsg : '(Aucun modèle disponible)'
+	},
+
+	showBlocks : 'Afficher les blocs',
+
+	stylesCombo :
+	{
+		label : 'Styles',
+		voiceLabel : 'Styles',
+		panelVoiceLabel : 'Choisissez un style',
+		panelTitle1 : 'Styles de blocs',
+		panelTitle2 : 'Styles en ligne',
+		panelTitle3 : 'Styles d\'objet'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format de paragraphe',
+		panelVoiceLabel : 'Choisissez un format de paragraphe',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formaté',
+		tag_address : 'Adresse',
+		tag_h1 : 'Titre 1',
+		tag_h2 : 'Titre 2',
+		tag_h3 : 'Titre 3',
+		tag_h4 : 'Titre 4',
+		tag_h5 : 'Titre 5',
+		tag_h6 : 'Titre 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Police',
+		voiceLabel : 'Police',
+		panelTitle : 'Style de police',
+		panelVoiceLabel : 'Choisissez une police'
+	},
+
+	fontSize :
+	{
+		label : 'Taille',
+		voiceLabel : 'Taille de police',
+		panelTitle : 'Taille de police',
+		panelVoiceLabel : 'Choisissez une taille de police'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Couleur de texte',
+		bgColorTitle : 'Couleur d\'arrière plan',
+		auto : 'Automatique',
+		more : 'Plus de couleurs...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Vérification d\'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)',
+		enable : 'Activer SCAYT',
+		disable : 'Désactiver SCAYT',
+		about : 'A propos de SCAYT',
+		toggle : 'Activer/Désactiver SCAYT',
+		options : 'Options',
+		langs : 'Langues',
+		moreSuggestions : 'Plus de suggestions',
+		ignore : 'Ignorer',
+		ignoreAll : 'Ignorer Tout',
+		addWord : 'Ajouter le mot',
+		emptyDic : 'Le nom du dictionnaire ne devrait pas être vide.',
+		optionsTab : 'Options',
+		languagesTab : 'Langues',
+		dictionariesTab : 'Dictionnaires',
+		aboutTab : 'A propos de'
+	},
+
+	about :
+	{
+		title : 'A propos de CKEditor',
+		dlgTitle : 'A propos de CKEditor',
+		moreInfo : 'Pour les informations de licence, veuillez visiter notre site web:',
+		copy : 'Copyright &copy; $1. Tous droits réservés.'
+	},
+
+	maximize : 'Agrandir',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Ancre',
+		flash : 'Animation Flash',
+		div : 'Saut de Page',
+		unknown : 'Objet Inconnu'
+	},
+
+	resize : 'Glisser pour modifier la taille',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/gl.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/gl.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/gl.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Galician language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['gl'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Código Fonte',
+	newPage			: 'Nova Páxina',
+	save			: 'Gardar',
+	preview			: 'Vista Previa',
+	cut				: 'Cortar',
+	copy			: 'Copiar',
+	paste			: 'Pegar',
+	print			: 'Imprimir',
+	underline		: 'Sub-raiado',
+	bold			: 'Negrita',
+	italic			: 'Cursiva',
+	selectAll		: 'Seleccionar todo',
+	removeFormat	: 'Eliminar Formato',
+	strike			: 'Tachado',
+	subscript		: 'Subíndice',
+	superscript		: 'Superíndice',
+	horizontalrule	: 'Inserir Liña Horizontal',
+	pagebreak		: 'Inserir Salto de Páxina',
+	unlink			: 'Eliminar Ligazón',
+	undo			: 'Desfacer',
+	redo			: 'Refacer',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Navegar no Servidor',
+		url				: 'URL',
+		protocol		: 'Protocolo',
+		upload			: 'Carregar',
+		uploadSubmit	: 'Enviar ó Servidor',
+		image			: 'Imaxe',
+		flash			: 'Flash',
+		form			: 'Formulario',
+		checkbox		: 'Cadro de Verificación',
+		radio		: 'Botón de Radio',
+		textField		: 'Campo de Texto',
+		textarea		: 'Área de Texto',
+		hiddenField		: 'Campo Oculto',
+		button			: 'Botón',
+		select	: 'Campo de Selección',
+		imageButton		: 'Botón de Imaxe',
+		notSet			: '<non definido>',
+		id				: 'Id',
+		name			: 'Nome',
+		langDir			: 'Orientación do Idioma',
+		langDirLtr		: 'Esquerda a Dereita (LTR)',
+		langDirRtl		: 'Dereita a Esquerda (RTL)',
+		langCode		: 'Código do Idioma',
+		longDescr		: 'Descrición Completa da URL',
+		cssClass		: 'Clases da Folla de Estilos',
+		advisoryTitle	: 'Título',
+		cssStyle		: 'Estilo',
+		ok				: 'OK',
+		cancel			: 'Cancelar',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Advanzado',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Inserir Carácter Especial',
+		title		: 'Seleccione Caracter Especial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Inserir/Editar Ligazón',
+		menu		: 'Editar Ligazón',
+		title		: 'Ligazón',
+		info		: 'Información da Ligazón',
+		target		: 'Destino',
+		upload		: 'Carregar',
+		advanced	: 'Advanzado',
+		type		: 'Tipo de Ligazón',
+		toAnchor	: 'Referencia nesta páxina',
+		toEmail		: 'E-Mail',
+		target		: 'Destino',
+		targetNotSet	: '<non definido>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<Xanela Emerxente>',
+		targetNew	: 'Nova Xanela (_blank)',
+		targetTop	: 'Xanela Primaria (_top)',
+		targetSelf	: 'Mesma Xanela (_self)',
+		targetParent	: 'Xanela Pai (_parent)',
+		targetFrameName	: 'Nome do Marco Destino',
+		targetPopupName	: 'Nome da Xanela Emerxente',
+		popupFeatures	: 'Características da Xanela Emerxente',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Barra de Estado',
+		popupLocationBar	: 'Barra de Localización',
+		popupToolbar	: 'Barra de Ferramentas',
+		popupMenuBar	: 'Barra de Menú',
+		popupFullScreen	: 'A Toda Pantalla (IE)',
+		popupScrollBars	: 'Barras de Desplazamento',
+		popupDependent	: 'Dependente (Netscape)',
+		popupWidth		: 'Largura',
+		popupLeft		: 'Posición Esquerda',
+		popupHeight		: 'Altura',
+		popupTop		: 'Posición dende Arriba',
+		id				: 'Id', // MISSING
+		langDir			: 'Orientación do Idioma',
+		langDirNotSet	: '<non definido>',
+		langDirLTR		: 'Esquerda a Dereita (LTR)',
+		langDirRTL		: 'Dereita a Esquerda (RTL)',
+		acccessKey		: 'Chave de Acceso',
+		name			: 'Nome',
+		langCode		: 'Orientación do Idioma',
+		tabIndex		: 'Índice de Tabulación',
+		advisoryTitle	: 'Título',
+		advisoryContentType	: 'Tipo de Contido',
+		cssClasses		: 'Clases da Folla de Estilos',
+		charset			: 'Fonte de Caracteres Vinculado',
+		styles			: 'Estilo',
+		selectAnchor	: 'Seleccionar unha Referencia',
+		anchorName		: 'Por Nome de Referencia',
+		anchorId		: 'Por Element Id',
+		emailAddress	: 'Enderezo de E-Mail',
+		emailSubject	: 'Asunto do Mensaxe',
+		emailBody		: 'Corpo do Mensaxe',
+		noAnchors		: '(Non hai referencias disponibles no documento)',
+		noUrl			: 'Por favor, escriba a ligazón URL',
+		noEmail			: 'Por favor, escriba o enderezo de e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Inserir/Editar Referencia',
+		menu		: 'Propriedades da Referencia',
+		title		: 'Propriedades da Referencia',
+		name		: 'Nome da Referencia',
+		errorName	: 'Por favor, escriba o nome da referencia'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Procurar',
+		replace				: 'Substituir',
+		findWhat			: 'Texto a procurar:',
+		replaceWith			: 'Substituir con:',
+		notFoundMsg			: 'Non te atopou o texto indicado.',
+		matchCase			: 'Coincidir Mai./min.',
+		matchWord			: 'Coincidir con toda a palabra',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Substitiur Todo',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabla',
+		title		: 'Propiedades da Táboa',
+		menu		: 'Propiedades da Táboa',
+		deleteTable	: 'Borrar Táboa',
+		rows		: 'Filas',
+		columns		: 'Columnas',
+		border		: 'Tamaño do Borde',
+		align		: 'Aliñamento',
+		alignNotSet	: '<Non Definido>',
+		alignLeft	: 'Esquerda',
+		alignCenter	: 'Centro',
+		alignRight	: 'Ereita',
+		width		: 'Largura',
+		widthPx		: 'pixels',
+		widthPc		: 'percent',
+		height		: 'Altura',
+		cellSpace	: 'Marxe entre Celas',
+		cellPad		: 'Marxe interior',
+		caption		: 'Título',
+		summary		: 'Sumario',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cela',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Borrar Cela',
+			merge			: 'Unir Celas',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Fila',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Borrar Filas'
+		},
+
+		column :
+		{
+			menu			: 'Columna',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Borrar Columnas'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propriedades do Botón',
+		text		: 'Texto (Valor)',
+		type		: 'Tipo',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propriedades do Cadro de Verificación',
+		radioTitle	: 'Propriedades do Botón de Radio',
+		value		: 'Valor',
+		selected	: 'Seleccionado'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propriedades do Formulario',
+		menu		: 'Propriedades do Formulario',
+		action		: 'Acción',
+		method		: 'Método',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Destino',
+		targetNotSet	: '<non definido>',
+		targetNew	: 'Nova Xanela (_blank)',
+		targetTop	: 'Xanela Primaria (_top)',
+		targetSelf	: 'Mesma Xanela (_self)',
+		targetParent	: 'Xanela Pai (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propriedades do Campo de Selección',
+		selectInfo	: 'Info',
+		opAvail		: 'Opcións Disponibles',
+		value		: 'Valor',
+		size		: 'Tamaño',
+		lines		: 'liñas',
+		chkMulti	: 'Permitir múltiples seleccións',
+		opText		: 'Texto',
+		opValue		: 'Valor',
+		btnAdd		: 'Engadir',
+		btnModify	: 'Modificar',
+		btnUp		: 'Subir',
+		btnDown		: 'Baixar',
+		btnSetValue : 'Definir como valor por defecto',
+		btnDelete	: 'Borrar'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propriedades da Área de Texto',
+		cols		: 'Columnas',
+		rows		: 'Filas'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propriedades do Campo de Texto',
+		name		: 'Nome',
+		value		: 'Valor',
+		charWidth	: 'Tamaño do Caracter',
+		maxChars	: 'Máximo de Caracteres',
+		type		: 'Tipo',
+		typeText	: 'Texto',
+		typePass	: 'Chave'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propriedades do Campo Oculto',
+		name	: 'Nome',
+		value	: 'Valor'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propriedades da Imaxe',
+		titleButton	: 'Propriedades do Botón de Imaxe',
+		menu		: 'Propriedades da Imaxe',
+		infoTab	: 'Información da Imaxe',
+		btnUpload	: 'Enviar ó Servidor',
+		url		: 'URL',
+		upload	: 'Carregar',
+		alt		: 'Texto Alternativo',
+		width		: 'Largura',
+		height	: 'Altura',
+		lockRatio	: 'Proporcional',
+		resetSize	: 'Tamaño Orixinal',
+		border	: 'Límite',
+		hSpace	: 'Esp. Horiz.',
+		vSpace	: 'Esp. Vert.',
+		align		: 'Aliñamento',
+		alignLeft	: 'Esquerda',
+		alignRight	: 'Dereita',
+		preview	: 'Vista Previa',
+		alertUrl	: 'Por favor, escriba a URL da imaxe',
+		linkTab	: 'Ligazón',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propriedades Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Propriedades Flash',
+		chkPlay		: 'Auto Execución',
+		chkLoop		: 'Bucle',
+		chkMenu		: 'Activar Menú Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Escalar',
+		scaleAll		: 'Amosar Todo',
+		scaleNoBorder	: 'Sen Borde',
+		scaleFit		: 'Encaixar axustando',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Aliñamento',
+		alignLeft	: 'Esquerda',
+		alignAbsBottom: 'Abs Inferior',
+		alignAbsMiddle: 'Abs Centro',
+		alignBaseline	: 'Liña Base',
+		alignBottom	: 'Pé',
+		alignMiddle	: 'Centro',
+		alignRight	: 'Dereita',
+		alignTextTop	: 'Tope do Texto',
+		alignTop	: 'Tope',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Cor do Fondo',
+		width	: 'Largura',
+		height	: 'Altura',
+		hSpace	: 'Esp. Horiz.',
+		vSpace	: 'Esp. Vert.',
+		validateSrc : 'Por favor, escriba a ligazón URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Corrección Ortográfica',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Non está no diccionario',
+		changeTo		: 'Cambiar a',
+		btnIgnore		: 'Ignorar',
+		btnIgnoreAll	: 'Ignorar Todas',
+		btnReplace		: 'Substituir',
+		btnReplaceAll	: 'Substituir Todas',
+		btnUndo			: 'Desfacer',
+		noSuggestions	: '- Sen candidatos -',
+		progress		: 'Corrección ortográfica en progreso...',
+		noMispell		: 'Corrección ortográfica rematada: Non se atoparon erros',
+		noChanges		: 'Corrección ortográfica rematada: Non se substituiu nengunha verba',
+		oneChange		: 'Corrección ortográfica rematada: Unha verba substituida',
+		manyChanges		: 'Corrección ortográfica rematada: %1 verbas substituidas',
+		ieSpellDownload	: 'O corrector ortográfico non está instalado. ¿Quere descargalo agora?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Inserte un Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Lista Numerada',
+	bulletedlist : 'Marcas',
+	indent : 'Aumentar Sangría',
+	outdent : 'Disminuir Sangría',
+
+	justify :
+	{
+		left : 'Aliñar á Esquerda',
+		center : 'Centrado',
+		right : 'Aliñar á Dereita',
+		block : 'Xustificado'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Pegar',
+		cutError	: 'Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de corte. Por favor, use o teclado para iso (Ctrl+X).',
+		copyError	: 'Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de copia. Por favor, use o teclado para iso (Ctrl+C).',
+		pasteMsg	: 'Por favor, pegue dentro do seguinte cadro usando o teclado (<STRONG>Ctrl+V</STRONG>) e pulse <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Pegar dende Word',
+		title : 'Pegar dende Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Pegar como texto plano',
+		title : 'Pegar como texto plano'
+	},
+
+	templates :
+	{
+		button : 'Plantillas',
+		title : 'Plantillas de Contido',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):',
+		emptyListMsg : '(Non hai plantillas definidas)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Estilo',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formato',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formato',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formateado',
+		tag_address : 'Enderezo',
+		tag_h1 : 'Enacabezado 1',
+		tag_h2 : 'Encabezado 2',
+		tag_h3 : 'Encabezado 3',
+		tag_h4 : 'Encabezado 4',
+		tag_h5 : 'Encabezado 5',
+		tag_h6 : 'Encabezado 6',
+		tag_div : 'Paragraph (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Tipo',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Tipo',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Tamaño',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Tamaño',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Cor do Texto',
+		bgColorTitle : 'Cor do Fondo',
+		auto : 'Automático',
+		more : 'Máis Cores...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/gu.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/gu.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/gu.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Gujarati language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['gu'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'મૂળ કે પ્રાથમિક દસ્તાવેજ',
+	newPage			: 'નવુ પાનું',
+	save			: 'સેવ',
+	preview			: 'પૂર્વદર્શન',
+	cut				: 'કાપવું',
+	copy			: 'નકલ',
+	paste			: 'પેસ્ટ',
+	print			: 'પ્રિન્ટ',
+	underline		: 'અન્ડર્લાઇન, નીચે લીટી',
+	bold			: 'બોલ્ડ/સ્પષ્ટ',
+	italic			: 'ઇટેલિક, ત્રાંસા',
+	selectAll		: 'બઘું પસંદ કરવું',
+	removeFormat	: 'ફૉર્મટ કાઢવું',
+	strike			: 'છેકી નાખવું',
+	subscript		: 'એક ચિહ્નની નીચે કરેલું બીજું ચિહ્ન',
+	superscript		: 'એક ચિહ્ન ઉપર કરેલું બીજું ચિહ્ન.',
+	horizontalrule	: 'સમસ્તરીય રેખા ઇન્સર્ટ/દાખલ કરવી',
+	pagebreak		: 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું',
+	unlink			: 'લિંક કાઢવી',
+	undo			: 'રદ કરવું; પહેલાં હતી એવી સ્થિતિ પાછી લાવવી',
+	redo			: 'રિડૂ; પછી હતી એવી સ્થિતિ પાછી લાવવી',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'સર્વર બ્રાઉઝ કરો',
+		url				: 'URL',
+		protocol		: 'પ્રોટોકૉલ',
+		upload			: 'અપલોડ',
+		uploadSubmit	: 'આ સર્વરને મોકલવું',
+		image			: 'ચિત્ર',
+		flash			: 'ફ્લૅશ',
+		form			: 'ફૉર્મ/પત્રક',
+		checkbox		: 'ચેક બોક્સ',
+		radio		: 'રેડિઓ બટન',
+		textField		: 'ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્ર',
+		textarea		: 'ટેક્સ્ટ એરિઆ, શબ્દ વિસ્તાર',
+		hiddenField		: 'ગુપ્ત ક્ષેત્ર',
+		button			: 'બટન',
+		select	: 'પસંદગી ક્ષેત્ર',
+		imageButton		: 'ચિત્ર બટન',
+		notSet			: '<સેટ નથી>',
+		id				: 'Id',
+		name			: 'નામ',
+		langDir			: 'ભાષા લેખવાની પદ્ધતિ',
+		langDirLtr		: 'ડાબે થી જમણે (LTR)',
+		langDirRtl		: 'જમણે થી ડાબે (RTL)',
+		langCode		: 'ભાષા કોડ',
+		longDescr		: 'વધારે માહિતી માટે URL',
+		cssClass		: 'સ્ટાઇલ-શીટ ક્લાસ',
+		advisoryTitle	: 'મુખ્ય મથાળું',
+		cssStyle		: 'સ્ટાઇલ',
+		ok				: 'ઠીક છે',
+		cancel			: 'રદ કરવું',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'અડ્વાન્સડ',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'વિશિષ્ટ અક્ષર ઇન્સર્ટ/દાખલ કરવું',
+		title		: 'સ્પેશિઅલ વિશિષ્ટ અક્ષર પસંદ કરો'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'લિંક ઇન્સર્ટ/દાખલ કરવી',
+		menu		: ' લિંક એડિટ/માં ફેરફાર કરવો',
+		title		: 'લિંક',
+		info		: 'લિંક ઇન્ફૉ ટૅબ',
+		target		: 'ટાર્ગેટ/લક્ષ્ય',
+		upload		: 'અપલોડ',
+		advanced	: 'અડ્વાન્સડ',
+		type		: 'લિંક પ્રકાર',
+		toAnchor	: 'આ પેજનો ઍંકર',
+		toEmail		: 'ઈ-મેલ',
+		target		: 'ટાર્ગેટ/લક્ષ્ય',
+		targetNotSet	: '<સેટ નથી>',
+		targetFrame	: '<ફ્રેમ>',
+		targetPopup	: '<પૉપ-અપ વિન્ડો>',
+		targetNew	: 'નવી  વિન્ડો (_blank)',
+		targetTop	: 'ઉપરની વિન્ડો (_top)',
+		targetSelf	: 'આજ વિન્ડો (_self)',
+		targetParent	: 'મૂળ વિન્ડો (_parent)',
+		targetFrameName	: 'ટાર્ગેટ ફ્રેમ નું નામ',
+		targetPopupName	: 'પૉપ-અપ વિન્ડો નું નામ',
+		popupFeatures	: 'પૉપ-અપ વિન્ડો ફીચરસૅ',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'સ્ટૅટસ બાર',
+		popupLocationBar	: 'લોકેશન બાર',
+		popupToolbar	: 'ટૂલ બાર',
+		popupMenuBar	: 'મેન્યૂ બાર',
+		popupFullScreen	: 'ફુલ સ્ક્રીન (IE)',
+		popupScrollBars	: 'સ્ક્રોલ બાર',
+		popupDependent	: 'ડિપેન્ડન્ટ (Netscape)',
+		popupWidth		: 'પહોળાઈ',
+		popupLeft		: 'ડાબી બાજુ',
+		popupHeight		: 'ઊંચાઈ',
+		popupTop		: 'જમણી બાજુ',
+		id				: 'Id', // MISSING
+		langDir			: 'ભાષા લેખવાની પદ્ધતિ',
+		langDirNotSet	: '<સેટ નથી>',
+		langDirLTR		: 'ડાબે થી જમણે (LTR)',
+		langDirRTL		: 'જમણે થી ડાબે (RTL)',
+		acccessKey		: 'ઍક્સેસ કી',
+		name			: 'નામ',
+		langCode		: 'ભાષા લેખવાની પદ્ધતિ',
+		tabIndex		: 'ટૅબ ઇન્ડેક્સ',
+		advisoryTitle	: 'મુખ્ય મથાળું',
+		advisoryContentType	: 'મુખ્ય કન્ટેન્ટ પ્રકાર',
+		cssClasses		: 'સ્ટાઇલ-શીટ ક્લાસ',
+		charset			: 'લિંક રિસૉર્સ કૅરિક્ટર સેટ',
+		styles			: 'સ્ટાઇલ',
+		selectAnchor	: 'ઍંકર પસંદ કરો',
+		anchorName		: 'ઍંકર નામથી પસંદ કરો',
+		anchorId		: 'ઍંકર એલિમન્ટ Id થી પસંદ કરો',
+		emailAddress	: 'ઈ-મેલ સરનામું',
+		emailSubject	: 'ઈ-મેલ વિષય',
+		emailBody		: 'સંદેશ',
+		noAnchors		: '(ડૉક્યુમન્ટમાં ઍંકરની સંખ્યા)',
+		noUrl			: 'લિંક  URL ટાઇપ કરો',
+		noEmail			: 'ઈ-મેલ સરનામું ટાઇપ કરો'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'ઍંકર ઇન્સર્ટ/દાખલ કરવી',
+		menu		: 'ઍંકરના ગુણ',
+		title		: 'ઍંકરના ગુણ',
+		name		: 'ઍંકરનું નામ',
+		errorName	: 'ઍંકરનું નામ ટાઈપ કરો'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'શોધવું અને બદલવું',
+		find				: 'શોધવું',
+		replace				: 'રિપ્લેસ/બદલવું',
+		findWhat			: 'આ શોધો',
+		replaceWith			: 'આનાથી બદલો',
+		notFoundMsg			: 'તમે શોધેલી ટેક્સ્ટ નથી મળી',
+		matchCase			: 'કેસ સરખા રાખો',
+		matchWord			: 'બઘા શબ્દ સરખા રાખો',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'બઘા બદલી ',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'ટેબલ, કોઠો',
+		title		: 'ટેબલ, કોઠાનું મથાળું',
+		menu		: 'ટેબલ, કોઠાનું મથાળું',
+		deleteTable	: 'કોઠો ડિલીટ/કાઢી નાખવું',
+		rows		: 'પંક્તિના ખાના',
+		columns		: 'કૉલમ/ઊભી કટાર',
+		border		: 'કોઠાની બાજુ(બોર્ડર) સાઇઝ',
+		align		: 'અલાઇનમન્ટ/ગોઠવાયેલું ',
+		alignNotSet	: '<સેટ નથી>',
+		alignLeft	: 'ડાબી બાજુ',
+		alignCenter	: 'મધ્ય સેન્ટર',
+		alignRight	: 'જમણી બાજુ',
+		width		: 'પહોળાઈ',
+		widthPx		: 'પિકસલ',
+		widthPc		: 'પ્રતિશત',
+		height		: 'ઊંચાઈ',
+		cellSpace	: 'સેલ અંતર',
+		cellPad		: 'સેલ પૅડિંગ',
+		caption		: 'મથાળું/કૅપ્શન ',
+		summary		: 'ટૂંકો એહેવાલ',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'કોષના ખાના',
+			insertBefore	: 'પહેલાં કોષ ઉમેરવો',
+			insertAfter		: 'પછી કોષ ઉમેરવો',
+			deleteCell		: 'કોષ ડિલીટ/કાઢી નાખવો',
+			merge			: 'કોષ ભેગા કરવા',
+			mergeRight		: 'જમણી બાજુ ભેગા કરવા',
+			mergeDown		: 'નીચે ભેગા કરવા',
+			splitHorizontal	: 'કોષને સમસ્તરીય વિભાજન કરવું',
+			splitVertical	: 'કોષને સીધું ને ઊભું વિભાજન કરવું',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'પંક્તિના ખાના',
+			insertBefore	: 'પહેલાં પંક્તિ ઉમેરવી',
+			insertAfter		: 'પછી પંક્તિ ઉમેરવી',
+			deleteRow		: 'પંક્તિઓ ડિલીટ/કાઢી નાખવી'
+		},
+
+		column :
+		{
+			menu			: 'કૉલમ/ઊભી કટાર',
+			insertBefore	: 'પહેલાં કૉલમ/ઊભી કટાર ઉમેરવી',
+			insertAfter		: 'પછી કૉલમ/ઊભી કટાર ઉમેરવી',
+			deleteColumn	: 'કૉલમ/ઊભી કટાર ડિલીટ/કાઢી નાખવી'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'બટનના ગુણ',
+		text		: 'ટેક્સ્ટ (વૅલ્યૂ)',
+		type		: 'પ્રકાર',
+		typeBtn		: 'બટન',
+		typeSbm		: 'સબ્મિટ',
+		typeRst		: 'રિસેટ'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'ચેક બોક્સ ગુણ',
+		radioTitle	: 'રેડિઓ બટનના ગુણ',
+		value		: 'વૅલ્યૂ',
+		selected	: 'સિલેક્ટેડ'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'ફૉર્મ/પત્રકના ગુણ',
+		menu		: 'ફૉર્મ/પત્રકના ગુણ',
+		action		: 'ક્રિયા',
+		method		: 'પદ્ધતિ',
+		encoding	: 'Encoding', // MISSING
+		target		: 'ટાર્ગેટ/લક્ષ્ય',
+		targetNotSet	: '<સેટ નથી>',
+		targetNew	: 'નવી  વિન્ડો (_blank)',
+		targetTop	: 'ઉપરની વિન્ડો (_top)',
+		targetSelf	: 'આજ વિન્ડો (_self)',
+		targetParent	: 'મૂળ વિન્ડો (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'પસંદગી ક્ષેત્રના ગુણ',
+		selectInfo	: 'સૂચના',
+		opAvail		: 'ઉપલબ્ધ વિકલ્પ',
+		value		: 'વૅલ્યૂ',
+		size		: 'સાઇઝ',
+		lines		: 'લીટીઓ',
+		chkMulti	: 'એકથી વધારે પસંદ કરી શકો',
+		opText		: 'ટેક્સ્ટ',
+		opValue		: 'વૅલ્યૂ',
+		btnAdd		: 'ઉમેરવું',
+		btnModify	: 'બદલવું',
+		btnUp		: 'ઉપર',
+		btnDown		: 'નીચે',
+		btnSetValue : 'પસંદ કરલી વૅલ્યૂ સેટ કરો',
+		btnDelete	: 'રદ કરવું'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'ટેક્સ્ટ એઅરિઆ, શબ્દ વિસ્તારના ગુણ',
+		cols		: 'કૉલમ/ઊભી કટાર',
+		rows		: 'પંક્તિઓ'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્રના ગુણ',
+		name		: 'નામ',
+		value		: 'વૅલ્યૂ',
+		charWidth	: 'કેરેક્ટરની પહોળાઈ',
+		maxChars	: 'અધિકતમ કેરેક્ટર',
+		type		: 'ટાઇપ',
+		typeText	: 'ટેક્સ્ટ',
+		typePass	: 'પાસવર્ડ'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'ગુપ્ત ક્ષેત્રના ગુણ',
+		name	: 'નામ',
+		value	: 'વૅલ્યૂ'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'ચિત્રના ગુણ',
+		titleButton	: 'ચિત્ર બટનના ગુણ',
+		menu		: 'ચિત્રના ગુણ',
+		infoTab	: 'ચિત્ર ની જાણકારી',
+		btnUpload	: 'આ સર્વરને મોકલવું',
+		url		: 'URL',
+		upload	: 'અપલોડ',
+		alt		: 'ઑલ્ટર્નટ ટેક્સ્ટ',
+		width		: 'પહોળાઈ',
+		height	: 'ઊંચાઈ',
+		lockRatio	: 'લૉક ગુણોત્તર',
+		resetSize	: 'રીસેટ સાઇઝ',
+		border	: 'બોર્ડર',
+		hSpace	: 'સમસ્તરીય જગ્યા',
+		vSpace	: 'લંબરૂપ જગ્યા',
+		align		: 'લાઇનદોરીમાં ગોઠવવું',
+		alignLeft	: 'ડાબી બાજુ ગોઠવવું',
+		alignRight	: 'જમણી',
+		preview	: 'પૂર્વદર્શન',
+		alertUrl	: 'ચિત્રની URL ટાઇપ કરો',
+		linkTab	: 'લિંક',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'ફ્લૅશના ગુણ',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'ફ્લૅશ ગુણ',
+		chkPlay		: 'ઑટો/સ્વયં પ્લે',
+		chkLoop		: 'લૂપ',
+		chkMenu		: 'ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'સ્કેલ',
+		scaleAll		: 'સ્કેલ ઓલ/બધુ બતાવો',
+		scaleNoBorder	: 'સ્કેલ બોર્ડર વગર',
+		scaleFit		: 'સ્કેલ એકદમ ફીટ',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'લાઇનદોરીમાં ગોઠવવું',
+		alignLeft	: 'ડાબી બાજુ ગોઠવવું',
+		alignAbsBottom: 'Abs નીચે',
+		alignAbsMiddle: 'Abs ઉપર',
+		alignBaseline	: 'આધાર લીટી',
+		alignBottom	: 'નીચે',
+		alignMiddle	: 'વચ્ચે',
+		alignRight	: 'જમણી',
+		alignTextTop	: 'ટેક્સ્ટ ઉપર',
+		alignTop	: 'ઉપર',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'બૅકગ્રાઉન્ડ રંગ,',
+		width	: 'પહોળાઈ',
+		height	: 'ઊંચાઈ',
+		hSpace	: 'સમસ્તરીય જગ્યા',
+		vSpace	: 'લંબરૂપ જગ્યા',
+		validateSrc : 'લિંક  URL ટાઇપ કરો',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'જોડણી (સ્પેલિંગ) તપાસવી',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'શબ્દકોશમાં નથી',
+		changeTo		: 'આનાથી બદલવું',
+		btnIgnore		: 'ઇગ્નોર/અવગણના કરવી',
+		btnIgnoreAll	: 'બધાની ઇગ્નોર/અવગણના કરવી',
+		btnReplace		: 'બદલવું',
+		btnReplaceAll	: 'બધા બદલી કરો',
+		btnUndo			: 'અન્ડૂ',
+		noSuggestions	: '- કઇ સજેશન નથી -',
+		progress		: 'શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...',
+		noMispell		: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી',
+		noChanges		: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી',
+		oneChange		: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે',
+		manyChanges		: 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે',
+		ieSpellDownload	: 'સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'સ્માઇલી',
+		title	: 'સ્માઇલી  પસંદ કરો'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'સંખ્યાંકન સૂચિ',
+	bulletedlist : 'બુલેટ સૂચિ',
+	indent : 'ઇન્ડેન્ટ, લીટીના આરંભમાં જગ્યા વધારવી',
+	outdent : 'ઇન્ડેન્ટ લીટીના આરંભમાં જગ્યા ઘટાડવી',
+
+	justify :
+	{
+		left : 'ડાબી બાજુએ/બાજુ તરફ',
+		center : 'સંકેંદ્રણ/સેંટરિંગ',
+		right : 'જમણી બાજુએ/બાજુ તરફ',
+		block : 'બ્લૉક, અંતરાય જસ્ટિફાઇ'
+	},
+
+	blockquote : 'બ્લૉક-કોટ, અવતરણચિહ્નો',
+
+	clipboard :
+	{
+		title		: 'પેસ્ટ',
+		cutError	: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl+X) નો ઉપયોગ કરો.',
+		copyError	: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી.  (Ctrl+C) का प्रयोग करें।',
+		pasteMsg	: 'Ctrl+V નો પ્રયોગ કરી પેસ્ટ કરો',
+		securityMsg	: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'પેસ્ટ (વડૅ ટેક્સ્ટ)',
+		title : 'પેસ્ટ (વડૅ ટેક્સ્ટ)',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'પેસ્ટ (ટેક્સ્ટ)',
+		title : 'પેસ્ટ (ટેક્સ્ટ)'
+	},
+
+	templates :
+	{
+		button : 'ટેમ્પ્લેટ',
+		title : 'કન્ટેન્ટ ટેમ્પ્લેટ',
+		insertOption: 'મૂળ શબ્દને બદલો',
+		selectPromptMsg: 'એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):',
+		emptyListMsg : '(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)'
+	},
+
+	showBlocks : 'બ્લૉક બતાવવું',
+
+	stylesCombo :
+	{
+		label : 'શૈલી/રીત',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'ફૉન્ટ ફૉર્મટ, રચનાની શૈલી',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'ફૉન્ટ ફૉર્મટ, રચનાની શૈલી',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'સામાન્ય',
+		tag_pre : 'ફૉર્મટેડ',
+		tag_address : 'સરનામું',
+		tag_h1 : 'શીર્ષક 1',
+		tag_h2 : 'શીર્ષક 2',
+		tag_h3 : 'શીર્ષક 3',
+		tag_h4 : 'શીર્ષક 4',
+		tag_h5 : 'શીર્ષક 5',
+		tag_h6 : 'શીર્ષક 6',
+		tag_div : 'શીર્ષક (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'ફૉન્ટ',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'ફૉન્ટ',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'ફૉન્ટ સાઇઝ/કદ',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'ફૉન્ટ સાઇઝ/કદ',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'શબ્દનો રંગ',
+		bgColorTitle : 'બૅકગ્રાઉન્ડ રંગ,',
+		auto : 'સ્વચાલિત',
+		more : 'ઔર રંગ...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/he.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/he.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/he.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hebrew language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['he'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'rtl',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'עורך טקסט עשיר, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'מקור',
+	newPage			: 'דף חדש',
+	save			: 'שמירה',
+	preview			: 'תצוגה מקדימה',
+	cut				: 'גזירה',
+	copy			: 'העתקה',
+	paste			: 'הדבקה',
+	print			: 'הדפסה',
+	underline		: 'קו תחתון',
+	bold			: 'מודגש',
+	italic			: 'נטוי',
+	selectAll		: 'בחירת הכל',
+	removeFormat	: 'הסרת העיצוב',
+	strike			: 'כתיב מחוק',
+	subscript		: 'כתיב תחתון',
+	superscript		: 'כתיב עליון',
+	horizontalrule	: 'הוספת קו אופקי',
+	pagebreak		: 'הוספת שבירת דף',
+	unlink			: 'הסרת הקישור',
+	undo			: 'ביטול צעד אחרון',
+	redo			: 'חזרה על צעד אחרון',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'סייר השרת',
+		url				: 'כתובת (URL)',
+		protocol		: 'פרוטוקול',
+		upload			: 'העלאה',
+		uploadSubmit	: 'שליחה לשרת',
+		image			: 'תמונה',
+		flash			: 'פלאש',
+		form			: 'טופס',
+		checkbox		: 'תיבת סימון',
+		radio		: 'לחצן אפשרויות',
+		textField		: 'שדה טקסט',
+		textarea		: 'איזור טקסט',
+		hiddenField		: 'שדה חבוי',
+		button			: 'כפתור',
+		select	: 'שדה בחירה',
+		imageButton		: 'כפתור תמונה',
+		notSet			: '<לא נקבע>',
+		id				: 'זיהוי (Id)',
+		name			: 'שם',
+		langDir			: 'כיוון שפה',
+		langDirLtr		: 'שמאל לימין (LTR)',
+		langDirRtl		: 'ימין לשמאל (RTL)',
+		langCode		: 'קוד שפה',
+		longDescr		: 'קישור לתיאור מפורט',
+		cssClass		: 'מחלקת עיצוב (CSS Class)',
+		advisoryTitle	: 'כותרת מוצעת',
+		cssStyle		: 'סגנון',
+		ok				: 'אישור',
+		cancel			: 'ביטול',
+		generalTab		: 'כללי',
+		advancedTab		: 'אפשרויות מתקדמות',
+		validateNumberFailed	: 'הערך חייב להיות מספרי.',
+		confirmNewPage	: 'כל השינויים שלא נשמרו יאבדו. האם להעלות דף חדש?',
+		confirmCancel	: 'חלק מהאפשרויות שונו, האם לסגור את הדיאלוג?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, לא זמין</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'הוספת תו מיוחד',
+		title		: 'בחירת תו מיוחד'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'הוספת/עריכת קישור',
+		menu		: 'מאפייני קישור',
+		title		: 'קישור',
+		info		: 'מידע על הקישור',
+		target		: 'מטרה',
+		upload		: 'העלאה',
+		advanced	: 'אפשרויות מתקדמות',
+		type		: 'סוג קישור',
+		toAnchor	: 'עוגן בעמוד זה',
+		toEmail		: 'דוא\'\'ל',
+		target		: 'מטרה',
+		targetNotSet	: '<לא נקבע>',
+		targetFrame	: '<מסגרת>',
+		targetPopup	: '<חלון קופץ>',
+		targetNew	: 'חלון חדש (_blank)',
+		targetTop	: 'חלון ראשי (_top)',
+		targetSelf	: 'באותו החלון (_self)',
+		targetParent	: 'חלון האב (_parent)',
+		targetFrameName	: 'שם מסגרת היעד',
+		targetPopupName	: 'שם החלון הקופץ',
+		popupFeatures	: 'תכונות החלון הקופץ',
+		popupResizable	: 'שינוי גודל',
+		popupStatusBar	: 'סרגל חיווי',
+		popupLocationBar	: 'סרגל כתובת',
+		popupToolbar	: 'סרגל הכלים',
+		popupMenuBar	: 'סרגל תפריט',
+		popupFullScreen	: 'מסך מלא (IE)',
+		popupScrollBars	: 'ניתן לגלילה',
+		popupDependent	: 'תלוי (Netscape)',
+		popupWidth		: 'רוחב',
+		popupLeft		: 'מיקום צד שמאל',
+		popupHeight		: 'גובה',
+		popupTop		: 'מיקום צד עליון',
+		id				: 'זיהוי (Id)',
+		langDir			: 'כיוון שפה',
+		langDirNotSet	: '<לא נקבע>',
+		langDirLTR		: 'שמאל לימין (LTR)',
+		langDirRTL		: 'ימין לשמאל (RTL)',
+		acccessKey		: 'מקש גישה',
+		name			: 'שם',
+		langCode		: 'קוד שפה',
+		tabIndex		: 'מספר טאב',
+		advisoryTitle	: 'כותרת מוצעת',
+		advisoryContentType	: 'Content Type מוצע',
+		cssClasses		: 'גיליונות עיצוב קבוצות',
+		charset			: 'קידוד המשאב המקושר',
+		styles			: 'סגנון',
+		selectAnchor	: 'בחירת עוגן',
+		anchorName		: 'עפ\'\'י שם העוגן',
+		anchorId		: 'עפ\'\'י זיהוי (Id) הרכיב',
+		emailAddress	: 'כתובת הדוא\'\'ל',
+		emailSubject	: 'נושא ההודעה',
+		emailBody		: 'גוף ההודעה',
+		noAnchors		: '(אין עוגנים זמינים בדף)',
+		noUrl			: 'יש להקליד את כתובת הקישור (URL)',
+		noEmail			: 'יש להקליד את כתובת הדוא\'\'ל'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'הוספת/עריכת נקודת עיגון',
+		menu		: 'מאפייני נקודת עיגון',
+		title		: 'מאפייני נקודת עיגון',
+		name		: 'שם לנקודת עיגון',
+		errorName	: 'יש להזין שם לנקודת עיגון'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'חיפוש והחלפה',
+		find				: 'חיפוש',
+		replace				: 'החלפה',
+		findWhat			: 'חיפוש מחרוזת:',
+		replaceWith			: 'החלפה במחרוזת:',
+		notFoundMsg			: 'הטקסט המבוקש לא נמצא.',
+		matchCase			: 'הבחנה בין אותיות רשיות לקטנות (Case)',
+		matchWord			: 'התאמה למילה המלאה',
+		matchCyclic			: 'התאמה מחזורית',
+		replaceAll			: 'החלפה בכל העמוד',
+		replaceSuccessMsg	: '%1 טקסטים הוחלפו.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'טבלה',
+		title		: 'מאפייני טבלה',
+		menu		: 'מאפייני טבלה',
+		deleteTable	: 'מחק טבלה',
+		rows		: 'שורות',
+		columns		: 'עמודות',
+		border		: 'גודל מסגרת',
+		align		: 'יישור',
+		alignNotSet	: '<לא נקבע>',
+		alignLeft	: 'שמאל',
+		alignCenter	: 'מרכז',
+		alignRight	: 'ימין',
+		width		: 'רוחב',
+		widthPx		: 'פיקסלים',
+		widthPc		: 'אחוז',
+		height		: 'גובה',
+		cellSpace	: 'מרווח תא',
+		cellPad		: 'ריפוד תא',
+		caption		: 'כיתוב',
+		summary		: 'סיכום',
+		headers		: 'כותרות',
+		headersNone		: 'אין',
+		headersColumn	: 'עמודה ראשונה',
+		headersRow		: 'שורה ראשונה',
+		headersBoth		: 'שניהם',
+		invalidRows		: 'שדה מספר השורות חייב להיות מספר גדול מ 0.',
+		invalidCols		: 'שדה מספר העמודות חייב להיות מספר גדול מ 0.',
+		invalidBorder	: 'שדה גודל המסגרת חייב להיות מספר.',
+		invalidWidth	: 'שדה רוחב הטבלה חייב להיות רוחב.',
+		invalidHeight	: 'שדה גובה הטבלה חייב להיות מספר.',
+		invalidCellSpacing	: 'שדה ריווח התאים חייב להיות מספר.',
+		invalidCellPadding	: 'שדה ריפוד התאים חייב להיות מספר.',
+
+		cell :
+		{
+			menu			: 'מאפייני תא',
+			insertBefore	: 'הוספת תא לפני',
+			insertAfter		: 'הוספת תא אחרי',
+			deleteCell		: 'מחיקת תאים',
+			merge			: 'מיזוג תאים',
+			mergeRight		: 'מזג ימינה',
+			mergeDown		: 'מזג למטה',
+			splitHorizontal	: 'פיצלו תא אופקית',
+			splitVertical	: 'פיצול תא אנכית',
+			title			: 'תכונות התא',
+			cellType		: 'סוג התא',
+			rowSpan			: 'מתיחת השורות',
+			colSpan			: 'מתיחת התאים',
+			wordWrap		: 'מניעת גלישת שורות',
+			hAlign			: 'יישור אופקי',
+			vAlign			: 'יישור אנכי',
+			alignTop		: 'למעלה',
+			alignMiddle		: 'מרכז',
+			alignBottom		: 'למטה',
+			alignBaseline	: 'שורת בסיס',
+			bgColor			: 'צבע רקע',
+			borderColor		: 'צבע מסגרת',
+			data			: 'מידע',
+			header			: 'כותרת',
+			yes				: 'כן',
+			no				: 'לא',
+			invalidWidth	: 'שדה רוחב התא חייב להיות מספר.',
+			invalidHeight	: 'שדה גובה התא חייב להיות מספר.',
+			invalidRowSpan	: 'שדה מתיחת השורות חייב להיות מספר שלם.',
+			invalidColSpan	: 'שדה מתיחת העמודות חייב להיות מספר שלם.',
+			chooseColor : 'בחר'
+		},
+
+		row :
+		{
+			menu			: 'שורה',
+			insertBefore	: 'הוספת שורה לפני',
+			insertAfter		: 'הוספת שורה אחרי',
+			deleteRow		: 'מחיקת שורות'
+		},
+
+		column :
+		{
+			menu			: 'עמודה',
+			insertBefore	: 'הוספת עמודה לפני',
+			insertAfter		: 'הוספת עמודה אחרי',
+			deleteColumn	: 'מחיקת עמודות'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'מאפייני כפתור',
+		text		: 'טקסט (ערך)',
+		type		: 'סוג',
+		typeBtn		: 'כפתור',
+		typeSbm		: 'שליחה',
+		typeRst		: 'איפוס'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'מאפייני תיבת סימון',
+		radioTitle	: 'מאפייני לחצן אפשרויות',
+		value		: 'ערך',
+		selected	: 'מסומן'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'מאפיני טופס',
+		menu		: 'מאפיני טופס',
+		action		: 'שלח אל',
+		method		: 'סוג שליחה',
+		encoding	: 'קידוד',
+		target		: 'מטרה',
+		targetNotSet	: '<לא נקבע>',
+		targetNew	: 'חלון חדש (_blank)',
+		targetTop	: 'חלון ראשי (_top)',
+		targetSelf	: 'באותו החלון (_self)',
+		targetParent	: 'חלון האב (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'מאפייני שדה בחירה',
+		selectInfo	: 'מידע',
+		opAvail		: 'אפשרויות זמינות',
+		value		: 'ערך',
+		size		: 'גודל',
+		lines		: 'שורות',
+		chkMulti	: 'איפשור בחירות מרובות',
+		opText		: 'טקסט',
+		opValue		: 'ערך',
+		btnAdd		: 'הוספה',
+		btnModify	: 'שינוי',
+		btnUp		: 'למעלה',
+		btnDown		: 'למטה',
+		btnSetValue : 'קביעה כברירת מחדל',
+		btnDelete	: 'מחיקה'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'מאפייני איזור טקסט',
+		cols		: 'עמודות',
+		rows		: 'שורות'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'מאפייני שדה טקסט',
+		name		: 'שם',
+		value		: 'ערך',
+		charWidth	: 'רוחב באותיות',
+		maxChars	: 'מקסימות אותיות',
+		type		: 'סוג',
+		typeText	: 'טקסט',
+		typePass	: 'סיסמה'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'מאפיני שדה חבוי',
+		name	: 'שם',
+		value	: 'ערך'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'מאפייני התמונה',
+		titleButton	: 'מאפיני כפתור תמונה',
+		menu		: 'תכונות התמונה',
+		infoTab	: 'מידע על התמונה',
+		btnUpload	: 'שליחה לשרת',
+		url		: 'כתובת (URL)',
+		upload	: 'העלאה',
+		alt		: 'טקסט חלופי',
+		width		: 'רוחב',
+		height	: 'גובה',
+		lockRatio	: 'נעילת היחס',
+		resetSize	: 'איפוס הגודל',
+		border	: 'מסגרת',
+		hSpace	: 'מרווח אופקי',
+		vSpace	: 'מרווח אנכי',
+		align		: 'יישור',
+		alignLeft	: 'לשמאל',
+		alignRight	: 'לימין',
+		preview	: 'תצוגה מקדימה',
+		alertUrl	: 'יש להקליד את כתובת התמונה',
+		linkTab	: 'קישור',
+		button2Img	: 'האם להפוך את תמונת הכפתור לתמונה פשוטה?',
+		img2Button	: 'האם להפוך את התמונה לכפתור תמונה?',
+		urlMissing : 'כתובת התמונה חסרה.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'מאפייני פלאש',
+		propertiesTab	: 'מאפיינים',
+		title		: 'מאפיני פלאש',
+		chkPlay		: 'ניגון אוטומטי',
+		chkLoop		: 'לולאה',
+		chkMenu		: 'אפשר תפריט פלאש',
+		chkFull		: 'אפשר חלון מלא',
+ 		scale		: 'גודל',
+		scaleAll		: 'הצג הכל',
+		scaleNoBorder	: 'ללא גבולות',
+		scaleFit		: 'התאמה מושלמת',
+		access			: 'גישת סקריפט',
+		accessAlways	: 'תמיד',
+		accessSameDomain	: 'דומיין זהה',
+		accessNever	: 'אף פעם',
+		align		: 'יישור',
+		alignLeft	: 'לשמאל',
+		alignAbsBottom: 'לתחתית האבסולוטית',
+		alignAbsMiddle: 'מרכוז אבסולוטי',
+		alignBaseline	: 'לקו התחתית',
+		alignBottom	: 'לתחתית',
+		alignMiddle	: 'לאמצע',
+		alignRight	: 'לימין',
+		alignTextTop	: 'לראש הטקסט',
+		alignTop	: 'למעלה',
+		quality		: 'איכות',
+		qualityBest		 : 'מעולה',
+		qualityHigh		 : 'גבוהה',
+		qualityAutoHigh	 : 'גבוהה אוטומטית',
+		qualityMedium	 : 'ממוצעת',
+		qualityAutoLow	 : 'נמוכה אוטומטית',
+		qualityLow		 : 'נמוכה',
+		windowModeWindow	 : 'חלון',
+		windowModeOpaque	 : 'אטום',
+		windowModeTransparent	 : 'שקוף',
+		windowMode	: 'מצב חלון',
+		flashvars	: 'משתנים לפלאש',
+		bgcolor	: 'צבע רקע',
+		width	: 'רוחב',
+		height	: 'גובה',
+		hSpace	: 'מרווח אופקי',
+		vSpace	: 'מרווח אנכי',
+		validateSrc : 'יש להקליד את כתובת סרטון הפלאש (URL)',
+		validateWidth : 'הרוחב חייב להיות מספר.',
+		validateHeight : 'הגובה חייב להיות מספר.',
+		validateHSpace : 'המרווח האופקי חייב להיות מספר.',
+		validateVSpace : 'המרווח האנכי חייב להיות מספר.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'בדיקת איות',
+		title			: 'בדיקת איות',
+		notAvailable	: 'לא נמצא שירות זמין.',
+		errorLoading	: 'שגיאה בהעלאת השירות: %s.',
+		notInDic		: 'לא נמצא במילון',
+		changeTo		: 'שינוי ל',
+		btnIgnore		: 'התעלמות',
+		btnIgnoreAll	: 'התעלמות מהכל',
+		btnReplace		: 'החלפה',
+		btnReplaceAll	: 'החלפת הכל',
+		btnUndo			: 'החזרה',
+		noSuggestions	: '- אין הצעות -',
+		progress		: 'בודק האיות בתהליך בדיקה....',
+		noMispell		: 'בדיקות איות הסתיימה: לא נמצאו שגיאות כתיב',
+		noChanges		: 'בדיקות איות הסתיימה: לא שונתה אף מילה',
+		oneChange		: 'בדיקות איות הסתיימה: שונתה מילה אחת',
+		manyChanges		: 'בדיקות איות הסתיימה: %1 מילים שונו',
+		ieSpellDownload	: 'בודק האיות לא מותקן, האם להורידו?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'סמיילי',
+		title	: 'הוספת סמיילי'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 אלמנט'
+	},
+
+	numberedlist : 'רשימה ממוספרת',
+	bulletedlist : 'רשימת נקודות',
+	indent : 'הגדלת הזחה',
+	outdent : 'הקטנת הזחה',
+
+	justify :
+	{
+		left : 'יישור לשמאל',
+		center : 'מרכוז',
+		right : 'יישור לימין',
+		block : 'יישור לשוליים'
+	},
+
+	blockquote : 'בלוק ציטוט',
+
+	clipboard :
+	{
+		title		: 'הדבקה',
+		cutError	: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+X).',
+		copyError	: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).',
+		pasteMsg	: 'נא להדביק בתוך הקופסה באמצעות (<STRONG>Ctrl+V</STRONG>) וללחוץ על <STRONG>אישור</STRONG>.',
+		securityMsg	: 'עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (Clipboard) בצורה ישירה. נא להדביק שוב בחלון זה.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?',
+		toolbar : 'הדבקה מ-Word',
+		title : 'הדבקה מ-Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'הדבקה כטקסט פשוט',
+		title : 'הדבקה כטקסט פשוט'
+	},
+
+	templates :
+	{
+		button : 'תבניות',
+		title : 'תביות תוכן',
+		insertOption: 'החלפת תוכן ממשי',
+		selectPromptMsg: 'יש לבחור תבנית לפתיחה בעורך.<br />התוכן המקורי ימחק:',
+		emptyListMsg : '(לא הוגדרו תבניות)'
+	},
+
+	showBlocks : 'הצגת בלוקים',
+
+	stylesCombo :
+	{
+		label : 'סגנון',
+		voiceLabel : 'סגנונות',
+		panelVoiceLabel : 'בחירת סגנון',
+		panelTitle1 : 'סגנונות בלוק',
+		panelTitle2 : 'סגנונות רצף',
+		panelTitle3 : 'סגנונות אובייקט'
+	},
+
+	format :
+	{
+		label : 'עיצוב',
+		voiceLabel : 'עיצוב',
+		panelTitle : 'עיצוב',
+		panelVoiceLabel : 'בחירת עיצוב פסקה',
+
+		tag_p : 'נורמלי',
+		tag_pre : 'קוד',
+		tag_address : 'כתובת',
+		tag_h1 : 'כותרת',
+		tag_h2 : 'כותרת 2',
+		tag_h3 : 'כותרת 3',
+		tag_h4 : 'כותרת 4',
+		tag_h5 : 'כותרת 5',
+		tag_h6 : 'כותרת 6',
+		tag_div : 'נורמלי (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'גופן',
+		voiceLabel : 'גופן',
+		panelTitle : 'גופן',
+		panelVoiceLabel : 'בחירת גופן'
+	},
+
+	fontSize :
+	{
+		label : 'גודל',
+		voiceLabel : 'גודל',
+		panelTitle : 'גודל',
+		panelVoiceLabel : 'בחירת גודל גופן'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'צבע טקסט',
+		bgColorTitle : 'צבע רקע',
+		auto : 'אוטומטי',
+		more : 'צבעים נוספים...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'בדיקת איות בזמן כתיבה (SCAYT)',
+		enable : 'אפשר SCAYT',
+		disable : 'בטל SCAYT',
+		about : 'אודות SCAYT',
+		toggle : 'שינוי SCAYT',
+		options : 'אפשרויות',
+		langs : 'שפות',
+		moreSuggestions : 'הצעות נוספות',
+		ignore : 'התעלמות',
+		ignoreAll : 'התעלמות מהכל',
+		addWord : 'הוספת מילה',
+		emptyDic : 'יש לבחור מילון.',
+		optionsTab : 'אפשרויות',
+		languagesTab : 'שפות',
+		dictionariesTab : 'מילון',
+		aboutTab : 'אודות'
+	},
+
+	about :
+	{
+		title : 'אודות CKEditor',
+		dlgTitle : 'אודות CKEditor',
+		moreInfo : 'למידע נוסף בקרו באתרנו:',
+		copy : 'Copyright &copy; $1. כל הזכויות שמורות.'
+	},
+
+	maximize : 'הגדל למקסימום',
+	minimize : 'הקטן למינימום',
+
+	fakeobjects :
+	{
+		anchor : 'עוגן',
+		flash : 'סרטון פלאש',
+		div : 'שבירת דף',
+		unknown : 'אובייקט לא ידוע'
+	},
+
+	resize : 'יש לגרור בכדי לשנות את הגודל',
+
+	colordialog :
+	{
+		title : 'בחירת צבע',
+		highlight : 'סימון',
+		selected : 'בחירה',
+		clear : 'ניקוי'
+	},
+
+	toolbarCollapse : 'מזעור סרגל כלים',
+	toolbarExpand : 'הרחבת סרגל כלים'
+};
Index: CKEditor/branches/features/aria/_source/lang/hi.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/hi.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/hi.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hindi language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hi'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'सोर्स',
+	newPage			: 'नया पेज',
+	save			: 'सेव',
+	preview			: 'प्रीव्यू',
+	cut				: 'कट',
+	copy			: 'कॉपी',
+	paste			: 'पेस्ट',
+	print			: 'प्रिन्ट',
+	underline		: 'रेखांकण',
+	bold			: 'बोल्ड',
+	italic			: 'इटैलिक',
+	selectAll		: 'सब सॅलॅक्ट करें',
+	removeFormat	: 'फ़ॉर्मैट हटायें',
+	strike			: 'स्ट्राइक थ्रू',
+	subscript		: 'अधोलेख',
+	superscript		: 'अभिलेख',
+	horizontalrule	: 'हॉरिज़ॉन्टल रेखा इन्सर्ट करें',
+	pagebreak		: 'पेज ब्रेक इन्सर्ट् करें',
+	unlink			: 'लिंक हटायें',
+	undo			: 'अन्डू',
+	redo			: 'रीडू',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'सर्वर ब्राउज़ करें',
+		url				: 'URL',
+		protocol		: 'प्रोटोकॉल',
+		upload			: 'अपलोड',
+		uploadSubmit	: 'इसे सर्वर को भेजें',
+		image			: 'तस्वीर',
+		flash			: 'फ़्लैश',
+		form			: 'फ़ॉर्म',
+		checkbox		: 'चॅक बॉक्स',
+		radio		: 'रेडिओ बटन',
+		textField		: 'टेक्स्ट फ़ील्ड',
+		textarea		: 'टेक्स्ट एरिया',
+		hiddenField		: 'गुप्त फ़ील्ड',
+		button			: 'बटन',
+		select	: 'चुनाव फ़ील्ड',
+		imageButton		: 'तस्वीर बटन',
+		notSet			: '<सॅट नहीं>',
+		id				: 'Id',
+		name			: 'नाम',
+		langDir			: 'भाषा लिखने की दिशा',
+		langDirLtr		: 'बायें से दायें (LTR)',
+		langDirRtl		: 'दायें से बायें (RTL)',
+		langCode		: 'भाषा कोड',
+		longDescr		: 'अधिक विवरण के लिए URL',
+		cssClass		: 'स्टाइल-शीट क्लास',
+		advisoryTitle	: 'परामर्श शीर्शक',
+		cssStyle		: 'स्टाइल',
+		ok				: 'ठीक है',
+		cancel			: 'रद्द करें',
+		generalTab		: 'सामान्य',
+		advancedTab		: 'ऍड्वान्स्ड',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'विशेष करॅक्टर इन्सर्ट करें',
+		title		: 'विशेष करॅक्टर चुनें'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'लिंक इन्सर्ट/संपादन',
+		menu		: 'लिंक संपादन',
+		title		: 'लिंक',
+		info		: 'लिंक  ',
+		target		: 'टार्गेट',
+		upload		: 'अपलोड',
+		advanced	: 'ऍड्वान्स्ड',
+		type		: 'लिंक प्रकार',
+		toAnchor	: 'इस पेज का ऐंकर',
+		toEmail		: 'ई-मेल',
+		target		: 'टार्गेट',
+		targetNotSet	: '<सॅट नहीं>',
+		targetFrame	: '<फ़्रेम>',
+		targetPopup	: '<पॉप-अप विन्डो>',
+		targetNew	: 'नया विन्डो (_blank)',
+		targetTop	: 'शीर्ष विन्डो (_top)',
+		targetSelf	: 'इसी विन्डो (_self)',
+		targetParent	: 'मूल विन्डो (_parent)',
+		targetFrameName	: 'टार्गेट फ़्रेम का नाम',
+		targetPopupName	: 'पॉप-अप विन्डो का नाम',
+		popupFeatures	: 'पॉप-अप विन्डो फ़ीचर्स',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'स्टेटस बार',
+		popupLocationBar	: 'लोकेशन बार',
+		popupToolbar	: 'टूल बार',
+		popupMenuBar	: 'मॅन्यू बार',
+		popupFullScreen	: 'फ़ुल स्क्रीन (IE)',
+		popupScrollBars	: 'स्क्रॉल बार',
+		popupDependent	: 'डिपेन्डॅन्ट (Netscape)',
+		popupWidth		: 'चौड़ाई',
+		popupLeft		: 'बायीं तरफ',
+		popupHeight		: 'ऊँचाई',
+		popupTop		: 'दायीं तरफ',
+		id				: 'Id', // MISSING
+		langDir			: 'भाषा लिखने की दिशा',
+		langDirNotSet	: '<सॅट नहीं>',
+		langDirLTR		: 'बायें से दायें (LTR)',
+		langDirRTL		: 'दायें से बायें (RTL)',
+		acccessKey		: 'ऍक्सॅस की',
+		name			: 'नाम',
+		langCode		: 'भाषा लिखने की दिशा',
+		tabIndex		: 'टैब इन्डॅक्स',
+		advisoryTitle	: 'परामर्श शीर्शक',
+		advisoryContentType	: 'परामर्श कन्टॅन्ट प्रकार',
+		cssClasses		: 'स्टाइल-शीट क्लास',
+		charset			: 'लिंक रिसोर्स करॅक्टर सॅट',
+		styles			: 'स्टाइल',
+		selectAnchor	: 'ऐंकर चुनें',
+		anchorName		: 'ऐंकर नाम से',
+		anchorId		: 'ऍलीमॅन्ट Id से',
+		emailAddress	: 'ई-मेल पता',
+		emailSubject	: 'संदेश विषय',
+		emailBody		: 'संदेश',
+		noAnchors		: '(डॉक्यूमॅन्ट में ऐंकर्स की संख्या)',
+		noUrl			: 'लिंक URL टाइप करें',
+		noEmail			: 'ई-मेल पता टाइप करें'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'ऐंकर इन्सर्ट/संपादन',
+		menu		: 'ऐंकर प्रॉपर्टीज़',
+		title		: 'ऐंकर प्रॉपर्टीज़',
+		name		: 'ऐंकर का नाम',
+		errorName	: 'ऐंकर का नाम टाइप करें'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'खोजें और बदलें',
+		find				: 'खोजें',
+		replace				: 'रीप्लेस',
+		findWhat			: 'यह खोजें:',
+		replaceWith			: 'इससे रिप्लेस करें:',
+		notFoundMsg			: 'आपके द्वारा दिया गया टेक्स्ट नहीं मिला',
+		matchCase			: 'केस मिलायें',
+		matchWord			: 'पूरा शब्द मिलायें',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'सभी रिप्लेस करें',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'टेबल',
+		title		: 'टेबल प्रॉपर्टीज़',
+		menu		: 'टेबल प्रॉपर्टीज़',
+		deleteTable	: 'टेबल डिलीट करें',
+		rows		: 'पंक्तियाँ',
+		columns		: 'कालम',
+		border		: 'बॉर्डर साइज़',
+		align		: 'ऍलाइन्मॅन्ट',
+		alignNotSet	: '<सॅट नहीं>',
+		alignLeft	: 'दायें',
+		alignCenter	: 'बीच में',
+		alignRight	: 'बायें',
+		width		: 'चौड़ाई',
+		widthPx		: 'पिक्सैल',
+		widthPc		: 'प्रतिशत',
+		height		: 'ऊँचाई',
+		cellSpace	: 'सैल अंतर',
+		cellPad		: 'सैल पैडिंग',
+		caption		: 'शीर्षक',
+		summary		: 'सारांश',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'खाना',
+			insertBefore	: 'पहले सैल डालें',
+			insertAfter		: 'बाद में सैल डालें',
+			deleteCell		: 'सैल डिलीट करें',
+			merge			: 'सैल मिलायें',
+			mergeRight		: 'बाँया विलय',
+			mergeDown		: 'नीचे विलय करें',
+			splitHorizontal	: 'सैल को क्षैतिज स्थिति में विभाजित करें',
+			splitVertical	: 'सैल को लम्बाकार में विभाजित करें',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'पंक्ति',
+			insertBefore	: 'पहले पंक्ति डालें',
+			insertAfter		: 'बाद में पंक्ति डालें',
+			deleteRow		: 'पंक्तियाँ डिलीट करें'
+		},
+
+		column :
+		{
+			menu			: 'कालम',
+			insertBefore	: 'पहले कालम डालें',
+			insertAfter		: 'बाद में कालम डालें',
+			deleteColumn	: 'कालम डिलीट करें'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'बटन प्रॉपर्टीज़',
+		text		: 'टेक्स्ट (वैल्यू)',
+		type		: 'प्रकार',
+		typeBtn		: 'बटन',
+		typeSbm		: 'सब्मिट',
+		typeRst		: 'रिसेट'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'चॅक बॉक्स प्रॉपर्टीज़',
+		radioTitle	: 'रेडिओ बटन प्रॉपर्टीज़',
+		value		: 'वैल्यू',
+		selected	: 'सॅलॅक्टॅड'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'फ़ॉर्म प्रॉपर्टीज़',
+		menu		: 'फ़ॉर्म प्रॉपर्टीज़',
+		action		: 'क्रिया',
+		method		: 'तरीका',
+		encoding	: 'Encoding', // MISSING
+		target		: 'टार्गेट',
+		targetNotSet	: '<सॅट नहीं>',
+		targetNew	: 'नया विन्डो (_blank)',
+		targetTop	: 'शीर्ष विन्डो (_top)',
+		targetSelf	: 'इसी विन्डो (_self)',
+		targetParent	: 'मूल विन्डो (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'चुनाव फ़ील्ड प्रॉपर्टीज़',
+		selectInfo	: 'सूचना',
+		opAvail		: 'उपलब्ध विकल्प',
+		value		: 'वैल्यू',
+		size		: 'साइज़',
+		lines		: 'पंक्तियाँ',
+		chkMulti	: 'एक से ज्यादा विकल्प चुनने दें',
+		opText		: 'टेक्स्ट',
+		opValue		: 'वैल्यू',
+		btnAdd		: 'जोड़ें',
+		btnModify	: 'बदलें',
+		btnUp		: 'ऊपर',
+		btnDown		: 'नीचे',
+		btnSetValue : 'चुनी गई वैल्यू सॅट करें',
+		btnDelete	: 'डिलीट'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'टेक्स्त एरिया प्रॉपर्टीज़',
+		cols		: 'कालम',
+		rows		: 'पंक्तियां'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'टेक्स्ट फ़ील्ड प्रॉपर्टीज़',
+		name		: 'नाम',
+		value		: 'वैल्यू',
+		charWidth	: 'करॅक्टर की चौढ़ाई',
+		maxChars	: 'अधिकतम करॅक्टर',
+		type		: 'टाइप',
+		typeText	: 'टेक्स्ट',
+		typePass	: 'पास्वर्ड'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'गुप्त फ़ील्ड प्रॉपर्टीज़',
+		name	: 'नाम',
+		value	: 'वैल्यू'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'तस्वीर प्रॉपर्टीज़',
+		titleButton	: 'तस्वीर बटन प्रॉपर्टीज़',
+		menu		: 'तस्वीर प्रॉपर्टीज़',
+		infoTab	: 'तस्वीर की जानकारी',
+		btnUpload	: 'इसे सर्वर को भेजें',
+		url		: 'URL',
+		upload	: 'अपलोड',
+		alt		: 'वैकल्पिक टेक्स्ट',
+		width		: 'चौड़ाई',
+		height	: 'ऊँचाई',
+		lockRatio	: 'लॉक अनुपात',
+		resetSize	: 'रीसॅट साइज़',
+		border	: 'बॉर्डर',
+		hSpace	: 'हॉरिज़ॉन्टल स्पेस',
+		vSpace	: 'वर्टिकल स्पेस',
+		align		: 'ऍलाइन',
+		alignLeft	: 'दायें',
+		alignRight	: 'दायें',
+		preview	: 'प्रीव्यू',
+		alertUrl	: 'तस्वीर का URL टाइप करें ',
+		linkTab	: 'लिंक',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'फ़्लैश प्रॉपर्टीज़',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'फ़्लैश प्रॉपर्टीज़',
+		chkPlay		: 'ऑटो प्ले',
+		chkLoop		: 'लूप',
+		chkMenu		: 'फ़्लैश मॅन्यू का प्रयोग करें',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'स्केल',
+		scaleAll		: 'सभी दिखायें',
+		scaleNoBorder	: 'कोई बॉर्डर नहीं',
+		scaleFit		: 'बिल्कुल फ़िट',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'ऍलाइन',
+		alignLeft	: 'दायें',
+		alignAbsBottom: 'Abs नीचे',
+		alignAbsMiddle: 'Abs ऊपर',
+		alignBaseline	: 'मूल रेखा',
+		alignBottom	: 'नीचे',
+		alignMiddle	: 'मध्य',
+		alignRight	: 'दायें',
+		alignTextTop	: 'टेक्स्ट ऊपर',
+		alignTop	: 'ऊपर',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'बैक्ग्राउन्ड रंग',
+		width	: 'चौड़ाई',
+		height	: 'ऊँचाई',
+		hSpace	: 'हॉरिज़ॉन्टल स्पेस',
+		vSpace	: 'वर्टिकल स्पेस',
+		validateSrc : 'लिंक URL टाइप करें',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'वर्तनी (स्पेलिंग) जाँच',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'शब्दकोश में नहीं',
+		changeTo		: 'इसमें बदलें',
+		btnIgnore		: 'इग्नोर',
+		btnIgnoreAll	: 'सभी इग्नोर करें',
+		btnReplace		: 'रिप्लेस',
+		btnReplaceAll	: 'सभी रिप्लेस करें',
+		btnUndo			: 'अन्डू',
+		noSuggestions	: '- कोई सुझाव नहीं -',
+		progress		: 'वर्तनी की जाँच (स्पॅल-चॅक) जारी है...',
+		noMispell		: 'वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई',
+		noChanges		: 'वर्तनी की जाँच :कोई शब्द नहीं बदला गया',
+		oneChange		: 'वर्तनी की जाँच : एक शब्द बदला गया',
+		manyChanges		: 'वर्तनी की जाँच : %1 शब्द बदले गये',
+		ieSpellDownload	: 'स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डाउनलोड करना चाहेंगे?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'स्माइली',
+		title	: 'स्माइली इन्सर्ट करें'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'अंकीय सूची',
+	bulletedlist : 'बुलॅट सूची',
+	indent : 'इन्डॅन्ट बढ़ायें',
+	outdent : 'इन्डॅन्ट कम करें',
+
+	justify :
+	{
+		left : 'बायीं तरफ',
+		center : 'बीच में',
+		right : 'दायीं तरफ',
+		block : 'ब्लॉक जस्टीफ़ाई'
+	},
+
+	blockquote : 'ब्लॉक-कोट',
+
+	clipboard :
+	{
+		title		: 'पेस्ट',
+		cutError	: 'आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl+X) का प्रयोग करें।',
+		copyError	: 'आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl+C) का प्रयोग करें।',
+		pasteMsg	: 'Ctrl+V का प्रयोग करके पेस्ट करें और ठीक है करें.',
+		securityMsg	: 'आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'पेस्ट (वर्ड से)',
+		title : 'पेस्ट (वर्ड से)',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'पेस्ट (सादा टॅक्स्ट)',
+		title : 'पेस्ट (सादा टॅक्स्ट)'
+	},
+
+	templates :
+	{
+		button : 'टॅम्प्लेट',
+		title : 'कन्टेन्ट टॅम्प्लेट',
+		insertOption: 'मूल शब्दों को बदलें',
+		selectPromptMsg: 'ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):',
+		emptyListMsg : '(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)'
+	},
+
+	showBlocks : 'ब्लॉक दिखायें',
+
+	stylesCombo :
+	{
+		label : 'स्टाइल',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'फ़ॉर्मैट',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'फ़ॉर्मैट',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'साधारण',
+		tag_pre : 'फ़ॉर्मैटॅड',
+		tag_address : 'पता',
+		tag_h1 : 'शीर्षक 1',
+		tag_h2 : 'शीर्षक 2',
+		tag_h3 : 'शीर्षक 3',
+		tag_h4 : 'शीर्षक 4',
+		tag_h5 : 'शीर्षक 5',
+		tag_h6 : 'शीर्षक 6',
+		tag_div : 'शीर्षक (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'फ़ॉन्ट',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'फ़ॉन्ट',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'साइज़',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'साइज़',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'टेक्स्ट रंग',
+		bgColorTitle : 'बैक्ग्राउन्ड रंग',
+		auto : 'स्वचालित',
+		more : 'और रंग...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/hr.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/hr.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/hr.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Croatian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hr'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Text editor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kôd',
+	newPage			: 'Nova stranica',
+	save			: 'Snimi',
+	preview			: 'Pregledaj',
+	cut				: 'Izreži',
+	copy			: 'Kopiraj',
+	paste			: 'Zalijepi',
+	print			: 'Ispiši',
+	underline		: 'Potcrtano',
+	bold			: 'Podebljaj',
+	italic			: 'Ukosi',
+	selectAll		: 'Odaberi sve',
+	removeFormat	: 'Ukloni formatiranje',
+	strike			: 'Precrtano',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Ubaci vodoravnu liniju',
+	pagebreak		: 'Ubaci prijelom stranice',
+	unlink			: 'Ukloni link',
+	undo			: 'Poništi',
+	redo			: 'Ponovi',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Pretraži server',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Pošalji',
+		uploadSubmit	: 'Pošalji na server',
+		image			: 'Slika',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Hidden Field',
+		button			: 'Button',
+		select	: 'Selection Field',
+		imageButton		: 'Image Button',
+		notSet			: '<nije postavljeno>',
+		id				: 'Id',
+		name			: 'Naziv',
+		langDir			: 'Smjer jezika',
+		langDirLtr		: 'S lijeva na desno (LTR)',
+		langDirRtl		: 'S desna na lijevo (RTL)',
+		langCode		: 'Kôd jezika',
+		longDescr		: 'Dugački opis URL',
+		cssClass		: 'Stylesheet klase',
+		advisoryTitle	: 'Advisory naslov',
+		cssStyle		: 'Stil',
+		ok				: 'OK',
+		cancel			: 'Poništi',
+		generalTab		: 'Općenito',
+		advancedTab		: 'Napredno',
+		validateNumberFailed	: 'Ova vrijednost nije broj.',
+		confirmNewPage	: 'Sve napravljene promjene će biti izgubljene ukoliko ih niste snimili. Sigurno želite učitati novu stranicu?',
+		confirmCancel	: 'Neke od opcija su promjenjene. Sigurno želite zatvoriti ovaj prozor?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, nedostupno</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Ubaci posebne znakove',
+		title		: 'Odaberite posebni karakter'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Ubaci/promijeni link',
+		menu		: 'Promijeni link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Meta',
+		upload		: 'Pošalji',
+		advanced	: 'Napredno',
+		type		: 'Link vrsta',
+		toAnchor	: 'Sidro na ovoj stranici',
+		toEmail		: 'E-Mail',
+		target		: 'Meta',
+		targetNotSet	: '<nije postavljeno>',
+		targetFrame	: '<okvir>',
+		targetPopup	: '<popup prozor>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Vršni prozor (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Roditeljski prozor (_parent)',
+		targetFrameName	: 'Ime ciljnog okvira',
+		targetPopupName	: 'Naziv popup prozora',
+		popupFeatures	: 'Mogućnosti popup prozora',
+		popupResizable	: 'Promjenjiva veličina',
+		popupStatusBar	: 'Statusna traka',
+		popupLocationBar	: 'Traka za lokaciju',
+		popupToolbar	: 'Traka s alatima',
+		popupMenuBar	: 'Izborna traka',
+		popupFullScreen	: 'Cijeli ekran (IE)',
+		popupScrollBars	: 'Scroll traka',
+		popupDependent	: 'Ovisno (Netscape)',
+		popupWidth		: 'Širina',
+		popupLeft		: 'Lijeva pozicija',
+		popupHeight		: 'Visina',
+		popupTop		: 'Gornja pozicija',
+		id				: 'Id',
+		langDir			: 'Smjer jezika',
+		langDirNotSet	: '<nije postavljeno>',
+		langDirLTR		: 'S lijeva na desno (LTR)',
+		langDirRTL		: 'S desna na lijevo (RTL)',
+		acccessKey		: 'Pristupna tipka',
+		name			: 'Naziv',
+		langCode		: 'Smjer jezika',
+		tabIndex		: 'Tab Indeks',
+		advisoryTitle	: 'Advisory naslov',
+		advisoryContentType	: 'Advisory vrsta sadržaja',
+		cssClasses		: 'Stylesheet klase',
+		charset			: 'Kodna stranica povezanih resursa',
+		styles			: 'Stil',
+		selectAnchor	: 'Odaberi sidro',
+		anchorName		: 'Po nazivu sidra',
+		anchorId		: 'Po Id elementa',
+		emailAddress	: 'E-Mail adresa',
+		emailSubject	: 'Naslov',
+		emailBody		: 'Sadržaj poruke',
+		noAnchors		: '(Nema dostupnih sidra)',
+		noUrl			: 'Molimo upišite URL link',
+		noEmail			: 'Molimo upišite e-mail adresu'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Ubaci/promijeni sidro',
+		menu		: 'Svojstva sidra',
+		title		: 'Svojstva sidra',
+		name		: 'Ime sidra',
+		errorName	: 'Molimo unesite ime sidra'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Pronađi i zamijeni',
+		find				: 'Pronađi',
+		replace				: 'Zamijeni',
+		findWhat			: 'Pronađi:',
+		replaceWith			: 'Zamijeni s:',
+		notFoundMsg			: 'Traženi tekst nije pronađen.',
+		matchCase			: 'Usporedi mala/velika slova',
+		matchWord			: 'Usporedi cijele riječi',
+		matchCyclic			: 'Usporedi kružno',
+		replaceAll			: 'Zamijeni sve',
+		replaceSuccessMsg	: 'Zamijenjeno %1 pojmova.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tablica',
+		title		: 'Svojstva tablice',
+		menu		: 'Svojstva tablice',
+		deleteTable	: 'Izbriši tablicu',
+		rows		: 'Redova',
+		columns		: 'Kolona',
+		border		: 'Veličina okvira',
+		align		: 'Poravnanje',
+		alignNotSet	: '<nije postavljeno>',
+		alignLeft	: 'Lijevo',
+		alignCenter	: 'Središnje',
+		alignRight	: 'Desno',
+		width		: 'Širina',
+		widthPx		: 'piksela',
+		widthPc		: 'postotaka',
+		height		: 'Visina',
+		cellSpace	: 'Prostornost ćelija',
+		cellPad		: 'Razmak ćelija',
+		caption		: 'Naslov',
+		summary		: 'Sažetak',
+		headers		: 'Zaglavlje',
+		headersNone		: 'Ništa',
+		headersColumn	: 'Prva kolona',
+		headersRow		: 'Prvi red',
+		headersBoth		: 'Oba',
+		invalidRows		: 'Broj redova mora biti broj veći od 0.',
+		invalidCols		: 'Broj kolona mora biti broj veći od 0.',
+		invalidBorder	: 'Debljina ruba mora biti broj.',
+		invalidWidth	: 'Širina tablice mora biti broj.',
+		invalidHeight	: 'Visina tablice mora biti broj.',
+		invalidCellSpacing	: 'Prostornost ćelija mora biti broj.',
+		invalidCellPadding	: 'Razmak ćelija mora biti broj.',
+
+		cell :
+		{
+			menu			: 'Ćelija',
+			insertBefore	: 'Ubaci ćeliju prije',
+			insertAfter		: 'Ubaci ćeliju poslije',
+			deleteCell		: 'Izbriši ćelije',
+			merge			: 'Spoji ćelije',
+			mergeRight		: 'Spoji desno',
+			mergeDown		: 'Spoji dolje',
+			splitHorizontal	: 'Podijeli ćeliju vodoravno',
+			splitVertical	: 'Podijeli ćeliju okomito',
+			title			: 'Svojstva ćelije',
+			cellType		: 'Vrsta ćelije',
+			rowSpan			: 'Rows Span',
+			colSpan			: 'Columns Span',
+			wordWrap		: 'Prelazak u novi red',
+			hAlign			: 'Vodoravno poravnanje',
+			vAlign			: 'Okomito poravnanje',
+			alignTop		: 'Vrh',
+			alignMiddle		: 'Sredina',
+			alignBottom		: 'Dolje',
+			alignBaseline	: 'Osnovna linija',
+			bgColor			: 'Boja pozadine',
+			borderColor		: 'Boja ruba',
+			data			: 'Podatak',
+			header			: 'Zaglavlje',
+			yes				: 'Da',
+			no				: 'ne',
+			invalidWidth	: 'Širina ćelije mora biti broj.',
+			invalidHeight	: 'Visina ćelije mora biti broj.',
+			invalidRowSpan	: 'Rows span mora biti cijeli broj.',
+			invalidColSpan	: 'Columns span mora biti cijeli broj.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Red',
+			insertBefore	: 'Ubaci red prije',
+			insertAfter		: 'Ubaci red poslije',
+			deleteRow		: 'Izbriši redove'
+		},
+
+		column :
+		{
+			menu			: 'Kolona',
+			insertBefore	: 'Ubaci kolonu prije',
+			insertAfter		: 'Ubaci kolonu poslije',
+			deleteColumn	: 'Izbriši kolone'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Image Button svojstva',
+		text		: 'Tekst (vrijednost)',
+		type		: 'Vrsta',
+		typeBtn		: 'Gumb',
+		typeSbm		: 'Pošalji',
+		typeRst		: 'Poništi'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Checkbox svojstva',
+		radioTitle	: 'Radio Button svojstva',
+		value		: 'Vrijednost',
+		selected	: 'Odabrano'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form svojstva',
+		menu		: 'Form svojstva',
+		action		: 'Akcija',
+		method		: 'Metoda',
+		encoding	: 'Encoding',
+		target		: 'Meta',
+		targetNotSet	: '<nije postavljeno>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Vršni prozor (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Roditeljski prozor (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Selection svojstva',
+		selectInfo	: 'Info',
+		opAvail		: 'Dostupne opcije',
+		value		: 'Vrijednost',
+		size		: 'Veličina',
+		lines		: 'linija',
+		chkMulti	: 'Dozvoli višestruki odabir',
+		opText		: 'Tekst',
+		opValue		: 'Vrijednost',
+		btnAdd		: 'Dodaj',
+		btnModify	: 'Promijeni',
+		btnUp		: 'Gore',
+		btnDown		: 'Dolje',
+		btnSetValue : 'Postavi kao odabranu vrijednost',
+		btnDelete	: 'Obriši'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Textarea svojstva',
+		cols		: 'Kolona',
+		rows		: 'Redova'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Text Field svojstva',
+		name		: 'Ime',
+		value		: 'Vrijednost',
+		charWidth	: 'Širina',
+		maxChars	: 'Najviše karaktera',
+		type		: 'Vrsta',
+		typeText	: 'Tekst',
+		typePass	: 'Šifra'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Hidden Field svojstva',
+		name	: 'Ime',
+		value	: 'Vrijednost'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Svojstva slika',
+		titleButton	: 'Image Button svojstva',
+		menu		: 'Svojstva slika',
+		infoTab	: 'Info slike',
+		btnUpload	: 'Pošalji na server',
+		url		: 'URL',
+		upload	: 'Pošalji',
+		alt		: 'Alternativni tekst',
+		width		: 'Širina',
+		height	: 'Visina',
+		lockRatio	: 'Zaključaj odnos',
+		resetSize	: 'Obriši veličinu',
+		border	: 'Okvir',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Poravnaj',
+		alignLeft	: 'Lijevo',
+		alignRight	: 'Desno',
+		preview	: 'Pregledaj',
+		alertUrl	: 'Unesite URL slike',
+		linkTab	: 'Link',
+		button2Img	: 'Želite li promijeniti odabrani gumb u jednostavnu sliku?',
+		img2Button	: 'Želite li promijeniti odabranu sliku u gumb?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash svojstva',
+		propertiesTab	: 'Svojstva',
+		title		: 'Flash svojstva',
+		chkPlay		: 'Auto Play',
+		chkLoop		: 'Ponavljaj',
+		chkMenu		: 'Omogući Flash izbornik',
+		chkFull		: 'Omogući Fullscreen',
+ 		scale		: 'Omjer',
+		scaleAll		: 'Prikaži sve',
+		scaleNoBorder	: 'Bez okvira',
+		scaleFit		: 'Točna veličina',
+		access			: 'Script Access',
+		accessAlways	: 'Uvijek',
+		accessSameDomain	: 'Ista domena',
+		accessNever	: 'Nikad',
+		align		: 'Poravnaj',
+		alignLeft	: 'Lijevo',
+		alignAbsBottom: 'Abs dolje',
+		alignAbsMiddle: 'Abs sredina',
+		alignBaseline	: 'Bazno',
+		alignBottom	: 'Dolje',
+		alignMiddle	: 'Sredina',
+		alignRight	: 'Desno',
+		alignTextTop	: 'Vrh teksta',
+		alignTop	: 'Vrh',
+		quality		: 'Kvaliteta',
+		qualityBest		 : 'Best',
+		qualityHigh		 : 'High',
+		qualityAutoHigh	 : 'Auto High',
+		qualityMedium	 : 'Medium',
+		qualityAutoLow	 : 'Auto Low',
+		qualityLow		 : 'Low',
+		windowModeWindow	 : 'Window',
+		windowModeOpaque	 : 'Opaque',
+		windowModeTransparent	 : 'Transparent',
+		windowMode	: 'Vrsta prozora',
+		flashvars	: 'Varijable za Flash',
+		bgcolor	: 'Boja pozadine',
+		width	: 'Širina',
+		height	: 'Visina',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Molimo upišite URL link',
+		validateWidth : 'Širina mora biti broj.',
+		validateHeight : 'Visina mora biti broj.',
+		validateHSpace : 'HSpace mora biti broj.',
+		validateVSpace : 'VSpace mora biti broj.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Provjeri pravopis',
+		title			: 'Provjera pravopisa',
+		notAvailable	: 'Žao nam je, ali usluga trenutno nije dostupna.',
+		errorLoading	: 'Greška učitavanja aplikacije: %s.',
+		notInDic		: 'Nije u rječniku',
+		changeTo		: 'Promijeni u',
+		btnIgnore		: 'Zanemari',
+		btnIgnoreAll	: 'Zanemari sve',
+		btnReplace		: 'Zamijeni',
+		btnReplaceAll	: 'Zamijeni sve',
+		btnUndo			: 'Vrati',
+		noSuggestions	: '-Nema preporuke-',
+		progress		: 'Provjera u tijeku...',
+		noMispell		: 'Provjera završena: Nema grešaka',
+		noChanges		: 'Provjera završena: Nije napravljena promjena',
+		oneChange		: 'Provjera završena: Jedna riječ promjenjena',
+		manyChanges		: 'Provjera završena: Promijenjeno %1 riječi',
+		ieSpellDownload	: 'Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smješko',
+		title	: 'Ubaci smješka'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Brojčana lista',
+	bulletedlist : 'Obična lista',
+	indent : 'Pomakni udesno',
+	outdent : 'Pomakni ulijevo',
+
+	justify :
+	{
+		left : 'Lijevo poravnanje',
+		center : 'Središnje poravnanje',
+		right : 'Desno poravnanje',
+		block : 'Blok poravnanje'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Zalijepi',
+		cutError	: 'Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl+X).',
+		copyError	: 'Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl+C).',
+		pasteMsg	: 'Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (<STRONG>Ctrl+V</STRONG>) i kliknite <STRONG>OK</STRONG>.',
+		securityMsg	: 'Zbog sigurnosnih postavki Vašeg pretraživača, editor nema direktan pristup Vašem međuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Tekst koji želite zalijepiti čini se da je kopiran iz Worda. Želite li prije očistiti tekst?',
+		toolbar : 'Zalijepi iz Worda',
+		title : 'Zalijepi iz Worda',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Zalijepi kao čisti tekst',
+		title : 'Zalijepi kao čisti tekst'
+	},
+
+	templates :
+	{
+		button : 'Predlošci',
+		title : 'Predlošci sadržaja',
+		insertOption: 'Zamijeni trenutne sadržaje',
+		selectPromptMsg: 'Molimo odaberite predložak koji želite otvoriti<br>(stvarni sadržaj će biti izgubljen):',
+		emptyListMsg : '(Nema definiranih predložaka)'
+	},
+
+	showBlocks : 'Prikaži blokove',
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Stilovi',
+		panelVoiceLabel : 'Odaberite stil',
+		panelTitle1 : 'Block stilovi',
+		panelTitle2 : 'Inline stilovi',
+		panelTitle3 : 'Object stilovi'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Odaberite format paragrafa',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatirano',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font',
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Odaberite font'
+	},
+
+	fontSize :
+	{
+		label : 'Veličina',
+		voiceLabel : 'Veličina slova',
+		panelTitle : 'Veličina',
+		panelVoiceLabel : 'Odaberite veličinu slova'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Boja teksta',
+		bgColorTitle : 'Boja pozadine',
+		auto : 'Automatski',
+		more : 'Više boja...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Provjeri pravopis tijekom tipkanja (SCAYT)',
+		enable : 'Omogući SCAYT',
+		disable : 'Onemogući SCAYT',
+		about : 'O SCAYT',
+		toggle : 'Omoguću/Onemogući SCAYT',
+		options : 'Opcije',
+		langs : 'Jezici',
+		moreSuggestions : 'Više prijedloga',
+		ignore : 'Zanemari',
+		ignoreAll : 'Zanemari sve',
+		addWord : 'Dodaj riječ',
+		emptyDic : 'Naziv rječnika ne smije biti prazno.',
+		optionsTab : 'Opcije',
+		languagesTab : 'Jezici',
+		dictionariesTab : 'Rječnici',
+		aboutTab : 'O SCAYT'
+	},
+
+	about :
+	{
+		title : 'O CKEditoru',
+		dlgTitle : 'O CKEditoru',
+		moreInfo : 'Za informacije o licencama posjetite našu web stranicu:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : 'Povećaj',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Sidro',
+		flash : 'Flash animacija',
+		div : 'Prijelom stranice',
+		unknown : 'Nepoznati objekt'
+	},
+
+	resize : 'Povuci za promjenu veličine',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/hu.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/hu.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/hu.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hungarian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hu'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Forráskód',
+	newPage			: 'Új oldal',
+	save			: 'Mentés',
+	preview			: 'Előnézet',
+	cut				: 'Kivágás',
+	copy			: 'Másolás',
+	paste			: 'Beillesztés',
+	print			: 'Nyomtatás',
+	underline		: 'Aláhúzott',
+	bold			: 'Félkövér',
+	italic			: 'Dőlt',
+	selectAll		: 'Mindent kijelöl',
+	removeFormat	: 'Formázás eltávolítása',
+	strike			: 'Áthúzott',
+	subscript		: 'Alsó index',
+	superscript		: 'Felső index',
+	horizontalrule	: 'Elválasztóvonal beillesztése',
+	pagebreak		: 'Oldaltörés beillesztése',
+	unlink			: 'Hivatkozás törlése',
+	undo			: 'Visszavonás',
+	redo			: 'Ismétlés',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Böngészés a szerveren',
+		url				: 'Hivatkozás',
+		protocol		: 'Protokoll',
+		upload			: 'Feltöltés',
+		uploadSubmit	: 'Küldés a szerverre',
+		image			: 'Kép',
+		flash			: 'Flash',
+		form			: 'Űrlap',
+		checkbox		: 'Jelölőnégyzet',
+		radio		: 'Választógomb',
+		textField		: 'Szövegmező',
+		textarea		: 'Szövegterület',
+		hiddenField		: 'Rejtettmező',
+		button			: 'Gomb',
+		select	: 'Legördülő lista',
+		imageButton		: 'Képgomb',
+		notSet			: '<nincs beállítva>',
+		id				: 'Azonosító',
+		name			: 'Név',
+		langDir			: 'Írás iránya',
+		langDirLtr		: 'Balról jobbra',
+		langDirRtl		: 'Jobbról balra',
+		langCode		: 'Nyelv kódja',
+		longDescr		: 'Részletes leírás webcíme',
+		cssClass		: 'Stíluskészlet',
+		advisoryTitle	: 'Súgócimke',
+		cssStyle		: 'Stílus',
+		ok				: 'Rendben',
+		cancel			: 'Mégsem',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'További opciók',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Speciális karakter beillesztése',
+		title		: 'Speciális karakter választása'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Hivatkozás beillesztése/módosítása',
+		menu		: 'Hivatkozás módosítása',
+		title		: 'Hivatkozás tulajdonságai',
+		info		: 'Alaptulajdonságok',
+		target		: 'Tartalom megjelenítése',
+		upload		: 'Feltöltés',
+		advanced	: 'További opciók',
+		type		: 'Hivatkozás típusa',
+		toAnchor	: 'Horgony az oldalon',
+		toEmail		: 'E-Mail',
+		target		: 'Tartalom megjelenítése',
+		targetNotSet	: '<nincs beállítva>',
+		targetFrame	: '<keretben>',
+		targetPopup	: '<felugró ablakban>',
+		targetNew	: 'Új ablakban (_blank)',
+		targetTop	: 'Legfelső ablakban (_top)',
+		targetSelf	: 'Azonos ablakban (_self)',
+		targetParent	: 'Szülő ablakban (_parent)',
+		targetFrameName	: 'Keret neve',
+		targetPopupName	: 'Felugró ablak neve',
+		popupFeatures	: 'Felugró ablak jellemzői',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Állapotsor',
+		popupLocationBar	: 'Címsor',
+		popupToolbar	: 'Eszköztár',
+		popupMenuBar	: 'Menü sor',
+		popupFullScreen	: 'Teljes képernyő (csak IE)',
+		popupScrollBars	: 'Gördítősáv',
+		popupDependent	: 'Szülőhöz kapcsolt (csak Netscape)',
+		popupWidth		: 'Szélesség',
+		popupLeft		: 'Bal pozíció',
+		popupHeight		: 'Magasság',
+		popupTop		: 'Felső pozíció',
+		id				: 'Id', // MISSING
+		langDir			: 'Írás iránya',
+		langDirNotSet	: '<nincs beállítva>',
+		langDirLTR		: 'Balról jobbra',
+		langDirRTL		: 'Jobbról balra',
+		acccessKey		: 'Billentyűkombináció',
+		name			: 'Név',
+		langCode		: 'Írás iránya',
+		tabIndex		: 'Tabulátor index',
+		advisoryTitle	: 'Súgócimke',
+		advisoryContentType	: 'Súgó tartalomtípusa',
+		cssClasses		: 'Stíluskészlet',
+		charset			: 'Hivatkozott tartalom kódlapja',
+		styles			: 'Stílus',
+		selectAnchor	: 'Horgony választása',
+		anchorName		: 'Horgony név szerint',
+		anchorId		: 'Azonosító szerint',
+		emailAddress	: 'E-Mail cím',
+		emailSubject	: 'Üzenet tárgya',
+		emailBody		: 'Üzenet',
+		noAnchors		: '(Nincs horgony a dokumentumban)',
+		noUrl			: 'Adja meg a hivatkozás webcímét',
+		noEmail			: 'Adja meg az E-Mail címet'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Horgony beillesztése/szerkesztése',
+		menu		: 'Horgony tulajdonságai',
+		title		: 'Horgony tulajdonságai',
+		name		: 'Horgony neve',
+		errorName	: 'Kérem adja meg a horgony nevét'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Keresés és csere',
+		find				: 'Keresés',
+		replace				: 'Csere',
+		findWhat			: 'Keresett szöveg:',
+		replaceWith			: 'Csere erre:',
+		notFoundMsg			: 'A keresett szöveg nem található.',
+		matchCase			: 'kis- és nagybetű megkülönböztetése',
+		matchWord			: 'csak ha ez a teljes szó',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Az összes cseréje',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Táblázat',
+		title		: 'Táblázat tulajdonságai',
+		menu		: 'Táblázat tulajdonságai',
+		deleteTable	: 'Táblázat törlése',
+		rows		: 'Sorok',
+		columns		: 'Oszlopok',
+		border		: 'Szegélyméret',
+		align		: 'Igazítás',
+		alignNotSet	: '<Nincs beállítva>',
+		alignLeft	: 'Balra',
+		alignCenter	: 'Középre',
+		alignRight	: 'Jobbra',
+		width		: 'Szélesség',
+		widthPx		: 'képpont',
+		widthPc		: 'százalék',
+		height		: 'Magasság',
+		cellSpace	: 'Cella térköz',
+		cellPad		: 'Cella belső margó',
+		caption		: 'Felirat',
+		summary		: 'Leírás',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cella',
+			insertBefore	: 'Cella beillesztése az aktuális cella elé',
+			insertAfter		: 'Cella beillesztése az aktuális cella mögé',
+			deleteCell		: 'Cellák törlése',
+			merge			: 'Cellák egyesítése',
+			mergeRight		: 'Cellák egyesítése jobbra',
+			mergeDown		: 'Cellák egyesítése lefelé',
+			splitHorizontal	: 'Cellák szétválasztása vízszintesen',
+			splitVertical	: 'Cellák szétválasztása függőlegesen',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Sor',
+			insertBefore	: 'Sor beillesztése az aktuális sor elé',
+			insertAfter		: 'Sor beillesztése az aktuális sor mögé',
+			deleteRow		: 'Sorok törlése'
+		},
+
+		column :
+		{
+			menu			: 'Oszlop',
+			insertBefore	: 'Oszlop beillesztése az aktuális oszlop elé',
+			insertAfter		: 'Oszlop beillesztése az aktuális oszlop mögé',
+			deleteColumn	: 'Oszlopok törlése'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Gomb tulajdonságai',
+		text		: 'Szöveg (Érték)',
+		type		: 'Típus',
+		typeBtn		: 'Gomb',
+		typeSbm		: 'Küldés',
+		typeRst		: 'Alaphelyzet'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Jelölőnégyzet tulajdonságai',
+		radioTitle	: 'Választógomb tulajdonságai',
+		value		: 'Érték',
+		selected	: 'Kiválasztott'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Űrlap tulajdonságai',
+		menu		: 'Űrlap tulajdonságai',
+		action		: 'Adatfeldolgozást végző hivatkozás',
+		method		: 'Adatküldés módja',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Tartalom megjelenítése',
+		targetNotSet	: '<nincs beállítva>',
+		targetNew	: 'Új ablakban (_blank)',
+		targetTop	: 'Legfelső ablakban (_top)',
+		targetSelf	: 'Azonos ablakban (_self)',
+		targetParent	: 'Szülő ablakban (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Legördülő lista tulajdonságai',
+		selectInfo	: 'Alaptulajdonságok',
+		opAvail		: 'Elérhető opciók',
+		value		: 'Érték',
+		size		: 'Méret',
+		lines		: 'sor',
+		chkMulti	: 'több sor is kiválasztható',
+		opText		: 'Szöveg',
+		opValue		: 'Érték',
+		btnAdd		: 'Hozzáad',
+		btnModify	: 'Módosít',
+		btnUp		: 'Fel',
+		btnDown		: 'Le',
+		btnSetValue : 'Legyen az alapértelmezett érték',
+		btnDelete	: 'Töröl'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Szövegterület tulajdonságai',
+		cols		: 'Karakterek száma egy sorban',
+		rows		: 'Sorok száma'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Szövegmező tulajdonságai',
+		name		: 'Név',
+		value		: 'Érték',
+		charWidth	: 'Megjelenített karakterek száma',
+		maxChars	: 'Maximális karakterszám',
+		type		: 'Típus',
+		typeText	: 'Szöveg',
+		typePass	: 'Jelszó'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Rejtett mező tulajdonságai',
+		name	: 'Név',
+		value	: 'Érték'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Kép tulajdonságai',
+		titleButton	: 'Képgomb tulajdonságai',
+		menu		: 'Kép tulajdonságai',
+		infoTab	: 'Alaptulajdonságok',
+		btnUpload	: 'Küldés a szerverre',
+		url		: 'Hivatkozás',
+		upload	: 'Feltöltés',
+		alt		: 'Buborék szöveg',
+		width		: 'Szélesség',
+		height	: 'Magasság',
+		lockRatio	: 'Arány megtartása',
+		resetSize	: 'Eredeti méret',
+		border	: 'Keret',
+		hSpace	: 'Vízsz. táv',
+		vSpace	: 'Függ. táv',
+		align		: 'Igazítás',
+		alignLeft	: 'Bal',
+		alignRight	: 'Jobbra',
+		preview	: 'Előnézet',
+		alertUrl	: 'Töltse ki a kép webcímét',
+		linkTab	: 'Hivatkozás',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash tulajdonságai',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash tulajdonságai',
+		chkPlay		: 'Automata lejátszás',
+		chkLoop		: 'Folyamatosan',
+		chkMenu		: 'Flash menü engedélyezése',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Méretezés',
+		scaleAll		: 'Mindent mutat',
+		scaleNoBorder	: 'Keret nélkül',
+		scaleFit		: 'Teljes kitöltés',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Igazítás',
+		alignLeft	: 'Bal',
+		alignAbsBottom: 'Legaljára',
+		alignAbsMiddle: 'Közepére',
+		alignBaseline	: 'Alapvonalhoz',
+		alignBottom	: 'Aljára',
+		alignMiddle	: 'Középre',
+		alignRight	: 'Jobbra',
+		alignTextTop	: 'Szöveg tetejére',
+		alignTop	: 'Tetejére',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Háttérszín',
+		width	: 'Szélesség',
+		height	: 'Magasság',
+		hSpace	: 'Vízsz. táv',
+		vSpace	: 'Függ. táv',
+		validateSrc : 'Adja meg a hivatkozás webcímét',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Helyesírás-ellenőrzés',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Nincs a szótárban',
+		changeTo		: 'Módosítás',
+		btnIgnore		: 'Kihagyja',
+		btnIgnoreAll	: 'Mindet kihagyja',
+		btnReplace		: 'Csere',
+		btnReplaceAll	: 'Összes cseréje',
+		btnUndo			: 'Visszavonás',
+		noSuggestions	: 'Nincs javaslat',
+		progress		: 'Helyesírás-ellenőrzés folyamatban...',
+		noMispell		: 'Helyesírás-ellenőrzés kész: Nem találtam hibát',
+		noChanges		: 'Helyesírás-ellenőrzés kész: Nincs változtatott szó',
+		oneChange		: 'Helyesírás-ellenőrzés kész: Egy szó cserélve',
+		manyChanges		: 'Helyesírás-ellenőrzés kész: %1 szó cserélve',
+		ieSpellDownload	: 'A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Hangulatjelek',
+		title	: 'Hangulatjel beszúrása'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Számozás',
+	bulletedlist : 'Felsorolás',
+	indent : 'Behúzás növelése',
+	outdent : 'Behúzás csökkentése',
+
+	justify :
+	{
+		left : 'Balra',
+		center : 'Középre',
+		right : 'Jobbra',
+		block : 'Sorkizárt'
+	},
+
+	blockquote : 'Idézet blokk',
+
+	clipboard :
+	{
+		title		: 'Beillesztés',
+		cutError	: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).',
+		copyError	: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).',
+		pasteMsg	: 'Másolja be az alábbi mezőbe a <STRONG>Ctrl+V</STRONG> billentyűk lenyomásával, majd nyomjon <STRONG>Rendben</STRONG>-t.',
+		securityMsg	: 'A böngésző biztonsági beállításai miatt a szerkesztő nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Beillesztés Word-ből',
+		title : 'Beillesztés Word-ből',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Beillesztés formázatlan szövegként',
+		title : 'Beillesztés formázatlan szövegként'
+	},
+
+	templates :
+	{
+		button : 'Sablonok',
+		title : 'Elérhető sablonok',
+		insertOption: 'Kicseréli a jelenlegi tartalmat',
+		selectPromptMsg: 'Válassza ki melyik sablon nyíljon meg a szerkesztőben<br>(a jelenlegi tartalom elveszik):',
+		emptyListMsg : '(Nincs sablon megadva)'
+	},
+
+	showBlocks : 'Blokkok megjelenítése',
+
+	stylesCombo :
+	{
+		label : 'Stílus',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formátum',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formátum',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normál',
+		tag_pre : 'Formázott',
+		tag_address : 'Címsor',
+		tag_h1 : 'Fejléc 1',
+		tag_h2 : 'Fejléc 2',
+		tag_h3 : 'Fejléc 3',
+		tag_h4 : 'Fejléc 4',
+		tag_h5 : 'Fejléc 5',
+		tag_h6 : 'Fejléc 6',
+		tag_div : 'Bekezdés (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Betűtípus',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Betűtípus',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Méret',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Méret',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Betűszín',
+		bgColorTitle : 'Háttérszín',
+		auto : 'Automatikus',
+		more : 'További színek...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/is.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/is.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/is.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Icelandic language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['is'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kóði',
+	newPage			: 'Ný síða',
+	save			: 'Vista',
+	preview			: 'Forskoða',
+	cut				: 'Klippa',
+	copy			: 'Afrita',
+	paste			: 'Líma',
+	print			: 'Prenta',
+	underline		: 'Undirstrikað',
+	bold			: 'Feitletrað',
+	italic			: 'Skáletrað',
+	selectAll		: 'Velja allt',
+	removeFormat	: 'Fjarlægja snið',
+	strike			: 'Yfirstrikað',
+	subscript		: 'Niðurskrifað',
+	superscript		: 'Uppskrifað',
+	horizontalrule	: 'Lóðrétt lína',
+	pagebreak		: 'Setja inn síðuskil',
+	unlink			: 'Fjarlægja stiklu',
+	undo			: 'Afturkalla',
+	redo			: 'Hætta við afturköllun',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Fletta í skjalasafni',
+		url				: 'Vefslóð',
+		protocol		: 'Samskiptastaðall',
+		upload			: 'Senda upp',
+		uploadSubmit	: 'Hlaða upp',
+		image			: 'Setja inn mynd',
+		flash			: 'Flash',
+		form			: 'Setja inn innsláttarform',
+		checkbox		: 'Setja inn hökunarreit',
+		radio		: 'Setja inn valhnapp',
+		textField		: 'Setja inn textareit',
+		textarea		: 'Setja inn textasvæði',
+		hiddenField		: 'Setja inn falið svæði',
+		button			: 'Setja inn hnapp',
+		select	: 'Setja inn lista',
+		imageButton		: 'Setja inn myndahnapp',
+		notSet			: '<ekkert valið>',
+		id				: 'Auðkenni',
+		name			: 'Nafn',
+		langDir			: 'Lesstefna',
+		langDirLtr		: 'Frá vinstri til hægri (LTR)',
+		langDirRtl		: 'Frá hægri til vinstri (RTL)',
+		langCode		: 'Tungumálakóði',
+		longDescr		: 'Nánari lýsing',
+		cssClass		: 'Stílsniðsflokkur',
+		advisoryTitle	: 'Titill',
+		cssStyle		: 'Stíll',
+		ok				: 'Í lagi',
+		cancel			: 'Hætta við',
+		generalTab		: 'Almennt',
+		advancedTab		: 'Tæknilegt',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Setja inn merki',
+		title		: 'Velja tákn'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Stofna/breyta stiklu',
+		menu		: 'Breyta stiklu',
+		title		: 'Stikla',
+		info		: 'Almennt',
+		target		: 'Mark',
+		upload		: 'Senda upp',
+		advanced	: 'Tæknilegt',
+		type		: 'Stikluflokkur',
+		toAnchor	: 'Bókamerki á þessari síðu',
+		toEmail		: 'Netfang',
+		target		: 'Mark',
+		targetNotSet	: '<ekkert valið>',
+		targetFrame	: '<rammi>',
+		targetPopup	: '<sprettigluggi>',
+		targetNew	: 'Nýr gluggi (_blank)',
+		targetTop	: 'Allur glugginn (_top)',
+		targetSelf	: 'Sami gluggi (_self)',
+		targetParent	: 'Yfirsettur rammi (_parent)',
+		targetFrameName	: 'Nafn markglugga',
+		targetPopupName	: 'Nafn sprettiglugga',
+		popupFeatures	: 'Eigindi sprettiglugga',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Stöðustika',
+		popupLocationBar	: 'Fanglína',
+		popupToolbar	: 'Verkfærastika',
+		popupMenuBar	: 'Vallína',
+		popupFullScreen	: 'Heilskjár (IE)',
+		popupScrollBars	: 'Skrunstikur',
+		popupDependent	: 'Háð venslum (Netscape)',
+		popupWidth		: 'Breidd',
+		popupLeft		: 'Fjarlægð frá vinstri',
+		popupHeight		: 'Hæð',
+		popupTop		: 'Fjarlægð frá efri brún',
+		id				: 'Id', // MISSING
+		langDir			: 'Lesstefna',
+		langDirNotSet	: '<ekkert valið>',
+		langDirLTR		: 'Frá vinstri til hægri (LTR)',
+		langDirRTL		: 'Frá hægri til vinstri (RTL)',
+		acccessKey		: 'Skammvalshnappur',
+		name			: 'Nafn',
+		langCode		: 'Lesstefna',
+		tabIndex		: 'Raðnúmer innsláttarreits',
+		advisoryTitle	: 'Titill',
+		advisoryContentType	: 'Tegund innihalds',
+		cssClasses		: 'Stílsniðsflokkur',
+		charset			: 'Táknróf',
+		styles			: 'Stíll',
+		selectAnchor	: 'Veldu akkeri',
+		anchorName		: 'Eftir akkerisnafni',
+		anchorId		: 'Eftir auðkenni einingar',
+		emailAddress	: 'Netfang',
+		emailSubject	: 'Efni',
+		emailBody		: 'Meginmál',
+		noAnchors		: '<Engin bókamerki á skrá>',
+		noUrl			: 'Sláðu inn veffang stiklunnar!',
+		noEmail			: 'Sláðu inn netfang!'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Stofna/breyta kaflamerki',
+		menu		: 'Eigindi kaflamerkis',
+		title		: 'Eigindi kaflamerkis',
+		name		: 'Nafn bókamerkis',
+		errorName	: 'Sláðu inn nafn bókamerkis!'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Finna og skipta',
+		find				: 'Leita',
+		replace				: 'Skipta út',
+		findWhat			: 'Leita að:',
+		replaceWith			: 'Skipta út fyrir:',
+		notFoundMsg			: 'Leitartexti fannst ekki!',
+		matchCase			: 'Gera greinarmun á¡ há¡- og lágstöfum',
+		matchWord			: 'Aðeins heil orð',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Skipta út allsstaðar',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tafla',
+		title		: 'Eigindi töflu',
+		menu		: 'Eigindi töflu',
+		deleteTable	: 'Fella töflu',
+		rows		: 'Raðir',
+		columns		: 'Dálkar',
+		border		: 'Breidd ramma',
+		align		: 'Jöfnun',
+		alignNotSet	: '<ekkert valið>',
+		alignLeft	: 'Vinstrijafnað',
+		alignCenter	: 'Miðjað',
+		alignRight	: 'Hægrijafnað',
+		width		: 'Breidd',
+		widthPx		: 'myndeindir',
+		widthPc		: 'prósent',
+		height		: 'Hæð',
+		cellSpace	: 'Bil milli reita',
+		cellPad		: 'Reitaspássía',
+		caption		: 'Titill',
+		summary		: 'Áfram',
+		headers		: 'Fyrirsagnir',
+		headersNone		: 'Engar',
+		headersColumn	: 'Fyrsti dálkur',
+		headersRow		: 'Fyrsta röð',
+		headersBoth		: 'Hvort tveggja',
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Reitur',
+			insertBefore	: 'Skjóta inn reiti fyrir aftan',
+			insertAfter		: 'Skjóta inn reiti fyrir framan',
+			deleteCell		: 'Fella reit',
+			merge			: 'Sameina reiti',
+			mergeRight		: 'Sameina til hægri',
+			mergeDown		: 'Sameina niður á við',
+			splitHorizontal	: 'Kljúfa reit lárétt',
+			splitVertical	: 'Kljúfa reit lóðrétt',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Röð',
+			insertBefore	: 'Skjóta inn röð fyrir ofan',
+			insertAfter		: 'Skjóta inn röð fyrir neðan',
+			deleteRow		: 'Eyða röð'
+		},
+
+		column :
+		{
+			menu			: 'Dálkur',
+			insertBefore	: 'Skjóta inn dálki vinstra megin',
+			insertAfter		: 'Skjóta inn dálki hægra megin',
+			deleteColumn	: 'Fella dálk'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Eigindi hnapps',
+		text		: 'Texti',
+		type		: 'Gerð',
+		typeBtn		: 'Hnappur',
+		typeSbm		: 'Staðfesta',
+		typeRst		: 'Hreinsa'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Eigindi markreits',
+		radioTitle	: 'Eigindi valhnapps',
+		value		: 'Gildi',
+		selected	: 'Valið'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Eigindi innsláttarforms',
+		menu		: 'Eigindi innsláttarforms',
+		action		: 'Aðgerð',
+		method		: 'Aðferð',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Mark',
+		targetNotSet	: '<ekkert valið>',
+		targetNew	: 'Nýr gluggi (_blank)',
+		targetTop	: 'Allur glugginn (_top)',
+		targetSelf	: 'Sami gluggi (_self)',
+		targetParent	: 'Yfirsettur rammi (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Eigindi lista',
+		selectInfo	: 'Upplýsingar',
+		opAvail		: 'Kostir',
+		value		: 'Gildi',
+		size		: 'Stærð',
+		lines		: 'línur',
+		chkMulti	: 'Leyfa fleiri kosti',
+		opText		: 'Texti',
+		opValue		: 'Gildi',
+		btnAdd		: 'Bæta við',
+		btnModify	: 'Breyta',
+		btnUp		: 'Upp',
+		btnDown		: 'Niður',
+		btnSetValue : 'Merkja sem valið',
+		btnDelete	: 'Eyða'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Eigindi textasvæðis',
+		cols		: 'Dálkar',
+		rows		: 'Línur'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Eigindi textareits',
+		name		: 'Nafn',
+		value		: 'Gildi',
+		charWidth	: 'Breidd (leturtákn)',
+		maxChars	: 'Hámarksfjöldi leturtákna',
+		type		: 'Gerð',
+		typeText	: 'Texti',
+		typePass	: 'Lykilorð'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Eigindi falins svæðis',
+		name	: 'Nafn',
+		value	: 'Gildi'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Eigindi myndar',
+		titleButton	: 'Eigindi myndahnapps',
+		menu		: 'Eigindi myndar',
+		infoTab	: 'Almennt',
+		btnUpload	: 'Hlaða upp',
+		url		: 'Vefslóð',
+		upload	: 'Hlaða upp',
+		alt		: 'Baklægur texti',
+		width		: 'Breidd',
+		height	: 'Hæð',
+		lockRatio	: 'Festa stærðarhlutfall',
+		resetSize	: 'Reikna stærð',
+		border	: 'Rammi',
+		hSpace	: 'Vinstri bil',
+		vSpace	: 'Hægri bil',
+		align		: 'Jöfnun',
+		alignLeft	: 'Vinstri',
+		alignRight	: 'Hægri',
+		preview	: 'Sýna dæmi',
+		alertUrl	: 'Sláðu inn slóðina að myndinni',
+		linkTab	: 'Stikla',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Eigindi Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Eigindi Flash',
+		chkPlay		: 'Sjálfvirk spilun',
+		chkLoop		: 'Endurtekning',
+		chkMenu		: 'Sýna Flash-valmynd',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Skali',
+		scaleAll		: 'Sýna allt',
+		scaleNoBorder	: 'Án ramma',
+		scaleFit		: 'Fella skala að stærð',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Jöfnun',
+		alignLeft	: 'Vinstri',
+		alignAbsBottom: 'Abs neðst',
+		alignAbsMiddle: 'Abs miðjuð',
+		alignBaseline	: 'Grunnlína',
+		alignBottom	: 'Neðst',
+		alignMiddle	: 'Miðjuð',
+		alignRight	: 'Hægri',
+		alignTextTop	: 'Efri brún texta',
+		alignTop	: 'Efst',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Bakgrunnslitur',
+		width	: 'Breidd',
+		height	: 'Hæð',
+		hSpace	: 'Vinstri bil',
+		vSpace	: 'Hægri bil',
+		validateSrc : 'Sláðu inn veffang stiklunnar!',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Villuleit',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Ekki í orðabókinni',
+		changeTo		: 'Tillaga',
+		btnIgnore		: 'Hunsa',
+		btnIgnoreAll	: 'Hunsa allt',
+		btnReplace		: 'Skipta',
+		btnReplaceAll	: 'Skipta öllu',
+		btnUndo			: 'Til baka',
+		noSuggestions	: '- engar tillögur -',
+		progress		: 'Villuleit í gangi...',
+		noMispell		: 'Villuleit lokið: Engin villa fannst',
+		noChanges		: 'Villuleit lokið: Engu orði breytt',
+		oneChange		: 'Villuleit lokið: Einu orði breytt',
+		manyChanges		: 'Villuleit lokið: %1 orðum breytt',
+		ieSpellDownload	: 'Villuleit ekki sett upp.<br>Viltu setja hana upp?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Svipur',
+		title	: 'Velja svip'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Númeraður listi',
+	bulletedlist : 'Punktalisti',
+	indent : 'Minnka inndrátt',
+	outdent : 'Auka inndrátt',
+
+	justify :
+	{
+		left : 'Vinstrijöfnun',
+		center : 'Miðja texta',
+		right : 'Hægrijöfnun',
+		block : 'Jafna báðum megin'
+	},
+
+	blockquote : 'Inndráttur',
+
+	clipboard :
+	{
+		title		: 'Líma',
+		cutError	: 'Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl+X).',
+		copyError	: 'Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl+C).',
+		pasteMsg	: 'Límdu í svæðið hér að neðan og (<STRONG>Ctrl+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.',
+		securityMsg	: 'Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Líma úr Word',
+		title : 'Líma úr Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Líma sem ósniðinn texta',
+		title : 'Líma sem ósniðinn texta'
+	},
+
+	templates :
+	{
+		button : 'Sniðmát',
+		title : 'Innihaldssniðmát',
+		insertOption: 'Skipta út raunverulegu innihaldi',
+		selectPromptMsg: 'Veldu sniðmát til að opna í ritlinum.<br>(Núverandi innihald víkur fyrir því!):',
+		emptyListMsg : '(Ekkert sniðmát er skilgreint!)'
+	},
+
+	showBlocks : 'Sýna blokkir',
+
+	stylesCombo :
+	{
+		label : 'Stílflokkur',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Stílsnið',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Stílsnið',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Venjulegt letur',
+		tag_pre : 'Forsniðið',
+		tag_address : 'Vistfang',
+		tag_h1 : 'Fyrirsögn 1',
+		tag_h2 : 'Fyrirsögn 2',
+		tag_h3 : 'Fyrirsögn 3',
+		tag_h4 : 'Fyrirsögn 4',
+		tag_h5 : 'Fyrirsögn 5',
+		tag_h6 : 'Fyrirsögn 6',
+		tag_div : 'Venjulegt (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Leturgerð ',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Leturgerð ',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Leturstærð ',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Leturstærð ',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Litur texta',
+		bgColorTitle : 'Bakgrunnslitur',
+		auto : 'Sjálfval',
+		more : 'Fleiri liti...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/it.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/it.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/it.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Italian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['it'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Codice Sorgente',
+	newPage			: 'Nuova pagina vuota',
+	save			: 'Salva',
+	preview			: 'Anteprima',
+	cut				: 'Taglia',
+	copy			: 'Copia',
+	paste			: 'Incolla',
+	print			: 'Stampa',
+	underline		: 'Sottolineato',
+	bold			: 'Grassetto',
+	italic			: 'Corsivo',
+	selectAll		: 'Seleziona tutto',
+	removeFormat	: 'Elimina formattazione',
+	strike			: 'Barrato',
+	subscript		: 'Pedice',
+	superscript		: 'Apice',
+	horizontalrule	: 'Inserisci riga orizzontale',
+	pagebreak		: 'Inserisci interruzione di pagina',
+	unlink			: 'Elimina collegamento',
+	undo			: 'Annulla',
+	redo			: 'Ripristina',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Cerca sul server',
+		url				: 'URL',
+		protocol		: 'Protocollo',
+		upload			: 'Carica',
+		uploadSubmit	: 'Invia al server',
+		image			: 'Immagine',
+		flash			: 'Oggetto Flash',
+		form			: 'Modulo',
+		checkbox		: 'Checkbox',
+		radio		: 'Radio Button',
+		textField		: 'Campo di testo',
+		textarea		: 'Area di testo',
+		hiddenField		: 'Campo nascosto',
+		button			: 'Bottone',
+		select	: 'Menu di selezione',
+		imageButton		: 'Bottone immagine',
+		notSet			: '<non impostato>',
+		id				: 'Id',
+		name			: 'Nome',
+		langDir			: 'Direzione scrittura',
+		langDirLtr		: 'Da Sinistra a Destra (LTR)',
+		langDirRtl		: 'Da Destra a Sinistra (RTL)',
+		langCode		: 'Codice Lingua',
+		longDescr		: 'URL descrizione estesa',
+		cssClass		: 'Nome classe CSS',
+		advisoryTitle	: 'Titolo',
+		cssStyle		: 'Stile',
+		ok				: 'OK',
+		cancel			: 'Annulla',
+		generalTab		: 'Generale',
+		advancedTab		: 'Avanzate',
+		validateNumberFailed	: 'Il valore inserito non è un numero.',
+		confirmNewPage	: 'Ogni modifica non salvata sarà persa. Sei sicuro di voler caricare una nuova pagina?',
+		confirmCancel	: 'Alcune delle opzioni sono state cambiate. Sei sicuro di voler chiudere la finestra di dialogo?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, non disponibile</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Inserisci carattere speciale',
+		title		: 'Seleziona carattere speciale'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Inserisci/Modifica collegamento',
+		menu		: 'Modifica collegamento',
+		title		: 'Collegamento',
+		info		: 'Informazioni collegamento',
+		target		: 'Destinazione',
+		upload		: 'Carica',
+		advanced	: 'Avanzate',
+		type		: 'Tipo di Collegamento',
+		toAnchor	: 'Ancora nella pagina',
+		toEmail		: 'E-Mail',
+		target		: 'Destinazione',
+		targetNotSet	: '<non impostato>',
+		targetFrame	: '<riquadro>',
+		targetPopup	: '<finestra popup>',
+		targetNew	: 'Nuova finestra (_blank)',
+		targetTop	: 'Finestra superiore (_top)',
+		targetSelf	: 'Stessa finestra (_self)',
+		targetParent	: 'Finestra padre (_parent)',
+		targetFrameName	: 'Nome del riquadro di destinazione',
+		targetPopupName	: 'Nome finestra popup',
+		popupFeatures	: 'Caratteristiche finestra popup',
+		popupResizable	: 'Ridimensionabile',
+		popupStatusBar	: 'Barra di stato',
+		popupLocationBar	: 'Barra degli indirizzi',
+		popupToolbar	: 'Barra degli strumenti',
+		popupMenuBar	: 'Barra del menu',
+		popupFullScreen	: 'A tutto schermo (IE)',
+		popupScrollBars	: 'Barre di scorrimento',
+		popupDependent	: 'Dipendente (Netscape)',
+		popupWidth		: 'Larghezza',
+		popupLeft		: 'Posizione da sinistra',
+		popupHeight		: 'Altezza',
+		popupTop		: 'Posizione dall\'alto',
+		id				: 'Id',
+		langDir			: 'Direzione scrittura',
+		langDirNotSet	: '<non impostato>',
+		langDirLTR		: 'Da Sinistra a Destra (LTR)',
+		langDirRTL		: 'Da Destra a Sinistra (RTL)',
+		acccessKey		: 'Scorciatoia<br />da tastiera',
+		name			: 'Nome',
+		langCode		: 'Direzione scrittura',
+		tabIndex		: 'Ordine di tabulazione',
+		advisoryTitle	: 'Titolo',
+		advisoryContentType	: 'Tipo della risorsa collegata',
+		cssClasses		: 'Nome classe CSS',
+		charset			: 'Set di caretteri della risorsa collegata',
+		styles			: 'Stile',
+		selectAnchor	: 'Scegli Ancora',
+		anchorName		: 'Per Nome',
+		anchorId		: 'Per id elemento',
+		emailAddress	: 'Indirizzo E-Mail',
+		emailSubject	: 'Oggetto del messaggio',
+		emailBody		: 'Corpo del messaggio',
+		noAnchors		: '(Nessuna ancora disponibile nel documento)',
+		noUrl			: 'Devi inserire l\'URL del collegamento',
+		noEmail			: 'Devi inserire un\'indirizzo e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Inserisci/Modifica Ancora',
+		menu		: 'Proprietà ancora',
+		title		: 'Proprietà ancora',
+		name		: 'Nome ancora',
+		errorName	: 'Inserici il nome dell\'ancora'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Cerca e Sostituisci',
+		find				: 'Trova',
+		replace				: 'Sostituisci',
+		findWhat			: 'Trova:',
+		replaceWith			: 'Sostituisci con:',
+		notFoundMsg			: 'L\'elemento cercato non è stato trovato.',
+		matchCase			: 'Maiuscole/minuscole',
+		matchWord			: 'Solo parole intere',
+		matchCyclic			: 'Ricerca ciclica',
+		replaceAll			: 'Sostituisci tutto',
+		replaceSuccessMsg	: '%1 occorrenza(e) sostituite.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabella',
+		title		: 'Proprietà tabella',
+		menu		: 'Proprietà tabella',
+		deleteTable	: 'Cancella Tabella',
+		rows		: 'Righe',
+		columns		: 'Colonne',
+		border		: 'Dimensione bordo',
+		align		: 'Allineamento',
+		alignNotSet	: '<non impostato>',
+		alignLeft	: 'Sinistra',
+		alignCenter	: 'Centrato',
+		alignRight	: 'Destra',
+		width		: 'Larghezza',
+		widthPx		: 'pixel',
+		widthPc		: 'percento',
+		height		: 'Altezza',
+		cellSpace	: 'Spaziatura celle',
+		cellPad		: 'Padding celle',
+		caption		: 'Intestazione',
+		summary		: 'Indice',
+		headers		: 'Intestazione',
+		headersNone		: 'Nessuna',
+		headersColumn	: 'Prima Colonna',
+		headersRow		: 'Prima Riga',
+		headersBoth		: 'Entrambe',
+		invalidRows		: 'Il numero di righe dev\'essere un numero maggiore di 0.',
+		invalidCols		: 'Il numero di colonne dev\'essere un numero maggiore di 0.',
+		invalidBorder	: 'La dimensione del bordo dev\'essere un numero.',
+		invalidWidth	: 'La larghezza della tabella dev\'essere un numero.',
+		invalidHeight	: 'L\'altezza della tabella dev\'essere un numero.',
+		invalidCellSpacing	: 'La spaziatura tra le celle dev\'essere un numero.',
+		invalidCellPadding	: 'Il pagging delle celle dev\'essere un numero',
+
+		cell :
+		{
+			menu			: 'Cella',
+			insertBefore	: 'Inserisci Cella Prima',
+			insertAfter		: 'Inserisci Cella Dopo',
+			deleteCell		: 'Elimina celle',
+			merge			: 'Unisce celle',
+			mergeRight		: 'Unisci a Destra',
+			mergeDown		: 'Unisci in Basso',
+			splitHorizontal	: 'Dividi Cella Orizzontalmente',
+			splitVertical	: 'Dividi Cella Verticalmente',
+			title			: 'Proprietà della cella',
+			cellType		: 'Tipo di cella',
+			rowSpan			: 'Su più righe',
+			colSpan			: 'Su più colonne',
+			wordWrap		: 'Ritorno a capo',
+			hAlign			: 'Allineamento orizzontale',
+			vAlign			: 'Allineamento verticale',
+			alignTop		: 'In Alto',
+			alignMiddle		: 'Al Centro',
+			alignBottom		: 'In Basso',
+			alignBaseline	: 'Linea Base',
+			bgColor			: 'Colore di Sfondo',
+			borderColor		: 'Colore del Bordo',
+			data			: 'Dati',
+			header			: 'Intestazione',
+			yes				: 'Si',
+			no				: 'No',
+			invalidWidth	: 'La larghezza della cella dev\'essere un numero.',
+			invalidHeight	: 'L\'altezza della cella dev\'essere un numero.',
+			invalidRowSpan	: 'Il numero di righe dev\'essere un numero intero.',
+			invalidColSpan	: 'Il numero di colonne dev\'essere un numero intero.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Riga',
+			insertBefore	: 'Inserisci Riga Prima',
+			insertAfter		: 'Inserisci Riga Dopo',
+			deleteRow		: 'Elimina righe'
+		},
+
+		column :
+		{
+			menu			: 'Colonna',
+			insertBefore	: 'Inserisci Colonna Prima',
+			insertAfter		: 'Inserisci Colonna Dopo',
+			deleteColumn	: 'Elimina colonne'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Proprietà bottone',
+		text		: 'Testo (Value)',
+		type		: 'Tipo',
+		typeBtn		: 'Bottone',
+		typeSbm		: 'Invio',
+		typeRst		: 'Annulla'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Proprietà checkbox',
+		radioTitle	: 'Proprietà radio button',
+		value		: 'Valore',
+		selected	: 'Selezionato'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Proprietà modulo',
+		menu		: 'Proprietà modulo',
+		action		: 'Azione',
+		method		: 'Metodo',
+		encoding	: 'Codifica',
+		target		: 'Destinazione',
+		targetNotSet	: '<non impostato>',
+		targetNew	: 'Nuova finestra (_blank)',
+		targetTop	: 'Finestra superiore (_top)',
+		targetSelf	: 'Stessa finestra (_self)',
+		targetParent	: 'Finestra padre (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Proprietà menu di selezione',
+		selectInfo	: 'Info',
+		opAvail		: 'Opzioni disponibili',
+		value		: 'Valore',
+		size		: 'Dimensione',
+		lines		: 'righe',
+		chkMulti	: 'Permetti selezione multipla',
+		opText		: 'Testo',
+		opValue		: 'Valore',
+		btnAdd		: 'Aggiungi',
+		btnModify	: 'Modifica',
+		btnUp		: 'Su',
+		btnDown		: 'Gi',
+		btnSetValue : 'Imposta come predefinito',
+		btnDelete	: 'Rimuovi'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Proprietà area di testo',
+		cols		: 'Colonne',
+		rows		: 'Righe'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Proprietà campo di testo',
+		name		: 'Nome',
+		value		: 'Valore',
+		charWidth	: 'Larghezza',
+		maxChars	: 'Numero massimo di caratteri',
+		type		: 'Tipo',
+		typeText	: 'Testo',
+		typePass	: 'Password'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Proprietà campo nascosto',
+		name	: 'Nome',
+		value	: 'Valore'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Proprietà immagine',
+		titleButton	: 'Proprietà bottone immagine',
+		menu		: 'Proprietà immagine',
+		infoTab	: 'Informazioni immagine',
+		btnUpload	: 'Invia al server',
+		url		: 'URL',
+		upload	: 'Carica',
+		alt		: 'Testo alternativo',
+		width		: 'Larghezza',
+		height	: 'Altezza',
+		lockRatio	: 'Blocca rapporto',
+		resetSize	: 'Reimposta dimensione',
+		border	: 'Bordo',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Allineamento',
+		alignLeft	: 'Sinistra',
+		alignRight	: 'Destra',
+		preview	: 'Anteprima',
+		alertUrl	: 'Devi inserire l\'URL per l\'immagine',
+		linkTab	: 'Collegamento',
+		button2Img	: 'Vuoi trasformare il bottone immagine selezionato in un\'immagine semplice?',
+		img2Button	: 'Vuoi trasferomare l\'immagine selezionata in un bottone immagine?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Proprietà Oggetto Flash',
+		propertiesTab	: 'Proprietà',
+		title		: 'Proprietà Oggetto Flash',
+		chkPlay		: 'Avvio Automatico',
+		chkLoop		: 'Riavvio automatico',
+		chkMenu		: 'Abilita Menu di Flash',
+		chkFull		: 'Permetti la modalità tutto schermo',
+ 		scale		: 'Ridimensiona',
+		scaleAll		: 'Mostra Tutto',
+		scaleNoBorder	: 'Senza Bordo',
+		scaleFit		: 'Dimensione Esatta',
+		access			: 'Accesso Script',
+		accessAlways	: 'Sempre',
+		accessSameDomain	: 'Solo stesso dominio',
+		accessNever	: 'Mai',
+		align		: 'Allineamento',
+		alignLeft	: 'Sinistra',
+		alignAbsBottom: 'In basso assoluto',
+		alignAbsMiddle: 'Centrato assoluto',
+		alignBaseline	: 'Linea base',
+		alignBottom	: 'In Basso',
+		alignMiddle	: 'Centrato',
+		alignRight	: 'Destra',
+		alignTextTop	: 'In alto al testo',
+		alignTop	: 'In Alto',
+		quality		: 'Qualità',
+		qualityBest		 : 'Massima',
+		qualityHigh		 : 'Alta',
+		qualityAutoHigh	 : 'Alta Automatica',
+		qualityMedium	 : 'Intermedia',
+		qualityAutoLow	 : 'Bassa Automatica',
+		qualityLow		 : 'Bassa',
+		windowModeWindow	 : 'Finestra',
+		windowModeOpaque	 : 'Opaca',
+		windowModeTransparent	 : 'Trasparente',
+		windowMode	: 'Modalità finestra',
+		flashvars	: 'Variabili per Flash',
+		bgcolor	: 'Colore sfondo',
+		width	: 'Larghezza',
+		height	: 'Altezza',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Devi inserire l\'URL del collegamento',
+		validateWidth : 'La Larghezza dev\'essere un numero',
+		validateHeight : 'L\'altezza dev\'essere un numero',
+		validateHSpace : 'L\'HSpace dev\'essere un numero.',
+		validateVSpace : 'Il VSpace dev\'essere un numero.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Correttore ortografico',
+		title			: 'Controllo ortografico',
+		notAvailable	: 'Il servizio non è momentaneamente disponibile.',
+		errorLoading	: 'Errore nel caricamento dell\'host col servizio applicativo: %s.',
+		notInDic		: 'Non nel dizionario',
+		changeTo		: 'Cambia in',
+		btnIgnore		: 'Ignora',
+		btnIgnoreAll	: 'Ignora tutto',
+		btnReplace		: 'Cambia',
+		btnReplaceAll	: 'Cambia tutto',
+		btnUndo			: 'Annulla',
+		noSuggestions	: '- Nessun suggerimento -',
+		progress		: 'Controllo ortografico in corso',
+		noMispell		: 'Controllo ortografico completato: nessun errore trovato',
+		noChanges		: 'Controllo ortografico completato: nessuna parola cambiata',
+		oneChange		: 'Controllo ortografico completato: 1 parola cambiata',
+		manyChanges		: 'Controllo ortografico completato: %1 parole cambiate',
+		ieSpellDownload	: 'Contollo ortografico non installato. Lo vuoi scaricare ora?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticon',
+		title	: 'Inserisci emoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 elemento'
+	},
+
+	numberedlist : 'Elenco numerato',
+	bulletedlist : 'Elenco puntato',
+	indent : 'Aumenta rientro',
+	outdent : 'Riduci rientro',
+
+	justify :
+	{
+		left : 'Allinea a sinistra',
+		center : 'Centra',
+		right : 'Allinea a destra',
+		block : 'Giustifica'
+	},
+
+	blockquote : 'Citazione',
+
+	clipboard :
+	{
+		title		: 'Incolla',
+		cutError	: 'Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl+X).',
+		copyError	: 'Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).',
+		pasteMsg	: 'Incolla il testo all\'interno dell\'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl+V</STRONG>) e premi <STRONG>OK</STRONG>.',
+		securityMsg	: 'A causa delle impostazioni di sicurezza del browser,l\'editor non è in grado di accedere direttamente agli appunti. E\' pertanto necessario incollarli di nuovo in questa finestra.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?',
+		toolbar : 'Incolla da Word',
+		title : 'Incolla da Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Incolla come testo semplice',
+		title : 'Incolla come testo semplice'
+	},
+
+	templates :
+	{
+		button : 'Modelli',
+		title : 'Contenuto dei modelli',
+		insertOption: 'Cancella il contenuto corrente',
+		selectPromptMsg: 'Seleziona il modello da aprire nell\'editor<br />(il contenuto attuale verrà eliminato):',
+		emptyListMsg : '(Nessun modello definito)'
+	},
+
+	showBlocks : 'Visualizza Blocchi',
+
+	stylesCombo :
+	{
+		label : 'Stile',
+		voiceLabel : 'Stili',
+		panelVoiceLabel : 'Seleziona uno stile',
+		panelTitle1 : 'Stili per blocchi',
+		panelTitle2 : 'Stili in linea',
+		panelTitle3 : 'Stili per oggetti'
+	},
+
+	format :
+	{
+		label : 'Formato',
+		voiceLabel : 'Formato',
+		panelTitle : 'Formato',
+		panelVoiceLabel : 'Seleziona il formato per paragrafo',
+
+		tag_p : 'Normale',
+		tag_pre : 'Formattato',
+		tag_address : 'Indirizzo',
+		tag_h1 : 'Titolo 1',
+		tag_h2 : 'Titolo 2',
+		tag_h3 : 'Titolo 3',
+		tag_h4 : 'Titolo 4',
+		tag_h5 : 'Titolo 5',
+		tag_h6 : 'Titolo 6',
+		tag_div : 'Paragrafo (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font',
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Seleziona un font'
+	},
+
+	fontSize :
+	{
+		label : 'Dimensione',
+		voiceLabel : 'Dimensione Font',
+		panelTitle : 'Dimensione',
+		panelVoiceLabel : 'Seleziona una dimensione font'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Colore testo',
+		bgColorTitle : 'Colore sfondo',
+		auto : 'Automatico',
+		more : 'Altri colori...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Controllo Ortografico Mentre Scrivi',
+		enable : 'Abilita COMS',
+		disable : 'Disabilita COMS',
+		about : 'About COMS',
+		toggle : 'Inverti abilitazione SCOMS',
+		options : 'Opzioni',
+		langs : 'Lingue',
+		moreSuggestions : 'Altri suggerimenti',
+		ignore : 'Ignora',
+		ignoreAll : 'Ignora tutti',
+		addWord : 'Aggiungi Parola',
+		emptyDic : 'Il nome del dizionario non può essere vuoto.',
+		optionsTab : 'Opzioni',
+		languagesTab : 'Lingue',
+		dictionariesTab : 'Dizionari',
+		aboutTab : 'About'
+	},
+
+	about :
+	{
+		title : 'About CKEditor',
+		dlgTitle : 'About CKEditor',
+		moreInfo : 'Per le informazioni sulla licenza si prega di visitare il nostro sito:',
+		copy : 'Copyright &copy; $1. Tutti i diritti riservati.'
+	},
+
+	maximize : 'Massimizza',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Ancora',
+		flash : 'Animazione Flash',
+		div : 'Interruzione di Pagina',
+		unknown : 'Oggetto sconosciuto'
+	},
+
+	resize : 'Trascina per ridimensionare',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ja.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ja.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ja.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Japanese language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ja'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'リッチテキストエディタ, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'ソース',
+	newPage			: '新しいページ',
+	save			: '保存',
+	preview			: 'プレビュー',
+	cut				: '切り取り',
+	copy			: 'コピー',
+	paste			: '貼り付け',
+	print			: '印刷',
+	underline		: '下線',
+	bold			: '太字',
+	italic			: '斜体',
+	selectAll		: 'すべて選択',
+	removeFormat	: 'フォーマット削除',
+	strike			: '打ち消し線',
+	subscript		: '添え字',
+	superscript		: '上付き文字',
+	horizontalrule	: '横罫線',
+	pagebreak		: '改ページ挿入',
+	unlink			: 'リンク削除',
+	undo			: '元に戻す',
+	redo			: 'やり直し',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'サーバーブラウザー',
+		url				: 'URL',
+		protocol		: 'プロトコル',
+		upload			: 'アップロード',
+		uploadSubmit	: 'サーバーに送信',
+		image			: 'イメージ',
+		flash			: 'Flash',
+		form			: 'フォーム',
+		checkbox		: 'チェックボックス',
+		radio		: 'ラジオボタン',
+		textField		: '１行テキスト',
+		textarea		: 'テキストエリア',
+		hiddenField		: '不可視フィールド',
+		button			: 'ボタン',
+		select	: '選択フィールド',
+		imageButton		: '画像ボタン',
+		notSet			: '<なし>',
+		id				: 'Id',
+		name			: 'Name属性',
+		langDir			: '文字表記の方向',
+		langDirLtr		: '左から右 (LTR)',
+		langDirRtl		: '右から左 (RTL)',
+		langCode		: '言語コード',
+		longDescr		: 'longdesc属性(長文説明)',
+		cssClass		: 'スタイルシートクラス',
+		advisoryTitle	: 'Title属性',
+		cssStyle		: 'スタイルシート',
+		ok				: 'OK',
+		cancel			: 'キャンセル',
+		generalTab		: '全般',
+		advancedTab		: '高度な設定',
+		validateNumberFailed	: '値が数ではありません',
+		confirmNewPage	: '変更内容を保存せず、 新しいページを開いてもよろしいでしょうか？',
+		confirmCancel	: 'オプション設定を変更しました。ダイアログを閉じてもよろしいでしょうか？',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, 利用不可能</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: '特殊文字挿入',
+		title		: '特殊文字選択'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'リンク挿入/編集',
+		menu		: 'リンク編集',
+		title		: 'ハイパーリンク',
+		info		: 'ハイパーリンク 情報',
+		target		: 'ターゲット',
+		upload		: 'アップロード',
+		advanced	: '高度な設定',
+		type		: 'リンクタイプ',
+		toAnchor	: 'このページのアンカー',
+		toEmail		: 'E-Mail',
+		target		: 'ターゲット',
+		targetNotSet	: '<なし>',
+		targetFrame	: '<フレーム>',
+		targetPopup	: '<ポップアップウィンドウ>',
+		targetNew	: '新しいウィンドウ (_blank)',
+		targetTop	: '最上位ウィンドウ (_top)',
+		targetSelf	: '同じウィンドウ (_self)',
+		targetParent	: '親ウィンドウ (_parent)',
+		targetFrameName	: '目的のフレーム名',
+		targetPopupName	: 'ポップアップウィンドウ名',
+		popupFeatures	: 'ポップアップウィンドウ特徴',
+		popupResizable	: 'サイズ可変',
+		popupStatusBar	: 'ステータスバー',
+		popupLocationBar	: 'ロケーションバー',
+		popupToolbar	: 'ツールバー',
+		popupMenuBar	: 'メニューバー',
+		popupFullScreen	: '全画面モード(IE)',
+		popupScrollBars	: 'スクロールバー',
+		popupDependent	: '開いたウィンドウに連動して閉じる (Netscape)',
+		popupWidth		: '幅',
+		popupLeft		: '左端からの座標で指定',
+		popupHeight		: '高さ',
+		popupTop		: '上端からの座標で指定',
+		id				: 'Id',
+		langDir			: '文字表記の方向',
+		langDirNotSet	: '<なし>',
+		langDirLTR		: '左から右 (LTR)',
+		langDirRTL		: '右から左 (RTL)',
+		acccessKey		: 'アクセスキー',
+		name			: 'Name属性',
+		langCode		: '文字表記の方向',
+		tabIndex		: 'タブインデックス',
+		advisoryTitle	: 'Title属性',
+		advisoryContentType	: 'Content Type属性',
+		cssClasses		: 'スタイルシートクラス',
+		charset			: 'リンクcharset属性',
+		styles			: 'スタイルシート',
+		selectAnchor	: 'アンカーを選択',
+		anchorName		: 'アンカー名',
+		anchorId		: 'エレメントID',
+		emailAddress	: 'E-Mail アドレス',
+		emailSubject	: '件名',
+		emailBody		: '本文',
+		noAnchors		: '(ドキュメントにおいて利用可能なアンカーはありません。)',
+		noUrl			: 'リンクURLを入力してください。',
+		noEmail			: 'メールアドレスを入力してください。'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'アンカー挿入/編集',
+		menu		: 'アンカー プロパティ',
+		title		: 'アンカー プロパティ',
+		name		: 'アンカー名',
+		errorName	: 'アンカー名を必ず入力してください。'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: '検索して置換',
+		find				: '検索',
+		replace				: '置き換え',
+		findWhat			: '検索する文字列:',
+		replaceWith			: '置換えする文字列:',
+		notFoundMsg			: '指定された文字列は見つかりませんでした。',
+		matchCase			: '部分一致',
+		matchWord			: '単語単位で一致',
+		matchCyclic			: '大文字/小文字区別一致',
+		replaceAll			: 'すべて置換え',
+		replaceSuccessMsg	: '%1 個置換しました。'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'テーブル',
+		title		: 'テーブル プロパティ',
+		menu		: 'テーブル プロパティ',
+		deleteTable	: 'テーブル削除',
+		rows		: '行',
+		columns		: '列',
+		border		: 'ボーダーサイズ',
+		align		: 'テーブルの整列',
+		alignNotSet	: '<なし>',
+		alignLeft	: '左',
+		alignCenter	: '中央',
+		alignRight	: '右',
+		width		: '幅',
+		widthPx		: 'ピクセル',
+		widthPc		: 'パーセント',
+		height		: '高さ',
+		cellSpace	: 'セル内余白',
+		cellPad		: 'セル内間隔',
+		caption		: 'キャプション',
+		summary		: 'テーブルの概要',
+		headers		: 'テーブルヘッダ(th)',
+		headersNone		: 'なし',
+		headersColumn	: '初めの列のみ',
+		headersRow		: '初めの行のみ',
+		headersBoth		: '両方',
+		invalidRows		: '行は0より大きな数値で入力してください。',
+		invalidCols		: '列は0より大きな数値で入力してください。',
+		invalidBorder	: 'ボーダーサイズは数値で入力してください。',
+		invalidWidth	: '幅は数値で入力してください。',
+		invalidHeight	: '高さは数値で入力してください。',
+		invalidCellSpacing	: 'セル内余白は数値で入力してください。',
+		invalidCellPadding	: 'セル内間隔は数値で入力してください。',
+
+		cell :
+		{
+			menu			: 'セル',
+			insertBefore	: 'セルの前に挿入',
+			insertAfter		: 'セルの後に挿入',
+			deleteCell		: 'セル削除',
+			merge			: 'セル結合',
+			mergeRight		: '右に結合',
+			mergeDown		: '下に結合',
+			splitHorizontal	: 'セルを水平方向分割',
+			splitVertical	: 'セルを垂直方向に分割',
+			title			: 'セルプロパティ',
+			cellType		: 'セルタイプ',
+			rowSpan			: '縦幅(行数)',
+			colSpan			: '横幅(列数)',
+			wordWrap		: '折り返し',
+			hAlign			: 'セル横の整列',
+			vAlign			: 'セル縦の整列',
+			alignTop		: '上',
+			alignMiddle		: '中央',
+			alignBottom		: '下',
+			alignBaseline	: 'ベースライン',
+			bgColor			: '背景色',
+			borderColor		: 'ボーダーカラー',
+			data			: 'テーブルデータ(td)',
+			header			: 'テーブルヘッダ(th)',
+			yes				: 'Yes',
+			no				: 'No',
+			invalidWidth	: 'セル幅は数値で入力してください。',
+			invalidHeight	: 'セル高さは数値で入力してください。',
+			invalidRowSpan	: '縦幅(行数)は数値で入力してください。',
+			invalidColSpan	: '横幅(列数)は数値で入力してください。',
+			chooseColor : '色の選択'
+		},
+
+		row :
+		{
+			menu			: '行',
+			insertBefore	: '行の前に挿入',
+			insertAfter		: '行の後に挿入',
+			deleteRow		: '行削除'
+		},
+
+		column :
+		{
+			menu			: 'カラム',
+			insertBefore	: 'カラムの前に挿入',
+			insertAfter		: 'カラムの後に挿入',
+			deleteColumn	: '列削除'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'ボタン プロパティ',
+		text		: 'テキスト (値)',
+		type		: 'タイプ',
+		typeBtn		: 'ボタン',
+		typeSbm		: '送信',
+		typeRst		: 'リセット'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'チェックボックス プロパティ',
+		radioTitle	: 'ラジオボタン プロパティ',
+		value		: '値',
+		selected	: '選択済み'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'フォーム プロパティ',
+		menu		: 'フォーム プロパティ',
+		action		: 'アクション',
+		method		: 'メソッド',
+		encoding	: 'エンコーディング',
+		target		: 'ターゲット',
+		targetNotSet	: '<なし>',
+		targetNew	: '新しいウィンドウ (_blank)',
+		targetTop	: '最上位ウィンドウ (_top)',
+		targetSelf	: '同じウィンドウ (_self)',
+		targetParent	: '親ウィンドウ (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: '選択フィールド プロパティ',
+		selectInfo	: '情報',
+		opAvail		: '利用可能なオプション',
+		value		: '選択項目値',
+		size		: 'サイズ',
+		lines		: '行',
+		chkMulti	: '複数項目選択を許可',
+		opText		: '選択項目名',
+		opValue		: '値',
+		btnAdd		: '追加',
+		btnModify	: '編集',
+		btnUp		: '上へ',
+		btnDown		: '下へ',
+		btnSetValue : '選択した値を設定',
+		btnDelete	: '削除'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'テキストエリア プロパティ',
+		cols		: '列',
+		rows		: '行'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: '１行テキスト プロパティ',
+		name		: '名前',
+		value		: '値',
+		charWidth	: 'サイズ',
+		maxChars	: '最大長',
+		type		: 'タイプ',
+		typeText	: 'テキスト',
+		typePass	: 'パスワード入力'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: '不可視フィールド プロパティ',
+		name	: '名前',
+		value	: '値'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'イメージ プロパティ',
+		titleButton	: '画像ボタン プロパティ',
+		menu		: 'イメージ プロパティ',
+		infoTab	: 'イメージ 情報',
+		btnUpload	: 'サーバーに送信',
+		url		: 'URL',
+		upload	: 'アップロード',
+		alt		: '代替テキスト',
+		width		: '幅',
+		height	: '高さ',
+		lockRatio	: 'ロック比率',
+		resetSize	: 'サイズリセット',
+		border	: 'ボーダー',
+		hSpace	: '横間隔',
+		vSpace	: '縦間隔',
+		align		: '行揃え',
+		alignLeft	: '左',
+		alignRight	: '右',
+		preview	: 'プレビュー',
+		alertUrl	: 'イメージのURLを入力してください。',
+		linkTab	: 'リンク',
+		button2Img	: '選択したボタンを画像に置き換えますか？',
+		img2Button	: '選択した画像をボタンに置き換えますか？',
+		urlMissing : 'イメージのURLを入力してください。'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash プロパティ',
+		propertiesTab	: 'プロパティ',
+		title		: 'Flash プロパティ',
+		chkPlay		: '再生',
+		chkLoop		: 'ループ再生',
+		chkMenu		: 'Flashメニュー可能',
+		chkFull		: 'フルスクリーン許可',
+ 		scale		: '拡大縮小設定',
+		scaleAll		: 'すべて表示',
+		scaleNoBorder	: '外が見えない様に拡大',
+		scaleFit		: '上下左右にフィット',
+		access			: 'スプリクトアクセス(AllowScriptAccess)',
+		accessAlways	: 'すべての場合に通信可能(Always)',
+		accessSameDomain	: '同一ドメインのみに通信可能(Same domain)',
+		accessNever	: 'すべての場合に通信不可能(Never)',
+		align		: '行揃え',
+		alignLeft	: '左',
+		alignAbsBottom: '下部(絶対的)',
+		alignAbsMiddle: '中央(絶対的)',
+		alignBaseline	: 'ベースライン',
+		alignBottom	: '下',
+		alignMiddle	: '中央',
+		alignRight	: '右',
+		alignTextTop	: 'テキスト上部',
+		alignTop	: '上',
+		quality		: '画質',
+		qualityBest		 : '品質優先',
+		qualityHigh		 : '高',
+		qualityAutoHigh	 : '自動/高',
+		qualityMedium	 : '中',
+		qualityAutoLow	 : '自動/低',
+		qualityLow		 : '低',
+		windowModeWindow	 : '標準',
+		windowModeOpaque	 : '背景を不透明設定',
+		windowModeTransparent	 : '背景を透過設定',
+		windowMode	: 'ウィンドウモード',
+		flashvars	: 'フラッシュに渡す変数(FlashVars)',
+		bgcolor	: '背景色',
+		width	: '幅',
+		height	: '高さ',
+		hSpace	: '横間隔',
+		vSpace	: '縦間隔',
+		validateSrc : 'リンクURLを入力してください。',
+		validateWidth : '幅は数値で入力してください。',
+		validateHeight : '高さは数値で入力してください。',
+		validateHSpace : '横間隔は数値で入力してください。',
+		validateVSpace : '縦間隔は数値で入力してください。'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'スペルチェック',
+		title			: 'スペルチェック',
+		notAvailable	: '申し訳ありません、現在サービスを利用することができません',
+		errorLoading	: 'アプリケーションサービスホスト読込みエラー: %s.',
+		notInDic		: '辞書にありません',
+		changeTo		: '変更',
+		btnIgnore		: '無視',
+		btnIgnoreAll	: 'すべて無視',
+		btnReplace		: '置換',
+		btnReplaceAll	: 'すべて置換',
+		btnUndo			: 'やり直し',
+		noSuggestions	: '- 該当なし -',
+		progress		: 'スペルチェック処理中...',
+		noMispell		: 'スペルチェック完了: スペルの誤りはありませんでした',
+		noChanges		: 'スペルチェック完了: 語句は変更されませんでした',
+		oneChange		: 'スペルチェック完了: １語句変更されました',
+		manyChanges		: 'スペルチェック完了: %1 語句変更されました',
+		ieSpellDownload	: 'スペルチェッカーがインストールされていません。今すぐダウンロードしますか?'
+	},
+
+	smiley :
+	{
+		toolbar	: '絵文字',
+		title	: '顔文字挿入'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 エレメント'
+	},
+
+	numberedlist : '段落番号',
+	bulletedlist : '箇条書き',
+	indent : 'インデント',
+	outdent : 'インデント解除',
+
+	justify :
+	{
+		left : '左揃え',
+		center : '中央揃え',
+		right : '右揃え',
+		block : '両端揃え'
+	},
+
+	blockquote : 'ブロック引用',
+
+	clipboard :
+	{
+		title		: '貼り付け',
+		cutError	: 'ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+X)を使用してください。',
+		copyError	: 'ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+C)を使用してください。',
+		pasteMsg	: 'キーボード(<STRONG>Ctrl+V</STRONG>)を使用して、次の入力エリア内で貼って、<STRONG>OK</STRONG>を押してください。',
+		securityMsg	: 'ブラウザのセキュリティ設定により、エディタはクリップボード・データに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : '貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか？',
+		toolbar : 'ワード文章から貼り付け',
+		title : 'ワード文章から貼り付け',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'プレーンテキスト貼り付け',
+		title : 'プレーンテキスト貼り付け'
+	},
+
+	templates :
+	{
+		button : 'テンプレート(雛形)',
+		title : 'テンプレート内容',
+		insertOption: '現在のエディタの内容と置換えをします',
+		selectPromptMsg: 'エディターで使用するテンプレートを選択してください。<br>(現在のエディタの内容は失われます):',
+		emptyListMsg : '(テンプレートが定義されていません)'
+	},
+
+	showBlocks : 'ブロック表示',
+
+	stylesCombo :
+	{
+		label : 'スタイル',
+		voiceLabel : 'スタイル',
+		panelVoiceLabel : 'スタイルを選択してください',
+		panelTitle1 : 'ブロックスタイル',
+		panelTitle2 : 'インラインスタイル',
+		panelTitle3 : 'オブジェクトスタイル'
+	},
+
+	format :
+	{
+		label : 'フォーマット',
+		voiceLabel : 'フォーマット',
+		panelTitle : 'フォーマット',
+		panelVoiceLabel : 'パラグラフ形式を選択してください。',
+
+		tag_p : '標準',
+		tag_pre : '書式付き',
+		tag_address : 'アドレス',
+		tag_h1 : '見出し 1',
+		tag_h2 : '見出し 2',
+		tag_h3 : '見出し 3',
+		tag_h4 : '見出し 4',
+		tag_h5 : '見出し 5',
+		tag_h6 : '見出し 6',
+		tag_div : '標準 (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'フォント',
+		voiceLabel : 'フォント',
+		panelTitle : 'フォント',
+		panelVoiceLabel : 'フォントを選択してください'
+	},
+
+	fontSize :
+	{
+		label : 'サイズ',
+		voiceLabel : 'フォントサイズ',
+		panelTitle : 'サイズ',
+		panelVoiceLabel : 'フォントサイズを選択してください'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'テキスト色',
+		bgColorTitle : '背景色',
+		auto : '自動',
+		more : 'その他の色...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'スペルチェック設定(SCAYT)',
+		enable : 'SCAYT有効',
+		disable : 'SCAYT無効',
+		about : 'SCAYTﾊﾞｰｼﾞｮﾝ',
+		toggle : 'SCAYT切替',
+		options : 'オプション',
+		langs : '言語',
+		moreSuggestions : '他の候補',
+		ignore : '無視',
+		ignoreAll : 'すべて無視',
+		addWord : '語句追加',
+		emptyDic : '辞書名は必ず入力してください',
+		optionsTab : 'オプション',
+		languagesTab : '言語',
+		dictionariesTab : '辞書',
+		aboutTab : 'バージョン情報'
+	},
+
+	about :
+	{
+		title : 'CKEditorバージョン情報',
+		dlgTitle : 'CKEditorバージョン情報',
+		moreInfo : 'ライセンス情報の詳細はウェブサイトにて確認してください:',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : '最大化',
+	minimize : '最小化',
+
+	fakeobjects :
+	{
+		anchor : 'アンカー',
+		flash : 'Flash Animation',
+		div : 'Page Break',
+		unknown : 'Unknown Object'
+	},
+
+	resize : 'ドラッグしてリサイズ',
+
+	colordialog :
+	{
+		title : '色選択',
+		highlight : 'ハイライト',
+		selected : '選択された色',
+		clear : 'クリア'
+	},
+
+	toolbarCollapse : 'ツールバーを閉じる',
+	toolbarExpand : 'ツールバーを開く'
+};
Index: CKEditor/branches/features/aria/_source/lang/km.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/km.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/km.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Khmer language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['km'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'កូត',
+	newPage			: 'ទំព័រថ្មី',
+	save			: 'រក្សាទុក',
+	preview			: 'មើលសាកល្បង',
+	cut				: 'កាត់យក',
+	copy			: 'ចំលងយក',
+	paste			: 'ចំលងដាក់',
+	print			: 'បោះពុម្ភ',
+	underline		: 'ដិតបន្ទាត់ពីក្រោមអក្សរ',
+	bold			: 'អក្សរដិតធំ',
+	italic			: 'អក្សរផ្តេក',
+	selectAll		: 'ជ្រើសរើសទាំងអស់',
+	removeFormat	: 'លប់ចោល ការរចនា',
+	strike			: 'ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ',
+	subscript		: 'អក្សរតូចក្រោម',
+	superscript		: 'អក្សរតូចលើ',
+	horizontalrule	: 'បន្ថែមបន្ទាត់ផ្តេក',
+	pagebreak		: 'បន្ថែម ការផ្តាច់ទំព័រ',
+	unlink			: 'លប់ឈ្នាប់',
+	undo			: 'សារឡើងវិញ',
+	redo			: 'ធ្វើឡើងវិញ',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'មើល',
+		url				: 'URL',
+		protocol		: 'ប្រូតូកូល',
+		upload			: 'ទាញយក',
+		uploadSubmit	: 'បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា',
+		image			: 'រូបភាព',
+		flash			: 'Flash',
+		form			: 'បែបបទ',
+		checkbox		: 'ប្រអប់ជ្រើសរើស',
+		radio		: 'ប៉ូតុនរង្វង់មូល',
+		textField		: 'ជួរសរសេរអត្ថបទ',
+		textarea		: 'តំបន់សរសេរអត្ថបទ',
+		hiddenField		: 'ជួរលាក់',
+		button			: 'ប៉ូតុន',
+		select	: 'ជួរជ្រើសរើស',
+		imageButton		: 'ប៉ូតុនរូបភាព',
+		notSet			: '<មិនមែន>',
+		id				: 'Id',
+		name			: 'ឈ្មោះ',
+		langDir			: 'ទិសដៅភាសា',
+		langDirLtr		: 'ពីឆ្វេងទៅស្តាំ(LTR)',
+		langDirRtl		: 'ពីស្តាំទៅឆ្វេង(RTL)',
+		langCode		: 'លេខកូតភាសា',
+		longDescr		: 'អធិប្បាយ URL វែង',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'ចំណងជើង ប្រឹក្សា',
+		cssStyle		: 'ម៉ូត',
+		ok				: 'យល់ព្រម',
+		cancel			: 'មិនយល់ព្រម',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'កំរិតខ្ពស់',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'បន្ថែមអក្សរពិសេស',
+		title		: 'តូអក្សរពិសេស'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'បន្ថែម/កែប្រែ ឈ្នាប់',
+		menu		: 'កែប្រែឈ្នាប់',
+		title		: 'ឈ្នាប់',
+		info		: 'ពត៌មានអំពីឈ្នាប់',
+		target		: 'គោលដៅ',
+		upload		: 'ទាញយក',
+		advanced	: 'កំរិតខ្ពស់',
+		type		: 'ប្រភេទឈ្នាប់',
+		toAnchor	: 'យុថ្កានៅក្នុងទំព័រនេះ',
+		toEmail		: 'អ៊ីមែល',
+		target		: 'គោលដៅ',
+		targetNotSet	: '<មិនមែន>',
+		targetFrame	: '<ហ្វ្រេម>',
+		targetPopup	: '<វីនដូវ លោត>',
+		targetNew	: 'វីនដូវថ្មី (_blank)',
+		targetTop	: 'វីនដូវនៅលើគេ(_top)',
+		targetSelf	: 'វីនដូវដដែល (_self)',
+		targetParent	: 'វីនដូវមេ (_parent)',
+		targetFrameName	: 'ឈ្មោះហ្រ្វេមដែលជាគោលដៅ',
+		targetPopupName	: 'ឈ្មោះវីនដូវលោត',
+		popupFeatures	: 'លក្ខណះរបស់វីនដូលលោត',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'របា ពត៌មាន',
+		popupLocationBar	: 'របា ទីតាំង',
+		popupToolbar	: 'របា ឩបករណ៍',
+		popupMenuBar	: 'របា មឺនុយ',
+		popupFullScreen	: 'អេក្រុងពេញ(IE)',
+		popupScrollBars	: 'របា ទាញ',
+		popupDependent	: 'អាស្រ័យលើ (Netscape)',
+		popupWidth		: 'ទទឹង',
+		popupLeft		: 'ទីតាំងខាងឆ្វេង',
+		popupHeight		: 'កំពស់',
+		popupTop		: 'ទីតាំងខាងលើ',
+		id				: 'Id', // MISSING
+		langDir			: 'ទិសដៅភាសា',
+		langDirNotSet	: '<មិនមែន>',
+		langDirLTR		: 'ពីឆ្វេងទៅស្តាំ(LTR)',
+		langDirRTL		: 'ពីស្តាំទៅឆ្វេង(RTL)',
+		acccessKey		: 'ឃី សំរាប់ចូល',
+		name			: 'ឈ្មោះ',
+		langCode		: 'ទិសដៅភាសា',
+		tabIndex		: 'លេខ Tab',
+		advisoryTitle	: 'ចំណងជើង ប្រឹក្សា',
+		advisoryContentType	: 'ប្រភេទអត្ថបទ ប្រឹក្សា',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'លេខកូតអក្សររបស់ឈ្នាប់',
+		styles			: 'ម៉ូត',
+		selectAnchor	: 'ជ្រើសរើសយុថ្កា',
+		anchorName		: 'តាមឈ្មោះរបស់យុថ្កា',
+		anchorId		: 'តាម Id',
+		emailAddress	: 'អ៊ីមែល',
+		emailSubject	: 'ចំណងជើងអត្ថបទ',
+		emailBody		: 'អត្ថបទ',
+		noAnchors		: '(No anchors available in the document)', // MISSING
+		noUrl			: 'សូមសរសេរ អាស័យដ្ឋាន URL',
+		noEmail			: 'សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'បន្ថែម/កែប្រែ យុថ្កា',
+		menu		: 'ការកំណត់យុថ្កា',
+		title		: 'ការកំណត់យុថ្កា',
+		name		: 'ឈ្មោះយុទ្ធថ្កា',
+		errorName	: 'សូមសរសេរ ឈ្មោះយុទ្ធថ្កា'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'ស្វែងរក',
+		replace				: 'ជំនួស',
+		findWhat			: 'ស្វែងរកអ្វី:',
+		replaceWith			: 'ជំនួសជាមួយ:',
+		notFoundMsg			: 'ពាក្យនេះ រកមិនឃើញទេ ។',
+		matchCase			: 'ករណ៉ត្រូវរក',
+		matchWord			: 'ត្រូវពាក្យទាំងអស់',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'ជំនួសទាំងអស់',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'តារាង',
+		title		: 'ការកំណត់ តារាង',
+		menu		: 'ការកំណត់ តារាង',
+		deleteTable	: 'លប់តារាង',
+		rows		: 'ជួរផ្តេក',
+		columns		: 'ជួរឈរ',
+		border		: 'ទំហំស៊ុម',
+		align		: 'ការកំណត់ទីតាំង',
+		alignNotSet	: '<មិនកំណត់>',
+		alignLeft	: 'ខាងឆ្វេង',
+		alignCenter	: 'កណ្តាល',
+		alignRight	: 'ខាងស្តាំ',
+		width		: 'ទទឹង',
+		widthPx		: 'ភីកសែល',
+		widthPc		: 'ភាគរយ',
+		height		: 'កំពស់',
+		cellSpace	: 'គំលាតសែល',
+		cellPad		: 'គែមសែល',
+		caption		: 'ចំណងជើង',
+		summary		: 'សេចក្តីសង្ខេប',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'លប់សែល',
+			merge			: 'បញ្ជូលសែល',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'លប់ជួរផ្តេក'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'លប់ជួរឈរ'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'ការកំណត់ ប៉ូតុន',
+		text		: 'អត្ថបទ(តំលៃ)',
+		type		: 'ប្រភេទ',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'ការកំណត់ប្រអប់ជ្រើសរើស',
+		radioTitle	: 'ការកំណត់ប៉ូតុនរង្វង់',
+		value		: 'តំលៃ',
+		selected	: 'បានជ្រើសរើស'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'ការកំណត់បែបបទ',
+		menu		: 'ការកំណត់បែបបទ',
+		action		: 'សកម្មភាព',
+		method		: 'វិធី',
+		encoding	: 'Encoding', // MISSING
+		target		: 'គោលដៅ',
+		targetNotSet	: '<មិនមែន>',
+		targetNew	: 'វីនដូវថ្មី (_blank)',
+		targetTop	: 'វីនដូវនៅលើគេ(_top)',
+		targetSelf	: 'វីនដូវដដែល (_self)',
+		targetParent	: 'វីនដូវមេ (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'ការកំណត់ជួរជ្រើសរើស',
+		selectInfo	: 'ពត៌មាន',
+		opAvail		: 'ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន',
+		value		: 'តំលៃ',
+		size		: 'ទំហំ',
+		lines		: 'បន្ទាត់',
+		chkMulti	: 'អនុញ្ញាតអោយជ្រើសរើសច្រើន',
+		opText		: 'ពាក្យ',
+		opValue		: 'តំលៃ',
+		btnAdd		: 'បន្ថែម',
+		btnModify	: 'ផ្លាស់ប្តូរ',
+		btnUp		: 'លើ',
+		btnDown		: 'ក្រោម',
+		btnSetValue : 'Set as selected value', // MISSING
+		btnDelete	: 'លប់'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'ការកំណត់កន្លែងសរសេរអត្ថបទ',
+		cols		: 'ជូរឈរ',
+		rows		: 'ជូរផ្តេក'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'ការកំណត់ជួរអត្ថបទ',
+		name		: 'ឈ្មោះ',
+		value		: 'តំលៃ',
+		charWidth	: 'ទទឹង អក្សរ',
+		maxChars	: 'អក្សរអតិបរិមា',
+		type		: 'ប្រភេទ',
+		typeText	: 'ពាក្យ',
+		typePass	: 'ពាក្យសំងាត់'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'ការកំណត់ជួរលាក់',
+		name	: 'ឈ្មោះ',
+		value	: 'តំលៃ'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'ការកំណត់រូបភាព',
+		titleButton	: 'ការកំណត់ប៉ូតុនរូបភាព',
+		menu		: 'ការកំណត់រូបភាព',
+		infoTab	: 'ពត៌មានអំពីរូបភាព',
+		btnUpload	: 'បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា',
+		url		: 'URL',
+		upload	: 'ទាញយក',
+		alt		: 'អត្ថបទជំនួស',
+		width		: 'ទទឹង',
+		height	: 'កំពស់',
+		lockRatio	: 'អត្រាឡុក',
+		resetSize	: 'កំណត់ទំហំឡើងវិញ',
+		border	: 'ស៊ុម',
+		hSpace	: 'គំលាតទទឹង',
+		vSpace	: 'គំលាតបណ្តោយ',
+		align		: 'កំណត់ទីតាំង',
+		alignLeft	: 'ខាងឆ្វង',
+		alignRight	: 'ខាងស្តាំ',
+		preview	: 'មើលសាកល្បង',
+		alertUrl	: 'សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព',
+		linkTab	: 'ឈ្នាប់',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'ការកំណត់ Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'ការកំណត់ Flash',
+		chkPlay		: 'លេងដោយស្វ័យប្រវត្ត',
+		chkLoop		: 'ចំនួនដង',
+		chkMenu		: 'បង្ហាញ មឺនុយរបស់ Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'ទំហំ',
+		scaleAll		: 'បង្ហាញទាំងអស់',
+		scaleNoBorder	: 'មិនបង្ហាញស៊ុម',
+		scaleFit		: 'ត្រូវល្មម',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'កំណត់ទីតាំង',
+		alignLeft	: 'ខាងឆ្វង',
+		alignAbsBottom: 'Abs Bottom', // MISSING
+		alignAbsMiddle: 'Abs Middle', // MISSING
+		alignBaseline	: 'បន្ទាត់ជាមូលដ្ឋាន',
+		alignBottom	: 'ខាងក្រោម',
+		alignMiddle	: 'កណ្តាល',
+		alignRight	: 'ខាងស្តាំ',
+		alignTextTop	: 'លើអត្ថបទ',
+		alignTop	: 'ខាងលើ',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'ពណ៌ផ្ទៃខាងក្រោយ',
+		width	: 'ទទឹង',
+		height	: 'កំពស់',
+		hSpace	: 'គំលាតទទឹង',
+		vSpace	: 'គំលាតបណ្តោយ',
+		validateSrc : 'សូមសរសេរ អាស័យដ្ឋាន URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'ពិនិត្យអក្ខរាវិរុទ្ធ',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'គ្មានក្នុងវចនានុក្រម',
+		changeTo		: 'ផ្លាស់ប្តូរទៅ',
+		btnIgnore		: 'មិនផ្លាស់ប្តូរ',
+		btnIgnoreAll	: 'មិនផ្លាស់ប្តូរ ទាំងអស់',
+		btnReplace		: 'ជំនួស',
+		btnReplaceAll	: 'ជំនួសទាំងអស់',
+		btnUndo			: 'សារឡើងវិញ',
+		noSuggestions	: '- គ្មានសំណើរ -',
+		progress		: 'កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...',
+		noMispell		: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស',
+		noChanges		: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ',
+		oneChange		: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ',
+		manyChanges		: 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ',
+		ieSpellDownload	: 'ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'រូបភាព',
+		title	: 'បញ្ជូលរូបភាព'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'បញ្ជីជាអក្សរ',
+	bulletedlist : 'បញ្ជីជារង្វង់មូល',
+	indent : 'បន្ថែមការចូលបន្ទាត់',
+	outdent : 'បន្ថយការចូលបន្ទាត់',
+
+	justify :
+	{
+		left : 'តំរឹមឆ្វេង',
+		center : 'តំរឹមកណ្តាល',
+		right : 'តំរឹមស្តាំ',
+		block : 'តំរឹមសងខាង'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'ចំលងដាក់',
+		cutError	: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ\u200bមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ  (Ctrl+X) ។',
+		copyError	: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ\u200bមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+C)។',
+		pasteMsg	: 'សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី \u200b(<STRONG>Ctrl+V</STRONG>) ហើយចុច <STRONG>OK</STRONG> ។',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'ចំលងដាក់ពី Word',
+		title : 'ចំលងដាក់ពី Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'ចំលងដាក់អត្ថបទធម្មតា',
+		title : 'ចំលងដាក់អត្ថបទធម្មតា'
+	},
+
+	templates :
+	{
+		button : 'ឯកសារគំរូ',
+		title : 'ឯកសារគំរូ របស់អត្ថន័យ',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ<br>(អត្ថបទនឹងបាត់បង់):',
+		emptyListMsg : '(ពុំមានឯកសារគំរូត្រូវបានកំណត់)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'ម៉ូត',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'រចនា',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'រចនា',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'ហ្វុង',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'ហ្វុង',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'ទំហំ',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'ទំហំ',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'ពណ៌អក្សរ',
+		bgColorTitle : 'ពណ៌ផ្ទៃខាងក្រោយ',
+		auto : 'ស្វ័យប្រវត្ត',
+		more : 'ពណ៌ផ្សេងទៀត..'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ko.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ko.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ko.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Korean language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ko'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: '소스',
+	newPage			: '새 문서',
+	save			: '저장하기',
+	preview			: '미리보기',
+	cut				: '잘라내기',
+	copy			: '복사하기',
+	paste			: '붙여넣기',
+	print			: '인쇄하기',
+	underline		: '밑줄',
+	bold			: '진하게',
+	italic			: '이텔릭',
+	selectAll		: '전체선택',
+	removeFormat	: '포맷 지우기',
+	strike			: '취소선',
+	subscript		: '아래 첨자',
+	superscript		: '위 첨자',
+	horizontalrule	: '수평선 삽입',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: '링크 삭제',
+	undo			: '취소',
+	redo			: '재실행',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: '서버 보기',
+		url				: 'URL',
+		protocol		: '프로토콜',
+		upload			: '업로드',
+		uploadSubmit	: '서버로 전송',
+		image			: '이미지',
+		flash			: '플래쉬',
+		form			: '폼',
+		checkbox		: '체크박스',
+		radio		: '라디오버튼',
+		textField		: '입력필드',
+		textarea		: '입력영역',
+		hiddenField		: '숨김필드',
+		button			: '버튼',
+		select	: '펼침목록',
+		imageButton		: '이미지버튼',
+		notSet			: '<설정되지 않음>',
+		id				: 'ID',
+		name			: 'Name',
+		langDir			: '쓰기 방향',
+		langDirLtr		: '왼쪽에서 오른쪽 (LTR)',
+		langDirRtl		: '오른쪽에서 왼쪽 (RTL)',
+		langCode		: '언어 코드',
+		longDescr		: 'URL 설명',
+		cssClass		: 'Stylesheet Classes',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Style',
+		ok				: '예',
+		cancel			: '아니오',
+		generalTab		: 'General', // MISSING
+		advancedTab		: '자세히',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: '특수문자 삽입',
+		title		: '특수문자 선택'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: '링크 삽입/변경',
+		menu		: '링크 수정',
+		title		: '링크',
+		info		: '링크 정보',
+		target		: '타겟',
+		upload		: '업로드',
+		advanced	: '자세히',
+		type		: '링크 종류',
+		toAnchor	: '책갈피',
+		toEmail		: '이메일',
+		target		: '타겟',
+		targetNotSet	: '<설정되지 않음>',
+		targetFrame	: '<프레임>',
+		targetPopup	: '<팝업창>',
+		targetNew	: '새 창 (_blank)',
+		targetTop	: '최 상위 창 (_top)',
+		targetSelf	: '현재 창 (_self)',
+		targetParent	: '부모 창 (_parent)',
+		targetFrameName	: '타겟 프레임 이름',
+		targetPopupName	: '팝업창 이름',
+		popupFeatures	: '팝업창 설정',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: '상태바',
+		popupLocationBar	: '주소표시줄',
+		popupToolbar	: '툴바',
+		popupMenuBar	: '메뉴바',
+		popupFullScreen	: '전체화면 (IE)',
+		popupScrollBars	: '스크롤바',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: '너비',
+		popupLeft		: '왼쪽 위치',
+		popupHeight		: '높이',
+		popupTop		: '윗쪽 위치',
+		id				: 'Id', // MISSING
+		langDir			: '쓰기 방향',
+		langDirNotSet	: '<설정되지 않음>',
+		langDirLTR		: '왼쪽에서 오른쪽 (LTR)',
+		langDirRTL		: '오른쪽에서 왼쪽 (RTL)',
+		acccessKey		: '엑세스 키',
+		name			: 'Name',
+		langCode		: '쓰기 방향',
+		tabIndex		: '탭 순서',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Stylesheet Classes',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Style',
+		selectAnchor	: '책갈피 선택',
+		anchorName		: '책갈피 이름',
+		anchorId		: '책갈피 ID',
+		emailAddress	: '이메일 주소',
+		emailSubject	: '제목',
+		emailBody		: '내용',
+		noAnchors		: '(문서에 책갈피가 없습니다.)',
+		noUrl			: '링크 URL을 입력하십시요.',
+		noEmail			: '이메일주소를 입력하십시요.'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: '책갈피 삽입/변경',
+		menu		: '책갈피 속성',
+		title		: '책갈피 속성',
+		name		: '책갈피 이름',
+		errorName	: '책갈피 이름을 입력하십시요.'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: '찾기 & 바꾸기',
+		find				: '찾기',
+		replace				: '바꾸기',
+		findWhat			: '찾을 문자열:',
+		replaceWith			: '바꿀 문자열:',
+		notFoundMsg			: '문자열을 찾을 수 없습니다.',
+		matchCase			: '대소문자 구분',
+		matchWord			: '온전한 단어',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: '모두 바꾸기',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: '표',
+		title		: '표 설정',
+		menu		: '표 설정',
+		deleteTable	: '표 삭제',
+		rows		: '가로줄',
+		columns		: '세로줄',
+		border		: '테두리 크기',
+		align		: '정렬',
+		alignNotSet	: '<설정되지 않음>',
+		alignLeft	: '왼쪽',
+		alignCenter	: '가운데',
+		alignRight	: '오른쪽',
+		width		: '너비',
+		widthPx		: '픽셀',
+		widthPc		: '퍼센트',
+		height		: '높이',
+		cellSpace	: '셀 간격',
+		cellPad		: '셀 여백',
+		caption		: '캡션',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: '셀/칸(Cell)',
+			insertBefore	: '앞에 셀/칸 삽입',
+			insertAfter		: '뒤에 셀/칸 삽입',
+			deleteCell		: '셀 삭제',
+			merge			: '셀 합치기',
+			mergeRight		: '오른쪽 뭉치기',
+			mergeDown		: '왼쪽 뭉치기',
+			splitHorizontal	: '수평 나누기',
+			splitVertical	: '수직 나누기',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: '행(Row)',
+			insertBefore	: '앞에 행 삽입',
+			insertAfter		: '뒤에 행 삽입',
+			deleteRow		: '가로줄 삭제'
+		},
+
+		column :
+		{
+			menu			: '열(Column)',
+			insertBefore	: '앞에 열 삽입',
+			insertAfter		: '뒤에 열 삽입',
+			deleteColumn	: '세로줄 삭제'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: '버튼 속성',
+		text		: '버튼글자(값)',
+		type		: '버튼종류',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : '체크박스 속성',
+		radioTitle	: '라디오버튼 속성',
+		value		: '값',
+		selected	: '선택됨'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: '폼 속성',
+		menu		: '폼 속성',
+		action		: '실행경로(Action)',
+		method		: '방법(Method)',
+		encoding	: 'Encoding', // MISSING
+		target		: '타겟',
+		targetNotSet	: '<설정되지 않음>',
+		targetNew	: '새 창 (_blank)',
+		targetTop	: '최 상위 창 (_top)',
+		targetSelf	: '현재 창 (_self)',
+		targetParent	: '부모 창 (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: '펼침목록 속성',
+		selectInfo	: '정보',
+		opAvail		: '선택옵션',
+		value		: '값',
+		size		: '세로크기',
+		lines		: '줄',
+		chkMulti	: '여러항목 선택 허용',
+		opText		: '이름',
+		opValue		: '값',
+		btnAdd		: '추가',
+		btnModify	: '변경',
+		btnUp		: '위로',
+		btnDown		: '아래로',
+		btnSetValue : '선택된것으로 설정',
+		btnDelete	: '삭제'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: '입력영역 속성',
+		cols		: '칸수',
+		rows		: '줄수'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: '입력필드 속성',
+		name		: '이름',
+		value		: '값',
+		charWidth	: '글자 너비',
+		maxChars	: '최대 글자수',
+		type		: '종류',
+		typeText	: '문자열',
+		typePass	: '비밀번호'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: '숨김필드 속성',
+		name	: '이름',
+		value	: '값'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: '이미지 설정',
+		titleButton	: '이미지버튼 속성',
+		menu		: '이미지 설정',
+		infoTab	: '이미지 정보',
+		btnUpload	: '서버로 전송',
+		url		: 'URL',
+		upload	: '업로드',
+		alt		: '이미지 설명',
+		width		: '너비',
+		height	: '높이',
+		lockRatio	: '비율 유지',
+		resetSize	: '원래 크기로',
+		border	: '테두리',
+		hSpace	: '수평여백',
+		vSpace	: '수직여백',
+		align		: '정렬',
+		alignLeft	: '왼쪽',
+		alignRight	: '오른쪽',
+		preview	: '미리보기',
+		alertUrl	: '이미지 URL을 입력하십시요',
+		linkTab	: '링크',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: '플래쉬 속성',
+		propertiesTab	: 'Properties', // MISSING
+		title		: '플래쉬 등록정보',
+		chkPlay		: '자동재생',
+		chkLoop		: '반복',
+		chkMenu		: '플래쉬메뉴 가능',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: '영역',
+		scaleAll		: '모두보기',
+		scaleNoBorder	: '경계선없음',
+		scaleFit		: '영역자동조절',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: '정렬',
+		alignLeft	: '왼쪽',
+		alignAbsBottom: '줄아래(Abs Bottom)',
+		alignAbsMiddle: '줄중간(Abs Middle)',
+		alignBaseline	: '기준선',
+		alignBottom	: '아래',
+		alignMiddle	: '중간',
+		alignRight	: '오른쪽',
+		alignTextTop	: '글자상단',
+		alignTop	: '위',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: '배경 색상',
+		width	: '너비',
+		height	: '높이',
+		hSpace	: '수평여백',
+		vSpace	: '수직여백',
+		validateSrc : '링크 URL을 입력하십시요.',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: '철자검사',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: '사전에 없는 단어',
+		changeTo		: '변경할 단어',
+		btnIgnore		: '건너뜀',
+		btnIgnoreAll	: '모두 건너뜀',
+		btnReplace		: '변경',
+		btnReplaceAll	: '모두 변경',
+		btnUndo			: '취소',
+		noSuggestions	: '- 추천단어 없음 -',
+		progress		: '철자검사를 진행중입니다...',
+		noMispell		: '철자검사 완료: 잘못된 철자가 없습니다.',
+		noChanges		: '철자검사 완료: 변경된 단어가 없습니다.',
+		oneChange		: '철자검사 완료: 단어가 변경되었습니다.',
+		manyChanges		: '철자검사 완료: %1 단어가 변경되었습니다.',
+		ieSpellDownload	: '철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?'
+	},
+
+	smiley :
+	{
+		toolbar	: '아이콘',
+		title	: '아이콘 삽입'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : '순서있는 목록',
+	bulletedlist : '순서없는 목록',
+	indent : '들여쓰기',
+	outdent : '내어쓰기',
+
+	justify :
+	{
+		left : '왼쪽 정렬',
+		center : '가운데 정렬',
+		right : '오른쪽 정렬',
+		block : '양쪽 맞춤'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: '붙여넣기',
+		cutError	: '브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+X).',
+		copyError	: '브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요.  (Ctrl+C).',
+		pasteMsg	: '키보드의 (<STRONG>Ctrl+V</STRONG>) 를 이용해서 상자안에 붙여넣고 <STRONG>OK</STRONG> 를 누르세요.',
+		securityMsg	: '브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'MS Word 형식에서 붙여넣기',
+		title : 'MS Word 형식에서 붙여넣기',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : '텍스트로 붙여넣기',
+		title : '텍스트로 붙여넣기'
+	},
+
+	templates :
+	{
+		button : '템플릿',
+		title : '내용 템플릿',
+		insertOption: '현재 내용 바꾸기',
+		selectPromptMsg: '에디터에서 사용할 템플릿을 선택하십시요.<br>(지금까지 작성된 내용은 사라집니다.):',
+		emptyListMsg : '(템플릿이 없습니다.)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : '스타일',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : '포맷',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : '포맷',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : '폰트',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : '폰트',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : '글자 크기',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : '글자 크기',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : '글자 색상',
+		bgColorTitle : '배경 색상',
+		auto : '기본색상',
+		more : '색상선택...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/lt.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/lt.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/lt.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Lithuanian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['lt'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Šaltinis',
+	newPage			: 'Naujas puslapis',
+	save			: 'Išsaugoti',
+	preview			: 'Peržiūra',
+	cut				: 'Iškirpti',
+	copy			: 'Kopijuoti',
+	paste			: 'Įdėti',
+	print			: 'Spausdinti',
+	underline		: 'Pabrauktas',
+	bold			: 'Pusjuodis',
+	italic			: 'Kursyvas',
+	selectAll		: 'Pažymėti viską',
+	removeFormat	: 'Panaikinti formatą',
+	strike			: 'Perbrauktas',
+	subscript		: 'Apatinis indeksas',
+	superscript		: 'Viršutinis indeksas',
+	horizontalrule	: 'Įterpti horizontalią liniją',
+	pagebreak		: 'Įterpti puslapių skirtuką',
+	unlink			: 'Panaikinti nuorodą',
+	undo			: 'Atšaukti',
+	redo			: 'Atstatyti',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Naršyti po serverį',
+		url				: 'URL',
+		protocol		: 'Protokolas',
+		upload			: 'Siųsti',
+		uploadSubmit	: 'Siųsti į serverį',
+		image			: 'Vaizdas',
+		flash			: 'Flash',
+		form			: 'Forma',
+		checkbox		: 'Žymimasis langelis',
+		radio		: 'Žymimoji akutė',
+		textField		: 'Teksto laukas',
+		textarea		: 'Teksto sritis',
+		hiddenField		: 'Nerodomas laukas',
+		button			: 'Mygtukas',
+		select	: 'Atrankos laukas',
+		imageButton		: 'Vaizdinis mygtukas',
+		notSet			: '<nėra nustatyta>',
+		id				: 'Id',
+		name			: 'Vardas',
+		langDir			: 'Teksto kryptis',
+		langDirLtr		: 'Iš kairės į dešinę (LTR)',
+		langDirRtl		: 'Iš dešinės į kairę (RTL)',
+		langCode		: 'Kalbos kodas',
+		longDescr		: 'Ilgas aprašymas URL',
+		cssClass		: 'Stilių lentelės klasės',
+		advisoryTitle	: 'Konsultacinė antraštė',
+		cssStyle		: 'Stilius',
+		ok				: 'OK',
+		cancel			: 'Nutraukti',
+		generalTab		: 'Bendros savybės',
+		advancedTab		: 'Papildomas',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Įterpti specialų simbolį',
+		title		: 'Pasirinkite specialų simbolį'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Įterpti/taisyti nuorodą',
+		menu		: 'Taisyti nuorodą',
+		title		: 'Nuoroda',
+		info		: 'Nuorodos informacija',
+		target		: 'Paskirties vieta',
+		upload		: 'Siųsti',
+		advanced	: 'Papildomas',
+		type		: 'Nuorodos tipas',
+		toAnchor	: 'Žymė šiame puslapyje',
+		toEmail		: 'El.paštas',
+		target		: 'Paskirties vieta',
+		targetNotSet	: '<nėra nustatyta>',
+		targetFrame	: '<kadras>',
+		targetPopup	: '<išskleidžiamas langas>',
+		targetNew	: 'Naujas langas (_blank)',
+		targetTop	: 'Svarbiausias langas (_top)',
+		targetSelf	: 'Tas pats langas (_self)',
+		targetParent	: 'Pirminis langas (_parent)',
+		targetFrameName	: 'Paskirties kadro vardas',
+		targetPopupName	: 'Paskirties lango vardas',
+		popupFeatures	: 'Išskleidžiamo lango savybės',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Būsenos juosta',
+		popupLocationBar	: 'Adreso juosta',
+		popupToolbar	: 'Mygtukų juosta',
+		popupMenuBar	: 'Meniu juosta',
+		popupFullScreen	: 'Visas ekranas (IE)',
+		popupScrollBars	: 'Slinkties juostos',
+		popupDependent	: 'Priklausomas (Netscape)',
+		popupWidth		: 'Plotis',
+		popupLeft		: 'Kairė pozicija',
+		popupHeight		: 'Aukštis',
+		popupTop		: 'Viršutinė pozicija',
+		id				: 'Id', // MISSING
+		langDir			: 'Teksto kryptis',
+		langDirNotSet	: '<nėra nustatyta>',
+		langDirLTR		: 'Iš kairės į dešinę (LTR)',
+		langDirRTL		: 'Iš dešinės į kairę (RTL)',
+		acccessKey		: 'Prieigos raktas',
+		name			: 'Vardas',
+		langCode		: 'Teksto kryptis',
+		tabIndex		: 'Tabuliavimo indeksas',
+		advisoryTitle	: 'Konsultacinė antraštė',
+		advisoryContentType	: 'Konsultacinio turinio tipas',
+		cssClasses		: 'Stilių lentelės klasės',
+		charset			: 'Susietų išteklių simbolių lentelė',
+		styles			: 'Stilius',
+		selectAnchor	: 'Pasirinkite žymę',
+		anchorName		: 'Pagal žymės vardą',
+		anchorId		: 'Pagal žymės Id',
+		emailAddress	: 'El.pašto adresas',
+		emailSubject	: 'Žinutės tema',
+		emailBody		: 'Žinutės turinys',
+		noAnchors		: '(Šiame dokumente žymių nėra)',
+		noUrl			: 'Prašome įvesti nuorodos URL',
+		noEmail			: 'Prašome įvesti el.pašto adresą'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Įterpti/modifikuoti žymę',
+		menu		: 'Žymės savybės',
+		title		: 'Žymės savybės',
+		name		: 'Žymės vardas',
+		errorName	: 'Prašome įvesti žymės vardą'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Surasti ir pakeisti',
+		find				: 'Rasti',
+		replace				: 'Pakeisti',
+		findWhat			: 'Surasti tekstą:',
+		replaceWith			: 'Pakeisti tekstu:',
+		notFoundMsg			: 'Nurodytas tekstas nerastas.',
+		matchCase			: 'Skirti didžiąsias ir mažąsias raides',
+		matchWord			: 'Atitikti pilną žodį',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Pakeisti viską',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Lentelė',
+		title		: 'Lentelės savybės',
+		menu		: 'Lentelės savybės',
+		deleteTable	: 'Šalinti lentelę',
+		rows		: 'Eilutės',
+		columns		: 'Stulpeliai',
+		border		: 'Rėmelio dydis',
+		align		: 'Lygiuoti',
+		alignNotSet	: '<Nenustatyta>',
+		alignLeft	: 'Kairę',
+		alignCenter	: 'Centrą',
+		alignRight	: 'Dešinę',
+		width		: 'Plotis',
+		widthPx		: 'taškais',
+		widthPc		: 'procentais',
+		height		: 'Aukštis',
+		cellSpace	: 'Tarpas tarp langelių',
+		cellPad		: 'Trapas nuo langelio rėmo iki teksto',
+		caption		: 'Antraštė',
+		summary		: 'Santrauka',
+		headers		: 'Antraštės',
+		headersNone		: 'Nėra',
+		headersColumn	: 'Pirmas stulpelis',
+		headersRow		: 'Pirma eilutė',
+		headersBoth		: 'Abu',
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Langelis',
+			insertBefore	: 'Įterpti langelį prieš',
+			insertAfter		: 'Įterpti langelį po',
+			deleteCell		: 'Šalinti langelius',
+			merge			: 'Sujungti langelius',
+			mergeRight		: 'Sujungti su dešine',
+			mergeDown		: 'Sujungti su apačia',
+			splitHorizontal	: 'Skaidyti langelį horizontaliai',
+			splitVertical	: 'Skaidyti langelį vertikaliai',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Eilutė',
+			insertBefore	: 'Įterpti eilutę prieš',
+			insertAfter		: 'Įterpti eilutę po',
+			deleteRow		: 'Šalinti eilutes'
+		},
+
+		column :
+		{
+			menu			: 'Stulpelis',
+			insertBefore	: 'Įterpti stulpelį prieš',
+			insertAfter		: 'Įterpti stulpelį po',
+			deleteColumn	: 'Šalinti stulpelius'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Mygtuko savybės',
+		text		: 'Tekstas (Reikšmė)',
+		type		: 'Tipas',
+		typeBtn		: 'Mygtukas',
+		typeSbm		: 'Siųsti',
+		typeRst		: 'Išvalyti'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Žymimojo langelio savybės',
+		radioTitle	: 'Žymimosios akutės savybės',
+		value		: 'Reikšmė',
+		selected	: 'Pažymėtas'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formos savybės',
+		menu		: 'Formos savybės',
+		action		: 'Veiksmas',
+		method		: 'Metodas',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Paskirties vieta',
+		targetNotSet	: '<nėra nustatyta>',
+		targetNew	: 'Naujas langas (_blank)',
+		targetTop	: 'Svarbiausias langas (_top)',
+		targetSelf	: 'Tas pats langas (_self)',
+		targetParent	: 'Pirminis langas (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Atrankos lauko savybės',
+		selectInfo	: 'Informacija',
+		opAvail		: 'Galimos parinktys',
+		value		: 'Reikšmė',
+		size		: 'Dydis',
+		lines		: 'eilučių',
+		chkMulti	: 'Leisti daugeriopą atranką',
+		opText		: 'Tekstas',
+		opValue		: 'Reikšmė',
+		btnAdd		: 'Įtraukti',
+		btnModify	: 'Modifikuoti',
+		btnUp		: 'Aukštyn',
+		btnDown		: 'Žemyn',
+		btnSetValue : 'Laikyti pažymėta reikšme',
+		btnDelete	: 'Trinti'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Teksto srities savybės',
+		cols		: 'Ilgis',
+		rows		: 'Plotis'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Teksto lauko savybės',
+		name		: 'Vardas',
+		value		: 'Reikšmė',
+		charWidth	: 'Ilgis simboliais',
+		maxChars	: 'Maksimalus simbolių skaičius',
+		type		: 'Tipas',
+		typeText	: 'Tekstas',
+		typePass	: 'Slaptažodis'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Nerodomo lauko savybės',
+		name	: 'Vardas',
+		value	: 'Reikšmė'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Vaizdo savybės',
+		titleButton	: 'Vaizdinio mygtuko savybės',
+		menu		: 'Vaizdo savybės',
+		infoTab	: 'Vaizdo informacija',
+		btnUpload	: 'Siųsti į serverį',
+		url		: 'URL',
+		upload	: 'Nusiųsti',
+		alt		: 'Alternatyvus Tekstas',
+		width		: 'Plotis',
+		height	: 'Aukštis',
+		lockRatio	: 'Išlaikyti proporciją',
+		resetSize	: 'Atstatyti dydį',
+		border	: 'Rėmelis',
+		hSpace	: 'Hor.Erdvė',
+		vSpace	: 'Vert.Erdvė',
+		align		: 'Lygiuoti',
+		alignLeft	: 'Kairę',
+		alignRight	: 'Dešinę',
+		preview	: 'Peržiūra',
+		alertUrl	: 'Prašome įvesti vaizdo URL',
+		linkTab	: 'Nuoroda',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash savybės',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash savybės',
+		chkPlay		: 'Automatinis paleidimas',
+		chkLoop		: 'Ciklas',
+		chkMenu		: 'Leisti Flash meniu',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Mastelis',
+		scaleAll		: 'Rodyti visą',
+		scaleNoBorder	: 'Be rėmelio',
+		scaleFit		: 'Tikslus atitikimas',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Lygiuoti',
+		alignLeft	: 'Kairę',
+		alignAbsBottom: 'Absoliučią apačią',
+		alignAbsMiddle: 'Absoliutų vidurį',
+		alignBaseline	: 'Apatinę liniją',
+		alignBottom	: 'Apačią',
+		alignMiddle	: 'Vidurį',
+		alignRight	: 'Dešinę',
+		alignTextTop	: 'Teksto viršūnę',
+		alignTop	: 'Viršūnę',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Fono spalva',
+		width	: 'Plotis',
+		height	: 'Aukštis',
+		hSpace	: 'Hor.Erdvė',
+		vSpace	: 'Vert.Erdvė',
+		validateSrc : 'Prašome įvesti nuorodos URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Rašybos tikrinimas',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Žodyne nerastas',
+		changeTo		: 'Pakeisti į',
+		btnIgnore		: 'Ignoruoti',
+		btnIgnoreAll	: 'Ignoruoti visus',
+		btnReplace		: 'Pakeisti',
+		btnReplaceAll	: 'Pakeisti visus',
+		btnUndo			: 'Atšaukti',
+		noSuggestions	: '- Nėra pasiūlymų -',
+		progress		: 'Vyksta rašybos tikrinimas...',
+		noMispell		: 'Rašybos tikrinimas baigtas: Nerasta rašybos klaidų',
+		noChanges		: 'Rašybos tikrinimas baigtas: Nėra pakeistų žodžių',
+		oneChange		: 'Rašybos tikrinimas baigtas: Vienas žodis pakeistas',
+		manyChanges		: 'Rašybos tikrinimas baigtas: Pakeista %1 žodžių',
+		ieSpellDownload	: 'Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį dabar atsisiųsti?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Veideliai',
+		title	: 'Įterpti veidelį'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numeruotas sąrašas',
+	bulletedlist : 'Suženklintas sąrašas',
+	indent : 'Padidinti įtrauką',
+	outdent : 'Sumažinti įtrauką',
+
+	justify :
+	{
+		left : 'Lygiuoti kairę',
+		center : 'Centruoti',
+		right : 'Lygiuoti dešinę',
+		block : 'Lygiuoti abi puses'
+	},
+
+	blockquote : 'Citata',
+
+	clipboard :
+	{
+		title		: 'Įdėti',
+		cutError	: 'Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti iškirpimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+X).',
+		copyError	: 'Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti kopijavimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+C).',
+		pasteMsg	: 'Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (<STRONG>Ctrl+V</STRONG>) ir paspauskite mygtuką <STRONG>OK</STRONG>.',
+		securityMsg	: 'Dėl jūsų naršyklės saugumo nustatymų, redaktorius negali tiesiogiai pasiekti laikinosios atminties. Jums reikia nukopijuoti dar kartą į šį langą.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Įdėti iš Word',
+		title : 'Įdėti iš Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Įdėti kaip gryną tekstą',
+		title : 'Įdėti kaip gryną tekstą'
+	},
+
+	templates :
+	{
+		button : 'Šablonai',
+		title : 'Turinio šablonai',
+		insertOption: 'Pakeisti dabartinį turinį pasirinktu šablonu',
+		selectPromptMsg: 'Pasirinkite norimą šabloną<br>(<b>Dėmesio!</b> esamas turinys bus prarastas):',
+		emptyListMsg : '(Šablonų sąrašas tuščias)'
+	},
+
+	showBlocks : 'Rodyti blokus',
+
+	stylesCombo :
+	{
+		label : 'Stilius',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Šrifto formatas',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Šrifto formatas',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normalus',
+		tag_pre : 'Formuotas',
+		tag_address : 'Kreipinio',
+		tag_h1 : 'Antraštinis 1',
+		tag_h2 : 'Antraštinis 2',
+		tag_h3 : 'Antraštinis 3',
+		tag_h4 : 'Antraštinis 4',
+		tag_h5 : 'Antraštinis 5',
+		tag_h6 : 'Antraštinis 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Šriftas',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Šriftas',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Šrifto dydis',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Šrifto dydis',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Teksto spalva',
+		bgColorTitle : 'Fono spalva',
+		auto : 'Automatinis',
+		more : 'Daugiau spalvų...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/lv.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/lv.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/lv.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Latvian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['lv'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'HTML kods',
+	newPage			: 'Jauna lapa',
+	save			: 'Saglabāt',
+	preview			: 'Pārskatīt',
+	cut				: 'Izgriezt',
+	copy			: 'Kopēt',
+	paste			: 'Ievietot',
+	print			: 'Drukāt',
+	underline		: 'Apakšsvītra',
+	bold			: 'Treknu šriftu',
+	italic			: 'Slīprakstā',
+	selectAll		: 'Iezīmēt visu',
+	removeFormat	: 'Noņemt stilus',
+	strike			: 'Pārsvītrots',
+	subscript		: 'Zemrakstā',
+	superscript		: 'Augšrakstā',
+	horizontalrule	: 'Ievietot horizontālu Atdalītājsvītru',
+	pagebreak		: 'Ievietot lapas pārtraukumu',
+	unlink			: 'Noņemt hipersaiti',
+	undo			: 'Atcelt',
+	redo			: 'Atkārtot',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Skatīt servera saturu',
+		url				: 'URL',
+		protocol		: 'Protokols',
+		upload			: 'Augšupielādēt',
+		uploadSubmit	: 'Nosūtīt serverim',
+		image			: 'Attēls',
+		flash			: 'Flash',
+		form			: 'Forma',
+		checkbox		: 'Atzīmēšanas kastīte',
+		radio		: 'Izvēles poga',
+		textField		: 'Teksta rinda',
+		textarea		: 'Teksta laukums',
+		hiddenField		: 'Paslēpta teksta rinda',
+		button			: 'Poga',
+		select	: 'Iezīmēšanas lauks',
+		imageButton		: 'Attēlpoga',
+		notSet			: '<nav iestatīts>',
+		id				: 'Id',
+		name			: 'Nosaukums',
+		langDir			: 'Valodas lasīšanas virziens',
+		langDirLtr		: 'No kreisās uz labo (LTR)',
+		langDirRtl		: 'No labās uz kreiso (RTL)',
+		langCode		: 'Valodas kods',
+		longDescr		: 'Gara apraksta Hipersaite',
+		cssClass		: 'Stilu saraksta klases',
+		advisoryTitle	: 'Konsultatīvs virsraksts',
+		cssStyle		: 'Stils',
+		ok				: 'Darīts!',
+		cancel			: 'Atcelt',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Izvērstais',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Ievietot speciālo simbolu',
+		title		: 'Ievietot īpašu simbolu'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Ievietot/Labot hipersaiti',
+		menu		: 'Labot hipersaiti',
+		title		: 'Hipersaite',
+		info		: 'Hipersaites informācija',
+		target		: 'Mērķis',
+		upload		: 'Augšupielādēt',
+		advanced	: 'Izvērstais',
+		type		: 'Hipersaites tips',
+		toAnchor	: 'Iezīme šajā lapā',
+		toEmail		: 'E-pasts',
+		target		: 'Mērķis',
+		targetNotSet	: '<nav iestatīts>',
+		targetFrame	: '<ietvars>',
+		targetPopup	: '<uznirstošā logā>',
+		targetNew	: 'Jaunā logā (_blank)',
+		targetTop	: 'Visredzamākajā logā (_top)',
+		targetSelf	: 'Tajā pašā logā (_self)',
+		targetParent	: 'Esošajā logā (_parent)',
+		targetFrameName	: 'Mērķa ietvara nosaukums',
+		targetPopupName	: 'Uznirstošā loga nosaukums',
+		popupFeatures	: 'Uznirstošā loga nosaukums īpašības',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Statusa josla',
+		popupLocationBar	: 'Atrašanās vietas josla',
+		popupToolbar	: 'Rīku josla',
+		popupMenuBar	: 'Izvēlnes josla',
+		popupFullScreen	: 'Pilnā ekrānā (IE)',
+		popupScrollBars	: 'Ritjoslas',
+		popupDependent	: 'Atkarīgs (Netscape)',
+		popupWidth		: 'Platums',
+		popupLeft		: 'Kreisā koordināte',
+		popupHeight		: 'Augstums',
+		popupTop		: 'Augšējā koordināte',
+		id				: 'Id', // MISSING
+		langDir			: 'Valodas lasīšanas virziens',
+		langDirNotSet	: '<nav iestatīts>',
+		langDirLTR		: 'No kreisās uz labo (LTR)',
+		langDirRTL		: 'No labās uz kreiso (RTL)',
+		acccessKey		: 'Pieejas kods',
+		name			: 'Nosaukums',
+		langCode		: 'Valodas lasīšanas virziens',
+		tabIndex		: 'Ciļņu indekss',
+		advisoryTitle	: 'Konsultatīvs virsraksts',
+		advisoryContentType	: 'Konsultatīvs satura tips',
+		cssClasses		: 'Stilu saraksta klases',
+		charset			: 'Pievienotā resursa kodu tabula',
+		styles			: 'Stils',
+		selectAnchor	: 'Izvēlēties iezīmi',
+		anchorName		: 'Pēc iezīmes nosaukuma',
+		anchorId		: 'Pēc elementa ID',
+		emailAddress	: 'E-pasta adrese',
+		emailSubject	: 'Ziņas tēma',
+		emailBody		: 'Ziņas saturs',
+		noAnchors		: '(Šajā dokumentā nav iezīmju)',
+		noUrl			: 'Lūdzu norādi hipersaiti',
+		noEmail			: 'Lūdzu norādi e-pasta adresi'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Ievietot/Labot iezīmi',
+		menu		: 'Iezīmes īpašības',
+		title		: 'Iezīmes īpašības',
+		name		: 'Iezīmes nosaukums',
+		errorName	: 'Lūdzu norādiet iezīmes nosaukumu'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Meklēt',
+		replace				: 'Nomainīt',
+		findWhat			: 'Meklēt:',
+		replaceWith			: 'Nomainīt uz:',
+		notFoundMsg			: 'Norādītā frāze netika atrasta.',
+		matchCase			: 'Reģistrjūtīgs',
+		matchWord			: 'Jāsakrīt pilnībā',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Aizvietot visu',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabula',
+		title		: 'Tabulas īpašības',
+		menu		: 'Tabulas īpašības',
+		deleteTable	: 'Dzēst tabulu',
+		rows		: 'Rindas',
+		columns		: 'Kolonnas',
+		border		: 'Rāmja izmērs',
+		align		: 'Novietojums',
+		alignNotSet	: '<nav norādīts>',
+		alignLeft	: 'Pa kreisi',
+		alignCenter	: 'Centrēti',
+		alignRight	: 'Pa labi',
+		width		: 'Platums',
+		widthPx		: 'pikseļos',
+		widthPc		: 'procentuāli',
+		height		: 'Augstums',
+		cellSpace	: 'Rūtiņu atstatums',
+		cellPad		: 'Rūtiņu nobīde',
+		caption		: 'Leģenda',
+		summary		: 'Anotācija',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Šūna',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Dzēst rūtiņas',
+			merge			: 'Apvienot rūtiņas',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Rinda',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Dzēst rindas'
+		},
+
+		column :
+		{
+			menu			: 'Kolonna',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Dzēst kolonnas'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Pogas īpašības',
+		text		: 'Teksts (vērtība)',
+		type		: 'Tips',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Atzīmēšanas kastītes īpašības',
+		radioTitle	: 'Izvēles poga īpašības',
+		value		: 'Vērtība',
+		selected	: 'Iezīmēts'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formas īpašības',
+		menu		: 'Formas īpašības',
+		action		: 'Darbība',
+		method		: 'Metode',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Mērķis',
+		targetNotSet	: '<nav iestatīts>',
+		targetNew	: 'Jaunā logā (_blank)',
+		targetTop	: 'Visredzamākajā logā (_top)',
+		targetSelf	: 'Tajā pašā logā (_self)',
+		targetParent	: 'Esošajā logā (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Iezīmēšanas lauka īpašības',
+		selectInfo	: 'Informācija',
+		opAvail		: 'Pieejamās iespējas',
+		value		: 'Vērtība',
+		size		: 'Izmērs',
+		lines		: 'rindas',
+		chkMulti	: 'Atļaut vairākus iezīmējumus',
+		opText		: 'Teksts',
+		opValue		: 'Vērtība',
+		btnAdd		: 'Pievienot',
+		btnModify	: 'Veikt izmaiņas',
+		btnUp		: 'Augšup',
+		btnDown		: 'Lejup',
+		btnSetValue : 'Noteikt kā iezīmēto vērtību',
+		btnDelete	: 'Dzēst'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Teksta laukuma īpašības',
+		cols		: 'Kolonnas',
+		rows		: 'Rindas'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Teksta rindas  īpašības',
+		name		: 'Nosaukums',
+		value		: 'Vērtība',
+		charWidth	: 'Simbolu platums',
+		maxChars	: 'Simbolu maksimālais daudzums',
+		type		: 'Tips',
+		typeText	: 'Teksts',
+		typePass	: 'Parole'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Paslēptās teksta rindas īpašības',
+		name	: 'Nosaukums',
+		value	: 'Vērtība'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Attēla īpašības',
+		titleButton	: 'Attēlpogas īpašības',
+		menu		: 'Attēla īpašības',
+		infoTab	: 'Informācija par attēlu',
+		btnUpload	: 'Nosūtīt serverim',
+		url		: 'URL',
+		upload	: 'Augšupielādēt',
+		alt		: 'Alternatīvais teksts',
+		width		: 'Platums',
+		height	: 'Augstums',
+		lockRatio	: 'Nemainīga Augstuma/Platuma attiecība',
+		resetSize	: 'Atjaunot sākotnējo izmēru',
+		border	: 'Rāmis',
+		hSpace	: 'Horizontālā telpa',
+		vSpace	: 'Vertikālā telpa',
+		align		: 'Nolīdzināt',
+		alignLeft	: 'Pa kreisi',
+		alignRight	: 'Pa labi',
+		preview	: 'Pārskats',
+		alertUrl	: 'Lūdzu norādīt attēla hipersaiti',
+		linkTab	: 'Hipersaite',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash īpašības',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash īpašības',
+		chkPlay		: 'Automātiska atskaņošana',
+		chkLoop		: 'Nepārtraukti',
+		chkMenu		: 'Atļaut Flash izvēlni',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Mainīt izmēru',
+		scaleAll		: 'Rādīt visu',
+		scaleNoBorder	: 'Bez rāmja',
+		scaleFit		: 'Precīzs izmērs',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Nolīdzināt',
+		alignLeft	: 'Pa kreisi',
+		alignAbsBottom: 'Absolūti apakšā',
+		alignAbsMiddle: 'Absolūti vertikāli centrēts',
+		alignBaseline	: 'Pamatrindā',
+		alignBottom	: 'Apakšā',
+		alignMiddle	: 'Vertikāli centrēts',
+		alignRight	: 'Pa labi',
+		alignTextTop	: 'Teksta augšā',
+		alignTop	: 'Augšā',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Fona krāsa',
+		width	: 'Platums',
+		height	: 'Augstums',
+		hSpace	: 'Horizontālā telpa',
+		vSpace	: 'Vertikālā telpa',
+		validateSrc : 'Lūdzu norādi hipersaiti',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Pareizrakstības pārbaude',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Netika atrasts vārdnīcā',
+		changeTo		: 'Nomainīt uz',
+		btnIgnore		: 'Ignorēt',
+		btnIgnoreAll	: 'Ignorēt visu',
+		btnReplace		: 'Aizvietot',
+		btnReplaceAll	: 'Aizvietot visu',
+		btnUndo			: 'Atcelt',
+		noSuggestions	: '- Nav ieteikumu -',
+		progress		: 'Notiek pareizrakstības pārbaude...',
+		noMispell		: 'Pareizrakstības pārbaude pabeigta: kļūdas netika atrastas',
+		noChanges		: 'Pareizrakstības pārbaude pabeigta: nekas netika labots',
+		oneChange		: 'Pareizrakstības pārbaude pabeigta: 1 vārds izmainīts',
+		manyChanges		: 'Pareizrakstības pārbaude pabeigta: %1 vārdi tika mainīti',
+		ieSpellDownload	: 'Pareizrakstības pārbaudītājs nav pievienots. Vai vēlaties to lejupielādēt tagad?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smaidiņi',
+		title	: 'Ievietot smaidiņu'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numurēts saraksts',
+	bulletedlist : 'Izcelts saraksts',
+	indent : 'Palielināt atkāpi',
+	outdent : 'Samazināt atkāpi',
+
+	justify :
+	{
+		left : 'Izlīdzināt pa kreisi',
+		center : 'Izlīdzināt pret centru',
+		right : 'Izlīdzināt pa labi',
+		block : 'Izlīdzināt malas'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Ievietot',
+		cutError	: 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt izgriešanas darbību.  Lūdzu, izmantojiet (Ctrl+X, lai veiktu šo darbību.',
+		copyError	: 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt kopēšanas darbību.  Lūdzu, izmantojiet (Ctrl+C), lai veiktu šo darbību.',
+		pasteMsg	: 'Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (<STRONG>Ctrl+V</STRONG>) un apstipriniet ar <STRONG>Darīts!</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Ievietot no Worda',
+		title : 'Ievietot no Worda',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Ievietot kā vienkāršu tekstu',
+		title : 'Ievietot kā vienkāršu tekstu'
+	},
+
+	templates :
+	{
+		button : 'Sagataves',
+		title : 'Satura sagataves',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):',
+		emptyListMsg : '(Nav norādītas sagataves)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Stils',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formāts',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formāts',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normāls teksts',
+		tag_pre : 'Formatēts teksts',
+		tag_address : 'Adrese',
+		tag_h1 : 'Virsraksts 1',
+		tag_h2 : 'Virsraksts 2',
+		tag_h3 : 'Virsraksts 3',
+		tag_h4 : 'Virsraksts 4',
+		tag_h5 : 'Virsraksts 5',
+		tag_h6 : 'Virsraksts 6',
+		tag_div : 'Rindkopa (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Šrifts',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Šrifts',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Izmērs',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Izmērs',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Teksta krāsa',
+		bgColorTitle : 'Fona krāsa',
+		auto : 'Automātiska',
+		more : 'Plašāka palete...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/mn.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/mn.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/mn.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Mongolian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['mn'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Код',
+	newPage			: 'Шинэ хуудас',
+	save			: 'Хадгалах',
+	preview			: 'Уридчлан харах',
+	cut				: 'Хайчлах',
+	copy			: 'Хуулах',
+	paste			: 'Буулгах',
+	print			: 'Хэвлэх',
+	underline		: 'Доогуур нь зураастай болгох',
+	bold			: 'Тод бүдүүн',
+	italic			: 'Налуу',
+	selectAll		: 'Бүгдийг нь сонгох',
+	removeFormat	: 'Формат авч хаях',
+	strike			: 'Дундуур нь зураастай болгох',
+	subscript		: 'Суурь болгох',
+	superscript		: 'Зэрэг болгох',
+	horizontalrule	: 'Хөндлөн зураас оруулах',
+	pagebreak		: 'Хуудас тусгаарлагч оруулах',
+	unlink			: 'Линк авч хаях',
+	undo			: 'Хүчингүй болгох',
+	redo			: 'Өмнөх үйлдлээ сэргээх',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Сервер харуулах',
+		url				: 'URL',
+		protocol		: 'Протокол',
+		upload			: 'Хуулах',
+		uploadSubmit	: 'Үүнийг сервэррүү илгээ',
+		image			: 'Зураг',
+		flash			: 'Флаш',
+		form			: 'Форм',
+		checkbox		: 'Чекбокс',
+		radio		: 'Радио товч',
+		textField		: 'Техт талбар',
+		textarea		: 'Техт орчин',
+		hiddenField		: 'Нууц талбар',
+		button			: 'Товч',
+		select	: 'Сонгогч талбар',
+		imageButton		: 'Зурагтай товч',
+		notSet			: '<Оноохгүй>',
+		id				: 'Id',
+		name			: 'Нэр',
+		langDir			: 'Хэлний чиглэл',
+		langDirLtr		: 'Зүүнээс баруун (LTR)',
+		langDirRtl		: 'Баруунаас зүүн (RTL)',
+		langCode		: 'Хэлний код',
+		longDescr		: 'URL-ын тайлбар',
+		cssClass		: 'Stylesheet классууд',
+		advisoryTitle	: 'Зөвлөлдөх гарчиг',
+		cssStyle		: 'Загвар',
+		ok				: 'OK',
+		cancel			: 'Болих',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Нэмэлт',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Онцгой тэмдэгт оруулах',
+		title		: 'Онцгой тэмдэгт сонгох'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Линк Оруулах/Засварлах',
+		menu		: 'Холбоос засварлах',
+		title		: 'Линк',
+		info		: 'Линкийн мэдээлэл',
+		target		: 'Байрлал',
+		upload		: 'Хуулах',
+		advanced	: 'Нэмэлт',
+		type		: 'Линкийн төрөл',
+		toAnchor	: 'Энэ хуудасандах холбоос',
+		toEmail		: 'E-Mail',
+		target		: 'Байрлал',
+		targetNotSet	: '<Оноохгүй>',
+		targetFrame	: '<Агуулах хүрээ>',
+		targetPopup	: '<popup цонх>',
+		targetNew	: 'Шинэ цонх (_blank)',
+		targetTop	: 'Хамгийн түрүүн байх цонх (_top)',
+		targetSelf	: 'Төстэй цонх (_self)',
+		targetParent	: 'Эцэг цонх (_parent)',
+		targetFrameName	: 'Очих фремын нэр',
+		targetPopupName	: 'Popup цонхны нэр',
+		popupFeatures	: 'Popup цонхны онцлог',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Статус хэсэг',
+		popupLocationBar	: 'Location хэсэг',
+		popupToolbar	: 'Багажны хэсэг',
+		popupMenuBar	: 'Meню хэсэг',
+		popupFullScreen	: 'Цонх дүүргэх (IE)',
+		popupScrollBars	: 'Скрол хэсэгүүд',
+		popupDependent	: 'Хамаатай (Netscape)',
+		popupWidth		: 'Өргөн',
+		popupLeft		: 'Зүүн байрлал',
+		popupHeight		: 'Өндөр',
+		popupTop		: 'Дээд байрлал',
+		id				: 'Id', // MISSING
+		langDir			: 'Хэлний чиглэл',
+		langDirNotSet	: '<Оноохгүй>',
+		langDirLTR		: 'Зүүнээс баруун (LTR)',
+		langDirRTL		: 'Баруунаас зүүн (RTL)',
+		acccessKey		: 'Холбох түлхүүр',
+		name			: 'Нэр',
+		langCode		: 'Хэлний чиглэл',
+		tabIndex		: 'Tab индекс',
+		advisoryTitle	: 'Зөвлөлдөх гарчиг',
+		advisoryContentType	: 'Зөвлөлдөх төрлийн агуулга',
+		cssClasses		: 'Stylesheet классууд',
+		charset			: 'Тэмдэгт оноох нөөцөд холбогдсон',
+		styles			: 'Загвар',
+		selectAnchor	: 'Холбоос сонгох',
+		anchorName		: 'Холбоосын нэрээр',
+		anchorId		: 'Элемэнт Id-гаар',
+		emailAddress	: 'E-Mail Хаяг',
+		emailSubject	: 'Message гарчиг',
+		emailBody		: 'Message-ийн агуулга',
+		noAnchors		: '(Баримт бичиг холбоосгүй байна)',
+		noUrl			: 'Линк URL-ээ төрөлжүүлнэ үү',
+		noEmail			: 'Е-mail хаягаа төрөлжүүлнэ үү'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Холбоос Оруулах/Засварлах',
+		menu		: 'Холбоос шинж чанар',
+		title		: 'Холбоос шинж чанар',
+		name		: 'Холбоос нэр',
+		errorName	: 'Холбоос төрөл оруулна уу'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Хай мөн Дарж бич',
+		find				: 'Хайх',
+		replace				: 'Солих',
+		findWhat			: 'Хайх үг/үсэг:',
+		replaceWith			: 'Солих үг:',
+		notFoundMsg			: 'Хайсан текст олсонгүй.',
+		matchCase			: 'Тэнцэх төлөв',
+		matchWord			: 'Тэнцэх бүтэн үг',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Бүгдийг нь Солих',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Хүснэгт',
+		title		: 'Хүснэгт',
+		menu		: 'Хүснэгт',
+		deleteTable	: 'Хүснэгт устгах',
+		rows		: 'Мөр',
+		columns		: 'Багана',
+		border		: 'Хүрээний хэмжээ',
+		align		: 'Эгнээ',
+		alignNotSet	: '<Оноохгүй>',
+		alignLeft	: 'Зүүн талд',
+		alignCenter	: 'Төвд',
+		alignRight	: 'Баруун талд',
+		width		: 'Өргөн',
+		widthPx		: 'цэг',
+		widthPc		: 'хувь',
+		height		: 'Өндөр',
+		cellSpace	: 'Нүх хоорондын зай (spacing)',
+		cellPad		: 'Нүх доторлох(padding)',
+		caption		: 'Тайлбар',
+		summary		: 'Тайлбар',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Нүх/зай',
+			insertBefore	: 'Нүх/зай өмнө нь оруулах',
+			insertAfter		: 'Нүх/зай дараа нь оруулах',
+			deleteCell		: 'Нүх устгах',
+			merge			: 'Нүх нэгтэх',
+			mergeRight		: 'Баруун тийш нэгтгэх',
+			mergeDown		: 'Доош нэгтгэх',
+			splitHorizontal	: 'Нүх/зайг босоогоор нь тусгаарлах',
+			splitVertical	: 'Нүх/зайг хөндлөнгөөр нь тусгаарлах',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Мөр',
+			insertBefore	: 'Мөр өмнө нь оруулах',
+			insertAfter		: 'Мөр дараа нь оруулах',
+			deleteRow		: 'Мөр устгах'
+		},
+
+		column :
+		{
+			menu			: 'Багана',
+			insertBefore	: 'Багана өмнө нь оруулах',
+			insertAfter		: 'Багана дараа нь оруулах',
+			deleteColumn	: 'Багана устгах'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Товчны шинж чанар',
+		text		: 'Тэкст (Утга)',
+		type		: 'Төрөл',
+		typeBtn		: 'Товч',
+		typeSbm		: 'Submit',
+		typeRst		: 'Болих'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Чекбоксны шинж чанар',
+		radioTitle	: 'Радио товчны шинж чанар',
+		value		: 'Утга',
+		selected	: 'Сонгогдсон'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Форм шинж чанар',
+		menu		: 'Форм шинж чанар',
+		action		: 'Үйлдэл',
+		method		: 'Арга',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Байрлал',
+		targetNotSet	: '<Оноохгүй>',
+		targetNew	: 'Шинэ цонх (_blank)',
+		targetTop	: 'Хамгийн түрүүн байх цонх (_top)',
+		targetSelf	: 'Төстэй цонх (_self)',
+		targetParent	: 'Эцэг цонх (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Согогч талбарын шинж чанар',
+		selectInfo	: 'Мэдээлэл',
+		opAvail		: 'Идвэхтэй сонголт',
+		value		: 'Утга',
+		size		: 'Хэмжээ',
+		lines		: 'Мөр',
+		chkMulti	: 'Олон сонголт зөвшөөрөх',
+		opText		: 'Тэкст',
+		opValue		: 'Утга',
+		btnAdd		: 'Нэмэх',
+		btnModify	: 'Өөрчлөх',
+		btnUp		: 'Дээш',
+		btnDown		: 'Доош',
+		btnSetValue : 'Сонгогдсан утга оноох',
+		btnDelete	: 'Устгах'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Текст орчны шинж чанар',
+		cols		: 'Багана',
+		rows		: 'Мөр'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Текст талбарын шинж чанар',
+		name		: 'Нэр',
+		value		: 'Утга',
+		charWidth	: 'Тэмдэгтын өргөн',
+		maxChars	: 'Хамгийн их тэмдэгт',
+		type		: 'Төрөл',
+		typeText	: 'Текст',
+		typePass	: 'Нууц үг'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Нууц талбарын шинж чанар',
+		name	: 'Нэр',
+		value	: 'Утга'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Зураг',
+		titleButton	: 'Зурган товчны шинж чанар',
+		menu		: 'Зураг',
+		infoTab	: 'Зурагны мэдээлэл',
+		btnUpload	: 'Үүнийг сервэррүү илгээ',
+		url		: 'URL',
+		upload	: 'Хуулах',
+		alt		: 'Тайлбар текст',
+		width		: 'Өргөн',
+		height	: 'Өндөр',
+		lockRatio	: 'Радио түгжих',
+		resetSize	: 'хэмжээ дахин оноох',
+		border	: 'Хүрээ',
+		hSpace	: 'Хөндлөн зай',
+		vSpace	: 'Босоо зай',
+		align		: 'Эгнээ',
+		alignLeft	: 'Зүүн',
+		alignRight	: 'Баруун',
+		preview	: 'Уридчлан харах',
+		alertUrl	: 'Зурагны URL-ын төрлийн сонгоно уу',
+		linkTab	: 'Линк',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Флаш шинж чанар',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Флаш  шинж чанар',
+		chkPlay		: 'Автоматаар тоглох',
+		chkLoop		: 'Давтах',
+		chkMenu		: 'Флаш цэс идвэхжүүлэх',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Өргөгтгөх',
+		scaleAll		: 'Бүгдийг харуулах',
+		scaleNoBorder	: 'Хүрээгүй',
+		scaleFit		: 'Яг тааруулах',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Эгнээ',
+		alignLeft	: 'Зүүн',
+		alignAbsBottom: 'Abs доод талд',
+		alignAbsMiddle: 'Abs Дунд талд',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Доод талд',
+		alignMiddle	: 'Дунд талд',
+		alignRight	: 'Баруун',
+		alignTextTop	: 'Текст дээр',
+		alignTop	: 'Дээд талд',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Фонны өнгө',
+		width	: 'Өргөн',
+		height	: 'Өндөр',
+		hSpace	: 'Хөндлөн зай',
+		vSpace	: 'Босоо зай',
+		validateSrc : 'Линк URL-ээ төрөлжүүлнэ үү',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Үгийн дүрэх шалгах',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Толь бичиггүй',
+		changeTo		: 'Өөрчлөх',
+		btnIgnore		: 'Зөвшөөрөх',
+		btnIgnoreAll	: 'Бүгдийг зөвшөөрөх',
+		btnReplace		: 'Дарж бичих',
+		btnReplaceAll	: 'Бүгдийг Дарж бичих',
+		btnUndo			: 'Буцаах',
+		noSuggestions	: '- Тайлбаргүй -',
+		progress		: 'Дүрэм шалгаж байгаа үйл явц...',
+		noMispell		: 'Дүрэм шалгаад дууссан: Алдаа олдсонгүй',
+		noChanges		: 'Дүрэм шалгаад дууссан: үг өөрчлөгдөөгүй',
+		oneChange		: 'Дүрэм шалгаад дууссан: 1 үг өөрчлөгдсөн',
+		manyChanges		: 'Дүрэм шалгаад дууссан: %1 үг өөрчлөгдсөн',
+		ieSpellDownload	: 'Дүрэм шалгагч суугаагүй байна. Татаж авахыг хүсч байна уу?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Тодорхойлолт',
+		title	: 'Тодорхойлолт оруулах'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Дугаарлагдсан жагсаалт',
+	bulletedlist : 'Цэгтэй жагсаалт',
+	indent : 'Догол мөр хасах',
+	outdent : 'Догол мөр нэмэх',
+
+	justify :
+	{
+		left : 'Зүүн талд байрлуулах',
+		center : 'Төвд байрлуулах',
+		right : 'Баруун талд байрлуулах',
+		block : 'Блок хэлбэрээр байрлуулах'
+	},
+
+	blockquote : 'Хайрцаглах',
+
+	clipboard :
+	{
+		title		: 'Буулгах',
+		cutError	: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+X) товчны хослолыг ашиглана уу.',
+		copyError	: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+C) товчны хослолыг ашиглана уу.',
+		pasteMsg	: '(<strong>Ctrl+V</strong>) товчийг ашиглан paste хийнэ үү. Мөн <strong>OK</strong> дар.',
+		securityMsg	: 'Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Word-оос буулгах',
+		title : 'Word-оос буулгах',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Plain Text-ээс буулгах',
+		title : 'Plain Text-ээс буулгах'
+	},
+
+	templates :
+	{
+		button : 'Загварууд',
+		title : 'Загварын агуулга',
+		insertOption: 'Одоогийн агууллагыг дарж бичих',
+		selectPromptMsg: 'Загварыг нээж editor-рүү сонгож оруулна уу<br />(Одоогийн агууллагыг устаж магадгүй):',
+		emptyListMsg : '(Загвар тодорхойлогдоогүй байна)'
+	},
+
+	showBlocks : 'Block-уудыг үзүүлэх',
+
+	stylesCombo :
+	{
+		label : 'Загвар',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Формат',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Формат',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Хэвийн',
+		tag_pre : 'Formatted',
+		tag_address : 'Хаяг',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Paragraph (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Фонт',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Фонт',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Хэмжээ',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Хэмжээ',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Фонтны өнгө',
+		bgColorTitle : 'Фонны өнгө',
+		auto : 'Автоматаар',
+		more : 'Нэмэлт өнгөнүүд...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ms.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ms.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ms.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Malay language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ms'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Sumber',
+	newPage			: 'Helaian Baru',
+	save			: 'Simpan',
+	preview			: 'Prebiu',
+	cut				: 'Potong',
+	copy			: 'Salin',
+	paste			: 'Tampal',
+	print			: 'Cetak',
+	underline		: 'Underline',
+	bold			: 'Bold',
+	italic			: 'Italic',
+	selectAll		: 'Pilih Semua',
+	removeFormat	: 'Buang Format',
+	strike			: 'Strike Through',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Masukkan Garisan Membujur',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: 'Buang Sambungan',
+	undo			: 'Batalkan',
+	redo			: 'Ulangkan',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Browse Server',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Muat Naik',
+		uploadSubmit	: 'Hantar ke Server',
+		image			: 'Gambar',
+		flash			: 'Flash', // MISSING
+		form			: 'Borang',
+		checkbox		: 'Checkbox',
+		radio		: 'Butang Radio',
+		textField		: 'Text Field',
+		textarea		: 'Textarea',
+		hiddenField		: 'Field Tersembunyi',
+		button			: 'Butang',
+		select	: 'Field Pilihan',
+		imageButton		: 'Butang Bergambar',
+		notSet			: '<tidak di set>',
+		id				: 'Id',
+		name			: 'Nama',
+		langDir			: 'Arah Tulisan',
+		langDirLtr		: 'Kiri ke Kanan (LTR)',
+		langDirRtl		: 'Kanan ke Kiri (RTL)',
+		langCode		: 'Kod Bahasa',
+		longDescr		: 'Butiran Panjang URL',
+		cssClass		: 'Kelas-kelas Stylesheet',
+		advisoryTitle	: 'Tajuk Makluman',
+		cssStyle		: 'Stail',
+		ok				: 'OK',
+		cancel			: 'Batal',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Advanced',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Masukkan Huruf Istimewa',
+		title		: 'Sila pilih huruf istimewa'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Masukkan/Sunting Sambungan',
+		menu		: 'Sunting Sambungan',
+		title		: 'Sambungan',
+		info		: 'Butiran Sambungan',
+		target		: 'Sasaran',
+		upload		: 'Muat Naik',
+		advanced	: 'Advanced',
+		type		: 'Jenis Sambungan',
+		toAnchor	: 'Pautan dalam muka surat ini',
+		toEmail		: 'E-Mail',
+		target		: 'Sasaran',
+		targetNotSet	: '<tidak di set>',
+		targetFrame	: '<bingkai>',
+		targetPopup	: '<tetingkap popup>',
+		targetNew	: 'Tetingkap Baru (_blank)',
+		targetTop	: 'Tetingkap yang paling atas (_top)',
+		targetSelf	: 'Tetingkap yang Sama (_self)',
+		targetParent	: 'Tetingkap Parent (_parent)',
+		targetFrameName	: 'Nama Bingkai Sasaran',
+		targetPopupName	: 'Nama Tetingkap Popup',
+		popupFeatures	: 'Ciri Tetingkap Popup',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Bar Status',
+		popupLocationBar	: 'Bar Lokasi',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Bar Menu',
+		popupFullScreen	: 'Skrin Penuh (IE)',
+		popupScrollBars	: 'Bar-bar skrol',
+		popupDependent	: 'Bergantungan (Netscape)',
+		popupWidth		: 'Lebar',
+		popupLeft		: 'Posisi Kiri',
+		popupHeight		: 'Tinggi',
+		popupTop		: 'Posisi Atas',
+		id				: 'Id', // MISSING
+		langDir			: 'Arah Tulisan',
+		langDirNotSet	: '<tidak di set>',
+		langDirLTR		: 'Kiri ke Kanan (LTR)',
+		langDirRTL		: 'Kanan ke Kiri (RTL)',
+		acccessKey		: 'Kunci Akses',
+		name			: 'Nama',
+		langCode		: 'Arah Tulisan',
+		tabIndex		: 'Indeks Tab ',
+		advisoryTitle	: 'Tajuk Makluman',
+		advisoryContentType	: 'Jenis Kandungan Makluman',
+		cssClasses		: 'Kelas-kelas Stylesheet',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Stail',
+		selectAnchor	: 'Sila pilih pautan',
+		anchorName		: 'dengan menggunakan nama pautan',
+		anchorId		: 'dengan menggunakan ID elemen',
+		emailAddress	: 'Alamat E-Mail',
+		emailSubject	: 'Subjek Mesej',
+		emailBody		: 'Isi Kandungan Mesej',
+		noAnchors		: '(Tiada pautan terdapat dalam dokumen ini)',
+		noUrl			: 'Sila taip sambungan URL',
+		noEmail			: 'Sila taip alamat e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Masukkan/Sunting Pautan',
+		menu		: 'Ciri-ciri Pautan',
+		title		: 'Ciri-ciri Pautan',
+		name		: 'Nama Pautan',
+		errorName	: 'Sila taip nama pautan'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Cari',
+		replace				: 'Ganti',
+		findWhat			: 'Perkataan yang dicari:',
+		replaceWith			: 'Diganti dengan:',
+		notFoundMsg			: 'Text yang dicari tidak dijumpai.',
+		matchCase			: 'Padanan case huruf',
+		matchWord			: 'Padana Keseluruhan perkataan',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Ganti semua',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Jadual',
+		title		: 'Ciri-ciri Jadual',
+		menu		: 'Ciri-ciri Jadual',
+		deleteTable	: 'Delete Table', // MISSING
+		rows		: 'Barisan',
+		columns		: 'Jaluran',
+		border		: 'Saiz Border',
+		align		: 'Penjajaran',
+		alignNotSet	: '<Tidak diset>',
+		alignLeft	: 'Kiri',
+		alignCenter	: 'Tengah',
+		alignRight	: 'Kanan',
+		width		: 'Lebar',
+		widthPx		: 'piksel-piksel',
+		widthPc		: 'peratus',
+		height		: 'Tinggi',
+		cellSpace	: 'Ruangan Antara Sel',
+		cellPad		: 'Tambahan Ruang Sel',
+		caption		: 'Keterangan',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Buangkan Sel-sel',
+			merge			: 'Cantumkan Sel-sel',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Buangkan Baris'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Buangkan Lajur'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Ciri-ciri Butang',
+		text		: 'Teks (Nilai)',
+		type		: 'Jenis',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Ciri-ciri Checkbox',
+		radioTitle	: 'Ciri-ciri Butang Radio',
+		value		: 'Nilai',
+		selected	: 'Dipilih'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Ciri-ciri Borang',
+		menu		: 'Ciri-ciri Borang',
+		action		: 'Tindakan borang',
+		method		: 'Cara borang dihantar',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Sasaran',
+		targetNotSet	: '<tidak di set>',
+		targetNew	: 'Tetingkap Baru (_blank)',
+		targetTop	: 'Tetingkap yang paling atas (_top)',
+		targetSelf	: 'Tetingkap yang Sama (_self)',
+		targetParent	: 'Tetingkap Parent (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Ciri-ciri Selection Field',
+		selectInfo	: 'Select Info', // MISSING
+		opAvail		: 'Pilihan sediada',
+		value		: 'Nilai',
+		size		: 'Saiz',
+		lines		: 'garisan',
+		chkMulti	: 'Benarkan pilihan pelbagai',
+		opText		: 'Teks',
+		opValue		: 'Nilai',
+		btnAdd		: 'Tambah Pilihan',
+		btnModify	: 'Ubah Pilihan',
+		btnUp		: 'Naik ke atas',
+		btnDown		: 'Turun ke bawah',
+		btnSetValue : 'Set sebagai nilai terpilih',
+		btnDelete	: 'Padam'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Ciri-ciri Textarea',
+		cols		: 'Lajur',
+		rows		: 'Baris'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Ciri-ciri Text Field',
+		name		: 'Nama',
+		value		: 'Nilai',
+		charWidth	: 'Lebar isian',
+		maxChars	: 'Isian Maksimum',
+		type		: 'Jenis',
+		typeText	: 'Teks',
+		typePass	: 'Kata Laluan'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Ciri-ciri Field Tersembunyi',
+		name	: 'Nama',
+		value	: 'Nilai'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Ciri-ciri Imej',
+		titleButton	: 'Ciri-ciri Butang Bergambar',
+		menu		: 'Ciri-ciri Imej',
+		infoTab	: 'Info Imej',
+		btnUpload	: 'Hantar ke Server',
+		url		: 'URL',
+		upload	: 'Muat Naik',
+		alt		: 'Text Alternatif',
+		width		: 'Lebar',
+		height	: 'Tinggi',
+		lockRatio	: 'Tetapkan Nisbah',
+		resetSize	: 'Saiz Set Semula',
+		border	: 'Border',
+		hSpace	: 'Ruang Melintang',
+		vSpace	: 'Ruang Menegak',
+		align		: 'Jajaran',
+		alignLeft	: 'Kiri',
+		alignRight	: 'Kanan',
+		preview	: 'Prebiu',
+		alertUrl	: 'Sila taip URL untuk fail gambar',
+		linkTab	: 'Sambungan',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Properties', // MISSING
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash Properties', // MISSING
+		chkPlay		: 'Auto Play', // MISSING
+		chkLoop		: 'Loop', // MISSING
+		chkMenu		: 'Enable Flash Menu', // MISSING
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Scale', // MISSING
+		scaleAll		: 'Show all', // MISSING
+		scaleNoBorder	: 'No Border', // MISSING
+		scaleFit		: 'Exact Fit', // MISSING
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Jajaran',
+		alignLeft	: 'Kiri',
+		alignAbsBottom: 'Bawah Mutlak',
+		alignAbsMiddle: 'Pertengahan Mutlak',
+		alignBaseline	: 'Garis Dasar',
+		alignBottom	: 'Bawah',
+		alignMiddle	: 'Pertengahan',
+		alignRight	: 'Kanan',
+		alignTextTop	: 'Atas Text',
+		alignTop	: 'Atas',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Warna Latarbelakang',
+		width	: 'Lebar',
+		height	: 'Tinggi',
+		hSpace	: 'Ruang Melintang',
+		vSpace	: 'Ruang Menegak',
+		validateSrc : 'Sila taip sambungan URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Semak Ejaan',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Tidak terdapat didalam kamus',
+		changeTo		: 'Tukarkan kepada',
+		btnIgnore		: 'Biar',
+		btnIgnoreAll	: 'Biarkan semua',
+		btnReplace		: 'Ganti',
+		btnReplaceAll	: 'Gantikan Semua',
+		btnUndo			: 'Batalkan',
+		noSuggestions	: '- Tiada cadangan -',
+		progress		: 'Pemeriksaan ejaan sedang diproses...',
+		noMispell		: 'Pemeriksaan ejaan siap: Tiada salah ejaan',
+		noChanges		: 'Pemeriksaan ejaan siap: Tiada perkataan diubah',
+		oneChange		: 'Pemeriksaan ejaan siap: Satu perkataan telah diubah',
+		manyChanges		: 'Pemeriksaan ejaan siap: %1 perkataan diubah',
+		ieSpellDownload	: 'Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Masukkan Smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Senarai bernombor',
+	bulletedlist : 'Senarai tidak bernombor',
+	indent : 'Tambahkan Inden',
+	outdent : 'Kurangkan Inden',
+
+	justify :
+	{
+		left : 'Jajaran Kiri',
+		center : 'Jajaran Tengah',
+		right : 'Jajaran Kanan',
+		block : 'Jajaran Blok'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Tampal',
+		cutError	: 'Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl+X).',
+		copyError	: 'Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl+C).',
+		pasteMsg	: 'Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit OK', // MISSING
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Tampal dari Word',
+		title : 'Tampal dari Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Tampal sebagai text biasa',
+		title : 'Tampal sebagai text biasa'
+	},
+
+	templates :
+	{
+		button : 'Templat',
+		title : 'Templat Kandungan',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Sila pilih templat untuk dibuka oleh editor<br>(kandungan sebenar akan hilang):',
+		emptyListMsg : '(Tiada Templat Disimpan)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Stail',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Telah Diformat',
+		tag_address : 'Alamat',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Perenggan (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Saiz',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Saiz',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Warna Text',
+		bgColorTitle : 'Warna Latarbelakang',
+		auto : 'Otomatik',
+		more : 'Warna lain-lain...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/nb.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/nb.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/nb.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Norwegian Bokmål language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['nb'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rikteksteditor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kilde',
+	newPage			: 'Ny Side',
+	save			: 'Lagre',
+	preview			: 'Forhåndsvis',
+	cut				: 'Klipp ut',
+	copy			: 'Kopier',
+	paste			: 'Lim inn',
+	print			: 'Skriv ut',
+	underline		: 'Understrek',
+	bold			: 'Fet',
+	italic			: 'Kursiv',
+	selectAll		: 'Merk alt',
+	removeFormat	: 'Fjern format',
+	strike			: 'Gjennomstrek',
+	subscript		: 'Senket skrift',
+	superscript		: 'Hevet skrift',
+	horizontalrule	: 'Sett inn horisontal linje',
+	pagebreak		: 'Sett inn sideskift',
+	unlink			: 'Fjern lenke',
+	undo			: 'Angre',
+	redo			: 'Gjør om',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Bla igjennom server',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Last opp',
+		uploadSubmit	: 'Send det til serveren',
+		image			: 'Bilde',
+		flash			: 'Flash',
+		form			: 'Skjema',
+		checkbox		: 'Avmerkingsboks',
+		radio		: 'Alternativknapp',
+		textField		: 'Tekstboks',
+		textarea		: 'Tekstområde',
+		hiddenField		: 'Skjult felt',
+		button			: 'Knapp',
+		select	: 'Rullegardinliste',
+		imageButton		: 'Bildeknapp',
+		notSet			: '<ikke satt>',
+		id				: 'Id',
+		name			: 'Navn',
+		langDir			: 'Språkretning',
+		langDirLtr		: 'Venstre til høyre (VTH)',
+		langDirRtl		: 'Høyre til venstre (HTV)',
+		langCode		: 'Språkkode',
+		longDescr		: 'Utvidet beskrivelse',
+		cssClass		: 'Stilarkklasser',
+		advisoryTitle	: 'Tittel',
+		cssStyle		: 'Stil',
+		ok				: 'OK',
+		cancel			: 'Avbryt',
+		generalTab		: 'Generelt',
+		advancedTab		: 'Avansert',
+		validateNumberFailed	: 'Denne verdien er ikke ett nummer',
+		confirmNewPage	: 'Alle endringer som er gjort i dette innholdet vil bli tapt. Er du sikker på at du vil laste en ny side?',
+		confirmCancel	: 'Noen av valgene har blitt endret. Er du sikker på at du vil lukke dialogen?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, utilgjenglig</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Sett inn spesielt tegn',
+		title		: 'Velg spesielt tegn'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Sett inn/Rediger lenke',
+		menu		: 'Rediger lenke',
+		title		: 'Lenke',
+		info		: 'Lenkeinfo',
+		target		: 'Mål',
+		upload		: 'Last opp',
+		advanced	: 'Avansert',
+		type		: 'Lenketype',
+		toAnchor	: 'Lenke til anker i teksten',
+		toEmail		: 'E-post',
+		target		: 'Mål',
+		targetNotSet	: '<ikke satt>',
+		targetFrame	: '<ramme>',
+		targetPopup	: '<popup vindu>',
+		targetNew	: 'Nytt vindu (_blank)',
+		targetTop	: 'Hele vindu (_top)',
+		targetSelf	: 'Samme vindu (_self)',
+		targetParent	: 'Foreldrevindu (_parent)',
+		targetFrameName	: 'Målramme',
+		targetPopupName	: 'Navn på popup-vindus',
+		popupFeatures	: 'Egenskaper for popup-vindu',
+		popupResizable	: 'Skalérbar',
+		popupStatusBar	: 'Statuslinje',
+		popupLocationBar	: 'Adresselinje',
+		popupToolbar	: 'Verktøylinje',
+		popupMenuBar	: 'Menylinje',
+		popupFullScreen	: 'Full skjerm (IE)',
+		popupScrollBars	: 'Scrollbar',
+		popupDependent	: 'Avhenging (Netscape)',
+		popupWidth		: 'Bredde',
+		popupLeft		: 'Venstre posisjon',
+		popupHeight		: 'Høyde',
+		popupTop		: 'Topp-posisjon',
+		id				: 'Id',
+		langDir			: 'Språkretning',
+		langDirNotSet	: '<ikke satt>',
+		langDirLTR		: 'Venstre til høyre (VTH)',
+		langDirRTL		: 'Høyre til venstre (HTV)',
+		acccessKey		: 'Aksessknapp',
+		name			: 'Navn',
+		langCode		: 'Språkretning',
+		tabIndex		: 'Tab Indeks',
+		advisoryTitle	: 'Tittel',
+		advisoryContentType	: 'Type',
+		cssClasses		: 'Stilarkklasser',
+		charset			: 'Lenket språkkart',
+		styles			: 'Stil',
+		selectAnchor	: 'Velg et anker',
+		anchorName		: 'Anker etter navn',
+		anchorId		: 'Element etter ID',
+		emailAddress	: 'E-postadresse',
+		emailSubject	: 'Meldingsemne',
+		emailBody		: 'Melding',
+		noAnchors		: '(Ingen anker i dokumentet)',
+		noUrl			: 'Vennligst skriv inn lenkens url',
+		noEmail			: 'Vennligst skriv inn e-postadressen'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Sett inn/Rediger anker',
+		menu		: 'Egenskaper for anker',
+		title		: 'Egenskaper for anker',
+		name		: 'Ankernavn',
+		errorName	: 'Vennligst skriv inn ankernavnet'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Søk og erstatt',
+		find				: 'Søk',
+		replace				: 'Erstatt',
+		findWhat			: 'Søk etter:',
+		replaceWith			: 'Erstatt med:',
+		notFoundMsg			: 'Fant ikke søketeksten.',
+		matchCase			: 'Skill mellom store og små bokstaver',
+		matchWord			: 'Bare hele ord',
+		matchCyclic			: 'Søk i hele dokumentet',
+		replaceAll			: 'Erstatt alle',
+		replaceSuccessMsg	: '%1 tilfelle erstattet.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabell',
+		title		: 'Egenskaper for tabell',
+		menu		: 'Egenskaper for tabell',
+		deleteTable	: 'Slett tabell',
+		rows		: 'Rader',
+		columns		: 'Kolonner',
+		border		: 'Rammestørrelse',
+		align		: 'Justering',
+		alignNotSet	: '<Ikke satt>',
+		alignLeft	: 'Venstre',
+		alignCenter	: 'Midtjuster',
+		alignRight	: 'Høyre',
+		width		: 'Bredde',
+		widthPx		: 'piksler',
+		widthPc		: 'prosent',
+		height		: 'Høyde',
+		cellSpace	: 'Cellemarg',
+		cellPad		: 'Cellepolstring',
+		caption		: 'Tittel',
+		summary		: 'Sammendrag',
+		headers		: 'Overskrifter',
+		headersNone		: 'Ingen',
+		headersColumn	: 'Første kolonne',
+		headersRow		: 'Første rad',
+		headersBoth		: 'Begge',
+		invalidRows		: 'Antall rader må være ett tall større enn 0.',
+		invalidCols		: 'Antall kolonner må være ett tall større enn 0.',
+		invalidBorder	: 'Rammestørrelse må være ett tall.',
+		invalidWidth	: 'Tabellbredde må være ett nummer.',
+		invalidHeight	: 'Tabellhøyde må være ett nummer.',
+		invalidCellSpacing	: 'Cellemellomrom må være ett nummer.',
+		invalidCellPadding	: 'Cellefyll må være ett nummer.',
+
+		cell :
+		{
+			menu			: 'Celle',
+			insertBefore	: 'Sett inn celle før',
+			insertAfter		: 'Sett inn celle etter',
+			deleteCell		: 'Slett celler',
+			merge			: 'Slå sammen celler',
+			mergeRight		: 'Slå sammen høyre',
+			mergeDown		: 'Slå sammen ned',
+			splitHorizontal	: 'Del celle horisontalt',
+			splitVertical	: 'Del celle vertikalt',
+			title			: 'Celleegenskaper',
+			cellType		: 'Celletype',
+			rowSpan			: 'Radspenn',
+			colSpan			: 'Kolonnespenn',
+			wordWrap		: 'Tekstbrytning',
+			hAlign			: 'Horisontal justering',
+			vAlign			: 'Vertikal justering',
+			alignTop		: 'Topp',
+			alignMiddle		: 'Midten',
+			alignBottom		: 'Bunnen',
+			alignBaseline	: 'Grunnlinje',
+			bgColor			: 'Bakgrunnsfarge',
+			borderColor		: 'Rammefarge',
+			data			: 'Data',
+			header			: 'Overskrift',
+			yes				: 'Ja',
+			no				: 'Nei',
+			invalidWidth	: 'Cellebredde må være ett nummer',
+			invalidHeight	: 'Cellehøyde må være ett nummer',
+			invalidRowSpan	: 'Radspenn må være ett nummer.',
+			invalidColSpan	: 'Kolonnespenn må være ett nummer.',
+			chooseColor : 'Velg'
+		},
+
+		row :
+		{
+			menu			: 'Rader',
+			insertBefore	: 'Sett inn rad før',
+			insertAfter		: 'Sett inn rad etter',
+			deleteRow		: 'Slett rader'
+		},
+
+		column :
+		{
+			menu			: 'Kolonne',
+			insertBefore	: 'Sett inn kolonne før',
+			insertAfter		: 'Sett inn kolonne etter',
+			deleteColumn	: 'Slett kolonner'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Egenskaper for knapp',
+		text		: 'Tekst (verdi)',
+		type		: 'Type',
+		typeBtn		: 'Knapp',
+		typeSbm		: 'Send',
+		typeRst		: 'Nullstill'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Egenskaper for avmerkingsboks',
+		radioTitle	: 'Egenskaper for alternativknapp',
+		value		: 'Verdi',
+		selected	: 'Valgt'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Egenskaper for skjema',
+		menu		: 'Egenskaper for skjema',
+		action		: 'Handling',
+		method		: 'Metode',
+		encoding	: 'Encoding',
+		target		: 'Mål',
+		targetNotSet	: '<ikke satt>',
+		targetNew	: 'Nytt vindu (_blank)',
+		targetTop	: 'Hele vindu (_top)',
+		targetSelf	: 'Samme vindu (_self)',
+		targetParent	: 'Foreldrevindu (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Egenskaper for rullegardinliste',
+		selectInfo	: 'Info',
+		opAvail		: 'Tilgjenglige alternativer',
+		value		: 'Verdi',
+		size		: 'Størrelse',
+		lines		: 'Linjer',
+		chkMulti	: 'Tillat flervalg',
+		opText		: 'Tekst',
+		opValue		: 'Verdi',
+		btnAdd		: 'Legg til',
+		btnModify	: 'Endre',
+		btnUp		: 'Opp',
+		btnDown		: 'Ned',
+		btnSetValue : 'Sett som valgt',
+		btnDelete	: 'Slett'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Egenskaper for tekstområde',
+		cols		: 'Kolonner',
+		rows		: 'Rader'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Egenskaper for tekstfelt',
+		name		: 'Navn',
+		value		: 'Verdi',
+		charWidth	: 'Tegnbredde',
+		maxChars	: 'Maks antall tegn',
+		type		: 'Type',
+		typeText	: 'Tekst',
+		typePass	: 'Passord'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Egenskaper for skjult felt',
+		name	: 'Navn',
+		value	: 'Verdi'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Bildeegenskaper',
+		titleButton	: 'Egenskaper for bildeknapp',
+		menu		: 'Bildeegenskaper',
+		infoTab	: 'Bildeinformasjon',
+		btnUpload	: 'Send det til serveren',
+		url		: 'URL',
+		upload	: 'Last opp',
+		alt		: 'Alternativ tekst',
+		width		: 'Bredde',
+		height	: 'Høyde',
+		lockRatio	: 'Lås forhold',
+		resetSize	: 'Tilbakestill størrelse',
+		border	: 'Ramme',
+		hSpace	: 'HMarg',
+		vSpace	: 'VMarg',
+		align		: 'Juster',
+		alignLeft	: 'Venstre',
+		alignRight	: 'Høyre',
+		preview	: 'Forhåndsvis',
+		alertUrl	: 'Vennligst skriv bilde-urlen',
+		linkTab	: 'Lenke',
+		button2Img	: 'Vil du endre den valgte bildeknappen til ett vanlig bilde?',
+		img2Button	: 'Vil du endre det valgte bildet til en bildeknapp?',
+		urlMissing : 'Bildets adresse mangler.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Egenskaper for Flash-objekt',
+		propertiesTab	: 'Egenskaper',
+		title		: 'Flash-egenskaper',
+		chkPlay		: 'Autospill',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Slå på Flash-meny',
+		chkFull		: 'Tillat fullskjerm',
+ 		scale		: 'Skaler',
+		scaleAll		: 'Vis alt',
+		scaleNoBorder	: 'Ingen ramme',
+		scaleFit		: 'Skaler til å passe',
+		access			: 'Scripttilgang',
+		accessAlways	: 'Alltid',
+		accessSameDomain	: 'Samme domene',
+		accessNever	: 'Aldri',
+		align		: 'Juster',
+		alignLeft	: 'Venstre',
+		alignAbsBottom: 'Abs bunn',
+		alignAbsMiddle: 'Abs midten',
+		alignBaseline	: 'Bunnlinje',
+		alignBottom	: 'Bunn',
+		alignMiddle	: 'Midten',
+		alignRight	: 'Høyre',
+		alignTextTop	: 'Tekst topp',
+		alignTop	: 'Topp',
+		quality		: 'Kvalitet',
+		qualityBest		 : 'Best',
+		qualityHigh		 : 'Høy',
+		qualityAutoHigh	 : 'Auto Høy',
+		qualityMedium	 : 'Medium',
+		qualityAutoLow	 : 'Auto Lav',
+		qualityLow		 : 'Lav',
+		windowModeWindow	 : 'Vindu',
+		windowModeOpaque	 : 'Opaque',
+		windowModeTransparent	 : 'Gjennomsiktig',
+		windowMode	: 'Vindu modus',
+		flashvars	: 'Variabler for flash',
+		bgcolor	: 'Bakgrunnsfarge',
+		width	: 'Bredde',
+		height	: 'Høyde',
+		hSpace	: 'HMarg',
+		vSpace	: 'VMarg',
+		validateSrc : 'Vennligst skriv inn lenkens url',
+		validateWidth : 'Bredde må være ett nummer.',
+		validateHeight : 'Høyde må være ett nummer',
+		validateHSpace : 'HSpace må være ett nummer.',
+		validateVSpace : 'VSpace må være ett nummer.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Stavekontroll',
+		title			: 'Stavekontroll',
+		notAvailable	: 'Beklager, tjenesten er utilgjenglig nå.',
+		errorLoading	: 'Feil under lasting av applicationstjeneste tjener: %s.',
+		notInDic		: 'Ikke i ordboken',
+		changeTo		: 'Endre til',
+		btnIgnore		: 'Ignorer',
+		btnIgnoreAll	: 'Ignorer alle',
+		btnReplace		: 'Erstatt',
+		btnReplaceAll	: 'Erstatt alle',
+		btnUndo			: 'Angre',
+		noSuggestions	: '- Ingen forslag -',
+		progress		: 'Stavekontroll pågår...',
+		noMispell		: 'Stavekontroll fullført: ingen feilstavinger funnet',
+		noChanges		: 'Stavekontroll fullført: ingen ord endret',
+		oneChange		: 'Stavekontroll fullført: Ett ord endret',
+		manyChanges		: 'Stavekontroll fullført: %1 ord endret',
+		ieSpellDownload	: 'Stavekontroll er ikke installert. Vil du laste den ned nå?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smil',
+		title	: 'Sett inn smil'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Nummerert liste',
+	bulletedlist : 'Uordnet liste',
+	indent : 'Øk nivå',
+	outdent : 'Senk nivå',
+
+	justify :
+	{
+		left : 'Venstrejuster',
+		center : 'Midtjuster',
+		right : 'Høyrejuster',
+		block : 'Blokkjuster'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Lim inn',
+		cutError	: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl+X).',
+		copyError	: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl+C).',
+		pasteMsg	: 'Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
+		securityMsg	: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må lime det igjen i dette vinduet.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Lim inn fra Word',
+		title : 'Lim inn fra Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Lim inn som ren tekst',
+		title : 'Lim inn som ren tekst'
+	},
+
+	templates :
+	{
+		button : 'Maler',
+		title : 'Innholdsmaler',
+		insertOption: 'Erstatt faktisk innold',
+		selectPromptMsg: 'Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):',
+		emptyListMsg : '(Ingen maler definert)'
+	},
+
+	showBlocks : 'Vis blokker',
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Stiler',
+		panelVoiceLabel : 'Velg en stil',
+		panelTitle1 : 'Blokkstiler',
+		panelTitle2 : 'Inlinestiler',
+		panelTitle3 : 'Objektstiler'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Vel ett paragrafformat',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatert',
+		tag_address : 'Adresse',
+		tag_h1 : 'Tittel 1',
+		tag_h2 : 'Tittel 2',
+		tag_h3 : 'Tittel 3',
+		tag_h4 : 'Tittel 4',
+		tag_h5 : 'Tittel 5',
+		tag_h6 : 'Tittel 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Skrift',
+		voiceLabel : 'Font',
+		panelTitle : 'Skrift',
+		panelVoiceLabel : 'Velg en font'
+	},
+
+	fontSize :
+	{
+		label : 'Størrelse',
+		voiceLabel : 'Font Størrelse',
+		panelTitle : 'Størrelse',
+		panelVoiceLabel : 'Velg en fontstørrelse'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstfarge',
+		bgColorTitle : 'Bakgrunnsfarge',
+		auto : 'Automatisk',
+		more : 'Flere farger...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Stavekontroll mens du skriver',
+		enable : 'Slå på SCAYT',
+		disable : 'Slå av SCAYT',
+		about : 'Om SCAYT',
+		toggle : 'Veksle SCAYT',
+		options : 'Valg',
+		langs : 'Språk',
+		moreSuggestions : 'Flere forslag',
+		ignore : 'Ignorer',
+		ignoreAll : 'Ignorer Alle',
+		addWord : 'Legg til ord',
+		emptyDic : 'Ordboknavn skal ikke være tom',
+		optionsTab : 'Valg',
+		languagesTab : 'Språk',
+		dictionariesTab : 'Ordbøker',
+		aboutTab : 'Om'
+	},
+
+	about :
+	{
+		title : 'Om CKEditor',
+		dlgTitle : 'Om CKEditor',
+		moreInfo : 'For lisensieringsinformasjon vennligst besøk vårt nettsted:',
+		copy : 'Copyright &copy; $1. Alle rettigheter reservert.'
+	},
+
+	maximize : 'Maksimer',
+	minimize : 'Minimer',
+
+	fakeobjects :
+	{
+		anchor : 'Anker',
+		flash : 'Flash Animasjon',
+		div : 'Sideskift',
+		unknown : 'Ukjent objekt'
+	},
+
+	resize : 'Dra for å skalere',
+
+	colordialog :
+	{
+		title : 'Velg farge',
+		highlight : 'Merk',
+		selected : 'Valgt',
+		clear : 'Tøm'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/nl.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/nl.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/nl.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Dutch language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['nl'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Tekstverwerker, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Code',
+	newPage			: 'Nieuwe pagina',
+	save			: 'Opslaan',
+	preview			: 'Voorbeeld',
+	cut				: 'Knippen',
+	copy			: 'Kopiëren',
+	paste			: 'Plakken',
+	print			: 'Printen',
+	underline		: 'Onderstreept',
+	bold			: 'Vet',
+	italic			: 'Schuingedrukt',
+	selectAll		: 'Alles selecteren',
+	removeFormat	: 'Opmaak verwijderen',
+	strike			: 'Doorhalen',
+	subscript		: 'Subscript',
+	superscript		: 'Superscript',
+	horizontalrule	: 'Horizontale lijn invoegen',
+	pagebreak		: 'Pagina-einde invoegen',
+	unlink			: 'Link verwijderen',
+	undo			: 'Ongedaan maken',
+	redo			: 'Opnieuw uitvoeren',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Bladeren op server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Upload',
+		uploadSubmit	: 'Naar server verzenden',
+		image			: 'Afbeelding',
+		flash			: 'Flash',
+		form			: 'Formulier',
+		checkbox		: 'Aanvinkvakje',
+		radio		: 'Selectievakje',
+		textField		: 'Tekstveld',
+		textarea		: 'Tekstvak',
+		hiddenField		: 'Verborgen veld',
+		button			: 'Knop',
+		select	: 'Selectieveld',
+		imageButton		: 'Afbeeldingsknop',
+		notSet			: '<niet ingevuld>',
+		id				: 'Kenmerk',
+		name			: 'Naam',
+		langDir			: 'Schrijfrichting',
+		langDirLtr		: 'Links naar rechts (LTR)',
+		langDirRtl		: 'Rechts naar links (RTL)',
+		langCode		: 'Taalcode',
+		longDescr		: 'Lange URL-omschrijving',
+		cssClass		: 'Stylesheet-klassen',
+		advisoryTitle	: 'Aanbevolen titel',
+		cssStyle		: 'Stijl',
+		ok				: 'OK',
+		cancel			: 'Annuleren',
+		generalTab		: 'Algemeen',
+		advancedTab		: 'Geavanceerd',
+		validateNumberFailed	: 'Deze waarde is geen geldig getal.',
+		confirmNewPage	: 'Alle aangebrachte wijzigingen gaan verloren. Weet u zeker dat u een nieuwe pagina wilt openen?',
+		confirmCancel	: 'Enkele opties zijn gewijzigd. Weet u zeker dat u dit dialoogvenster wilt sluiten?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, niet beschikbaar</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Speciaal teken invoegen',
+		title		: 'Selecteer speciaal teken'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Link invoegen/wijzigen',
+		menu		: 'Link wijzigen',
+		title		: 'Link',
+		info		: 'Linkomschrijving',
+		target		: 'Doel',
+		upload		: 'Upload',
+		advanced	: 'Geavanceerd',
+		type		: 'Linktype',
+		toAnchor	: 'Interne link in pagina',
+		toEmail		: 'E-mail',
+		target		: 'Doel',
+		targetNotSet	: '<niet ingevuld>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<popup window>',
+		targetNew	: 'Nieuw venster (_blank)',
+		targetTop	: 'Hele venster (_top)',
+		targetSelf	: 'Zelfde venster (_self)',
+		targetParent	: 'Origineel venster (_parent)',
+		targetFrameName	: 'Naam doelframe',
+		targetPopupName	: 'Naam popupvenster',
+		popupFeatures	: 'Instellingen popupvenster',
+		popupResizable	: 'Herschaalbaar',
+		popupStatusBar	: 'Statusbalk',
+		popupLocationBar	: 'Locatiemenu',
+		popupToolbar	: 'Menubalk',
+		popupMenuBar	: 'Menubalk',
+		popupFullScreen	: 'Volledig scherm (IE)',
+		popupScrollBars	: 'Schuifbalken',
+		popupDependent	: 'Afhankelijk (Netscape)',
+		popupWidth		: 'Breedte',
+		popupLeft		: 'Positie links',
+		popupHeight		: 'Hoogte',
+		popupTop		: 'Positie boven',
+		id				: 'Id',
+		langDir			: 'Schrijfrichting',
+		langDirNotSet	: '<niet ingevuld>',
+		langDirLTR		: 'Links naar rechts (LTR)',
+		langDirRTL		: 'Rechts naar links (RTL)',
+		acccessKey		: 'Toegangstoets',
+		name			: 'Naam',
+		langCode		: 'Schrijfrichting',
+		tabIndex		: 'Tabvolgorde',
+		advisoryTitle	: 'Aanbevolen titel',
+		advisoryContentType	: 'Aanbevolen content-type',
+		cssClasses		: 'Stylesheet-klassen',
+		charset			: 'Karakterset van gelinkte bron',
+		styles			: 'Stijl',
+		selectAnchor	: 'Kies een interne link',
+		anchorName		: 'Op naam interne link',
+		anchorId		: 'Op kenmerk interne link',
+		emailAddress	: 'E-mailadres',
+		emailSubject	: 'Onderwerp bericht',
+		emailBody		: 'Inhoud bericht',
+		noAnchors		: '(Geen interne links in document gevonden)',
+		noUrl			: 'Geef de link van de URL',
+		noEmail			: 'Geef een e-mailadres'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Interne link',
+		menu		: 'Eigenschappen interne link',
+		title		: 'Eigenschappen interne link',
+		name		: 'Naam interne link',
+		errorName	: 'Geef de naam van de interne link op'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Zoeken en vervangen',
+		find				: 'Zoeken',
+		replace				: 'Vervangen',
+		findWhat			: 'Zoeken naar:',
+		replaceWith			: 'Vervangen met:',
+		notFoundMsg			: 'De opgegeven tekst is niet gevonden.',
+		matchCase			: 'Hoofdlettergevoelig',
+		matchWord			: 'Hele woord moet voorkomen',
+		matchCyclic			: 'Doorlopend zoeken',
+		replaceAll			: 'Alles vervangen',
+		replaceSuccessMsg	: '%1 resulaten vervangen.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabel',
+		title		: 'Eigenschappen tabel',
+		menu		: 'Eigenschappen tabel',
+		deleteTable	: 'Tabel verwijderen',
+		rows		: 'Rijen',
+		columns		: 'Kolommen',
+		border		: 'Breedte rand',
+		align		: 'Uitlijning',
+		alignNotSet	: '<Niet ingevoerd>',
+		alignLeft	: 'Links',
+		alignCenter	: 'Centreren',
+		alignRight	: 'Rechts',
+		width		: 'Breedte',
+		widthPx		: 'pixels',
+		widthPc		: 'procent',
+		height		: 'Hoogte',
+		cellSpace	: 'Afstand tussen cellen',
+		cellPad		: 'Ruimte in de cel',
+		caption		: 'Naam',
+		summary		: 'Samenvatting',
+		headers		: 'Koppen',
+		headersNone		: 'Geen',
+		headersColumn	: 'Eerste kolom',
+		headersRow		: 'Eerste rij',
+		headersBoth		: 'Beide',
+		invalidRows		: 'Het aantal rijen moet een getal zijn groter dan 0.',
+		invalidCols		: 'Het aantal kolommen moet een getal zijn groter dan 0.',
+		invalidBorder	: 'De rand breedte moet een getal zijn.',
+		invalidWidth	: 'De tabel breedte moet een getal zijn.',
+		invalidHeight	: 'De tabel hoogte moet een getal zijn.',
+		invalidCellSpacing	: 'Afstand tussen cellen moet een getal zijn.',
+		invalidCellPadding	: 'Ruimte in de cel moet een getal zijn.',
+
+		cell :
+		{
+			menu			: 'Cel',
+			insertBefore	: 'Voeg cel in voor',
+			insertAfter		: 'Voeg cel in achter',
+			deleteCell		: 'Cellen verwijderen',
+			merge			: 'Cellen samenvoegen',
+			mergeRight		: 'Voeg samen naar rechts',
+			mergeDown		: 'Voeg samen naar beneden',
+			splitHorizontal	: 'Splits cellen horizontaal',
+			splitVertical	: 'Splits cellen verticaal',
+			title			: 'Cel eigenschappen',
+			cellType		: 'Cel type',
+			rowSpan			: 'Rijen samenvoegen',
+			colSpan			: 'Kolommen samenvoegen',
+			wordWrap		: 'Automatische terugloop',
+			hAlign			: 'Horizontale uitlijning',
+			vAlign			: 'Verticale uitlijning',
+			alignTop		: 'Boven',
+			alignMiddle		: 'Midden',
+			alignBottom		: 'Onder',
+			alignBaseline	: 'Basislijn',
+			bgColor			: 'Achtergrondkleur',
+			borderColor		: 'Kleur rand',
+			data			: 'Inhoud',
+			header			: 'Kop',
+			yes				: 'Ja',
+			no				: 'Nee',
+			invalidWidth	: 'De celbreedte moet een getal zijn.',
+			invalidHeight	: 'De celhoogte moet een getal zijn.',
+			invalidRowSpan	: 'Rijen samenvoegen moet een heel getal zijn.',
+			invalidColSpan	: 'Kolommen samenvoegen moet een heel getal zijn.',
+			chooseColor : 'Kies'
+		},
+
+		row :
+		{
+			menu			: 'Rij',
+			insertBefore	: 'Voeg rij in voor',
+			insertAfter		: 'Voeg rij in achter',
+			deleteRow		: 'Rijen verwijderen'
+		},
+
+		column :
+		{
+			menu			: 'Kolom',
+			insertBefore	: 'Voeg kolom in voor',
+			insertAfter		: 'Voeg kolom in achter',
+			deleteColumn	: 'Kolommen verwijderen'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Eigenschappen knop',
+		text		: 'Tekst (waarde)',
+		type		: 'Soort',
+		typeBtn		: 'Knop',
+		typeSbm		: 'Versturen',
+		typeRst		: 'Leegmaken'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Eigenschappen aanvinkvakje',
+		radioTitle	: 'Eigenschappen selectievakje',
+		value		: 'Waarde',
+		selected	: 'Geselecteerd'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Eigenschappen formulier',
+		menu		: 'Eigenschappen formulier',
+		action		: 'Actie',
+		method		: 'Methode',
+		encoding	: 'Codering',
+		target		: 'Doel',
+		targetNotSet	: '<niet ingevuld>',
+		targetNew	: 'Nieuw venster (_blank)',
+		targetTop	: 'Hele venster (_top)',
+		targetSelf	: 'Zelfde venster (_self)',
+		targetParent	: 'Origineel venster (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Eigenschappen selectieveld',
+		selectInfo	: 'Informatie',
+		opAvail		: 'Beschikbare opties',
+		value		: 'Waarde',
+		size		: 'Grootte',
+		lines		: 'Regels',
+		chkMulti	: 'Gecombineerde selecties toestaan',
+		opText		: 'Tekst',
+		opValue		: 'Waarde',
+		btnAdd		: 'Toevoegen',
+		btnModify	: 'Wijzigen',
+		btnUp		: 'Omhoog',
+		btnDown		: 'Omlaag',
+		btnSetValue : 'Als geselecteerde waarde instellen',
+		btnDelete	: 'Verwijderen'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Eigenschappen tekstvak',
+		cols		: 'Kolommen',
+		rows		: 'Rijen'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Eigenschappen tekstveld',
+		name		: 'Naam',
+		value		: 'Waarde',
+		charWidth	: 'Breedte (tekens)',
+		maxChars	: 'Maximum aantal tekens',
+		type		: 'Soort',
+		typeText	: 'Tekst',
+		typePass	: 'Wachtwoord'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Eigenschappen verborgen veld',
+		name	: 'Naam',
+		value	: 'Waarde'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Eigenschappen afbeelding',
+		titleButton	: 'Eigenschappen afbeeldingsknop',
+		menu		: 'Eigenschappen afbeelding',
+		infoTab	: 'Informatie afbeelding',
+		btnUpload	: 'Naar server verzenden',
+		url		: 'URL',
+		upload	: 'Upload',
+		alt		: 'Alternatieve tekst',
+		width		: 'Breedte',
+		height	: 'Hoogte',
+		lockRatio	: 'Afmetingen vergrendelen',
+		resetSize	: 'Afmetingen resetten',
+		border	: 'Rand',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Uitlijning',
+		alignLeft	: 'Links',
+		alignRight	: 'Rechts',
+		preview	: 'Voorbeeld',
+		alertUrl	: 'Geef de URL van de afbeelding',
+		linkTab	: 'Link',
+		button2Img	: 'Wilt u de geselecteerde afbeeldingsknop vervangen door een eenvoudige afbeelding?',
+		img2Button	: 'Wilt u de geselecteerde afbeelding vervangen door een afbeeldingsknop?',
+		urlMissing : 'De URL naar de afbeelding ontbreekt.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Eigenschappen Flash',
+		propertiesTab	: 'Eigenschappen',
+		title		: 'Eigenschappen Flash',
+		chkPlay		: 'Automatisch afspelen',
+		chkLoop		: 'Herhalen',
+		chkMenu		: 'Flashmenu\'s inschakelen',
+		chkFull		: 'Schermvullend toestaan',
+ 		scale		: 'Schaal',
+		scaleAll		: 'Alles tonen',
+		scaleNoBorder	: 'Geen rand',
+		scaleFit		: 'Precies passend',
+		access			: 'Script toegang',
+		accessAlways	: 'Altijd',
+		accessSameDomain	: 'Zelfde domeinnaam',
+		accessNever	: 'Nooit',
+		align		: 'Uitlijning',
+		alignLeft	: 'Links',
+		alignAbsBottom: 'Absoluut-onder',
+		alignAbsMiddle: 'Absoluut-midden',
+		alignBaseline	: 'Basislijn',
+		alignBottom	: 'Beneden',
+		alignMiddle	: 'Midden',
+		alignRight	: 'Rechts',
+		alignTextTop	: 'Boven tekst',
+		alignTop	: 'Boven',
+		quality		: 'Kwaliteit',
+		qualityBest		 : 'Beste',
+		qualityHigh		 : 'Hoog',
+		qualityAutoHigh	 : 'Automatisch hoog',
+		qualityMedium	 : 'Gemiddeld',
+		qualityAutoLow	 : 'Automatisch laag',
+		qualityLow		 : 'Laag',
+		windowModeWindow	 : 'Venster',
+		windowModeOpaque	 : 'Ondoorzichtig',
+		windowModeTransparent	 : 'Doorzichtig',
+		windowMode	: 'Venster modus',
+		flashvars	: 'Variabelen voor Flash',
+		bgcolor	: 'Achtergrondkleur',
+		width	: 'Breedte',
+		height	: 'Hoogte',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Geef de link van de URL',
+		validateWidth : 'De breedte moet een getal zijn.',
+		validateHeight : 'De hoogte moet een getal zijn.',
+		validateHSpace : 'De HSpace moet een getal zijn.',
+		validateVSpace : 'De VSpace moet een getal zijn.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Spellingscontrole',
+		title			: 'Spellingscontrole',
+		notAvailable	: 'Excuses, deze dienst is momenteel niet beschikbaar.',
+		errorLoading	: 'Er is een fout opgetreden bij het laden van de diesnt: %s.',
+		notInDic		: 'Niet in het woordenboek',
+		changeTo		: 'Wijzig in',
+		btnIgnore		: 'Negeren',
+		btnIgnoreAll	: 'Alles negeren',
+		btnReplace		: 'Vervangen',
+		btnReplaceAll	: 'Alles vervangen',
+		btnUndo			: 'Ongedaan maken',
+		noSuggestions	: '-Geen suggesties-',
+		progress		: 'Bezig met spellingscontrole...',
+		noMispell		: 'Klaar met spellingscontrole: geen fouten gevonden',
+		noChanges		: 'Klaar met spellingscontrole: geen woorden aangepast',
+		oneChange		: 'Klaar met spellingscontrole: één woord aangepast',
+		manyChanges		: 'Klaar met spellingscontrole: %1 woorden aangepast',
+		ieSpellDownload	: 'De spellingscontrole niet geïnstalleerd. Wilt u deze nu downloaden?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Smiley invoegen'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Genummerde lijst',
+	bulletedlist : 'Opsomming',
+	indent : 'Inspringen vergroten',
+	outdent : 'Inspringen verkleinen',
+
+	justify :
+	{
+		left : 'Links uitlijnen',
+		center : 'Centreren',
+		right : 'Rechts uitlijnen',
+		block : 'Uitvullen'
+	},
+
+	blockquote : 'Citaatblok',
+
+	clipboard :
+	{
+		title		: 'Plakken',
+		cutError	: 'De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl+X van het toetsenbord.',
+		copyError	: 'De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl+C van het toetsenbord.',
+		pasteMsg	: 'Plak de tekst in het volgende vak gebruik makend van uw toetsenbord (<strong>Ctrl+V</strong>) en klik op <strong>OK</strong>.',
+		securityMsg	: 'Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'De tekst die u plakte lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?',
+		toolbar : 'Plakken als Word-gegevens',
+		title : 'Plakken als Word-gegevens',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Plakken als platte tekst',
+		title : 'Plakken als platte tekst'
+	},
+
+	templates :
+	{
+		button : 'Sjablonen',
+		title : 'Inhoud sjabonen',
+		insertOption: 'Vervang de huidige inhoud',
+		selectPromptMsg: 'Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):',
+		emptyListMsg : '(Geen sjablonen gedefinieerd)'
+	},
+
+	showBlocks : 'Toon blokken',
+
+	stylesCombo :
+	{
+		label : 'Stijl',
+		voiceLabel : 'Stijl',
+		panelVoiceLabel : 'Selecteer een stijl',
+		panelTitle1 : 'Blok stijlen',
+		panelTitle2 : 'In-line stijlen',
+		panelTitle3 : 'Object stijlen'
+	},
+
+	format :
+	{
+		label : 'Opmaak',
+		voiceLabel : 'Opmaak',
+		panelTitle : 'Opmaak',
+		panelVoiceLabel : 'Selecteer een alinea-opmaak',
+
+		tag_p : 'Normaal',
+		tag_pre : 'Met opmaak',
+		tag_address : 'Adres',
+		tag_h1 : 'Kop 1',
+		tag_h2 : 'Kop 2',
+		tag_h3 : 'Kop 3',
+		tag_h4 : 'Kop 4',
+		tag_h5 : 'Kop 5',
+		tag_h6 : 'Kop 6',
+		tag_div : 'Normaal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Lettertype',
+		voiceLabel : 'Lettertype',
+		panelTitle : 'Lettertype',
+		panelVoiceLabel : 'Selecteer een lettertype'
+	},
+
+	fontSize :
+	{
+		label : 'Lettergrootte',
+		voiceLabel : 'Lettergrootte',
+		panelTitle : 'Lettergrootte',
+		panelVoiceLabel : 'Selecteer een lettergrootte'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstkleur',
+		bgColorTitle : 'Achtergrondkleur',
+		auto : 'Automatisch',
+		more : 'Meer kleuren...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Controleer de spelling tijdens het typen',
+		enable : 'SCAYT inschakelen',
+		disable : 'SCAYT uitschakelen',
+		about : 'Over SCAYT',
+		toggle : 'SCAYT in/uitschakelen',
+		options : 'Opties',
+		langs : 'Talen',
+		moreSuggestions : 'Meer suggesties',
+		ignore : 'Negeren',
+		ignoreAll : 'Alles negeren',
+		addWord : 'Woord toevoegen',
+		emptyDic : 'De naam van het woordenboek mag niet leeg zijn.',
+		optionsTab : 'Opties',
+		languagesTab : 'Talen',
+		dictionariesTab : 'Woordenboeken',
+		aboutTab : 'Over'
+	},
+
+	about :
+	{
+		title : 'Over CKEditor',
+		dlgTitle : 'Over CKEditor',
+		moreInfo : 'Voor licentie informatie, bezoek onze website:',
+		copy : 'Copyright &copy; $1. Alle rechten voorbehouden.'
+	},
+
+	maximize : 'Maximaliseren',
+	minimize : 'Minimaliseren',
+
+	fakeobjects :
+	{
+		anchor : 'Anker',
+		flash : 'Flash animatie',
+		div : 'Pagina einde',
+		unknown : 'Onbekend object'
+	},
+
+	resize : 'Sleep om te herschalen',
+
+	colordialog :
+	{
+		title : 'Selecteer kleur',
+		highlight : 'Actief',
+		selected : 'Geselecteerd',
+		clear : 'Wissen'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/no.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/no.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/no.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Norwegian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['no'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rikteksteditor, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kilde',
+	newPage			: 'Ny Side',
+	save			: 'Lagre',
+	preview			: 'Forhåndsvis',
+	cut				: 'Klipp ut',
+	copy			: 'Kopier',
+	paste			: 'Lim inn',
+	print			: 'Skriv ut',
+	underline		: 'Understrek',
+	bold			: 'Fet',
+	italic			: 'Kursiv',
+	selectAll		: 'Merk alt',
+	removeFormat	: 'Fjern format',
+	strike			: 'Gjennomstrek',
+	subscript		: 'Senket skrift',
+	superscript		: 'Hevet skrift',
+	horizontalrule	: 'Sett inn horisontal linje',
+	pagebreak		: 'Sett inn sideskift',
+	unlink			: 'Fjern lenke',
+	undo			: 'Angre',
+	redo			: 'Gjør om',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Bla igjennom server',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Last opp',
+		uploadSubmit	: 'Send det til serveren',
+		image			: 'Bilde',
+		flash			: 'Flash',
+		form			: 'Skjema',
+		checkbox		: 'Avmerkingsboks',
+		radio		: 'Alternativknapp',
+		textField		: 'Tekstboks',
+		textarea		: 'Tekstområde',
+		hiddenField		: 'Skjult felt',
+		button			: 'Knapp',
+		select	: 'Rullegardinliste',
+		imageButton		: 'Bildeknapp',
+		notSet			: '<ikke satt>',
+		id				: 'Id',
+		name			: 'Navn',
+		langDir			: 'Språkretning',
+		langDirLtr		: 'Venstre til høyre (VTH)',
+		langDirRtl		: 'Høyre til venstre (HTV)',
+		langCode		: 'Språkkode',
+		longDescr		: 'Utvidet beskrivelse',
+		cssClass		: 'Stilarkklasser',
+		advisoryTitle	: 'Tittel',
+		cssStyle		: 'Stil',
+		ok				: 'OK',
+		cancel			: 'Avbryt',
+		generalTab		: 'Generelt',
+		advancedTab		: 'Avansert',
+		validateNumberFailed	: 'Denne verdien er ikke ett nummer',
+		confirmNewPage	: 'Alle endringer som er gjort i dette innholdet vil bli tapt. Er du sikker på at du vil laste en ny side?',
+		confirmCancel	: 'Noen av valgene har blitt endret. Er du sikker på at du vil lukke dialogen?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, utilgjenglig</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Sett inn spesielt tegn',
+		title		: 'Velg spesielt tegn'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Sett inn/Rediger lenke',
+		menu		: 'Rediger lenke',
+		title		: 'Lenke',
+		info		: 'Lenkeinfo',
+		target		: 'Mål',
+		upload		: 'Last opp',
+		advanced	: 'Avansert',
+		type		: 'Lenketype',
+		toAnchor	: 'Lenke til anker i teksten',
+		toEmail		: 'E-post',
+		target		: 'Mål',
+		targetNotSet	: '<ikke satt>',
+		targetFrame	: '<ramme>',
+		targetPopup	: '<popup vindu>',
+		targetNew	: 'Nytt vindu (_blank)',
+		targetTop	: 'Hele vindu (_top)',
+		targetSelf	: 'Samme vindu (_self)',
+		targetParent	: 'Foreldrevindu (_parent)',
+		targetFrameName	: 'Målramme',
+		targetPopupName	: 'Navn på popup-vindus',
+		popupFeatures	: 'Egenskaper for popup-vindu',
+		popupResizable	: 'Skalérbar',
+		popupStatusBar	: 'Statuslinje',
+		popupLocationBar	: 'Adresselinje',
+		popupToolbar	: 'Verktøylinje',
+		popupMenuBar	: 'Menylinje',
+		popupFullScreen	: 'Full skjerm (IE)',
+		popupScrollBars	: 'Scrollbar',
+		popupDependent	: 'Avhenging (Netscape)',
+		popupWidth		: 'Bredde',
+		popupLeft		: 'Venstre posisjon',
+		popupHeight		: 'Høyde',
+		popupTop		: 'Topp-posisjon',
+		id				: 'Id',
+		langDir			: 'Språkretning',
+		langDirNotSet	: '<ikke satt>',
+		langDirLTR		: 'Venstre til høyre (VTH)',
+		langDirRTL		: 'Høyre til venstre (HTV)',
+		acccessKey		: 'Aksessknapp',
+		name			: 'Navn',
+		langCode		: 'Språkretning',
+		tabIndex		: 'Tab Indeks',
+		advisoryTitle	: 'Tittel',
+		advisoryContentType	: 'Type',
+		cssClasses		: 'Stilarkklasser',
+		charset			: 'Lenket språkkart',
+		styles			: 'Stil',
+		selectAnchor	: 'Velg et anker',
+		anchorName		: 'Anker etter navn',
+		anchorId		: 'Element etter ID',
+		emailAddress	: 'E-postadresse',
+		emailSubject	: 'Meldingsemne',
+		emailBody		: 'Melding',
+		noAnchors		: '(Ingen anker i dokumentet)',
+		noUrl			: 'Vennligst skriv inn lenkens url',
+		noEmail			: 'Vennligst skriv inn e-postadressen'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Sett inn/Rediger anker',
+		menu		: 'Egenskaper for anker',
+		title		: 'Egenskaper for anker',
+		name		: 'Ankernavn',
+		errorName	: 'Vennligst skriv inn ankernavnet'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Søk og erstatt',
+		find				: 'Søk',
+		replace				: 'Erstatt',
+		findWhat			: 'Søk etter:',
+		replaceWith			: 'Erstatt med:',
+		notFoundMsg			: 'Fant ikke søketeksten.',
+		matchCase			: 'Skill mellom store og små bokstaver',
+		matchWord			: 'Bare hele ord',
+		matchCyclic			: 'Søk i hele dokumentet',
+		replaceAll			: 'Erstatt alle',
+		replaceSuccessMsg	: '%1 tilfelle erstattet.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabell',
+		title		: 'Egenskaper for tabell',
+		menu		: 'Egenskaper for tabell',
+		deleteTable	: 'Slett tabell',
+		rows		: 'Rader',
+		columns		: 'Kolonner',
+		border		: 'Rammestørrelse',
+		align		: 'Justering',
+		alignNotSet	: '<Ikke satt>',
+		alignLeft	: 'Venstre',
+		alignCenter	: 'Midtjuster',
+		alignRight	: 'Høyre',
+		width		: 'Bredde',
+		widthPx		: 'piksler',
+		widthPc		: 'prosent',
+		height		: 'Høyde',
+		cellSpace	: 'Cellemarg',
+		cellPad		: 'Cellepolstring',
+		caption		: 'Tittel',
+		summary		: 'Sammendrag',
+		headers		: 'Overskrifter',
+		headersNone		: 'Ingen',
+		headersColumn	: 'Første kolonne',
+		headersRow		: 'Første rad',
+		headersBoth		: 'Begge',
+		invalidRows		: 'Antall rader må være ett tall større enn 0.',
+		invalidCols		: 'Antall kolonner må være ett tall større enn 0.',
+		invalidBorder	: 'Rammestørrelse må være ett tall.',
+		invalidWidth	: 'Tabellbredde må være ett nummer.',
+		invalidHeight	: 'Tabellhøyde må være ett nummer.',
+		invalidCellSpacing	: 'Cellemellomrom må være ett nummer.',
+		invalidCellPadding	: 'Cellefyll må være ett nummer.',
+
+		cell :
+		{
+			menu			: 'Celle',
+			insertBefore	: 'Sett inn celle før',
+			insertAfter		: 'Sett inn celle etter',
+			deleteCell		: 'Slett celler',
+			merge			: 'Slå sammen celler',
+			mergeRight		: 'Slå sammen høyre',
+			mergeDown		: 'Slå sammen ned',
+			splitHorizontal	: 'Del celle horisontalt',
+			splitVertical	: 'Del celle vertikalt',
+			title			: 'Celleegenskaper',
+			cellType		: 'Celletype',
+			rowSpan			: 'Radspenn',
+			colSpan			: 'Kolonnespenn',
+			wordWrap		: 'Tekstbrytning',
+			hAlign			: 'Horisontal justering',
+			vAlign			: 'Vertikal justering',
+			alignTop		: 'Topp',
+			alignMiddle		: 'Midten',
+			alignBottom		: 'Bunnen',
+			alignBaseline	: 'Grunnlinje',
+			bgColor			: 'Bakgrunnsfarge',
+			borderColor		: 'Rammefarge',
+			data			: 'Data',
+			header			: 'Overskrift',
+			yes				: 'Ja',
+			no				: 'Nei',
+			invalidWidth	: 'Cellebredde må være ett nummer',
+			invalidHeight	: 'Cellehøyde må være ett nummer',
+			invalidRowSpan	: 'Radspenn må være ett nummer.',
+			invalidColSpan	: 'Kolonnespenn må være ett nummer.',
+			chooseColor : 'Velg'
+		},
+
+		row :
+		{
+			menu			: 'Rader',
+			insertBefore	: 'Sett inn rad før',
+			insertAfter		: 'Sett inn rad etter',
+			deleteRow		: 'Slett rader'
+		},
+
+		column :
+		{
+			menu			: 'Kolonne',
+			insertBefore	: 'Sett inn kolonne før',
+			insertAfter		: 'Sett inn kolonne etter',
+			deleteColumn	: 'Slett kolonner'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Egenskaper for knapp',
+		text		: 'Tekst (verdi)',
+		type		: 'Type',
+		typeBtn		: 'Knapp',
+		typeSbm		: 'Send',
+		typeRst		: 'Nullstill'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Egenskaper for avmerkingsboks',
+		radioTitle	: 'Egenskaper for alternativknapp',
+		value		: 'Verdi',
+		selected	: 'Valgt'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Egenskaper for skjema',
+		menu		: 'Egenskaper for skjema',
+		action		: 'Handling',
+		method		: 'Metode',
+		encoding	: 'Encoding',
+		target		: 'Mål',
+		targetNotSet	: '<ikke satt>',
+		targetNew	: 'Nytt vindu (_blank)',
+		targetTop	: 'Hele vindu (_top)',
+		targetSelf	: 'Samme vindu (_self)',
+		targetParent	: 'Foreldrevindu (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Egenskaper for rullegardinliste',
+		selectInfo	: 'Info',
+		opAvail		: 'Tilgjenglige alternativer',
+		value		: 'Verdi',
+		size		: 'Størrelse',
+		lines		: 'Linjer',
+		chkMulti	: 'Tillat flervalg',
+		opText		: 'Tekst',
+		opValue		: 'Verdi',
+		btnAdd		: 'Legg til',
+		btnModify	: 'Endre',
+		btnUp		: 'Opp',
+		btnDown		: 'Ned',
+		btnSetValue : 'Sett som valgt',
+		btnDelete	: 'Slett'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Egenskaper for tekstområde',
+		cols		: 'Kolonner',
+		rows		: 'Rader'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Egenskaper for tekstfelt',
+		name		: 'Navn',
+		value		: 'Verdi',
+		charWidth	: 'Tegnbredde',
+		maxChars	: 'Maks antall tegn',
+		type		: 'Type',
+		typeText	: 'Tekst',
+		typePass	: 'Passord'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Egenskaper for skjult felt',
+		name	: 'Navn',
+		value	: 'Verdi'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Bildeegenskaper',
+		titleButton	: 'Egenskaper for bildeknapp',
+		menu		: 'Bildeegenskaper',
+		infoTab	: 'Bildeinformasjon',
+		btnUpload	: 'Send det til serveren',
+		url		: 'URL',
+		upload	: 'Last opp',
+		alt		: 'Alternativ tekst',
+		width		: 'Bredde',
+		height	: 'Høyde',
+		lockRatio	: 'Lås forhold',
+		resetSize	: 'Tilbakestill størrelse',
+		border	: 'Ramme',
+		hSpace	: 'HMarg',
+		vSpace	: 'VMarg',
+		align		: 'Juster',
+		alignLeft	: 'Venstre',
+		alignRight	: 'Høyre',
+		preview	: 'Forhåndsvis',
+		alertUrl	: 'Vennligst skriv bilde-urlen',
+		linkTab	: 'Lenke',
+		button2Img	: 'Vil du endre den valgte bildeknappen til ett vanlig bilde?',
+		img2Button	: 'Vil du endre det valgte bildet til en bildeknapp?',
+		urlMissing : 'Bildets adresse mangler.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Egenskaper for Flash-objekt',
+		propertiesTab	: 'Egenskaper',
+		title		: 'Flash-egenskaper',
+		chkPlay		: 'Autospill',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Slå på Flash-meny',
+		chkFull		: 'Tillat fullskjerm',
+ 		scale		: 'Skaler',
+		scaleAll		: 'Vis alt',
+		scaleNoBorder	: 'Ingen ramme',
+		scaleFit		: 'Skaler til å passe',
+		access			: 'Scripttilgang',
+		accessAlways	: 'Alltid',
+		accessSameDomain	: 'Samme domene',
+		accessNever	: 'Aldri',
+		align		: 'Juster',
+		alignLeft	: 'Venstre',
+		alignAbsBottom: 'Abs bunn',
+		alignAbsMiddle: 'Abs midten',
+		alignBaseline	: 'Bunnlinje',
+		alignBottom	: 'Bunn',
+		alignMiddle	: 'Midten',
+		alignRight	: 'Høyre',
+		alignTextTop	: 'Tekst topp',
+		alignTop	: 'Topp',
+		quality		: 'Kvalitet',
+		qualityBest		 : 'Best',
+		qualityHigh		 : 'Høy',
+		qualityAutoHigh	 : 'Auto Høy',
+		qualityMedium	 : 'Medium',
+		qualityAutoLow	 : 'Auto Lav',
+		qualityLow		 : 'Lav',
+		windowModeWindow	 : 'Vindu',
+		windowModeOpaque	 : 'Opaque',
+		windowModeTransparent	 : 'Gjennomsiktig',
+		windowMode	: 'Vindu modus',
+		flashvars	: 'Variabler for flash',
+		bgcolor	: 'Bakgrunnsfarge',
+		width	: 'Bredde',
+		height	: 'Høyde',
+		hSpace	: 'HMarg',
+		vSpace	: 'VMarg',
+		validateSrc : 'Vennligst skriv inn lenkens url',
+		validateWidth : 'Bredde må være ett nummer.',
+		validateHeight : 'Høyde må være ett nummer',
+		validateHSpace : 'HSpace må være ett nummer.',
+		validateVSpace : 'VSpace må være ett nummer.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Stavekontroll',
+		title			: 'Stavekontroll',
+		notAvailable	: 'Beklager, tjenesten er utilgjenglig nå.',
+		errorLoading	: 'Feil under lasting av applicationstjeneste tjener: %s.',
+		notInDic		: 'Ikke i ordboken',
+		changeTo		: 'Endre til',
+		btnIgnore		: 'Ignorer',
+		btnIgnoreAll	: 'Ignorer alle',
+		btnReplace		: 'Erstatt',
+		btnReplaceAll	: 'Erstatt alle',
+		btnUndo			: 'Angre',
+		noSuggestions	: '- Ingen forslag -',
+		progress		: 'Stavekontroll pågår...',
+		noMispell		: 'Stavekontroll fullført: ingen feilstavinger funnet',
+		noChanges		: 'Stavekontroll fullført: ingen ord endret',
+		oneChange		: 'Stavekontroll fullført: Ett ord endret',
+		manyChanges		: 'Stavekontroll fullført: %1 ord endret',
+		ieSpellDownload	: 'Stavekontroll er ikke installert. Vil du laste den ned nå?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smil',
+		title	: 'Sett inn smil'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element'
+	},
+
+	numberedlist : 'Nummerert liste',
+	bulletedlist : 'Uordnet liste',
+	indent : 'Øk nivå',
+	outdent : 'Senk nivå',
+
+	justify :
+	{
+		left : 'Venstrejuster',
+		center : 'Midtjuster',
+		right : 'Høyrejuster',
+		block : 'Blokkjuster'
+	},
+
+	blockquote : 'Blockquote',
+
+	clipboard :
+	{
+		title		: 'Lim inn',
+		cutError	: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl+X).',
+		copyError	: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl+C).',
+		pasteMsg	: 'Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
+		securityMsg	: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må lime det igjen i dette vinduet.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Lim inn fra Word',
+		title : 'Lim inn fra Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Lim inn som ren tekst',
+		title : 'Lim inn som ren tekst'
+	},
+
+	templates :
+	{
+		button : 'Maler',
+		title : 'Innholdsmaler',
+		insertOption: 'Erstatt faktisk innold',
+		selectPromptMsg: 'Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):',
+		emptyListMsg : '(Ingen maler definert)'
+	},
+
+	showBlocks : 'Vis blokker',
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Stiler',
+		panelVoiceLabel : 'Velg en stil',
+		panelTitle1 : 'Blokkstiler',
+		panelTitle2 : 'Inlinestiler',
+		panelTitle3 : 'Objektstiler'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Vel ett paragrafformat',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatert',
+		tag_address : 'Adresse',
+		tag_h1 : 'Tittel 1',
+		tag_h2 : 'Tittel 2',
+		tag_h3 : 'Tittel 3',
+		tag_h4 : 'Tittel 4',
+		tag_h5 : 'Tittel 5',
+		tag_h6 : 'Tittel 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Skrift',
+		voiceLabel : 'Font',
+		panelTitle : 'Skrift',
+		panelVoiceLabel : 'Velg en font'
+	},
+
+	fontSize :
+	{
+		label : 'Størrelse',
+		voiceLabel : 'Font Størrelse',
+		panelTitle : 'Størrelse',
+		panelVoiceLabel : 'Velg en fontstørrelse'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Tekstfarge',
+		bgColorTitle : 'Bakgrunnsfarge',
+		auto : 'Automatisk',
+		more : 'Flere farger...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Stavekontroll mens du skriver',
+		enable : 'Slå på SCAYT',
+		disable : 'Slå av SCAYT',
+		about : 'Om SCAYT',
+		toggle : 'Veksle SCAYT',
+		options : 'Valg',
+		langs : 'Språk',
+		moreSuggestions : 'Flere forslag',
+		ignore : 'Ignorer',
+		ignoreAll : 'Ignorer Alle',
+		addWord : 'Legg til ord',
+		emptyDic : 'Ordboknavn skal ikke være tom',
+		optionsTab : 'Valg',
+		languagesTab : 'Språk',
+		dictionariesTab : 'Ordbøker',
+		aboutTab : 'Om'
+	},
+
+	about :
+	{
+		title : 'Om CKEditor',
+		dlgTitle : 'Om CKEditor',
+		moreInfo : 'For lisensieringsinformasjon vennligst besøk vårt nettsted:',
+		copy : 'Copyright &copy; $1. Alle rettigheter reservert.'
+	},
+
+	maximize : 'Maksimer',
+	minimize : 'Minimer',
+
+	fakeobjects :
+	{
+		anchor : 'Anker',
+		flash : 'Flash Animasjon',
+		div : 'Sideskift',
+		unknown : 'Ukjent objekt'
+	},
+
+	resize : 'Dra for å skalere',
+
+	colordialog :
+	{
+		title : 'Velg farge',
+		highlight : 'Merk',
+		selected : 'Valgt',
+		clear : 'Tøm'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/pl.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/pl.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/pl.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Polish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pl'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Wzbogacony edytor treści, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Źródło dokumentu',
+	newPage			: 'Nowa strona',
+	save			: 'Zapisz',
+	preview			: 'Podgląd',
+	cut				: 'Wytnij',
+	copy			: 'Kopiuj',
+	paste			: 'Wklej',
+	print			: 'Drukuj',
+	underline		: 'Podkreślenie',
+	bold			: 'Pogrubienie',
+	italic			: 'Kursywa',
+	selectAll		: 'Zaznacz wszystko',
+	removeFormat	: 'Usuń formatowanie',
+	strike			: 'Przekreślenie',
+	subscript		: 'Indeks dolny',
+	superscript		: 'Indeks górny',
+	horizontalrule	: 'Wstaw poziomą linię',
+	pagebreak		: 'Wstaw odstęp',
+	unlink			: 'Usuń hiperłącze',
+	undo			: 'Cofnij',
+	redo			: 'Ponów',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Przeglądaj',
+		url				: 'Adres URL',
+		protocol		: 'Protokół',
+		upload			: 'Wyślij',
+		uploadSubmit	: 'Wyślij',
+		image			: 'Obrazek',
+		flash			: 'Flash',
+		form			: 'Formularz',
+		checkbox		: 'Pole wyboru (checkbox)',
+		radio		: 'Pole wyboru (radio)',
+		textField		: 'Pole tekstowe',
+		textarea		: 'Obszar tekstowy',
+		hiddenField		: 'Pole ukryte',
+		button			: 'Przycisk',
+		select	: 'Lista wyboru',
+		imageButton		: 'Przycisk-obrazek',
+		notSet			: '<nie ustawione>',
+		id				: 'Id',
+		name			: 'Nazwa',
+		langDir			: 'Kierunek tekstu',
+		langDirLtr		: 'Od lewej do prawej (LTR)',
+		langDirRtl		: 'Od prawej do lewej (RTL)',
+		langCode		: 'Kod języka',
+		longDescr		: 'Długi opis hiperłącza',
+		cssClass		: 'Nazwa klasy CSS',
+		advisoryTitle	: 'Opis obiektu docelowego',
+		cssStyle		: 'Styl',
+		ok				: 'OK',
+		cancel			: 'Anuluj',
+		generalTab		: 'Ogólne',
+		advancedTab		: 'Zaawansowane',
+		validateNumberFailed	: 'Ta wartość nie jest liczbą.',
+		confirmNewPage	: 'Wszystkie niezapisane zmiany zostaną utracone. Czy na pewno wczytać nową stronę?',
+		confirmCancel	: 'Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, niedostępne</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Wstaw znak specjalny',
+		title		: 'Wybierz znak specjalny'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Wstaw/edytuj hiperłącze',
+		menu		: 'Edytuj hiperłącze',
+		title		: 'Hiperłącze',
+		info		: 'Informacje ',
+		target		: 'Cel',
+		upload		: 'Wyślij',
+		advanced	: 'Zaawansowane',
+		type		: 'Typ hiperłącza',
+		toAnchor	: 'Odnośnik wewnątrz strony',
+		toEmail		: 'Adres e-mail',
+		target		: 'Cel',
+		targetNotSet	: '<nie ustawione>',
+		targetFrame	: '<ramka>',
+		targetPopup	: '<wyskakujące okno>',
+		targetNew	: 'Nowe okno (_blank)',
+		targetTop	: 'Okno najwyższe w hierarchii (_top)',
+		targetSelf	: 'To samo okno (_self)',
+		targetParent	: 'Okno nadrzędne (_parent)',
+		targetFrameName	: 'Nazwa Ramki Docelowej',
+		targetPopupName	: 'Nazwa wyskakującego okna',
+		popupFeatures	: 'Właściwości wyskakującego okna',
+		popupResizable	: 'Skalowalny',
+		popupStatusBar	: 'Pasek statusu',
+		popupLocationBar	: 'Pasek adresu',
+		popupToolbar	: 'Pasek narzędzi',
+		popupMenuBar	: 'Pasek menu',
+		popupFullScreen	: 'Pełny ekran (IE)',
+		popupScrollBars	: 'Paski przewijania',
+		popupDependent	: 'Okno zależne (Netscape)',
+		popupWidth		: 'Szerokość',
+		popupLeft		: 'Pozycja w poziomie',
+		popupHeight		: 'Wysokość',
+		popupTop		: 'Pozycja w pionie',
+		id				: 'Id',
+		langDir			: 'Kierunek tekstu',
+		langDirNotSet	: '<nie ustawione>',
+		langDirLTR		: 'Od lewej do prawej (LTR)',
+		langDirRTL		: 'Od prawej do lewej (RTL)',
+		acccessKey		: 'Klawisz dostępu',
+		name			: 'Nazwa',
+		langCode		: 'Kierunek tekstu',
+		tabIndex		: 'Indeks tabeli',
+		advisoryTitle	: 'Opis obiektu docelowego',
+		advisoryContentType	: 'Typ MIME obiektu docelowego',
+		cssClasses		: 'Nazwa klasy CSS',
+		charset			: 'Kodowanie znaków obiektu docelowego',
+		styles			: 'Styl',
+		selectAnchor	: 'Wybierz etykietę',
+		anchorName		: 'Wg etykiety',
+		anchorId		: 'Wg identyfikatora elementu',
+		emailAddress	: 'Adres e-mail',
+		emailSubject	: 'Temat',
+		emailBody		: 'Treść',
+		noAnchors		: '(W dokumencie nie zdefiniowano żadnych etykiet)',
+		noUrl			: 'Podaj adres URL',
+		noEmail			: 'Podaj adres e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Wstaw/edytuj kotwicę',
+		menu		: 'Właściwości kotwicy',
+		title		: 'Właściwości kotwicy',
+		name		: 'Nazwa kotwicy',
+		errorName	: 'Wpisz nazwę kotwicy'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Znajdź i zamień',
+		find				: 'Znajdź',
+		replace				: 'Zamień',
+		findWhat			: 'Znajdź:',
+		replaceWith			: 'Zastąp przez:',
+		notFoundMsg			: 'Nie znaleziono szukanego hasła.',
+		matchCase			: 'Uwzględnij wielkość liter',
+		matchWord			: 'Całe słowa',
+		matchCyclic			: 'Cykliczne dopasowanie',
+		replaceAll			: 'Zastąp wszystko',
+		replaceSuccessMsg	: '%1 wystąpień zastąpionych.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Właściwości tabeli',
+		menu		: 'Właściwości tabeli',
+		deleteTable	: 'Usuń tabelę',
+		rows		: 'Liczba wierszy',
+		columns		: 'Liczba kolumn',
+		border		: 'Grubość ramki',
+		align		: 'Wyrównanie',
+		alignNotSet	: '<brak ustawień>',
+		alignLeft	: 'Do lewej',
+		alignCenter	: 'Do środka',
+		alignRight	: 'Do prawej',
+		width		: 'Szerokość',
+		widthPx		: 'piksele',
+		widthPc		: '%',
+		height		: 'Wysokość',
+		cellSpace	: 'Odstęp pomiędzy komórkami',
+		cellPad		: 'Margines wewnętrzny komórek',
+		caption		: 'Tytuł',
+		summary		: 'Podsumowanie',
+		headers		: 'Nagłowki',
+		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ą.',
+		invalidWidth	: 'Szerokość tabeli musi być liczbą.',
+		invalidHeight	: 'Wysokość tabeli musi być liczbą.',
+		invalidCellSpacing	: 'Odstęp komórek musi być liczbą.',
+		invalidCellPadding	: 'Dopełnienie komórek musi być liczbą.',
+
+		cell :
+		{
+			menu			: 'Komórka',
+			insertBefore	: 'Wstaw komórkę z lewej',
+			insertAfter		: 'Wstaw komórkę z prawej',
+			deleteCell		: 'Usuń komórki',
+			merge			: 'Połącz komórki',
+			mergeRight		: 'Połącz z komórką z prawej',
+			mergeDown		: 'Połącz z komórką poniżej',
+			splitHorizontal	: 'Podziel komórkę poziomo',
+			splitVertical	: 'Podziel komórkę pionowo',
+			title			: 'Właściwości komórki',
+			cellType		: 'Typ komórki',
+			rowSpan			: 'Scalenie wierszy',
+			colSpan			: 'Scalenie komórek',
+			wordWrap		: 'Zawijanie słów',
+			hAlign			: 'Wyrównanie poziome',
+			vAlign			: 'Wyrównanie pionowe',
+			alignTop		: 'Góra',
+			alignMiddle		: 'Środek',
+			alignBottom		: 'Dół',
+			alignBaseline	: 'Linia bazowa',
+			bgColor			: 'Kolor tła',
+			borderColor		: 'Kolor obramowania',
+			data			: 'Dane',
+			header			: 'Nagłowek',
+			yes				: 'Tak',
+			no				: 'Nie',
+			invalidWidth	: 'Szerokość komórki musi być liczbą.',
+			invalidHeight	: 'Wysokość komórki musi być liczbą.',
+			invalidRowSpan	: 'Scalenie wierszy musi być liczbą całkowitą.',
+			invalidColSpan	: 'Scalenie komórek musi być liczbą całkowitą.',
+			chooseColor : 'Wybierz'
+		},
+
+		row :
+		{
+			menu			: 'Wiersz',
+			insertBefore	: 'Wstaw wiersz powyżej',
+			insertAfter		: 'Wstaw wiersz poniżej',
+			deleteRow		: 'Usuń wiersze'
+		},
+
+		column :
+		{
+			menu			: 'Kolumna',
+			insertBefore	: 'Wstaw kolumnę z lewej',
+			insertAfter		: 'Wstaw kolumnę z prawej',
+			deleteColumn	: 'Usuń kolumny'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Właściwości przycisku',
+		text		: 'Tekst (Wartość)',
+		type		: 'Typ',
+		typeBtn		: 'Przycisk',
+		typeSbm		: 'Wyślij',
+		typeRst		: 'Wyzeruj'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Właściwości pola wyboru (checkbox)',
+		radioTitle	: 'Właściwości pola wyboru (radio)',
+		value		: 'Wartość',
+		selected	: 'Zaznaczone'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Właściwości formularza',
+		menu		: 'Właściwości formularza',
+		action		: 'Akcja',
+		method		: 'Metoda',
+		encoding	: 'Kodowanie',
+		target		: 'Cel',
+		targetNotSet	: '<nie ustawione>',
+		targetNew	: 'Nowe okno (_blank)',
+		targetTop	: 'Okno najwyższe w hierarchii (_top)',
+		targetSelf	: 'To samo okno (_self)',
+		targetParent	: 'Okno nadrzędne (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Właściwości listy wyboru',
+		selectInfo	: 'Informacje',
+		opAvail		: 'Dostępne opcje',
+		value		: 'Wartość',
+		size		: 'Rozmiar',
+		lines		: 'linii',
+		chkMulti	: 'Wielokrotny wybór',
+		opText		: 'Tekst',
+		opValue		: 'Wartość',
+		btnAdd		: 'Dodaj',
+		btnModify	: 'Zmień',
+		btnUp		: 'Do góry',
+		btnDown		: 'Do dołu',
+		btnSetValue : 'Ustaw wartość zaznaczoną',
+		btnDelete	: 'Usuń'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Właściwości obszaru tekstowego',
+		cols		: 'Kolumnu',
+		rows		: 'Wiersze'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Właściwości pola tekstowego',
+		name		: 'Nazwa',
+		value		: 'Wartość',
+		charWidth	: 'Szerokość w znakach',
+		maxChars	: 'Max. szerokość',
+		type		: 'Typ',
+		typeText	: 'Tekst',
+		typePass	: 'Hasło'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Właściwości pola ukrytego',
+		name	: 'Nazwa',
+		value	: 'Wartość'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Właściwości obrazka',
+		titleButton	: 'Właściwości przycisku obrazka',
+		menu		: 'Właściwości obrazka',
+		infoTab	: 'Informacje o obrazku',
+		btnUpload	: 'Wyślij',
+		url		: 'Adres URL',
+		upload	: 'Wyślij',
+		alt		: 'Tekst zastępczy',
+		width		: 'Szerokość',
+		height	: 'Wysokość',
+		lockRatio	: 'Zablokuj proporcje',
+		resetSize	: 'Przywróć rozmiar',
+		border	: 'Ramka',
+		hSpace	: 'Odstęp poziomy',
+		vSpace	: 'Odstęp pionowy',
+		align		: 'Wyrównaj',
+		alignLeft	: 'Do lewej',
+		alignRight	: 'Do prawej',
+		preview	: 'Podgląd',
+		alertUrl	: 'Podaj adres obrazka.',
+		linkTab	: 'Hiperłącze',
+		button2Img	: 'Czy chcesz przekonwertować zaznaczony przycisk graficzny do zwykłego obrazka?',
+		img2Button	: 'Czy chcesz przekonwertować zaznaczony obrazek do przycisku graficznego?',
+		urlMissing : 'Podaj adres URL obrazka.'
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Właściwości elementu Flash',
+		propertiesTab	: 'Właściwości',
+		title		: 'Właściwości elementu Flash',
+		chkPlay		: 'Autoodtwarzanie',
+		chkLoop		: 'Pętla',
+		chkMenu		: 'Włącz menu',
+		chkFull		: 'Dopuść pełny ekran',
+ 		scale		: 'Skaluj',
+		scaleAll		: 'Pokaż wszystko',
+		scaleNoBorder	: 'Bez Ramki',
+		scaleFit		: 'Dokładne dopasowanie',
+		access			: 'Dostęp skryptów',
+		accessAlways	: 'Zawsze',
+		accessSameDomain	: 'Ta sama domena',
+		accessNever	: 'Nigdy',
+		align		: 'Wyrównaj',
+		alignLeft	: 'Do lewej',
+		alignAbsBottom: 'Do dołu',
+		alignAbsMiddle: 'Do środka w pionie',
+		alignBaseline	: 'Do linii bazowej',
+		alignBottom	: 'Do dołu',
+		alignMiddle	: 'Do środka',
+		alignRight	: 'Do prawej',
+		alignTextTop	: 'Do góry tekstu',
+		alignTop	: 'Do góry',
+		quality		: 'Jakość',
+		qualityBest		 : 'Najlepsza',
+		qualityHigh		 : 'Wysoka',
+		qualityAutoHigh	 : 'Auto wysoka',
+		qualityMedium	 : 'Średnia',
+		qualityAutoLow	 : 'Auto niska',
+		qualityLow		 : 'Niska',
+		windowModeWindow	 : 'Okno',
+		windowModeOpaque	 : 'Nieprzeźroczyste',
+		windowModeTransparent	 : 'Przeźroczyste',
+		windowMode	: 'Tryb okna',
+		flashvars	: 'Zmienne dla Flasha',
+		bgcolor	: 'Kolor tła',
+		width	: 'Szerokość',
+		height	: 'Wysokość',
+		hSpace	: 'Odstęp poziomy',
+		vSpace	: 'Odstęp pionowy',
+		validateSrc : 'Podaj adres URL',
+		validateWidth : 'Szerokość musi być liczbą.',
+		validateHeight : 'Wysokość musi być liczbą.',
+		validateHSpace : 'Odstęp poziomy musi być liczbą.',
+		validateVSpace : 'Odstęp pionowy musi być liczbą.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Sprawdź pisownię',
+		title			: 'Sprawdź pisownię',
+		notAvailable	: 'Przepraszamy, ale usługa jest obecnie niedostępna.',
+		errorLoading	: 'Błąd wczytywania hosta aplikacji usługi: %s.',
+		notInDic		: 'Słowa nie ma w słowniku',
+		changeTo		: 'Zmień na',
+		btnIgnore		: 'Ignoruj',
+		btnIgnoreAll	: 'Ignoruj wszystkie',
+		btnReplace		: 'Zmień',
+		btnReplaceAll	: 'Zmień wszystkie',
+		btnUndo			: 'Cofnij',
+		noSuggestions	: '- Brak sugestii -',
+		progress		: 'Trwa sprawdzanie...',
+		noMispell		: 'Sprawdzanie zakończone: nie znaleziono błędów',
+		noChanges		: 'Sprawdzanie zakończone: nie zmieniono żadnego słowa',
+		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ąć?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emotikona',
+		title	: 'Wstaw emotikonę'
+	},
+
+	elementsPath :
+	{
+		eleTitle : 'element %1'
+	},
+
+	numberedlist : 'Lista numerowana',
+	bulletedlist : 'Lista wypunktowana',
+	indent : 'Zwiększ wcięcie',
+	outdent : 'Zmniejsz wcięcie',
+
+	justify :
+	{
+		left : 'Wyrównaj do lewej',
+		center : 'Wyrównaj do środka',
+		right : 'Wyrównaj do prawej',
+		block : 'Wyrównaj do lewej i prawej'
+	},
+
+	blockquote : 'Cytat',
+
+	clipboard :
+	{
+		title		: 'Wklej',
+		cutError	: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl+X.',
+		copyError	: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl+C.',
+		pasteMsg	: 'Proszę wkleić w poniższym polu używając klawiaturowego skrótu (<STRONG>Ctrl+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.'
+	},
+
+	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
+	},
+
+	pasteText :
+	{
+		button : 'Wklej jako czysty tekst',
+		title : 'Wklej jako czysty tekst'
+	},
+
+	templates :
+	{
+		button : 'Szablony',
+		title : 'Szablony zawartości',
+		insertOption: 'Zastąp aktualną zawartość',
+		selectPromptMsg: 'Wybierz szablon do otwarcia w edytorze<br>(obecna zawartość okna edytora zostanie utracona):',
+		emptyListMsg : '(Brak zdefiniowanych szablonów)'
+	},
+
+	showBlocks : 'Pokaż bloki',
+
+	stylesCombo :
+	{
+		label : 'Styl',
+		voiceLabel : 'Styl',
+		panelVoiceLabel : 'Wybierz styl',
+		panelTitle1 : 'Style blokowe',
+		panelTitle2 : 'Style liniowe',
+		panelTitle3 : 'Style obiektowe'
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format',
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Wybierz paragraf do sformatowania',
+
+		tag_p : 'Normalny',
+		tag_pre : 'Tekst sformatowany',
+		tag_address : 'Adres',
+		tag_h1 : 'Nagłówek 1',
+		tag_h2 : 'Nagłówek 2',
+		tag_h3 : 'Nagłówek 3',
+		tag_h4 : 'Nagłówek 4',
+		tag_h5 : 'Nagłówek 5',
+		tag_h6 : 'Nagłówek 6',
+		tag_div : 'Normalny (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Czcionka',
+		voiceLabel : 'Czcionka',
+		panelTitle : 'Czcionka',
+		panelVoiceLabel : 'Wybierz czcionkę'
+	},
+
+	fontSize :
+	{
+		label : 'Rozmiar',
+		voiceLabel : 'Rozmiar czcionki',
+		panelTitle : 'Rozmiar',
+		panelVoiceLabel : 'Wybierz rozmiar czcionki'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Kolor tekstu',
+		bgColorTitle : 'Kolor tła',
+		auto : 'Automatycznie',
+		more : 'Więcej kolorów...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Sprawdź pisownię podczas pisania (SCAYT)',
+		enable : 'Włącz SCAYT',
+		disable : 'Wyłącz SCAYT',
+		about : 'Na temat SCAYT',
+		toggle : 'Przełącz SCAYT',
+		options : 'Opcje',
+		langs : 'Języki',
+		moreSuggestions : 'Więcej sugestii',
+		ignore : 'Ignoruj',
+		ignoreAll : 'Ignoruj wszystkie',
+		addWord : 'Dodaj słowo',
+		emptyDic : 'Nazwa słownika nie może być pusta.',
+		optionsTab : 'Opcje',
+		languagesTab : 'Języki',
+		dictionariesTab : 'Słowniki',
+		aboutTab : 'Na temat SCAYT'
+	},
+
+	about :
+	{
+		title : 'Na temat CKEditor',
+		dlgTitle : 'Na temat CKEditor',
+		moreInfo : 'Informacje na temat licencji można znaleźć na naszej stronie:',
+		copy : 'Copyright &copy; $1. Wszelkie prawa zastrzeżone.'
+	},
+
+	maximize : 'Maksymalizuj',
+	minimize : 'Minimalizuj',
+
+	fakeobjects :
+	{
+		anchor : 'Kotwica',
+		flash : 'Animacja Flash',
+		div : 'Separator stron',
+		unknown : 'Nieznany obiekt'
+	},
+
+	resize : 'Przeciągnij, aby zmienić rozmiar',
+
+	colordialog :
+	{
+		title : 'Wybierz kolor',
+		highlight : 'Zaznacz',
+		selected : 'Wybrany',
+		clear : 'Wyczyść'
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/pt-br.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/pt-br.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/pt-br.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Brazilian Portuguese language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pt-br'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Editor de texto formatado, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Código-Fonte',
+	newPage			: 'Novo',
+	save			: 'Salvar',
+	preview			: 'Visualizar',
+	cut				: 'Recortar',
+	copy			: 'Copiar',
+	paste			: 'Colar',
+	print			: 'Imprimir',
+	underline		: 'Sublinhado',
+	bold			: 'Negrito',
+	italic			: 'Itálico',
+	selectAll		: 'Selecionar Tudo',
+	removeFormat	: 'Remover Formatação',
+	strike			: 'Tachado',
+	subscript		: 'Subscrito',
+	superscript		: 'Sobrescrito',
+	horizontalrule	: 'Inserir Linha Horizontal',
+	pagebreak		: 'Inserir Quebra de Página',
+	unlink			: 'Remover Hiperlink',
+	undo			: 'Desfazer',
+	redo			: 'Refazer',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Localizar no Servidor',
+		url				: 'URL',
+		protocol		: 'Protocolo',
+		upload			: 'Enviar ao Servidor',
+		uploadSubmit	: 'Enviar para o Servidor',
+		image			: 'Figura',
+		flash			: 'Flash',
+		form			: 'Formulário',
+		checkbox		: 'Caixa de Seleção',
+		radio		: 'Botão de Opção',
+		textField		: 'Caixa de Texto',
+		textarea		: 'Área de Texto',
+		hiddenField		: 'Campo Oculto',
+		button			: 'Botão',
+		select	: 'Caixa de Listagem',
+		imageButton		: 'Botão de Imagem',
+		notSet			: '<não ajustado>',
+		id				: 'Id',
+		name			: 'Nome',
+		langDir			: 'Direção do idioma',
+		langDirLtr		: 'Esquerda para Direita (LTR)',
+		langDirRtl		: 'Direita para Esquerda (RTL)',
+		langCode		: 'Idioma',
+		longDescr		: 'Descrição da URL',
+		cssClass		: 'Classe de Folhas de Estilo',
+		advisoryTitle	: 'Título',
+		cssStyle		: 'Estilos',
+		ok				: 'OK',
+		cancel			: 'Cancelar',
+		generalTab		: 'Geral',
+		advancedTab		: 'Avançado',
+		validateNumberFailed	: 'Este valor não é um número.',
+		confirmNewPage	: 'Todas as mudanças não salvas serão perdidas. Tem certeza de que quer carregar outra página?',
+		confirmCancel	: 'Algumas opções foram alteradas. Tem certeza de que quer fechar a caixa de diálogo?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, indisponível</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Inserir Caractere Especial',
+		title		: 'Selecione um Caractere Especial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Inserir/Editar Hiperlink',
+		menu		: 'Editar Hiperlink',
+		title		: 'Hiperlink',
+		info		: 'Informações',
+		target		: 'Destino',
+		upload		: 'Enviar ao Servidor',
+		advanced	: 'Avançado',
+		type		: 'Tipo de hiperlink',
+		toAnchor	: 'Âncora nesta página',
+		toEmail		: 'E-Mail',
+		target		: 'Destino',
+		targetNotSet	: '<não ajustado>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<janela popup>',
+		targetNew	: 'Nova Janela (_blank)',
+		targetTop	: 'Janela Superior (_top)',
+		targetSelf	: 'Mesma Janela (_self)',
+		targetParent	: 'Janela Pai (_parent)',
+		targetFrameName	: 'Nome do Frame de Destino',
+		targetPopupName	: 'Nome da Janela Pop-up',
+		popupFeatures	: 'Atributos da Janela Pop-up',
+		popupResizable	: 'Redimensionável',
+		popupStatusBar	: 'Barra de Status',
+		popupLocationBar	: 'Barra de Endereços',
+		popupToolbar	: 'Barra de Ferramentas',
+		popupMenuBar	: 'Barra de Menus',
+		popupFullScreen	: 'Modo Tela Cheia (IE)',
+		popupScrollBars	: 'Barras de Rolagem',
+		popupDependent	: 'Dependente (Netscape)',
+		popupWidth		: 'Largura',
+		popupLeft		: 'Esquerda',
+		popupHeight		: 'Altura',
+		popupTop		: 'Superior',
+		id				: 'Id',
+		langDir			: 'Direção do idioma',
+		langDirNotSet	: '<não ajustado>',
+		langDirLTR		: 'Esquerda para Direita (LTR)',
+		langDirRTL		: 'Direita para Esquerda (RTL)',
+		acccessKey		: 'Chave de Acesso',
+		name			: 'Nome',
+		langCode		: 'Direção do idioma',
+		tabIndex		: 'Índice de Tabulação',
+		advisoryTitle	: 'Título',
+		advisoryContentType	: 'Tipo de Conteúdo',
+		cssClasses		: 'Classe de Folhas de Estilo',
+		charset			: 'Conjunto de Caracteres do Hiperlink',
+		styles			: 'Estilos',
+		selectAnchor	: 'Selecione uma âncora',
+		anchorName		: 'Pelo Nome da âncora',
+		anchorId		: 'Pelo Id do Elemento',
+		emailAddress	: 'Endereço E-Mail',
+		emailSubject	: 'Assunto da Mensagem',
+		emailBody		: 'Corpo da Mensagem',
+		noAnchors		: '(Não há âncoras disponíveis neste documento)',
+		noUrl			: 'Por favor, digite o endereço do Hiperlink',
+		noEmail			: 'Por favor, digite o endereço de e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Inserir/Editar Âncora',
+		menu		: 'Formatar Âncora',
+		title		: 'Formatar Âncora',
+		name		: 'Nome da Âncora',
+		errorName	: 'Por favor, digite o nome da âncora'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Localizar e Substituir',
+		find				: 'Localizar',
+		replace				: 'Substituir',
+		findWhat			: 'Procurar por:',
+		replaceWith			: 'Substituir por:',
+		notFoundMsg			: 'O texto especificado não foi encontrado.',
+		matchCase			: 'Coincidir Maiúsculas/Minúsculas',
+		matchWord			: 'Coincidir a palavra inteira',
+		matchCyclic			: 'Coincidir cíclico',
+		replaceAll			: 'Substituir Tudo',
+		replaceSuccessMsg	: '%1 ocorrência(s) substituída(s).'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Formatar Tabela',
+		menu		: 'Formatar Tabela',
+		deleteTable	: 'Apagar Tabela',
+		rows		: 'Linhas',
+		columns		: 'Colunas',
+		border		: 'Borda',
+		align		: 'Alinhamento',
+		alignNotSet	: '<Não ajustado>',
+		alignLeft	: 'Esquerda',
+		alignCenter	: 'Centralizado',
+		alignRight	: 'Direita',
+		width		: 'Largura',
+		widthPx		: 'pixels',
+		widthPc		: '%',
+		height		: 'Altura',
+		cellSpace	: 'Espaçamento',
+		cellPad		: 'Enchimento',
+		caption		: 'Legenda',
+		summary		: 'Resumo',
+		headers		: 'Cabeçalho',
+		headersNone		: 'Nenhum',
+		headersColumn	: 'Primeira coluna',
+		headersRow		: 'Primeira linha',
+		headersBoth		: 'Ambos',
+		invalidRows		: '"Número de linhas" tem que ser um número maior que 0.',
+		invalidCols		: '"Número de colunas" tem que ser um número maior que 0.',
+		invalidBorder	: '"Tamanho da borda" tem que ser um número.',
+		invalidWidth	: '"Largura da tabela" tem que ser um número.',
+		invalidHeight	: '"Altura da tabela" tem que ser um número.',
+		invalidCellSpacing	: '"Espaçamento das células" tem que ser um número.',
+		invalidCellPadding	: '"Margem interna das células" tem que ser um número.',
+
+		cell :
+		{
+			menu			: 'Célula',
+			insertBefore	: 'Inserir célula à esquerda',
+			insertAfter		: 'Inserir célula à direita',
+			deleteCell		: 'Remover Células',
+			merge			: 'Mesclar Células',
+			mergeRight		: 'Mesclar com célula à direita',
+			mergeDown		: 'Mesclar com célula abaixo',
+			splitHorizontal	: 'Dividir célula horizontalmente',
+			splitVertical	: 'Dividir célula verticalmente',
+			title			: 'Propriedades da célula',
+			cellType		: 'Tipo de célula',
+			rowSpan			: 'Linhas cobertas',
+			colSpan			: 'Colunas cobertas',
+			wordWrap		: 'Quebra de palavra',
+			hAlign			: 'Alinhamento horizontal',
+			vAlign			: 'Alinhamento vertical',
+			alignTop		: 'Alinhar no topo',
+			alignMiddle		: 'Centralizado verticalmente',
+			alignBottom		: 'Alinhar na base',
+			alignBaseline	: 'Patamar de alinhamento',
+			bgColor			: 'Cor de fundo',
+			borderColor		: 'Cor das bordas',
+			data			: 'Dados',
+			header			: 'Cabeçalho',
+			yes				: 'Sim',
+			no				: 'Não',
+			invalidWidth	: 'A largura da célula tem que ser um número.',
+			invalidHeight	: 'A altura da célula tem que ser um número.',
+			invalidRowSpan	: '"Linhas cobertas" tem que ser um número inteiro.',
+			invalidColSpan	: '"Colunas cobertas" tem que ser um número inteiro.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Linha',
+			insertBefore	: 'Inserir linha acima',
+			insertAfter		: 'Inserir linha abaixo',
+			deleteRow		: 'Remover Linhas'
+		},
+
+		column :
+		{
+			menu			: 'Coluna',
+			insertBefore	: 'Inserir coluna à esquerda',
+			insertAfter		: 'Inserir coluna à direita',
+			deleteColumn	: 'Remover Colunas'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Formatar Botão',
+		text		: 'Texto (Valor)',
+		type		: 'Tipo',
+		typeBtn		: 'Botão',
+		typeSbm		: 'Enviar',
+		typeRst		: 'Limpar'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Formatar Caixa de Seleção',
+		radioTitle	: 'Formatar Botão de Opção',
+		value		: 'Valor',
+		selected	: 'Selecionado'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Formatar Formulário',
+		menu		: 'Formatar Formulário',
+		action		: 'Action',
+		method		: 'Método',
+		encoding	: 'Codificação',
+		target		: 'Destino',
+		targetNotSet	: '<não ajustado>',
+		targetNew	: 'Nova Janela (_blank)',
+		targetTop	: 'Janela Superior (_top)',
+		targetSelf	: 'Mesma Janela (_self)',
+		targetParent	: 'Janela Pai (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Formatar Caixa de Listagem',
+		selectInfo	: 'Info',
+		opAvail		: 'Opções disponíveis',
+		value		: 'Valor',
+		size		: 'Tamanho',
+		lines		: 'linhas',
+		chkMulti	: 'Permitir múltiplas seleções',
+		opText		: 'Texto',
+		opValue		: 'Valor',
+		btnAdd		: 'Adicionar',
+		btnModify	: 'Modificar',
+		btnUp		: 'Para cima',
+		btnDown		: 'Para baixo',
+		btnSetValue : 'Definir como selecionado',
+		btnDelete	: 'Remover'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Formatar Área de Texto',
+		cols		: 'Colunas',
+		rows		: 'Linhas'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Formatar Caixa de Texto',
+		name		: 'Nome',
+		value		: 'Valor',
+		charWidth	: 'Comprimento (em caracteres)',
+		maxChars	: 'Número Máximo de Caracteres',
+		type		: 'Tipo',
+		typeText	: 'Texto',
+		typePass	: 'Senha'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Formatar Campo Oculto',
+		name	: 'Nome',
+		value	: 'Valor'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Formatar Figura',
+		titleButton	: 'Formatar Botão de Imagem',
+		menu		: 'Formatar Figura',
+		infoTab	: 'Informações da Figura',
+		btnUpload	: 'Enviar para o Servidor',
+		url		: 'URL',
+		upload	: 'Submeter',
+		alt		: 'Texto Alternativo',
+		width		: 'Largura',
+		height	: 'Altura',
+		lockRatio	: 'Manter proporções',
+		resetSize	: 'Redefinir para o Tamanho Original',
+		border	: 'Borda',
+		hSpace	: 'Horizontal',
+		vSpace	: 'Vertical',
+		align		: 'Alinhamento',
+		alignLeft	: 'Esquerda',
+		alignRight	: 'Direita',
+		preview	: 'Visualização',
+		alertUrl	: 'Por favor, digite o URL da figura.',
+		linkTab	: 'Hiperlink',
+		button2Img	: 'Você deseja transformar o botão de imagem selecionado em uma imagem comum?',
+		img2Button	: 'Você deseja transformar a imagem selecionada em um botão de imagem?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propriedades do Flash',
+		propertiesTab	: 'Propriedades',
+		title		: 'Propriedades do Flash',
+		chkPlay		: 'Tocar Automaticamente',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Habilita Menu Flash',
+		chkFull		: 'Permitir tela cheia',
+ 		scale		: 'Escala',
+		scaleAll		: 'Mostrar tudo',
+		scaleNoBorder	: 'Sem Borda',
+		scaleFit		: 'Escala Exata',
+		access			: 'Acesso ao script',
+		accessAlways	: 'Sempre',
+		accessSameDomain	: 'Mesmo domínio',
+		accessNever	: 'Nunca',
+		align		: 'Alinhamento',
+		alignLeft	: 'Esquerda',
+		alignAbsBottom: 'Inferior Absoluto',
+		alignAbsMiddle: 'Centralizado Absoluto',
+		alignBaseline	: 'Baseline',
+		alignBottom	: 'Inferior',
+		alignMiddle	: 'Centralizado',
+		alignRight	: 'Direita',
+		alignTextTop	: 'Superior Absoluto',
+		alignTop	: 'Superior',
+		quality		: 'Qualidade',
+		qualityBest		 : 'Melhor',
+		qualityHigh		 : 'Alta',
+		qualityAutoHigh	 : 'Alta automático',
+		qualityMedium	 : 'Média',
+		qualityAutoLow	 : 'Média automático',
+		qualityLow		 : 'Baixa',
+		windowModeWindow	 : 'Janela',
+		windowModeOpaque	 : 'Opaca',
+		windowModeTransparent	 : 'Transparente',
+		windowMode	: 'Modo da janela',
+		flashvars	: 'Variáveis do Flash',
+		bgcolor	: 'Cor do Plano de Fundo',
+		width	: 'Largura',
+		height	: 'Altura',
+		hSpace	: 'Horizontal',
+		vSpace	: 'Vertical',
+		validateSrc : 'Por favor, digite o endereço do Hiperlink',
+		validateWidth : '"Largura" tem que ser um número.',
+		validateHeight : '"Altura" tem que ser um número',
+		validateHSpace : '"HSpace" tem que ser um número',
+		validateVSpace : '"VSpace" tem que ser um número.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Verificar Ortografia',
+		title			: 'Corretor gramatical',
+		notAvailable	: 'Desculpe, o serviço não está disponível no momento.',
+		errorLoading	: 'Erro carregando servidor de aplicação: %s.',
+		notInDic		: 'Não encontrada',
+		changeTo		: 'Alterar para',
+		btnIgnore		: 'Ignorar uma vez',
+		btnIgnoreAll	: 'Ignorar Todas',
+		btnReplace		: 'Alterar',
+		btnReplaceAll	: 'Alterar Todas',
+		btnUndo			: 'Desfazer',
+		noSuggestions	: '-sem sugestões de ortografia-',
+		progress		: 'Verificação ortográfica em andamento...',
+		noMispell		: 'Verificação encerrada: Não foram encontrados erros de ortografia',
+		noChanges		: 'Verificação ortográfica encerrada: Não houve alterações',
+		oneChange		: 'Verificação ortográfica encerrada: Uma palavra foi alterada',
+		manyChanges		: 'Verificação ortográfica encerrada: %1 foram alteradas',
+		ieSpellDownload	: 'A verificação ortográfica não foi instalada. Você gostaria de realizar o download agora?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticon',
+		title	: 'Inserir Emoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : 'Elemento %1'
+	},
+
+	numberedlist : 'Numeração',
+	bulletedlist : 'Marcadores',
+	indent : 'Aumentar Recuo',
+	outdent : 'Diminuir Recuo',
+
+	justify :
+	{
+		left : 'Alinhar Esquerda',
+		center : 'Centralizar',
+		right : 'Alinhar Direita',
+		block : 'Justificado'
+	},
+
+	blockquote : 'Recuo',
+
+	clipboard :
+	{
+		title		: 'Colar',
+		cutError	: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl+X).',
+		copyError	: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl+C).',
+		pasteMsg	: 'Transfira o link usado no box usando o teclado com (<STRONG>Ctrl+V</STRONG>) e <STRONG>OK</STRONG>.',
+		securityMsg	: 'As configurações de segurança do seu navegador não permitem que o editor acesse os dados da área de transferência diretamente. Por favor cole o conteúdo novamente nesta janela.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?',
+		toolbar : 'Colar do Word',
+		title : 'Colar do Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Colar como Texto sem Formatação',
+		title : 'Colar como Texto sem Formatação'
+	},
+
+	templates :
+	{
+		button : 'Modelos de layout',
+		title : 'Modelo de layout do conteúdo',
+		insertOption: 'Substituir o conteúdo atual',
+		selectPromptMsg: 'Selecione um modelo de layout para ser aberto no editor<br>(o conteúdo atual será perdido):',
+		emptyListMsg : '(Não foram definidos modelos de layout)'
+	},
+
+	showBlocks : 'Mostrar blocos',
+
+	stylesCombo :
+	{
+		label : 'Estilo',
+		voiceLabel : 'Estilo',
+		panelVoiceLabel : 'Selecione um estilo',
+		panelTitle1 : 'Estilos de bloco',
+		panelTitle2 : 'Estilos em texto corrido',
+		panelTitle3 : 'Estilos de objeto'
+	},
+
+	format :
+	{
+		label : 'Formatação',
+		voiceLabel : 'Formatação',
+		panelTitle : 'Formatação',
+		panelVoiceLabel : 'Selecione uma formatação de parágrafo',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatado',
+		tag_address : 'Endereço',
+		tag_h1 : 'Título 1',
+		tag_h2 : 'Título 2',
+		tag_h3 : 'Título 3',
+		tag_h4 : 'Título 4',
+		tag_h5 : 'Título 5',
+		tag_h6 : 'Título 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Fonte',
+		voiceLabel : 'Fonte',
+		panelTitle : 'Fonte',
+		panelVoiceLabel : 'Selecione uma fonte'
+	},
+
+	fontSize :
+	{
+		label : 'Tamanho',
+		voiceLabel : 'Tamanho da fonte',
+		panelTitle : 'Tamanho',
+		panelVoiceLabel : 'Selecione um tamanho de fonte'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Cor do Texto',
+		bgColorTitle : 'Cor do Plano de Fundo',
+		auto : 'Automático',
+		more : 'Mais Cores...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Correção gramatical durante a digitação',
+		enable : 'Habilitar SCAYT',
+		disable : 'Desabilitar SCAYT',
+		about : 'Sobre o SCAYT',
+		toggle : 'Ativar/desativar SCAYT',
+		options : 'Opções',
+		langs : 'Línguas',
+		moreSuggestions : 'Mais sugestões',
+		ignore : 'Ignorar',
+		ignoreAll : 'Ignorar todas',
+		addWord : 'Adicionar palavra',
+		emptyDic : 'O nome do dicionário não deveria estar vazio.',
+		optionsTab : 'Opções',
+		languagesTab : 'Línguas',
+		dictionariesTab : 'Dicionários',
+		aboutTab : 'Sobre'
+	},
+
+	about :
+	{
+		title : 'Sobre o CKEditor',
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'Para informações sobre a licença, por favor, visite o nosso site na Internet:',
+		copy : 'Direito de reprodução &copy; $1. Todos os direitos reservados.'
+	},
+
+	maximize : 'Maximizar',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Âncora',
+		flash : 'Animação em Flash',
+		div : 'Quebra de página',
+		unknown : 'Objeto desconhecido'
+	},
+
+	resize : 'Arraste para redimensionar',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/pt.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/pt.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/pt.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Portuguese language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pt'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Fonte',
+	newPage			: 'Nova Página',
+	save			: 'Guardar',
+	preview			: 'Pré-visualizar',
+	cut				: 'Cortar',
+	copy			: 'Copiar',
+	paste			: 'Colar',
+	print			: 'Imprimir',
+	underline		: 'Sublinhado',
+	bold			: 'Negrito',
+	italic			: 'Itálico',
+	selectAll		: 'Seleccionar Tudo',
+	removeFormat	: 'Eliminar Formato',
+	strike			: 'Rasurado',
+	subscript		: 'Superior à Linha',
+	superscript		: 'Inferior à Linha',
+	horizontalrule	: 'Inserir Linha Horizontal',
+	pagebreak		: 'Inserir Quebra de Página',
+	unlink			: 'Eliminar Hiperligação',
+	undo			: 'Anular',
+	redo			: 'Repetir',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Navegar no Servidor',
+		url				: 'URL',
+		protocol		: 'Protocolo',
+		upload			: 'Carregar',
+		uploadSubmit	: 'Enviar para o Servidor',
+		image			: 'Imagem',
+		flash			: 'Flash',
+		form			: 'Formulário',
+		checkbox		: 'Caixa de Verificação',
+		radio		: 'Botão de Opção',
+		textField		: 'Campo de Texto',
+		textarea		: 'Área de Texto',
+		hiddenField		: 'Campo Escondido',
+		button			: 'Botão',
+		select	: 'Caixa de Combinação',
+		imageButton		: 'Botão de Imagem',
+		notSet			: '<Não definido>',
+		id				: 'Id',
+		name			: 'Nome',
+		langDir			: 'Orientação de idioma',
+		langDirLtr		: 'Esquerda à Direita (LTR)',
+		langDirRtl		: 'Direita a Esquerda (RTL)',
+		langCode		: 'Código de Idioma',
+		longDescr		: 'Descrição Completa do URL',
+		cssClass		: 'Classes de Estilo de Folhas Classes',
+		advisoryTitle	: 'Título',
+		cssStyle		: 'Estilo',
+		ok				: 'OK',
+		cancel			: 'Cancelar',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Avançado',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Inserir Caracter Especial',
+		title		: 'Seleccione um caracter especial'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Inserir/Editar Hiperligação',
+		menu		: 'Editar Hiperligação',
+		title		: 'Hiperligação',
+		info		: 'Informação de Hiperligação',
+		target		: 'Destino',
+		upload		: 'Carregar',
+		advanced	: 'Avançado',
+		type		: 'Tipo de Hiperligação',
+		toAnchor	: 'Referência a esta página',
+		toEmail		: 'E-Mail',
+		target		: 'Destino',
+		targetNotSet	: '<Não definido>',
+		targetFrame	: '<Frame>',
+		targetPopup	: '<Janela de popup>',
+		targetNew	: 'Nova Janela(_blank)',
+		targetTop	: 'Janela primaria (_top)',
+		targetSelf	: 'Mesma janela (_self)',
+		targetParent	: 'Janela Pai (_parent)',
+		targetFrameName	: 'Nome do Frame Destino',
+		targetPopupName	: 'Nome da Janela de Popup',
+		popupFeatures	: 'Características de Janela de Popup',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Barra de Estado',
+		popupLocationBar	: 'Barra de localização',
+		popupToolbar	: 'Barra de Ferramentas',
+		popupMenuBar	: 'Barra de Menu',
+		popupFullScreen	: 'Janela Completa (IE)',
+		popupScrollBars	: 'Barras de deslocamento',
+		popupDependent	: 'Dependente (Netscape)',
+		popupWidth		: 'Largura',
+		popupLeft		: 'Posição Esquerda',
+		popupHeight		: 'Altura',
+		popupTop		: 'Posição Direita',
+		id				: 'Id', // MISSING
+		langDir			: 'Orientação de idioma',
+		langDirNotSet	: '<Não definido>',
+		langDirLTR		: 'Esquerda à Direita (LTR)',
+		langDirRTL		: 'Direita a Esquerda (RTL)',
+		acccessKey		: 'Chave de Acesso',
+		name			: 'Nome',
+		langCode		: 'Orientação de idioma',
+		tabIndex		: 'Índice de Tubulação',
+		advisoryTitle	: 'Título',
+		advisoryContentType	: 'Tipo de Conteúdo',
+		cssClasses		: 'Classes de Estilo de Folhas Classes',
+		charset			: 'Fonte de caracteres vinculado',
+		styles			: 'Estilo',
+		selectAnchor	: 'Seleccionar una referência',
+		anchorName		: 'Por Nome de Referência',
+		anchorId		: 'Por ID de elemento',
+		emailAddress	: 'Endereço de E-Mail',
+		emailSubject	: 'Título de Mensagem',
+		emailBody		: 'Corpo da Mensagem',
+		noAnchors		: '(Não há referências disponíveis no documento)',
+		noUrl			: 'Por favor introduza a hiperligação URL',
+		noEmail			: 'Por favor introduza o endereço de e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: ' Inserir/Editar Âncora',
+		menu		: 'Propriedades da Âncora',
+		title		: 'Propriedades da Âncora',
+		name		: 'Nome da Âncora',
+		errorName	: 'Por favor, introduza o nome da âncora'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Procurar',
+		replace				: 'Substituir',
+		findWhat			: 'Texto a Procurar:',
+		replaceWith			: 'Substituir por:',
+		notFoundMsg			: 'O texto especificado não foi encontrado.',
+		matchCase			: 'Maiúsculas/Minúsculas',
+		matchWord			: 'Coincidir com toda a palavra',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Substituir Tudo',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Propriedades da Tabela',
+		menu		: 'Propriedades da Tabela',
+		deleteTable	: 'Eliminar Tabela',
+		rows		: 'Linhas',
+		columns		: 'Colunas',
+		border		: 'Tamanho do Limite',
+		align		: 'Alinhamento',
+		alignNotSet	: '<Não definido>',
+		alignLeft	: 'Esquerda',
+		alignCenter	: 'Centrado',
+		alignRight	: 'Direita',
+		width		: 'Largura',
+		widthPx		: 'pixeis',
+		widthPc		: 'percentagem',
+		height		: 'Altura',
+		cellSpace	: 'Esp. e/células',
+		cellPad		: 'Esp. interior',
+		caption		: 'Título',
+		summary		: 'Sumário',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Célula',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Eliminar Célula',
+			merge			: 'Unir Células',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Linha',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Eliminar Linhas'
+		},
+
+		column :
+		{
+			menu			: 'Coluna',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Eliminar Coluna'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Propriedades do Botão',
+		text		: 'Texto (Valor)',
+		type		: 'Tipo',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Propriedades da Caixa de Verificação',
+		radioTitle	: 'Propriedades do Botão de Opção',
+		value		: 'Valor',
+		selected	: 'Seleccionado'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Propriedades do Formulário',
+		menu		: 'Propriedades do Formulário',
+		action		: 'Acção',
+		method		: 'Método',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Destino',
+		targetNotSet	: '<Não definido>',
+		targetNew	: 'Nova Janela(_blank)',
+		targetTop	: 'Janela primaria (_top)',
+		targetSelf	: 'Mesma janela (_self)',
+		targetParent	: 'Janela Pai (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Propriedades da Caixa de Combinação',
+		selectInfo	: 'Informação',
+		opAvail		: 'Opções Possíveis',
+		value		: 'Valor',
+		size		: 'Tamanho',
+		lines		: 'linhas',
+		chkMulti	: 'Permitir selecções múltiplas',
+		opText		: 'Texto',
+		opValue		: 'Valor',
+		btnAdd		: 'Adicionar',
+		btnModify	: 'Modificar',
+		btnUp		: 'Para cima',
+		btnDown		: 'Para baixo',
+		btnSetValue : 'Definir um valor por defeito',
+		btnDelete	: 'Apagar'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Propriedades da Área de Texto',
+		cols		: 'Colunas',
+		rows		: 'Linhas'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Propriedades do Campo de Texto',
+		name		: 'Nome',
+		value		: 'Valor',
+		charWidth	: 'Tamanho do caracter',
+		maxChars	: 'Nr. Máximo de Caracteres',
+		type		: 'Tipo',
+		typeText	: 'Texto',
+		typePass	: 'Palavra-chave'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Propriedades do Campo Escondido',
+		name	: 'Nome',
+		value	: 'Valor'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Propriedades da Imagem',
+		titleButton	: 'Propriedades do Botão de imagens',
+		menu		: 'Propriedades da Imagem',
+		infoTab	: 'Informação da Imagem',
+		btnUpload	: 'Enviar para o Servidor',
+		url		: 'URL',
+		upload	: 'Carregar',
+		alt		: 'Texto Alternativo',
+		width		: 'Largura',
+		height	: 'Altura',
+		lockRatio	: 'Proporcional',
+		resetSize	: 'Tamanho Original',
+		border	: 'Limite',
+		hSpace	: 'Esp.Horiz',
+		vSpace	: 'Esp.Vert',
+		align		: 'Alinhamento',
+		alignLeft	: 'Esquerda',
+		alignRight	: 'Direita',
+		preview	: 'Pré-visualizar',
+		alertUrl	: 'Por favor introduza o URL da imagem',
+		linkTab	: 'Hiperligação',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Propriedades do Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Propriedades do Flash',
+		chkPlay		: 'Reproduzir automaticamente',
+		chkLoop		: 'Loop',
+		chkMenu		: 'Permitir Menu do Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Escala',
+		scaleAll		: 'Mostrar tudo',
+		scaleNoBorder	: 'Sem Limites',
+		scaleFit		: 'Tamanho Exacto',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Alinhamento',
+		alignLeft	: 'Esquerda',
+		alignAbsBottom: 'Abs inferior',
+		alignAbsMiddle: 'Abs centro',
+		alignBaseline	: 'Linha de base',
+		alignBottom	: 'Fundo',
+		alignMiddle	: 'Centro',
+		alignRight	: 'Direita',
+		alignTextTop	: 'Topo do texto',
+		alignTop	: 'Topo',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Cor de Fundo',
+		width	: 'Largura',
+		height	: 'Altura',
+		hSpace	: 'Esp.Horiz',
+		vSpace	: 'Esp.Vert',
+		validateSrc : 'Por favor introduza a hiperligação URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Verificação Ortográfica',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Não está num directório',
+		changeTo		: 'Mudar para',
+		btnIgnore		: 'Ignorar',
+		btnIgnoreAll	: 'Ignorar Tudo',
+		btnReplace		: 'Substituir',
+		btnReplaceAll	: 'Substituir Tudo',
+		btnUndo			: 'Anular',
+		noSuggestions	: '- Sem sugestões -',
+		progress		: 'Verificação ortográfica em progresso…',
+		noMispell		: 'Verificação ortográfica completa: não foram encontrados erros',
+		noChanges		: 'Verificação ortográfica completa: não houve alteração de palavras',
+		oneChange		: 'Verificação ortográfica completa: uma palavra alterada',
+		manyChanges		: 'Verificação ortográfica completa: %1 palavras alteradas',
+		ieSpellDownload	: ' Verificação ortográfica não instalada. Quer descarregar agora?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Emoticons',
+		title	: 'Inserir um Emoticon'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numeração',
+	bulletedlist : 'Marcas',
+	indent : 'Aumentar Avanço',
+	outdent : 'Diminuir Avanço',
+
+	justify :
+	{
+		left : 'Alinhar à Esquerda',
+		center : 'Alinhar ao Centro',
+		right : 'Alinhar à Direita',
+		block : 'Justificado'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Colar',
+		cutError	: 'A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl+X).',
+		copyError	: 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl+C).',
+		pasteMsg	: 'Por favor, cole dentro da seguinte caixa usando o teclado (<STRONG>Ctrl+V</STRONG>) e prima <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Colar do Word',
+		title : 'Colar do Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Colar como Texto Simples',
+		title : 'Colar como Texto Simples'
+	},
+
+	templates :
+	{
+		button : 'Modelos',
+		title : 'Modelo de Conteúdo',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Por favor, seleccione o modelo a abrir no editor<br>(o conteúdo actual será perdido):',
+		emptyListMsg : '(Sem modelos definidos)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Estilo',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formato',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formato',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatado',
+		tag_address : 'Endereço',
+		tag_h1 : 'Título 1',
+		tag_h2 : 'Título 2',
+		tag_h3 : 'Título 3',
+		tag_h4 : 'Título 4',
+		tag_h5 : 'Título 5',
+		tag_h6 : 'Título 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Tipo de Letra',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Tipo de Letra',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Tamanho',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Tamanho',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Cor do Texto',
+		bgColorTitle : 'Cor de Fundo',
+		auto : 'Automático',
+		more : 'Mais Cores...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ro.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ro.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ro.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Romanian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ro'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Sursa',
+	newPage			: 'Pagină nouă',
+	save			: 'Salvează',
+	preview			: 'Previzualizare',
+	cut				: 'Taie',
+	copy			: 'Copiază',
+	paste			: 'Adaugă',
+	print			: 'Printează',
+	underline		: 'Subliniat (underline)',
+	bold			: 'Îngroşat (bold)',
+	italic			: 'Înclinat (italic)',
+	selectAll		: 'Selectează tot',
+	removeFormat	: 'Înlătură formatarea',
+	strike			: 'Tăiat (strike through)',
+	subscript		: 'Indice (subscript)',
+	superscript		: 'Putere (superscript)',
+	horizontalrule	: 'Inserează linie orizontă',
+	pagebreak		: 'Inserează separator de pagină (Page Break)',
+	unlink			: 'Înlătură link (legătură web)',
+	undo			: 'Starea anterioară (undo)',
+	redo			: 'Starea ulterioară (redo)',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Răsfoieşte server',
+		url				: 'URL',
+		protocol		: 'Protocol',
+		upload			: 'Încarcă',
+		uploadSubmit	: 'Trimite la server',
+		image			: 'Imagine',
+		flash			: 'Flash',
+		form			: 'Formular (Form)',
+		checkbox		: 'Bifă (Checkbox)',
+		radio		: 'Buton radio (RadioButton)',
+		textField		: 'Câmp text (TextField)',
+		textarea		: 'Suprafaţă text (Textarea)',
+		hiddenField		: 'Câmp ascuns (HiddenField)',
+		button			: 'Buton',
+		select	: 'Câmp selecţie (SelectionField)',
+		imageButton		: 'Buton imagine (ImageButton)',
+		notSet			: '<nesetat>',
+		id				: 'Id',
+		name			: 'Nume',
+		langDir			: 'Direcţia cuvintelor',
+		langDirLtr		: 'stânga-dreapta (LTR)',
+		langDirRtl		: 'dreapta-stânga (RTL)',
+		langCode		: 'Codul limbii',
+		longDescr		: 'Descrierea lungă URL',
+		cssClass		: 'Clasele cu stilul paginii (CSS)',
+		advisoryTitle	: 'Titlul consultativ',
+		cssStyle		: 'Stil',
+		ok				: 'Bine',
+		cancel			: 'Anulare',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Avansat',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Inserează caracter special',
+		title		: 'Selectează caracter special'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Inserează/Editează link (legătură web)',
+		menu		: 'Editează Link',
+		title		: 'Link (Legătură web)',
+		info		: 'Informaţii despre link (Legătură web)',
+		target		: 'Ţintă (Target)',
+		upload		: 'Încarcă',
+		advanced	: 'Avansat',
+		type		: 'Tipul link-ului (al legăturii web)',
+		toAnchor	: 'Ancoră în această pagină',
+		toEmail		: 'E-Mail',
+		target		: 'Ţintă (Target)',
+		targetNotSet	: '<nesetat>',
+		targetFrame	: '<frame>',
+		targetPopup	: '<fereastra popup>',
+		targetNew	: 'Fereastră nouă (_blank)',
+		targetTop	: 'Fereastra din topul ierarhiei (_top)',
+		targetSelf	: 'Aceeaşi fereastră (_self)',
+		targetParent	: 'Fereastra părinte (_parent)',
+		targetFrameName	: 'Numele frame-ului ţintă',
+		targetPopupName	: 'Numele ferestrei popup',
+		popupFeatures	: 'Proprietăţile ferestrei popup',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Bara de status',
+		popupLocationBar	: 'Bara de locaţie',
+		popupToolbar	: 'Bara de opţiuni',
+		popupMenuBar	: 'Bara de meniu',
+		popupFullScreen	: 'Tot ecranul (Full Screen)(IE)',
+		popupScrollBars	: 'Scroll Bars',
+		popupDependent	: 'Dependent (Netscape)',
+		popupWidth		: 'Lăţime',
+		popupLeft		: 'Poziţia la stânga',
+		popupHeight		: 'Înălţime',
+		popupTop		: 'Poziţia la dreapta',
+		id				: 'Id', // MISSING
+		langDir			: 'Direcţia cuvintelor',
+		langDirNotSet	: '<nesetat>',
+		langDirLTR		: 'stânga-dreapta (LTR)',
+		langDirRTL		: 'dreapta-stânga (RTL)',
+		acccessKey		: 'Tasta de acces',
+		name			: 'Nume',
+		langCode		: 'Direcţia cuvintelor',
+		tabIndex		: 'Indexul tabului',
+		advisoryTitle	: 'Titlul consultativ',
+		advisoryContentType	: 'Tipul consultativ al titlului',
+		cssClasses		: 'Clasele cu stilul paginii (CSS)',
+		charset			: 'Setul de caractere al resursei legate',
+		styles			: 'Stil',
+		selectAnchor	: 'Selectaţi o ancoră',
+		anchorName		: 'după numele ancorei',
+		anchorId		: 'după Id-ul elementului',
+		emailAddress	: 'Adresă de e-mail',
+		emailSubject	: 'Subiectul mesajului',
+		emailBody		: 'Conţinutul mesajului',
+		noAnchors		: '(Nicio ancoră disponibilă în document)',
+		noUrl			: 'Vă rugăm să scrieţi URL-ul',
+		noEmail			: 'Vă rugăm să scrieţi adresa de e-mail'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Inserează/Editează ancoră',
+		menu		: 'Proprietăţi ancoră',
+		title		: 'Proprietăţi ancoră',
+		name		: 'Numele ancorei',
+		errorName	: 'Vă rugăm scrieţi numele ancorei'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Găseşte şi înlocuieşte',
+		find				: 'Găseşte',
+		replace				: 'Înlocuieşte',
+		findWhat			: 'Găseşte:',
+		replaceWith			: 'Înlocuieşte cu:',
+		notFoundMsg			: 'Textul specificat nu a fost găsit.',
+		matchCase			: 'Deosebeşte majuscule de minuscule (Match case)',
+		matchWord			: 'Doar cuvintele întregi',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Înlocuieşte tot',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabel',
+		title		: 'Proprietăţile tabelului',
+		menu		: 'Proprietăţile tabelului',
+		deleteTable	: 'Şterge tabel',
+		rows		: 'Linii',
+		columns		: 'Coloane',
+		border		: 'Mărimea marginii',
+		align		: 'Aliniament',
+		alignNotSet	: '<Nesetat>',
+		alignLeft	: 'Stânga',
+		alignCenter	: 'Centru',
+		alignRight	: 'Dreapta',
+		width		: 'Lăţime',
+		widthPx		: 'pixeli',
+		widthPc		: 'procente',
+		height		: 'Înălţime',
+		cellSpace	: 'Spaţiu între celule',
+		cellPad		: 'Spaţiu în cadrul celulei',
+		caption		: 'Titlu (Caption)',
+		summary		: 'Rezumat',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Celulă',
+			insertBefore	: 'Inserează celulă înainte',
+			insertAfter		: 'Inserează celulă după',
+			deleteCell		: 'Şterge celule',
+			merge			: 'Uneşte celule',
+			mergeRight		: 'Uneşte la dreapta',
+			mergeDown		: 'Uneşte jos',
+			splitHorizontal	: 'Împarte celula pe orizontală',
+			splitVertical	: 'Împarte celula pe verticală',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Linie',
+			insertBefore	: 'Inserează linie înainte',
+			insertAfter		: 'Inserează linie după',
+			deleteRow		: 'Şterge linii'
+		},
+
+		column :
+		{
+			menu			: 'Coloană',
+			insertBefore	: 'Inserează coloană înainte',
+			insertAfter		: 'Inserează coloană după',
+			deleteColumn	: 'Şterge celule'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Proprietăţi buton',
+		text		: 'Text (Valoare)',
+		type		: 'Tip',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Proprietăţi bifă (Checkbox)',
+		radioTitle	: 'Proprietăţi buton radio (Radio Button)',
+		value		: 'Valoare',
+		selected	: 'Selectat'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Proprietăţi formular (Form)',
+		menu		: 'Proprietăţi formular (Form)',
+		action		: 'Acţiune',
+		method		: 'Metodă',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Ţintă (Target)',
+		targetNotSet	: '<nesetat>',
+		targetNew	: 'Fereastră nouă (_blank)',
+		targetTop	: 'Fereastra din topul ierarhiei (_top)',
+		targetSelf	: 'Aceeaşi fereastră (_self)',
+		targetParent	: 'Fereastra părinte (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Proprietăţi câmp selecţie (Selection Field)',
+		selectInfo	: 'Informaţii',
+		opAvail		: 'Opţiuni disponibile',
+		value		: 'Valoare',
+		size		: 'Mărime',
+		lines		: 'linii',
+		chkMulti	: 'Permite selecţii multiple',
+		opText		: 'Text',
+		opValue		: 'Valoare',
+		btnAdd		: 'Adaugă',
+		btnModify	: 'Modifică',
+		btnUp		: 'Sus',
+		btnDown		: 'Jos',
+		btnSetValue : 'Setează ca valoare selectată',
+		btnDelete	: 'Şterge'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Proprietăţi suprafaţă text (Textarea)',
+		cols		: 'Coloane',
+		rows		: 'Linii'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Proprietăţi câmp text (Text Field)',
+		name		: 'Nume',
+		value		: 'Valoare',
+		charWidth	: 'Lărgimea caracterului',
+		maxChars	: 'Caractere maxime',
+		type		: 'Tip',
+		typeText	: 'Text',
+		typePass	: 'Parolă'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Proprietăţi câmp ascuns (Hidden Field)',
+		name	: 'Nume',
+		value	: 'Valoare'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Proprietăţile imaginii',
+		titleButton	: 'Proprietăţi buton imagine (Image Button)',
+		menu		: 'Proprietăţile imaginii',
+		infoTab	: 'Informaţii despre imagine',
+		btnUpload	: 'Trimite la server',
+		url		: 'URL',
+		upload	: 'Încarcă',
+		alt		: 'Text alternativ',
+		width		: 'Lăţime',
+		height	: 'Înălţime',
+		lockRatio	: 'Păstrează proporţiile',
+		resetSize	: 'Resetează mărimea',
+		border	: 'Margine',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Aliniere',
+		alignLeft	: 'Stânga',
+		alignRight	: 'Dreapta',
+		preview	: 'Previzualizare',
+		alertUrl	: 'Vă rugăm să scrieţi URL-ul imaginii',
+		linkTab	: 'Link (Legătură web)',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Proprietăţile flash-ului',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Proprietăţile flash-ului',
+		chkPlay		: 'Rulează automat',
+		chkLoop		: 'Repetă (Loop)',
+		chkMenu		: 'Activează meniul flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Scală',
+		scaleAll		: 'Arată tot',
+		scaleNoBorder	: 'Fără margini (No border)',
+		scaleFit		: 'Potriveşte',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Aliniere',
+		alignLeft	: 'Stânga',
+		alignAbsBottom: 'Jos absolut (Abs Bottom)',
+		alignAbsMiddle: 'Mijloc absolut (Abs Middle)',
+		alignBaseline	: 'Linia de jos (Baseline)',
+		alignBottom	: 'Jos',
+		alignMiddle	: 'Mijloc',
+		alignRight	: 'Dreapta',
+		alignTextTop	: 'Text sus',
+		alignTop	: 'Sus',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Coloarea fundalului',
+		width	: 'Lăţime',
+		height	: 'Înălţime',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Vă rugăm să scrieţi URL-ul',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Verifică text',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Nu e în dicţionar',
+		changeTo		: 'Schimbă în',
+		btnIgnore		: 'Ignoră',
+		btnIgnoreAll	: 'Ignoră toate',
+		btnReplace		: 'Înlocuieşte',
+		btnReplaceAll	: 'Înlocuieşte tot',
+		btnUndo			: 'Starea anterioară (undo)',
+		noSuggestions	: '- Fără sugestii -',
+		progress		: 'Verificarea textului în desfăşurare...',
+		noMispell		: 'Verificarea textului terminată: Nicio greşeală găsită',
+		noChanges		: 'Verificarea textului terminată: Niciun cuvânt modificat',
+		oneChange		: 'Verificarea textului terminată: Un cuvânt modificat',
+		manyChanges		: 'Verificarea textului terminată: 1% cuvinte modificate',
+		ieSpellDownload	: 'Unealta pentru verificat textul (Spell checker) neinstalată. Doriţi să o descărcaţi acum?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Figură expresivă (Emoticon)',
+		title	: 'Inserează o figură expresivă (Emoticon)'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Listă numerotată',
+	bulletedlist : 'Listă cu puncte',
+	indent : 'Creşte indentarea',
+	outdent : 'Scade indentarea',
+
+	justify :
+	{
+		left : 'Aliniere la stânga',
+		center : 'Aliniere centrală',
+		right : 'Aliniere la dreapta',
+		block : 'Aliniere în bloc (Block Justify)'
+	},
+
+	blockquote : 'Citat',
+
+	clipboard :
+	{
+		title		: 'Adaugă',
+		cutError	: 'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de tăiere. Vă rugăm folosiţi tastatura (Ctrl+X).',
+		copyError	: 'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de copiere. Vă rugăm folosiţi tastatura (Ctrl+C).',
+		pasteMsg	: 'Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (<STRONG>Ctrl+V</STRONG>) şi apăsaţi <STRONG>OK</STRONG>.',
+		securityMsg	: 'Din cauza setărilor de securitate ale programului dvs. cu care navigaţi pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui să adăugaţi din nou datele în această fereastră.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Adaugă din Word',
+		title : 'Adaugă din Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Adaugă ca text simplu (Plain Text)',
+		title : 'Adaugă ca text simplu (Plain Text)'
+	},
+
+	templates :
+	{
+		button : 'Template-uri (şabloane)',
+		title : 'Template-uri (şabloane) de conţinut',
+		insertOption: 'Înlocuieşte cuprinsul actual',
+		selectPromptMsg: 'Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):',
+		emptyListMsg : '(Niciun template (şablon) definit)'
+	},
+
+	showBlocks : 'Arată blocurile',
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formatare',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formatare',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Mărime',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Mărime',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Culoarea textului',
+		bgColorTitle : 'Coloarea fundalului',
+		auto : 'Automatic',
+		more : 'Mai multe culori...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/ru.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/ru.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/ru.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Russian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ru'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Источник',
+	newPage			: 'Новая страница',
+	save			: 'Сохранить',
+	preview			: 'Предварительный просмотр',
+	cut				: 'Вырезать',
+	copy			: 'Копировать',
+	paste			: 'Вставить',
+	print			: 'Печать',
+	underline		: 'Подчеркнутый',
+	bold			: 'Жирный',
+	italic			: 'Курсив',
+	selectAll		: 'Выделить все',
+	removeFormat	: 'Убрать форматирование',
+	strike			: 'Зачеркнутый',
+	subscript		: 'Подстрочный индекс',
+	superscript		: 'Надстрочный индекс',
+	horizontalrule	: 'Вставить горизонтальную линию',
+	pagebreak		: 'Вставить разрыв страницы',
+	unlink			: 'Убрать ссылку',
+	undo			: 'Отменить',
+	redo			: 'Повторить',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Просмотреть на сервере',
+		url				: 'URL',
+		protocol		: 'Протокол',
+		upload			: 'Закачать',
+		uploadSubmit	: 'Послать на сервер',
+		image			: 'Изображение',
+		flash			: 'Flash',
+		form			: 'Форма',
+		checkbox		: 'Флаговая кнопка',
+		radio		: 'Кнопка выбора',
+		textField		: 'Текстовое поле',
+		textarea		: 'Текстовая область',
+		hiddenField		: 'Скрытое поле',
+		button			: 'Кнопка',
+		select	: 'Список',
+		imageButton		: 'Кнопка с изображением',
+		notSet			: '<не определено>',
+		id				: 'Идентификатор',
+		name			: 'Имя',
+		langDir			: 'Направление языка',
+		langDirLtr		: 'Слева на право (LTR)',
+		langDirRtl		: 'Справа на лево (RTL)',
+		langCode		: 'Язык',
+		longDescr		: 'Длинное описание URL',
+		cssClass		: 'Класс CSS',
+		advisoryTitle	: 'Заголовок',
+		cssStyle		: 'Стиль CSS',
+		ok				: 'ОК',
+		cancel			: 'Отмена',
+		generalTab		: 'Информация',
+		advancedTab		: 'Расширенный',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Вставить специальный символ',
+		title		: 'Выберите специальный символ'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Вставить/Редактировать ссылку',
+		menu		: 'Вставить ссылку',
+		title		: 'Ссылка',
+		info		: 'Информация ссылки',
+		target		: 'Цель',
+		upload		: 'Закачать',
+		advanced	: 'Расширенный',
+		type		: 'Тип ссылки',
+		toAnchor	: 'Якорь на эту страницу',
+		toEmail		: 'Эл. почта',
+		target		: 'Цель',
+		targetNotSet	: '<не определено>',
+		targetFrame	: '<фрейм>',
+		targetPopup	: '<всплывающее окно>',
+		targetNew	: 'Новое окно (_blank)',
+		targetTop	: 'Самое верхнее окно (_top)',
+		targetSelf	: 'Тоже окно (_self)',
+		targetParent	: 'Родительское окно (_parent)',
+		targetFrameName	: 'Имя целевого фрейма',
+		targetPopupName	: 'Имя всплывающего окна',
+		popupFeatures	: 'Свойства всплывающего окна',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Строка состояния',
+		popupLocationBar	: 'Панель локации',
+		popupToolbar	: 'Панель инструментов',
+		popupMenuBar	: 'Панель меню',
+		popupFullScreen	: 'Полный экран (IE)',
+		popupScrollBars	: 'Полосы прокрутки',
+		popupDependent	: 'Зависимый (Netscape)',
+		popupWidth		: 'Ширина',
+		popupLeft		: 'Позиция слева',
+		popupHeight		: 'Высота',
+		popupTop		: 'Позиция сверху',
+		id				: 'Id', // MISSING
+		langDir			: 'Направление языка',
+		langDirNotSet	: '<не определено>',
+		langDirLTR		: 'Слева на право (LTR)',
+		langDirRTL		: 'Справа на лево (RTL)',
+		acccessKey		: 'Горячая клавиша',
+		name			: 'Имя',
+		langCode		: 'Направление языка',
+		tabIndex		: 'Последовательность перехода',
+		advisoryTitle	: 'Заголовок',
+		advisoryContentType	: 'Тип содержимого',
+		cssClasses		: 'Класс CSS',
+		charset			: 'Кодировка',
+		styles			: 'Стиль CSS',
+		selectAnchor	: 'Выберите якорь',
+		anchorName		: 'По имени якоря',
+		anchorId		: 'По идентификатору элемента',
+		emailAddress	: 'Адрес эл. почты',
+		emailSubject	: 'Заголовок сообщения',
+		emailBody		: 'Тело сообщения',
+		noAnchors		: '(Нет якорей доступных в этом документе)',
+		noUrl			: 'Пожалуйста, введите URL ссылки',
+		noEmail			: 'Пожалуйста, введите адрес эл. почты'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Вставить/Редактировать якорь',
+		menu		: 'Свойства якоря',
+		title		: 'Свойства якоря',
+		name		: 'Имя якоря',
+		errorName	: 'Пожалуйста, введите имя якоря'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Найти и заменить',
+		find				: 'Найти',
+		replace				: 'Заменить',
+		findWhat			: 'Найти:',
+		replaceWith			: 'Заменить на:',
+		notFoundMsg			: 'Указанный текст не найден.',
+		matchCase			: 'Учитывать регистр',
+		matchWord			: 'Совпадение целых слов',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Заменить все',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Таблица',
+		title		: 'Свойства таблицы',
+		menu		: 'Свойства таблицы',
+		deleteTable	: 'Удалить таблицу',
+		rows		: 'Строки',
+		columns		: 'Колонки',
+		border		: 'Размер бордюра',
+		align		: 'Выравнивание',
+		alignNotSet	: '<Не уст.>',
+		alignLeft	: 'Слева',
+		alignCenter	: 'По центру',
+		alignRight	: 'Справа',
+		width		: 'Ширина',
+		widthPx		: 'пикселей',
+		widthPc		: 'процентов',
+		height		: 'Высота',
+		cellSpace	: 'Промежуток (spacing)',
+		cellPad		: 'Отступ (padding)',
+		caption		: 'Заголовок',
+		summary		: 'Резюме',
+		headers		: 'Заголовки',
+		headersNone		: 'Нет',
+		headersColumn	: 'Первый столбец',
+		headersRow		: 'Первая строка',
+		headersBoth		: 'Оба варианта',
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Ячейка',
+			insertBefore	: 'Вставить ячейку до',
+			insertAfter		: 'Вставить ячейку после',
+			deleteCell		: 'Удалить ячейки',
+			merge			: 'Соединить ячейки',
+			mergeRight		: 'Соединить вправо',
+			mergeDown		: 'Соединить вниз',
+			splitHorizontal	: 'Разбить ячейку горизонтально',
+			splitVertical	: 'Разбить ячейку вертикально',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Строка',
+			insertBefore	: 'Вставить строку до',
+			insertAfter		: 'Вставить строку после',
+			deleteRow		: 'Удалить строки'
+		},
+
+		column :
+		{
+			menu			: 'Колонка',
+			insertBefore	: 'Вставить колонку до',
+			insertAfter		: 'Вставить колонку после',
+			deleteColumn	: 'Удалить колонки'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Свойства кнопки',
+		text		: 'Текст (Значение)',
+		type		: 'Тип',
+		typeBtn		: 'Кнопка',
+		typeSbm		: 'Отправить',
+		typeRst		: 'Сбросить'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Свойства флаговой кнопки',
+		radioTitle	: 'Свойства кнопки выбора',
+		value		: 'Значение',
+		selected	: 'Выбранная'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Свойства формы',
+		menu		: 'Свойства формы',
+		action		: 'Действие',
+		method		: 'Метод',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Цель',
+		targetNotSet	: '<не определено>',
+		targetNew	: 'Новое окно (_blank)',
+		targetTop	: 'Самое верхнее окно (_top)',
+		targetSelf	: 'Тоже окно (_self)',
+		targetParent	: 'Родительское окно (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Свойства списка',
+		selectInfo	: 'Информация',
+		opAvail		: 'Доступные варианты',
+		value		: 'Значение',
+		size		: 'Размер',
+		lines		: 'линии',
+		chkMulti	: 'Разрешить множественный выбор',
+		opText		: 'Текст',
+		opValue		: 'Значение',
+		btnAdd		: 'Добавить',
+		btnModify	: 'Модифицировать',
+		btnUp		: 'Вверх',
+		btnDown		: 'Вниз',
+		btnSetValue : 'Установить как выбранное значение',
+		btnDelete	: 'Удалить'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Свойства текстовой области',
+		cols		: 'Колонки',
+		rows		: 'Строки'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Свойства текстового поля',
+		name		: 'Имя',
+		value		: 'Значение',
+		charWidth	: 'Ширина',
+		maxChars	: 'Макс. кол-во символов',
+		type		: 'Тип',
+		typeText	: 'Текст',
+		typePass	: 'Пароль'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Свойства скрытого поля',
+		name	: 'Имя',
+		value	: 'Значение'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Свойства изображения',
+		titleButton	: 'Свойства кнопки с изображением',
+		menu		: 'Свойства изображения',
+		infoTab	: 'Информация о изображении',
+		btnUpload	: 'Послать на сервер',
+		url		: 'URL',
+		upload	: 'Закачать',
+		alt		: 'Альтернативный текст',
+		width		: 'Ширина',
+		height	: 'Высота',
+		lockRatio	: 'Сохранять пропорции',
+		resetSize	: 'Сбросить размер',
+		border	: 'Бордюр',
+		hSpace	: 'Горизонтальный отступ',
+		vSpace	: 'Вертикальный отступ',
+		align		: 'Выравнивание',
+		alignLeft	: 'По левому краю',
+		alignRight	: 'По правому краю',
+		preview	: 'Предварительный просмотр',
+		alertUrl	: 'Пожалуйста, введите URL изображения',
+		linkTab	: 'Ссылка',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Свойства Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Свойства Flash',
+		chkPlay		: 'Авто проигрывание',
+		chkLoop		: 'Повтор',
+		chkMenu		: 'Включить меню Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Масштабировать',
+		scaleAll		: 'Показывать все',
+		scaleNoBorder	: 'Без бордюра',
+		scaleFit		: 'Точное совпадение',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Выравнивание',
+		alignLeft	: 'По левому краю',
+		alignAbsBottom: 'Абс понизу',
+		alignAbsMiddle: 'Абс посередине',
+		alignBaseline	: 'По базовой линии',
+		alignBottom	: 'Понизу',
+		alignMiddle	: 'Посередине',
+		alignRight	: 'По правому краю',
+		alignTextTop	: 'Текст наверху',
+		alignTop	: 'По верху',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Цвет фона',
+		width	: 'Ширина',
+		height	: 'Высота',
+		hSpace	: 'Горизонтальный отступ',
+		vSpace	: 'Вертикальный отступ',
+		validateSrc : 'Пожалуйста, введите URL ссылки',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Проверить орфографию',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Нет в словаре',
+		changeTo		: 'Заменить на',
+		btnIgnore		: 'Игнорировать',
+		btnIgnoreAll	: 'Игнорировать все',
+		btnReplace		: 'Заменить',
+		btnReplaceAll	: 'Заменить все',
+		btnUndo			: 'Отменить',
+		noSuggestions	: '- Нет предположений -',
+		progress		: 'Идет проверка орфографии...',
+		noMispell		: 'Проверка орфографии закончена: ошибок не найдено',
+		noChanges		: 'Проверка орфографии закончена: ни одного слова не изменено',
+		oneChange		: 'Проверка орфографии закончена: одно слово изменено',
+		manyChanges		: 'Проверка орфографии закончена: 1% слов изменен',
+		ieSpellDownload	: 'Модуль проверки орфографии не установлен. Хотите скачать его сейчас?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Смайлик',
+		title	: 'Вставить смайлик'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Нумерованный список',
+	bulletedlist : 'Маркированный список',
+	indent : 'Увеличить отступ',
+	outdent : 'Уменьшить отступ',
+
+	justify :
+	{
+		left : 'По левому краю',
+		center : 'По центру',
+		right : 'По правому краю',
+		block : 'По ширине'
+	},
+
+	blockquote : 'Цитата',
+
+	clipboard :
+	{
+		title		: 'Вставить',
+		cutError	: 'Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вырезания. Пожалуйста, используйте клавиатуру для этого (Ctrl+X).',
+		copyError	: 'Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции копирования. Пожалуйста, используйте клавиатуру для этого (Ctrl+C).',
+		pasteMsg	: 'Пожалуйста, вставьте текст в прямоугольник, используя сочетание клавиш (<STRONG>Ctrl+V</STRONG>), и нажмите <STRONG>OK</STRONG>.',
+		securityMsg	: 'По причине настроек безопасности браузера, редактор не имеет доступа к данным буфера обмена напрямую. Вам необходимо вставить текст снова в это окно.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Вставить из Word',
+		title : 'Вставить из Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Вставить только текст',
+		title : 'Вставить только текст'
+	},
+
+	templates :
+	{
+		button : 'Шаблоны',
+		title : 'Шаблоны содержимого',
+		insertOption: 'Заменить текущее содержание',
+		selectPromptMsg: 'Пожалуйста, выберете шаблон для открытия в редакторе<br>(текущее содержимое будет потеряно):',
+		emptyListMsg : '(Ни одного шаблона не определено)'
+	},
+
+	showBlocks : 'Показать блоки',
+
+	stylesCombo :
+	{
+		label : 'Стиль',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Форматирование',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Форматирование',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Нормальный',
+		tag_pre : 'Форматированный',
+		tag_address : 'Адрес',
+		tag_h1 : 'Заголовок 1',
+		tag_h2 : 'Заголовок 2',
+		tag_h3 : 'Заголовок 3',
+		tag_h4 : 'Заголовок 4',
+		tag_h5 : 'Заголовок 5',
+		tag_h6 : 'Заголовок 6',
+		tag_div : 'Нормальный (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Шрифт',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Шрифт',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Размер',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Размер',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Цвет текста',
+		bgColorTitle : 'Цвет фона',
+		auto : 'Автоматический',
+		more : 'Цвета...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/sk.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/sk.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/sk.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Slovak language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sk'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Zdroj',
+	newPage			: 'Nová stránka',
+	save			: 'Uložiť',
+	preview			: 'Náhľad',
+	cut				: 'Vystrihnúť',
+	copy			: 'Kopírovať',
+	paste			: 'Vložiť',
+	print			: 'Tlač',
+	underline		: 'Podčiarknuté',
+	bold			: 'Tučné',
+	italic			: 'Kurzíva',
+	selectAll		: 'Vybrať všetko',
+	removeFormat	: 'Odstrániť formátovanie',
+	strike			: 'Prečiarknuté',
+	subscript		: 'Dolný index',
+	superscript		: 'Horný index',
+	horizontalrule	: 'Vložiť vodorovnú čiaru',
+	pagebreak		: 'Vložiť oddeľovač stránky',
+	unlink			: 'Odstrániť odkaz',
+	undo			: 'Späť',
+	redo			: 'Znovu',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Prechádzať server',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Odoslať',
+		uploadSubmit	: 'Odoslať na server',
+		image			: 'Obrázok',
+		flash			: 'Flash',
+		form			: 'Formulár',
+		checkbox		: 'Zaškrtávacie políčko',
+		radio		: 'Prepínač',
+		textField		: 'Textové pole',
+		textarea		: 'Textová oblasť',
+		hiddenField		: 'Skryté pole',
+		button			: 'Tlačidlo',
+		select	: 'Rozbaľovací zoznam',
+		imageButton		: 'Obrázkové tlačidlo',
+		notSet			: '<nenastavené>',
+		id				: 'Id',
+		name			: 'Meno',
+		langDir			: 'Orientácia jazyka',
+		langDirLtr		: 'Zľava doprava (LTR)',
+		langDirRtl		: 'Sprava doľava (RTL)',
+		langCode		: 'Kód jazyka',
+		longDescr		: 'Dlhý popis URL',
+		cssClass		: 'Trieda štýlu',
+		advisoryTitle	: 'Pomocný titulok',
+		cssStyle		: 'Štýl',
+		ok				: 'OK',
+		cancel			: 'Zrušiť',
+		generalTab		: 'Hlavné',
+		advancedTab		: 'Rozšírené',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Vložiť špeciálne znaky',
+		title		: 'Výber špeciálneho znaku'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Vložiť/zmeniť odkaz',
+		menu		: 'Zmeniť odkaz',
+		title		: 'Odkaz',
+		info		: 'Informácie o odkaze',
+		target		: 'Cieľ',
+		upload		: 'Odoslať',
+		advanced	: 'Rozšírené',
+		type		: 'Typ odkazu',
+		toAnchor	: 'Kotva v tejto stránke',
+		toEmail		: 'E-Mail',
+		target		: 'Cieľ',
+		targetNotSet	: '<nenastavené>',
+		targetFrame	: '<rámec>',
+		targetPopup	: '<vyskakovacie okno>',
+		targetNew	: 'Nové okno (_blank)',
+		targetTop	: 'Hlavné okno (_top)',
+		targetSelf	: 'Rovnaké okno (_self)',
+		targetParent	: 'Rodičovské okno (_parent)',
+		targetFrameName	: 'Meno rámu cieľa',
+		targetPopupName	: 'Názov vyskakovacieho okna',
+		popupFeatures	: 'Vlastnosti vyskakovacieho okna',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Stavový riadok',
+		popupLocationBar	: 'Panel umiestnenia',
+		popupToolbar	: 'Panel nástrojov',
+		popupMenuBar	: 'Panel ponuky',
+		popupFullScreen	: 'Celá obrazovka (IE)',
+		popupScrollBars	: 'Posuvníky',
+		popupDependent	: 'Závislosť (Netscape)',
+		popupWidth		: 'Šírka',
+		popupLeft		: 'Ľavý okraj',
+		popupHeight		: 'Výška',
+		popupTop		: 'Horný okraj',
+		id				: 'Id', // MISSING
+		langDir			: 'Orientácia jazyka',
+		langDirNotSet	: '<nenastavené>',
+		langDirLTR		: 'Zľava doprava (LTR)',
+		langDirRTL		: 'Sprava doľava (RTL)',
+		acccessKey		: 'Prístupový kľúč',
+		name			: 'Meno',
+		langCode		: 'Orientácia jazyka',
+		tabIndex		: 'Poradie prvku',
+		advisoryTitle	: 'Pomocný titulok',
+		advisoryContentType	: 'Pomocný typ obsahu',
+		cssClasses		: 'Trieda štýlu',
+		charset			: 'Priradená znaková sada',
+		styles			: 'Štýl',
+		selectAnchor	: 'Vybrať kotvu',
+		anchorName		: 'Podľa mena kotvy',
+		anchorId		: 'Podľa Id objektu',
+		emailAddress	: 'E-Mailová adresa',
+		emailSubject	: 'Predmet správy',
+		emailBody		: 'Telo správy',
+		noAnchors		: '(V stránke nie je definovaná žiadna kotva)',
+		noUrl			: 'Zadajte prosím URL odkazu',
+		noEmail			: 'Zadajte prosím e-mailovú adresu'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Vložiť/zmeniť kotvu',
+		menu		: 'Vlastnosti kotvy',
+		title		: 'Vlastnosti kotvy',
+		name		: 'Meno kotvy',
+		errorName	: 'Zadajte prosím meno kotvy'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Nájsť a nahradiť',
+		find				: 'Hľadať',
+		replace				: 'Nahradiť',
+		findWhat			: 'Čo hľadať:',
+		replaceWith			: 'Čím nahradiť:',
+		notFoundMsg			: 'Hľadaný text nebol nájdený.',
+		matchCase			: 'Rozlišovať malé/veľké písmená',
+		matchWord			: 'Len celé slová',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Nahradiť všetko',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabuľka',
+		title		: 'Vlastnosti tabuľky',
+		menu		: 'Vlastnosti tabuľky',
+		deleteTable	: 'Vymazať tabuľku',
+		rows		: 'Riadky',
+		columns		: 'Stĺpce',
+		border		: 'Ohraničenie',
+		align		: 'Zarovnanie',
+		alignNotSet	: '<nenastavené>',
+		alignLeft	: 'Vľavo',
+		alignCenter	: 'Na stred',
+		alignRight	: 'Vpravo',
+		width		: 'Šírka',
+		widthPx		: 'pixelov',
+		widthPc		: 'percent',
+		height		: 'Výška',
+		cellSpace	: 'Vzdialenosť buniek',
+		cellPad		: 'Odsadenie obsahu',
+		caption		: 'Popis',
+		summary		: 'Prehľad',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Bunka',
+			insertBefore	: 'Vložiť bunku pred',
+			insertAfter		: 'Vložiť bunku za',
+			deleteCell		: 'Vymazať bunky',
+			merge			: 'Zlúčiť bunky',
+			mergeRight		: 'Zlúčiť doprava',
+			mergeDown		: 'Zlúčiť dole',
+			splitHorizontal	: 'Rozdeliť bunky horizontálne',
+			splitVertical	: 'Rozdeliť bunky vertikálne',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Riadok',
+			insertBefore	: 'Vložiť riadok za',
+			insertAfter		: 'Vložiť riadok pred',
+			deleteRow		: 'Vymazať riadok'
+		},
+
+		column :
+		{
+			menu			: 'Stĺpec',
+			insertBefore	: 'Vložiť stĺpec za',
+			insertAfter		: 'Vložiť stĺpec pred',
+			deleteColumn	: 'Zmazať stĺpec'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Vlastnosti tlačidla',
+		text		: 'Text',
+		type		: 'Typ',
+		typeBtn		: 'Tlačidlo',
+		typeSbm		: 'Odoslať',
+		typeRst		: 'Vymazať'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Vlastnosti zaškrtávacieho políčka',
+		radioTitle	: 'Vlastnosti prepínača',
+		value		: 'Hodnota',
+		selected	: 'Vybrané'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Vlastnosti formulára',
+		menu		: 'Vlastnosti formulára',
+		action		: 'Akcie',
+		method		: 'Metóda',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Cieľ',
+		targetNotSet	: '<nenastavené>',
+		targetNew	: 'Nové okno (_blank)',
+		targetTop	: 'Hlavné okno (_top)',
+		targetSelf	: 'Rovnaké okno (_self)',
+		targetParent	: 'Rodičovské okno (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Vlastnosti rozbaľovacieho zoznamu',
+		selectInfo	: 'Info',
+		opAvail		: 'Dostupné možnosti',
+		value		: 'Hodnota',
+		size		: 'Veľkosť',
+		lines		: 'riadkov',
+		chkMulti	: 'Povoliť viacnásobný výber',
+		opText		: 'Text',
+		opValue		: 'Hodnota',
+		btnAdd		: 'Pridať',
+		btnModify	: 'Zmeniť',
+		btnUp		: 'Hore',
+		btnDown		: 'Dole',
+		btnSetValue : 'Nastaviť ako vybranú hodnotu',
+		btnDelete	: 'Zmazať'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Vlastnosti textovej oblasti',
+		cols		: 'Stĺpce',
+		rows		: 'Riadky'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Vlastnosti textového poľa',
+		name		: 'Názov',
+		value		: 'Hodnota',
+		charWidth	: 'Šírka pola (znakov)',
+		maxChars	: 'Maximálny počet znakov',
+		type		: 'Typ',
+		typeText	: 'Text',
+		typePass	: 'Heslo'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Vlastnosti skrytého poľa',
+		name	: 'Názov',
+		value	: 'Hodnota'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Vlastnosti obrázku',
+		titleButton	: 'Vlastnosti obrázkového tlačidla',
+		menu		: 'Vlastnosti obrázku',
+		infoTab	: 'Informácie o obrázku',
+		btnUpload	: 'Odoslať na server',
+		url		: 'URL',
+		upload	: 'Odoslať',
+		alt		: 'Alternatívny text',
+		width		: 'Šírka',
+		height	: 'Výška',
+		lockRatio	: 'Zámok',
+		resetSize	: 'Pôvodná veľkosť',
+		border	: 'Okraje',
+		hSpace	: 'H-medzera',
+		vSpace	: 'V-medzera',
+		align		: 'Zarovnanie',
+		alignLeft	: 'Vľavo',
+		alignRight	: 'Vpravo',
+		preview	: 'Náhľad',
+		alertUrl	: 'Zadajte prosím URL obrázku',
+		linkTab	: 'Odkaz',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Vlastnosti Flashu',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Vlastnosti Flashu',
+		chkPlay		: 'Automatické prehrávanie',
+		chkLoop		: 'Opakovanie',
+		chkMenu		: 'Povoliť Flash Menu',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Mierka',
+		scaleAll		: 'Zobraziť mierku',
+		scaleNoBorder	: 'Bez okrajov',
+		scaleFit		: 'Roztiahnuť na celé',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Zarovnanie',
+		alignLeft	: 'Vľavo',
+		alignAbsBottom: 'Úplne dole',
+		alignAbsMiddle: 'Do stredu',
+		alignBaseline	: 'Na základňu',
+		alignBottom	: 'Dole',
+		alignMiddle	: 'Na stred',
+		alignRight	: 'Vpravo',
+		alignTextTop	: 'Na horný okraj textu',
+		alignTop	: 'Nahor',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Farba pozadia',
+		width	: 'Šírka',
+		height	: 'Výška',
+		hSpace	: 'H-medzera',
+		vSpace	: 'V-medzera',
+		validateSrc : 'Zadajte prosím URL odkazu',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Kontrola pravopisu',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Nie je v slovníku',
+		changeTo		: 'Zmeniť na',
+		btnIgnore		: 'Ignorovať',
+		btnIgnoreAll	: 'Ignorovať všetko',
+		btnReplace		: 'Prepísat',
+		btnReplaceAll	: 'Prepísat všetko',
+		btnUndo			: 'Späť',
+		noSuggestions	: '- Žiadny návrh -',
+		progress		: 'Prebieha kontrola pravopisu...',
+		noMispell		: 'Kontrola pravopisu dokončená: bez chýb',
+		noChanges		: 'Kontrola pravopisu dokončená: žiadne slová nezmenené',
+		oneChange		: 'Kontrola pravopisu dokončená: zmenené jedno slovo',
+		manyChanges		: 'Kontrola pravopisu dokončená: zmenených %1 slov',
+		ieSpellDownload	: 'Kontrola pravopisu nie je naištalovaná. Chcete ju hneď stiahnuť?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smajlíky',
+		title	: 'Vkladanie smajlíkov'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Číslovanie',
+	bulletedlist : 'Odrážky',
+	indent : 'Zväčšiť odsadenie',
+	outdent : 'Zmenšiť odsadenie',
+
+	justify :
+	{
+		left : 'Zarovnať vľavo',
+		center : 'Zarovnať na stred',
+		right : 'Zarovnať vpravo',
+		block : 'Zarovnať do bloku'
+	},
+
+	blockquote : 'Citácia',
+
+	clipboard :
+	{
+		title		: 'Vložiť',
+		cutError	: 'Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru spustiť funkciu pre vystrihnutie zvoleného textu do schránky. Prosím vystrihnite zvolený text do schránky pomocou klávesnice (Ctrl+X).',
+		copyError	: 'Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru spustiť funkciu pre kopírovanie zvoleného textu do schránky. Prosím skopírujte zvolený text do schránky pomocou klávesnice (Ctrl+C).',
+		pasteMsg	: 'Prosím vložte nasledovný rámček použitím klávesnice (<STRONG>Ctrl+V</STRONG>) a stlačte <STRONG>OK</STRONG>.',
+		securityMsg	: 'Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru pristupovať priamo k datám v schránke. Musíte ich vložiť znovu do tohto okna.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Vložiť z Wordu',
+		title : 'Vložiť z Wordu',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Vložiť ako čistý text',
+		title : 'Vložiť ako čistý text'
+	},
+
+	templates :
+	{
+		button : 'Šablóny',
+		title : 'Šablóny obsahu',
+		insertOption: 'Nahradiť aktuálny obsah',
+		selectPromptMsg: 'Prosím vyberte šablóny na otvorenie v editore<br>(súšasný obsah bude stratený):',
+		emptyListMsg : '(žiadne šablóny nenájdené)'
+	},
+
+	showBlocks : 'Ukázať bloky',
+
+	stylesCombo :
+	{
+		label : 'Štýl',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Formát',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Formát',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normálny',
+		tag_pre : 'Formátovaný',
+		tag_address : 'Adresa',
+		tag_h1 : 'Nadpis 1',
+		tag_h2 : 'Nadpis 2',
+		tag_h3 : 'Nadpis 3',
+		tag_h4 : 'Nadpis 4',
+		tag_h5 : 'Nadpis 5',
+		tag_h6 : 'Nadpis 6',
+		tag_div : 'Odsek (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Písmo',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Písmo',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Veľkosť',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Veľkosť',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Farba textu',
+		bgColorTitle : 'Farba pozadia',
+		auto : 'Automaticky',
+		more : 'Viac farieb...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/sl.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/sl.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/sl.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Slovenian language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sl'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Izvorna koda',
+	newPage			: 'Nova stran',
+	save			: 'Shrani',
+	preview			: 'Predogled',
+	cut				: 'Izreži',
+	copy			: 'Kopiraj',
+	paste			: 'Prilepi',
+	print			: 'Natisni',
+	underline		: 'Podčrtano',
+	bold			: 'Krepko',
+	italic			: 'Ležeče',
+	selectAll		: 'Izberi vse',
+	removeFormat	: 'Odstrani oblikovanje',
+	strike			: 'Prečrtano',
+	subscript		: 'Podpisano',
+	superscript		: 'Nadpisano',
+	horizontalrule	: 'Vstavi vodoravno črto',
+	pagebreak		: 'Vstavi prelom strani',
+	unlink			: 'Odstrani povezavo',
+	undo			: 'Razveljavi',
+	redo			: 'Ponovi',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Prebrskaj na strežniku',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Prenesi',
+		uploadSubmit	: 'Pošlji na strežnik',
+		image			: 'Slika',
+		flash			: 'Flash',
+		form			: 'Obrazec',
+		checkbox		: 'Potrditveno polje',
+		radio		: 'Izbirno polje',
+		textField		: 'Vnosno polje',
+		textarea		: 'Vnosno območje',
+		hiddenField		: 'Skrito polje',
+		button			: 'Gumb',
+		select	: 'Spustni seznam',
+		imageButton		: 'Gumb s sliko',
+		notSet			: '<ni postavljen>',
+		id				: 'Id',
+		name			: 'Ime',
+		langDir			: 'Smer jezika',
+		langDirLtr		: 'Od leve proti desni (LTR)',
+		langDirRtl		: 'Od desne proti levi (RTL)',
+		langCode		: 'Oznaka jezika',
+		longDescr		: 'Dolg opis URL-ja',
+		cssClass		: 'Razred stilne predloge',
+		advisoryTitle	: 'Predlagani naslov',
+		cssStyle		: 'Slog',
+		ok				: 'V redu',
+		cancel			: 'Prekliči',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Napredno',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Vstavi posebni znak',
+		title		: 'Izberi posebni znak'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Vstavi/uredi povezavo',
+		menu		: 'Uredi povezavo',
+		title		: 'Povezava',
+		info		: 'Podatki o povezavi',
+		target		: 'Cilj',
+		upload		: 'Prenesi',
+		advanced	: 'Napredno',
+		type		: 'Vrsta povezave',
+		toAnchor	: 'Zaznamek na tej strani',
+		toEmail		: 'Elektronski naslov',
+		target		: 'Cilj',
+		targetNotSet	: '<ni postavljen>',
+		targetFrame	: '<okvir>',
+		targetPopup	: '<pojavno okno>',
+		targetNew	: 'Novo okno (_blank)',
+		targetTop	: 'Najvišje okno (_top)',
+		targetSelf	: 'Isto okno (_self)',
+		targetParent	: 'Starševsko okno (_parent)',
+		targetFrameName	: 'Ime ciljnega okvirja',
+		targetPopupName	: 'Ime pojavnega okna',
+		popupFeatures	: 'Značilnosti pojavnega okna',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Vrstica stanja',
+		popupLocationBar	: 'Naslovna vrstica',
+		popupToolbar	: 'Orodna vrstica',
+		popupMenuBar	: 'Menijska vrstica',
+		popupFullScreen	: 'Celozaslonska slika (IE)',
+		popupScrollBars	: 'Drsniki',
+		popupDependent	: 'Podokno (Netscape)',
+		popupWidth		: 'Širina',
+		popupLeft		: 'Lega levo',
+		popupHeight		: 'Višina',
+		popupTop		: 'Lega na vrhu',
+		id				: 'Id', // MISSING
+		langDir			: 'Smer jezika',
+		langDirNotSet	: '<ni postavljen>',
+		langDirLTR		: 'Od leve proti desni (LTR)',
+		langDirRTL		: 'Od desne proti levi (RTL)',
+		acccessKey		: 'Vstopno geslo',
+		name			: 'Ime',
+		langCode		: 'Smer jezika',
+		tabIndex		: 'Številka tabulatorja',
+		advisoryTitle	: 'Predlagani naslov',
+		advisoryContentType	: 'Predlagani tip vsebine (content-type)',
+		cssClasses		: 'Razred stilne predloge',
+		charset			: 'Kodna tabela povezanega vira',
+		styles			: 'Slog',
+		selectAnchor	: 'Izberi zaznamek',
+		anchorName		: 'Po imenu zaznamka',
+		anchorId		: 'Po ID-ju elementa',
+		emailAddress	: 'Elektronski naslov',
+		emailSubject	: 'Predmet sporočila',
+		emailBody		: 'Vsebina sporočila',
+		noAnchors		: '(V tem dokumentu ni zaznamkov)',
+		noUrl			: 'Vnesite URL povezave',
+		noEmail			: 'Vnesite elektronski naslov'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Vstavi/uredi zaznamek',
+		menu		: 'Lastnosti zaznamka',
+		title		: 'Lastnosti zaznamka',
+		name		: 'Ime zaznamka',
+		errorName	: 'Prosim vnesite ime zaznamka'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Najdi in zamenjaj',
+		find				: 'Najdi',
+		replace				: 'Zamenjaj',
+		findWhat			: 'Najdi:',
+		replaceWith			: 'Zamenjaj z:',
+		notFoundMsg			: 'Navedeno besedilo ni bilo najdeno.',
+		matchCase			: 'Razlikuj velike in male črke',
+		matchWord			: 'Samo cele besede',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Zamenjaj vse',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Lastnosti tabele',
+		menu		: 'Lastnosti tabele',
+		deleteTable	: 'Izbriši tabelo',
+		rows		: 'Vrstice',
+		columns		: 'Stolpci',
+		border		: 'Velikost obrobe',
+		align		: 'Poravnava',
+		alignNotSet	: '<Ni nastavljeno>',
+		alignLeft	: 'Levo',
+		alignCenter	: 'Sredinsko',
+		alignRight	: 'Desno',
+		width		: 'Širina',
+		widthPx		: 'pik',
+		widthPc		: 'procentov',
+		height		: 'Višina',
+		cellSpace	: 'Razmik med celicami',
+		cellPad		: 'Polnilo med celicami',
+		caption		: 'Naslov',
+		summary		: 'Povzetek',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Celica',
+			insertBefore	: 'Vstavi celico pred',
+			insertAfter		: 'Vstavi celico za',
+			deleteCell		: 'Izbriši celice',
+			merge			: 'Združi celice',
+			mergeRight		: 'Združi desno',
+			mergeDown		: 'Druži navzdol',
+			splitHorizontal	: 'Razdeli celico vodoravno',
+			splitVertical	: 'Razdeli celico navpično',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Vrstica',
+			insertBefore	: 'Vstavi vrstico pred',
+			insertAfter		: 'Vstavi vrstico za',
+			deleteRow		: 'Izbriši vrstice'
+		},
+
+		column :
+		{
+			menu			: 'Stolpec',
+			insertBefore	: 'Vstavi stolpec pred',
+			insertAfter		: 'Vstavi stolpec za',
+			deleteColumn	: 'Izbriši stolpce'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Lastnosti gumba',
+		text		: 'Besedilo (Vrednost)',
+		type		: 'Tip',
+		typeBtn		: 'Gumb',
+		typeSbm		: 'Potrdi',
+		typeRst		: 'Ponastavi'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Lastnosti potrditvenega polja',
+		radioTitle	: 'Lastnosti izbirnega polja',
+		value		: 'Vrednost',
+		selected	: 'Izbrano'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Lastnosti obrazca',
+		menu		: 'Lastnosti obrazca',
+		action		: 'Akcija',
+		method		: 'Metoda',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Cilj',
+		targetNotSet	: '<ni postavljen>',
+		targetNew	: 'Novo okno (_blank)',
+		targetTop	: 'Najvišje okno (_top)',
+		targetSelf	: 'Isto okno (_self)',
+		targetParent	: 'Starševsko okno (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Lastnosti spustnega seznama',
+		selectInfo	: 'Podatki',
+		opAvail		: 'Razpoložljive izbire',
+		value		: 'Vrednost',
+		size		: 'Velikost',
+		lines		: 'vrstic',
+		chkMulti	: 'Dovoli izbor večih vrstic',
+		opText		: 'Besedilo',
+		opValue		: 'Vrednost',
+		btnAdd		: 'Dodaj',
+		btnModify	: 'Spremeni',
+		btnUp		: 'Gor',
+		btnDown		: 'Dol',
+		btnSetValue : 'Postavi kot privzeto izbiro',
+		btnDelete	: 'Izbriši'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Lastnosti vnosnega območja',
+		cols		: 'Stolpcev',
+		rows		: 'Vrstic'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Lastnosti vnosnega polja',
+		name		: 'Ime',
+		value		: 'Vrednost',
+		charWidth	: 'Dolžina',
+		maxChars	: 'Največje število znakov',
+		type		: 'Tip',
+		typeText	: 'Besedilo',
+		typePass	: 'Geslo'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Lastnosti skritega polja',
+		name	: 'Ime',
+		value	: 'Vrednost'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Lastnosti slike',
+		titleButton	: 'Lastnosti gumba s sliko',
+		menu		: 'Lastnosti slike',
+		infoTab	: 'Podatki o sliki',
+		btnUpload	: 'Pošlji na strežnik',
+		url		: 'URL',
+		upload	: 'Pošlji',
+		alt		: 'Nadomestno besedilo',
+		width		: 'Širina',
+		height	: 'Višina',
+		lockRatio	: 'Zakleni razmerje',
+		resetSize	: 'Ponastavi velikost',
+		border	: 'Obroba',
+		hSpace	: 'Vodoravni razmik',
+		vSpace	: 'Navpični razmik',
+		align		: 'Poravnava',
+		alignLeft	: 'Levo',
+		alignRight	: 'Desno',
+		preview	: 'Predogled',
+		alertUrl	: 'Vnesite URL slike',
+		linkTab	: 'Povezava',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Lastnosti Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Lastnosti Flash',
+		chkPlay		: 'Samodejno predvajaj',
+		chkLoop		: 'Ponavljanje',
+		chkMenu		: 'Omogoči Flash Meni',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Povečava',
+		scaleAll		: 'Pokaži vse',
+		scaleNoBorder	: 'Brez obrobe',
+		scaleFit		: 'Natančno prileganje',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Poravnava',
+		alignLeft	: 'Levo',
+		alignAbsBottom: 'Popolnoma na dno',
+		alignAbsMiddle: 'Popolnoma v sredino',
+		alignBaseline	: 'Na osnovno črto',
+		alignBottom	: 'Na dno',
+		alignMiddle	: 'V sredino',
+		alignRight	: 'Desno',
+		alignTextTop	: 'Besedilo na vrh',
+		alignTop	: 'Na vrh',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Barva ozadja',
+		width	: 'Širina',
+		height	: 'Višina',
+		hSpace	: 'Vodoravni razmik',
+		vSpace	: 'Navpični razmik',
+		validateSrc : 'Vnesite URL povezave',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Preveri črkovanje',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Ni v slovarju',
+		changeTo		: 'Spremeni v',
+		btnIgnore		: 'Prezri',
+		btnIgnoreAll	: 'Prezri vse',
+		btnReplace		: 'Zamenjaj',
+		btnReplaceAll	: 'Zamenjaj vse',
+		btnUndo			: 'Razveljavi',
+		noSuggestions	: '- Ni predlogov -',
+		progress		: 'Preverjanje črkovanja se izvaja...',
+		noMispell		: 'Črkovanje je končano: Brez napak',
+		noChanges		: 'Črkovanje je končano: Nobena beseda ni bila spremenjena',
+		oneChange		: 'Črkovanje je končano: Spremenjena je bila ena beseda',
+		manyChanges		: 'Črkovanje je končano: Spremenjenih je bilo %1 besed',
+		ieSpellDownload	: 'Črkovalnik ni nameščen. Ali ga želite prenesti sedaj?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smeško',
+		title	: 'Vstavi smeška'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Oštevilčen seznam',
+	bulletedlist : 'Označen seznam',
+	indent : 'Povečaj zamik',
+	outdent : 'Zmanjšaj zamik',
+
+	justify :
+	{
+		left : 'Leva poravnava',
+		center : 'Sredinska poravnava',
+		right : 'Desna poravnava',
+		block : 'Obojestranska poravnava'
+	},
+
+	blockquote : 'Citat',
+
+	clipboard :
+	{
+		title		: 'Prilepi',
+		cutError	: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+X).',
+		copyError	: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+C).',
+		pasteMsg	: 'Prosim prilepite v sleči okvir s pomočjo tipkovnice (<STRONG>Ctrl+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.',
+		securityMsg	: 'Zaradi varnostnih nastavitev vašega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Prilepi iz Worda',
+		title : 'Prilepi iz Worda',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Prilepi kot golo besedilo',
+		title : 'Prilepi kot golo besedilo'
+	},
+
+	templates :
+	{
+		button : 'Predloge',
+		title : 'Vsebinske predloge',
+		insertOption: 'Zamenjaj trenutno vsebino',
+		selectPromptMsg: 'Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):',
+		emptyListMsg : '(Ni pripravljenih predlog)'
+	},
+
+	showBlocks : 'Prikaži ograde',
+
+	stylesCombo :
+	{
+		label : 'Slog',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Oblika',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Oblika',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Navaden',
+		tag_pre : 'Oblikovan',
+		tag_address : 'Napis',
+		tag_h1 : 'Naslov 1',
+		tag_h2 : 'Naslov 2',
+		tag_h3 : 'Naslov 3',
+		tag_h4 : 'Naslov 4',
+		tag_h5 : 'Naslov 5',
+		tag_h6 : 'Naslov 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Pisava',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Pisava',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Velikost',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Velikost',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Barva besedila',
+		bgColorTitle : 'Barva ozadja',
+		auto : 'Samodejno',
+		more : 'Več barv...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/sr-latn.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/sr-latn.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/sr-latn.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Serbian (Latin) language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sr-latn'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kôd',
+	newPage			: 'Nova stranica',
+	save			: 'Sačuvaj',
+	preview			: 'Izgled stranice',
+	cut				: 'Iseci',
+	copy			: 'Kopiraj',
+	paste			: 'Zalepi',
+	print			: 'Štampa',
+	underline		: 'Podvučeno',
+	bold			: 'Podebljano',
+	italic			: 'Kurziv',
+	selectAll		: 'Označi sve',
+	removeFormat	: 'Ukloni formatiranje',
+	strike			: 'Precrtano',
+	subscript		: 'Indeks',
+	superscript		: 'Stepen',
+	horizontalrule	: 'Unesi horizontalnu liniju',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: 'Ukloni link',
+	undo			: 'Poni�ti akciju',
+	redo			: 'Ponovi akciju',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Pretraži server',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Pošalji',
+		uploadSubmit	: 'Pošalji na server',
+		image			: 'Slika',
+		flash			: 'Fleš',
+		form			: 'Forma',
+		checkbox		: 'Polje za potvrdu',
+		radio		: 'Radio-dugme',
+		textField		: 'Tekstualno polje',
+		textarea		: 'Zona teksta',
+		hiddenField		: 'Skriveno polje',
+		button			: 'Dugme',
+		select	: 'Izborno polje',
+		imageButton		: 'Dugme sa slikom',
+		notSet			: '<nije postavljeno>',
+		id				: 'Id',
+		name			: 'Naziv',
+		langDir			: 'Smer jezika',
+		langDirLtr		: 'S leva na desno (LTR)',
+		langDirRtl		: 'S desna na levo (RTL)',
+		langCode		: 'Kôd jezika',
+		longDescr		: 'Pun opis URL',
+		cssClass		: 'Stylesheet klase',
+		advisoryTitle	: 'Advisory naslov',
+		cssStyle		: 'Stil',
+		ok				: 'OK',
+		cancel			: 'Otkaži',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Napredni tagovi',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Unesi specijalni karakter',
+		title		: 'Odaberite specijalni karakter'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Unesi/izmeni link',
+		menu		: 'Izmeni link',
+		title		: 'Link',
+		info		: 'Link Info',
+		target		: 'Meta',
+		upload		: 'Pošalji',
+		advanced	: 'Napredni tagovi',
+		type		: 'Vrsta linka',
+		toAnchor	: 'Sidro na ovoj stranici',
+		toEmail		: 'E-Mail',
+		target		: 'Meta',
+		targetNotSet	: '<nije postavljeno>',
+		targetFrame	: '<okvir>',
+		targetPopup	: '<popup prozor>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Prozor na vrhu (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Roditeljski prozor (_parent)',
+		targetFrameName	: 'Naziv odredišnog frejma',
+		targetPopupName	: 'Naziv popup prozora',
+		popupFeatures	: 'Mogućnosti popup prozora',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Statusna linija',
+		popupLocationBar	: 'Lokacija',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Kontekstni meni',
+		popupFullScreen	: 'Prikaz preko celog ekrana (IE)',
+		popupScrollBars	: 'Scroll bar',
+		popupDependent	: 'Zavisno (Netscape)',
+		popupWidth		: 'Širina',
+		popupLeft		: 'Od leve ivice ekrana (px)',
+		popupHeight		: 'Visina',
+		popupTop		: 'Od vrha ekrana (px)',
+		id				: 'Id', // MISSING
+		langDir			: 'Smer jezika',
+		langDirNotSet	: '<nije postavljeno>',
+		langDirLTR		: 'S leva na desno (LTR)',
+		langDirRTL		: 'S desna na levo (RTL)',
+		acccessKey		: 'Pristupni taster',
+		name			: 'Naziv',
+		langCode		: 'Smer jezika',
+		tabIndex		: 'Tab indeks',
+		advisoryTitle	: 'Advisory naslov',
+		advisoryContentType	: 'Advisory vrsta sadržaja',
+		cssClasses		: 'Stylesheet klase',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Stil',
+		selectAnchor	: 'Odaberi sidro',
+		anchorName		: 'Po nazivu sidra',
+		anchorId		: 'Po Id-ju elementa',
+		emailAddress	: 'E-Mail adresa',
+		emailSubject	: 'Naslov',
+		emailBody		: 'Sadržaj poruke',
+		noAnchors		: '(Nema dostupnih sidra)',
+		noUrl			: 'Unesite URL linka',
+		noEmail			: 'Otkucajte adresu elektronske pote'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Unesi/izmeni sidro',
+		menu		: 'Osobine sidra',
+		title		: 'Osobine sidra',
+		name		: 'Ime sidra',
+		errorName	: 'Unesite ime sidra'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Pretraga',
+		replace				: 'Zamena',
+		findWhat			: 'Pronadi:',
+		replaceWith			: 'Zameni sa:',
+		notFoundMsg			: 'Traženi tekst nije pronađen.',
+		matchCase			: 'Razlikuj mala i velika slova',
+		matchWord			: 'Uporedi cele reci',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Zameni sve',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabela',
+		title		: 'Osobine tabele',
+		menu		: 'Osobine tabele',
+		deleteTable	: 'Delete Table', // MISSING
+		rows		: 'Redova',
+		columns		: 'Kolona',
+		border		: 'Veličina okvira',
+		align		: 'Ravnanje',
+		alignNotSet	: '<nije postavljeno>',
+		alignLeft	: 'Levo',
+		alignCenter	: 'Sredina',
+		alignRight	: 'Desno',
+		width		: 'Širina',
+		widthPx		: 'piksela',
+		widthPc		: 'procenata',
+		height		: 'Visina',
+		cellSpace	: 'Ćelijski prostor',
+		cellPad		: 'Razmak ćelija',
+		caption		: 'Naslov tabele',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Obriši ćelije',
+			merge			: 'Spoj celije',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Obriši redove'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Obriši kolone'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Osobine dugmeta',
+		text		: 'Tekst (vrednost)',
+		type		: 'Tip',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Osobine polja za potvrdu',
+		radioTitle	: 'Osobine radio-dugmeta',
+		value		: 'Vrednost',
+		selected	: 'Označeno'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Osobine forme',
+		menu		: 'Osobine forme',
+		action		: 'Akcija',
+		method		: 'Metoda',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Meta',
+		targetNotSet	: '<nije postavljeno>',
+		targetNew	: 'Novi prozor (_blank)',
+		targetTop	: 'Prozor na vrhu (_top)',
+		targetSelf	: 'Isti prozor (_self)',
+		targetParent	: 'Roditeljski prozor (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Osobine izbornog polja',
+		selectInfo	: 'Info',
+		opAvail		: 'Dostupne opcije',
+		value		: 'Vrednost',
+		size		: 'Veličina',
+		lines		: 'linija',
+		chkMulti	: 'Dozvoli višestruku selekciju',
+		opText		: 'Tekst',
+		opValue		: 'Vrednost',
+		btnAdd		: 'Dodaj',
+		btnModify	: 'Izmeni',
+		btnUp		: 'Gore',
+		btnDown		: 'Dole',
+		btnSetValue : 'Podesi kao označenu vrednost',
+		btnDelete	: 'Obriši'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Osobine zone teksta',
+		cols		: 'Broj kolona',
+		rows		: 'Broj redova'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Osobine tekstualnog polja',
+		name		: 'Naziv',
+		value		: 'Vrednost',
+		charWidth	: 'Širina (karaktera)',
+		maxChars	: 'Maksimalno karaktera',
+		type		: 'Tip',
+		typeText	: 'Tekst',
+		typePass	: 'Lozinka'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Osobine skrivenog polja',
+		name	: 'Naziv',
+		value	: 'Vrednost'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Osobine slika',
+		titleButton	: 'Osobine dugmeta sa slikom',
+		menu		: 'Osobine slika',
+		infoTab	: 'Info slike',
+		btnUpload	: 'Pošalji na server',
+		url		: 'URL',
+		upload	: 'Pošalji',
+		alt		: 'Alternativni tekst',
+		width		: 'Širina',
+		height	: 'Visina',
+		lockRatio	: 'Zaključaj odnos',
+		resetSize	: 'Resetuj veličinu',
+		border	: 'Okvir',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Ravnanje',
+		alignLeft	: 'Levo',
+		alignRight	: 'Desno',
+		preview	: 'Izgled',
+		alertUrl	: 'Unesite URL slike',
+		linkTab	: 'Link',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Osobine fleša',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Osobine fleša',
+		chkPlay		: 'Automatski start',
+		chkLoop		: 'Ponavljaj',
+		chkMenu		: 'Uključi fleš meni',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Skaliraj',
+		scaleAll		: 'Prikaži sve',
+		scaleNoBorder	: 'Bez ivice',
+		scaleFit		: 'Popuni površinu',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Ravnanje',
+		alignLeft	: 'Levo',
+		alignAbsBottom: 'Abs dole',
+		alignAbsMiddle: 'Abs sredina',
+		alignBaseline	: 'Bazno',
+		alignBottom	: 'Dole',
+		alignMiddle	: 'Sredina',
+		alignRight	: 'Desno',
+		alignTextTop	: 'Vrh teksta',
+		alignTop	: 'Vrh',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Boja pozadine',
+		width	: 'Širina',
+		height	: 'Visina',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Unesite URL linka',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Proveri spelovanje',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Nije u rečniku',
+		changeTo		: 'Izmeni',
+		btnIgnore		: 'Ignoriši',
+		btnIgnoreAll	: 'Ignoriši sve',
+		btnReplace		: 'Zameni',
+		btnReplaceAll	: 'Zameni sve',
+		btnUndo			: 'Vrati akciju',
+		noSuggestions	: '- Bez sugestija -',
+		progress		: 'Provera spelovanja u toku...',
+		noMispell		: 'Provera spelovanja završena: greške nisu pronadene',
+		noChanges		: 'Provera spelovanja završena: Nije izmenjena nijedna rec',
+		oneChange		: 'Provera spelovanja završena: Izmenjena je jedna reč',
+		manyChanges		: 'Provera spelovanja završena: %1 reč(i) je izmenjeno',
+		ieSpellDownload	: 'Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smajli',
+		title	: 'Unesi smajlija'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Nabrojiva lista',
+	bulletedlist : 'Nenabrojiva lista',
+	indent : 'Uvećaj levu marginu',
+	outdent : 'Smanji levu marginu',
+
+	justify :
+	{
+		left : 'Levo ravnanje',
+		center : 'Centriran tekst',
+		right : 'Desno ravnanje',
+		block : 'Obostrano ravnanje'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Zalepi',
+		cutError	: 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+X).',
+		copyError	: 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+C).',
+		pasteMsg	: 'Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (<STRONG>Ctrl+V</STRONG>) i da pritisnete <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Zalepi iz Worda',
+		title : 'Zalepi iz Worda',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Zalepi kao čist tekst',
+		title : 'Zalepi kao čist tekst'
+	},
+
+	templates :
+	{
+		button : 'Obrasci',
+		title : 'Obrasci za sadržaj',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):',
+		emptyListMsg : '(Nema definisanih obrazaca)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Stil',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Format',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Format',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatirano',
+		tag_address : 'Adresa',
+		tag_h1 : 'Naslov 1',
+		tag_h2 : 'Naslov 2',
+		tag_h3 : 'Naslov 3',
+		tag_h4 : 'Naslov 4',
+		tag_h5 : 'Naslov 5',
+		tag_h6 : 'Naslov 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Font',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Font',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Veličina fonta',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Veličina fonta',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Boja teksta',
+		bgColorTitle : 'Boja pozadine',
+		auto : 'Automatski',
+		more : 'Više boja...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/sr.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/sr.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/sr.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Serbian (Cyrillic) language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sr'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kôд',
+	newPage			: 'Нова страница',
+	save			: 'Сачувај',
+	preview			: 'Изглед странице',
+	cut				: 'Исеци',
+	copy			: 'Копирај',
+	paste			: 'Залепи',
+	print			: 'Штампа',
+	underline		: 'Подвучено',
+	bold			: 'Подебљано',
+	italic			: 'Курзив',
+	selectAll		: 'Означи све',
+	removeFormat	: 'Уклони форматирање',
+	strike			: 'Прецртано',
+	subscript		: 'Индекс',
+	superscript		: 'Степен',
+	horizontalrule	: 'Унеси хоризонталну линију',
+	pagebreak		: 'Insert Page Break for Printing', // MISSING
+	unlink			: 'Уклони линк',
+	undo			: 'Поништи акцију',
+	redo			: 'Понови акцију',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Претражи сервер',
+		url				: 'УРЛ',
+		protocol		: 'Протокол',
+		upload			: 'Пошаљи',
+		uploadSubmit	: 'Пошаљи на сервер',
+		image			: 'Слика',
+		flash			: 'Флеш елемент',
+		form			: 'Форма',
+		checkbox		: 'Поље за потврду',
+		radio		: 'Радио-дугме',
+		textField		: 'Текстуално поље',
+		textarea		: 'Зона текста',
+		hiddenField		: 'Скривено поље',
+		button			: 'Дугме',
+		select	: 'Изборно поље',
+		imageButton		: 'Дугме са сликом',
+		notSet			: '<није постављено>',
+		id				: 'Ид',
+		name			: 'Назив',
+		langDir			: 'Смер језика',
+		langDirLtr		: 'С лева на десно (LTR)',
+		langDirRtl		: 'С десна на лево (RTL)',
+		langCode		: 'Kôд језика',
+		longDescr		: 'Пун опис УРЛ',
+		cssClass		: 'Stylesheet класе',
+		advisoryTitle	: 'Advisory наслов',
+		cssStyle		: 'Стил',
+		ok				: 'OK',
+		cancel			: 'Oткажи',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Напредни тагови',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Унеси специјални карактер',
+		title		: 'Одаберите специјални карактер'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Унеси/измени линк',
+		menu		: 'Промени линк',
+		title		: 'Линк',
+		info		: 'Линк инфо',
+		target		: 'Meтa',
+		upload		: 'Пошаљи',
+		advanced	: 'Напредни тагови',
+		type		: 'Врста линка',
+		toAnchor	: 'Сидро на овој страници',
+		toEmail		: 'Eлектронска пошта',
+		target		: 'Meтa',
+		targetNotSet	: '<није постављено>',
+		targetFrame	: '<оквир>',
+		targetPopup	: '<искачући прозор>',
+		targetNew	: 'Нови прозор (_blank)',
+		targetTop	: 'Прозор на врху (_top)',
+		targetSelf	: 'Исти прозор (_self)',
+		targetParent	: 'Родитељски прозор (_parent)',
+		targetFrameName	: 'Назив одредишног фрејма',
+		targetPopupName	: 'Назив искачућег прозора',
+		popupFeatures	: 'Могућности искачућег прозора',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Статусна линија',
+		popupLocationBar	: 'Локација',
+		popupToolbar	: 'Toolbar',
+		popupMenuBar	: 'Контекстни мени',
+		popupFullScreen	: 'Приказ преко целог екрана (ИE)',
+		popupScrollBars	: 'Скрол бар',
+		popupDependent	: 'Зависно (Netscape)',
+		popupWidth		: 'Ширина',
+		popupLeft		: 'Од леве ивице екрана (пиксела)',
+		popupHeight		: 'Висина',
+		popupTop		: 'Од врха екрана (пиксела)',
+		id				: 'Id', // MISSING
+		langDir			: 'Смер језика',
+		langDirNotSet	: '<није постављено>',
+		langDirLTR		: 'С лева на десно (LTR)',
+		langDirRTL		: 'С десна на лево (RTL)',
+		acccessKey		: 'Приступни тастер',
+		name			: 'Назив',
+		langCode		: 'Смер језика',
+		tabIndex		: 'Таб индекс',
+		advisoryTitle	: 'Advisory наслов',
+		advisoryContentType	: 'Advisory врста садржаја',
+		cssClasses		: 'Stylesheet класе',
+		charset			: 'Linked Resource Charset',
+		styles			: 'Стил',
+		selectAnchor	: 'Одабери сидро',
+		anchorName		: 'По називу сидра',
+		anchorId		: 'Пo Ид-jу елемента',
+		emailAddress	: 'Адреса електронске поште',
+		emailSubject	: 'Наслов',
+		emailBody		: 'Садржај поруке',
+		noAnchors		: '(Нема доступних сидра)',
+		noUrl			: 'Унесите УРЛ линка',
+		noEmail			: 'Откуцајте адресу електронске поште'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Унеси/измени сидро',
+		menu		: 'Особине сидра',
+		title		: 'Особине сидра',
+		name		: 'Име сидра',
+		errorName	: 'Молимо Вас да унесете име сидра'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'Претрага',
+		replace				: 'Замена',
+		findWhat			: 'Пронађи:',
+		replaceWith			: 'Замени са:',
+		notFoundMsg			: 'Тражени текст није пронађен.',
+		matchCase			: 'Разликуј велика и мала слова',
+		matchWord			: 'Упореди целе речи',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Замени све',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Табела',
+		title		: 'Особине табеле',
+		menu		: 'Особине табеле',
+		deleteTable	: 'Delete Table', // MISSING
+		rows		: 'Редова',
+		columns		: 'Kолона',
+		border		: 'Величина оквира',
+		align		: 'Равнање',
+		alignNotSet	: '<није постављено>',
+		alignLeft	: 'Лево',
+		alignCenter	: 'Средина',
+		alignRight	: 'Десно',
+		width		: 'Ширина',
+		widthPx		: 'пиксела',
+		widthPc		: 'процената',
+		height		: 'Висина',
+		cellSpace	: 'Ћелијски простор',
+		cellPad		: 'Размак ћелија',
+		caption		: 'Наслов табеле',
+		summary		: 'Summary', // MISSING
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell', // MISSING
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'Обриши ћелије',
+			merge			: 'Спој ћелије',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Row', // MISSING
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'Обриши редове'
+		},
+
+		column :
+		{
+			menu			: 'Column', // MISSING
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'Обриши колоне'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Особине дугмета',
+		text		: 'Текст (вредност)',
+		type		: 'Tип',
+		typeBtn		: 'Button', // MISSING
+		typeSbm		: 'Submit', // MISSING
+		typeRst		: 'Reset' // MISSING
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Особине поља за потврду',
+		radioTitle	: 'Особине радио-дугмета',
+		value		: 'Вредност',
+		selected	: 'Означено'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Особине форме',
+		menu		: 'Особине форме',
+		action		: 'Aкција',
+		method		: 'Mетода',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Meтa',
+		targetNotSet	: '<није постављено>',
+		targetNew	: 'Нови прозор (_blank)',
+		targetTop	: 'Прозор на врху (_top)',
+		targetSelf	: 'Исти прозор (_self)',
+		targetParent	: 'Родитељски прозор (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Особине изборног поља',
+		selectInfo	: 'Инфо',
+		opAvail		: 'Доступне опције',
+		value		: 'Вредност',
+		size		: 'Величина',
+		lines		: 'линија',
+		chkMulti	: 'Дозволи вишеструку селекцију',
+		opText		: 'Текст',
+		opValue		: 'Вредност',
+		btnAdd		: 'Додај',
+		btnModify	: 'Измени',
+		btnUp		: 'Горе',
+		btnDown		: 'Доле',
+		btnSetValue : 'Подеси као означену вредност',
+		btnDelete	: 'Обриши'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Особине зоне текста',
+		cols		: 'Број колона',
+		rows		: 'Број редова'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Особине текстуалног поља',
+		name		: 'Назив',
+		value		: 'Вредност',
+		charWidth	: 'Ширина (карактера)',
+		maxChars	: 'Максимално карактера',
+		type		: 'Тип',
+		typeText	: 'Текст',
+		typePass	: 'Лозинка'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Особине скривеног поља',
+		name	: 'Назив',
+		value	: 'Вредност'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Особине слика',
+		titleButton	: 'Особине дугмета са сликом',
+		menu		: 'Особине слика',
+		infoTab	: 'Инфо слике',
+		btnUpload	: 'Пошаљи на сервер',
+		url		: 'УРЛ',
+		upload	: 'Пошаљи',
+		alt		: 'Алтернативни текст',
+		width		: 'Ширина',
+		height	: 'Висина',
+		lockRatio	: 'Закључај однос',
+		resetSize	: 'Ресетуј величину',
+		border	: 'Оквир',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Равнање',
+		alignLeft	: 'Лево',
+		alignRight	: 'Десно',
+		preview	: 'Изглед',
+		alertUrl	: 'Унесите УРЛ слике',
+		linkTab	: 'Линк',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Особине Флеша',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Особине флеша',
+		chkPlay		: 'Аутоматски старт',
+		chkLoop		: 'Понављај',
+		chkMenu		: 'Укључи флеш мени',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Скалирај',
+		scaleAll		: 'Прикажи све',
+		scaleNoBorder	: 'Без ивице',
+		scaleFit		: 'Попуни површину',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Равнање',
+		alignLeft	: 'Лево',
+		alignAbsBottom: 'Abs доле',
+		alignAbsMiddle: 'Abs средина',
+		alignBaseline	: 'Базно',
+		alignBottom	: 'Доле',
+		alignMiddle	: 'Средина',
+		alignRight	: 'Десно',
+		alignTextTop	: 'Врх текста',
+		alignTop	: 'Врх',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Боја позадине',
+		width	: 'Ширина',
+		height	: 'Висина',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Унесите УРЛ линка',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Провери спеловање',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Није у речнику',
+		changeTo		: 'Измени',
+		btnIgnore		: 'Игнориши',
+		btnIgnoreAll	: 'Игнориши све',
+		btnReplace		: 'Замени',
+		btnReplaceAll	: 'Замени све',
+		btnUndo			: 'Врати акцију',
+		noSuggestions	: '- Без сугестија -',
+		progress		: 'Провера спеловања у току...',
+		noMispell		: 'Провера спеловања завршена: грешке нису пронађене',
+		noChanges		: 'Провера спеловања завршена: Није измењена ниједна реч',
+		oneChange		: 'Провера спеловања завршена: Измењена је једна реч',
+		manyChanges		: 'Провера спеловања завршена:  %1 реч(и) је измењено',
+		ieSpellDownload	: 'Провера спеловања није инсталирана. Да ли желите да је скинете са Интернета?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Смајли',
+		title	: 'Унеси смајлија'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Набројиву листу',
+	bulletedlist : 'Ненабројива листа',
+	indent : 'Увећај леву маргину',
+	outdent : 'Смањи леву маргину',
+
+	justify :
+	{
+		left : 'Лево равнање',
+		center : 'Центриран текст',
+		right : 'Десно равнање',
+		block : 'Обострано равнање'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Залепи',
+		cutError	: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+X).',
+		copyError	: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+C).',
+		pasteMsg	: 'Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (<STRONG>Ctrl+V</STRONG>) и да притиснете <STRONG>OK</STRONG>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Залепи из Worda',
+		title : 'Залепи из Worda',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Залепи као чист текст',
+		title : 'Залепи као чист текст'
+	},
+
+	templates :
+	{
+		button : 'Обрасци',
+		title : 'Обрасци за садржај',
+		insertOption: 'Replace actual contents', // MISSING
+		selectPromptMsg: 'Молимо Вас да одаберете образац који ће бити примењен на страницу (тренутни садржај ће бити обрисан):',
+		emptyListMsg : '(Нема дефинисаних образаца)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Стил',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Формат',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Формат',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatirano',
+		tag_address : 'Adresa',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)' // MISSING
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Фонт',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Фонт',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Величина фонта',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Величина фонта',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Боја текста',
+		bgColorTitle : 'Боја позадине',
+		auto : 'Аутоматски',
+		more : 'Више боја...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/sv.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/sv.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/sv.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Swedish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sv'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Källa',
+	newPage			: 'Ny sida',
+	save			: 'Spara',
+	preview			: 'Förhandsgranska',
+	cut				: 'Klipp ut',
+	copy			: 'Kopiera',
+	paste			: 'Klistra in',
+	print			: 'Skriv ut',
+	underline		: 'Understruken',
+	bold			: 'Fet',
+	italic			: 'Kursiv',
+	selectAll		: 'Markera allt',
+	removeFormat	: 'Radera formatering',
+	strike			: 'Genomstruken',
+	subscript		: 'Nedsänkta tecken',
+	superscript		: 'Upphöjda tecken',
+	horizontalrule	: 'Infoga horisontal linje',
+	pagebreak		: 'Infoga sidbrytning',
+	unlink			: 'Radera länk',
+	undo			: 'Ångra',
+	redo			: 'Gör om',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Bläddra på server',
+		url				: 'URL',
+		protocol		: 'Protokoll',
+		upload			: 'Ladda upp',
+		uploadSubmit	: 'Skicka till server',
+		image			: 'Bild',
+		flash			: 'Flash',
+		form			: 'Formulär',
+		checkbox		: 'Kryssruta',
+		radio		: 'Alternativknapp',
+		textField		: 'Textfält',
+		textarea		: 'Textruta',
+		hiddenField		: 'Dolt fält',
+		button			: 'Knapp',
+		select	: 'Flervalslista',
+		imageButton		: 'Bildknapp',
+		notSet			: '<ej angivet>',
+		id				: 'Id',
+		name			: 'Namn',
+		langDir			: 'Språkriktning',
+		langDirLtr		: 'Vänster till Höger (VTH)',
+		langDirRtl		: 'Höger till Vänster (HTV)',
+		langCode		: 'Språkkod',
+		longDescr		: 'URL-beskrivning',
+		cssClass		: 'Stylesheet class',
+		advisoryTitle	: 'Titel',
+		cssStyle		: 'Style',
+		ok				: 'OK',
+		cancel			: 'Avbryt',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'Avancerad',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Klistra in utökat tecken',
+		title		: 'Välj utökat tecken'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Infoga/Redigera länk',
+		menu		: 'Redigera länk',
+		title		: 'Länk',
+		info		: 'Länkinformation',
+		target		: 'Mål',
+		upload		: 'Ladda upp',
+		advanced	: 'Avancerad',
+		type		: 'Länktyp',
+		toAnchor	: 'Ankare i sidan',
+		toEmail		: 'E-post',
+		target		: 'Mål',
+		targetNotSet	: '<ej angivet>',
+		targetFrame	: '<ram>',
+		targetPopup	: '<popup-fönster>',
+		targetNew	: 'Nytt fönster (_blank)',
+		targetTop	: 'Översta fönstret (_top)',
+		targetSelf	: 'Detta fönstret (_self)',
+		targetParent	: 'Föregående Window (_parent)',
+		targetFrameName	: 'Målets ramnamn',
+		targetPopupName	: 'Popup-fönstrets namn',
+		popupFeatures	: 'Popup-fönstrets egenskaper',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Statusfält',
+		popupLocationBar	: 'Adressfält',
+		popupToolbar	: 'Verktygsfält',
+		popupMenuBar	: 'Menyfält',
+		popupFullScreen	: 'Helskärm (endast IE)',
+		popupScrollBars	: 'Scrolllista',
+		popupDependent	: 'Beroende (endest Netscape)',
+		popupWidth		: 'Bredd',
+		popupLeft		: 'Position från vänster',
+		popupHeight		: 'Höjd',
+		popupTop		: 'Position från sidans topp',
+		id				: 'Id', // MISSING
+		langDir			: 'Språkriktning',
+		langDirNotSet	: '<ej angivet>',
+		langDirLTR		: 'Vänster till Höger (VTH)',
+		langDirRTL		: 'Höger till Vänster (HTV)',
+		acccessKey		: 'Behörighetsnyckel',
+		name			: 'Namn',
+		langCode		: 'Språkriktning',
+		tabIndex		: 'Tabindex',
+		advisoryTitle	: 'Titel',
+		advisoryContentType	: 'Innehållstyp',
+		cssClasses		: 'Stylesheet class',
+		charset			: 'Teckenuppställning',
+		styles			: 'Style',
+		selectAnchor	: 'Välj ett ankare',
+		anchorName		: 'efter ankarnamn',
+		anchorId		: 'efter objektid',
+		emailAddress	: 'E-postadress',
+		emailSubject	: 'Ämne',
+		emailBody		: 'Innehåll',
+		noAnchors		: '(Inga ankare kunde hittas)',
+		noUrl			: 'Var god ange länkens URL',
+		noEmail			: 'Var god ange E-postadress'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Infoga/Redigera ankarlänk',
+		menu		: 'Egenskaper för ankarlänk',
+		title		: 'Egenskaper för ankarlänk',
+		name		: 'Ankarnamn',
+		errorName	: 'Var god ange ett ankarnamn'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Sök och ersätt',
+		find				: 'Sök',
+		replace				: 'Ersätt',
+		findWhat			: 'Sök efter:',
+		replaceWith			: 'Ersätt med:',
+		notFoundMsg			: 'Angiven text kunde ej hittas.',
+		matchCase			: 'Skiftläge',
+		matchWord			: 'Inkludera hela ord',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Ersätt alla',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tabell',
+		title		: 'Tabellegenskaper',
+		menu		: 'Tabellegenskaper',
+		deleteTable	: 'Radera tabell',
+		rows		: 'Rader',
+		columns		: 'Kolumner',
+		border		: 'Kantstorlek',
+		align		: 'Justering',
+		alignNotSet	: '<ej angivet>',
+		alignLeft	: 'Vänster',
+		alignCenter	: 'Centrerad',
+		alignRight	: 'Höger',
+		width		: 'Bredd',
+		widthPx		: 'pixlar',
+		widthPc		: 'procent',
+		height		: 'Höjd',
+		cellSpace	: 'Cellavstånd',
+		cellPad		: 'Cellutfyllnad',
+		caption		: 'Rubrik',
+		summary		: 'Sammanfattning',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Cell',
+			insertBefore	: 'Lägg till Cell Före',
+			insertAfter		: 'Lägg till Cell Efter',
+			deleteCell		: 'Radera celler',
+			merge			: 'Sammanfoga celler',
+			mergeRight		: 'Sammanfoga Höger',
+			mergeDown		: 'Sammanfoga Ner',
+			splitHorizontal	: 'Dela Cell Horisontellt',
+			splitVertical	: 'Dela Cell Vertikalt',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Rad',
+			insertBefore	: 'Lägg till Rad Före',
+			insertAfter		: 'Lägg till Rad Efter',
+			deleteRow		: 'Radera rad'
+		},
+
+		column :
+		{
+			menu			: 'Kolumn',
+			insertBefore	: 'Lägg till Kolumn Före',
+			insertAfter		: 'Lägg till Kolumn Efter',
+			deleteColumn	: 'Radera kolumn'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Egenskaper för knapp',
+		text		: 'Text (Värde)',
+		type		: 'Typ',
+		typeBtn		: 'Knapp',
+		typeSbm		: 'Skicka',
+		typeRst		: 'Återställ'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Egenskaper för kryssruta',
+		radioTitle	: 'Egenskaper för alternativknapp',
+		value		: 'Värde',
+		selected	: 'Vald'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Egenskaper för formulär',
+		menu		: 'Egenskaper för formulär',
+		action		: 'Funktion',
+		method		: 'Metod',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Mål',
+		targetNotSet	: '<ej angivet>',
+		targetNew	: 'Nytt fönster (_blank)',
+		targetTop	: 'Översta fönstret (_top)',
+		targetSelf	: 'Detta fönstret (_self)',
+		targetParent	: 'Föregående Window (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Egenskaper för flervalslista',
+		selectInfo	: 'Information',
+		opAvail		: 'Befintliga val',
+		value		: 'Värde',
+		size		: 'Storlek',
+		lines		: 'Linjer',
+		chkMulti	: 'Tillåt flerval',
+		opText		: 'Text',
+		opValue		: 'Värde',
+		btnAdd		: 'Lägg till',
+		btnModify	: 'Redigera',
+		btnUp		: 'Upp',
+		btnDown		: 'Ner',
+		btnSetValue : 'Markera som valt värde',
+		btnDelete	: 'Radera'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Egenskaper för textruta',
+		cols		: 'Kolumner',
+		rows		: 'Rader'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Egenskaper för textfält',
+		name		: 'Namn',
+		value		: 'Värde',
+		charWidth	: 'Teckenbredd',
+		maxChars	: 'Max antal tecken',
+		type		: 'Typ',
+		typeText	: 'Text',
+		typePass	: 'Lösenord'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Egenskaper för dolt fält',
+		name	: 'Namn',
+		value	: 'Värde'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Bildegenskaper',
+		titleButton	: 'Egenskaper för bildknapp',
+		menu		: 'Bildegenskaper',
+		infoTab	: 'Bildinformation',
+		btnUpload	: 'Skicka till server',
+		url		: 'URL',
+		upload	: 'Ladda upp',
+		alt		: 'Alternativ text',
+		width		: 'Bredd',
+		height	: 'Höjd',
+		lockRatio	: 'Lås höjd/bredd förhållanden',
+		resetSize	: 'Återställ storlek',
+		border	: 'Kant',
+		hSpace	: 'Horis. marginal',
+		vSpace	: 'Vert. marginal',
+		align		: 'Justering',
+		alignLeft	: 'Vänster',
+		alignRight	: 'Höger',
+		preview	: 'Förhandsgranska',
+		alertUrl	: 'Var god och ange bildens URL',
+		linkTab	: 'Länk',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flashegenskaper',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flashegenskaper',
+		chkPlay		: 'Automatisk uppspelning',
+		chkLoop		: 'Upprepa/Loopa',
+		chkMenu		: 'Aktivera Flashmeny',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Skala',
+		scaleAll		: 'Visa allt',
+		scaleNoBorder	: 'Ingen ram',
+		scaleFit		: 'Exakt passning',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Justering',
+		alignLeft	: 'Vänster',
+		alignAbsBottom: 'Absolut nederkant',
+		alignAbsMiddle: 'Absolut centrering',
+		alignBaseline	: 'Baslinje',
+		alignBottom	: 'Nederkant',
+		alignMiddle	: 'Mitten',
+		alignRight	: 'Höger',
+		alignTextTop	: 'Text överkant',
+		alignTop	: 'Överkant',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Bakgrundsfärg',
+		width	: 'Bredd',
+		height	: 'Höjd',
+		hSpace	: 'Horis. marginal',
+		vSpace	: 'Vert. marginal',
+		validateSrc : 'Var god ange länkens URL',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Stavningskontroll',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Saknas i ordlistan',
+		changeTo		: 'Ändra till',
+		btnIgnore		: 'Ignorera',
+		btnIgnoreAll	: 'Ignorera alla',
+		btnReplace		: 'Ersätt',
+		btnReplaceAll	: 'Ersätt alla',
+		btnUndo			: 'Ångra',
+		noSuggestions	: '- Förslag saknas -',
+		progress		: 'Stavningskontroll pågår...',
+		noMispell		: 'Stavningskontroll slutförd: Inga stavfel påträffades.',
+		noChanges		: 'Stavningskontroll slutförd: Inga ord rättades.',
+		oneChange		: 'Stavningskontroll slutförd: Ett ord rättades.',
+		manyChanges		: 'Stavningskontroll slutförd: %1 ord rättades.',
+		ieSpellDownload	: 'Stavningskontrollen är ej installerad. Vill du göra det nu?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Smiley',
+		title	: 'Infoga smiley'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numrerad lista',
+	bulletedlist : 'Punktlista',
+	indent : 'Öka indrag',
+	outdent : 'Minska indrag',
+
+	justify :
+	{
+		left : 'Vänsterjustera',
+		center : 'Centrera',
+		right : 'Högerjustera',
+		block : 'Justera till marginaler'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'Klistra in',
+		cutError	: 'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl+X) istället.',
+		copyError	: 'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl+C) istället',
+		pasteMsg	: 'Var god och klistra in Er text i rutan nedan genom att använda (<STRONG>Ctrl+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.',
+		securityMsg	: 'På grund av din webläsares säkerhetsinställningar kan verktyget inte få åtkomst till urklippsdatan. Var god och använd detta fönster istället.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Klistra in från Word',
+		title : 'Klistra in från Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Klistra in som vanlig text',
+		title : 'Klistra in som vanlig text'
+	},
+
+	templates :
+	{
+		button : 'Sidmallar',
+		title : 'Sidmallar',
+		insertOption: 'Ersätt aktuellt innehåll',
+		selectPromptMsg: 'Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):',
+		emptyListMsg : '(Ingen mall är vald)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'Anpassad stil',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Teckenformat',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Teckenformat',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formaterad',
+		tag_address : 'Adress',
+		tag_h1 : 'Rubrik 1',
+		tag_h2 : 'Rubrik 2',
+		tag_h3 : 'Rubrik 3',
+		tag_h4 : 'Rubrik 4',
+		tag_h5 : 'Rubrik 5',
+		tag_h6 : 'Rubrik 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Typsnitt',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Typsnitt',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Storlek',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Storlek',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Textfärg',
+		bgColorTitle : 'Bakgrundsfärg',
+		auto : 'Automatisk',
+		more : 'Fler färger...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/th.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/th.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/th.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Thai language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['th'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'ดูรหัส HTML',
+	newPage			: 'สร้างหน้าเอกสารใหม่',
+	save			: 'บันทึก',
+	preview			: 'ดูหน้าเอกสารตัวอย่าง',
+	cut				: 'ตัด',
+	copy			: 'สำเนา',
+	paste			: 'วาง',
+	print			: 'สั่งพิมพ์',
+	underline		: 'ตัวขีดเส้นใต้',
+	bold			: 'ตัวหนา',
+	italic			: 'ตัวเอียง',
+	selectAll		: 'เลือกทั้งหมด',
+	removeFormat	: 'ล้างรูปแบบ',
+	strike			: 'ตัวขีดเส้นทับ',
+	subscript		: 'ตัวห้อย',
+	superscript		: 'ตัวยก',
+	horizontalrule	: 'แทรกเส้นคั่นบรรทัด',
+	pagebreak		: 'แทรกตัวแบ่งหน้า Page Break',
+	unlink			: 'ลบ ลิงค์',
+	undo			: 'ยกเลิกคำสั่ง',
+	redo			: 'ทำซ้ำคำสั่ง',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'เปิดหน้าต่างจัดการไฟล์อัพโหลด',
+		url				: 'ที่อยู่อ้างอิง URL',
+		protocol		: 'โปรโตคอล',
+		upload			: 'อัพโหลดไฟล์',
+		uploadSubmit	: 'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)',
+		image			: 'รูปภาพ',
+		flash			: 'ไฟล์ Flash',
+		form			: 'แบบฟอร์ม',
+		checkbox		: 'เช็คบ๊อก',
+		radio		: 'เรดิโอบัตตอน',
+		textField		: 'เท็กซ์ฟิลด์',
+		textarea		: 'เท็กซ์แอเรีย',
+		hiddenField		: 'ฮิดเดนฟิลด์',
+		button			: 'ปุ่ม',
+		select	: 'แถบตัวเลือก',
+		imageButton		: 'ปุ่มแบบรูปภาพ',
+		notSet			: '<ไม่ระบุ>',
+		id				: 'ไอดี',
+		name			: 'ชื่อ',
+		langDir			: 'การเขียน-อ่านภาษา',
+		langDirLtr		: 'จากซ้ายไปขวา (LTR)',
+		langDirRtl		: 'จากขวามาซ้าย (RTL)',
+		langCode		: 'รหัสภาษา',
+		longDescr		: 'คำอธิบายประกอบ URL',
+		cssClass		: 'คลาสของไฟล์กำหนดลักษณะการแสดงผล',
+		advisoryTitle	: 'คำเกริ่นนำ',
+		cssStyle		: 'ลักษณะการแสดงผล',
+		ok				: 'ตกลง',
+		cancel			: 'ยกเลิก',
+		generalTab		: 'General', // MISSING
+		advancedTab		: 'ขั้นสูง',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'แทรกตัวอักษรพิเศษ',
+		title		: 'แทรกตัวอักษรพิเศษ'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'แทรก/แก้ไข ลิงค์',
+		menu		: 'แก้ไข ลิงค์',
+		title		: 'ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ',
+		info		: 'รายละเอียด',
+		target		: 'การเปิดหน้าลิงค์',
+		upload		: 'อัพโหลดไฟล์',
+		advanced	: 'ขั้นสูง',
+		type		: 'ประเภทของลิงค์',
+		toAnchor	: 'จุดเชื่อมโยง (Anchor)',
+		toEmail		: 'ส่งอีเมล์ (E-Mail)',
+		target		: 'การเปิดหน้าลิงค์',
+		targetNotSet	: '<ไม่ระบุ>',
+		targetFrame	: '<เปิดในเฟรม>',
+		targetPopup	: '<เปิดหน้าจอเล็ก (Pop-up)>',
+		targetNew	: 'เปิดหน้าจอใหม่ (_blank)',
+		targetTop	: 'เปิดในหน้าบนสุด (_top)',
+		targetSelf	: 'เปิดในหน้าปัจจุบัน (_self)',
+		targetParent	: 'เปิดในหน้าหลัก (_parent)',
+		targetFrameName	: 'ชื่อทาร์เก็ตเฟรม',
+		targetPopupName	: 'ระบุชื่อหน้าจอเล็ก (Pop-up)',
+		popupFeatures	: 'คุณสมบัติของหน้าจอเล็ก (Pop-up)',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'แสดงแถบสถานะ',
+		popupLocationBar	: 'แสดงที่อยู่ของไฟล์',
+		popupToolbar	: 'แสดงแถบเครื่องมือ',
+		popupMenuBar	: 'แสดงแถบเมนู',
+		popupFullScreen	: 'แสดงเต็มหน้าจอ (IE5.5++ เท่านั้น)',
+		popupScrollBars	: 'แสดงแถบเลื่อน',
+		popupDependent	: 'แสดงเต็มหน้าจอ (Netscape)',
+		popupWidth		: 'กว้าง',
+		popupLeft		: 'พิกัดซ้าย (Left Position)',
+		popupHeight		: 'สูง',
+		popupTop		: 'พิกัดบน (Top Position)',
+		id				: 'Id', // MISSING
+		langDir			: 'การเขียน-อ่านภาษา',
+		langDirNotSet	: '<ไม่ระบุ>',
+		langDirLTR		: 'จากซ้ายไปขวา (LTR)',
+		langDirRTL		: 'จากขวามาซ้าย (RTL)',
+		acccessKey		: 'แอคเซส คีย์',
+		name			: 'ชื่อ',
+		langCode		: 'การเขียน-อ่านภาษา',
+		tabIndex		: 'ลำดับของ แท็บ',
+		advisoryTitle	: 'คำเกริ่นนำ',
+		advisoryContentType	: 'ชนิดของคำเกริ่นนำ',
+		cssClasses		: 'คลาสของไฟล์กำหนดลักษณะการแสดงผล',
+		charset			: 'ลิงค์เชื่อมโยงไปยังชุดตัวอักษร',
+		styles			: 'ลักษณะการแสดงผล',
+		selectAnchor	: 'ระบุข้อมูลของจุดเชื่อมโยง (Anchor)',
+		anchorName		: 'ชื่อ',
+		anchorId		: 'ไอดี',
+		emailAddress	: 'อีเมล์ (E-Mail)',
+		emailSubject	: 'หัวเรื่อง',
+		emailBody		: 'ข้อความ',
+		noAnchors		: '(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)',
+		noUrl			: 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)',
+		noEmail			: 'กรุณาระบุอีเมล์ (E-mail)'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'แทรก/แก้ไข Anchor',
+		menu		: 'รายละเอียด Anchor',
+		title		: 'รายละเอียด Anchor',
+		name		: 'ชื่อ Anchor',
+		errorName	: 'กรุณาระบุชื่อของ Anchor'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Find and Replace', // MISSING
+		find				: 'ค้นหา',
+		replace				: 'ค้นหาและแทนที่',
+		findWhat			: 'ค้นหาคำว่า:',
+		replaceWith			: 'แทนที่ด้วย:',
+		notFoundMsg			: 'ไม่พบคำที่ค้นหา.',
+		matchCase			: 'ตัวโหญ่-เล็ก ต้องตรงกัน',
+		matchWord			: 'ต้องตรงกันทุกคำ',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'แทนที่ทั้งหมดที่พบ',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'ตาราง',
+		title		: 'คุณสมบัติของ ตาราง',
+		menu		: 'คุณสมบัติของ ตาราง',
+		deleteTable	: 'ลบตาราง',
+		rows		: 'แถว',
+		columns		: 'สดมน์',
+		border		: 'ขนาดเส้นขอบ',
+		align		: 'การจัดตำแหน่ง',
+		alignNotSet	: '<ไม่ระบุ>',
+		alignLeft	: 'ชิดซ้าย',
+		alignCenter	: 'กึ่งกลาง',
+		alignRight	: 'ชิดขวา',
+		width		: 'กว้าง',
+		widthPx		: 'จุดสี',
+		widthPc		: 'เปอร์เซ็น',
+		height		: 'สูง',
+		cellSpace	: 'ระยะแนวนอนน',
+		cellPad		: 'ระยะแนวตั้ง',
+		caption		: 'หัวเรื่องของตาราง',
+		summary		: 'สรุปความ',
+		headers		: 'Headers', // MISSING
+		headersNone		: 'None', // MISSING
+		headersColumn	: 'First column', // MISSING
+		headersRow		: 'First Row', // MISSING
+		headersBoth		: 'Both', // MISSING
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'ช่องตาราง',
+			insertBefore	: 'Insert Cell Before', // MISSING
+			insertAfter		: 'Insert Cell After', // MISSING
+			deleteCell		: 'ลบช่อง',
+			merge			: 'ผสานช่อง',
+			mergeRight		: 'Merge Right', // MISSING
+			mergeDown		: 'Merge Down', // MISSING
+			splitHorizontal	: 'Split Cell Horizontally', // MISSING
+			splitVertical	: 'Split Cell Vertically', // MISSING
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'แถว',
+			insertBefore	: 'Insert Row Before', // MISSING
+			insertAfter		: 'Insert Row After', // MISSING
+			deleteRow		: 'ลบแถว'
+		},
+
+		column :
+		{
+			menu			: 'คอลัมน์',
+			insertBefore	: 'Insert Column Before', // MISSING
+			insertAfter		: 'Insert Column After', // MISSING
+			deleteColumn	: 'ลบสดมน์'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'รายละเอียดของ ปุ่ม',
+		text		: 'ข้อความ (ค่าตัวแปร)',
+		type		: 'ข้อความ',
+		typeBtn		: 'Button',
+		typeSbm		: 'Submit',
+		typeRst		: 'Reset'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'คุณสมบัติของ เช็คบ๊อก',
+		radioTitle	: 'คุณสมบัติของ เรดิโอบัตตอน',
+		value		: 'ค่าตัวแปร',
+		selected	: 'เลือกเป็นค่าเริ่มต้น'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'คุณสมบัติของ แบบฟอร์ม',
+		menu		: 'คุณสมบัติของ แบบฟอร์ม',
+		action		: 'แอคชั่น',
+		method		: 'เมธอด',
+		encoding	: 'Encoding', // MISSING
+		target		: 'การเปิดหน้าลิงค์',
+		targetNotSet	: '<ไม่ระบุ>',
+		targetNew	: 'เปิดหน้าจอใหม่ (_blank)',
+		targetTop	: 'เปิดในหน้าบนสุด (_top)',
+		targetSelf	: 'เปิดในหน้าปัจจุบัน (_self)',
+		targetParent	: 'เปิดในหน้าหลัก (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'คุณสมบัติของ แถบตัวเลือก',
+		selectInfo	: 'อินโฟ',
+		opAvail		: 'รายการตัวเลือก',
+		value		: 'ค่าตัวแปร',
+		size		: 'ขนาด',
+		lines		: 'บรรทัด',
+		chkMulti	: 'เลือกหลายค่าได้',
+		opText		: 'ข้อความ',
+		opValue		: 'ค่าตัวแปร',
+		btnAdd		: 'เพิ่ม',
+		btnModify	: 'แก้ไข',
+		btnUp		: 'บน',
+		btnDown		: 'ล่าง',
+		btnSetValue : 'เลือกเป็นค่าเริ่มต้น',
+		btnDelete	: 'ลบ'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'คุณสมบัติของ เท็กแอเรีย',
+		cols		: 'สดมภ์',
+		rows		: 'แถว'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'คุณสมบัติของ เท็กซ์ฟิลด์',
+		name		: 'ชื่อ',
+		value		: 'ค่าตัวแปร',
+		charWidth	: 'ความกว้าง',
+		maxChars	: 'จำนวนตัวอักษรสูงสุด',
+		type		: 'ชนิด',
+		typeText	: 'ข้อความ',
+		typePass	: 'รหัสผ่าน'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'คุณสมบัติของ ฮิดเดนฟิลด์',
+		name	: 'ชื่อ',
+		value	: 'ค่าตัวแปร'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'คุณสมบัติของ รูปภาพ',
+		titleButton	: 'คุณสมบัติของ ปุ่มแบบรูปภาพ',
+		menu		: 'คุณสมบัติของ รูปภาพ',
+		infoTab	: 'ข้อมูลของรูปภาพ',
+		btnUpload	: 'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)',
+		url		: 'ที่อยู่อ้างอิง URL',
+		upload	: 'อัพโหลดไฟล์',
+		alt		: 'คำประกอบรูปภาพ',
+		width		: 'ความกว้าง',
+		height	: 'ความสูง',
+		lockRatio	: 'กำหนดอัตราส่วน กว้าง-สูง แบบคงที่',
+		resetSize	: 'กำหนดรูปเท่าขนาดจริง',
+		border	: 'ขนาดขอบรูป',
+		hSpace	: 'ระยะแนวนอน',
+		vSpace	: 'ระยะแนวตั้ง',
+		align		: 'การจัดวาง',
+		alignLeft	: 'ชิดซ้าย',
+		alignRight	: 'ชิดขวา',
+		preview	: 'หน้าเอกสารตัวอย่าง',
+		alertUrl	: 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)',
+		linkTab	: 'ลิ้งค์',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'คุณสมบัติของไฟล์ Flash',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'คุณสมบัติของไฟล์ Flash',
+		chkPlay		: 'เล่นอัตโนมัติ Auto Play',
+		chkLoop		: 'เล่นวนรอบ Loop',
+		chkMenu		: 'ให้ใช้งานเมนูของ Flash',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'อัตราส่วน Scale',
+		scaleAll		: 'แสดงให้เห็นทั้งหมด Show all',
+		scaleNoBorder	: 'ไม่แสดงเส้นขอบ No Border',
+		scaleFit		: 'แสดงให้พอดีกับพื้นที่ Exact Fit',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'การจัดวาง',
+		alignLeft	: 'ชิดซ้าย',
+		alignAbsBottom: 'ชิดด้านล่างสุด',
+		alignAbsMiddle: 'กึ่งกลาง',
+		alignBaseline	: 'ชิดบรรทัด',
+		alignBottom	: 'ชิดด้านล่าง',
+		alignMiddle	: 'กึ่งกลางแนวตั้ง',
+		alignRight	: 'ชิดขวา',
+		alignTextTop	: 'ใต้ตัวอักษร',
+		alignTop	: 'บนสุด',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'สีพื้นหลัง',
+		width	: 'ความกว้าง',
+		height	: 'ความสูง',
+		hSpace	: 'ระยะแนวนอน',
+		vSpace	: 'ระยะแนวตั้ง',
+		validateSrc : 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'ตรวจการสะกดคำ',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'ไม่พบในดิกชันนารี',
+		changeTo		: 'แก้ไขเป็น',
+		btnIgnore		: 'ยกเว้น',
+		btnIgnoreAll	: 'ยกเว้นทั้งหมด',
+		btnReplace		: 'แทนที่',
+		btnReplaceAll	: 'แทนที่ทั้งหมด',
+		btnUndo			: 'ยกเลิก',
+		noSuggestions	: '- ไม่มีคำแนะนำใดๆ -',
+		progress		: 'กำลังตรวจสอบคำสะกด...',
+		noMispell		: 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด',
+		noChanges		: 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ',
+		oneChange		: 'ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ',
+		manyChanges		: 'ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ',
+		ieSpellDownload	: 'ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'รูปสื่ออารมณ์',
+		title	: 'แทรกสัญลักษณ์สื่ออารมณ์'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'ลำดับรายการแบบตัวเลข',
+	bulletedlist : 'ลำดับรายการแบบสัญลักษณ์',
+	indent : 'เพิ่มระยะย่อหน้า',
+	outdent : 'ลดระยะย่อหน้า',
+
+	justify :
+	{
+		left : 'จัดชิดซ้าย',
+		center : 'จัดกึ่งกลาง',
+		right : 'จัดชิดขวา',
+		block : 'จัดพอดีหน้ากระดาษ'
+	},
+
+	blockquote : 'Blockquote', // MISSING
+
+	clipboard :
+	{
+		title		: 'วาง',
+		cutError	: 'ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว X พร้อมกัน).',
+		copyError	: 'ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว C พร้อมกัน).',
+		pasteMsg	: 'กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (<strong>Ctrl และ V</strong>)พร้อมๆกัน และกด <strong>OK</strong>.',
+		securityMsg	: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.' // MISSING
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'วางสำเนาจากตัวอักษรเวิร์ด',
+		title : 'วางสำเนาจากตัวอักษรเวิร์ด',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'วางแบบตัวอักษรธรรมดา',
+		title : 'วางแบบตัวอักษรธรรมดา'
+	},
+
+	templates :
+	{
+		button : 'เทมเพลต',
+		title : 'เทมเพลตของส่วนเนื้อหาเว็บไซต์',
+		insertOption: 'แทนที่เนื้อหาเว็บไซต์ที่เลือก',
+		selectPromptMsg: 'กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):',
+		emptyListMsg : '(ยังไม่มีการกำหนดเทมเพลต)'
+	},
+
+	showBlocks : 'Show Blocks', // MISSING
+
+	stylesCombo :
+	{
+		label : 'ลักษณะ',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'รูปแบบ',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'รูปแบบ',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Paragraph (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'แบบอักษร',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'แบบอักษร',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'ขนาด',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'ขนาด',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'สีตัวอักษร',
+		bgColorTitle : 'สีพื้นหลัง',
+		auto : 'สีอัตโนมัติ',
+		more : 'เลือกสีอื่นๆ...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/tr.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/tr.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/tr.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Turkish language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['tr'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Rich text editor, %1', // MISSING
+
+	// Toolbar buttons without dialogs.
+	source			: 'Kaynak',
+	newPage			: 'Yeni Sayfa',
+	save			: 'Kaydet',
+	preview			: 'Ön İzleme',
+	cut				: 'Kes',
+	copy			: 'Kopyala',
+	paste			: 'Yapıştır',
+	print			: 'Yazdır',
+	underline		: 'Altı Çizgili',
+	bold			: 'Kalın',
+	italic			: 'İtalik',
+	selectAll		: 'Tümünü Seç',
+	removeFormat	: 'Biçimi Kaldır',
+	strike			: 'Üstü Çizgili',
+	subscript		: 'Alt Simge',
+	superscript		: 'Üst Simge',
+	horizontalrule	: 'Yatay Satır Ekle',
+	pagebreak		: 'Sayfa Sonu Ekle',
+	unlink			: 'Köprü Kaldır',
+	undo			: 'Geri Al',
+	redo			: 'Tekrarla',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Sunucuyu Gez',
+		url				: 'URL',
+		protocol		: 'Protokol',
+		upload			: 'Karşıya Yükle',
+		uploadSubmit	: 'Sunucuya Yolla',
+		image			: 'Resim',
+		flash			: 'Flash',
+		form			: 'Form',
+		checkbox		: 'Onay Kutusu',
+		radio		: 'Seçenek Düğmesi',
+		textField		: 'Metin Girişi',
+		textarea		: 'Çok Satırlı Metin',
+		hiddenField		: 'Gizli Veri',
+		button			: 'Düğme',
+		select	: 'Seçim Menüsü',
+		imageButton		: 'Resimli Düğme',
+		notSet			: '<tanımlanmamış>',
+		id				: 'Kimlik',
+		name			: 'Ad',
+		langDir			: 'Dil Yönü',
+		langDirLtr		: 'Soldan Sağa (LTR)',
+		langDirRtl		: 'Sağdan Sola (RTL)',
+		langCode		: 'Dil Kodlaması',
+		longDescr		: 'Uzun Tanımlı URL',
+		cssClass		: 'Biçem Sayfası Sınıfları',
+		advisoryTitle	: 'Danışma Başlığı',
+		cssStyle		: 'Biçem',
+		ok				: 'Tamam',
+		cancel			: 'İptal',
+		generalTab		: 'Genel',
+		advancedTab		: 'Gelişmiş',
+		validateNumberFailed	: 'This value is not a number.', // MISSING
+		confirmNewPage	: 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+		confirmCancel	: 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Özel Karakter Ekle',
+		title		: 'Özel Karakter Seç'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Köprü Ekle/Düzenle',
+		menu		: 'Köprü Düzenle',
+		title		: 'Köprü',
+		info		: 'Köprü Bilgisi',
+		target		: 'Hedef',
+		upload		: 'Karşıya Yükle',
+		advanced	: 'Gelişmiş',
+		type		: 'Köprü Türü',
+		toAnchor	: 'Bu sayfada çapa',
+		toEmail		: 'E-Posta',
+		target		: 'Hedef',
+		targetNotSet	: '<tanımlanmamış>',
+		targetFrame	: '<çerçeve>',
+		targetPopup	: '<yeni açılan pencere>',
+		targetNew	: 'Yeni Pencere(_blank)',
+		targetTop	: 'En Üst Pencere (_top)',
+		targetSelf	: 'Kendi Penceresi (_self)',
+		targetParent	: 'Anne Pencere (_parent)',
+		targetFrameName	: 'Hedef Çerçeve Adı',
+		targetPopupName	: 'Yeni Açılan Pencere Adı',
+		popupFeatures	: 'Yeni Açılan Pencere Özellikleri',
+		popupResizable	: 'Resizable', // MISSING
+		popupStatusBar	: 'Durum Çubuğu',
+		popupLocationBar	: 'Yer Çubuğu',
+		popupToolbar	: 'Araç Çubuğu',
+		popupMenuBar	: 'Menü Çubuğu',
+		popupFullScreen	: 'Tam Ekran (IE)',
+		popupScrollBars	: 'Kaydırma Çubukları',
+		popupDependent	: 'Bağımlı (Netscape)',
+		popupWidth		: 'Genişlik',
+		popupLeft		: 'Sola Göre Konum',
+		popupHeight		: 'Yükseklik',
+		popupTop		: 'Yukarıya Göre Konum',
+		id				: 'Id', // MISSING
+		langDir			: 'Dil Yönü',
+		langDirNotSet	: '<tanımlanmamış>',
+		langDirLTR		: 'Soldan Sağa (LTR)',
+		langDirRTL		: 'Sağdan Sola (RTL)',
+		acccessKey		: 'Erişim Tuşu',
+		name			: 'Ad',
+		langCode		: 'Dil Yönü',
+		tabIndex		: 'Sekme İndeksi',
+		advisoryTitle	: 'Danışma Başlığı',
+		advisoryContentType	: 'Danışma İçerik Türü',
+		cssClasses		: 'Biçem Sayfası Sınıfları',
+		charset			: 'Bağlı Kaynak Karakter Gurubu',
+		styles			: 'Biçem',
+		selectAnchor	: 'Çapa Seç',
+		anchorName		: 'Çapa Adı ile',
+		anchorId		: 'Eleman Kimlik Numarası ile',
+		emailAddress	: 'E-Posta Adresi',
+		emailSubject	: 'İleti Konusu',
+		emailBody		: 'İleti Gövdesi',
+		noAnchors		: '(Bu belgede hiç çapa yok)',
+		noUrl			: 'Lütfen köprü URL\'sini yazın',
+		noEmail			: 'Lütfen E-posta adresini yazın'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Çapa Ekle/Düzenle',
+		menu		: 'Çapa Özellikleri',
+		title		: 'Çapa Özellikleri',
+		name		: 'Çapa Adı',
+		errorName	: 'Lütfen çapa için ad giriniz'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Bul ve Değiştir',
+		find				: 'Bul',
+		replace				: 'Değiştir',
+		findWhat			: 'Aranan:',
+		replaceWith			: 'Bununla değiştir:',
+		notFoundMsg			: 'Belirtilen yazı bulunamadı.',
+		matchCase			: 'Büyük/küçük harf duyarlı',
+		matchWord			: 'Kelimenin tamamı uysun',
+		matchCyclic			: 'Match cyclic', // MISSING
+		replaceAll			: 'Tümünü Değiştir',
+		replaceSuccessMsg	: '%1 occurrence(s) replaced.' // MISSING
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Tablo',
+		title		: 'Tablo Özellikleri',
+		menu		: 'Tablo Özellikleri',
+		deleteTable	: 'Tabloyu Sil',
+		rows		: 'Satırlar',
+		columns		: 'Sütunlar',
+		border		: 'Kenar Kalınlığı',
+		align		: 'Hizalama',
+		alignNotSet	: '<Tanımlanmamış>',
+		alignLeft	: 'Sol',
+		alignCenter	: 'Merkez',
+		alignRight	: 'Sağ',
+		width		: 'Genişlik',
+		widthPx		: 'piksel',
+		widthPc		: 'yüzde',
+		height		: 'Yükseklik',
+		cellSpace	: 'Izgara kalınlığı',
+		cellPad		: 'Izgara yazı arası',
+		caption		: 'Başlık',
+		summary		: 'Özet',
+		headers		: 'Başlıklar',
+		headersNone		: 'Yok',
+		headersColumn	: 'İlk Sütun',
+		headersRow		: 'İlk Satır',
+		headersBoth		: 'Her İkisi',
+		invalidRows		: 'Number of rows must be a number greater than 0.', // MISSING
+		invalidCols		: 'Number of columns must be a number greater than 0.', // MISSING
+		invalidBorder	: 'Border size must be a number.', // MISSING
+		invalidWidth	: 'Table width must be a number.', // MISSING
+		invalidHeight	: 'Table height must be a number.', // MISSING
+		invalidCellSpacing	: 'Cell spacing must be a number.', // MISSING
+		invalidCellPadding	: 'Cell padding must be a number.', // MISSING
+
+		cell :
+		{
+			menu			: 'Hücre',
+			insertBefore	: 'Hücre Ekle - Önce',
+			insertAfter		: 'Hücre Ekle - Sonra',
+			deleteCell		: 'Hücre Sil',
+			merge			: 'Hücreleri Birleştir',
+			mergeRight		: 'Birleştir - Sağdaki İle ',
+			mergeDown		: 'Birleştir - Aşağıdaki İle ',
+			splitHorizontal	: 'Hücreyi Yatay Böl',
+			splitVertical	: 'Hücreyi Dikey Böl',
+			title			: 'Cell Properties', // MISSING
+			cellType		: 'Cell Type', // MISSING
+			rowSpan			: 'Rows Span', // MISSING
+			colSpan			: 'Columns Span', // MISSING
+			wordWrap		: 'Word Wrap', // MISSING
+			hAlign			: 'Horizontal Alignment', // MISSING
+			vAlign			: 'Vertical Alignment', // MISSING
+			alignTop		: 'Top', // MISSING
+			alignMiddle		: 'Middle', // MISSING
+			alignBottom		: 'Bottom', // MISSING
+			alignBaseline	: 'Baseline', // MISSING
+			bgColor			: 'Background Color', // MISSING
+			borderColor		: 'Border Color', // MISSING
+			data			: 'Data', // MISSING
+			header			: 'Header', // MISSING
+			yes				: 'Yes', // MISSING
+			no				: 'No', // MISSING
+			invalidWidth	: 'Cell width must be a number.', // MISSING
+			invalidHeight	: 'Cell height must be a number.', // MISSING
+			invalidRowSpan	: 'Rows span must be a whole number.', // MISSING
+			invalidColSpan	: 'Columns span must be a whole number.', // MISSING
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Satır',
+			insertBefore	: 'Satır Ekle - Önce',
+			insertAfter		: 'Satır Ekle - Sonra',
+			deleteRow		: 'Satır Sil'
+		},
+
+		column :
+		{
+			menu			: 'Sütun',
+			insertBefore	: 'Kolon Ekle - Önce',
+			insertAfter		: 'Kolon Ekle - Sonra',
+			deleteColumn	: 'Sütun Sil'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Düğme Özellikleri',
+		text		: 'Metin (Değer)',
+		type		: 'Tip',
+		typeBtn		: 'Düğme',
+		typeSbm		: 'Gönder',
+		typeRst		: 'Sıfırla'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Onay Kutusu Özellikleri',
+		radioTitle	: 'Seçenek Düğmesi Özellikleri',
+		value		: 'Değer',
+		selected	: 'Seçili'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Form Özellikleri',
+		menu		: 'Form Özellikleri',
+		action		: 'İşlem',
+		method		: 'Yöntem',
+		encoding	: 'Encoding', // MISSING
+		target		: 'Hedef',
+		targetNotSet	: '<tanımlanmamış>',
+		targetNew	: 'Yeni Pencere(_blank)',
+		targetTop	: 'En Üst Pencere (_top)',
+		targetSelf	: 'Kendi Penceresi (_self)',
+		targetParent	: 'Anne Pencere (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Seçim Menüsü Özellikleri',
+		selectInfo	: 'Bilgi',
+		opAvail		: 'Mevcut Seçenekler',
+		value		: 'Değer',
+		size		: 'Boyut',
+		lines		: 'satır',
+		chkMulti	: 'Çoklu seçime izin ver',
+		opText		: 'Metin',
+		opValue		: 'Değer',
+		btnAdd		: 'Ekle',
+		btnModify	: 'Düzenle',
+		btnUp		: 'Yukarı',
+		btnDown		: 'Aşağı',
+		btnSetValue : 'Seçili değer olarak ata',
+		btnDelete	: 'Sil'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Çok Satırlı Metin Özellikleri',
+		cols		: 'Sütunlar',
+		rows		: 'Satırlar'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Metin Girişi Özellikleri',
+		name		: 'Ad',
+		value		: 'Değer',
+		charWidth	: 'Karakter Genişliği',
+		maxChars	: 'En Fazla Karakter',
+		type		: 'Tür',
+		typeText	: 'Metin',
+		typePass	: 'Parola'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Gizli Veri Özellikleri',
+		name	: 'Ad',
+		value	: 'Değer'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Resim Özellikleri',
+		titleButton	: 'Resimli Düğme Özellikleri',
+		menu		: 'Resim Özellikleri',
+		infoTab	: 'Resim Bilgisi',
+		btnUpload	: 'Sunucuya Yolla',
+		url		: 'URL',
+		upload	: 'Karşıya Yükle',
+		alt		: 'Alternatif Yazı',
+		width		: 'Genişlik',
+		height	: 'Yükseklik',
+		lockRatio	: 'Oranı Kilitle',
+		resetSize	: 'Boyutu Başa Döndür',
+		border	: 'Kenar',
+		hSpace	: 'Yatay Boşluk',
+		vSpace	: 'Dikey Boşluk',
+		align		: 'Hizalama',
+		alignLeft	: 'Sol',
+		alignRight	: 'Sağ',
+		preview	: 'Ön İzleme',
+		alertUrl	: 'Lütfen resmin URL\'sini yazınız',
+		linkTab	: 'Köprü',
+		button2Img	: 'Do you want to transform the selected image button on a simple image?', // MISSING
+		img2Button	: 'Do you want to transform the selected image on a image button?', // MISSING
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash Özellikleri',
+		propertiesTab	: 'Properties', // MISSING
+		title		: 'Flash Özellikleri',
+		chkPlay		: 'Otomatik Oynat',
+		chkLoop		: 'Döngü',
+		chkMenu		: 'Flash Menüsünü Kullan',
+		chkFull		: 'Allow Fullscreen', // MISSING
+ 		scale		: 'Boyutlandır',
+		scaleAll		: 'Hepsini Göster',
+		scaleNoBorder	: 'Kenar Yok',
+		scaleFit		: 'Tam Sığdır',
+		access			: 'Script Access', // MISSING
+		accessAlways	: 'Always', // MISSING
+		accessSameDomain	: 'Same domain', // MISSING
+		accessNever	: 'Never', // MISSING
+		align		: 'Hizalama',
+		alignLeft	: 'Sol',
+		alignAbsBottom: 'Tam Altı',
+		alignAbsMiddle: 'Tam Ortası',
+		alignBaseline	: 'Taban Çizgisi',
+		alignBottom	: 'Alt',
+		alignMiddle	: 'Orta',
+		alignRight	: 'Sağ',
+		alignTextTop	: 'Yazı Tepeye',
+		alignTop	: 'Tepe',
+		quality		: 'Quality', // MISSING
+		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
+		windowMode	: 'Window mode', // MISSING
+		flashvars	: 'Variables for Flash', // MISSING
+		bgcolor	: 'Arka Renk',
+		width	: 'Genişlik',
+		height	: 'Yükseklik',
+		hSpace	: 'Yatay Boşluk',
+		vSpace	: 'Dikey Boşluk',
+		validateSrc : 'Lütfen köprü URL\'sini yazın',
+		validateWidth : 'Width must be a number.', // MISSING
+		validateHeight : 'Height must be a number.', // MISSING
+		validateHSpace : 'HSpace must be a number.', // MISSING
+		validateVSpace : 'VSpace must be a number.' // MISSING
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Yazım Denetimi',
+		title			: 'Spell Check', // MISSING
+		notAvailable	: 'Sorry, but service is unavailable now.', // MISSING
+		errorLoading	: 'Error loading application service host: %s.', // MISSING
+		notInDic		: 'Sözlükte Yok',
+		changeTo		: 'Şuna değiştir:',
+		btnIgnore		: 'Yoksay',
+		btnIgnoreAll	: 'Tümünü Yoksay',
+		btnReplace		: 'Değiştir',
+		btnReplaceAll	: 'Tümünü Değiştir',
+		btnUndo			: 'Geri Al',
+		noSuggestions	: '- Öneri Yok -',
+		progress		: 'Yazım denetimi işlemde...',
+		noMispell		: 'Yazım denetimi tamamlandı: Yanlış yazıma rastlanmadı',
+		noChanges		: 'Yazım denetimi tamamlandı: Hiçbir kelime değiştirilmedi',
+		oneChange		: 'Yazım denetimi tamamlandı: Bir kelime değiştirildi',
+		manyChanges		: 'Yazım denetimi tamamlandı: %1 kelime değiştirildi',
+		ieSpellDownload	: 'Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'İfade',
+		title	: 'İfade Ekle'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 element' // MISSING
+	},
+
+	numberedlist : 'Numaralı Liste',
+	bulletedlist : 'Simgeli Liste',
+	indent : 'Sekme Arttır',
+	outdent : 'Sekme Azalt',
+
+	justify :
+	{
+		left : 'Sola Dayalı',
+		center : 'Ortalanmış',
+		right : 'Sağa Dayalı',
+		block : 'İki Kenara Yaslanmış'
+	},
+
+	blockquote : 'Blok Oluştur',
+
+	clipboard :
+	{
+		title		: 'Yapıştır',
+		cutError	: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl+X) tuşlarını kullanın.',
+		copyError	: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl+C) tuşlarını kullanın.',
+		pasteMsg	: 'Lütfen aşağıdaki kutunun içine yapıştırın. (<STRONG>Ctrl+V</STRONG>) ve <STRONG>Tamam</STRONG> butonunu tıklayın.',
+		securityMsg	: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya erişimine izin vermiyor. Bu pencere içine tekrar yapıştırmalısınız..'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+		toolbar : 'Word\'den Yapıştır',
+		title : 'Word\'den Yapıştır',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Düz Metin Olarak Yapıştır',
+		title : 'Düz Metin Olarak Yapıştır'
+	},
+
+	templates :
+	{
+		button : 'Şablonlar',
+		title : 'İçerik Şablonları',
+		insertOption: 'Mevcut içerik ile değiştir',
+		selectPromptMsg: 'Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):',
+		emptyListMsg : '(Belirli bir şablon seçilmedi)'
+	},
+
+	showBlocks : 'Blokları Göster',
+
+	stylesCombo :
+	{
+		label : 'Biçem',
+		voiceLabel : 'Styles', // MISSING
+		panelVoiceLabel : 'Select a style', // MISSING
+		panelTitle1 : 'Block Styles', // MISSING
+		panelTitle2 : 'Inline Styles', // MISSING
+		panelTitle3 : 'Object Styles' // MISSING
+	},
+
+	format :
+	{
+		label : 'Biçim',
+		voiceLabel : 'Format', // MISSING
+		panelTitle : 'Biçim',
+		panelVoiceLabel : 'Select a paragraph format', // MISSING
+
+		tag_p : 'Normal',
+		tag_pre : 'Biçimli',
+		tag_address : 'Adres',
+		tag_h1 : 'Başlık 1',
+		tag_h2 : 'Başlık 2',
+		tag_h3 : 'Başlık 3',
+		tag_h4 : 'Başlık 4',
+		tag_h5 : 'Başlık 5',
+		tag_h6 : 'Başlık 6',
+		tag_div : 'Paragraf (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Yazı Türü',
+		voiceLabel : 'Font', // MISSING
+		panelTitle : 'Yazı Türü',
+		panelVoiceLabel : 'Select a font' // MISSING
+	},
+
+	fontSize :
+	{
+		label : 'Boyut',
+		voiceLabel : 'Font Size', // MISSING
+		panelTitle : 'Boyut',
+		panelVoiceLabel : 'Select a font size' // MISSING
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Yazı Rengi',
+		bgColorTitle : 'Arka Renk',
+		auto : 'Otomatik',
+		more : 'Diğer renkler...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Spell Check As You Type', // 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
+		languagesTab : 'Languages', // MISSING
+		dictionariesTab : 'Dictionaries', // MISSING
+		aboutTab : 'About' // MISSING
+	},
+
+	about :
+	{
+		title : 'About CKEditor', // MISSING
+		dlgTitle : 'About CKEditor', // MISSING
+		moreInfo : 'For licensing information please visit our web site:', // MISSING
+		copy : 'Copyright &copy; $1. All rights reserved.' // MISSING
+	},
+
+	maximize : 'Maximize', // MISSING
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Anchor', // MISSING
+		flash : 'Flash Animation', // MISSING
+		div : 'Page Break', // MISSING
+		unknown : 'Unknown Object' // MISSING
+	},
+
+	resize : 'Drag to resize', // MISSING
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/uk.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/uk.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/uk.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Ukrainian language. Translated by Alexander Pervak.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['uk'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Візуальний текстовий редактор, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Джерело',
+	newPage			: 'Нова сторінка',
+	save			: 'Зберегти',
+	preview			: 'Попередній перегляд',
+	cut				: 'Вирізати',
+	copy			: 'Копіювати',
+	paste			: 'Вставити',
+	print			: 'Друк',
+	underline		: 'Підкреслений',
+	bold			: 'Жирний',
+	italic			: 'Курсив',
+	selectAll		: 'Виділити все',
+	removeFormat	: 'Прибрати форматування',
+	strike			: 'Закреслений',
+	subscript		: 'Підрядковий індекс',
+	superscript		: 'Надрядковий индекс',
+	horizontalrule	: 'Вставити горизонтальну лінію',
+	pagebreak		: 'Вставити розривши сторінки',
+	unlink			: 'Знищити посилання',
+	undo			: 'Повернути',
+	redo			: 'Повторити',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Передивитися на сервері',
+		url				: 'URL',
+		protocol		: 'Протокол',
+		upload			: 'Закачати',
+		uploadSubmit	: 'Надіслати на сервер',
+		image			: 'Зображення',
+		flash			: 'Flash',
+		form			: 'Форма',
+		checkbox		: 'Флагова кнопка',
+		radio		: 'Кнопка вибору',
+		textField		: 'Текстове поле',
+		textarea		: 'Текстова область',
+		hiddenField		: 'Приховане поле',
+		button			: 'Кнопка',
+		select	: 'Список',
+		imageButton		: 'Кнопка із зображенням',
+		notSet			: '<не визначено>',
+		id				: 'Ідентифікатор',
+		name			: 'Им\'я',
+		langDir			: 'Напрямок мови',
+		langDirLtr		: 'Зліва на право (LTR)',
+		langDirRtl		: 'Зправа на ліво (RTL)',
+		langCode		: 'Мова',
+		longDescr		: 'Довгий опис URL',
+		cssClass		: 'Клас CSS',
+		advisoryTitle	: 'Заголовок',
+		cssStyle		: 'Стиль CSS',
+		ok				: 'ОК',
+		cancel			: 'Скасувати',
+		generalTab		: 'Загальна',
+		advancedTab		: 'Розширений',
+		validateNumberFailed	: 'Значення не є числом.',
+		confirmNewPage	: 'Всі не збережені зміни будуть втрачені. Ви впевнені, що хочете завантажити нову сторінку?',
+		confirmCancel	: 'Деякі опції були змінені. Закрити вікно?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, не доступне</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Вставити спеціальний символ',
+		title		: 'Оберіть спеціальний символ'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Вставити/Редагувати посилання',
+		menu		: 'Вставити посилання',
+		title		: 'Посилання',
+		info		: 'Інформація посилання',
+		target		: 'Ціль',
+		upload		: 'Закачати',
+		advanced	: 'Розширений',
+		type		: 'Тип посилання',
+		toAnchor	: 'Якір на цю сторінку',
+		toEmail		: 'Эл. пошта',
+		target		: 'Ціль',
+		targetNotSet	: '<не визначено>',
+		targetFrame	: '<фрейм>',
+		targetPopup	: '<спливаюче вікно>',
+		targetNew	: 'Нове вікно (_blank)',
+		targetTop	: 'Найвище вікно (_top)',
+		targetSelf	: 'Теж вікно (_self)',
+		targetParent	: 'Батьківське вікно (_parent)',
+		targetFrameName	: 'Ім\'я целевого фрейма',
+		targetPopupName	: 'Ім\'я спливаючого вікна',
+		popupFeatures	: 'Властивості спливаючого вікна',
+		popupResizable	: 'Масштабоване',
+		popupStatusBar	: 'Строка статусу',
+		popupLocationBar	: 'Панель локації',
+		popupToolbar	: 'Панель інструментів',
+		popupMenuBar	: 'Панель меню',
+		popupFullScreen	: 'Повний екран (IE)',
+		popupScrollBars	: 'Полоси прокрутки',
+		popupDependent	: 'Залежний (Netscape)',
+		popupWidth		: 'Ширина',
+		popupLeft		: 'Позиція зліва',
+		popupHeight		: 'Висота',
+		popupTop		: 'Позиція зверху',
+		id				: 'Ідентифікатор (Id)',
+		langDir			: 'Напрямок мови',
+		langDirNotSet	: '<не визначено>',
+		langDirLTR		: 'Зліва на право (LTR)',
+		langDirRTL		: 'Зправа на ліво (RTL)',
+		acccessKey		: 'Гаряча клавіша',
+		name			: 'Им\'я',
+		langCode		: 'Напрямок мови',
+		tabIndex		: 'Послідовність переходу',
+		advisoryTitle	: 'Заголовок',
+		advisoryContentType	: 'Тип вмісту',
+		cssClasses		: 'Клас CSS',
+		charset			: 'Кодировка',
+		styles			: 'Стиль CSS',
+		selectAnchor	: 'Оберіть якір',
+		anchorName		: 'За ім\'ям якоря',
+		anchorId		: 'За ідентифікатором елемента',
+		emailAddress	: 'Адреса ел. пошти',
+		emailSubject	: 'Тема листа',
+		emailBody		: 'Тіло повідомлення',
+		noAnchors		: '(Немає якорів доступних в цьому документі)',
+		noUrl			: 'Будь ласка, занесіть URL посилання',
+		noEmail			: 'Будь ласка, занесіть адрес эл. почты'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Вставити/Редагувати якір',
+		menu		: 'Властивості якоря',
+		title		: 'Властивості якоря',
+		name		: 'Ім\'я якоря',
+		errorName	: 'Будь ласка, занесіть ім\'я якоря'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Знайти і замінити',
+		find				: 'Пошук',
+		replace				: 'Заміна',
+		findWhat			: 'Шукати:',
+		replaceWith			: 'Замінити на:',
+		notFoundMsg			: 'Вказаний текст не знайдений.',
+		matchCase			: 'Враховувати регістр',
+		matchWord			: 'Збіг цілих слів',
+		matchCyclic			: 'Циклічна заміна',
+		replaceAll			: 'Замінити все',
+		replaceSuccessMsg	: '%1 співпадінь(я) замінено.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Таблиця',
+		title		: 'Властивості таблиці',
+		menu		: 'Властивості таблиці',
+		deleteTable	: 'Видалити таблицю',
+		rows		: 'Строки',
+		columns		: 'Колонки',
+		border		: 'Розмір бордюра',
+		align		: 'Вирівнювання',
+		alignNotSet	: '<Не вст.>',
+		alignLeft	: 'Зліва',
+		alignCenter	: 'По центру',
+		alignRight	: 'Зправа',
+		width		: 'Ширина',
+		widthPx		: 'пікселів',
+		widthPc		: 'відсотків',
+		height		: 'Висота',
+		cellSpace	: 'Проміжок (spacing)',
+		cellPad		: 'Відступ (padding)',
+		caption		: 'Заголовок',
+		summary		: 'Резюме',
+		headers		: 'Заголовки',
+		headersNone		: 'Жодного',
+		headersColumn	: 'Перша колонка',
+		headersRow		: 'Перший рядок',
+		headersBoth		: 'Обидва',
+		invalidRows		: 'Кількість рядків повинна бути числом більше за 0.',
+		invalidCols		: 'Кількість колонок повинна бути числом більше за  0.',
+		invalidBorder	: 'Розмір бордюра повинен бути числом.',
+		invalidWidth	: 'Ширина таблиці повинна бути числом.',
+		invalidHeight	: 'Висота таблиці повинна бути числом.',
+		invalidCellSpacing	: 'Проміжок (spacing) комірки повинен бути числом.',
+		invalidCellPadding	: 'Відступ (padding) комірки повинен бути числом.',
+
+		cell :
+		{
+			menu			: 'Осередок',
+			insertBefore	: 'Вставити комірку до',
+			insertAfter		: 'Вставити комірку після',
+			deleteCell		: 'Видалити комірки',
+			merge			: 'Об\'єднати комірки',
+			mergeRight		: 'Об\'єднати зправа',
+			mergeDown		: 'Об\'єднати до низу',
+			splitHorizontal	: 'Розділити комірку по горизонталі',
+			splitVertical	: 'Розділити комірку по вертикалі',
+			title			: 'Властивості комірки',
+			cellType		: 'Тип комірки',
+			rowSpan			: 'Обєднання рядків (Rows Span)',
+			colSpan			: 'Обєднання стовпчиків (Columns Span)',
+			wordWrap		: 'Авто згортання тексту (Word Wrap)',
+			hAlign			: 'Горизонтальне вирівнювання',
+			vAlign			: 'Вертикальне вирівнювання',
+			alignTop		: 'До верху',
+			alignMiddle		: 'Посередині',
+			alignBottom		: 'До низу',
+			alignBaseline	: 'По базовій лінії',
+			bgColor			: 'Колір фону',
+			borderColor		: 'Колір бордюру',
+			data			: 'Дані',
+			header			: 'Заголовок',
+			yes				: 'Так',
+			no				: 'Ні',
+			invalidWidth	: 'Ширина комірки повинна бути числом.',
+			invalidHeight	: 'Висота комірки повинна бути числом.',
+			invalidRowSpan	: 'Кількість обєднуваних рядків повинна бути цілим числом.',
+			invalidColSpan	: 'Кількість обєднуваних стовпчиків повинна бути цілим числом.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Рядок',
+			insertBefore	: 'Вставити рядок до',
+			insertAfter		: 'Вставити рядок після',
+			deleteRow		: 'Видалити строки'
+		},
+
+		column :
+		{
+			menu			: 'Колонка',
+			insertBefore	: 'Вставити колонку до',
+			insertAfter		: 'Вставити колонку після',
+			deleteColumn	: 'Видалити колонки'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Властивості кнопки',
+		text		: 'Текст (Значення)',
+		type		: 'Тип',
+		typeBtn		: 'Кнопка',
+		typeSbm		: 'Відправити',
+		typeRst		: 'Скинути'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Властивості флагової кнопки',
+		radioTitle	: 'Властивості кнопки вибору',
+		value		: 'Значення',
+		selected	: 'Обрана'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Властивості форми',
+		menu		: 'Властивості форми',
+		action		: 'Дія',
+		method		: 'Метод',
+		encoding	: 'Кодування',
+		target		: 'Ціль',
+		targetNotSet	: '<не визначено>',
+		targetNew	: 'Нове вікно (_blank)',
+		targetTop	: 'Найвище вікно (_top)',
+		targetSelf	: 'Теж вікно (_self)',
+		targetParent	: 'Батьківське вікно (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Властивості списку',
+		selectInfo	: 'Інфо',
+		opAvail		: 'Доступні варіанти',
+		value		: 'Значення',
+		size		: 'Розмір',
+		lines		: 'лінії',
+		chkMulti	: 'Дозволити обрання декількох позицій',
+		opText		: 'Текст',
+		opValue		: 'Значення',
+		btnAdd		: 'Добавити',
+		btnModify	: 'Змінити',
+		btnUp		: 'Вгору',
+		btnDown		: 'Вниз',
+		btnSetValue : 'Встановити як вибране значення',
+		btnDelete	: 'Видалити'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Властивості текстової області',
+		cols		: 'Колонки',
+		rows		: 'Строки'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Властивості текстового поля',
+		name		: 'Ім\'я',
+		value		: 'Значення',
+		charWidth	: 'Ширина',
+		maxChars	: 'Макс. кіл-ть символів',
+		type		: 'Тип',
+		typeText	: 'Текст',
+		typePass	: 'Пароль'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Властивості прихованого поля',
+		name	: 'Ім\'я',
+		value	: 'Значення'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Властивості зображення',
+		titleButton	: 'Властивості кнопки із зображенням',
+		menu		: 'Властивості зображення',
+		infoTab	: 'Інформація про изображении',
+		btnUpload	: 'Надіслати на сервер',
+		url		: 'URL',
+		upload	: 'Закачати',
+		alt		: 'Альтернативний текст',
+		width		: 'Ширина',
+		height	: 'Висота',
+		lockRatio	: 'Зберегти пропорції',
+		resetSize	: 'Скинути розмір',
+		border	: 'Бордюр',
+		hSpace	: 'Горизонтальний відступ',
+		vSpace	: 'Вертикальний відступ',
+		align		: 'Вирівнювання',
+		alignLeft	: 'По лівому краю',
+		alignRight	: 'По правому краю',
+		preview	: 'Попередній перегляд',
+		alertUrl	: 'Будь ласка, введіть URL зображення',
+		linkTab	: 'Посилання',
+		button2Img	: 'Ви хочете перетворити обрану кнопку-зображення на просте зображення?',
+		img2Button	: 'Ви хочете перетворити обране зображення на кнопку-зображення?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Властивості Flash',
+		propertiesTab	: 'Властивості',
+		title		: 'Властивості Flash',
+		chkPlay		: 'Авто програвання',
+		chkLoop		: 'Зациклити',
+		chkMenu		: 'Дозволити меню Flash',
+		chkFull		: 'Дозволити повноекранний перегляд',
+ 		scale		: 'Масштаб',
+		scaleAll		: 'Показати всі',
+		scaleNoBorder	: 'Без рамки',
+		scaleFit		: 'Дійсний розмір',
+		access			: 'Доступ до скрипта',
+		accessAlways	: 'Завжди',
+		accessSameDomain	: 'З того ж домена',
+		accessNever	: 'Ніколи',
+		align		: 'Вирівнювання',
+		alignLeft	: 'По лівому краю',
+		alignAbsBottom: 'Абс по низу',
+		alignAbsMiddle: 'Абс по середині',
+		alignBaseline	: 'По базовій лінії',
+		alignBottom	: 'По низу',
+		alignMiddle	: 'По середині',
+		alignRight	: 'По правому краю',
+		alignTextTop	: 'Текст на верху',
+		alignTop	: 'По верху',
+		quality		: 'Якість',
+		qualityBest		 : 'Відмінна',
+		qualityHigh		 : 'Висока',
+		qualityAutoHigh	 : 'Авто відмінна',
+		qualityMedium	 : 'Середня',
+		qualityAutoLow	 : 'Авто низька',
+		qualityLow		 : 'Низька',
+		windowModeWindow	 : 'Вікно',
+		windowModeOpaque	 : 'Непрозорість (Opaque)',
+		windowModeTransparent	 : 'Прозорість (Transparent)',
+		windowMode	: 'Режим вікна',
+		flashvars	: 'Змінні Flash',
+		bgcolor	: 'Колір фону',
+		width	: 'Ширина',
+		height	: 'Висота',
+		hSpace	: 'Горизонтальний відступ',
+		vSpace	: 'Вертикальний відступ',
+		validateSrc : 'Будь ласка, занесіть URL посилання',
+		validateWidth : 'Ширина повинна бути числом.',
+		validateHeight : 'Висота повинна бути числом.',
+		validateHSpace : 'HSpace повинна бути числом.',
+		validateVSpace : 'VSpace повинна бути числом.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Перевірити орфографію',
+		title			: 'Перевірка орфографії',
+		notAvailable	: 'Вибачте, але сервіс наразі недоступний.',
+		errorLoading	: 'Помилка завантаження : %s.',
+		notInDic		: 'Не має в словнику',
+		changeTo		: 'Замінити на',
+		btnIgnore		: 'Ігнорувати',
+		btnIgnoreAll	: 'Ігнорувати все',
+		btnReplace		: 'Замінити',
+		btnReplaceAll	: 'Замінити все',
+		btnUndo			: 'Назад',
+		noSuggestions	: '- Немає припущень -',
+		progress		: 'Виконується перевірка орфографії...',
+		noMispell		: 'Перевірку орфографії завершено: помилок не знайдено',
+		noChanges		: 'Перевірку орфографії завершено: жодне слово не змінено',
+		oneChange		: 'Перевірку орфографії завершено: змінено одно слово',
+		manyChanges		: 'Перевірку орфографії завершено: 1% слів змінено',
+		ieSpellDownload	: 'Модуль перевірки орфографії не встановлено. Бажаєтн завантажити його зараз?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Смайлик',
+		title	: 'Вставити смайлик'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 елемент'
+	},
+
+	numberedlist : 'Нумерований список',
+	bulletedlist : 'Маркований список',
+	indent : 'Збільшити відступ',
+	outdent : 'Зменшити відступ',
+
+	justify :
+	{
+		left : 'По лівому краю',
+		center : 'По центру',
+		right : 'По правому краю',
+		block : 'По ширині'
+	},
+
+	blockquote : 'Цитата',
+
+	clipboard :
+	{
+		title		: 'Вставити',
+		cutError	: 'Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl+X).',
+		copyError	: 'Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl+C).',
+		pasteMsg	: 'Будь ласка, вставте з буфера обміну в цю область, користуючись комбінацією клавіш (<STRONG>Ctrl+V</STRONG>) та натисніть <STRONG>OK</STRONG>.',
+		securityMsg	: 'Редактор не може отримати прямий доступ до буферу обміну у зв\'язку з налаштуваннями вашого браузера. Вам потрібно вставити інформацію повторно в це вікно.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Текст, що ви хочете вставити, схожий на копійований з Word. Ви хочете очистити його перед вставкою?',
+		toolbar : 'Вставити з Word',
+		title : 'Вставити з Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Вставити тільки текст',
+		title : 'Вставити тільки текст'
+	},
+
+	templates :
+	{
+		button : 'Шаблони',
+		title : 'Шаблони змісту',
+		insertOption: 'Замінити поточний вміст',
+		selectPromptMsg: 'Оберіть, будь ласка, шаблон для відкриття в редакторі<br>(поточний зміст буде втрачено):',
+		emptyListMsg : '(Не визначено жодного шаблону)'
+	},
+
+	showBlocks : 'Показувати блоки',
+
+	stylesCombo :
+	{
+		label : 'Стиль',
+		voiceLabel : 'Стилі',
+		panelVoiceLabel : 'Оберіть стиль',
+		panelTitle1 : 'Block стилі',
+		panelTitle2 : 'Inline стилі',
+		panelTitle3 : 'Object стилі'
+	},
+
+	format :
+	{
+		label : 'Форматування',
+		voiceLabel : 'Формат',
+		panelTitle : 'Форматування',
+		panelVoiceLabel : 'Оберіть формат абзацу',
+
+		tag_p : 'Нормальний',
+		tag_pre : 'Форматований',
+		tag_address : 'Адреса',
+		tag_h1 : 'Заголовок 1',
+		tag_h2 : 'Заголовок 2',
+		tag_h3 : 'Заголовок 3',
+		tag_h4 : 'Заголовок 4',
+		tag_h5 : 'Заголовок 5',
+		tag_h6 : 'Заголовок 6',
+		tag_div : 'Нормальний (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Шрифт',
+		voiceLabel : 'Шрифт',
+		panelTitle : 'Шрифт',
+		panelVoiceLabel : 'Оберіть шрифт'
+	},
+
+	fontSize :
+	{
+		label : 'Розмір',
+		voiceLabel : 'Розмір шрифта',
+		panelTitle : 'Розмір',
+		panelVoiceLabel : 'Оберіть розмір шрифта'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Колір тексту',
+		bgColorTitle : 'Колір фону',
+		auto : 'Автоматичний',
+		more : 'Кольори...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Перефірка орфографії по мірі набору',
+		enable : 'Включити SCAYT',
+		disable : 'Відключити SCAYT',
+		about : 'Про SCAYT',
+		toggle : 'Перемкнути SCAYT',
+		options : 'Опції',
+		langs : 'Мови',
+		moreSuggestions : 'Більше пропозицій',
+		ignore : 'Ігнорувати',
+		ignoreAll : 'Ігнорувати всі',
+		addWord : 'Додати слово',
+		emptyDic : 'Назва словника повинна бути заповнена.',
+		optionsTab : 'Опції',
+		languagesTab : 'Мови',
+		dictionariesTab : 'Словники',
+		aboutTab : 'Про'
+	},
+
+	about :
+	{
+		title : 'Про CKEditor',
+		dlgTitle : 'Про CKEditor',
+		moreInfo : 'Щодо інформації з ліцензування завітайте до нашого сайту:',
+		copy : 'Copyright &copy; $1. Всі права застережено.'
+	},
+
+	maximize : 'Максимізувати',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Якір',
+		flash : 'Flash анімація',
+		div : 'Розрив сторінки',
+		unknown : 'Невідомий об`єкт'
+	},
+
+	resize : 'Пересувайте для зміни розміру',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/vi.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/vi.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/vi.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Vietnamese language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['vi'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: 'Trình biên tập trực quan, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: 'Mã HTML',
+	newPage			: 'Trang mới',
+	save			: 'Lưu',
+	preview			: 'Xem trước',
+	cut				: 'Cắt',
+	copy			: 'Sao chép',
+	paste			: 'Dán',
+	print			: 'In',
+	underline		: 'Gạch chân',
+	bold			: 'Đậm',
+	italic			: 'Nghiêng',
+	selectAll		: 'Chọn Tất cả',
+	removeFormat	: 'Xoá Định dạng',
+	strike			: 'Gạch xuyên ngang',
+	subscript		: 'Chỉ số dưới',
+	superscript		: 'Chỉ số trên',
+	horizontalrule	: 'Chèn Đường phân cách ngang',
+	pagebreak		: 'Chèn Ngắt trang',
+	unlink			: 'Xoá Liên kết',
+	undo			: 'Khôi phục thao tác',
+	redo			: 'Làm lại thao tác',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: 'Duyệt trên máy chủ',
+		url				: 'URL',
+		protocol		: 'Giao thức',
+		upload			: 'Tải lên',
+		uploadSubmit	: 'Tải lên Máy chủ',
+		image			: 'Hình ảnh',
+		flash			: 'Flash',
+		form			: 'Biểu mẫu',
+		checkbox		: 'Nút kiểm',
+		radio		: 'Nút chọn',
+		textField		: 'Trường văn bản',
+		textarea		: 'Vùng văn bản',
+		hiddenField		: 'Trường ẩn',
+		button			: 'Nút',
+		select	: 'Ô chọn',
+		imageButton		: 'Nút hình ảnh',
+		notSet			: '<không thiết lập>',
+		id				: 'Định danh',
+		name			: 'Tên',
+		langDir			: 'Đường dẫn Ngôn ngữ',
+		langDirLtr		: 'Trái sang Phải (LTR)',
+		langDirRtl		: 'Phải sang Trái (RTL)',
+		langCode		: 'Mã Ngôn ngữ',
+		longDescr		: 'Mô tả URL',
+		cssClass		: 'Lớp Stylesheet',
+		advisoryTitle	: 'Advisory Title',
+		cssStyle		: 'Mẫu',
+		ok				: 'Đồng ý',
+		cancel			: 'Bỏ qua',
+		generalTab		: 'Chung',
+		advancedTab		: 'Mở rộng',
+		validateNumberFailed	: 'Giá trị này không phải là số.',
+		confirmNewPage	: 'Mọi thay đổi không được không được lưu lại của nội dung này sẽ bị mất. Bạn có chắc chắn muốn tải một trang mới?',
+		confirmCancel	: 'Một vài tùy chọn đã bị thay đổi. Bạn có chắc chắn muốn đóng hộp thoại?',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, không có</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: 'Chèn Ký tự đặc biệt',
+		title		: 'Hãy chọn Ký tự đặc biệt'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: 'Chèn/Sửa Liên kết',
+		menu		: 'Sửa Liên kết',
+		title		: 'Liên kết',
+		info		: 'Thông tin Liên kết',
+		target		: 'Đích',
+		upload		: 'Tải lên',
+		advanced	: 'Mở rộng',
+		type		: 'Kiểu Liên kết',
+		toAnchor	: 'Neo trong trang này',
+		toEmail		: 'Thư điện tử',
+		target		: 'Đích',
+		targetNotSet	: '<không thiết lập>',
+		targetFrame	: '<khung>',
+		targetPopup	: '<cửa sổ popup>',
+		targetNew	: 'Cửa sổ mới (_blank)',
+		targetTop	: 'Cửa sổ trên cùng(_top)',
+		targetSelf	: 'Cùng cửa sổ (_self)',
+		targetParent	: 'Cửa sổ cha (_parent)',
+		targetFrameName	: 'Tên Khung đích',
+		targetPopupName	: 'Tên Cửa sổ Popup',
+		popupFeatures	: 'Đặc điểm của Cửa sổ Popup',
+		popupResizable	: 'Có thể thay đổi kích cỡ',
+		popupStatusBar	: 'Thanh trạng thái',
+		popupLocationBar	: 'Thanh vị trí',
+		popupToolbar	: 'Thanh công cụ',
+		popupMenuBar	: 'Thanh Menu',
+		popupFullScreen	: 'Toàn màn hình (IE)',
+		popupScrollBars	: 'Thanh cuộn',
+		popupDependent	: 'Phụ thuộc (Netscape)',
+		popupWidth		: 'Rộng',
+		popupLeft		: 'Vị trí Trái',
+		popupHeight		: 'Cao',
+		popupTop		: 'Vị trí Trên',
+		id				: 'Định danh',
+		langDir			: 'Đường dẫn Ngôn ngữ',
+		langDirNotSet	: '<không thiết lập>',
+		langDirLTR		: 'Trái sang Phải (LTR)',
+		langDirRTL		: 'Phải sang Trái (RTL)',
+		acccessKey		: 'Phím Hỗ trợ truy cập',
+		name			: 'Tên',
+		langCode		: 'Đường dẫn Ngôn ngữ',
+		tabIndex		: 'Chỉ số của Tab',
+		advisoryTitle	: 'Advisory Title',
+		advisoryContentType	: 'Advisory Content Type',
+		cssClasses		: 'Lớp Stylesheet',
+		charset			: 'Bảng mã của tài nguyên được liên kết đến',
+		styles			: 'Mẫu',
+		selectAnchor	: 'Chọn một Neo',
+		anchorName		: 'Theo Tên Neo',
+		anchorId		: 'Theo Định danh Thành phần',
+		emailAddress	: 'Thư điện tử',
+		emailSubject	: 'Tiêu đề Thông điệp',
+		emailBody		: 'Nội dung Thông điệp',
+		noAnchors		: '(Không có Neo nào trong tài liệu)',
+		noUrl			: 'Hãy đưa vào Liên kết URL',
+		noEmail			: 'Hãy đưa vào địa chỉ thư điện tử'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: 'Chèn/Sửa Neo',
+		menu		: 'Thuộc tính Neo',
+		title		: 'Thuộc tính Neo',
+		name		: 'Tên của Neo',
+		errorName	: 'Hãy nhập vào tên của Neo'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: 'Tìm kiếm và Thay Thế',
+		find				: 'Tìm kiếm',
+		replace				: 'Thay thế',
+		findWhat			: 'Tìm chuỗi:',
+		replaceWith			: 'Thay bằng:',
+		notFoundMsg			: 'Không tìm thấy chuỗi cần tìm.',
+		matchCase			: 'Phân biệt chữ hoa/thường',
+		matchWord			: 'Giống toàn bộ từ',
+		matchCyclic			: 'Giống một phần',
+		replaceAll			: 'Thay thế Tất cả',
+		replaceSuccessMsg	: '%1 vị trí đã được thay thế.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: 'Bảng',
+		title		: 'Thuộc tính bảng',
+		menu		: 'Thuộc tính bảng',
+		deleteTable	: 'Xóa Bảng',
+		rows		: 'Hàng',
+		columns		: 'Cột',
+		border		: 'Cỡ Đường viền',
+		align		: 'Canh lề',
+		alignNotSet	: '<Chưa thiết lập>',
+		alignLeft	: 'Trái',
+		alignCenter	: 'Giữa',
+		alignRight	: 'Phải',
+		width		: 'Rộng',
+		widthPx		: 'điểm (px)',
+		widthPc		: '%',
+		height		: 'Cao',
+		cellSpace	: 'Khoảng cách Ô',
+		cellPad		: 'Đệm Ô',
+		caption		: 'Đầu đề',
+		summary		: 'Tóm lược',
+		headers		: 'Đầu đề',
+		headersNone		: 'Không có',
+		headersColumn	: 'Cột Đầu tiên',
+		headersRow		: 'Hàng Đầu tiên',
+		headersBoth		: 'Cả hai',
+		invalidRows		: 'Số lượng hàng phải là một số lớn hơn 0.',
+		invalidCols		: 'Số lượng cột phải là một số lớn hơn 0.',
+		invalidBorder	: 'Kích cỡ của đường biên phải là một số nguyên.',
+		invalidWidth	: 'Chiều rộng của Bảng phải là một số nguyên.',
+		invalidHeight	: 'Chiều cao của Bảng phải là một số nguyên.',
+		invalidCellSpacing	: 'Khoảng cách giữa các ô phải là một số nguyên.',
+		invalidCellPadding	: 'Đệm giữa các ô phải là một số nguyên.',
+
+		cell :
+		{
+			menu			: 'Ô',
+			insertBefore	: 'Chèn Ô Phía trước',
+			insertAfter		: 'Chèn Ô Phía sau',
+			deleteCell		: 'Xoá Ô',
+			merge			: 'Kết hợp Ô',
+			mergeRight		: 'Kết hợp Sang phải',
+			mergeDown		: 'Kết hợp Xuống dưới',
+			splitHorizontal	: 'Tách ngang Ô',
+			splitVertical	: 'Tách dọc Ô',
+			title			: 'Thuộc tính của Ô',
+			cellType		: 'Kiểu của Ô',
+			rowSpan			: 'Kết hợp hàng',
+			colSpan			: 'Kết hợp cột',
+			wordWrap		: 'Word Wrap',
+			hAlign			: 'Canh lề ngang',
+			vAlign			: 'Canh lề dọc',
+			alignTop		: 'Trên cùng',
+			alignMiddle		: 'Chính giữa',
+			alignBottom		: 'Dưới cùng',
+			alignBaseline	: 'Đường cơ sở',
+			bgColor			: 'Màu nền',
+			borderColor		: 'Màu viền',
+			data			: 'Dữ liệu',
+			header			: 'Đầu đề',
+			yes				: 'Có',
+			no				: 'Không',
+			invalidWidth	: 'Chiều rộng của Ô phải là một số nguyên.',
+			invalidHeight	: 'Chiều cao của Ô phải là một số nguyên.',
+			invalidRowSpan	: 'Số hàng kết hợp phải là một số nguyên.',
+			invalidColSpan	: 'Số cột kết hợp phải là một số nguyên.',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: 'Hàng',
+			insertBefore	: 'Chèn Hàng Phía trước',
+			insertAfter		: 'Chèn Hàng Phía sau',
+			deleteRow		: 'Xoá Hàng'
+		},
+
+		column :
+		{
+			menu			: 'Cột',
+			insertBefore	: 'Chèn Cột Phía trước',
+			insertAfter		: 'Chèn Cột Phía sau',
+			deleteColumn	: 'Xoá Cột'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: 'Thuộc tính Nút',
+		text		: 'Chuỗi hiển thị (Giá trị)',
+		type		: 'Kiểu',
+		typeBtn		: 'Nút Bấm',
+		typeSbm		: 'Nút Gửi',
+		typeRst		: 'Nút Nhập lại'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : 'Thuộc tính Nút kiểm',
+		radioTitle	: 'Thuộc tính Nút chọn',
+		value		: 'Giá trị',
+		selected	: 'Được chọn'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: 'Thuộc tính Biểu mẫu',
+		menu		: 'Thuộc tính Biểu mẫu',
+		action		: 'Hành động',
+		method		: 'Phương thức',
+		encoding	: 'Bảng mã',
+		target		: 'Đích',
+		targetNotSet	: '<không thiết lập>',
+		targetNew	: 'Cửa sổ mới (_blank)',
+		targetTop	: 'Cửa sổ trên cùng(_top)',
+		targetSelf	: 'Cùng cửa sổ (_self)',
+		targetParent	: 'Cửa sổ cha (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: 'Thuộc tính Ô chọn',
+		selectInfo	: 'Thông tin',
+		opAvail		: 'Các tùy chọn có thể sử dụng',
+		value		: 'Giá trị',
+		size		: 'Kích cỡ',
+		lines		: 'dòng',
+		chkMulti	: 'Cho phép chọn nhiều',
+		opText		: 'Văn bản',
+		opValue		: 'Giá trị',
+		btnAdd		: 'Thêm',
+		btnModify	: 'Thay đổi',
+		btnUp		: 'Lên',
+		btnDown		: 'Xuống',
+		btnSetValue : 'Giá trị được chọn',
+		btnDelete	: 'Xoá'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: 'Thuộc tính Vùng văn bản',
+		cols		: 'Cột',
+		rows		: 'Hàng'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: 'Thuộc tính Trường văn bản',
+		name		: 'Tên',
+		value		: 'Giá trị',
+		charWidth	: 'Rộng',
+		maxChars	: 'Số Ký tự tối đa',
+		type		: 'Kiểu',
+		typeText	: 'Ký tự',
+		typePass	: 'Mật khẩu'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: 'Thuộc tính Trường ẩn',
+		name	: 'Tên',
+		value	: 'Giá trị'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: 'Thuộc tính Hình ảnh',
+		titleButton	: 'Thuộc tính Nút hình ảnh',
+		menu		: 'Thuộc tính Hình ảnh',
+		infoTab	: 'Thông tin Hình ảnh',
+		btnUpload	: 'Tải lên Máy chủ',
+		url		: 'URL',
+		upload	: 'Tải lên',
+		alt		: 'Chú thích Hình ảnh',
+		width		: 'Rộng',
+		height	: 'Cao',
+		lockRatio	: 'Giữ nguyên tỷ lệ',
+		resetSize	: 'Kích thước gốc',
+		border	: 'Đường viền',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		align		: 'Vị trí',
+		alignLeft	: 'Trái',
+		alignRight	: 'Phải',
+		preview	: 'Xem trước',
+		alertUrl	: 'Hãy đưa vào URL của hình ảnh',
+		linkTab	: 'Liên kết',
+		button2Img	: 'Bạn có muốn chuyển nút bấm bằng hình ảnh được chọn thành hình ảnh?',
+		img2Button	: 'Bạn có muốn chuyển đổi hình ảnh được chọn thành nút bấm bằng hình ảnh?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Thuộc tính Flash',
+		propertiesTab	: 'Thuộc tính',
+		title		: 'Thuộc tính Flash',
+		chkPlay		: 'Tự động chạy',
+		chkLoop		: 'Lặp',
+		chkMenu		: 'Cho phép bật Menu của Flash',
+		chkFull		: 'Cho phép Toàn màn hình',
+ 		scale		: 'Tỷ lệ',
+		scaleAll		: 'Hiển thị tất cả',
+		scaleNoBorder	: 'Không đường viền',
+		scaleFit		: 'Vừa vặn',
+		access			: 'Truy cập Mã',
+		accessAlways	: 'Luôn luôn',
+		accessSameDomain	: 'Cùng tên miền',
+		accessNever	: 'Không bao giờ',
+		align		: 'Vị trí',
+		alignLeft	: 'Trái',
+		alignAbsBottom: 'Dưới tuyệt đối',
+		alignAbsMiddle: 'Giữa tuyệt đối',
+		alignBaseline	: 'Đường cơ sở',
+		alignBottom	: 'Dưới',
+		alignMiddle	: 'Giữa',
+		alignRight	: 'Phải',
+		alignTextTop	: 'Phía trên chữ',
+		alignTop	: 'Trên',
+		quality		: 'Chất lượng',
+		qualityBest		 : 'TỐt nhất',
+		qualityHigh		 : 'Cao',
+		qualityAutoHigh	 : 'Cao Tự động',
+		qualityMedium	 : 'Trung bình',
+		qualityAutoLow	 : 'Thấp Tự động',
+		qualityLow		 : 'Thấp',
+		windowModeWindow	 : 'Cửa sổ',
+		windowModeOpaque	 : 'Mờ đục',
+		windowModeTransparent	 : 'Trong suốt',
+		windowMode	: 'Chế độ Cửa sổ',
+		flashvars	: 'Các biến số dành cho Flash',
+		bgcolor	: 'Màu nền',
+		width	: 'Rộng',
+		height	: 'Cao',
+		hSpace	: 'HSpace',
+		vSpace	: 'VSpace',
+		validateSrc : 'Hãy đưa vào Liên kết URL',
+		validateWidth : 'Chiều rộng phải là số nguyên.',
+		validateHeight : 'Chiều cao phải là số nguyên.',
+		validateHSpace : 'HSpace phải là số nguyên.',
+		validateVSpace : 'VSpace phải là số nguyên.'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: 'Kiểm tra Chính tả',
+		title			: 'Kiểm tra Chính tả',
+		notAvailable	: 'Xin lỗi, dịch vụ này hiện tại không có.',
+		errorLoading	: 'Lỗi khi đang nạp dịch vụ ứng dụng: %s.',
+		notInDic		: 'Không có trong từ điển',
+		changeTo		: 'Chuyển thành',
+		btnIgnore		: 'Bỏ qua',
+		btnIgnoreAll	: 'Bỏ qua Tất cả',
+		btnReplace		: 'Thay thế',
+		btnReplaceAll	: 'Thay thế Tất cả',
+		btnUndo			: 'Phục hồi lại',
+		noSuggestions	: '- Không đưa ra gợi ý về từ -',
+		progress		: 'Đang tiến hành kiểm tra chính tả...',
+		noMispell		: 'Hoàn tất kiểm tra chính tả: Không có lỗi chính tả',
+		noChanges		: 'Hoàn tất kiểm tra chính tả: Không có từ nào được thay đổi',
+		oneChange		: 'Hoàn tất kiểm tra chính tả: Một từ đã được thay đổi',
+		manyChanges		: 'Hoàn tất kiểm tra chính tả: %1 từ đã được thay đổi',
+		ieSpellDownload	: 'Chức năng kiểm tra chính tả chưa được cài đặt. Bạn có muốn tải về ngay bây giờ?'
+	},
+
+	smiley :
+	{
+		toolbar	: 'Hình biểu lộ cảm xúc (mặt cười)',
+		title	: 'Chèn Hình biểu lộ cảm xúc (mặt cười)'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 thành phần'
+	},
+
+	numberedlist : 'Danh sách có thứ tự',
+	bulletedlist : 'Danh sách không thứ tự',
+	indent : 'Dịch vào trong',
+	outdent : 'Dịch ra ngoài',
+
+	justify :
+	{
+		left : 'Canh trái',
+		center : 'Canh giữa',
+		right : 'Canh phải',
+		block : 'Canh đều'
+	},
+
+	blockquote : 'Khối Trích dẫn',
+
+	clipboard :
+	{
+		title		: 'Dán',
+		cutError	: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl+X).',
+		copyError	: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl+C).',
+		pasteMsg	: 'Hãy dán nội dung vào trong khung bên dưới, sử dụng tổ hợp phím (<STRONG>Ctrl+V</STRONG>) và nhấn vào nút <STRONG>Đồng ý</STRONG>.',
+		securityMsg	: 'Do thiết lập bảo mật của trình duyệt nên trình biên tập không thể truy cập trực tiếp vào nội dung đã sao chép. Bạn cần phải dán lại nội dung vào cửa sổ này.'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : 'Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?',
+		toolbar : 'Dán với định dạng Word',
+		title : 'Dán với định dạng Word',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : 'Dán theo định dạng văn bản thuần',
+		title : 'Dán theo định dạng văn bản thuần'
+	},
+
+	templates :
+	{
+		button : 'Mẫu dựng sẵn',
+		title : 'Nội dung Mẫu dựng sẵn',
+		insertOption: 'Thay thế nội dung hiện tại',
+		selectPromptMsg: 'Hãy chọn Mẫu dựng sẵn để mở trong trình biên tập<br>(nội dung hiện tại sẽ bị mất):',
+		emptyListMsg : '(Không có Mẫu dựng sẵn nào được định nghĩa)'
+	},
+
+	showBlocks : 'Hiển thị các Khối',
+
+	stylesCombo :
+	{
+		label : 'Kiểu',
+		voiceLabel : 'Kiểu',
+		panelVoiceLabel : 'Chọn một kiểu',
+		panelTitle1 : 'Kiểu Khối',
+		panelTitle2 : 'Kiểu Trực tiếp',
+		panelTitle3 : 'Kiểu Đối tượng'
+	},
+
+	format :
+	{
+		label : 'Định dạng',
+		voiceLabel : 'Định dạng',
+		panelTitle : 'Định dạng',
+		panelVoiceLabel : 'Chọn định dạng đoạn văn bản',
+
+		tag_p : 'Normal',
+		tag_pre : 'Formatted',
+		tag_address : 'Address',
+		tag_h1 : 'Heading 1',
+		tag_h2 : 'Heading 2',
+		tag_h3 : 'Heading 3',
+		tag_h4 : 'Heading 4',
+		tag_h5 : 'Heading 5',
+		tag_h6 : 'Heading 6',
+		tag_div : 'Normal (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : 'Phông',
+		voiceLabel : 'Phông',
+		panelTitle : 'Phông',
+		panelVoiceLabel : 'Chọn phông'
+	},
+
+	fontSize :
+	{
+		label : 'Cỡ chữ',
+		voiceLabel : 'Kích cỡ phông',
+		panelTitle : 'Cỡ chữ',
+		panelVoiceLabel : 'Chọn kích cỡ phông'
+	},
+
+	colorButton :
+	{
+		textColorTitle : 'Màu chữ',
+		bgColorTitle : 'Màu nền',
+		auto : 'Tự động',
+		more : 'Màu khác...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : 'Kiểm tra chính tả ngay khi gõ chữ (SCAYT)',
+		enable : 'Bật SCAYT',
+		disable : 'Tắt SCAYT',
+		about : 'Thông tin về SCAYT',
+		toggle : 'Bật tắt SCAYT',
+		options : 'Tùy chọn',
+		langs : 'Ngôn ngữ',
+		moreSuggestions : 'Đề xuất thêm',
+		ignore : 'Bỏ qua',
+		ignoreAll : 'Bỏ qua Tất cả',
+		addWord : 'Thêm Từ',
+		emptyDic : 'Tên của từ điển không được để trống.',
+		optionsTab : 'Tùy chọn',
+		languagesTab : 'Ngôn ngữ',
+		dictionariesTab : 'Từ điển',
+		aboutTab : 'Thông tin'
+	},
+
+	about :
+	{
+		title : 'Thông tin về CKEditor',
+		dlgTitle : 'Thông tin về CKEditor',
+		moreInfo : 'Vui lòng ghé thăm trang web của chúng tôi để có thông tin về giấy phép:',
+		copy : 'Bản quyền &copy; $1. Giữ toàn quyền.'
+	},
+
+	maximize : 'Phóng to tối đa',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : 'Neo',
+		flash : 'Hoạt họa Flash',
+		div : 'Ngắt Trang',
+		unknown : 'Đối tượng không rõ ràng'
+	},
+
+	resize : 'Kéo rê để thay đổi kích cỡ',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/zh-cn.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/zh-cn.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/zh-cn.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Chinese Simplified language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['zh-cn'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: '富文本编辑器, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: '源码',
+	newPage			: '新建',
+	save			: '保存',
+	preview			: '预览',
+	cut				: '剪切',
+	copy			: '复制',
+	paste			: '粘贴',
+	print			: '打印',
+	underline		: '下划线',
+	bold			: '加粗',
+	italic			: '倾斜',
+	selectAll		: '全选',
+	removeFormat	: '清除格式',
+	strike			: '删除线',
+	subscript		: '下标',
+	superscript		: '上标',
+	horizontalrule	: '插入水平线',
+	pagebreak		: '插入分页符',
+	unlink			: '取消超链接',
+	undo			: '撤消',
+	redo			: '重做',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: '浏览服务器',
+		url				: '源文件',
+		protocol		: '协议',
+		upload			: '上传',
+		uploadSubmit	: '发送到服务器上',
+		image			: '图象',
+		flash			: 'Flash',
+		form			: '表单',
+		checkbox		: '复选框',
+		radio		: '单选按钮',
+		textField		: '单行文本',
+		textarea		: '多行文本',
+		hiddenField		: '隐藏域',
+		button			: '按钮',
+		select	: '列表/菜单',
+		imageButton		: '图像域',
+		notSet			: '<没有设置>',
+		id				: 'ID',
+		name			: '名称',
+		langDir			: '语言方向',
+		langDirLtr		: '从左到右 (LTR)',
+		langDirRtl		: '从右到左 (RTL)',
+		langCode		: '语言代码',
+		longDescr		: '详细说明地址',
+		cssClass		: '样式类名称',
+		advisoryTitle	: '标题',
+		cssStyle		: '行内样式',
+		ok				: '确定',
+		cancel			: '取消',
+		generalTab		: '常规',
+		advancedTab		: '高级',
+		validateNumberFailed	: '需要输入数字格式',
+		confirmNewPage	: '当前文档内容未保存,是否确认新建文档？',
+		confirmCancel	: '部分选项尚未保存，是否确认关闭对话框？',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, 不可用</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: '插入特殊符号',
+		title		: '选择特殊符号'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: '插入/编辑超链接',
+		menu		: '编辑超链接',
+		title		: '超链接',
+		info		: '超链接信息',
+		target		: '目标',
+		upload		: '上传',
+		advanced	: '高级',
+		type		: '超链接类型',
+		toAnchor	: '页内锚点链接',
+		toEmail		: '电子邮件',
+		target		: '目标',
+		targetNotSet	: '<没有设置>',
+		targetFrame	: '<框架>',
+		targetPopup	: '<弹出窗口>',
+		targetNew	: '新窗口 (_blank)',
+		targetTop	: '整页 (_top)',
+		targetSelf	: '本窗口 (_self)',
+		targetParent	: '父窗口 (_parent)',
+		targetFrameName	: '目标框架名称',
+		targetPopupName	: '弹出窗口名称',
+		popupFeatures	: '弹出窗口属性',
+		popupResizable	: '可缩放',
+		popupStatusBar	: '状态栏',
+		popupLocationBar	: '地址栏',
+		popupToolbar	: '工具栏',
+		popupMenuBar	: '菜单栏',
+		popupFullScreen	: '全屏 (IE)',
+		popupScrollBars	: '滚动条',
+		popupDependent	: '依附 (NS)',
+		popupWidth		: '宽',
+		popupLeft		: '左',
+		popupHeight		: '高',
+		popupTop		: '右',
+		id				: 'ID',
+		langDir			: '语言方向',
+		langDirNotSet	: '<没有设置>',
+		langDirLTR		: '从左到右 (LTR)',
+		langDirRTL		: '从右到左 (RTL)',
+		acccessKey		: '访问键',
+		name			: '名称',
+		langCode		: '语言方向',
+		tabIndex		: 'Tab 键次序',
+		advisoryTitle	: '标题',
+		advisoryContentType	: '内容类型',
+		cssClasses		: '样式类名称',
+		charset			: '字符编码',
+		styles			: '行内样式',
+		selectAnchor	: '选择一个锚点',
+		anchorName		: '按锚点名称',
+		anchorId		: '按锚点 ID',
+		emailAddress	: '地址',
+		emailSubject	: '主题',
+		emailBody		: '内容',
+		noAnchors		: '(此文档没有可用的锚点)',
+		noUrl			: '请输入超链接地址',
+		noEmail			: '请输入电子邮件地址'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: '插入/编辑锚点链接',
+		menu		: '锚点链接属性',
+		title		: '锚点链接属性',
+		name		: '锚点名称',
+		errorName	: '请输入锚点名称'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: '查找和替换',
+		find				: '查找',
+		replace				: '替换',
+		findWhat			: '查找:',
+		replaceWith			: '替换:',
+		notFoundMsg			: '指定文本没有找到',
+		matchCase			: '区分大小写',
+		matchWord			: '全字匹配',
+		matchCyclic			: '循环匹配',
+		replaceAll			: '全部替换',
+		replaceSuccessMsg	: '共完成 %1 处替换.'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: '表格',
+		title		: '表格属性',
+		menu		: '表格属性',
+		deleteTable	: '删除表格',
+		rows		: '行数',
+		columns		: '列数',
+		border		: '边框',
+		align		: '对齐',
+		alignNotSet	: '<没有设置>',
+		alignLeft	: '左对齐',
+		alignCenter	: '居中',
+		alignRight	: '右对齐',
+		width		: '宽度',
+		widthPx		: '像素',
+		widthPc		: '百分比',
+		height		: '高度',
+		cellSpace	: '间距',
+		cellPad		: '边距',
+		caption		: '标题',
+		summary		: '摘要',
+		headers		: '标题单元格',
+		headersNone		: '无',
+		headersColumn	: '第一列',
+		headersRow		: '第一行',
+		headersBoth		: '第一列和第一行',
+		invalidRows		: '指定的列数必须大于零',
+		invalidCols		: '指定的行数必须大于零',
+		invalidBorder	: '边框粗细必须为数字格式',
+		invalidWidth	: '表格宽度必须为数字格式',
+		invalidHeight	: '表格高度必须为数字格式',
+		invalidCellSpacing	: '单元格间距必须为数字格式',
+		invalidCellPadding	: '单元格填充必须为数字格式',
+
+		cell :
+		{
+			menu			: '单元格',
+			insertBefore	: '在左侧插入单元格',
+			insertAfter		: '在右侧插入单元格',
+			deleteCell		: '删除单元格',
+			merge			: '合并单元格',
+			mergeRight		: '向右合并单元格',
+			mergeDown		: '向下合并单元格',
+			splitHorizontal	: '水平拆分单元格',
+			splitVertical	: '垂直拆分单元格',
+			title			: '单元格属性',
+			cellType		: '单元格类型',
+			rowSpan			: '行跨度',
+			colSpan			: '列跨度',
+			wordWrap		: '自动换行',
+			hAlign			: '水平对齐',
+			vAlign			: '垂直对齐',
+			alignTop		: '顶对齐',
+			alignMiddle		: '中对齐',
+			alignBottom		: '底对齐',
+			alignBaseline	: '基线对齐',
+			bgColor			: '背景颜色',
+			borderColor		: '边框颜色',
+			data			: '数据',
+			header			: '表头',
+			yes				: '是',
+			no				: '否',
+			invalidWidth	: '单元格宽度必须为数字格式',
+			invalidHeight	: '单元格高度必须为数字格式',
+			invalidRowSpan	: '行跨度必须为整数格式',
+			invalidColSpan	: '列跨度必须为整数格式',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: '行',
+			insertBefore	: '在上方插入行',
+			insertAfter		: '在下方插入行',
+			deleteRow		: '删除行'
+		},
+
+		column :
+		{
+			menu			: '列',
+			insertBefore	: '在左侧插入列',
+			insertAfter		: '在右侧插入列',
+			deleteColumn	: '删除列'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: '按钮属性',
+		text		: '标签(值)',
+		type		: '类型',
+		typeBtn		: '按钮',
+		typeSbm		: '提交',
+		typeRst		: '重设'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : '复选框属性',
+		radioTitle	: '单选按钮属性',
+		value		: '选定值',
+		selected	: '已勾选'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: '表单属性',
+		menu		: '表单属性',
+		action		: '动作',
+		method		: '方法',
+		encoding	: '表单编码',
+		target		: '目标',
+		targetNotSet	: '<没有设置>',
+		targetNew	: '新窗口 (_blank)',
+		targetTop	: '整页 (_top)',
+		targetSelf	: '本窗口 (_self)',
+		targetParent	: '父窗口 (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: '菜单/列表属性',
+		selectInfo	: '信息',
+		opAvail		: '列表值',
+		value		: '值',
+		size		: '高度',
+		lines		: '行',
+		chkMulti	: '允许多选',
+		opText		: '标签',
+		opValue		: '选定',
+		btnAdd		: '新增',
+		btnModify	: '修改',
+		btnUp		: '上移',
+		btnDown		: '下移',
+		btnSetValue : '设为初始化时选定',
+		btnDelete	: '删除'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: '多行文本属性',
+		cols		: '字符宽度',
+		rows		: '行数'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: '单行文本属性',
+		name		: '名称',
+		value		: '初始值',
+		charWidth	: '字符宽度',
+		maxChars	: '最多字符数',
+		type		: '类型',
+		typeText	: '文本',
+		typePass	: '密码'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: '隐藏域属性',
+		name	: '名称',
+		value	: '初始值'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: '图象属性',
+		titleButton	: '图像域属性',
+		menu		: '图象属性',
+		infoTab	: '图象',
+		btnUpload	: '发送到服务器上',
+		url		: '源文件',
+		upload	: '上传',
+		alt		: '替换文本',
+		width		: '宽度',
+		height	: '高度',
+		lockRatio	: '锁定比例',
+		resetSize	: '恢复尺寸',
+		border	: '边框大小',
+		hSpace	: '水平间距',
+		vSpace	: '垂直间距',
+		align		: '对齐方式',
+		alignLeft	: '左对齐',
+		alignRight	: '右对齐',
+		preview	: '预览',
+		alertUrl	: '请输入图象地址',
+		linkTab	: '链接',
+		button2Img	: '确定要把当前按钮改变为图像吗?',
+		img2Button	: '确定要把当前图像改变为按钮吗?',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash 属性',
+		propertiesTab	: '属性',
+		title		: '标题',
+		chkPlay		: '自动播放',
+		chkLoop		: '循环',
+		chkMenu		: '启用 Flash 菜单',
+		chkFull		: '启用全屏',
+ 		scale		: '缩放',
+		scaleAll		: '全部显示',
+		scaleNoBorder	: '无边框',
+		scaleFit		: '严格匹配',
+		access			: '允许脚本访问',
+		accessAlways	: '总是',
+		accessSameDomain	: '同域',
+		accessNever	: '从不',
+		align		: '对齐方式',
+		alignLeft	: '左对齐',
+		alignAbsBottom: '绝对底边',
+		alignAbsMiddle: '绝对居中',
+		alignBaseline	: '基线',
+		alignBottom	: '底边',
+		alignMiddle	: '居中',
+		alignRight	: '右对齐',
+		alignTextTop	: '文本上方',
+		alignTop	: '顶端',
+		quality		: '质量',
+		qualityBest		 : '最好',
+		qualityHigh		 : '高',
+		qualityAutoHigh	 : '高（自动）',
+		qualityMedium	 : '中（自动）',
+		qualityAutoLow	 : '低（自动）',
+		qualityLow		 : '低',
+		windowModeWindow	 : '窗体',
+		windowModeOpaque	 : '不透明',
+		windowModeTransparent	 : '透明',
+		windowMode	: '窗体模式',
+		flashvars	: 'Flash变量',
+		bgcolor	: '背景颜色',
+		width	: '宽度',
+		height	: '高度',
+		hSpace	: '水平间距',
+		vSpace	: '垂直间距',
+		validateSrc : '请输入超链接地址',
+		validateWidth : '宽度必须为数字格式',
+		validateHeight : '高度必须为数字格式',
+		validateHSpace : '水平间距必须为数字格式',
+		validateVSpace : '垂直间距必须为数字格式'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: '拼写检查',
+		title			: '拼写检查',
+		notAvailable	: '抱歉，服务目前暂不可用',
+		errorLoading	: '无法联系该应用的主机: %s.',
+		notInDic		: '没有在字典里',
+		changeTo		: '更改为',
+		btnIgnore		: '忽略',
+		btnIgnoreAll	: '全部忽略',
+		btnReplace		: '替换',
+		btnReplaceAll	: '全部替换',
+		btnUndo			: '撤消',
+		noSuggestions	: '- 没有建议 -',
+		progress		: '正在进行拼写检查...',
+		noMispell		: '拼写检查完成：没有发现拼写错误',
+		noChanges		: '拼写检查完成：没有更改任何单词',
+		oneChange		: '拼写检查完成：更改了一个单词',
+		manyChanges		: '拼写检查完成：更改了 %1 个单词',
+		ieSpellDownload	: '拼写检查插件还没安装，你是否想现在就下载？'
+	},
+
+	smiley :
+	{
+		toolbar	: '表情符',
+		title	: '插入表情图标'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 元素'
+	},
+
+	numberedlist : '编号列表',
+	bulletedlist : '项目列表',
+	indent : '增加缩进量',
+	outdent : '减少缩进量',
+
+	justify :
+	{
+		left : '左对齐',
+		center : '居中对齐',
+		right : '右对齐',
+		block : '两端对齐'
+	},
+
+	blockquote : '块引用',
+
+	clipboard :
+	{
+		title		: '粘贴',
+		cutError	: '您的浏览器安全设置不允许编辑器自动执行剪切操作，请使用键盘快捷键(Ctrl+X)来完成',
+		copyError	: '您的浏览器安全设置不允许编辑器自动执行复制操作，请使用键盘快捷键(Ctrl+C)来完成',
+		pasteMsg	: '请使用键盘快捷键(<STRONG>Ctrl+V</STRONG>)把内容粘贴到下面的方框里，再按 <STRONG>确定</STRONG>',
+		securityMsg	: '因为你的浏览器的安全设置原因，本编辑器不能直接访问你的剪贴板内容，你需要在本窗口重新粘贴一次'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : '您要粘贴的内容好像是来自 MS Word，是否要清除 MS Word 格式后再粘贴？',
+		toolbar : '从 MS Word 粘贴',
+		title : '从 MS Word 粘贴',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : '粘贴为无格式文本',
+		title : '粘贴为无格式文本'
+	},
+
+	templates :
+	{
+		button : '模板',
+		title : '内容模板',
+		insertOption: '替换当前内容',
+		selectPromptMsg: '请选择编辑器内容模板:',
+		emptyListMsg : '(没有模板)'
+	},
+
+	showBlocks : '显示区块',
+
+	stylesCombo :
+	{
+		label : '样式',
+		voiceLabel : '样式',
+		panelVoiceLabel : '选择样式',
+		panelTitle1 : '块级元素样式',
+		panelTitle2 : '内联元素样式',
+		panelTitle3 : '对象元素样式'
+	},
+
+	format :
+	{
+		label : '格式',
+		voiceLabel : '格式',
+		panelTitle : '格式',
+		panelVoiceLabel : '选择格式',
+
+		tag_p : '普通',
+		tag_pre : '已编排格式',
+		tag_address : '地址',
+		tag_h1 : '标题 1',
+		tag_h2 : '标题 2',
+		tag_h3 : '标题 3',
+		tag_h4 : '标题 4',
+		tag_h5 : '标题 5',
+		tag_h6 : '标题 6',
+		tag_div : '段落(DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : '字体',
+		voiceLabel : '字体',
+		panelTitle : '字体',
+		panelVoiceLabel : '选择字体'
+	},
+
+	fontSize :
+	{
+		label : '大小',
+		voiceLabel : '文字大小',
+		panelTitle : '大小',
+		panelVoiceLabel : '选择文字大小'
+	},
+
+	colorButton :
+	{
+		textColorTitle : '文本颜色',
+		bgColorTitle : '背景颜色',
+		auto : '自动',
+		more : '其它颜色...'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : '即时拼写检查',
+		enable : '启用即时拼写检查',
+		disable : '禁用即时拼写检查',
+		about : '关于即时拼写检查',
+		toggle : '暂停/启用即时拼写检查',
+		options : '选项',
+		langs : '语言',
+		moreSuggestions : '更多拼写建议',
+		ignore : '忽略',
+		ignoreAll : '全部忽略',
+		addWord : '添加单词',
+		emptyDic : '字典名不应为空.',
+		optionsTab : '选项',
+		languagesTab : '语言',
+		dictionariesTab : '字典',
+		aboutTab : '关于'
+	},
+
+	about :
+	{
+		title : '关于CKEditor',
+		dlgTitle : '关于CKEditor',
+		moreInfo : '访问我们的网站以获取更多关于协议的信息',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : '全屏',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : '锚点',
+		flash : 'Flash',
+		div : '分页',
+		unknown : '位置对象'
+	},
+
+	resize : '拖拽以改变尺寸',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/lang/zh.js
===================================================================
--- CKEditor/branches/features/aria/_source/lang/zh.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/lang/zh.js	(revision 4888)
@@ -0,0 +1,697 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Chinese Traditional language.
+ */
+
+/**#@+
+   @type String
+   @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['zh'] =
+{
+	/**
+	 * The language reading direction. Possible values are "rtl" for
+	 * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+	 * languages (like English).
+	 * @default 'ltr'
+	 */
+	dir : 'ltr',
+
+	/*
+	 * Screenreader titles. Please note that screenreaders are not always capable
+	 * of reading non-English words. So be careful while translating it.
+	 */
+	editorTitle		: '文書處理器, %1',
+
+	// Toolbar buttons without dialogs.
+	source			: '原始碼',
+	newPage			: '開新檔案',
+	save			: '儲存',
+	preview			: '預覽',
+	cut				: '剪下',
+	copy			: '複製',
+	paste			: '貼上',
+	print			: '列印',
+	underline		: '底線',
+	bold			: '粗體',
+	italic			: '斜體',
+	selectAll		: '全選',
+	removeFormat	: '清除格式',
+	strike			: '刪除線',
+	subscript		: '下標',
+	superscript		: '上標',
+	horizontalrule	: '插入水平線',
+	pagebreak		: '插入分頁符號',
+	unlink			: '移除超連結',
+	undo			: '復原',
+	redo			: '重複',
+
+	// Common messages and labels.
+	common :
+	{
+		browseServer	: '瀏覽伺服器端',
+		url				: 'URL',
+		protocol		: '通訊協定',
+		upload			: '上傳',
+		uploadSubmit	: '上傳至伺服器',
+		image			: '影像',
+		flash			: 'Flash',
+		form			: '表單',
+		checkbox		: '核取方塊',
+		radio		: '選項按鈕',
+		textField		: '文字方塊',
+		textarea		: '文字區域',
+		hiddenField		: '隱藏欄位',
+		button			: '按鈕',
+		select	: '清單/選單',
+		imageButton		: '影像按鈕',
+		notSet			: '<尚未設定>',
+		id				: 'ID',
+		name			: '名稱',
+		langDir			: '語言方向',
+		langDirLtr		: '由左而右 (LTR)',
+		langDirRtl		: '由右而左 (RTL)',
+		langCode		: '語言代碼',
+		longDescr		: '詳細 URL',
+		cssClass		: '樣式表類別',
+		advisoryTitle	: '標題',
+		cssStyle		: '樣式',
+		ok				: '確定',
+		cancel			: '取消',
+		generalTab		: '一般',
+		advancedTab		: '進階',
+		validateNumberFailed	: '需要輸入數字格式',
+		confirmNewPage	: '現存的修改尚未儲存，要開新檔案？',
+		confirmCancel	: '部份選項尚未儲存，要關閉對話盒？',
+
+		// Put the voice-only part of the label in the span.
+		unavailable		: '%1<span class="cke_accessibility">, 已關閉</span>'
+	},
+
+	// Special char dialog.
+	specialChar		:
+	{
+		toolbar		: '插入特殊符號',
+		title		: '請選擇特殊符號'
+	},
+
+	// Link dialog.
+	link :
+	{
+		toolbar		: '插入/編輯超連結',
+		menu		: '編輯超連結',
+		title		: '超連結',
+		info		: '超連結資訊',
+		target		: '目標',
+		upload		: '上傳',
+		advanced	: '進階',
+		type		: '超連接類型',
+		toAnchor	: '本頁錨點',
+		toEmail		: '電子郵件',
+		target		: '目標',
+		targetNotSet	: '<尚未設定>',
+		targetFrame	: '<框架>',
+		targetPopup	: '<快顯視窗>',
+		targetNew	: '新視窗 (_blank)',
+		targetTop	: '最上層視窗 (_top)',
+		targetSelf	: '本視窗 (_self)',
+		targetParent	: '父視窗 (_parent)',
+		targetFrameName	: '目標框架名稱',
+		targetPopupName	: '快顯視窗名稱',
+		popupFeatures	: '快顯視窗屬性',
+		popupResizable	: '可縮放',
+		popupStatusBar	: '狀態列',
+		popupLocationBar	: '網址列',
+		popupToolbar	: '工具列',
+		popupMenuBar	: '選單列',
+		popupFullScreen	: '全螢幕 (IE)',
+		popupScrollBars	: '捲軸',
+		popupDependent	: '從屬 (NS)',
+		popupWidth		: '寬',
+		popupLeft		: '左',
+		popupHeight		: '高',
+		popupTop		: '右',
+		id				: 'ID',
+		langDir			: '語言方向',
+		langDirNotSet	: '<尚未設定>',
+		langDirLTR		: '由左而右 (LTR)',
+		langDirRTL		: '由右而左 (RTL)',
+		acccessKey		: '存取鍵',
+		name			: '名稱',
+		langCode		: '語言方向',
+		tabIndex		: '定位順序',
+		advisoryTitle	: '標題',
+		advisoryContentType	: '內容類型',
+		cssClasses		: '樣式表類別',
+		charset			: '連結資源之編碼',
+		styles			: '樣式',
+		selectAnchor	: '請選擇錨點',
+		anchorName		: '依錨點名稱',
+		anchorId		: '依元件 ID',
+		emailAddress	: '電子郵件',
+		emailSubject	: '郵件主旨',
+		emailBody		: '郵件內容',
+		noAnchors		: '(本文件尚無可用之錨點)',
+		noUrl			: '請輸入欲連結的 URL',
+		noEmail			: '請輸入電子郵件位址'
+	},
+
+	// Anchor dialog
+	anchor :
+	{
+		toolbar		: '插入/編輯錨點',
+		menu		: '錨點屬性',
+		title		: '錨點屬性',
+		name		: '錨點名稱',
+		errorName	: '請輸入錨點名稱'
+	},
+
+	// Find And Replace Dialog
+	findAndReplace :
+	{
+		title				: '尋找與取代',
+		find				: '尋找',
+		replace				: '取代',
+		findWhat			: '尋找:',
+		replaceWith			: '取代:',
+		notFoundMsg			: '未找到指定的文字。',
+		matchCase			: '大小寫須相符',
+		matchWord			: '全字相符',
+		matchCyclic			: '循環搜索',
+		replaceAll			: '全部取代',
+		replaceSuccessMsg	: '共完成 %1 次取代'
+	},
+
+	// Table Dialog
+	table :
+	{
+		toolbar		: '表格',
+		title		: '表格屬性',
+		menu		: '表格屬性',
+		deleteTable	: '刪除表格',
+		rows		: '列數',
+		columns		: '欄數',
+		border		: '邊框',
+		align		: '對齊',
+		alignNotSet	: '<未設定>',
+		alignLeft	: '靠左對齊',
+		alignCenter	: '置中',
+		alignRight	: '靠右對齊',
+		width		: '寬度',
+		widthPx		: '像素',
+		widthPc		: '百分比',
+		height		: '高度',
+		cellSpace	: '間距',
+		cellPad		: '內距',
+		caption		: '標題',
+		summary		: '摘要',
+		headers		: '標題',
+		headersNone		: '無標題',
+		headersColumn	: '第一欄',
+		headersRow		: '第一列',
+		headersBoth		: '第一欄和第一列',
+		invalidRows		: '必須有一或更多的列',
+		invalidCols		: '必須有一或更多的欄',
+		invalidBorder	: '邊框大小必須為數字格式',
+		invalidWidth	: '表格寬度必須為數字格式',
+		invalidHeight	: '表格高度必須為數字格式',
+		invalidCellSpacing	: '儲存格間距必須為數字格式',
+		invalidCellPadding	: '儲存格內距必須為數字格式',
+
+		cell :
+		{
+			menu			: '儲存格',
+			insertBefore	: '向左插入儲存格',
+			insertAfter		: '向右插入儲存格',
+			deleteCell		: '刪除儲存格',
+			merge			: '合併儲存格',
+			mergeRight		: '向右合併儲存格',
+			mergeDown		: '向下合併儲存格',
+			splitHorizontal	: '橫向分割儲存格',
+			splitVertical	: '縱向分割儲存格',
+			title			: '儲存格屬性',
+			cellType		: '儲存格類別',
+			rowSpan			: '儲存格列數',
+			colSpan			: '儲存格欄數',
+			wordWrap		: '自動換行',
+			hAlign			: '水平對齊',
+			vAlign			: '垂直對齊',
+			alignTop		: '向上對齊',
+			alignMiddle		: '置中對齊',
+			alignBottom		: '向下對齊',
+			alignBaseline	: '基線對齊',
+			bgColor			: '背景顏色',
+			borderColor		: '邊框顏色',
+			data			: '數據',
+			header			: '標題',
+			yes				: '是',
+			no				: '否',
+			invalidWidth	: '儲存格寬度必須為數字格式',
+			invalidHeight	: '儲存格高度必須為數字格式',
+			invalidRowSpan	: '儲存格列數必須為整數格式',
+			invalidColSpan	: '儲存格欄數度必須為整數格式',
+			chooseColor : 'Choose' // MISSING
+		},
+
+		row :
+		{
+			menu			: '列',
+			insertBefore	: '向上插入列',
+			insertAfter		: '向下插入列',
+			deleteRow		: '刪除列'
+		},
+
+		column :
+		{
+			menu			: '欄',
+			insertBefore	: '向左插入欄',
+			insertAfter		: '向右插入欄',
+			deleteColumn	: '刪除欄'
+		}
+	},
+
+	// Button Dialog.
+	button :
+	{
+		title		: '按鈕屬性',
+		text		: '顯示文字 (值)',
+		type		: '類型',
+		typeBtn		: '按鈕 (Button)',
+		typeSbm		: '送出 (Submit)',
+		typeRst		: '重設 (Reset)'
+	},
+
+	// Checkbox and Radio Button Dialogs.
+	checkboxAndRadio :
+	{
+		checkboxTitle : '核取方塊屬性',
+		radioTitle	: '選項按鈕屬性',
+		value		: '選取值',
+		selected	: '已選取'
+	},
+
+	// Form Dialog.
+	form :
+	{
+		title		: '表單屬性',
+		menu		: '表單屬性',
+		action		: '動作',
+		method		: '方法',
+		encoding	: '表單編碼',
+		target		: '目標',
+		targetNotSet	: '<尚未設定>',
+		targetNew	: '新視窗 (_blank)',
+		targetTop	: '最上層視窗 (_top)',
+		targetSelf	: '本視窗 (_self)',
+		targetParent	: '父視窗 (_parent)'
+	},
+
+	// Select Field Dialog.
+	select :
+	{
+		title		: '清單/選單屬性',
+		selectInfo	: '資訊',
+		opAvail		: '可用選項',
+		value		: '值',
+		size		: '大小',
+		lines		: '行',
+		chkMulti	: '可多選',
+		opText		: '顯示文字',
+		opValue		: '選取值',
+		btnAdd		: '新增',
+		btnModify	: '修改',
+		btnUp		: '上移',
+		btnDown		: '下移',
+		btnSetValue : '設為預設值',
+		btnDelete	: '刪除'
+	},
+
+	// Textarea Dialog.
+	textarea :
+	{
+		title		: '文字區域屬性',
+		cols		: '字元寬度',
+		rows		: '列數'
+	},
+
+	// Text Field Dialog.
+	textfield :
+	{
+		title		: '文字方塊屬性',
+		name		: '名稱',
+		value		: '值',
+		charWidth	: '字元寬度',
+		maxChars	: '最多字元數',
+		type		: '類型',
+		typeText	: '文字',
+		typePass	: '密碼'
+	},
+
+	// Hidden Field Dialog.
+	hidden :
+	{
+		title	: '隱藏欄位屬性',
+		name	: '名稱',
+		value	: '值'
+	},
+
+	// Image Dialog.
+	image :
+	{
+		title		: '影像屬性',
+		titleButton	: '影像按鈕屬性',
+		menu		: '影像屬性',
+		infoTab	: '影像資訊',
+		btnUpload	: '上傳至伺服器',
+		url		: 'URL',
+		upload	: '上傳',
+		alt		: '替代文字',
+		width		: '寬度',
+		height	: '高度',
+		lockRatio	: '等比例',
+		resetSize	: '重設為原大小',
+		border	: '邊框',
+		hSpace	: '水平距離',
+		vSpace	: '垂直距離',
+		align		: '對齊',
+		alignLeft	: '靠左對齊',
+		alignRight	: '靠右對齊',
+		preview	: '預覽',
+		alertUrl	: '請輸入影像 URL',
+		linkTab	: '超連結',
+		button2Img	: '要把影像按鈕改成影像嗎？',
+		img2Button	: '要把影像改成影像按鈕嗎？',
+		urlMissing : 'Image source URL is missing.' // MISSING
+	},
+
+	// Flash Dialog
+	flash :
+	{
+		properties		: 'Flash 屬性',
+		propertiesTab	: '屬性',
+		title		: 'Flash 屬性',
+		chkPlay		: '自動播放',
+		chkLoop		: '重複',
+		chkMenu		: '開啟選單',
+		chkFull		: '啟動全螢幕顯示',
+ 		scale		: '縮放',
+		scaleAll		: '全部顯示',
+		scaleNoBorder	: '無邊框',
+		scaleFit		: '精確符合',
+		access			: '允許腳本訪問',
+		accessAlways	: '永遠',
+		accessSameDomain	: '相同域名',
+		accessNever	: '永不',
+		align		: '對齊',
+		alignLeft	: '靠左對齊',
+		alignAbsBottom: '絕對下方',
+		alignAbsMiddle: '絕對中間',
+		alignBaseline	: '基準線',
+		alignBottom	: '靠下對齊',
+		alignMiddle	: '置中對齊',
+		alignRight	: '靠右對齊',
+		alignTextTop	: '文字上方',
+		alignTop	: '靠上對齊',
+		quality		: '質素',
+		qualityBest		 : '最好',
+		qualityHigh		 : '高',
+		qualityAutoHigh	 : '高（自動）',
+		qualityMedium	 : '中（自動）',
+		qualityAutoLow	 : '低（自動）',
+		qualityLow		 : '低',
+		windowModeWindow	 : '視窗',
+		windowModeOpaque	 : '不透明',
+		windowModeTransparent	 : '透明',
+		windowMode	: '視窗模式',
+		flashvars	: 'Flash 變數',
+		bgcolor	: '背景顏色',
+		width	: '寬度',
+		height	: '高度',
+		hSpace	: '水平距離',
+		vSpace	: '垂直距離',
+		validateSrc : '請輸入欲連結的 URL',
+		validateWidth : '寬度必須為數字格式',
+		validateHeight : '高度必須為數字格式',
+		validateHSpace : '水平間距必須為數字格式',
+		validateVSpace : '垂直間距必須為數字格式'
+	},
+
+	// Speller Pages Dialog
+	spellCheck :
+	{
+		toolbar			: '拼字檢查',
+		title			: '拼字檢查',
+		notAvailable	: '抱歉，服務目前暫不可用',
+		errorLoading	: '無法聯系侍服器: %s.',
+		notInDic		: '不在字典中',
+		changeTo		: '更改為',
+		btnIgnore		: '忽略',
+		btnIgnoreAll	: '全部忽略',
+		btnReplace		: '取代',
+		btnReplaceAll	: '全部取代',
+		btnUndo			: '復原',
+		noSuggestions	: '- 無建議值 -',
+		progress		: '進行拼字檢查中…',
+		noMispell		: '拼字檢查完成：未發現拼字錯誤',
+		noChanges		: '拼字檢查完成：未更改任何單字',
+		oneChange		: '拼字檢查完成：更改了 1 個單字',
+		manyChanges		: '拼字檢查完成：更改了 %1 個單字',
+		ieSpellDownload	: '尚未安裝拼字檢查元件。您是否想要現在下載？'
+	},
+
+	smiley :
+	{
+		toolbar	: '表情符號',
+		title	: '插入表情符號'
+	},
+
+	elementsPath :
+	{
+		eleTitle : '%1 元素'
+	},
+
+	numberedlist : '編號清單',
+	bulletedlist : '項目清單',
+	indent : '增加縮排',
+	outdent : '減少縮排',
+
+	justify :
+	{
+		left : '靠左對齊',
+		center : '置中',
+		right : '靠右對齊',
+		block : '左右對齊'
+	},
+
+	blockquote : '引用文字',
+
+	clipboard :
+	{
+		title		: '貼上',
+		cutError	: '瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl+X) 剪下。',
+		copyError	: '瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl+C) 複製。',
+		pasteMsg	: '請使用快捷鍵 (<strong>Ctrl+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>',
+		securityMsg	: '因為瀏覽器的安全性設定，本編輯器無法直接存取您的剪貼簿資料，請您自行在本視窗進行貼上動作。'
+	},
+
+	pastefromword :
+	{
+		confirmCleanup : '您想貼上的文字似乎是自 Word 複製而來，請問您是否要先清除 Word 的格式後再行貼上？',
+		toolbar : '自 Word 貼上',
+		title : '自 Word 貼上',
+		error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+	},
+
+	pasteText :
+	{
+		button : '貼為純文字格式',
+		title : '貼為純文字格式'
+	},
+
+	templates :
+	{
+		button : '樣版',
+		title : '內容樣版',
+		insertOption: '取代原有內容',
+		selectPromptMsg: '請選擇欲開啟的樣版<br> (原有的內容將會被清除):',
+		emptyListMsg : '(無樣版)'
+	},
+
+	showBlocks : '顯示區塊',
+
+	stylesCombo :
+	{
+		label : '樣式',
+		voiceLabel : '樣式',
+		panelVoiceLabel : '選擇樣式',
+		panelTitle1 : '塊級元素樣式',
+		panelTitle2 : '內聯元素樣式',
+		panelTitle3 : '物件元素樣式'
+	},
+
+	format :
+	{
+		label : '格式',
+		voiceLabel : '格式',
+		panelTitle : '格式',
+		panelVoiceLabel : '選擇段落格式',
+
+		tag_p : '一般',
+		tag_pre : '已格式化',
+		tag_address : '位址',
+		tag_h1 : '標題 1',
+		tag_h2 : '標題 2',
+		tag_h3 : '標題 3',
+		tag_h4 : '標題 4',
+		tag_h5 : '標題 5',
+		tag_h6 : '標題 6',
+		tag_div : '一般 (DIV)'
+	},
+
+	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
+  	},
+
+	font :
+	{
+		label : '字體',
+		voiceLabel : '字體',
+		panelTitle : '字體',
+		panelVoiceLabel : '選擇字體'
+	},
+
+	fontSize :
+	{
+		label : '大小',
+		voiceLabel : '文字大小',
+		panelTitle : '大小',
+		panelVoiceLabel : '選擇文字大小'
+	},
+
+	colorButton :
+	{
+		textColorTitle : '文字顏色',
+		bgColorTitle : '背景顏色',
+		auto : '自動',
+		more : '更多顏色…'
+	},
+
+	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' : 'Dim 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' : 'Dark 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
+	},
+
+	scayt :
+	{
+		title : '即時拼寫檢查',
+		enable : '啟用即時拼寫檢查',
+		disable : '關閉即時拼寫檢查',
+		about : '關於即時拼寫檢查',
+		toggle : '啟用／關閉即時拼寫檢查',
+		options : '選項',
+		langs : '語言',
+		moreSuggestions : '更多拼寫建議',
+		ignore : '忽略',
+		ignoreAll : '全部忽略',
+		addWord : '添加單詞',
+		emptyDic : '字典名不應為空.',
+		optionsTab : '選項',
+		languagesTab : '語言',
+		dictionariesTab : '字典',
+		aboutTab : '關於'
+	},
+
+	about :
+	{
+		title : '關於 CKEditor',
+		dlgTitle : '關於 CKEditor',
+		moreInfo : '訪問我們的網站以獲取更多關於協議的信息',
+		copy : 'Copyright &copy; $1. All rights reserved.'
+	},
+
+	maximize : '最大化',
+	minimize : 'Minimize', // MISSING
+
+	fakeobjects :
+	{
+		anchor : '錨點',
+		flash : 'Flash 動畫',
+		div : '分頁',
+		unknown : '不明物件'
+	},
+
+	resize : '拖拽改變大小',
+
+	colordialog :
+	{
+		title : 'Select color', // MISSING
+		highlight : 'Highlight', // MISSING
+		selected : 'Selected', // MISSING
+		clear : 'Clear' // MISSING
+	},
+
+	toolbarCollapse : 'Collapse Toolbar', // MISSING
+	toolbarExpand : 'Expand Toolbar' // MISSING
+};
Index: CKEditor/branches/features/aria/_source/plugins/about/dialogs/about.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/about/dialogs/about.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/about/dialogs/about.js	(revision 4888)
@@ -0,0 +1,73 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'about', function( editor )
+{
+	var lang = editor.lang.about;
+
+	return {
+		title : CKEDITOR.env.ie ? lang.dlgTitle : lang.title,
+		minWidth : 390,
+		minHeight : 230,
+		contents : [
+			{
+				id : 'tab1',
+				label : '',
+				title : '',
+				expand : true,
+				padding : 0,
+				elements :
+				[
+					{
+						type : 'html',
+						html :
+							'<style type="text/css">' +
+								'.cke_about_container' +
+								'{' +
+									'color:#000 !important;' +
+									'padding:10px 10px 0;' +
+									'margin-top:5px' +
+								'}' +
+								'.cke_about_container p' +
+								'{' +
+									'margin: 0 0 10px;' +
+								'}' +
+								'.cke_about_container .cke_about_logo' +
+								'{' +
+									'height:81px;' +
+									'background-color:#fff;' +
+									'background-image:url(' + CKEDITOR.plugins.get( 'about' ).path + 'dialogs/logo_ckeditor.png);' +
+									'background-position:center; ' +
+									'background-repeat:no-repeat;' +
+									'margin-bottom:10px;' +
+								'}' +
+								'.cke_about_container a' +
+								'{' +
+									'cursor:pointer !important;' +
+									'color:blue !important;' +
+									'text-decoration:underline !important;' +
+								'}' +
+							'</style>' +
+							'<div class="cke_about_container">' +
+								'<div class="cke_about_logo"></div>' +
+								'<p>' +
+									'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')<br>' +
+									'<a href="http://ckeditor.com/">http://ckeditor.com</a>' +
+								'</p>' +
+								'<p>' +
+									lang.moreInfo + '<br>' +
+									'<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>' +
+								'</p>' +
+								'<p>' +
+									lang.copy.replace( '$1', '<a href="http://cksource.com/">CKSource</a> - Frederico Knabben' ) +
+								'</p>' +
+							'</div>'
+					}
+				]
+			}
+		],
+		buttons : [ CKEDITOR.dialog.cancelButton ]
+	};
+} );
Index: CKEditor/branches/features/aria/_source/plugins/about/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/about/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/about/plugin.js	(revision 4888)
@@ -0,0 +1,22 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'about',
+{
+	init : function( editor )
+	{
+		var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
+		command.modes = { wysiwyg:1, source:1 };
+		command.canUndo = false;
+
+		editor.ui.addButton( 'About',
+			{
+				label : editor.lang.about.title,
+				command : 'about'
+			});
+
+		CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/basicstyles/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/basicstyles/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/basicstyles/plugin.js	(revision 4888)
@@ -0,0 +1,50 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'basicstyles',
+{
+	requires : [ 'styles', 'button' ],
+
+	init : function( editor )
+	{
+		// All buttons use the same code to register. So, to avoid
+		// duplications, let's use this tool function.
+		var addButtonCommand = function( buttonName, buttonLabel, commandName, styleDefiniton )
+		{
+			var style = new CKEDITOR.style( styleDefiniton );
+
+			editor.attachStyleStateChange( style, function( state )
+				{
+					editor.getCommand( commandName ).setState( state );
+				});
+
+			editor.addCommand( commandName, new CKEDITOR.styleCommand( style ) );
+
+			editor.ui.addButton( buttonName,
+				{
+					label : buttonLabel,
+					command : commandName
+				});
+		};
+
+		var config = editor.config;
+		var lang = editor.lang;
+
+		addButtonCommand( 'Bold'		, lang.bold			, 'bold'		, config.coreStyles_bold );
+		addButtonCommand( 'Italic'		, lang.italic		, 'italic'		, config.coreStyles_italic );
+		addButtonCommand( 'Underline'	, lang.underline	, 'underline'	, config.coreStyles_underline );
+		addButtonCommand( 'Strike'		, lang.strike		, 'strike'		, config.coreStyles_strike );
+		addButtonCommand( 'Subscript'	, lang.subscript	, 'subscript'	, config.coreStyles_subscript );
+		addButtonCommand( 'Superscript'	, lang.superscript	, 'superscript'	, config.coreStyles_superscript );
+	}
+});
+
+// Basic Inline Styles.
+CKEDITOR.config.coreStyles_bold			= { element : 'strong', overrides : 'b' };
+CKEDITOR.config.coreStyles_italic		= { element : 'em', overrides : 'i' };
+CKEDITOR.config.coreStyles_underline	= { element : 'u' };
+CKEDITOR.config.coreStyles_strike		= { element : 'strike' };
+CKEDITOR.config.coreStyles_subscript	= { element : 'sub' };
+CKEDITOR.config.coreStyles_superscript	= { element : 'sup' };
Index: CKEditor/branches/features/aria/_source/plugins/blockquote/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/blockquote/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/blockquote/plugin.js	(revision 4888)
@@ -0,0 +1,301 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Blockquote.
+ */
+
+(function()
+{
+	function getState( editor, path )
+	{
+		var firstBlock = path.block || path.blockLimit;
+
+		if ( !firstBlock || firstBlock.getName() == 'body' )
+			return CKEDITOR.TRISTATE_OFF;
+
+		// See if the first block has a blockquote parent.
+		if ( firstBlock.getAscendant( 'blockquote', true ) )
+			return CKEDITOR.TRISTATE_ON;
+
+		return CKEDITOR.TRISTATE_OFF;
+	}
+
+	function onSelectionChange( evt )
+	{
+		var editor = evt.editor,
+			command = editor.getCommand( 'blockquote' );
+		command.state = getState( editor, evt.data.path );
+		command.fire( 'state' );
+	}
+
+	function noBlockLeft( bqBlock )
+	{
+		for ( var i = 0, length = bqBlock.getChildCount(), child ; i < length && ( child = bqBlock.getChild( i ) ) ; i++ )
+		{
+			if ( child.type == CKEDITOR.NODE_ELEMENT && child.isBlockBoundary() )
+				return false;
+		}
+		return true;
+	}
+
+	var commandObject =
+	{
+		exec : function( editor )
+		{
+			var state = editor.getCommand( 'blockquote' ).state,
+				selection = editor.getSelection(),
+				range = selection && selection.getRanges()[0];
+
+			if ( !range )
+				return;
+
+			var bookmarks = selection.createBookmarks();
+
+			// Kludge for #1592: if the bookmark nodes are in the beginning of
+			// blockquote, then move them to the nearest block element in the
+			// blockquote.
+			if ( CKEDITOR.env.ie )
+			{
+				var bookmarkStart = bookmarks[0].startNode,
+					bookmarkEnd = bookmarks[0].endNode,
+					cursor;
+
+				if ( bookmarkStart && bookmarkStart.getParent().getName() == 'blockquote' )
+				{
+					cursor = bookmarkStart;
+					while ( ( cursor = cursor.getNext() ) )
+					{
+						if ( cursor.type == CKEDITOR.NODE_ELEMENT &&
+								cursor.isBlockBoundary() )
+						{
+							bookmarkStart.move( cursor, true );
+							break;
+						}
+					}
+				}
+
+				if ( bookmarkEnd
+						&& bookmarkEnd.getParent().getName() == 'blockquote' )
+				{
+					cursor = bookmarkEnd;
+					while ( ( cursor = cursor.getPrevious() ) )
+					{
+						if ( cursor.type == CKEDITOR.NODE_ELEMENT &&
+								cursor.isBlockBoundary() )
+						{
+							bookmarkEnd.move( cursor );
+							break;
+						}
+					}
+				}
+			}
+
+			var iterator = range.createIterator(),
+				block;
+
+			if ( state == CKEDITOR.TRISTATE_OFF )
+			{
+				var paragraphs = [];
+				while ( ( block = iterator.getNextParagraph() ) )
+					paragraphs.push( block );
+
+				// If no paragraphs, create one from the current selection position.
+				if ( paragraphs.length < 1 )
+				{
+					var para = editor.document.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ),
+						firstBookmark = bookmarks.shift();
+					range.insertNode( para );
+					para.append( new CKEDITOR.dom.text( '\ufeff', editor.document ) );
+					range.moveToBookmark( firstBookmark );
+					range.selectNodeContents( para );
+					range.collapse( true );
+					firstBookmark = range.createBookmark();
+					paragraphs.push( para );
+					bookmarks.unshift( firstBookmark );
+				}
+
+				// Make sure all paragraphs have the same parent.
+				var commonParent = paragraphs[0].getParent(),
+					tmp = [];
+				for ( var i = 0 ; i < paragraphs.length ; i++ )
+				{
+					block = paragraphs[i];
+					commonParent = commonParent.getCommonAncestor( block.getParent() );
+				}
+
+				// The common parent must not be the following tags: table, tbody, tr, ol, ul.
+				var denyTags = { table : 1, tbody : 1, tr : 1, ol : 1, ul : 1 };
+				while ( denyTags[ commonParent.getName() ] )
+					commonParent = commonParent.getParent();
+
+				// Reconstruct the block list to be processed such that all resulting blocks
+				// satisfy parentNode.equals( commonParent ).
+				var lastBlock = null;
+				while ( paragraphs.length > 0 )
+				{
+					block = paragraphs.shift();
+					while ( !block.getParent().equals( commonParent ) )
+						block = block.getParent();
+					if ( !block.equals( lastBlock ) )
+						tmp.push( block );
+					lastBlock = block;
+				}
+
+				// If any of the selected blocks is a blockquote, remove it to prevent
+				// nested blockquotes.
+				while ( tmp.length > 0 )
+				{
+					block = tmp.shift();
+					if ( block.getName() == 'blockquote' )
+					{
+						var docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+						while ( block.getFirst() )
+						{
+							docFrag.append( block.getFirst().remove() );
+							paragraphs.push( docFrag.getLast() );
+						}
+
+						docFrag.replace( block );
+					}
+					else
+						paragraphs.push( block );
+				}
+
+				// Now we have all the blocks to be included in a new blockquote node.
+				var bqBlock = editor.document.createElement( 'blockquote' );
+				bqBlock.insertBefore( paragraphs[0] );
+				while ( paragraphs.length > 0 )
+				{
+					block = paragraphs.shift();
+					bqBlock.append( block );
+				}
+			}
+			else if ( state == CKEDITOR.TRISTATE_ON )
+			{
+				var moveOutNodes = [],
+					database = {};
+
+				while ( ( block = iterator.getNextParagraph() ) )
+				{
+					var bqParent = null,
+						bqChild = null;
+					while ( block.getParent() )
+					{
+						if ( block.getParent().getName() == 'blockquote' )
+						{
+							bqParent = block.getParent();
+							bqChild = block;
+							break;
+						}
+						block = block.getParent();
+					}
+
+					// Remember the blocks that were recorded down in the moveOutNodes array
+					// to prevent duplicates.
+					if ( bqParent && bqChild && !bqChild.getCustomData( 'blockquote_moveout' ) )
+					{
+						moveOutNodes.push( bqChild );
+						CKEDITOR.dom.element.setMarker( database, bqChild, 'blockquote_moveout', true );
+					}
+				}
+
+				CKEDITOR.dom.element.clearAllMarkers( database );
+
+				var movedNodes = [],
+					processedBlockquoteBlocks = [];
+
+				database = {};
+				while ( moveOutNodes.length > 0 )
+				{
+					var node = moveOutNodes.shift();
+					bqBlock = node.getParent();
+
+					// If the node is located at the beginning or the end, just take it out
+					// without splitting. Otherwise, split the blockquote node and move the
+					// paragraph in between the two blockquote nodes.
+					if ( !node.getPrevious() )
+						node.remove().insertBefore( bqBlock );
+					else if ( !node.getNext() )
+						node.remove().insertAfter( bqBlock );
+					else
+					{
+						node.breakParent( node.getParent() );
+						processedBlockquoteBlocks.push( node.getNext() );
+					}
+
+					// Remember the blockquote node so we can clear it later (if it becomes empty).
+					if ( !bqBlock.getCustomData( 'blockquote_processed' ) )
+					{
+						processedBlockquoteBlocks.push( bqBlock );
+						CKEDITOR.dom.element.setMarker( database, bqBlock, 'blockquote_processed', true );
+					}
+
+					movedNodes.push( node );
+				}
+
+				CKEDITOR.dom.element.clearAllMarkers( database );
+
+				// Clear blockquote nodes that have become empty.
+				for ( i = processedBlockquoteBlocks.length - 1 ; i >= 0 ; i-- )
+				{
+					bqBlock = processedBlockquoteBlocks[i];
+					if ( noBlockLeft( bqBlock ) )
+						bqBlock.remove();
+				}
+
+				if ( editor.config.enterMode == CKEDITOR.ENTER_BR )
+				{
+					var firstTime = true;
+					while ( movedNodes.length )
+					{
+						node = movedNodes.shift();
+
+						if ( node.getName() == 'div' )
+						{
+							docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+							var needBeginBr = firstTime && node.getPrevious() &&
+									!( node.getPrevious().type == CKEDITOR.NODE_ELEMENT && node.getPrevious().isBlockBoundary() );
+							if ( needBeginBr )
+								docFrag.append( editor.document.createElement( 'br' ) );
+
+							var needEndBr = node.getNext() &&
+								!( node.getNext().type == CKEDITOR.NODE_ELEMENT && node.getNext().isBlockBoundary() );
+							while ( node.getFirst() )
+								node.getFirst().remove().appendTo( docFrag );
+
+							if ( needEndBr )
+								docFrag.append( editor.document.createElement( 'br' ) );
+
+							docFrag.replace( node );
+							firstTime = false;
+						}
+					}
+				}
+			}
+
+			selection.selectBookmarks( bookmarks );
+			editor.focus();
+		}
+	};
+
+	CKEDITOR.plugins.add( 'blockquote',
+	{
+		init : function( editor )
+		{
+			editor.addCommand( 'blockquote', commandObject );
+
+			editor.ui.addButton( 'Blockquote',
+				{
+					label : editor.lang.blockquote,
+					command : 'blockquote'
+				} );
+
+			editor.on( 'selectionChange', onSelectionChange );
+		},
+
+		requires : [ 'domiterator' ]
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/button/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/button/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/button/plugin.js	(revision 4888)
@@ -0,0 +1,264 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'button',
+{
+	beforeInit : function( editor )
+	{
+		editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler );
+	}
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_BUTTON = 1;
+
+/**
+ * Represents a button UI element. This class should not be called directly. To
+ * create new buttons use {@link CKEDITOR.ui.prototype.addButton} instead.
+ * @constructor
+ * @param {Object} definition The button definition.
+ * @example
+ */
+CKEDITOR.ui.button = function( definition )
+{
+	// Copy all definition properties to this object.
+	CKEDITOR.tools.extend( this, definition,
+		// Set defaults.
+		{
+			title		: definition.label,
+			className	: definition.className || ( definition.command && 'cke_button_' + definition.command ) || '',
+			click		: definition.click || function( editor )
+				{
+					editor.execCommand( definition.command );
+				}
+		});
+
+	this._ = {};
+};
+
+/**
+ * Transforms a button definition in a {@link CKEDITOR.ui.button} instance.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.button.handler =
+{
+	create : function( definition )
+	{
+		return new CKEDITOR.ui.button( definition );
+	}
+};
+
+CKEDITOR.ui.button.prototype =
+{
+	canGroup : true,
+
+	/**
+	 * Renders the button.
+	 * @param {CKEDITOR.editor} editor The editor instance which this button is
+	 *		to be used by.
+	 * @param {Array} output The output array to which append the HTML relative
+	 *		to this button.
+	 * @example
+	 */
+	render : function( editor, output )
+	{
+		var env = CKEDITOR.env;
+
+		var id = this._.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+		this._.editor = editor;
+
+		var instance =
+		{
+			id : id,
+			button : this,
+			editor : editor,
+			focus : function()
+			{
+				var element = CKEDITOR.document.getById( id );
+				element.focus();
+			},
+			execute : function()
+			{
+				this.button.click( editor );
+			}
+		};
+
+		var clickFn = CKEDITOR.tools.addFunction( instance.execute, instance );
+
+		var index = CKEDITOR.ui.button._.instances.push( instance ) - 1;
+
+		var classes = '';
+
+		// Get the command name.
+		var command = this.command;
+
+		if ( this.modes )
+		{
+			editor.on( 'mode', function()
+				{
+					this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+				}, this);
+		}
+		else if ( command )
+		{
+			// Get the command instance.
+			command = editor.getCommand( command );
+
+			if ( command )
+			{
+				command.on( 'state', function()
+					{
+						this.setState( command.state );
+					}, this);
+
+				classes += 'cke_' + (
+					command.state == CKEDITOR.TRISTATE_ON ? 'on' :
+					command.state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' :
+					'off' );
+			}
+		}
+
+		if ( !command )
+			classes	+= 'cke_off';
+
+		if ( this.className )
+			classes += ' ' + this.className;
+
+		output.push(
+			'<span class="cke_button">',
+			'<a id="', id, '"' +
+				' class="', classes, '" href="javascript:void(\'', ( this.title || '' ).replace( "'", '' ), '\')"' +
+				' title="', this.title, '"' +
+				' tabindex="-1"' +
+				' hidefocus="true"' );
+
+		// Some browsers don't cancel key events in the keydown but in the
+		// keypress.
+		// TODO: Check if really needed for Gecko+Mac.
+		if ( env.opera || ( env.gecko && env.mac ) )
+		{
+			output.push(
+				' onkeypress="return false;"' );
+		}
+
+		// With Firefox, we need to force the button to redraw, otherwise it
+		// will remain in the focus state.
+		if ( env.gecko )
+		{
+			output.push(
+				' onblur="this.style.cssText = this.style.cssText;"' );
+		}
+
+		output.push(
+				' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' +
+				' onfocus="return CKEDITOR.ui.button._.focus(', index, ', event);"' +
+				' onclick="CKEDITOR.tools.callFunction(', clickFn, ', this); return false;">' +
+					'<span class="cke_icon"' );
+
+		if ( this.icon )
+		{
+			var offset = ( this.iconOffset || 0 ) * -16;
+			output.push( ' style="background-image:url(', CKEDITOR.getUrl( this.icon ), ');background-position:0 ' + offset + 'px;"' );
+		}
+
+		output.push(
+					'></span>' +
+					'<span class="cke_label">', this.label, '</span>' );
+
+		if ( this.hasArrow )
+		{
+			output.push(
+					'<span class="cke_buttonarrow"></span>' );
+		}
+
+		output.push(
+			'</a>',
+			'</span>' );
+
+		if ( this.onRender )
+			this.onRender();
+
+		return instance;
+	},
+
+	setState : function( state )
+	{
+		if ( this._.state == state )
+			return;
+
+		var element = CKEDITOR.document.getById( this._.id );
+
+		if ( element )
+		{
+			element.setState( state );
+
+			var htmlTitle = this.title,
+				unavailable = this._.editor.lang.common.unavailable,
+				labelElement = element.getChild( 1 );
+
+			if ( state == CKEDITOR.TRISTATE_DISABLED )
+				htmlTitle = unavailable.replace( '%1', this.title );
+
+			labelElement.setHtml( htmlTitle );
+		}
+
+		this._.state = state;
+	}
+};
+
+/**
+ * Handles a button click.
+ * @private
+ */
+CKEDITOR.ui.button._ =
+{
+	instances : [],
+
+	keydown : function( index, ev )
+	{
+		var instance = CKEDITOR.ui.button._.instances[ index ];
+
+		if ( instance.onkey )
+		{
+			ev = new CKEDITOR.dom.event( ev );
+			return ( instance.onkey( instance, ev.getKeystroke() ) !== false );
+		}
+	},
+
+	focus : function( index, ev )
+	{
+		var instance = CKEDITOR.ui.button._.instances[ index ],
+			retVal;
+
+		if ( instance.onfocus )
+			retVal = ( instance.onfocus( instance, new CKEDITOR.dom.event( ev ) ) !== false );
+
+		// FF2: prevent focus event been bubbled up to editor container, which caused unexpected editor focus.
+		if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+			ev.preventBubble();
+		return retVal;
+	}
+};
+
+/**
+ * Adds a button definition to the UI elements list.
+ * @param {String} The button name.
+ * @param {Object} The button definition.
+ * @example
+ * editorInstance.ui.addButton( 'MyBold',
+ *     {
+ *         label : 'My Bold',
+ *         command : 'bold'
+ *     });
+ */
+CKEDITOR.ui.prototype.addButton = function( name, definition )
+{
+	this.add( name, CKEDITOR.UI_BUTTON, definition );
+};
Index: CKEditor/branches/features/aria/_source/plugins/clipboard/dialogs/paste.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/clipboard/dialogs/paste.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/clipboard/dialogs/paste.js	(revision 4888)
@@ -0,0 +1,167 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'paste', function( editor )
+{
+	var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+	return {
+		title : editor.lang.clipboard.title,
+
+		minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 370 : 350,
+		minHeight : CKEDITOR.env.quirks ? 250 : 245,
+		htmlToLoad : '<!doctype html><script type="text/javascript">'
+				+ 'window.onload = function()'
+				+ '{'
+					+ 'if ( ' + CKEDITOR.env.ie + ' ) '
+						+ 'document.body.contentEditable = "true";'
+					+ 'else '
+						+ 'document.designMode = "on";'
+					+ 'var iframe = new window.parent.CKEDITOR.dom.element( frameElement );'
+					+ 'var dialog = iframe.getCustomData( "dialog" );'
+		      + ''
+					+ 'iframe.getFrameDocument().on( "keydown", function( e )\
+						{\
+							if ( e.data.getKeystroke() == 27 )\
+								dialog.hide();\
+						});'
+				+ '};'
+				+ '</script><style>body { margin: 3px; height: 95%; } </style><body></body>',
+
+		onShow : function()
+		{
+			if ( CKEDITOR.env.ie )
+				this.getParentEditor().document.getBody().$.contentEditable = 'false';
+
+			// FIREFOX BUG: Force the browser to render the dialog to make the to-be-
+			// inserted iframe editable. (#3366)
+			this.parts.dialog.$.offsetHeight;
+
+			var container = this.getContentElement( 'general', 'editing_area' ).getElement(),
+				iframe = CKEDITOR.dom.element.createFromHtml( '<iframe src="javascript:void(0)" frameborder="0" allowtransparency="1"></iframe>' );
+
+			var lang = this.getParentEditor().lang;
+
+			iframe.setStyles(
+				{
+					width : '346px',
+					height : '130px',
+					'background-color' : 'white',
+					border : '1px solid black'
+				} );
+			iframe.setCustomData( 'dialog', this );
+
+			var accTitle = lang.editorTitle.replace( '%1', lang.clipboard.title );
+
+			if ( CKEDITOR.env.ie )
+				container.setHtml( '<legend style="position:absolute;top:-1000000px;left:-1000000px;">'
+						+ CKEDITOR.tools.htmlEncode( accTitle )
+						+ '</legend>' );
+			else
+			{
+				container.setHtml( '' );
+				container.setAttributes(
+					{
+						role : 'region',
+						title : accTitle
+					} );
+				iframe.setAttributes(
+					{
+						role : 'region',
+						title : ' '
+					} );
+			}
+			container.append( iframe );
+			if ( CKEDITOR.env.ie )
+				container.setStyle( 'height', ( iframe.$.offsetHeight + 2 ) + 'px' );
+
+			if ( isCustomDomain )
+			{
+				CKEDITOR._cke_htmlToLoad = this.definition.htmlToLoad;
+				iframe.setAttribute( 'src',
+					'javascript:void( (function(){' +
+						   'document.open();' +
+						   'document.domain="' + document.domain + '";' +
+						   'document.write( window.parent.CKEDITOR._cke_htmlToLoad );' +
+						   'delete window.parent.CKEDITOR._cke_htmlToLoad;' +
+						   'document.close();' +
+					'})() )' );
+			}
+			else
+			{
+				var doc = iframe.$.contentWindow.document;
+				doc.open();
+				doc.write( this.definition.htmlToLoad );
+				doc.close();
+			}
+		},
+
+		onHide : function()
+		{
+			if ( CKEDITOR.env.ie )
+				this.getParentEditor().document.getBody().$.contentEditable = 'true';
+		},
+
+		onLoad : function()
+		{
+			if ( ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) && editor.lang.dir == 'rtl' )
+				this.parts.contents.setStyle( 'overflow', 'hidden' );
+		},
+
+		onOk : function()
+		{
+			var container = this.getContentElement( 'general', 'editing_area' ).getElement(),
+				iframe = container.getElementsByTag( 'iframe' ).getItem( 0 ),
+				editor = this.getParentEditor(),
+				html = iframe.$.contentWindow.document.body.innerHTML;
+
+			setTimeout( function(){
+				editor.fire( 'paste', { 'html' : html } );
+			}, 0 );
+
+		},
+
+		contents : [
+			{
+				id : 'general',
+				label : editor.lang.common.generalTab,
+				elements : [
+					{
+						type : 'html',
+						id : 'securityMsg',
+						html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.securityMsg + '</div>'
+					},
+					{
+						type : 'html',
+						id : 'pasteMsg',
+						html : '<div style="white-space:normal;width:340px;">'+editor.lang.clipboard.pasteMsg +'</div>'
+					},
+					{
+						type : 'html',
+						id : 'editing_area',
+						style : 'width: 100%; height: 100%;',
+						html : '<fieldset></fieldset>',
+						focus : function()
+						{
+							var div = this.getElement();
+							var iframe = div.getElementsByTag( 'iframe' );
+							if ( iframe.count() < 1 )
+								return;
+							iframe = iframe.getItem( 0 );
+
+							// #3291 : JAWS needs the 500ms delay to detect that the editor iframe
+							// iframe is no longer editable. So that it will put the focus into the
+							// Paste from Word dialog's editable area instead.
+							setTimeout( function()
+							{
+								iframe.$.contentWindow.focus();
+							}, 500 );
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/clipboard/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/clipboard/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/clipboard/plugin.js	(revision 4888)
@@ -0,0 +1,358 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Clipboard support
+ */
+
+(function()
+{
+	// Tries to execute any of the paste, cut or copy commands in IE. Returns a
+	// boolean indicating that the operation succeeded.
+	var execIECommand = function( editor, command )
+	{
+		var doc = editor.document,
+			body = doc.getBody();
+
+		var	enabled = false;
+		var onExec = function()
+		{
+			enabled = true;
+		};
+
+		// The following seems to be the only reliable way to detect that
+		// clipboard commands are enabled in IE. It will fire the
+		// onpaste/oncut/oncopy events only if the security settings allowed
+		// the command to execute.
+		body.on( command, onExec );
+
+		doc.$.execCommand( command );
+
+		body.removeListener( command, onExec );
+
+		return enabled;
+	};
+
+	// Attempts to execute the Cut and Copy operations.
+	var tryToCutCopy =
+		CKEDITOR.env.ie ?
+			function( editor, type )
+			{
+				return execIECommand( editor, type );
+			}
+		:		// !IE.
+			function( editor, type )
+			{
+				try
+				{
+					// Other browsers throw an error if the command is disabled.
+					return editor.document.$.execCommand( type );
+				}
+				catch( e )
+				{
+					return false;
+				}
+			};
+
+	// A class that represents one of the cut or copy commands.
+	var cutCopyCmd = function( type )
+	{
+		this.type = type;
+		this.canUndo = ( this.type == 'cut' );		// We can't undo copy to clipboard.
+	};
+
+	cutCopyCmd.prototype =
+	{
+		exec : function( editor, data )
+		{
+			var success = tryToCutCopy( editor, this.type );
+
+			if ( !success )
+				alert( editor.lang.clipboard[ this.type + 'Error' ] );		// Show cutError or copyError.
+
+			return success;
+		}
+	};
+
+	// Paste command.
+	var pasteCmd =
+	{
+		canUndo : false,
+
+		exec :
+			CKEDITOR.env.ie ?
+				function( editor )
+				{
+					// Prevent IE from pasting at the begining of the document.
+					editor.focus();
+
+					if ( !editor.document.getBody().fire( 'beforepaste' )
+						 && !execIECommand( editor, 'paste' ) )
+					{
+						editor.fire( 'pasteDialog' );
+						return false;
+					}
+				}
+			:
+				function( editor )
+				{
+					try
+					{
+						if ( !editor.document.getBody().fire( 'beforepaste' )
+							 && !editor.document.$.execCommand( 'Paste', false, null ) )
+						{
+							throw 0;
+						}
+					}
+					catch ( e )
+					{
+						setTimeout( function()
+							{
+								editor.fire( 'pasteDialog' );
+							}, 0 );
+						return false;
+					}
+				}
+	};
+
+	// Listens for some clipboard related keystrokes, so they get customized.
+	var onKey = function( event )
+	{
+		if ( this.mode != 'wysiwyg' )
+			return;
+
+		switch ( event.data.keyCode )
+		{
+			// Paste
+			case CKEDITOR.CTRL + 86 :		// CTRL+V
+			case CKEDITOR.SHIFT + 45 :		// SHIFT+INS
+
+				var body = this.document.getBody();
+
+				// Simulate 'beforepaste' event for all none-IEs.
+				if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) )
+					event.cancel();
+				// Simulate 'paste' event for Opera/Firefox2.
+				else if ( CKEDITOR.env.opera
+						 || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+					body.fire( 'paste' );
+				return;
+
+			// Cut
+			case CKEDITOR.CTRL + 88 :		// CTRL+X
+			case CKEDITOR.SHIFT + 46 :		// SHIFT+DEL
+
+				// Save Undo snapshot.
+				var editor = this;
+				this.fire( 'saveSnapshot' );		// Save before paste
+				setTimeout( function()
+					{
+						editor.fire( 'saveSnapshot' );		// Save after paste
+					}, 0 );
+		}
+	};
+
+	// Allow to peek clipboard content by redirecting the
+	// pasting content into a temporary bin and grab the content of it.
+	function getClipboardData( evt, mode, callback )
+	{
+		var doc = this.document;
+
+		// Avoid recursions on 'paste' event for IE.
+		if ( CKEDITOR.env.ie && doc.getById( 'cke_pastebin' ) )
+			return;
+
+		var sel = this.getSelection(),
+			range = new CKEDITOR.dom.range( doc );
+
+		// Create container to paste into
+		var pastebin = new CKEDITOR.dom.element( mode == 'text' ? 'textarea' : 'div', doc );
+		pastebin.setAttribute( 'id', 'cke_pastebin' );
+		// Safari requires a filler node inside the div to have the content pasted into it. (#4882)
+		CKEDITOR.env.webkit && pastebin.append( doc.createText( '\xa0' ) );
+		doc.getBody().append( pastebin );
+
+		// It's definitely a better user experience if we make the paste-bin pretty unnoticed
+		// by pulling it off the screen, while this hack will make the paste-bin a control type element
+		// and that become a selection plain later.
+		if ( !CKEDITOR.env.ie && mode != 'html' )
+		{
+			pastebin.setStyles(
+				{
+					position : 'absolute',
+					left : '-1000px',
+					// Position the bin exactly at the position of the selected element
+					// to avoid any subsequent document scroll.
+					top : sel.getStartElement().getDocumentPosition().y + 'px',
+					width : '1px',
+					height : '1px',
+					overflow : 'hidden'
+				});
+		}
+
+		var bms = sel.createBookmarks();
+
+		// Turn off design mode temporarily before give focus to the paste bin.
+		if ( mode == 'text' )
+		{
+			if ( CKEDITOR.env.ie )
+			{
+				var ieRange = doc.getBody().$.createTextRange();
+				ieRange.moveToElementText( pastebin.$ );
+				ieRange.execCommand( 'Paste' );
+				evt.data.preventDefault();
+			}
+			else
+			{
+				doc.$.designMode = 'off';
+				pastebin.$.focus();
+			}
+		}
+		else
+		{
+			range.setStartAt( pastebin, CKEDITOR.POSITION_AFTER_START );
+			range.setEndAt( pastebin, CKEDITOR.POSITION_BEFORE_END );
+			range.select( true );
+		}
+
+		// Wait a while and grab the pasted contents
+		window.setTimeout( function()
+		{
+			mode == 'text' && !CKEDITOR.env.ie && ( doc.$.designMode = 'on' );
+			pastebin.remove();
+
+			// Grab the HTML contents.
+			// We need to look for a apple style wrapper on webkit it also adds
+			// a div wrapper if you copy/paste the body of the editor.
+			// Remove hidden div and restore selection.
+			var bogusSpan;
+			pastebin = ( CKEDITOR.env.webkit
+						 && ( bogusSpan = pastebin.getFirst() )
+						 && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ?
+							bogusSpan : pastebin );
+
+			sel.selectBookmarks( bms );
+			callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() );
+		}, 0 );
+	}
+
+	// Register the plugin.
+	CKEDITOR.plugins.add( 'clipboard',
+		{
+			requires : [ 'htmldataprocessor' ],
+			init : function( editor )
+			{
+				// Inserts processed data into the editor at the end of the
+				// events chain.
+				editor.on( 'paste', function( evt )
+					{
+						var data = evt.data;
+						if ( data[ 'html' ] )
+							editor.insertHtml( data[ 'html' ] );
+						else if ( data[ 'text' ] )
+							editor.insertText( data[ 'text' ] );
+
+					}, null, null, 1000 );
+
+				editor.on( 'pasteDialog', function( evt )
+					{
+						setTimeout( function()
+						{
+							// Open default paste dialog.
+							editor.openDialog( 'paste' );
+						}, 0 );
+					});
+
+				function addButtonCommand( buttonName, commandName, command, ctxMenuOrder )
+				{
+					var lang = editor.lang[ commandName ];
+
+					editor.addCommand( commandName, command );
+					editor.ui.addButton( buttonName,
+						{
+							label : lang,
+							command : commandName
+						});
+
+					// If the "menu" plugin is loaded, register the menu item.
+					if ( editor.addMenuItems )
+					{
+						editor.addMenuItem( commandName,
+							{
+								label : lang,
+								command : commandName,
+								group : 'clipboard',
+								order : ctxMenuOrder
+							});
+					}
+				}
+
+				addButtonCommand( 'Cut', 'cut', new cutCopyCmd( 'cut' ), 1 );
+				addButtonCommand( 'Copy', 'copy', new cutCopyCmd( 'copy' ), 4 );
+				addButtonCommand( 'Paste', 'paste', pasteCmd, 8 );
+
+				CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) );
+
+				editor.on( 'key', onKey, editor );
+
+				var mode = editor.config.forcePasteAsPlainText ? 'text' : 'html';
+
+				// We'll be catching all pasted content in one line, regardless of whether the
+				// it's introduced by a document command execution (e.g. toolbar buttons) or
+				// user paste behaviors. (e.g. Ctrl-V)
+				editor.on( 'contentDom', function()
+				{
+					var body = editor.document.getBody();
+					body.on( ( mode == 'text' && CKEDITOR.env.ie ) ? 'paste' : 'beforepaste',
+						function( evt )
+						{
+							if( depressBeforePasteEvent )
+								return;
+
+							getClipboardData.call( editor, evt, mode, function ( data )
+							{
+								// The very last guard to make sure the
+								// paste has successfully happened.
+								if ( !data )
+									return;
+
+								var dataTransfer = {};
+								dataTransfer[ mode ] = data;
+								editor.fire( 'paste', dataTransfer );
+							} );
+						});
+
+				});
+
+				// If the "contextmenu" plugin is loaded, register the listeners.
+				if ( editor.contextMenu )
+				{
+					var depressBeforePasteEvent;
+					function stateFromNamedCommand( command )
+					{
+						// IE Bug: queryCommandEnabled('paste') fires also 'beforepaste',
+						// guard to distinguish from the ordinary sources( either
+						// keyboard paste or execCommand ) (#4874).
+						CKEDITOR.env.ie && command == 'Paste'&& ( depressBeforePasteEvent = 1 );
+
+						var retval = editor.document.$.queryCommandEnabled( command ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
+						depressBeforePasteEvent = 0;
+						return retval;
+					}
+
+					editor.contextMenu.addListener( function()
+						{
+							return {
+								cut : stateFromNamedCommand( 'Cut' ),
+
+								// Browser bug: 'Cut' has the correct states for both Copy and Cut.
+								copy : stateFromNamedCommand( 'Cut' ),
+								paste : CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' )
+							};
+						});
+				}
+			}
+		});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/colorbutton/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/colorbutton/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/colorbutton/plugin.js	(revision 4888)
@@ -0,0 +1,215 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'colorbutton',
+{
+	requires : [ 'panelbutton', 'floatpanel', 'styles' ],
+
+	init : function( editor )
+	{
+		var config = editor.config,
+			lang = editor.lang.colorButton;
+
+		var clickFn;
+
+		if ( !CKEDITOR.env.hc )
+		{
+			addButton( 'TextColor', 'fore', lang.textColorTitle );
+			addButton( 'BGColor', 'back', lang.bgColorTitle );
+		}
+
+		function addButton( name, type, title )
+		{
+			editor.ui.add( name, CKEDITOR.UI_PANELBUTTON,
+				{
+					label : title,
+					title : title,
+					className : 'cke_button_' + name.toLowerCase(),
+					modes : { wysiwyg : 1 },
+
+					panel :
+					{
+						css : editor.skin.editor.css
+					},
+
+					onBlock : function( panel, blockName )
+					{
+						var block = panel.addBlock( blockName );
+						block.autoSize = true;
+						block.element.addClass( 'cke_colorblock' );
+						block.element.setHtml( renderColors( panel, type ) );
+
+						var keys = block.keys;
+						keys[ 39 ]	= 'next';					// ARROW-RIGHT
+						keys[ 9 ]	= 'next';					// TAB
+						keys[ 37 ]	= 'prev';					// ARROW-LEFT
+						keys[ CKEDITOR.SHIFT + 9 ]	= 'prev';	// SHIFT + TAB
+						keys[ 32 ]	= 'click';					// SPACE
+					}
+				});
+		}
+
+
+		function renderColors( panel, type )
+		{
+			var output = [],
+				colors = config.colorButton_colors.split( ',' );
+
+			var clickFn = CKEDITOR.tools.addFunction( function( color, type )
+				{
+					if ( color == '?' )
+					{
+						var applyColorStyle = arguments.callee;
+						function onColorDialogClose( evt )
+						{
+							this.removeListener( 'ok', onColorDialogClose );
+							this.removeListener( 'cancel', onColorDialogClose );
+
+							evt.name == 'ok' && applyColorStyle( this.getContentElement( 'picker', 'selectedColor' ).getValue(), type );
+						}
+
+						editor.openDialog( 'colordialog', function()
+						{
+							this.on( 'ok', onColorDialogClose );
+							this.on( 'cancel', onColorDialogClose );
+						} );
+
+						return;
+					}
+
+					editor.focus();
+
+					panel.hide();
+
+					var style = new CKEDITOR.style( config['colorButton_' + type + 'Style'], color && { color : color } );
+
+					editor.fire( 'saveSnapshot' );
+					if ( color )
+						style.apply( editor.document );
+					else
+						style.remove( editor.document );
+					editor.fire( 'saveSnapshot' );
+				});
+
+			// Render the "Automatic" button.
+			output.push(
+				'<a class="cke_colorauto" _cke_focus=1 hidefocus=true' +
+					' title="', lang.auto, '"' +
+					' onclick="CKEDITOR.tools.callFunction(', clickFn, ',null,\'', type, '\');return false;"' +
+					' href="javascript:void(\'', lang.auto, '\')">' +
+					'<table cellspacing=0 cellpadding=0 width="100%">' +
+						'<tr>' +
+							'<td>' +
+								'<span class="cke_colorbox" style="background-color:#000"></span>' +
+							'</td>' +
+							'<td colspan=7 align=center>',
+								lang.auto,
+							'</td>' +
+						'</tr>' +
+					'</table>' +
+				'</a>' +
+				'<table cellspacing=0 cellpadding=0 width="100%">' );
+
+			// Render the color boxes.
+			for ( var i = 0 ; i < colors.length ; i++ )
+			{
+				if ( ( i % 8 ) === 0 )
+					output.push( '</tr><tr>' );
+
+				var colorCode = colors[ i ];
+				var colorLabel = editor.lang.colors[ colorCode ] || colorCode;
+				output.push(
+					'<td>' +
+						'<a class="cke_colorbox" _cke_focus=1 hidefocus=true' +
+							' title="', colorLabel, '"' +
+							' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'#', colorCode, '\',\'', type, '\'); return false;"' +
+							' href="javascript:void(\'', colorLabel, '\')">' +
+							'<span class="cke_colorbox" style="background-color:#', colorCode, '"></span>' +
+						'</a>' +
+					'</td>' );
+			}
+
+			// Render the "More Colors" button.
+			if ( config.colorButton_enableMore )
+			{
+				output.push(
+					'</tr>' +
+					'<tr>' +
+						'<td colspan=8 align=center>' +
+							'<a class="cke_colormore" _cke_focus=1 hidefocus=true' +
+								' title="', lang.more, '"' +
+								' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'?\',\'', type, '\');return false;"' +
+								' href="javascript:void(\'', lang.more, '\')">',
+								lang.more,
+							'</a>' +
+						'</td>' );	// It is later in the code.
+			}
+
+			output.push( '</tr></table>' );
+
+			return output.join( '' );
+		}
+	}
+});
+
+/**
+ * Whether to enable the "More Colors..." button in the color selectors.
+ * @default false
+ * @type Boolean
+ * @example
+ * config.colorButton_enableMore = false;
+ */
+CKEDITOR.config.colorButton_enableMore = true;
+
+/**
+ * Defines the colors to be displayed in the color selectors. It's a string
+ * containing the hexadecimal notation for HTML colors, without the "#" prefix.
+ * @type String
+ * @default '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'
+ * @example
+ * // Brazil colors only.
+ * config.colorButton_colors = '00923E,F8C100,28166F';
+ */
+CKEDITOR.config.colorButton_colors =
+	'000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' +
+	'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' +
+	'F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,' +
+	'FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,' +
+	'FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF';
+
+/**
+ * Holds the style definition to be used to apply the text foreground color.
+ * @type Object
+ * @example
+ * // This is basically the default setting value.
+ * config.colorButton_foreStyle =
+ *     {
+ *         element : 'span',
+ *         styles : { 'color' : '#(color)' }
+ *     };
+ */
+CKEDITOR.config.colorButton_foreStyle =
+	{
+		element		: 'span',
+		styles		: { 'color' : '#(color)' },
+		overrides	: [ { element : 'font', attributes : { 'color' : null } } ]
+	};
+
+/**
+ * Holds the style definition to be used to apply the text background color.
+ * @type Object
+ * @example
+ * // This is basically the default setting value.
+ * config.colorButton_backStyle =
+ *     {
+ *         element : 'span',
+ *         styles : { 'background-color' : '#(color)' }
+ *     };
+ */
+CKEDITOR.config.colorButton_backStyle =
+	{
+		element		: 'span',
+		styles		: { 'background-color' : '#(color)' }
+	};
Index: CKEditor/branches/features/aria/_source/plugins/colordialog/dialogs/colordialog.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/colordialog/dialogs/colordialog.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/colordialog/dialogs/colordialog.js	(revision 4888)
@@ -0,0 +1,191 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'colordialog', function( editor )
+	{
+		// Define some shorthands.
+		var $el = CKEDITOR.dom.element,
+			$doc = CKEDITOR.document,
+			$tools = CKEDITOR.tools,
+			lang = editor.lang.colordialog;
+
+		// Reference the dialog.
+		var dialog;
+
+		function spacer()
+		{
+			return {
+				type : 'html',
+				html : '&nbsp;'
+			};
+		}
+
+		var table = new $el( 'table' );
+		createColorTable();
+
+		var cellMouseover = function( event )
+		{
+			var color = new $el( event.data.getTarget() ).getAttribute( 'title' );
+			$doc.getById( 'hicolor' ).setStyle( 'background-color', color );
+			$doc.getById( 'hicolortext' ).setHtml( color );
+		};
+
+		var cellClick = function( event )
+		{
+			var color = new $el( event.data.getTarget() ).getAttribute( 'title' );
+			dialog.getContentElement( 'picker', 'selectedColor' ).setValue( color );
+		};
+
+		function createColorTable()
+		{
+			// Create the base colors array.
+			var aColors = ['00','33','66','99','cc','ff'];
+
+			// This function combines two ranges of three values from the color array into a row.
+			function appendColorRow( rangeA, rangeB )
+			{
+				for ( var i = rangeA ; i < rangeA + 3 ; i++ )
+				{
+					var row = table.$.insertRow(-1);
+
+					for ( var j = rangeB ; j < rangeB + 3 ; j++ )
+					{
+						for ( var n = 0 ; n < 6 ; n++ )
+						{
+							appendColorCell( row, '#' + aColors[j] + aColors[n] + aColors[i] );
+						}
+					}
+				}
+			}
+
+			// This function create a single color cell in the color table.
+			function appendColorCell( targetRow, color )
+			{
+				var cell = new $el( targetRow.insertCell( -1 ) );
+				cell.setAttribute( 'class', 'ColorCell' );
+				cell.setStyle( 'background-color', color );
+
+				cell.setStyle( 'width', '15px' );
+				cell.setStyle( 'height', '15px' );
+
+				// Pass unparsed color value in some markup-degradable form.
+				cell.setAttribute( 'title', color );
+			}
+
+			appendColorRow( 0, 0 );
+			appendColorRow( 3, 0 );
+			appendColorRow( 0, 3 );
+			appendColorRow( 3, 3 );
+
+			// Create the last row.
+			var oRow = table.$.insertRow(-1) ;
+
+			// Create the gray scale colors cells.
+			for ( var n = 0 ; n < 6 ; n++ )
+			{
+				appendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ;
+			}
+
+			// Fill the row with black cells.
+			for ( var i = 0 ; i < 12 ; i++ )
+			{
+				appendColorCell( oRow, '#000000' ) ;
+			}
+		}
+
+		function clear()
+		{
+			$doc.getById( 'selhicolor' ).removeStyle( 'background-color' );
+			dialog.getContentElement( 'picker', 'selectedColor' ).setValue( '' );
+		}
+
+		var clearActual = $tools.addFunction( function()
+		{
+			$doc.getById( 'hicolor' ).removeStyle( 'background-color' );
+			$doc.getById( 'hicolortext' ).setHtml( '&nbsp;' );
+		} );
+
+		return {
+			title : lang.title,
+			minWidth : 360,
+			minHeight : 220,
+			onLoad : function()
+			{
+				// Update reference.
+				dialog = this;
+			},
+			contents : [
+				{
+					id : 'picker',
+					label : lang.title,
+					accessKey : 'I',
+					elements :
+					[
+						{
+							type : 'hbox',
+							padding : 0,
+							widths : [ '70%', '10%', '30%' ],
+							children :
+							[
+								{
+									type : 'html',
+									html : '<table onmouseout="CKEDITOR.tools.callFunction( ' + clearActual + ' );">' + table.getHtml() + '</table>',
+									onLoad : function()
+									{
+										var table = CKEDITOR.document.getById( this.domId );
+										table.on( 'mouseover', cellMouseover );
+										table.on( 'click', cellClick );
+									}
+								},
+								spacer(),
+								{
+									type : 'vbox',
+									padding : 0,
+									widths : [ '70%', '5%', '25%' ],
+									children :
+									[
+										{
+											type : 'html',
+											html : '<span>' + lang.highlight +'</span>\
+												<div id="hicolor" style="border: 1px solid; height: 74px; width: 74px;"></div>\
+												<div id="hicolortext">&nbsp;</div>\
+												<span>' + lang.selected +'</span>\
+												<div id="selhicolor" style="border: 1px solid; height: 20px; width: 74px;"></div>'
+										},
+										{
+											type : 'text',
+											id : 'selectedColor',
+											style : 'width: 74px',
+											onChange : function()
+											{
+												// Try to update color preview with new value. If fails, then set it no none.
+												try
+												{
+													$doc.getById( 'selhicolor' ).setStyle( 'background-color', this.getValue() );
+												}
+												catch ( e )
+												{
+													clear();
+												}
+											}
+										},
+										spacer(),
+										{
+											type : 'button',
+											id : 'clear',
+											style : 'margin-top: 5px',
+											label : lang.clear,
+											onClick : clear
+										}
+									]
+								}
+							]
+						}
+					]
+				}
+			]
+		};
+	}
+	);
Index: CKEditor/branches/features/aria/_source/plugins/colordialog/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/colordialog/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/colordialog/plugin.js	(revision 4888)
@@ -0,0 +1,13 @@
+( function()
+{
+	CKEDITOR.plugins.colordialog =
+	{
+		init : function( editor )
+		{
+			editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );
+			CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
+		}
+	};
+
+	CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );
+} )();
Index: CKEditor/branches/features/aria/_source/plugins/contextmenu/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/contextmenu/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/contextmenu/plugin.js	(revision 4888)
@@ -0,0 +1,253 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'contextmenu',
+{
+	requires : [ 'menu' ],
+
+	beforeInit : function( editor )
+	{
+		editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor );
+
+		editor.addCommand( 'contextMenu',
+			{
+				exec : function()
+					{
+						editor.contextMenu.show( editor.document.getBody() );
+					}
+			});
+	}
+});
+
+CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass(
+{
+	$ : function( editor )
+	{
+		this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+		this.editor = editor;
+		this._.listeners = [];
+		this._.functionId = CKEDITOR.tools.addFunction( function( commandName )
+			{
+				this._.panel.hide();
+				editor.focus();
+				editor.execCommand( commandName );
+			},
+			this);
+	},
+
+	_ :
+	{
+		onMenu : function( offsetParent, corner, offsetX, offsetY )
+		{
+			var menu = this._.menu,
+				editor = this.editor;
+
+			if ( menu )
+			{
+				menu.hide();
+				menu.removeAll();
+			}
+			else
+			{
+				menu = this._.menu = new CKEDITOR.menu( editor );
+				menu.onClick = CKEDITOR.tools.bind( function( item )
+				{
+					var noUnlock = true;
+					menu.hide();
+
+					if ( CKEDITOR.env.ie )
+						menu.onEscape();
+
+					if ( item.onClick )
+						item.onClick();
+					else if ( item.command )
+						editor.execCommand( item.command );
+
+					noUnlock = false;
+				}, this );
+
+				menu.onEscape = function()
+				{
+					editor.focus();
+
+					if ( CKEDITOR.env.ie )
+						editor.getSelection().unlock( true );
+				};
+			}
+
+			var listeners = this._.listeners,
+				includedItems = [];
+
+			var selection = this.editor.getSelection(),
+				element = selection && selection.getStartElement();
+
+			menu.onHide = CKEDITOR.tools.bind( function()
+				{
+					menu.onHide = null;
+
+					if ( CKEDITOR.env.ie )
+					{
+						var selection = editor.getSelection();
+						selection && selection.unlock();
+					}
+
+					this.onHide && this.onHide();
+				},
+				this );
+
+			// Call all listeners, filling the list of items to be displayed.
+			for ( var i = 0 ; i < listeners.length ; i++ )
+			{
+				var listenerItems = listeners[ i ]( element, selection );
+
+				if ( listenerItems )
+				{
+					for ( var itemName in listenerItems )
+					{
+						var item = this.editor.getMenuItem( itemName );
+
+						if ( item )
+						{
+							item.state = listenerItems[ itemName ];
+							menu.add( item );
+						}
+					}
+				}
+			}
+
+			// Don't show context menu with zero items.
+			menu.items.length && menu.show( offsetParent, corner || ( editor.lang.dir == 'rtl' ? 2 : 1 ), offsetX, offsetY );
+		}
+	},
+
+	proto :
+	{
+		addTarget : function( element, nativeContextMenuOnCtrl )
+		{
+			// Opera doesn't support 'contextmenu' event, we have duo approaches employed here:
+			// 1. Inherit the 'button override' hack we introduced in v2 (#4530), while this require the Opera browser
+			//  option 'Allow script to detect context menu/right click events' to be always turned on.
+			// 2. Considering the fact that ctrl/meta key is not been occupied
+			//  for multiple range selecting (like Gecko), we use this key
+			//  combination as a fallback for triggering context-menu. (#4530)
+			if ( CKEDITOR.env.opera )
+			{
+				var contextMenuOverrideButton;
+				element.on( 'mousedown', function( evt )
+				{
+					evt = evt.data;
+					if( evt.$.button != 2 )
+					{
+						if ( evt.getKeystroke() == CKEDITOR.CTRL + 1 )
+							element.fire( 'contextmenu', evt );
+						return;
+					}
+
+					if ( nativeContextMenuOnCtrl
+						 && ( evt.$.ctrlKey || evt.$.metaKey ) )
+						return;
+
+					var target = evt.getTarget();
+
+					if( !contextMenuOverrideButton )
+					{
+						var ownerDoc =  target.getDocument();
+						contextMenuOverrideButton = ownerDoc.createElement( 'input' ) ;
+						contextMenuOverrideButton.$.type = 'button' ;
+						ownerDoc.getBody().append( contextMenuOverrideButton ) ;
+					}
+
+					contextMenuOverrideButton.setAttribute( 'style', 'position:absolute;top:' + ( evt.$.clientY - 2 ) +
+						'px;left:' + ( evt.$.clientX - 2 ) +
+						'px;width:5px;height:5px;opacity:0.01' );
+
+				} );
+
+				element.on( 'mouseup', function ( evt )
+				{
+					if ( contextMenuOverrideButton )
+					{
+						contextMenuOverrideButton.remove();
+						contextMenuOverrideButton = undefined;
+						// Simulate 'contextmenu' event.
+						element.fire( 'contextmenu', evt.data );
+					}
+				} );
+			}
+
+			element.on( 'contextmenu', function( event )
+				{
+					var domEvent = event.data;
+
+					if ( nativeContextMenuOnCtrl &&
+					     // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event,
+						// which make this property unreliable. (#4826)
+					     ( CKEDITOR.env.webkit ? holdCtrlKey : domEvent.$.ctrlKey || domEvent.$.metaKey ) )
+						return;
+
+					// Selection will be unavailable after context menu shows up
+					// in IE, lock it now.
+					if ( CKEDITOR.env.ie )
+					{
+						var selection = this.editor.getSelection();
+						selection && selection.lock();
+					}
+
+					// Cancel the browser context menu.
+					domEvent.preventDefault();
+
+					var offsetParent = domEvent.getTarget().getDocument().getDocumentElement(),
+						offsetX = domEvent.$.clientX,
+						offsetY = domEvent.$.clientY;
+
+					CKEDITOR.tools.setTimeout( function()
+						{
+							this._.onMenu( offsetParent, null, offsetX, offsetY );
+						},
+						0, this );
+				},
+				this );
+
+			if( CKEDITOR.env.webkit )
+			{
+				var holdCtrlKey,
+					onKeyDown = function( event )
+					{
+						holdCtrlKey = event.data.$.ctrlKey || event.data.$.metaKey;
+					},
+					resetOnKeyUp = function()
+					{
+						holdCtrlKey = 0;
+					};
+
+				element.on( 'keydown', onKeyDown );
+				element.on( 'keyup', resetOnKeyUp );
+				element.on( 'contextmenu', resetOnKeyUp );
+			}
+		},
+
+		addListener : function( listenerFn )
+		{
+			this._.listeners.push( listenerFn );
+		},
+
+		show : function( offsetParent, corner, offsetX, offsetY )
+		{
+			this.editor.focus();
+			this._.onMenu( offsetParent || CKEDITOR.document.getDocumentElement(), corner, offsetX || 0, offsetY || 0 );
+		}
+	}
+});
+
+/**
+ * Whether to show the browser native context menu when the CTRL or the
+ * META (Mac) key is pressed while opening the context menu.
+ * @name CKEDITOR.config.browserContextMenuOnCtrl
+ * @since 3.0.2
+ * @type Boolean
+ * @default true
+ * @example
+ * config.browserContextMenuOnCtrl = false;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/dialog/dialogDefinition.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/dialog/dialogDefinition.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/dialog/dialogDefinition.js	(revision 4888)
@@ -0,0 +1,315 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" dialog, dialog content and dialog button
+ * definition classes.
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialogs.
+ * @name CKEDITOR.dialog.dialogDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ *
+ * CKEDITOR.dialog.add( 'testOnly', function( editor )
+ *       {
+ *           return {
+ *               title : 'Test Dialog',
+ *               resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
+ *               minWidth : 500,
+ *               minHeight : 400,
+ *               contents : [
+ *                   {
+ *                       id : 'tab1',
+ *                       label : 'First Tab',
+ *                       title : 'First Tab Title',
+ *                       accessKey : 'Q',
+ *                       elements : [
+ *                           {
+ *                               type : 'text',
+ *                               label : 'Test Text 1',
+ *                               id : 'testText1',
+ *                               'default' : 'hello world!'
+ *                           }
+ *                       ]
+ *                    }
+ *               ]
+ *           };
+ *       });
+ */
+
+/**
+ * The dialog title, displayed in the dialog's header. Required.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * How the dialog can be resized, must be one of the four contents defined below.
+ * <br /><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_NONE</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br />
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.resizable
+ * @field
+ * @type Number
+ * @default CKEDITOR.DIALOG_RESIZE_NONE
+ * @example
+ */
+
+/**
+ * The minimum width of the dialog, in pixels.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.minWidth
+ * @field
+ * @type Number
+ * @default 600
+ * @example
+ */
+
+/**
+ * The minimum height of the dialog, in pixels.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.minHeight
+ * @field
+ * @type Number
+ * @default 400
+ * @example
+ */
+
+/**
+ * The buttons in the dialog, defined as an array of
+ * {@link CKEDITOR.dialog.buttonDefinition} objects.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.buttons
+ * @field
+ * @type Array
+ * @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
+ * @example
+ */
+
+/**
+ * The contents in the dialog, defined as an array of
+ * {@link CKEDITOR.dialog.contentDefinition} objects. Required.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.contents
+ * @field
+ * @type Array
+ * @example
+ */
+
+/**
+ * The function to execute when OK is pressed.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onOk
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * The function to execute when Cancel is pressed.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onCancel
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * The function to execute when the dialog is displayed for the first time.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onLoad
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog content pages.
+ * @name CKEDITOR.dialog.contentDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the content page.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.id
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The tab label of the content page.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.label
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The popup message of the tab label.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The CTRL hotkey for switching to the tab.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.accessKey
+ * @field
+ * @type String
+ * @example
+ * contentDefinition.accessKey = 'Q';	// Switch to this page when CTRL-Q is pressed.
+ */
+
+/**
+ * The UI elements contained in this content page, defined as an array of
+ * {@link CKEDITOR.dialog.uiElementDefinition} objects.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.elements
+ * @field
+ * @type Array
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog buttons.
+ * @name CKEDITOR.dialog.buttonDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the dialog button. Required.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.id
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The label of the dialog button. Required.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.label
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The popup message of the dialog button.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.title
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The CTRL hotkey for the button.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.accessKey
+ * @type String
+ * @field
+ * @example
+ * exitButton.accessKey = 'X';		// Button will be pressed when user presses CTRL-X
+ */
+
+/**
+ * Whether the button is disabled.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.disabled
+ * @type Boolean
+ * @field
+ * @default false
+ * @example
+ */
+
+/**
+ * The function to execute when the button is clicked.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.onClick
+ * @type Function
+ * @field
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog UI elements.
+ * @name CKEDITOR.dialog.uiElementDefinition
+ * @constructor
+ * @see CKEDITOR.ui.dialog.uiElement
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.id
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The type of the UI element. Required.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.type
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The popup label of the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * CSS class names to append to the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.className
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * Inline CSS classes to append to the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.style
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * Function to execute the first time the UI element is displayed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onLoad
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * Function to execute whenever the UI element's parent dialog is displayed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onShow
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * Function to execute whenever the UI element's parent dialog is closed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onHide
+ * @field
+ * @type Function
+ * @example
+ */
Index: CKEditor/branches/features/aria/_source/plugins/dialog/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/dialog/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/dialog/plugin.js	(revision 4888)
@@ -0,0 +1,2779 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The floating dialog plugin.
+ */
+
+/**
+ * No resize for this dialog.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_NONE = 0;
+
+/**
+ * Only allow horizontal resizing for this dialog, disable vertical resizing.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_WIDTH = 1;
+
+/**
+ * Only allow vertical resizing for this dialog, disable horizontal resizing.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_HEIGHT = 2;
+
+/*
+ * Allow the dialog to be resized in both directions.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_BOTH = 3;
+
+(function()
+{
+	function isTabVisible( tabId )
+	{
+		return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight;
+	}
+
+	function getPreviousVisibleTab()
+	{
+		var tabId = this._.currentTabId,
+			length = this._.tabIdList.length,
+			tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length;
+
+		for ( var i = tabIndex - 1 ; i > tabIndex - length ; i-- )
+		{
+			if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
+				return this._.tabIdList[ i % length ];
+		}
+
+		return null;
+	}
+
+	function getNextVisibleTab()
+	{
+		var tabId = this._.currentTabId,
+			length = this._.tabIdList.length,
+			tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId );
+
+		for ( var i = tabIndex + 1 ; i < tabIndex + length ; i++ )
+		{
+			if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
+				return this._.tabIdList[ i % length ];
+		}
+
+		return null;
+	}
+
+	/**
+	 * This is the base class for runtime dialog objects. An instance of this
+	 * class represents a single named dialog for a single editor instance.
+	 * @param {Object} editor The editor which created the dialog.
+	 * @param {String} dialogName The dialog's registered name.
+	 * @constructor
+	 * @example
+	 * var dialogObj = new CKEDITOR.dialog( editor, 'smiley' );
+	 */
+	CKEDITOR.dialog = function( editor, dialogName )
+	{
+		// Load the dialog definition.
+		var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ];
+
+		// Completes the definition with the default values.
+		definition = CKEDITOR.tools.extend( definition( editor ), defaultDialogDefinition );
+
+		// Clone a functionally independent copy for this dialog.
+		definition = CKEDITOR.tools.clone( definition );
+
+		// Create a complex definition object, extending it with the API
+		// functions.
+		definition = new definitionObject( this, definition );
+
+		// Fire the "dialogDefinition" event, making it possible to customize
+		// the dialog definition.
+		this.definition = definition = CKEDITOR.fire( 'dialogDefinition',
+			{
+				name : dialogName,
+				definition : definition
+			}
+			, editor ).definition;
+
+		var doc = CKEDITOR.document;
+
+		var themeBuilt = editor.theme.buildDialog( editor );
+
+		// Initialize some basic parameters.
+		this._ =
+		{
+			editor : editor,
+			element : themeBuilt.element,
+			name : dialogName,
+			contentSize : { width : 0, height : 0 },
+			size : { width : 0, height : 0 },
+			updateSize : false,
+			contents : {},
+			buttons : {},
+			accessKeyMap : {},
+
+			// Initialize the tab and page map.
+			tabs : {},
+			tabIdList : [],
+			currentTabId : null,
+			currentTabIndex : null,
+			pageCount : 0,
+			lastTab : null,
+			tabBarMode : false,
+
+			// Initialize the tab order array for input widgets.
+			focusList : [],
+			currentFocusIndex : 0,
+			hasFocus : false
+		};
+
+		this.parts = themeBuilt.parts;
+
+		// Set the startup styles for the dialog, avoiding it enlarging the
+		// page size on the dialog creation.
+		this.parts.dialog.setStyles(
+			{
+				position : CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed',
+				top : 0,
+				left: 0,
+				visibility : 'hidden'
+			});
+
+		// Call the CKEDITOR.event constructor to initialize this instance.
+		CKEDITOR.event.call( this );
+
+		// Initialize load, show, hide, ok and cancel events.
+		if ( definition.onLoad )
+			this.on( 'load', definition.onLoad );
+
+		if ( definition.onShow )
+			this.on( 'show', definition.onShow );
+
+		if ( definition.onHide )
+			this.on( 'hide', definition.onHide );
+
+		if ( definition.onOk )
+		{
+			this.on( 'ok', function( evt )
+				{
+					if ( definition.onOk.call( this, evt ) === false )
+						evt.data.hide = false;
+				});
+		}
+
+		if ( definition.onCancel )
+		{
+			this.on( 'cancel', function( evt )
+				{
+					if ( definition.onCancel.call( this, evt ) === false )
+						evt.data.hide = false;
+				});
+		}
+
+		var me = this;
+
+		// Iterates over all items inside all content in the dialog, calling a
+		// function for each of them.
+		var iterContents = function( func )
+		{
+			var contents = me._.contents,
+				stop = false;
+
+			for ( var i in contents )
+			{
+				for ( var j in contents[i] )
+				{
+					stop = func.call( this, contents[i][j] );
+					if ( stop )
+						return;
+				}
+			}
+		};
+
+		this.on( 'ok', function( evt )
+			{
+				iterContents( function( item )
+					{
+						if ( item.validate )
+						{
+							var isValid = item.validate( this );
+
+							if ( typeof isValid == 'string' )
+							{
+								alert( isValid );
+								isValid = false;
+							}
+
+							if ( isValid === false )
+							{
+								if ( item.select )
+									item.select();
+								else
+									item.focus();
+
+								evt.data.hide = false;
+								evt.stop();
+								return true;
+							}
+						}
+					});
+			}, this, null, 0 );
+
+		this.on( 'cancel', function( evt )
+			{
+				iterContents( function( item )
+					{
+						if ( item.isChanged() )
+						{
+							if ( !confirm( editor.lang.common.confirmCancel ) )
+								evt.data.hide = false;
+							return true;
+						}
+					});
+			}, this, null, 0 );
+
+		this.parts.close.on( 'click', function( evt )
+				{
+					if ( this.fire( 'cancel', { hide : true } ).hide !== false )
+						this.hide();
+				}, this );
+
+		function changeFocus( forward )
+		{
+			var focusList = me._.focusList,
+				offset = forward ? 1 : -1;
+			if ( focusList.length < 1 )
+				return;
+
+			var startIndex = ( me._.currentFocusIndex + offset + focusList.length ) % focusList.length,
+				currentIndex = startIndex;
+			while ( !focusList[ currentIndex ].isFocusable() )
+			{
+				currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
+				if ( currentIndex == startIndex )
+					break;
+			}
+			focusList[ currentIndex ].focus();
+
+			// Select whole field content.
+			if ( focusList[ currentIndex ].type == 'text' )
+				focusList[ currentIndex ].select();
+		}
+
+		var processed;
+
+		function focusKeydownHandler( evt )
+		{
+			// If I'm not the top dialog, ignore.
+			if ( me != CKEDITOR.dialog._.currentTop )
+				return;
+
+			var keystroke = evt.data.getKeystroke();
+
+			processed = 0;
+			if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 )
+			{
+				var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 );
+
+				// Handling Tab and Shift-Tab.
+				if ( me._.tabBarMode )
+				{
+					// Change tabs.
+					var nextId = shiftPressed ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me );
+					me.selectPage( nextId );
+					me._.tabs[ nextId ][ 0 ].focus();
+				}
+				else
+				{
+					// Change the focus of inputs.
+					changeFocus( !shiftPressed );
+				}
+
+				processed = 1;
+			}
+			else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode )
+			{
+				// Alt-F10 puts focus into the current tab item in the tab bar.
+				me._.tabBarMode = true;
+				me._.tabs[ me._.currentTabId ][ 0 ].focus();
+				processed = 1;
+			}
+			else if ( ( keystroke == 37 || keystroke == 39 ) && me._.tabBarMode )
+			{
+				// Arrow keys - used for changing tabs.
+				nextId = ( keystroke == 37 ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ) );
+				me.selectPage( nextId );
+				me._.tabs[ nextId ][ 0 ].focus();
+				processed = 1;
+			}
+
+			if ( processed )
+			{
+				evt.stop();
+				evt.data.preventDefault();
+			}
+		}
+
+		function focusKeyPressHandler( evt )
+		{
+			processed && evt.data.preventDefault();
+		}
+
+		// Add the dialog keyboard handlers.
+		this.on( 'show', function()
+			{
+				CKEDITOR.document.on( 'keydown', focusKeydownHandler, this, null, 0 );
+				// Some browsers instead, don't cancel key events in the keydown, but in the
+				// keypress. So we must do a longer trip in those cases. (#4531)
+				if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+					CKEDITOR.document.on( 'keypress', focusKeyPressHandler, this );
+
+				if ( CKEDITOR.env.ie6Compat )
+				{
+					var coverDoc = coverElement.getChild( 0 ).getFrameDocument();
+					coverDoc.on( 'keydown', focusKeydownHandler, this, null, 0 );
+				}
+			} );
+		this.on( 'hide', function()
+			{
+				CKEDITOR.document.removeListener( 'keydown', focusKeydownHandler );
+				if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+					CKEDITOR.document.removeListener( 'keypress', focusKeyPressHandler );
+			} );
+		this.on( 'iframeAdded', function( evt )
+			{
+				var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document );
+				doc.on( 'keydown', focusKeydownHandler, this, null, 0 );
+			} );
+
+		// Auto-focus logic in dialog.
+		this.on( 'show', function()
+			{
+				if ( !this._.hasFocus )
+				{
+					this._.currentFocusIndex = -1;
+					changeFocus( true );
+
+					/*
+					 * IE BUG: If the initial focus went into a non-text element (e.g. button),
+					 * then IE would still leave the caret inside the editing area.
+					 */
+					if ( this._.editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
+					{
+						var $selection = editor.document.$.selection,
+							$range = $selection.createRange();
+
+						if ( $range )
+						{
+							if ( $range.parentElement && $range.parentElement().ownerDocument == editor.document.$
+							  || $range.item && $range.item( 0 ).ownerDocument == editor.document.$ )
+							{
+								var $myRange = document.body.createTextRange();
+								$myRange.moveToElementText( this.getElement().getFirst().$ );
+								$myRange.collapse( true );
+								$myRange.select();
+							}
+						}
+					}
+				}
+			}, this, null, 0xffffffff );
+
+		// IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661).
+		// This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken.
+		if ( CKEDITOR.env.ie6Compat )
+		{
+			this.on( 'load', function( evt )
+					{
+						var outer = this.getElement(),
+							inner = outer.getFirst();
+						inner.remove();
+						inner.appendTo( outer );
+					}, this );
+		}
+
+		initDragAndDrop( this );
+		initResizeHandles( this );
+
+		// Insert the title.
+		( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
+
+		// Insert the tabs and contents.
+		for ( var i = 0 ; i < definition.contents.length ; i++ )
+			this.addPage( definition.contents[i] );
+
+		var tabRegex = /cke_dialog_tab(\s|$|_)/,
+			tabOuterRegex = /cke_dialog_tab(\s|$)/;
+		this.parts['tabs'].on( 'click', function( evt )
+				{
+					var target = evt.data.getTarget(), firstNode = target, id, page;
+
+					// If we aren't inside a tab, bail out.
+					if ( !( tabRegex.test( target.$.className ) || target.getName() == 'a' ) )
+						return;
+
+					// Find the outer <td> container of the tab.
+					id = target.$.id.substr( 0, target.$.id.lastIndexOf( '_' ) );
+					this.selectPage( id );
+
+					if ( this._.tabBarMode )
+					{
+						this._.tabBarMode = false;
+						this._.currentFocusIndex = -1;
+						changeFocus( true );
+					}
+
+					evt.data.preventDefault();
+				}, this );
+
+		// Insert buttons.
+		var buttonsHtml = [],
+			buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this,
+				{
+					type : 'hbox',
+					className : 'cke_dialog_footer_buttons',
+					widths : [],
+					children : definition.buttons
+				}, buttonsHtml ).getChild();
+		this.parts.footer.setHtml( buttonsHtml.join( '' ) );
+
+		for ( i = 0 ; i < buttons.length ; i++ )
+			this._.buttons[ buttons[i].id ] = buttons[i];
+
+		CKEDITOR.skins.load( editor, 'dialog' );
+	};
+
+	// Focusable interface. Use it via dialog.addFocusable.
+	function Focusable( dialog, element, index )
+	{
+		this.element = element;
+		this.focusIndex = index;
+		this.isFocusable = function()
+		{
+			return !element.getAttribute( 'disabled' ) && element.isVisible();
+		};
+		this.focus = function()
+		{
+			dialog._.currentFocusIndex = this.focusIndex;
+			this.element.focus();
+		};
+		// Bind events
+		element.on( 'keydown', function( e )
+			{
+				if ( e.data.getKeystroke() in { 32:1, 13:1 }  )
+					this.fire( 'click' );
+			} );
+		element.on( 'focus', function()
+			{
+				this.fire( 'mouseover' );
+			} );
+		element.on( 'blur', function()
+			{
+				this.fire( 'mouseout' );
+			} );
+	}
+
+	CKEDITOR.dialog.prototype =
+	{
+		/**
+		 * Resizes the dialog.
+		 * @param {Number} width The width of the dialog in pixels.
+		 * @param {Number} height The height of the dialog in pixels.
+		 * @function
+		 * @example
+		 * dialogObj.resize( 800, 640 );
+		 */
+		resize : (function()
+		{
+			return function( width, height )
+			{
+				if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height )
+					return;
+
+				CKEDITOR.dialog.fire( 'resize',
+					{
+						dialog : this,
+						skin : this._.editor.skinName,
+						width : width,
+						height : height
+					}, this._.editor );
+
+				this._.contentSize = { width : width, height : height };
+				this._.updateSize = true;
+			};
+		})(),
+
+		/**
+		 * Gets the current size of the dialog in pixels.
+		 * @returns {Object} An object with "width" and "height" properties.
+		 * @example
+		 * var width = dialogObj.getSize().width;
+		 */
+		getSize : function()
+		{
+			if ( !this._.updateSize )
+				return this._.size;
+			var element = this._.element.getFirst();
+			var size = this._.size = { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};
+
+			// If either the offsetWidth or offsetHeight is 0, the element isn't visible.
+			this._.updateSize = !size.width || !size.height;
+
+			return size;
+		},
+
+		/**
+		 * Moves the dialog to an (x, y) coordinate relative to the window.
+		 * @function
+		 * @param {Number} x The target x-coordinate.
+		 * @param {Number} y The target y-coordinate.
+		 * @example
+		 * dialogObj.move( 10, 40 );
+		 */
+		move : (function()
+		{
+			var isFixed;
+			return function( x, y )
+			{
+				// The dialog may be fixed positioned or absolute positioned. Ask the
+				// browser what is the current situation first.
+				var element = this._.element.getFirst();
+				if ( isFixed === undefined )
+					isFixed = element.getComputedStyle( 'position' ) == 'fixed';
+
+				if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
+					return;
+
+				// Save the current position.
+				this._.position = { x : x, y : y };
+
+				// If not fixed positioned, add scroll position to the coordinates.
+				if ( !isFixed )
+				{
+					var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition();
+					x += scrollPosition.x;
+					y += scrollPosition.y;
+				}
+
+				element.setStyles(
+						{
+							'left'	: ( x > 0 ? x : 0 ) + 'px',
+							'top'	: ( y > 0 ? y : 0 ) + 'px'
+						});
+			};
+		})(),
+
+		/**
+		 * Gets the dialog's position in the window.
+		 * @returns {Object} An object with "x" and "y" properties.
+		 * @example
+		 * var dialogX = dialogObj.getPosition().x;
+		 */
+		getPosition : function(){ return CKEDITOR.tools.extend( {}, this._.position ); },
+
+		/**
+		 * Shows the dialog box.
+		 * @example
+		 * dialogObj.show();
+		 */
+		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;
+			var definition = this.definition;
+			if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) )
+				element.appendTo( CKEDITOR.document.getBody() );
+			else
+				return;
+
+			// FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8.
+			if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+			{
+				var dialogElement = this.parts.dialog;
+				dialogElement.setStyle( 'position', 'absolute' );
+				setTimeout( function()
+					{
+						dialogElement.setStyle( 'position', 'fixed' );
+					}, 0 );
+			}
+
+
+			// First, set the dialog to an appropriate size.
+			this.resize( definition.minWidth, definition.minHeight );
+
+			// Select the first tab by default.
+			this.selectPage( this.definition.contents[0].id );
+
+			// Reset all inputs back to their default value.
+			this.reset();
+
+			// Set z-index.
+			if ( CKEDITOR.dialog._.currentZIndex === null )
+				CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex;
+			this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
+
+			// Maintain the dialog ordering and dialog cover.
+			// Also register key handlers if first dialog.
+			if ( CKEDITOR.dialog._.currentTop === null )
+			{
+				CKEDITOR.dialog._.currentTop = this;
+				this._.parentDialog = null;
+				addCover( this._.editor );
+
+				element.on( 'keydown', accessKeyDownHandler );
+				element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
+
+				// Prevent some keys from bubbling up. (#4269)
+				for ( var event in { keyup :1, keydown :1, keypress :1 } )
+					element.on( event, preventKeyBubbling );
+			}
+			else
+			{
+				this._.parentDialog = CKEDITOR.dialog._.currentTop;
+				var parentElement = this._.parentDialog.getElement().getFirst();
+				parentElement.$.style.zIndex  -= Math.floor( this._.editor.config.baseFloatZIndex / 2 );
+				CKEDITOR.dialog._.currentTop = this;
+			}
+
+			// Register the Esc hotkeys.
+			registerAccessKey( this, this, '\x1b', null, function()
+					{
+						this.getButton( 'cancel' ) && this.getButton( 'cancel' ).click();
+					} );
+
+			// Reset the hasFocus state.
+			this._.hasFocus = false;
+
+			// Rearrange the dialog to the middle of the window.
+			CKEDITOR.tools.setTimeout( function()
+				{
+					var viewSize = CKEDITOR.document.getWindow().getViewPaneSize();
+					var dialogSize = this.getSize();
+
+					// We're using definition size for initial position because of
+					// offten corrupted data in offsetWidth at this point. (#4084)
+					this.move( ( viewSize.width - definition.minWidth ) / 2, ( viewSize.height - dialogSize.height ) / 2 );
+
+					this.parts.dialog.setStyle( 'visibility', '' );
+
+					// Execute onLoad for the first show.
+					this.fireOnce( 'load', {} );
+					this.fire( 'show', {} );
+					this._.editor.fire( 'dialogShow', this );
+
+					// Save the initial values of the dialog.
+					this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
+
+				},
+				100, this );
+		},
+
+		/**
+		 * Executes a function for each UI element.
+		 * @param {Function} fn Function to execute for each UI element.
+		 * @returns {CKEDITOR.dialog} The current dialog object.
+		 */
+		foreach : function( fn )
+		{
+			for ( var i in this._.contents )
+			{
+				for ( var j in this._.contents[i] )
+					fn( this._.contents[i][j]);
+			}
+			return this;
+		},
+
+		/**
+		 * Resets all input values in the dialog.
+		 * @example
+		 * dialogObj.reset();
+		 * @returns {CKEDITOR.dialog} The current dialog object.
+		 */
+		reset : (function()
+		{
+			var fn = function( widget ){ if ( widget.reset ) widget.reset(); };
+			return function(){ this.foreach( fn ); return this; };
+		})(),
+
+		setupContent : function()
+		{
+			var args = arguments;
+			this.foreach( function( widget )
+				{
+					if ( widget.setup )
+						widget.setup.apply( widget, args );
+				});
+		},
+
+		commitContent : function()
+		{
+			var args = arguments;
+			this.foreach( function( widget )
+				{
+					if ( widget.commit )
+						widget.commit.apply( widget, args );
+				});
+		},
+
+		/**
+		 * Hides the dialog box.
+		 * @example
+		 * dialogObj.hide();
+		 */
+		hide : function()
+		{
+			this.fire( 'hide', {} );
+			this._.editor.fire( 'dialogHide', this );
+
+			// Remove the dialog's element from the root document.
+			var element = this._.element;
+			if ( !element.getParent() )
+				return;
+
+			element.remove();
+			this.parts.dialog.setStyle( 'visibility', 'hidden' );
+
+			// Unregister all access keys associated with this dialog.
+			unregisterAccessKey( this );
+
+			// Maintain dialog ordering and remove cover if needed.
+			if ( !this._.parentDialog )
+				removeCover();
+			else
+			{
+				var parentElement = this._.parentDialog.getElement().getFirst();
+				parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
+			}
+			CKEDITOR.dialog._.currentTop = this._.parentDialog;
+
+			// Deduct or clear the z-index.
+			if ( !this._.parentDialog )
+			{
+				CKEDITOR.dialog._.currentZIndex = null;
+
+				// Remove access key handlers.
+				element.removeListener( 'keydown', accessKeyDownHandler );
+				element.removeListener( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
+
+				// Remove bubbling-prevention handler. (#4269)
+				for ( var event in { keyup :1, keydown :1, keypress :1 } )
+					element.removeListener( event, preventKeyBubbling );
+
+				var editor = this._.editor;
+				editor.focus();
+
+				if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
+				{
+					var selection = editor.getSelection();
+					selection && selection.unlock( true );
+				}
+			}
+			else
+				CKEDITOR.dialog._.currentZIndex -= 10;
+
+
+			// Reset the initial values of the dialog.
+			this.foreach( function( contentObj ) { contentObj.resetInitValue && contentObj.resetInitValue(); } );
+		},
+
+		/**
+		 * Adds a tabbed page into the dialog.
+		 * @param {Object} contents Content definition.
+		 * @example
+		 */
+		addPage : function( contents )
+		{
+			var pageHtml = [],
+				titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '',
+				elements = contents.elements,
+				vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this,
+						{
+							type : 'vbox',
+							className : 'cke_dialog_page_contents',
+							children : contents.elements,
+							expand : !!contents.expand,
+							padding : contents.padding,
+							style : contents.style || 'width: 100%;'
+						}, pageHtml );
+
+			// Create the HTML for the tab and the content block.
+			var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) );
+			var tab = CKEDITOR.dom.element.createFromHtml( [
+					'<a class="cke_dialog_tab"',
+						( this._.pageCount > 0 ? ' cke_last' : 'cke_first' ),
+						titleHtml,
+						( !!contents.hidden ? ' style="display:none"' : '' ),
+						' id="', contents.id + '_', CKEDITOR.tools.getNextNumber(), '"' +
+						' href="javascript:void(0)"',
+						' hidefocus="true">',
+							contents.label,
+					'</a>'
+				].join( '' ) );
+
+			// If only a single page exist, a different style is used in the central pane.
+			if ( this._.pageCount === 0 )
+				this.parts.dialog.addClass( 'cke_single_page' );
+			else
+				this.parts.dialog.removeClass( 'cke_single_page' );
+
+			// Take records for the tabs and elements created.
+			this._.tabs[ contents.id ] = [ tab, page ];
+			this._.tabIdList.push( contents.id );
+			this._.pageCount++;
+			this._.lastTab = tab;
+
+			var contentMap = this._.contents[ contents.id ] = {},
+				cursor,
+				children = vbox.getChild();
+
+			while ( ( cursor = children.shift() ) )
+			{
+				contentMap[ cursor.id ] = cursor;
+				if ( typeof( cursor.getChild ) == 'function' )
+					children.push.apply( children, cursor.getChild() );
+			}
+
+			// Attach the DOM nodes.
+
+			page.setAttribute( 'name', contents.id );
+			page.appendTo( this.parts.contents );
+
+			tab.unselectable();
+			this.parts.tabs.append( tab );
+
+			// Add access key handlers if access key is defined.
+			if ( contents.accessKey )
+			{
+				registerAccessKey( this, this, 'CTRL+' + contents.accessKey,
+					tabAccessKeyDown, tabAccessKeyUp );
+				this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id;
+			}
+		},
+
+		/**
+		 * Activates a tab page in the dialog by its id.
+		 * @param {String} id The id of the dialog tab to be activated.
+		 * @example
+		 * dialogObj.selectPage( 'tab_1' );
+		 */
+		selectPage : function( id )
+		{
+			// Hide the non-selected tabs and pages.
+			for ( var i in this._.tabs )
+			{
+				var tab = this._.tabs[i][0],
+					page = this._.tabs[i][1];
+				if ( i != id )
+				{
+					tab.removeClass( 'cke_dialog_tab_selected' );
+					page.hide();
+				}
+			}
+
+			var selected = this._.tabs[id];
+			selected[0].addClass( 'cke_dialog_tab_selected' );
+			selected[1].show();
+			this._.currentTabId = id;
+			this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id );
+		},
+
+		/**
+		 * Hides a page's tab away from the dialog.
+		 * @param {String} id The page's Id.
+		 * @example
+		 * dialog.hidePage( 'tab_3' );
+		 */
+		hidePage : function( id )
+		{
+			var tab = this._.tabs[id] && this._.tabs[id][0];
+			if ( !tab )
+				return;
+			tab.hide();
+		},
+
+		/**
+		 * Unhides a page's tab.
+		 * @param {String} id The page's Id.
+		 * @example
+		 * dialog.showPage( 'tab_2' );
+		 */
+		showPage : function( id )
+		{
+			var tab = this._.tabs[id] && this._.tabs[id][0];
+			if ( !tab )
+				return;
+			tab.show();
+		},
+
+		/**
+		 * Gets the root DOM element of the dialog.
+		 * @returns {CKEDITOR.dom.element} The &lt;span&gt; element containing this dialog.
+		 * @example
+		 * var dialogElement = dialogObj.getElement().getFirst();
+		 * dialogElement.setStyle( 'padding', '5px' );
+		 */
+		getElement : function()
+		{
+			return this._.element;
+		},
+
+		/**
+		 * Gets the name of the dialog.
+		 * @returns {String} The name of this dialog.
+		 * @example
+		 * var dialogName = dialogObj.getName();
+		 */
+		getName : function()
+		{
+			return this._.name;
+		},
+
+		/**
+		 * Gets a dialog UI element object from a dialog page.
+		 * @param {String} pageId id of dialog page.
+		 * @param {String} elementId id of UI element.
+		 * @example
+		 * @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element.
+		 */
+		getContentElement : function( pageId, elementId )
+		{
+			return this._.contents[pageId][elementId];
+		},
+
+		/**
+		 * Gets the value of a dialog UI element.
+		 * @param {String} pageId id of dialog page.
+		 * @param {String} elementId id of UI element.
+		 * @example
+		 * @returns {Object} The value of the UI element.
+		 */
+		getValueOf : function( pageId, elementId )
+		{
+			return this.getContentElement( pageId, elementId ).getValue();
+		},
+
+		/**
+		 * Sets the value of a dialog UI element.
+		 * @param {String} pageId id of the dialog page.
+		 * @param {String} elementId id of the UI element.
+		 * @param {Object} value The new value of the UI element.
+		 * @example
+		 */
+		setValueOf : function( pageId, elementId, value )
+		{
+			return this.getContentElement( pageId, elementId ).setValue( value );
+		},
+
+		/**
+		 * Gets the UI element of a button in the dialog's button row.
+		 * @param {String} id The id of the button.
+		 * @example
+		 * @returns {CKEDITOR.ui.dialog.button} The button object.
+		 */
+		getButton : function( id )
+		{
+			return this._.buttons[ id ];
+		},
+
+		/**
+		 * Simulates a click to a dialog button in the dialog's button row.
+		 * @param {String} id The id of the button.
+		 * @example
+		 * @returns The return value of the dialog's "click" event.
+		 */
+		click : function( id )
+		{
+			return this._.buttons[ id ].click();
+		},
+
+		/**
+		 * Disables a dialog button.
+		 * @param {String} id The id of the button.
+		 * @example
+		 */
+		disableButton : function( id )
+		{
+			return this._.buttons[ id ].disable();
+		},
+
+		/**
+		 * Enables a dialog button.
+		 * @param {String} id The id of the button.
+		 * @example
+		 */
+		enableButton : function( id )
+		{
+			return this._.buttons[ id ].enable();
+		},
+
+		/**
+		 * Gets the number of pages in the dialog.
+		 * @returns {Number} Page count.
+		 */
+		getPageCount : function()
+		{
+			return this._.pageCount;
+		},
+
+		/**
+		 * Gets the editor instance which opened this dialog.
+		 * @returns {CKEDITOR.editor} Parent editor instances.
+		 */
+		getParentEditor : function()
+		{
+			return this._.editor;
+		},
+
+		/**
+		 * Gets the element that was selected when opening the dialog, if any.
+		 * @returns {CKEDITOR.dom.element} The element that was selected, or null.
+		 */
+		getSelectedElement : function()
+		{
+			return this.getParentEditor().getSelection().getSelectedElement();
+		},
+
+		/**
+		 * Adds element to dialog's focusable list.
+		 *
+		 * @param {CKEDITOR.dom.element} element
+		 * @param {Number} [index]
+		 */
+		addFocusable: function( element, index ) {
+			if ( typeof index == 'undefined' )
+			{
+				index = this._.focusList.length;
+				this._.focusList.push( new Focusable( this, element, index ) );
+			}
+			else
+			{
+				this._.focusList.splice( index, 0, new Focusable( this, element, index ) );
+				for ( var i = index + 1 ; i < this._.focusList.length ; i++ )
+					this._.focusList[ i ].focusIndex++;
+			}
+		}
+	};
+
+	CKEDITOR.tools.extend( CKEDITOR.dialog,
+		/**
+		 * @lends CKEDITOR.dialog
+		 */
+		{
+			/**
+			 * Registers a dialog.
+			 * @param {String} name The dialog's name.
+			 * @param {Function|String} dialogDefinition
+			 * A function returning the dialog's definition, or the URL to the .js file holding the function.
+			 * The function should accept an argument "editor" which is the current editor instance, and
+			 * return an object conforming to {@link CKEDITOR.dialog.dialogDefinition}.
+			 * @example
+			 * @see CKEDITOR.dialog.dialogDefinition
+			 */
+			add : function( name, dialogDefinition )
+			{
+				// Avoid path registration from multiple instances override definition.
+				if ( !this._.dialogDefinitions[name]
+					|| typeof  dialogDefinition == 'function' )
+					this._.dialogDefinitions[name] = dialogDefinition;
+			},
+
+			exists : function( name )
+			{
+				return !!this._.dialogDefinitions[ name ];
+			},
+
+			getCurrent : function()
+			{
+				return CKEDITOR.dialog._.currentTop;
+			},
+
+			/**
+			 * The default OK button for dialogs. Fires the "ok" event and closes the dialog if the event succeeds.
+			 * @static
+			 * @field
+			 * @example
+			 * @type Function
+			 */
+			okButton : (function()
+			{
+				var retval = function( editor, override )
+				{
+					override = override || {};
+					return CKEDITOR.tools.extend( {
+						id : 'ok',
+						type : 'button',
+						label : editor.lang.common.ok,
+						'class' : 'cke_dialog_ui_button_ok',
+						onClick : function( evt )
+						{
+							var dialog = evt.data.dialog;
+							if ( dialog.fire( 'ok', { hide : true } ).hide !== false )
+								dialog.hide();
+						}
+					}, override, true );
+				};
+				retval.type = 'button';
+				retval.override = function( override )
+				{
+					return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
+							{ type : 'button' }, true );
+				};
+				return retval;
+			})(),
+
+			/**
+			 * The default cancel button for dialogs. Fires the "cancel" event and closes the dialog if no UI element value changed.
+			 * @static
+			 * @field
+			 * @example
+			 * @type Function
+			 */
+			cancelButton : (function()
+			{
+				var retval = function( editor, override )
+				{
+					override = override || {};
+					return CKEDITOR.tools.extend( {
+						id : 'cancel',
+						type : 'button',
+						label : editor.lang.common.cancel,
+						'class' : 'cke_dialog_ui_button_cancel',
+						onClick : function( evt )
+						{
+							var dialog = evt.data.dialog;
+							if ( dialog.fire( 'cancel', { hide : true } ).hide !== false )
+								dialog.hide();
+						}
+					}, override, true );
+				};
+				retval.type = 'button';
+				retval.override = function( override )
+				{
+					return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
+							{ type : 'button' }, true );
+				};
+				return retval;
+			})(),
+
+			/**
+			 * Registers a dialog UI element.
+			 * @param {String} typeName The name of the UI element.
+			 * @param {Function} builder The function to build the UI element.
+			 * @example
+			 */
+			addUIElement : function( typeName, builder )
+			{
+				this._.uiElementBuilders[ typeName ] = builder;
+			}
+		});
+
+	CKEDITOR.dialog._ =
+	{
+		uiElementBuilders : {},
+
+		dialogDefinitions : {},
+
+		currentTop : null,
+
+		currentZIndex : null
+	};
+
+	// "Inherit" (copy actually) from CKEDITOR.event.
+	CKEDITOR.event.implementOn( CKEDITOR.dialog );
+	CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype, true );
+
+	var defaultDialogDefinition =
+	{
+		resizable : CKEDITOR.DIALOG_RESIZE_NONE,
+		minWidth : 600,
+		minHeight : 400,
+		buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
+	};
+
+	// Tool function used to return an item from an array based on its id
+	// property.
+	var getById = function( array, id, recurse )
+	{
+		for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+		{
+			if ( item.id == id )
+				return item;
+			if ( recurse && item[ recurse ] )
+			{
+				var retval = getById( item[ recurse ], id, recurse ) ;
+				if ( retval )
+					return retval;
+			}
+		}
+		return null;
+	};
+
+	// Tool function used to add an item into an array.
+	var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound )
+	{
+		if ( nextSiblingId )
+		{
+			for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+			{
+				if ( item.id == nextSiblingId )
+				{
+					array.splice( i, 0, newItem );
+					return newItem;
+				}
+
+				if ( recurse && item[ recurse ] )
+				{
+					var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true );
+					if ( retval )
+						return retval;
+				}
+			}
+
+			if ( nullIfNotFound )
+				return null;
+		}
+
+		array.push( newItem );
+		return newItem;
+	};
+
+	// Tool function used to remove an item from an array based on its id.
+	var removeById = function( array, id, recurse )
+	{
+		for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+		{
+			if ( item.id == id )
+				return array.splice( i, 1 );
+			if ( recurse && item[ recurse ] )
+			{
+				var retval = removeById( item[ recurse ], id, recurse );
+				if ( retval )
+					return retval;
+			}
+		}
+		return null;
+	};
+
+	/**
+	 * This class is not really part of the API. It is the "definition" property value
+	 * passed to "dialogDefinition" event handlers.
+	 * @constructor
+	 * @name CKEDITOR.dialog.dialogDefinitionObject
+	 * @extends CKEDITOR.dialog.dialogDefinition
+	 * @example
+	 * CKEDITOR.on( 'dialogDefinition', function( evt )
+	 * 	{
+	 * 		var definition = evt.data.definition;
+	 * 		var content = definition.getContents( 'page1' );
+	 * 		...
+	 * 	} );
+	 */
+	var definitionObject = function( dialog, dialogDefinition )
+	{
+		// TODO : Check if needed.
+		this.dialog = dialog;
+
+		// Transform the contents entries in contentObjects.
+		var contents = dialogDefinition.contents;
+		for ( var i = 0, content ; ( content = contents[i] ) ; i++ )
+			contents[ i ] = new contentObject( dialog, content );
+
+		CKEDITOR.tools.extend( this, dialogDefinition );
+	};
+
+	definitionObject.prototype =
+	/** @lends CKEDITOR.dialog.dialogDefinitionObject.prototype */
+	{
+		/**
+		 * Gets a content definition.
+		 * @param {String} id The id of the content definition.
+		 * @returns {CKEDITOR.dialog.contentDefinition} The content definition
+		 *		matching id.
+		 */
+		getContents : function( id )
+		{
+			return getById( this.contents, id );
+		},
+
+		/**
+		 * Gets a button definition.
+		 * @param {String} id The id of the button definition.
+		 * @returns {CKEDITOR.dialog.buttonDefinition} The button definition
+		 *		matching id.
+		 */
+		getButton : function( id )
+		{
+			return getById( this.buttons, id );
+		},
+
+		/**
+		 * Adds a content definition object under this dialog definition.
+		 * @param {CKEDITOR.dialog.contentDefinition} contentDefinition The
+		 *		content definition.
+		 * @param {String} [nextSiblingId] The id of an existing content
+		 *		definition which the new content definition will be inserted
+		 *		before. Omit if the new content definition is to be inserted as
+		 *		the last item.
+		 * @returns {CKEDITOR.dialog.contentDefinition} The inserted content
+		 *		definition.
+		 */
+		addContents : function( contentDefinition, nextSiblingId )
+		{
+			return addById( this.contents, contentDefinition, nextSiblingId );
+		},
+
+		/**
+		 * Adds a button definition object under this dialog definition.
+		 * @param {CKEDITOR.dialog.buttonDefinition} buttonDefinition The
+		 *		button definition.
+		 * @param {String} [nextSiblingId] The id of an existing button
+		 *		definition which the new button definition will be inserted
+		 *		before. Omit if the new button definition is to be inserted as
+		 *		the last item.
+		 * @returns {CKEDITOR.dialog.buttonDefinition} The inserted button
+		 *		definition.
+		 */
+		addButton : function( buttonDefinition, nextSiblingId )
+		{
+			return addById( this.buttons, buttonDefinition, nextSiblingId );
+		},
+
+		/**
+		 * Removes a content definition from this dialog definition.
+		 * @param {String} id The id of the content definition to be removed.
+		 * @returns {CKEDITOR.dialog.contentDefinition} The removed content
+		 *		definition.
+		 */
+		removeContents : function( id )
+		{
+			removeById( this.contents, id );
+		},
+
+		/**
+		 * Removes a button definition from the dialog definition.
+		 * @param {String} id The id of the button definition to be removed.
+		 * @returns {CKEDITOR.dialog.buttonDefinition} The removed button
+		 *		definition.
+		 */
+		removeButton : function( id )
+		{
+			removeById( this.buttons, id );
+		}
+	};
+
+	/**
+	 * This class is not really part of the API. It is the template of the
+	 * objects representing content pages inside the
+	 * CKEDITOR.dialog.dialogDefinitionObject.
+	 * @constructor
+	 * @name CKEDITOR.dialog.contentDefinitionObject
+	 * @example
+	 * CKEDITOR.on( 'dialogDefinition', function( evt )
+	 * 	{
+	 * 		var definition = evt.data.definition;
+	 * 		var content = definition.getContents( 'page1' );
+	 *		content.remove( 'textInput1' );
+	 * 		...
+	 * 	} );
+	 */
+	function contentObject( dialog, contentDefinition )
+	{
+		this._ =
+		{
+			dialog : dialog
+		};
+
+		CKEDITOR.tools.extend( this, contentDefinition );
+	}
+
+	contentObject.prototype =
+	/** @lends CKEDITOR.dialog.contentDefinitionObject.prototype */
+	{
+		/**
+		 * Gets a UI element definition under the content definition.
+		 * @param {String} id The id of the UI element definition.
+		 * @returns {CKEDITOR.dialog.uiElementDefinition}
+		 */
+		get : function( id )
+		{
+			return getById( this.elements, id, 'children' );
+		},
+
+		/**
+		 * Adds a UI element definition to the content definition.
+		 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition The
+		 *		UI elemnet definition to be added.
+		 * @param {String} nextSiblingId The id of an existing UI element
+		 *		definition which the new UI element definition will be inserted
+		 *		before. Omit if the new button definition is to be inserted as
+		 *		the last item.
+		 * @returns {CKEDITOR.dialog.uiElementDefinition} The element
+		 *		definition inserted.
+		 */
+		add : function( elementDefinition, nextSiblingId )
+		{
+			return addById( this.elements, elementDefinition, nextSiblingId, 'children' );
+		},
+
+		/**
+		 * Removes a UI element definition from the content definition.
+		 * @param {String} id The id of the UI element definition to be
+		 *		removed.
+		 * @returns {CKEDITOR.dialog.uiElementDefinition} The element
+		 *		definition removed.
+		 * @example
+		 */
+		remove : function( id )
+		{
+			removeById( this.elements, id, 'children' );
+		}
+	};
+
+	function initDragAndDrop( dialog )
+	{
+		var lastCoords = null,
+			abstractDialogCoords = null,
+			element = dialog.getElement().getFirst(),
+			editor = dialog.getParentEditor(),
+			magnetDistance = editor.config.dialog_magnetDistance,
+			margins = editor.skin.margins || [ 0, 0, 0, 0 ];
+
+		if ( typeof magnetDistance == 'undefined' )
+			magnetDistance = 20;
+
+		function mouseMoveHandler( evt )
+		{
+			var dialogSize = dialog.getSize(),
+				viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
+				x = evt.data.$.screenX,
+				y = evt.data.$.screenY,
+				dx = x - lastCoords.x,
+				dy = y - lastCoords.y,
+				realX, realY;
+
+			lastCoords = { x : x, y : y };
+			abstractDialogCoords.x += dx;
+			abstractDialogCoords.y += dy;
+
+			if ( abstractDialogCoords.x + margins[3] < magnetDistance )
+				realX = - margins[3];
+			else if ( abstractDialogCoords.x - margins[1] > viewPaneSize.width - dialogSize.width - magnetDistance )
+				realX = viewPaneSize.width - dialogSize.width + margins[1];
+			else
+				realX = abstractDialogCoords.x;
+
+			if ( abstractDialogCoords.y + margins[0] < magnetDistance )
+				realY = - margins[0];
+			else if ( abstractDialogCoords.y - margins[2] > viewPaneSize.height - dialogSize.height - magnetDistance )
+				realY = viewPaneSize.height - dialogSize.height + margins[2];
+			else
+				realY = abstractDialogCoords.y;
+
+			dialog.move( realX, realY );
+
+			evt.data.preventDefault();
+		}
+
+		function mouseUpHandler( evt )
+		{
+			CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
+			CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
+
+			if ( CKEDITOR.env.ie6Compat )
+			{
+				var coverDoc = coverElement.getChild( 0 ).getFrameDocument();
+				coverDoc.removeListener( 'mousemove', mouseMoveHandler );
+				coverDoc.removeListener( 'mouseup', mouseUpHandler );
+			}
+		}
+
+		dialog.parts.title.on( 'mousedown', function( evt )
+			{
+				dialog._.updateSize = true;
+
+				lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
+
+				CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
+				CKEDITOR.document.on( 'mouseup', mouseUpHandler );
+				abstractDialogCoords = dialog.getPosition();
+
+				if ( CKEDITOR.env.ie6Compat )
+				{
+					var coverDoc = coverElement.getChild( 0 ).getFrameDocument();
+					coverDoc.on( 'mousemove', mouseMoveHandler );
+					coverDoc.on( 'mouseup', mouseUpHandler );
+				}
+
+				evt.data.preventDefault();
+			}, dialog );
+	}
+
+	function initResizeHandles( dialog )
+	{
+		var definition = dialog.definition,
+			minWidth = definition.minWidth || 0,
+			minHeight = definition.minHeight || 0,
+			resizable = definition.resizable,
+			margins = dialog.getParentEditor().skin.margins || [ 0, 0, 0, 0 ];
+
+		function topSizer( coords, dy )
+		{
+			coords.y += dy;
+		}
+
+		function rightSizer( coords, dx )
+		{
+			coords.x2 += dx;
+		}
+
+		function bottomSizer( coords, dy )
+		{
+			coords.y2 += dy;
+		}
+
+		function leftSizer( coords, dx )
+		{
+			coords.x += dx;
+		}
+
+		var lastCoords = null,
+			abstractDialogCoords = null,
+			magnetDistance = dialog._.editor.config.magnetDistance,
+			parts = [ 'tl', 't', 'tr', 'l', 'r', 'bl', 'b', 'br' ];
+
+		function mouseDownHandler( evt )
+		{
+			var partName = evt.listenerData.part, size = dialog.getSize();
+			abstractDialogCoords = dialog.getPosition();
+			CKEDITOR.tools.extend( abstractDialogCoords,
+				{
+					x2 : abstractDialogCoords.x + size.width,
+					y2 : abstractDialogCoords.y + size.height
+				} );
+			lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
+
+			CKEDITOR.document.on( 'mousemove', mouseMoveHandler, dialog, { part : partName } );
+			CKEDITOR.document.on( 'mouseup', mouseUpHandler, dialog, { part : partName } );
+
+			if ( CKEDITOR.env.ie6Compat )
+			{
+				var coverDoc = coverElement.getChild( 0 ).getFrameDocument();
+				coverDoc.on( 'mousemove', mouseMoveHandler, dialog, { part : partName } );
+				coverDoc.on( 'mouseup', mouseUpHandler, dialog, { part : partName } );
+			}
+
+			evt.data.preventDefault();
+		}
+
+		function mouseMoveHandler( evt )
+		{
+			var x = evt.data.$.screenX,
+				y = evt.data.$.screenY,
+				dx = x - lastCoords.x,
+				dy = y - lastCoords.y,
+				viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
+				partName = evt.listenerData.part;
+
+			if ( partName.search( 't' ) != -1 )
+				topSizer( abstractDialogCoords, dy );
+			if ( partName.search( 'l' ) != -1 )
+				leftSizer( abstractDialogCoords, dx );
+			if ( partName.search( 'b' ) != -1 )
+				bottomSizer( abstractDialogCoords, dy );
+			if ( partName.search( 'r' ) != -1 )
+				rightSizer( abstractDialogCoords, dx );
+
+			lastCoords = { x : x, y : y };
+
+			var realX, realY, realX2, realY2;
+
+			if ( abstractDialogCoords.x + margins[3] < magnetDistance )
+				realX = - margins[3];
+			else if ( partName.search( 'l' ) != -1 && abstractDialogCoords.x2 - abstractDialogCoords.x < minWidth + magnetDistance )
+				realX = abstractDialogCoords.x2 - minWidth;
+			else
+				realX = abstractDialogCoords.x;
+
+			if ( abstractDialogCoords.y + margins[0] < magnetDistance )
+				realY = - margins[0];
+			else if ( partName.search( 't' ) != -1 && abstractDialogCoords.y2 - abstractDialogCoords.y < minHeight + magnetDistance )
+				realY = abstractDialogCoords.y2 - minHeight;
+			else
+				realY = abstractDialogCoords.y;
+
+			if ( abstractDialogCoords.x2 - margins[1] > viewPaneSize.width - magnetDistance )
+				realX2 = viewPaneSize.width + margins[1] ;
+			else if ( partName.search( 'r' ) != -1 && abstractDialogCoords.x2 - abstractDialogCoords.x < minWidth + magnetDistance )
+				realX2 = abstractDialogCoords.x + minWidth;
+			else
+				realX2 = abstractDialogCoords.x2;
+
+			if ( abstractDialogCoords.y2 - margins[2] > viewPaneSize.height - magnetDistance )
+				realY2= viewPaneSize.height + margins[2] ;
+			else if ( partName.search( 'b' ) != -1 && abstractDialogCoords.y2 - abstractDialogCoords.y < minHeight + magnetDistance )
+				realY2 = abstractDialogCoords.y + minHeight;
+			else
+				realY2 = abstractDialogCoords.y2 ;
+
+			dialog.move( realX, realY );
+			dialog.resize( realX2 - realX, realY2 - realY );
+
+			evt.data.preventDefault();
+		}
+
+		function mouseUpHandler( evt )
+		{
+			CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
+			CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
+
+			if ( CKEDITOR.env.ie6Compat )
+			{
+				var coverDoc = coverElement.getChild( 0 ).getFrameDocument();
+				coverDoc.removeListener( 'mouseup', mouseUpHandler );
+				coverDoc.removeListener( 'mousemove', mouseMoveHandler );
+			}
+		}
+
+// TODO : Simplify the resize logic, having just a single resize grip <div>.
+//		var widthTest = /[lr]/,
+//			heightTest = /[tb]/;
+//		for ( var i = 0 ; i < parts.length ; i++ )
+//		{
+//			var element = dialog.parts[ parts[i] + '_resize' ];
+//			if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE ||
+//					resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT && widthTest.test( parts[i] ) ||
+//			  		resizable == CKEDITOR.DIALOG_RESIZE_WIDTH && heightTest.test( parts[i] ) )
+//			{
+//				element.hide();
+//				continue;
+//			}
+//			element.on( 'mousedown', mouseDownHandler, dialog, { part : parts[i] } );
+//		}
+	}
+
+	var resizeCover;
+	var coverElement;
+
+	var addCover = function( editor )
+	{
+		var win = CKEDITOR.document.getWindow();
+
+		if ( !coverElement )
+		{
+			var backgroundColorStyle = editor.config.dialog_backgroundCoverColor || 'white';
+
+			var html = [
+					'<div style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
+					'; z-index: ', editor.config.baseFloatZIndex,
+					'; top: 0px; left: 0px; ',
+					( !CKEDITOR.env.ie6Compat ? 'background-color: ' + backgroundColorStyle : '' ),
+					'" id="cke_dialog_background_cover">'
+				];
+
+
+			if ( CKEDITOR.env.ie6Compat )
+			{
+				// Support for custom document.domain in IE.
+				var isCustomDomain = CKEDITOR.env.isCustomDomain(),
+					iframeHtml = '<html><body style=\\\'background-color:' + backgroundColorStyle + ';\\\'></body></html>';
+
+				html.push(
+					'<iframe' +
+						' hidefocus="true"' +
+						' frameborder="0"' +
+						' id="cke_dialog_background_iframe"' +
+						' src="javascript:' );
+
+				html.push( 'void((function(){' +
+								'document.open();' +
+								( isCustomDomain ? 'document.domain=\'' + document.domain + '\';' : '' ) +
+								'document.write( \'' + iframeHtml + '\' );' +
+								'document.close();' +
+							'})())' );
+
+				html.push(
+						'"' +
+						' style="' +
+							'position:absolute;' +
+							'left:0;' +
+							'top:0;' +
+							'width:100%;' +
+							'height: 100%;' +
+							'progid:DXImageTransform.Microsoft.Alpha(opacity=0)">' +
+					'</iframe>' );
+			}
+
+			html.push( '</div>' );
+
+			coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) );
+		}
+
+		var element = coverElement;
+
+		var resizeFunc = function()
+		{
+			var size = win.getViewPaneSize();
+			element.setStyles(
+				{
+					width : size.width + 'px',
+					height : size.height + 'px'
+				} );
+		};
+
+		var scrollFunc = function()
+		{
+			var pos = win.getScrollPosition(),
+				cursor = CKEDITOR.dialog._.currentTop;
+			element.setStyles(
+					{
+						left : pos.x + 'px',
+						top : pos.y + 'px'
+					});
+
+			do
+			{
+				var dialogPos = cursor.getPosition();
+				cursor.move( dialogPos.x, dialogPos.y );
+			} while( ( cursor = cursor._.parentDialog ) );
+		};
+
+		resizeCover = resizeFunc;
+		win.on( 'resize', resizeFunc );
+		resizeFunc();
+		if ( CKEDITOR.env.ie6Compat )
+		{
+			// IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll.
+			// So we need to invent a really funny way to make it work.
+			var myScrollHandler = function()
+				{
+					scrollFunc();
+					arguments.callee.prevScrollHandler.apply( this, arguments );
+				};
+			win.$.setTimeout( function()
+				{
+					myScrollHandler.prevScrollHandler = window.onscroll || function(){};
+					window.onscroll = myScrollHandler;
+				}, 0 );
+			scrollFunc();
+		}
+
+		var opacity = editor.config.dialog_backgroundCoverOpacity;
+		element.setOpacity( typeof opacity != 'undefined' ? opacity : 0.5 );
+
+		element.appendTo( CKEDITOR.document.getBody() );
+	};
+
+	var removeCover = function()
+	{
+		if ( !coverElement )
+			return;
+
+		var win = CKEDITOR.document.getWindow();
+		coverElement.remove();
+		win.removeListener( 'resize', resizeCover );
+
+		if ( CKEDITOR.env.ie6Compat )
+		{
+			win.$.setTimeout( function()
+				{
+					var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler;
+					window.onscroll = prevScrollHandler || null;
+				}, 0 );
+		}
+		resizeCover = null;
+	};
+
+	var accessKeyProcessors = {};
+
+	var accessKeyDownHandler = function( evt )
+	{
+		var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
+			alt = evt.data.$.altKey,
+			shift = evt.data.$.shiftKey,
+			key = String.fromCharCode( evt.data.$.keyCode ),
+			keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
+
+		if ( !keyProcessor || !keyProcessor.length )
+			return;
+
+		keyProcessor = keyProcessor[keyProcessor.length - 1];
+		keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
+		evt.data.preventDefault();
+	};
+
+	var accessKeyUpHandler = function( evt )
+	{
+		var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
+			alt = evt.data.$.altKey,
+			shift = evt.data.$.shiftKey,
+			key = String.fromCharCode( evt.data.$.keyCode ),
+			keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
+
+		if ( !keyProcessor || !keyProcessor.length )
+			return;
+
+		keyProcessor = keyProcessor[keyProcessor.length - 1];
+		if ( keyProcessor.keyup )
+		{
+			keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
+			evt.data.preventDefault();
+		}
+	};
+
+	var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc )
+	{
+		var procList = accessKeyProcessors[key] || ( accessKeyProcessors[key] = [] );
+		procList.push( {
+				uiElement : uiElement,
+				dialog : dialog,
+				key : key,
+				keyup : upFunc || uiElement.accessKeyUp,
+				keydown : downFunc || uiElement.accessKeyDown
+			} );
+	};
+
+	var unregisterAccessKey = function( obj )
+	{
+		for ( var i in accessKeyProcessors )
+		{
+			var list = accessKeyProcessors[i];
+			for ( var j = list.length - 1 ; j >= 0 ; j-- )
+			{
+				if ( list[j].dialog == obj || list[j].uiElement == obj )
+					list.splice( j, 1 );
+			}
+			if ( list.length === 0 )
+				delete accessKeyProcessors[i];
+		}
+	};
+
+	var tabAccessKeyUp = function( dialog, key )
+	{
+		if ( dialog._.accessKeyMap[key] )
+			dialog.selectPage( dialog._.accessKeyMap[key] );
+	};
+
+	var tabAccessKeyDown = function( dialog, key )
+	{
+	};
+
+	// ESC, ENTER
+	var preventKeyBubblingKeys = { 27 :1, 13 :1 };
+	var preventKeyBubbling = function( e )
+	{
+		if ( e.data.getKeystroke() in preventKeyBubblingKeys )
+			e.data.stopPropagation();
+	};
+
+	(function()
+	{
+		CKEDITOR.ui.dialog =
+		{
+			/**
+			 * The base class of all dialog UI elements.
+			 * @constructor
+			 * @param {CKEDITOR.dialog} dialog Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition Element
+			 * definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>id</strong> (Required) The id of the UI element. See {@link
+			 * 	CKEDITOR.dialog#getContentElement}</li>
+			 * 	<li><strong>type</strong> (Required) The type of the UI element. The
+			 * 	value to this field specifies which UI element class will be used to
+			 * 	generate the final widget.</li>
+			 * 	<li><strong>title</strong> (Optional) The popup tooltip for the UI
+			 * 	element.</li>
+			 * 	<li><strong>hidden</strong> (Optional) A flag that tells if the element
+			 * 	should be initially visible.</li>
+			 * 	<li><strong>className</strong> (Optional) Additional CSS class names
+			 * 	to add to the UI element. Separated by space.</li>
+			 * 	<li><strong>style</strong> (Optional) Additional CSS inline styles
+			 * 	to add to the UI element. A semicolon (;) is required after the last
+			 * 	style declaration.</li>
+			 * 	<li><strong>accessKey</strong> (Optional) The alphanumeric access key
+			 * 	for this element. Access keys are automatically prefixed by CTRL.</li>
+			 * 	<li><strong>on*</strong> (Optional) Any UI element definition field that
+			 * 	starts with <em>on</em> followed immediately by a capital letter and
+			 * 	probably more letters is an event handler. Event handlers may be further
+			 * 	divided into registered event handlers and DOM event handlers. Please
+			 * 	refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and
+			 * 	{@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more
+			 * 	information.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to be added to the dialog's content area.
+			 * @param {Function|String} nodeNameArg
+			 * A function returning a string, or a simple string for the node name for
+			 * the root DOM node. Default is 'div'.
+			 * @param {Function|Object} stylesArg
+			 * A function returning an object, or a simple object for CSS styles applied
+			 * to the DOM node. Default is empty object.
+			 * @param {Function|Object} attributesArg
+			 * A fucntion returning an object, or a simple object for attributes applied
+			 * to the DOM node. Default is empty object.
+			 * @param {Function|String} contentsArg
+			 * A function returning a string, or a simple string for the HTML code inside
+			 * the root DOM node. Default is empty string.
+			 * @example
+			 */
+			uiElement : function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg )
+			{
+				if ( arguments.length < 4 )
+					return;
+
+				var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div',
+					html = [ '<', nodeName, ' ' ],
+					styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {},
+					attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {},
+					innerHTML = ( contentsArg && contentsArg.call ? contentsArg( dialog, elementDefinition ) : contentsArg ) || '',
+					domId = this.domId = attributes.id || CKEDITOR.tools.getNextNumber() + '_uiElement',
+					id = this.id = elementDefinition.id,
+					i;
+
+				// Set the id, a unique id is required for getElement() to work.
+				attributes.id = domId;
+
+				// Set the type and definition CSS class names.
+				var classes = {};
+				if ( elementDefinition.type )
+					classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1;
+				if ( elementDefinition.className )
+					classes[ elementDefinition.className ] = 1;
+				var attributeClasses = ( attributes['class'] && attributes['class'].split ) ? attributes['class'].split( ' ' ) : [];
+				for ( i = 0 ; i < attributeClasses.length ; i++ )
+				{
+					if ( attributeClasses[i] )
+						classes[ attributeClasses[i] ] = 1;
+				}
+				var finalClasses = [];
+				for ( i in classes )
+					finalClasses.push( i );
+				attributes['class'] = finalClasses.join( ' ' );
+
+				// Set the popup tooltop.
+				if ( elementDefinition.title )
+					attributes.title = elementDefinition.title;
+
+				// Write the inline CSS styles.
+				var styleStr = ( elementDefinition.style || '' ).split( ';' );
+				for ( i in styles )
+					styleStr.push( i + ':' + styles[i] );
+				if ( elementDefinition.hidden )
+					styleStr.push( 'display:none' );
+				for ( i = styleStr.length - 1 ; i >= 0 ; i-- )
+				{
+					if ( styleStr[i] === '' )
+						styleStr.splice( i, 1 );
+				}
+				if ( styleStr.length > 0 )
+					attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' );
+
+				// Write the attributes.
+				for ( i in attributes )
+					html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ');
+
+				// Write the content HTML.
+				html.push( '>', innerHTML, '</', nodeName, '>' );
+
+				// Add contents to the parent HTML array.
+				htmlList.push( html.join( '' ) );
+
+				( this._ || ( this._ = {} ) ).dialog = dialog;
+
+				// Override isChanged if it is defined in element definition.
+				if ( typeof( elementDefinition.isChanged ) == 'boolean' )
+					this.isChanged = function(){ return elementDefinition.isChanged; };
+				if ( typeof( elementDefinition.isChanged ) == 'function' )
+					this.isChanged = elementDefinition.isChanged;
+
+				// Add events.
+				CKEDITOR.event.implementOn( this );
+
+				this.registerEvents( elementDefinition );
+				if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey )
+					registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey );
+
+				var me = this;
+				dialog.on( 'load', function()
+					{
+						if ( me.getInputElement() )
+						{
+							me.getInputElement().on( 'focus', function()
+								{
+									dialog._.tabBarMode = false;
+									dialog._.hasFocus = true;
+									me.fire( 'focus' );
+								}, me );
+						}
+					} );
+
+				// Register the object as a tab focus if it can be included.
+				if ( this.keyboardFocusable )
+				{
+					this.focusIndex = dialog._.focusList.push( this ) - 1;
+					this.on( 'focus', function()
+						{
+							dialog._.currentFocusIndex = me.focusIndex;
+						} );
+				}
+
+				// Completes this object with everything we have in the
+				// definition.
+				CKEDITOR.tools.extend( this, elementDefinition );
+			},
+
+			/**
+			 * Horizontal layout box for dialog UI elements, auto-expends to available width of container.
+			 * @constructor
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {Array} childObjList
+			 * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
+			 * container.
+			 * @param {Array} childHtmlList
+			 * Array of HTML code that correspond to the HTML output of all the
+			 * objects in childObjList.
+			 * @param {Array} htmlList
+			 * Array of HTML code that this element will output to.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>widths</strong> (Optional) The widths of child cells.</li>
+			 * 	<li><strong>height</strong> (Optional) The height of the layout.</li>
+			 * 	<li><strong>padding</strong> (Optional) The padding width inside child
+			 * 	 cells.</li>
+			 * 	<li><strong>align</strong> (Optional) The alignment of the whole layout
+			 * 	</li>
+			 * </ul>
+			 * @example
+			 */
+			hbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
+			{
+				if ( arguments.length < 4 )
+					return;
+
+				this._ || ( this._ = {} );
+
+				var children = this._.children = childObjList,
+					widths = elementDefinition && elementDefinition.widths || null,
+					height = elementDefinition && elementDefinition.height || null,
+					styles = {},
+					i;
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var html = [ '<tbody><tr class="cke_dialog_ui_hbox">' ];
+					for ( i = 0 ; i < childHtmlList.length ; i++ )
+					{
+						var className = 'cke_dialog_ui_hbox_child',
+							styles = [];
+						if ( i === 0 )
+							className = 'cke_dialog_ui_hbox_first';
+						if ( i == childHtmlList.length - 1 )
+							className = 'cke_dialog_ui_hbox_last';
+						html.push( '<td class="', className, '" ' );
+						if ( widths )
+						{
+							if ( widths[i] )
+								styles.push( 'width:' + CKEDITOR.tools.cssLength( widths[i] ) );
+						}
+						else
+							styles.push( 'width:' + Math.floor( 100 / childHtmlList.length ) + '%' );
+						if ( height )
+							styles.push( 'height:' + CKEDITOR.tools.cssLength( height ) );
+						if ( elementDefinition && elementDefinition.padding != undefined )
+							styles.push( 'padding:' + CKEDITOR.tools.cssLength( elementDefinition.padding ) );
+						if ( styles.length > 0 )
+							html.push( 'style="' + styles.join('; ') + '" ' );
+						html.push( '>', childHtmlList[i], '</td>' );
+					}
+					html.push( '</tr></tbody>' );
+					return html.join( '' );
+				};
+
+				CKEDITOR.ui.dialog.uiElement.call(
+					this,
+					dialog,
+					elementDefinition || { type : 'hbox' },
+					htmlList,
+					'table',
+					styles,
+					elementDefinition && elementDefinition.align && { align : elementDefinition.align } || null,
+					innerHTML );
+			},
+
+			/**
+			 * Vertical layout box for dialog UI elements.
+			 * @constructor
+			 * @extends CKEDITOR.ui.dialog.hbox
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {Array} childObjList
+			 * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
+			 * container.
+			 * @param {Array} childHtmlList
+			 * Array of HTML code that correspond to the HTML output of all the
+			 * objects in childObjList.
+			 * @param {Array} htmlList
+			 * Array of HTML code that this element will output to.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>width</strong> (Optional) The width of the layout.</li>
+			 * 	<li><strong>heights</strong> (Optional) The heights of individual cells.
+			 * 	</li>
+			 * 	<li><strong>align</strong> (Optional) The alignment of the layout.</li>
+			 * 	<li><strong>padding</strong> (Optional) The padding width inside child
+			 * 	cells.</li>
+			 * 	<li><strong>expand</strong> (Optional) Whether the layout should expand
+			 * 	vertically to fill its container.</li>
+			 * </ul>
+			 * @example
+			 */
+			vbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
+			{
+				if (arguments.length < 3 )
+					return;
+
+				this._ || ( this._ = {} );
+
+				var children = this._.children = childObjList,
+					width = elementDefinition && elementDefinition.width || null,
+					heights = elementDefinition && elementDefinition.heights || null;
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var html = [ '<table cellspacing="0" border="0" ' ];
+					html.push( 'style="' );
+					if ( elementDefinition && elementDefinition.expand )
+						html.push( 'height:100%;' );
+					html.push( 'width:' + CKEDITOR.tools.cssLength( width || '100%' ), ';' );
+					html.push( '"' );
+					html.push( 'align="', CKEDITOR.tools.htmlEncode(
+						( elementDefinition && elementDefinition.align ) || ( dialog.getParentEditor().lang.dir == 'ltr' ? 'left' : 'right' ) ), '" ' );
+
+					html.push( '><tbody>' );
+					for ( var i = 0 ; i < childHtmlList.length ; i++ )
+					{
+						var styles = [];
+						html.push( '<tr><td ' );
+						if ( width )
+							styles.push( 'width:' + CKEDITOR.tools.cssLength( width || '100%' ) );
+						if ( heights )
+							styles.push( 'height:' + CKEDITOR.tools.cssLength( heights[i] ) );
+						else if ( elementDefinition && elementDefinition.expand )
+							styles.push( 'height:' + Math.floor( 100 / childHtmlList.length ) + '%' );
+						if ( elementDefinition && elementDefinition.padding != undefined )
+							styles.push( 'padding:' + CKEDITOR.tools.cssLength( elementDefinition.padding ) );
+						if ( styles.length > 0 )
+							html.push( 'style="', styles.join( '; ' ), '" ' );
+						html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[i], '</td></tr>' );
+					}
+					html.push( '</tbody></table>' );
+					return html.join( '' );
+				};
+				CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type : 'vbox' }, htmlList, 'div', null, null, innerHTML );
+			}
+		};
+	})();
+
+	CKEDITOR.ui.dialog.uiElement.prototype =
+	{
+		/**
+		 * Gets the root DOM element of this dialog UI object.
+		 * @returns {CKEDITOR.dom.element} Root DOM element of UI object.
+		 * @example
+		 * uiElement.getElement().hide();
+		 */
+		getElement : function()
+		{
+			return CKEDITOR.document.getById( this.domId );
+		},
+
+		/**
+		 * Gets the DOM element that the user inputs values.
+		 * This function is used by setValue(), getValue() and focus(). It should
+		 * be overrided in child classes where the input element isn't the root
+		 * element.
+		 * @returns {CKEDITOR.dom.element} The element where the user input values.
+		 * @example
+		 * var rawValue = textInput.getInputElement().$.value;
+		 */
+		getInputElement : function()
+		{
+			return this.getElement();
+		},
+
+		/**
+		 * Gets the parent dialog object containing this UI element.
+		 * @returns {CKEDITOR.dialog} Parent dialog object.
+		 * @example
+		 * var dialog = uiElement.getDialog();
+		 */
+		getDialog : function()
+		{
+			return this._.dialog;
+		},
+
+		/**
+		 * Sets the value of this dialog UI object.
+		 * @param {Object} value The new value.
+		 * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+		 * @example
+		 * uiElement.setValue( 'Dingo' );
+		 */
+		setValue : function( value )
+		{
+			this.getInputElement().setValue( value );
+			this.fire( 'change', { value : value } );
+			return this;
+		},
+
+		/**
+		 * Gets the current value of this dialog UI object.
+		 * @returns {Object} The current value.
+		 * @example
+		 * var myValue = uiElement.getValue();
+		 */
+		getValue : function()
+		{
+			return this.getInputElement().getValue();
+		},
+
+		/**
+		 * Tells whether the UI object's value has changed.
+		 * @returns {Boolean} true if changed, false if not changed.
+		 * @example
+		 * if ( uiElement.isChanged() )
+		 * &nbsp;&nbsp;confirm( 'Value changed! Continue?' );
+		 */
+		isChanged : function()
+		{
+			// Override in input classes.
+			return false;
+		},
+
+		/**
+		 * Selects the parent tab of this element. Usually called by focus() or overridden focus() methods.
+		 * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+		 * @example
+		 * focus : function()
+		 * {
+		 * 		this.selectParentTab();
+		 * 		// do something else.
+		 * }
+		 */
+		selectParentTab : function()
+		{
+			var element = this.getInputElement(),
+				cursor = element,
+				tabId;
+			while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 )
+			{ /*jsl:pass*/ }
+
+			// Some widgets don't have parent tabs (e.g. OK and Cancel buttons).
+			if ( !cursor )
+				return this;
+
+			tabId = cursor.getAttribute( 'name' );
+			// Avoid duplicate select.
+			if ( this._.dialog._.currentTabId != tabId )
+				this._.dialog.selectPage( tabId );
+			return this;
+		},
+
+		/**
+		 * Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page.
+		 * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+		 * @example
+		 * uiElement.focus();
+		 */
+		focus : function()
+		{
+			this.selectParentTab().getInputElement().focus();
+			return this;
+		},
+
+		/**
+		 * Registers the on* event handlers defined in the element definition.
+		 * The default behavior of this function is:
+		 * <ol>
+		 *  <li>
+		 *  	If the on* event is defined in the class's eventProcesors list,
+		 *  	then the registration is delegated to the corresponding function
+		 *  	in the eventProcessors list.
+		 *  </li>
+		 *  <li>
+		 *  	If the on* event is not defined in the eventProcessors list, then
+		 *  	register the event handler under the corresponding DOM event of
+		 *  	the UI element's input DOM element (as defined by the return value
+		 *  	of {@link CKEDITOR.ui.dialog.uiElement#getInputElement}).
+		 *  </li>
+		 * </ol>
+		 * This function is only called at UI element instantiation, but can
+		 * be overridded in child classes if they require more flexibility.
+		 * @param {CKEDITOR.dialog.uiElementDefinition} definition The UI element
+		 * definition.
+		 * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+		 * @example
+		 */
+		registerEvents : function( definition )
+		{
+			var regex = /^on([A-Z]\w+)/,
+				match;
+
+			var registerDomEvent = function( uiElement, dialog, eventName, func )
+			{
+				dialog.on( 'load', function()
+				{
+					uiElement.getInputElement().on( eventName, func, uiElement );
+				});
+			};
+
+			for ( var i in definition )
+			{
+				if ( !( match = i.match( regex ) ) )
+					continue;
+				if ( this.eventProcessors[i] )
+					this.eventProcessors[i].call( this, this._.dialog, definition[i] );
+				else
+					registerDomEvent( this, this._.dialog, match[1].toLowerCase(), definition[i] );
+			}
+
+			return this;
+		},
+
+		/**
+		 * The event processor list used by
+		 * {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element
+		 * instantiation. The default list defines three on* events:
+		 * <ol>
+		 *  <li>onLoad - Called when the element's parent dialog opens for the
+		 *  first time</li>
+		 *  <li>onShow - Called whenever the element's parent dialog opens.</li>
+		 *  <li>onHide - Called whenever the element's parent dialog closes.</li>
+		 * </ol>
+		 * @field
+		 * @type Object
+		 * @example
+		 * // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick
+		 * // handlers in the UI element's definitions.
+		 * CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {},
+		 * &nbsp;&nbsp;CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+		 * &nbsp;&nbsp;{ onClick : function( dialog, func ) { this.on( 'click', func ); } },
+		 * &nbsp;&nbsp;true );
+		 */
+		eventProcessors :
+		{
+			onLoad : function( dialog, func )
+			{
+				dialog.on( 'load', func, this );
+			},
+
+			onShow : function( dialog, func )
+			{
+				dialog.on( 'show', func, this );
+			},
+
+			onHide : function( dialog, func )
+			{
+				dialog.on( 'hide', func, this );
+			}
+		},
+
+		/**
+		 * The default handler for a UI element's access key down event, which
+		 * tries to put focus to the UI element.<br />
+		 * Can be overridded in child classes for more sophisticaed behavior.
+		 * @param {CKEDITOR.dialog} dialog The parent dialog object.
+		 * @param {String} key The key combination pressed. Since access keys
+		 * are defined to always include the CTRL key, its value should always
+		 * include a 'CTRL+' prefix.
+		 * @example
+		 */
+		accessKeyDown : function( dialog, key )
+		{
+			this.focus();
+		},
+
+		/**
+		 * The default handler for a UI element's access key up event, which
+		 * does nothing.<br />
+		 * Can be overridded in child classes for more sophisticated behavior.
+		 * @param {CKEDITOR.dialog} dialog The parent dialog object.
+		 * @param {String} key The key combination pressed. Since access keys
+		 * are defined to always include the CTRL key, its value should always
+		 * include a 'CTRL+' prefix.
+		 * @example
+		 */
+		accessKeyUp : function( dialog, key )
+		{
+		},
+
+		/**
+		 * Disables a UI element.
+		 * @example
+		 */
+		disable : function()
+		{
+			var element = this.getInputElement();
+			element.setAttribute( 'disabled', 'true' );
+			element.addClass( 'cke_disabled' );
+		},
+
+		/**
+		 * Enables a UI element.
+		 * @example
+		 */
+		enable : function()
+		{
+			var element = this.getInputElement();
+			element.removeAttribute( 'disabled' );
+			element.removeClass( 'cke_disabled' );
+		},
+
+		/**
+		 * Determines whether an UI element is enabled or not.
+		 * @returns {Boolean} Whether the UI element is enabled.
+		 * @example
+		 */
+		isEnabled : function()
+		{
+			return !this.getInputElement().getAttribute( 'disabled' );
+		},
+
+		/**
+		 * Determines whether an UI element is visible or not.
+		 * @returns {Boolean} Whether the UI element is visible.
+		 * @example
+		 */
+		isVisible : function()
+		{
+			return this.getInputElement().isVisible();
+		},
+
+		/**
+		 * Determines whether an UI element is focus-able or not.
+		 * Focus-able is defined as being both visible and enabled.
+		 * @returns {Boolean} Whether the UI element can be focused.
+		 * @example
+		 */
+		isFocusable : function()
+		{
+			if ( !this.isEnabled() || !this.isVisible() )
+				return false;
+			return true;
+		}
+	};
+
+	CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+		/**
+		 * @lends CKEDITOR.ui.dialog.hbox.prototype
+		 */
+		{
+			/**
+			 * Gets a child UI element inside this container.
+			 * @param {Array|Number} indices An array or a single number to indicate the child's
+			 * position in the container's descendant tree. Omit to get all the children in an array.
+			 * @returns {Array|CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container
+			 * if no argument given, or the specified UI element if indices is given.
+			 * @example
+			 * var checkbox = hbox.getChild( [0,1] );
+			 * checkbox.setValue( true );
+			 */
+			getChild : function( indices )
+			{
+				// If no arguments, return a clone of the children array.
+				if ( arguments.length < 1 )
+					return this._.children.concat();
+
+				// If indices isn't array, make it one.
+				if ( !indices.splice )
+					indices = [ indices ];
+
+				// Retrieve the child element according to tree position.
+				if ( indices.length < 2 )
+					return this._.children[ indices[0] ];
+				else
+					return ( this._.children[ indices[0] ] && this._.children[ indices[0] ].getChild ) ?
+						this._.children[ indices[0] ].getChild( indices.slice( 1, indices.length ) ) :
+						null;
+			}
+		}, true );
+
+	CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox();
+
+
+
+	(function()
+	{
+		var commonBuilder = {
+			build : function( dialog, elementDefinition, output )
+			{
+				var children = elementDefinition.children,
+					child,
+					childHtmlList = [],
+					childObjList = [];
+				for ( var i = 0 ; ( i < children.length && ( child = children[i] ) ) ; i++ )
+				{
+					var childHtml = [];
+					childHtmlList.push( childHtml );
+					childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
+				}
+				return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, childObjList, childHtmlList, output, elementDefinition );
+			}
+		};
+
+		CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder );
+		CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder );
+	})();
+
+	/**
+	 * Generic dialog command. It opens a specific dialog when executed.
+	 * @constructor
+	 * @augments CKEDITOR.commandDefinition
+	 * @param {string} dialogName The name of the dialog to open when executing
+	 *		this command.
+	 * @example
+	 * // Register the "link" command, which opens the "link" dialog.
+	 * editor.addCommand( 'link', <b>new CKEDITOR.dialogCommand( 'link' )</b> );
+	 */
+	CKEDITOR.dialogCommand = function( dialogName )
+	{
+		this.dialogName = dialogName;
+	};
+
+	CKEDITOR.dialogCommand.prototype =
+	{
+		/** @ignore */
+		exec : function( editor )
+		{
+			editor.openDialog( this.dialogName );
+		},
+		// Dialog commands just open a dialog ui, thus require no undo logic,
+		// undo support should dedicate to specific dialog implementation.
+		canUndo: false
+	};
+
+	(function()
+	{
+		var notEmptyRegex = /^([a]|[^a])+$/,
+			integerRegex = /^\d*$/,
+			numberRegex = /^\d*(?:\.\d+)?$/;
+
+		CKEDITOR.VALIDATE_OR = 1;
+		CKEDITOR.VALIDATE_AND = 2;
+
+		CKEDITOR.dialog.validate =
+		{
+			functions : function()
+			{
+				return function()
+				{
+					/**
+					 * It's important for validate functions to be able to accept the value
+					 * as argument in addition to this.getValue(), so that it is possible to
+					 * combine validate functions together to make more sophisticated
+					 * validators.
+					 */
+					var value = this && this.getValue ? this.getValue() : arguments[0];
+
+					var msg = undefined,
+						relation = CKEDITOR.VALIDATE_AND,
+						functions = [], i;
+
+					for ( i = 0 ; i < arguments.length ; i++ )
+					{
+						if ( typeof( arguments[i] ) == 'function' )
+							functions.push( arguments[i] );
+						else
+							break;
+					}
+
+					if ( i < arguments.length && typeof( arguments[i] ) == 'string' )
+					{
+						msg = arguments[i];
+						i++;
+					}
+
+					if ( i < arguments.length && typeof( arguments[i]) == 'number' )
+						relation = arguments[i];
+
+					var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false );
+					for ( i = 0 ; i < functions.length ; i++ )
+					{
+						if ( relation == CKEDITOR.VALIDATE_AND )
+							passed = passed && functions[i]( value );
+						else
+							passed = passed || functions[i]( value );
+					}
+
+					if ( !passed )
+					{
+						if ( msg !== undefined )
+							alert( msg );
+						if ( this && ( this.select || this.focus ) )
+							( this.select || this.focus )();
+						return false;
+					}
+
+					return true;
+				};
+			},
+
+			regex : function( regex, msg )
+			{
+				/*
+				 * Can be greatly shortened by deriving from functions validator if code size
+				 * turns out to be more important than performance.
+				 */
+				return function()
+				{
+					var value = this && this.getValue ? this.getValue() : arguments[0];
+					if ( !regex.test( value ) )
+					{
+						if ( msg !== undefined )
+							alert( msg );
+						if ( this && ( this.select || this.focus ) )
+						{
+							if ( this.select )
+								this.select();
+							else
+								this.focus();
+						}
+						return false;
+					}
+					return true;
+				};
+			},
+
+			notEmpty : function( msg )
+			{
+				return this.regex( notEmptyRegex, msg );
+			},
+
+			integer : function( msg )
+			{
+				return this.regex( integerRegex, msg );
+			},
+
+			'number' : function( msg )
+			{
+				return this.regex( numberRegex, msg );
+			},
+
+			equals : function( value, msg )
+			{
+				return this.functions( function( val ){ return val == value; }, msg );
+			},
+
+			notEqual : function( value, msg )
+			{
+				return this.functions( function( val ){ return val != value; }, msg );
+			}
+		};
+	})();
+})();
+
+// 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 ];
+
+			// If the dialogDefinition is already loaded, open it immediately.
+			if ( typeof dialogDefinitions == 'function' )
+			{
+				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' );
+			CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), function()
+				{
+					// In case of plugin error, mark it as loading failed.
+					if ( typeof CKEDITOR.dialog._.dialogDefinitions[ dialogName ] != 'function' )
+							CKEDITOR.dialog._.dialogDefinitions[ dialogName ] =  'failed';
+					me.openDialog( dialogName, callback );
+					body.setStyle( 'cursor', cursor );
+				} );
+
+			return null;
+		}
+	});
+
+CKEDITOR.plugins.add( 'dialog',
+	{
+		requires : [ 'dialogui' ]
+	});
+
+// Dialog related configurations.
+
+/**
+ * The color of the dialog background cover. It should be a valid CSS color
+ * string.
+ * @name CKEDITOR.config.dialog_backgroundCoverColor
+ * @type String
+ * @default 'white'
+ * @example
+ * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
+ */
+
+/**
+ * The opacity of the dialog background cover. It should be a number within the
+ * range [0.0, 1.0].
+ * @name CKEDITOR.config.dialog_backgroundCoverOpacity
+ * @type Number
+ * @default 0.5
+ * @example
+ * config.dialog_backgroundCoverOpacity = 0.7;
+ */
+
+/**
+ * The distance of magnetic borders used in moving and resizing dialogs,
+ * measured in pixels.
+ * @name CKEDITOR.config.dialog_magnetDistance
+ * @type Number
+ * @default 20
+ * @example
+ * config.dialog_magnetDistance = 30;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/dialogui/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/dialogui/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/dialogui/plugin.js	(revision 4888)
@@ -0,0 +1,1322 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/** @fileoverview The "dialogui" plugin. */
+
+CKEDITOR.plugins.add( 'dialogui' );
+
+(function()
+{
+	var initPrivateObject = function( elementDefinition )
+	{
+		this._ || ( this._ = {} );
+		this._['default'] = this._.initValue = elementDefinition['default'] || '';
+		var args = [ this._ ];
+		for ( var i = 1 ; i < arguments.length ; i++ )
+			args.push( arguments[i] );
+		args.push( true );
+		CKEDITOR.tools.extend.apply( CKEDITOR.tools, args );
+		return this._;
+	},
+	textBuilder =
+	{
+		build : function( dialog, elementDefinition, output )
+		{
+			return new CKEDITOR.ui.dialog.textInput( dialog, elementDefinition, output );
+		}
+	},
+	commonBuilder =
+	{
+		build : function( dialog, elementDefinition, output )
+		{
+			return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, elementDefinition, output );
+		}
+	},
+	commonPrototype =
+	{
+		isChanged : function()
+		{
+			return this.getValue() != this.getInitValue();
+		},
+
+		reset : function()
+		{
+			this.setValue( this.getInitValue() );
+		},
+
+		setInitValue : function()
+		{
+			this._.initValue = this.getValue();
+		},
+
+		resetInitValue : function()
+		{
+			this._.initValue = this._['default'];
+		},
+
+		getInitValue : function()
+		{
+			return this._.initValue;
+		}
+	},
+	commonEventProcessors = CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+		{
+			onChange : function( dialog, func )
+			{
+				if ( !this._.domOnChangeRegistered )
+				{
+					dialog.on( 'load', function()
+						{
+							this.getInputElement().on( 'change', function(){ this.fire( 'change', { value : this.getValue() } ); }, this );
+						}, this );
+					this._.domOnChangeRegistered = true;
+				}
+
+				this.on( 'change', func );
+			}
+		}, true ),
+	eventRegex = /^on([A-Z]\w+)/,
+	cleanInnerDefinition = function( def )
+	{
+		// An inner UI element should not have the parent's type, title or events.
+		for ( var i in def )
+		{
+			if ( eventRegex.test( i ) || i == 'title' || i == 'type' )
+				delete def[i];
+		}
+		return def;
+	};
+
+	CKEDITOR.tools.extend( CKEDITOR.ui.dialog,
+		/** @lends CKEDITOR.ui.dialog */
+		{
+			/**
+			 * Base class for all dialog elements with a textual label on the left.
+			 * @constructor
+			 * @example
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>label</strong> (Required) The label string.</li>
+			 * 	<li><strong>labelLayout</strong> (Optional) Put 'horizontal' here if the
+			 * 	label element is to be layed out horizontally. Otherwise a vertical
+			 * 	layout will be used.</li>
+			 * 	<li><strong>widths</strong> (Optional) This applies only for horizontal
+			 * 	layouts - an 2-element array of lengths to specify the widths of the
+			 * 	label and the content element.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 * @param {Function} contentHtml
+			 * A function returning the HTML code string to be added inside the content
+			 * cell.
+			 */
+			labeledElement : function( dialog, elementDefinition, htmlList, contentHtml )
+			{
+				if ( arguments.length < 4 )
+					return;
+
+				var _ = initPrivateObject.call( this, elementDefinition );
+				_.labelId = CKEDITOR.tools.getNextNumber() + '_label';
+				var children = this._.children = [];
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var html = [];
+					if ( elementDefinition.labelLayout != 'horizontal' )
+						html.push( '<div class="cke_dialog_ui_labeled_label" id="',
+								_.labelId,
+								'" >',
+								elementDefinition.label,
+								'</div>',
+								'<div class="cke_dialog_ui_labeled_content">',
+								contentHtml( dialog, elementDefinition ),
+								'</div>' );
+					else
+					{
+						var hboxDefinition = {
+							type : 'hbox',
+							widths : elementDefinition.widths,
+							padding : 0,
+							children :
+							[
+								{
+									type : 'html',
+									html : '<span class="cke_dialog_ui_labeled_label" ' +
+										'id="' + _.labelId + '">' +  CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
+										'</span>'
+								},
+								{
+									type : 'html',
+									html : '<span class="cke_dialog_ui_labeled_content">' +
+										contentHtml( dialog, elementDefinition ) +
+										'</span>'
+								}
+							]
+						};
+						CKEDITOR.dialog._.uiElementBuilders.hbox.build( dialog, hboxDefinition, html );
+					}
+					return html.join( '' );
+				};
+				CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'div', null, null, innerHTML );
+			},
+
+			/**
+			 * A text input with a label. This UI element class represents both the
+			 * single-line text inputs and password inputs in dialog boxes.
+			 * @constructor
+			 * @example
+			 * @extends CKEDITOR.ui.dialog.labeledElement
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>default</strong> (Optional) The default value.</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function. </li>
+			 * 	<li><strong>maxLength</strong> (Optional) The maximum length of text box
+			 * 	contents.</li>
+			 * 	<li><strong>size</strong> (Optional) The size of the text box. This is
+			 * 	usually overridden by the size defined by the skin, however.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			textInput : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				initPrivateObject.call( this, elementDefinition );
+				var domId = this._.inputId = CKEDITOR.tools.getNextNumber() + '_textInput',
+					attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : 'text' },
+					i;
+
+				// Set the validator, if any.
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				// Set the max length and size.
+				if ( elementDefinition.maxLength )
+					attributes.maxlength = elementDefinition.maxLength;
+				if ( elementDefinition.size )
+					attributes.size = elementDefinition.size;
+
+				// If user presses Enter in a text box, it implies clicking OK for the dialog.
+				var me = this, keyPressedOnMe = false;
+				dialog.on( 'load', function()
+					{
+						me.getInputElement().on( 'keydown', function( evt )
+							{
+								if ( evt.data.getKeystroke() == 13 )
+									keyPressedOnMe = true;
+							} );
+
+						// Lower the priority this 'keyup' since 'ok' will close the dialog.(#3749)
+						me.getInputElement().on( 'keyup', function( evt )
+							{
+								if ( evt.data.getKeystroke() == 13 && keyPressedOnMe )
+								{
+									dialog.getButton( 'ok' ) && setTimeout( function ()
+									{
+										dialog.getButton( 'ok' ).click();
+									}, 0 );
+									keyPressedOnMe = false;
+								}
+							}, null, null, 1000 );
+					} );
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					// IE BUG: Text input fields in IE at 100% would exceed a <td> or inline
+					// container's width, so need to wrap it inside a <div>.
+					var html = [ '<div class="cke_dialog_ui_input_', elementDefinition.type, '"' ];
+
+					if ( elementDefinition.width )
+						html.push( 'style="width:'+ elementDefinition.width +'" ' );
+
+					html.push( '><input ' );
+					for ( var i in attributes )
+						html.push( i + '="' + attributes[i] + '" ' );
+					html.push( ' /></div>' );
+					return html.join( '' );
+				};
+				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+			},
+
+			/**
+			 * A text area with a label on the top or left.
+			 * @constructor
+			 * @extends CKEDITOR.ui.dialog.labeledElement
+			 * @example
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>rows</strong> (Optional) The number of rows displayed.
+			 * 	Defaults to 5 if not defined.</li>
+			 * 	<li><strong>cols</strong> (Optional) The number of cols displayed.
+			 * 	Defaults to 20 if not defined. Usually overridden by skins.</li>
+			 * 	<li><strong>default</strong> (Optional) The default value.</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function. </li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			textarea : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				initPrivateObject.call( this, elementDefinition );
+				var me = this,
+					domId = this._.inputId = CKEDITOR.tools.getNextNumber() + '_textarea',
+					attributes = {};
+
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				// Generates the essential attributes for the textarea tag.
+				attributes.rows = elementDefinition.rows || 5;
+				attributes.cols = elementDefinition.cols || 20;
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var html = [ '<div class="cke_dialog_ui_input_textarea"><textarea class="cke_dialog_ui_input_textarea" id="', domId, '" ' ];
+					for ( var i in attributes )
+						html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ' );
+					html.push( '>', CKEDITOR.tools.htmlEncode( me._['default'] ), '</textarea></div>' );
+					return html.join( '' );
+				};
+				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+			},
+
+			/**
+			 * A single checkbox with a label on the right.
+			 * @constructor
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @example
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>checked</strong> (Optional) Whether the checkbox is checked
+			 * 	on instantiation. Defaults to false.</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function.</li>
+			 * 	<li><strong>label</strong> (Optional) The checkbox label.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			checkbox : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				var _ = initPrivateObject.call( this, elementDefinition, { 'default' : !!elementDefinition[ 'default' ] } );
+
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+							{
+								id : elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.getNextNumber() + '_checkbox'
+							}, true ),
+						html = [],
+						attributes = { 'class' : 'cke_dialog_ui_checkbox_input', type : 'checkbox' };
+					cleanInnerDefinition( myDefinition );
+					if ( elementDefinition[ 'default' ] )
+						attributes.checked = 'checked';
+					_.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes );
+					html.push( ' <label for="', attributes.id, '">',
+							CKEDITOR.tools.htmlEncode( elementDefinition.label ),
+							'</label>' );
+					return html.join( '' );
+				};
+
+				CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'span', null, null, innerHTML );
+			},
+
+			/**
+			 * A group of radio buttons.
+			 * @constructor
+			 * @example
+			 * @extends CKEDITOR.ui.dialog.labeledElement
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>default</strong> (Required) The default value.</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function.</li>
+			 * 	<li><strong>items</strong> (Required) An array of options. Each option
+			 * 	is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value'
+			 * 	is missing, then the value would be assumed to be the same as the
+			 * 	description.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			radio : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3)
+					return;
+
+				initPrivateObject.call( this, elementDefinition );
+				if ( !this._['default'] )
+					this._['default'] = this._.initValue = elementDefinition.items[0][1];
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.valdiate;
+				var children = [], me = this;
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var inputHtmlList = [], html = [],
+						commonAttributes = { 'class' : 'cke_dialog_ui_radio_item' },
+						commonName = elementDefinition.id ? elementDefinition.id + '_radio' : CKEDITOR.tools.getNextNumber() + '_radio';
+					for ( var i = 0 ; i < elementDefinition.items.length ; i++ )
+					{
+						var item = elementDefinition.items[i],
+							title = item[2] !== undefined ? item[2] : item[0],
+							value = item[1] !== undefined ? item[1] : item[0],
+							inputDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+									{
+										id : CKEDITOR.tools.getNextNumber() + '_radio_input',
+										title : null,
+										type : null
+									}, true ),
+							labelDefinition = CKEDITOR.tools.extend( {}, inputDefinition,
+									{
+										id : null,
+										title : title
+									}, true ),
+							inputAttributes =
+							{
+								type : 'radio',
+								'class' : 'cke_dialog_ui_radio_input',
+								name : commonName,
+								value : value
+							},
+							inputHtml = [];
+						if ( me._['default'] == value )
+							inputAttributes.checked = 'checked';
+						cleanInnerDefinition( inputDefinition );
+						cleanInnerDefinition( labelDefinition );
+						children.push( new CKEDITOR.ui.dialog.uiElement( dialog, inputDefinition, inputHtml, 'input', null, inputAttributes ) );
+						inputHtml.push( ' ' );
+						new CKEDITOR.ui.dialog.uiElement( dialog, labelDefinition, inputHtml, 'label', null, { 'for' : inputAttributes.id },
+							   item[0] );
+						inputHtmlList.push( inputHtml.join( '' ) );
+					}
+					new CKEDITOR.ui.dialog.hbox( dialog, [], inputHtmlList, html );
+					return html.join( '' );
+				};
+
+				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+				this._.children = children;
+			},
+
+			/**
+			 * A button with a label inside.
+			 * @constructor
+			 * @example
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>label</strong> (Required) The button label.</li>
+			 * 	<li><strong>disabled</strong> (Optional) Set to true if you want the
+			 * 	button to appear in disabled state.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			button : function( dialog, elementDefinition, htmlList )
+			{
+				if ( !arguments.length )
+					return;
+
+				if ( typeof elementDefinition == 'function' )
+					elementDefinition = elementDefinition( dialog.getParentEditor() );
+
+				initPrivateObject.call( this, elementDefinition, { disabled : elementDefinition.disabled || false } );
+
+				// Add OnClick event to this input.
+				CKEDITOR.event.implementOn( this );
+
+				var me = this;
+
+				// Register an event handler for processing button clicks.
+				dialog.on( 'load', function( eventInfo )
+					{
+						var element = this.getElement();
+
+						(function()
+						{
+							element.on( 'click', function( evt )
+								{
+									me.fire( 'click', { dialog : me.getDialog() } );
+									evt.data.preventDefault();
+								} );
+						})();
+
+						element.unselectable();
+					}, this );
+
+				var outerDefinition = CKEDITOR.tools.extend( {}, elementDefinition );
+				delete outerDefinition.style;
+
+				CKEDITOR.ui.dialog.uiElement.call(
+					this,
+					dialog,
+					outerDefinition,
+					htmlList,
+					'a',
+					null,
+					{
+						style : elementDefinition.style,
+						href : 'javascript:void(0)',
+						title : elementDefinition.label,
+						hidefocus : 'true',
+						'class' : elementDefinition['class']
+					},
+					'<span class="cke_dialog_ui_button">' +
+						CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
+					'</span>' );
+			},
+
+			/**
+			 * A select box.
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @example
+			 * @constructor
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>default</strong> (Required) The default value.</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function.</li>
+			 * 	<li><strong>items</strong> (Required) An array of options. Each option
+			 * 	is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value'
+			 * 	is missing, then the value would be assumed to be the same as the
+			 * 	description.</li>
+			 * 	<li><strong>multiple</strong> (Optional) Set this to true if you'd like
+			 * 	to have a multiple-choice select box.</li>
+			 * 	<li><strong>size</strong> (Optional) The number of items to display in
+			 * 	the select box.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			select : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				var _ = initPrivateObject.call( this, elementDefinition );
+
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+							{
+								id : elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.getNextNumber() + '_select'
+							}, true ),
+						html = [],
+						innerHTML = [],
+						attributes = { 'class' : 'cke_dialog_ui_input_select' };
+
+					// Add multiple and size attributes from element definition.
+					if ( elementDefinition.size != undefined )
+						attributes.size = elementDefinition.size;
+					if ( elementDefinition.multiple != undefined )
+						attributes.multiple = elementDefinition.multiple;
+
+					cleanInnerDefinition( myDefinition );
+					for ( var i = 0, item ; i < elementDefinition.items.length && ( item = elementDefinition.items[i] ) ; i++ )
+					{
+						innerHTML.push( '<option value="',
+							CKEDITOR.tools.htmlEncode( item[1] !== undefined ? item[1] : item[0] ), '" /> ',
+							CKEDITOR.tools.htmlEncode( item[0] ) );
+					}
+
+					_.select = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'select', null, attributes, innerHTML.join( '' ) );
+					return html.join( '' );
+				};
+
+				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+			},
+
+			/**
+			 * A file upload input.
+			 * @extends CKEDITOR.ui.dialog.labeledElement
+			 * @example
+			 * @constructor
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>validate</strong> (Optional) The validation function.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			file : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				if ( elementDefinition['default'] === undefined )
+					elementDefinition['default'] = '';
+
+				var _ = CKEDITOR.tools.extend( initPrivateObject.call( this, elementDefinition ), { definition : elementDefinition, buttons : [] } );
+
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				/** @ignore */
+				var innerHTML = function()
+				{
+					_.frameId = CKEDITOR.tools.getNextNumber() + '_fileInput';
+
+					// Support for custom document.domain in IE.
+					var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+					var html = [
+						'<iframe' +
+							' frameborder="0"' +
+							' allowtransparency="0"' +
+							' class="cke_dialog_ui_input_file"' +
+							' id="', _.frameId, '"' +
+							' title="', elementDefinition.label, '"' +
+							' src="javascript:void(' ];
+
+					html.push(
+							isCustomDomain ?
+								'(function(){' +
+									'document.open();' +
+									'document.domain=\'' + document.domain + '\';' +
+									'document.close();' +
+								'})()'
+							:
+								'0' );
+
+					html.push(
+							')">' +
+						'</iframe>' );
+
+					return html.join( '' );
+				};
+
+				// IE BUG: Parent container does not resize to contain the iframe automatically.
+				dialog.on( 'load', function()
+					{
+						var iframe = CKEDITOR.document.getById( _.frameId ),
+							contentDiv = iframe.getParent();
+						contentDiv.addClass( 'cke_dialog_ui_input_file' );
+					} );
+
+				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+			},
+
+			/**
+			 * A button for submitting the file in a file upload input.
+			 * @extends CKEDITOR.ui.dialog.button
+			 * @example
+			 * @constructor
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>for</strong> (Required) The file input's page and element Id
+			 * 	to associate to, in a 2-item array format: [ 'page_id', 'element_id' ].
+			 * 	</li>
+			 * 	<li><strong>validate</strong> (Optional) The validation function.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			fileButton : function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				var _ = initPrivateObject.call( this, elementDefinition ),
+					me = this;
+
+				if ( elementDefinition.validate )
+					this.validate = elementDefinition.validate;
+
+				var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition );
+				var onClick = myDefinition.onClick;
+				myDefinition.className = ( myDefinition.className ? myDefinition.className + ' ' : '' ) + 'cke_dialog_ui_button';
+				myDefinition.onClick = function( evt )
+				{
+					var target = elementDefinition[ 'for' ];		// [ pageId, elementId ]
+					if ( !onClick || onClick.call( this, evt ) !== false )
+					{
+						dialog.getContentElement( target[0], target[1] ).submit();
+						this.disable();
+					}
+				};
+
+				dialog.on( 'load', function()
+						{
+							dialog.getContentElement( elementDefinition[ 'for' ][0], elementDefinition[ 'for' ][1] )._.buttons.push( me );
+						} );
+
+				CKEDITOR.ui.dialog.button.call( this, dialog, myDefinition, htmlList );
+			},
+
+			html : (function()
+			{
+				var myHtmlRe = /^\s*<[\w:]+\s+([^>]*)?>/,
+					theirHtmlRe = /^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,
+					emptyTagRe = /\/$/;
+				/**
+				 * A dialog element made from raw HTML code.
+				 * @extends CKEDITOR.ui.dialog.uiElement
+				 * @name CKEDITOR.ui.dialog.html
+				 * @param {CKEDITOR.dialog} dialog Parent dialog object.
+				 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition Element definition.
+				 * Accepted fields:
+				 * <ul>
+				 * 	<li><strong>html</strong> (Required) HTML code of this element.</li>
+				 * </ul>
+				 * @param {Array} htmlList List of HTML code to be added to the dialog's content area.
+				 * @example
+				 * @constructor
+				 */
+				return function( dialog, elementDefinition, htmlList )
+				{
+					if ( arguments.length < 3 )
+						return;
+
+					var myHtmlList = [],
+						myHtml,
+						theirHtml = elementDefinition.html,
+						myMatch, theirMatch;
+
+					// If the HTML input doesn't contain any tags at the beginning, add a <span> tag around it.
+					if ( theirHtml.charAt( 0 ) != '<' )
+						theirHtml = '<span>' + theirHtml + '</span>';
+
+					// Look for focus function in definition.
+					if ( elementDefinition.focus )
+					{
+						var oldFocus = this.focus;
+						this.focus = function()
+						{
+							oldFocus.call( this );
+							elementDefinition.focus.call( this );
+							this.fire( 'focus' );
+						};
+						if ( elementDefinition.isFocusable )
+						{
+							var oldIsFocusable = this.isFocusable;
+							this.isFocusable = oldIsFocusable;
+						}
+						this.keyboardFocusable = true;
+					}
+
+					CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtmlList, 'span', null, null, '' );
+
+					// Append the attributes created by the uiElement call to the real HTML.
+					myHtml = myHtmlList.join( '' );
+					myMatch = myHtml.match( myHtmlRe );
+					theirMatch = theirHtml.match( theirHtmlRe ) || [ '', '', '' ];
+
+					if ( emptyTagRe.test( theirMatch[1] ) )
+					{
+						theirMatch[1] = theirMatch[1].slice( 0, -1 );
+						theirMatch[2] = '/' + theirMatch[2];
+					}
+
+					htmlList.push( [ theirMatch[1], ' ', myMatch[1] || '', theirMatch[2] ].join( '' ) );
+				};
+			})()
+		}, true );
+
+	CKEDITOR.ui.dialog.html.prototype = new CKEDITOR.ui.dialog.uiElement;
+
+	CKEDITOR.ui.dialog.labeledElement.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+			/** @lends CKEDITOR.ui.dialog.labeledElement.prototype */
+			{
+				/**
+				 * Sets the label text of the element.
+				 * @param {String} label The new label text.
+				 * @returns {CKEDITOR.ui.dialog.labeledElement} The current labeled element.
+				 * @example
+				 */
+				setLabel : function( label )
+				{
+					var node = CKEDITOR.document.getById( this._.labelId );
+					if ( node.getChildCount() < 1 )
+						( new CKEDITOR.dom.text( label, CKEDITOR.document ) ).appendTo( node );
+					else
+						node.getChild( 0 ).$.nodeValue = label;
+					return this;
+				},
+
+				/**
+				 * Retrieves the current label text of the elment.
+				 * @returns {String} The current label text.
+				 * @example
+				 */
+				getLabel : function()
+				{
+					var node = CKEDITOR.document.getById( this._.labelId );
+					if ( !node || node.getChildCount() < 1 )
+						return '';
+					else
+						return node.getChild( 0 ).getText();
+				},
+
+				/**
+				 * Defines the onChange event for UI element definitions.
+				 * @field
+				 * @type Object
+				 * @example
+				 */
+				eventProcessors : commonEventProcessors
+			}, true );
+
+	CKEDITOR.ui.dialog.button.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+			/** @lends CKEDITOR.ui.dialog.button.prototype */
+			{
+				/**
+				 * Simulates a click to the button.
+				 * @example
+				 * @returns {Object} Return value of the 'click' event.
+				 */
+				click : function()
+				{
+					if ( !this._.disabled )
+						return this.fire( 'click', { dialog : this._.dialog } );
+					this.getElement().$.blur();
+					return false;
+				},
+
+				/**
+				 * Enables the button.
+				 * @example
+				 */
+				enable : function()
+				{
+					this._.disabled = false;
+					var element = this.getElement();
+					element && element.removeClass( 'disabled' );
+				},
+
+				/**
+				 * Disables the button.
+				 * @example
+				 */
+				disable : function()
+				{
+					this._.disabled = true;
+					this.getElement().addClass( 'disabled' );
+				},
+
+				isVisible : function()
+				{
+					return this.getElement().getFirst().isVisible();
+				},
+
+				isEnabled : function()
+				{
+					return !this._.disabled;
+				},
+
+				/**
+				 * Defines the onChange event and onClick for button element definitions.
+				 * @field
+				 * @type Object
+				 * @example
+				 */
+				eventProcessors : CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+					{
+						/** @ignore */
+						onClick : function( dialog, func )
+						{
+							this.on( 'click', func );
+						}
+					}, true ),
+
+				/**
+				 * Handler for the element's access key up event. Simulates a click to
+				 * the button.
+				 * @example
+				 */
+				accessKeyUp : function()
+				{
+					this.click();
+				},
+
+				/**
+				 * Handler for the element's access key down event. Simulates a mouse
+				 * down to the button.
+				 * @example
+				 */
+				accessKeyDown : function()
+				{
+					this.focus();
+				},
+
+				keyboardFocusable : true
+			}, true );
+
+	CKEDITOR.ui.dialog.textInput.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+			/** @lends CKEDITOR.ui.dialog.textInput.prototype */
+			{
+				/**
+				 * Gets the text input DOM element under this UI object.
+				 * @example
+				 * @returns {CKEDITOR.dom.element} The DOM element of the text input.
+				 */
+				getInputElement : function()
+				{
+					return CKEDITOR.document.getById( this._.inputId );
+				},
+
+				/**
+				 * Puts focus into the text input.
+				 * @example
+				 */
+				focus : function()
+				{
+					var me = this.selectParentTab();
+
+					// GECKO BUG: setTimeout() is needed to workaround invisible selections.
+					setTimeout( function()
+						{
+							var element = me.getInputElement();
+							element && element.$.focus();
+						}, 0 );
+				},
+
+				/**
+				 * Selects all the text in the text input.
+				 * @example
+				 */
+				select : function()
+				{
+					var me = this.selectParentTab();
+
+					// GECKO BUG: setTimeout() is needed to workaround invisible selections.
+					setTimeout( function()
+						{
+							var e = me.getInputElement();
+							if ( e )
+							{
+								e.$.focus();
+								e.$.select();
+							}
+						}, 0 );
+				},
+
+				/**
+				 * Handler for the text input's access key up event. Makes a select()
+				 * call to the text input.
+				 * @example
+				 */
+				accessKeyUp : function()
+				{
+					this.select();
+				},
+
+				/**
+				 * Sets the value of this text input object.
+				 * @param {Object} value The new value.
+				 * @returns {CKEDITOR.ui.dialog.textInput} The current UI element.
+				 * @example
+				 * uiElement.setValue( 'Blamo' );
+				 */
+				setValue : function( value )
+				{
+					value = value || '';
+					return CKEDITOR.ui.dialog.uiElement.prototype.setValue.call( this, value );
+				},
+
+				keyboardFocusable : true
+			}, commonPrototype, true );
+
+	CKEDITOR.ui.dialog.textarea.prototype = new CKEDITOR.ui.dialog.textInput();
+
+	CKEDITOR.ui.dialog.select.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+			/** @lends CKEDITOR.ui.dialog.select.prototype */
+			{
+				/**
+				 * Gets the DOM element of the select box.
+				 * @returns {CKEDITOR.dom.element} The &lt;select&gt; element of this UI
+				 * element.
+				 * @example
+				 */
+				getInputElement : function()
+				{
+					return this._.select.getElement();
+				},
+
+				/**
+				 * Adds an option to the select box.
+				 * @param {String} label Option label.
+				 * @param {String} value (Optional) Option value, if not defined it'll be
+				 * assumed to be the same as the label.
+				 * @param {Number} index (Optional) Position of the option to be inserted
+				 * to. If not defined the new option will be inserted to the end of list.
+				 * @example
+				 * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+				 */
+				add : function( label, value, index )
+				{
+					var option = new CKEDITOR.dom.element( 'option', this.getDialog().getParentEditor().document ),
+						selectElement = this.getInputElement().$;
+					option.$.text = label;
+					option.$.value = ( value === undefined || value === null ) ? label : value;
+					if ( index === undefined || index === null )
+					{
+						if ( CKEDITOR.env.ie )
+							selectElement.add( option.$ );
+						else
+							selectElement.add( option.$, null );
+					}
+					else
+						selectElement.add( option.$, index );
+					return this;
+				},
+
+				/**
+				 * Removes an option from the selection list.
+				 * @param {Number} index Index of the option to be removed.
+				 * @example
+				 * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+				 */
+				remove : function( index )
+				{
+					var selectElement = this.getInputElement().$;
+					selectElement.remove( index );
+					return this;
+				},
+
+				/**
+				 * Clears all options out of the selection list.
+				 * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+				 */
+				clear : function()
+				{
+					var selectElement = this.getInputElement().$;
+					while ( selectElement.length > 0 )
+						selectElement.remove( 0 );
+					return this;
+				},
+
+				keyboardFocusable : true
+			}, commonPrototype, true );
+
+	CKEDITOR.ui.dialog.checkbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+			/** @lends CKEDITOR.ui.dialog.checkbox.prototype */
+			{
+				/**
+				 * Gets the checkbox DOM element.
+				 * @example
+				 * @returns {CKEDITOR.dom.element} The DOM element of the checkbox.
+				 */
+				getInputElement : function()
+				{
+					return this._.checkbox.getElement();
+				},
+
+				/**
+				 * Sets the state of the checkbox.
+				 * @example
+				 * @param {Boolean} true to tick the checkbox, false to untick it.
+				 */
+				setValue : function( checked )
+				{
+					this.getInputElement().$.checked = checked;
+					this.fire( 'change', { value : checked } );
+				},
+
+				/**
+				 * Gets the state of the checkbox.
+				 * @example
+				 * @returns {Boolean} true means the checkbox is ticked, false means it's not ticked.
+				 */
+				getValue : function()
+				{
+					return this.getInputElement().$.checked;
+				},
+
+				/**
+				 * Handler for the access key up event. Toggles the checkbox.
+				 * @example
+				 */
+				accessKeyUp : function()
+				{
+					this.setValue( !this.getValue() );
+				},
+
+				/**
+				 * Defines the onChange event for UI element definitions.
+				 * @field
+				 * @type Object
+				 * @example
+				 */
+				eventProcessors :
+				{
+					onChange : function( dialog, func )
+					{
+						if ( !CKEDITOR.env.ie )
+							return commonEventProcessors.onChange.apply( this, arguments );
+						else
+						{
+							dialog.on( 'load', function()
+								{
+									var element = this._.checkbox.getElement();
+									element.on( 'propertychange', function( evt )
+										{
+											evt = evt.data.$;
+											if ( evt.propertyName == 'checked' )
+												this.fire( 'change', { value : element.$.checked } );
+										}, this );
+								}, this );
+							this.on( 'change', func );
+						}
+						return null;
+					}
+				},
+
+				keyboardFocusable : true
+			}, commonPrototype, true );
+
+	CKEDITOR.ui.dialog.radio.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+			/** @lends CKEDITOR.ui.dialog.radio.prototype */
+			{
+				/**
+				 * Checks one of the radio buttons in this button group.
+				 * @example
+				 * @param {String} value The value of the button to be chcked.
+				 */
+				setValue : function( value )
+				{
+					var children = this._.children,
+						item;
+					for ( var i = 0 ; ( i < children.length ) && ( item = children[i] ) ; i++ )
+						item.getElement().$.checked = ( item.getValue() == value );
+					this.fire( 'change', { value : value } );
+				},
+
+				/**
+				 * Gets the value of the currently checked radio button.
+				 * @example
+				 * @returns {String} The currently checked button's value.
+				 */
+				getValue : function()
+				{
+					var children = this._.children;
+					for ( var i = 0 ; i < children.length ; i++ )
+					{
+						if ( children[i].getElement().$.checked )
+							return children[i].getValue();
+					}
+					return null;
+				},
+
+				/**
+				 * Handler for the access key up event. Focuses the currently
+				 * selected radio button, or the first radio button if none is
+				 * selected.
+				 * @example
+				 */
+				accessKeyUp : function()
+				{
+					var children = this._.children, i;
+					for ( i = 0 ; i < children.length ; i++ )
+					{
+						if ( children[i].getElement().$.checked )
+						{
+							children[i].getElement().focus();
+							return;
+						}
+					}
+					children[0].getElement().focus();
+				},
+
+				/**
+				 * Defines the onChange event for UI element definitions.
+				 * @field
+				 * @type Object
+				 * @example
+				 */
+				eventProcessors :
+				{
+					onChange : function( dialog, func )
+					{
+						if ( !CKEDITOR.env.ie )
+							return commonEventProcessors.onChange.apply( this, arguments );
+						else
+						{
+							dialog.on( 'load', function()
+								{
+									var children = this._.children, me = this;
+									for ( var i = 0 ; i < children.length ; i++ )
+									{
+										var element = children[i].getElement();
+										element.on( 'propertychange', function( evt )
+											{
+												evt = evt.data.$;
+												if ( evt.propertyName == 'checked' && this.$.checked )
+													me.fire( 'change', { value : this.getAttribute( 'value' ) } );
+											} );
+									}
+								}, this );
+							this.on( 'change', func );
+						}
+						return null;
+					}
+				},
+
+				keyboardFocusable : true
+			}, commonPrototype, true );
+
+	CKEDITOR.ui.dialog.file.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+			commonPrototype,
+			/** @lends CKEDITOR.ui.dialog.file.prototype */
+			{
+				/**
+				 * Gets the &lt;input&gt; element of this file input.
+				 * @returns {CKEDITOR.dom.element} The file input element.
+				 * @example
+				 */
+				getInputElement : function()
+				{
+					var frameDocument = CKEDITOR.document.getById( this._.frameId ).getFrameDocument();
+					return frameDocument.$.forms.length > 0 ?
+						new CKEDITOR.dom.element( frameDocument.$.forms[0].elements[0] ) :
+						this.getElement();
+				},
+
+				/**
+				 * Uploads the file in the file input.
+				 * @returns {CKEDITOR.ui.dialog.file} This object.
+				 * @example
+				 */
+				submit : function()
+				{
+					this.getInputElement().getParent().$.submit();
+					return this;
+				},
+
+				/**
+				 * Get the action assigned to the form.
+				 * @returns {String} The value of the action.
+				 * @example
+				 */
+				getAction : function( action )
+				{
+					return this.getInputElement().getParent().$.action;
+				},
+
+				/**
+				 * Redraws the file input and resets the file path in the file input.
+				 * The redraw logic is necessary because non-IE browsers tend to clear
+				 * the &lt;iframe&gt; containing the file input after closing the dialog.
+				 * @example
+				 */
+				reset : function()
+				{
+					var frameElement = CKEDITOR.document.getById( this._.frameId ),
+						frameDocument = frameElement.getFrameDocument(),
+						elementDefinition = this._.definition,
+						buttons = this._.buttons;
+
+					function generateFormField()
+					{
+						frameDocument.$.open();
+
+						// Support for custom document.domain in IE.
+						if ( CKEDITOR.env.isCustomDomain() )
+							frameDocument.$.domain = document.domain;
+
+						var size = '';
+						if ( elementDefinition.size )
+							size = elementDefinition.size - ( CKEDITOR.env.ie  ? 7 : 0 );	// "Browse" button is bigger in IE.
+
+						frameDocument.$.write( [ '<html><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">',
+								'<form enctype="multipart/form-data" method="POST" action="',
+								CKEDITOR.tools.htmlEncode( elementDefinition.action ),
+								'">',
+								'<input type="file" name="',
+								CKEDITOR.tools.htmlEncode( elementDefinition.id || 'cke_upload' ),
+								'" size="',
+								CKEDITOR.tools.htmlEncode( size > 0 ? size : "" ),
+								'" />',
+								'</form>',
+								'</body></html>' ].join( '' ) );
+
+						frameDocument.$.close();
+
+						for ( var i = 0 ; i < buttons.length ; i++ )
+							buttons[i].enable();
+					}
+
+					// #3465: Wait for the browser to finish rendering the dialog first.
+					if ( CKEDITOR.env.gecko )
+						setTimeout( generateFormField, 500 );
+					else
+						generateFormField();
+				},
+
+				getValue : function()
+				{
+					// The file path returned from the input tag is incomplete anyway, so it's
+					// safe to ignore it and prevent the confirmation dialog from appearing.
+					// (Part of #3465)
+					return '';
+				},
+
+				/**
+				 * Defines the onChange event for UI element definitions.
+				 * @field
+				 * @type Object
+				 * @example
+				 */
+				eventProcessors : commonEventProcessors,
+
+				keyboardFocusable : true
+			}, true );
+
+	CKEDITOR.ui.dialog.fileButton.prototype = new CKEDITOR.ui.dialog.button;
+
+	CKEDITOR.dialog.addUIElement( 'text', textBuilder );
+	CKEDITOR.dialog.addUIElement( 'password', textBuilder );
+	CKEDITOR.dialog.addUIElement( 'textarea', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'checkbox', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'radio', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'button', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'select', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'file', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'fileButton', commonBuilder );
+	CKEDITOR.dialog.addUIElement( 'html', commonBuilder );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/div/dialogs/div.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/div/dialogs/div.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/div/dialogs/div.js	(revision 4888)
@@ -0,0 +1,442 @@
+/*
+ * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+(function()
+{
+
+	/**
+	 * Add to collection with DUP examination.
+	 * @param {Object} collection
+	 * @param {Object} element
+	 * @param {Object} database
+	 */
+	function addSafely( collection, element, database )
+	{
+		// 1. IE doesn't support customData on text nodes;
+		// 2. Text nodes never get chance to appear twice;
+		if ( !element.is || !element.getCustomData( 'block_processed' ) )
+		{
+			element.is && CKEDITOR.dom.element.setMarker( database, element, 'block_processed', true );
+			collection.push( element );
+		}
+	}
+
+	function getNonEmptyChildren( element )
+	{
+		var retval = [];
+		var children = element.getChildren();
+		for( var i = 0 ; i < children.count() ; i++ )
+		{
+			var child = children.getItem( i );
+			if( ! ( child.type === CKEDITOR.NODE_TEXT
+				&& ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
+				retval.push( child );
+		}
+		return retval;
+	}
+
+
+	/**
+	 * Dialog reused by both 'creatediv' and 'editdiv' commands.
+	 * @param {Object} editor
+	 * @param {String} command	The command name which indicate what the current command is.
+	 */
+	function divDialog( editor, command )
+	{
+		// Definition of elements at which div operation should stopped.
+		var divLimitDefinition = ( function(){
+
+			// Customzie from specialize blockLimit elements
+			var definition = CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$blockLimit );
+
+			// Exclude 'div' itself.
+			delete definition.div;
+
+			// Exclude 'td' and 'th' when 'wrapping table'
+			if( editor.config.div_wrapTable )
+			{
+				delete definition.td;
+				delete definition.th;
+			}
+			return definition;
+		})();
+
+		// DTD of 'div' element
+		var dtd = CKEDITOR.dtd.div;
+
+		/**
+		 * Get the first div limit element on the element's path.
+		 * @param {Object} element
+		 */
+		function getDivLimitElement( element )
+		{
+			var pathElements = new CKEDITOR.dom.elementPath( element ).elements;
+			var divLimit;
+			for ( var i = 0; i < pathElements.length ; i++ )
+			{
+				if ( pathElements[ i ].getName() in divLimitDefinition )
+				{
+					divLimit = pathElements[ i ];
+					break;
+				}
+			}
+			return divLimit;
+		}
+
+		/**
+		 * Init all fields' setup/commit function.
+		 * @memberof divDialog
+		 */
+		function setupFields()
+		{
+			this.foreach( function( field )
+			{
+				// Exclude layout container elements
+				if( /^(?!vbox|hbox)/.test( field.type ) )
+				{
+					if ( !field.setup )
+					{
+						// Read the dialog fields values from the specified
+						// element attributes.
+						field.setup = function( element )
+						{
+							field.setValue( element.getAttribute( field.id ) || '' );
+						};
+					}
+					if ( !field.commit )
+					{
+						// Set element attributes assigned by the dialog
+						// fields.
+						field.commit = function( element )
+						{
+							var fieldValue = this.getValue();
+							// ignore default element attribute values
+							if ( 'dir' == field.id && element.getComputedStyle( 'direction' ) == fieldValue )
+								return;
+
+							if ( fieldValue )
+								element.setAttribute( field.id, fieldValue );
+							else
+								element.removeAttribute( field.id );
+						};
+					}
+				}
+			} );
+		}
+
+		/**
+		 * Wrapping 'div' element around appropriate blocks among the selected ranges.
+		 * @param {Object} editor
+		 */
+		function createDiv( editor )
+		{
+			// new adding containers OR detected pre-existed containers.
+			var containers = [];
+			// node markers store.
+			var database = {};
+			// All block level elements which contained by the ranges.
+			var containedBlocks = [], block;
+
+			// Get all ranges from the selection.
+			var selection = editor.document.getSelection();
+			var ranges = selection.getRanges();
+			var bookmarks = selection.createBookmarks();
+			var i, iterator;
+
+			// Calcualte a default block tag if we need to create blocks.
+			var blockTag = editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p';
+
+			// collect all included elements from dom-iterator
+			for( i = 0 ; i < ranges.length ; i++ )
+			{
+				iterator = ranges[ i ].createIterator();
+				while( ( block = iterator.getNextParagraph() ) )
+				{
+					// include contents of blockLimit elements.
+					if( block.getName() in divLimitDefinition )
+					{
+						var j, childNodes = block.getChildren();
+						for ( j = 0 ; j < childNodes.count() ; j++ )
+							addSafely( containedBlocks, childNodes.getItem( j ) , database );
+					}
+					else
+					{
+						// Bypass dtd disallowed elements.
+						while( !dtd[ block.getName() ] && block.getName() != 'body' )
+							block = block.getParent();
+						addSafely( containedBlocks, block, database );
+					}
+				}
+			}
+
+			CKEDITOR.dom.element.clearAllMarkers( database );
+
+			var blockGroups = groupByDivLimit( containedBlocks );
+			var ancestor, blockEl, divElement;
+
+			for( i = 0 ; i < blockGroups.length ; i++ )
+			{
+				var currentNode = blockGroups[ i ][ 0 ];
+
+				// Calculate the common parent node of all contained elements.
+				ancestor = currentNode.getParent();
+				for ( j = 1 ; j < blockGroups[ i ].length; j++ )
+					ancestor = ancestor.getCommonAncestor( blockGroups[ i ][ j ] );
+
+				divElement = new CKEDITOR.dom.element( 'div', editor.document );
+
+				// Normalize the blocks in each group to a common parent.
+				for( j = 0; j < blockGroups[ i ].length ; j++ )
+				{
+					currentNode = blockGroups[ i ][ j ];
+
+					while( !currentNode.getParent().equals( ancestor ) )
+						currentNode = currentNode.getParent();
+
+					// This could introduce some duplicated elements in array.
+					blockGroups[ i ][ j ] = currentNode;
+				}
+
+				// Wrapped blocks counting
+				var fixedBlock = null;
+				for ( j = 0 ; j < blockGroups[ i ].length ; j++ )
+				{
+					currentNode = blockGroups[ i ][ j ];
+
+					// Avoid DUP elements introduced by grouping.
+					if ( !( currentNode.getCustomData && currentNode.getCustomData( 'block_processed' ) ) )
+					{
+						currentNode.is && CKEDITOR.dom.element.setMarker( database, currentNode, 'block_processed', true );
+
+						// Establish new container, wrapping all elements in this group.
+						if ( !j )
+							divElement.insertBefore( currentNode );
+
+						divElement.append( currentNode );
+					}
+				}
+
+				CKEDITOR.dom.element.clearAllMarkers( database );
+				containers.push( divElement );
+			}
+
+			selection.selectBookmarks( bookmarks );
+			return containers;
+		}
+
+		function getDiv( editor )
+		{
+			var path = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() ),
+				blockLimit = path.blockLimit,
+				div = blockLimit && blockLimit.getAscendant( 'div', true );
+			return div;
+		}
+		/**
+		 * Divide a set of nodes to different groups by their path's blocklimit element.
+		 * Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class:
+		 *  * CKEDITOR.dom.range.Iterator
+		 *  * CKEDITOR.dom.domWalker
+		 *  @return {Array []} the grouped nodes
+		 */
+		function groupByDivLimit( nodes )
+		{
+			var groups = [],
+				lastDivLimit = null,
+				path, block;
+			for ( var i = 0 ; i < nodes.length ; i++ )
+			{
+				block = nodes[i];
+				var limit = getDivLimitElement( block );
+				if ( !limit.equals( lastDivLimit ) )
+				{
+					lastDivLimit = limit ;
+					groups.push( [] ) ;
+				}
+				groups[ groups.length - 1 ].push( block ) ;
+			}
+			return groups;
+		}
+
+		/**
+		 * Hold a collection of created block container elements.
+		 */
+		var containers = [];
+		/**
+		 * @type divDialog
+		 */
+		return {
+			title : editor.lang.div.title,
+			minWidth : 400,
+			minHeight : 165,
+			contents :
+			[
+			{
+				id :'info',
+				label :editor.lang.common.generalTab,
+				title :editor.lang.common.generalTab,
+				elements :
+				[
+					{
+						type :'hbox',
+						widths : [ '50%', '50%' ],
+						children :
+						[
+							{
+								id :'elementStyle',
+								type :'select',
+								style :'width: 100%;',
+								label :editor.lang.div.styleSelectLabel,
+								'default' : '',
+								items : [],
+								setup : function( element )
+								{
+									this.setValue( element.$.style.cssText || '' );
+								},
+								commit: function( element )
+								{
+									if ( this.getValue() )
+										element.$.style.cssText = this.getValue();
+									else
+										element.removeAttribute( 'style' );
+								}
+							},
+							{
+								id :'class',
+								type :'text',
+								label :editor.lang.common.cssClass,
+								'default' : ''
+							}
+						]
+					}
+				]
+			},
+			{
+					id :'advanced',
+					label :editor.lang.common.advancedTab,
+					title :editor.lang.common.advancedTab,
+					elements :
+					[
+					{
+						type :'vbox',
+						padding :1,
+						children :
+						[
+							{
+								type :'hbox',
+								widths : [ '50%', '50%' ],
+								children :
+								[
+									{
+										type :'text',
+										id :'id',
+										label :editor.lang.common.id,
+										'default' : ''
+									},
+									{
+										type :'text',
+										id :'lang',
+										label :editor.lang.link.langCode,
+										'default' : ''
+									}
+								]
+							},
+							{
+								type :'hbox',
+								children :
+								[
+										{
+											type :'text',
+											id :'style',
+											style :'width: 100%;',
+											label :editor.lang.common.cssStyle,
+											'default' : ''
+										}
+								]
+							},
+							{
+								type :'hbox',
+								children :
+								[
+										{
+											type :'text',
+											id :'title',
+											style :'width: 100%;',
+											label :editor.lang.common.advisoryTitle,
+											'default' : ''
+										}
+								]
+							},
+							{
+								type :'select',
+								id :'dir',
+								style :'width: 100%;',
+								label :editor.lang.common.langDir,
+								'default' : '',
+								items :
+								[
+									[
+										editor.lang.common.langDirLtr,
+										'ltr'
+									],
+									[
+										editor.lang.common.langDirRtl,
+										'rtl'
+									]
+								]
+							}
+						]
+					}
+					]
+				}
+			],
+			onLoad : function()
+			{
+				setupFields.call(this);
+			},
+			onShow : function()
+			{
+				// Whether always create new container regardless of existed
+				// ones.
+				if ( command == 'editdiv' )
+				{
+					// Try to discover the containers that already existed in
+					// ranges
+					var div = getDiv( editor );
+					// update dialog field values
+					div && this.setupContent( this._element = div );
+				}
+			},
+			onOk : function()
+			{
+				if( command == 'editdiv' )
+					containers = [ this._element ];
+				else
+					containers = createDiv( editor, true );
+
+				// Update elements attributes
+				for( var i = 0 ; i < containers.length ; i++ )
+					this.commitContent( containers[ i ] );
+				this.hide();
+			}
+		};
+	}
+
+	CKEDITOR.dialog.add( 'creatediv', function( editor )
+		{
+			return divDialog( editor, 'creatediv' );
+		} );
+	CKEDITOR.dialog.add( 'editdiv', function( editor )
+		{
+			return divDialog( editor, 'editdiv' );
+		} );
+} )();
+
+/*
+ * @name CKEDITOR.config.div_wrapTable
+ * Whether to wrap the whole table instead of indivisual cells when created 'div' in table cell.
+ * @type Boolean
+ * @default false
+ * @example config.div_wrapTable = true;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/div/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/div/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/div/plugin.js	(revision 4888)
@@ -0,0 +1,121 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes.
+ *
+ */
+
+(function()
+{
+	CKEDITOR.plugins.add( 'div',
+	{
+		requires : [ 'editingblock', 'domiterator' ],
+
+		init : function( editor )
+		{
+			var lang = editor.lang.div;
+
+			editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv' ) );
+			editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv' ) );
+			editor.addCommand( 'removediv',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection(),
+							ranges = selection && selection.getRanges(),
+							range,
+							bookmarks = selection.createBookmarks(),
+							walker,
+							toRemove = [];
+
+						function findDiv( node )
+						{
+							var path = new CKEDITOR.dom.elementPath( node ),
+								blockLimit = path.blockLimit,
+								div = blockLimit.is( 'div' ) && blockLimit;
+
+							if ( div && !div.getAttribute( '_cke_div_added' ) )
+							{
+								toRemove.push( div );
+								div.setAttribute( '_cke_div_added' );
+							}
+						}
+
+						for ( var i = 0 ; i < ranges.length ; i++ )
+						{
+							range = ranges[ i ];
+							if( range.collapsed )
+								findDiv( selection.getStartElement() );
+							else
+							{
+								walker = new CKEDITOR.dom.walker( range );
+								walker.evaluator = findDiv;
+								walker.lastForward();
+							}
+						}
+
+						for ( i = 0 ; i < toRemove.length ; i++ )
+							toRemove[ i ].remove( true );
+
+						selection.selectBookmarks( bookmarks );
+					}
+				} );
+
+			editor.ui.addButton( 'CreateDiv',
+			{
+				label : lang.toolbar,
+				command :'creatediv'
+			} );
+
+			if ( editor.addMenuItems )
+			{
+				editor.addMenuItems(
+					{
+						editdiv :
+						{
+							label : lang.edit,
+							command : 'editdiv',
+							group : 'div',
+							order : 1
+						},
+
+						removediv:
+						{
+							label : lang.remove,
+							command : 'removediv',
+							group : 'div',
+							order : 5
+						}
+					} );
+
+				if ( editor.contextMenu )
+				{
+					editor.contextMenu.addListener( function( element, selection )
+						{
+							if ( !element )
+								return null;
+
+							var elementPath = new CKEDITOR.dom.elementPath( element ),
+								blockLimit = elementPath.blockLimit;
+
+							if ( blockLimit && blockLimit.getAscendant( 'div', true ) )
+							{
+								return {
+									editdiv : CKEDITOR.TRISTATE_OFF,
+									removediv : CKEDITOR.TRISTATE_OFF
+								};
+							}
+
+							return null;
+						} );
+				}
+			}
+
+			CKEDITOR.dialog.add( 'creatediv', this.path + 'dialogs/div.js' );
+			CKEDITOR.dialog.add( 'editdiv', this.path + 'dialogs/div.js' );
+		}
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/domiterator/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/domiterator/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/domiterator/plugin.js	(revision 4888)
@@ -0,0 +1,353 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file DOM iterator, which iterates over list items, lines and paragraphs.
+ */
+
+CKEDITOR.plugins.add( 'domiterator' );
+
+(function()
+{
+
+	function iterator( range )
+	{
+		if ( arguments.length < 1 )
+			return;
+
+		this.range = range;
+		this.forceBrBreak = false;
+
+		// Whether include <br>s into the enlarged range.(#3730).
+		this.enlargeBr = true;
+		this.enforceRealBlocks = false;
+
+		this._ || ( this._ = {} );
+	}
+
+	var beginWhitespaceRegex = /^[\r\n\t ]+$/,
+		isBookmark = CKEDITOR.dom.walker.bookmark();
+
+	iterator.prototype = {
+		getNextParagraph : function( blockTag )
+		{
+			// The block element to be returned.
+			var block;
+
+			// The range object used to identify the paragraph contents.
+			var range;
+
+			// Indicats that the current element in the loop is the last one.
+			var isLast;
+
+			// Instructs to cleanup remaining BRs.
+			var removePreviousBr, removeLastBr;
+
+			// This is the first iteration. Let's initialize it.
+			if ( !this._.lastNode )
+			{
+				range = this.range.clone();
+				range.enlarge( this.forceBrBreak || !this.enlargeBr ?
+							   CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS );
+
+				var walker = new CKEDITOR.dom.walker( range ),
+					ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
+				// Avoid anchor inside bookmark inner text.
+				walker.evaluator = ignoreBookmarkTextEvaluator;
+				this._.nextNode = walker.next();
+				// TODO: It's better to have walker.reset() used here.
+				walker = new CKEDITOR.dom.walker( range );
+				walker.evaluator = ignoreBookmarkTextEvaluator;
+				var lastNode = walker.previous();
+				this._.lastNode = lastNode.getNextSourceNode( true );
+
+				// We may have an empty text node at the end of block due to [3770].
+				// If that node is the lastNode, it would cause our logic to leak to the
+				// next block.(#3887)
+				if ( this._.lastNode &&
+						this._.lastNode.type == CKEDITOR.NODE_TEXT &&
+						!CKEDITOR.tools.trim( this._.lastNode.getText( ) ) &&
+						this._.lastNode.getParent().isBlockBoundary() )
+				{
+					var testRange = new CKEDITOR.dom.range( range.document );
+					testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
+					if ( testRange.checkEndOfBlock() )
+					{
+						var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
+						var lastBlock = path.block || path.blockLimit;
+						this._.lastNode = lastBlock.getNextSourceNode( true );
+					}
+				}
+
+				// Probably the document end is reached, we need a marker node.
+				if ( !this._.lastNode )
+				{
+					this._.lastNode = this._.docEndMarker = range.document.createText( '' );
+					this._.lastNode.insertAfter( lastNode );
+				}
+
+				// Let's reuse this variable.
+				range = null;
+			}
+
+			var currentNode = this._.nextNode;
+			lastNode = this._.lastNode;
+
+			this._.nextNode = null;
+			while ( currentNode )
+			{
+				// closeRange indicates that a paragraph boundary has been found,
+				// so the range can be closed.
+				var closeRange = false;
+
+				// includeNode indicates that the current node is good to be part
+				// of the range. By default, any non-element node is ok for it.
+				var includeNode = ( currentNode.type != CKEDITOR.NODE_ELEMENT ),
+					continueFromSibling = false;
+
+				// If it is an element node, let's check if it can be part of the
+				// range.
+				if ( !includeNode )
+				{
+					var nodeName = currentNode.getName();
+
+					if ( currentNode.isBlockBoundary( this.forceBrBreak && { br : 1 } ) )
+					{
+						// <br> boundaries must be part of the range. It will
+						// happen only if ForceBrBreak.
+						if ( nodeName == 'br' )
+							includeNode = true;
+						else if ( !range && !currentNode.getChildCount() && nodeName != 'hr' )
+						{
+							// If we have found an empty block, and haven't started
+							// the range yet, it means we must return this block.
+							block = currentNode;
+							isLast = currentNode.equals( lastNode );
+							break;
+						}
+
+						// The range must finish right before the boundary,
+						// including possibly skipped empty spaces. (#1603)
+						if ( range )
+						{
+							range.setEndAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+
+							// The found boundary must be set as the next one at this
+							// point. (#1717)
+							if ( nodeName != 'br' )
+								this._.nextNode = currentNode;
+						}
+
+						closeRange = true;
+					}
+					else
+					{
+						// If we have child nodes, let's check them.
+						if ( currentNode.getFirst() )
+						{
+							// If we don't have a range yet, let's start it.
+							if ( !range )
+							{
+								range = new CKEDITOR.dom.range( this.range.document );
+								range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+							}
+
+							currentNode = currentNode.getFirst();
+							continue;
+						}
+						includeNode = true;
+					}
+				}
+				else if ( currentNode.type == CKEDITOR.NODE_TEXT )
+				{
+					// Ignore normal whitespaces (i.e. not including &nbsp; or
+					// other unicode whitespaces) before/after a block node.
+					if ( beginWhitespaceRegex.test( currentNode.getText() ) )
+						includeNode = false;
+				}
+
+				// The current node is good to be part of the range and we are
+				// starting a new range, initialize it first.
+				if ( includeNode && !range )
+				{
+					range = new CKEDITOR.dom.range( this.range.document );
+					range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+				}
+
+				// The last node has been found.
+				isLast = ( ( !closeRange || includeNode ) && currentNode.equals( lastNode ) );
+
+				// If we are in an element boundary, let's check if it is time
+				// to close the range, otherwise we include the parent within it.
+				if ( range && !closeRange )
+				{
+					while ( !currentNode.getNext() && !isLast )
+					{
+						var parentNode = currentNode.getParent();
+
+						if ( parentNode.isBlockBoundary( this.forceBrBreak && { br : 1 } ) )
+						{
+							closeRange = true;
+							isLast = isLast || ( parentNode.equals( lastNode) );
+							break;
+						}
+
+						currentNode = parentNode;
+						includeNode = true;
+						isLast = ( currentNode.equals( lastNode ) );
+						continueFromSibling = true;
+					}
+				}
+
+				// Now finally include the node.
+				if ( includeNode )
+					range.setEndAt( currentNode, CKEDITOR.POSITION_AFTER_END );
+
+				currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );
+				isLast = !currentNode;
+
+				// We have found a block boundary. Let's close the range and move out of the
+				// loop.
+				if ( ( closeRange || isLast ) && range )
+				{
+					var boundaryNodes = range.getBoundaryNodes(),
+						startPath = new CKEDITOR.dom.elementPath( range.startContainer );
+
+					// Drop the range if it only contains bookmark nodes, and is
+					// not because of the original collapsed range. (#4087,#4450)
+					if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit )
+						 && isBookmark( boundaryNodes.startNode ) && isBookmark( boundaryNodes.endNode ) )
+					{
+						range = null;
+						this._.nextNode = null;
+					}
+					else
+						break;
+				}
+
+				if ( isLast )
+					break;
+
+			}
+
+			// Now, based on the processed range, look for (or create) the block to be returned.
+			if ( !block )
+			{
+				// If no range has been found, this is the end.
+				if ( !range )
+				{
+					this._.docEndMarker && this._.docEndMarker.remove();
+					this._.nextNode = null;
+					return null;
+				}
+
+				startPath = new CKEDITOR.dom.elementPath( range.startContainer );
+				var startBlockLimit = startPath.blockLimit,
+					checkLimits = { div : 1, th : 1, td : 1 };
+				block = startPath.block;
+
+				if ( !block
+						&& !this.enforceRealBlocks
+						&& checkLimits[ startBlockLimit.getName() ]
+						&& range.checkStartOfBlock()
+						&& range.checkEndOfBlock() )
+					block = startBlockLimit;
+				else if ( !block || ( this.enforceRealBlocks && block.getName() == 'li' ) )
+				{
+					// Create the fixed block.
+					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;
+				}
+				else if ( block.getName() != 'li' )
+				{
+					// If the range doesn't includes the entire contents of the
+					// block, we must split it, isolating the range in a dedicated
+					// block.
+					if ( !range.checkStartOfBlock() || !range.checkEndOfBlock() )
+					{
+						// The resulting block will be a clone of the current one.
+						block = block.clone( false );
+
+						// Extract the range contents, moving it to the new block.
+						range.extractContents().appendTo( block );
+						block.trim();
+
+						// Split the block. At this point, the range will be in the
+						// right position for our intents.
+						var splitInfo = range.splitBlock();
+
+						removePreviousBr = !splitInfo.wasStartOfBlock;
+						removeLastBr = !splitInfo.wasEndOfBlock;
+
+						// Insert the new block into the DOM.
+						range.insertNode( block );
+					}
+				}
+				else if ( !isLast )
+				{
+					// LIs are returned as is, with all their children (due to the
+					// nested lists). But, the next node is the node right after
+					// the current range, which could be an <li> child (nested
+					// lists) or the next sibling <li>.
+
+					this._.nextNode = ( block.equals( lastNode ) ? null :
+						range.getBoundaryNodes().endNode.getNextSourceNode( true, null, lastNode ) );
+				}
+			}
+
+			if ( removePreviousBr )
+			{
+				var previousSibling = block.getPrevious();
+				if ( previousSibling && previousSibling.type == CKEDITOR.NODE_ELEMENT )
+				{
+					if ( previousSibling.getName() == 'br' )
+						previousSibling.remove();
+					else if ( previousSibling.getLast() && previousSibling.getLast().$.nodeName.toLowerCase() == 'br' )
+						previousSibling.getLast().remove();
+				}
+			}
+
+			if ( removeLastBr )
+			{
+				// Ignore bookmark nodes.(#3783)
+				var bookmarkGuard = CKEDITOR.dom.walker.bookmark( false, true );
+
+				var lastChild = block.getLast();
+				if ( lastChild && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.getName() == 'br' )
+				{
+					// Take care not to remove the block expanding <br> in non-IE browsers.
+					if ( CKEDITOR.env.ie
+						 || lastChild.getPrevious( bookmarkGuard )
+						 || lastChild.getNext( bookmarkGuard ) )
+						lastChild.remove();
+				}
+			}
+
+			// Get a reference for the next element. This is important because the
+			// above block can be removed or changed, so we can rely on it for the
+			// next interation.
+			if ( !this._.nextNode )
+			{
+				this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
+					block.getNextSourceNode( true, null, lastNode );
+			}
+
+			return block;
+		}
+	};
+
+	CKEDITOR.dom.range.prototype.createIterator = function()
+	{
+		return new iterator( this );
+	};
+})();
Index: CKEditor/branches/features/aria/_source/plugins/editingblock/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/editingblock/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/editingblock/plugin.js	(revision 4888)
@@ -0,0 +1,236 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The default editing block plugin, which holds the editing area
+ *		and source view.
+ */
+
+(function()
+{
+	var getMode = function( editor, mode )
+	{
+		return editor._.modes && editor._.modes[ mode || editor.mode ];
+	};
+
+	// This is a semaphore used to avoid recursive calls between
+	// the following data handling functions.
+	var isHandlingData;
+
+	CKEDITOR.plugins.add( 'editingblock',
+	{
+		init : function( editor )
+		{
+			if ( !editor.config.editingBlock )
+				return;
+
+			editor.on( 'themeSpace', function( event )
+				{
+					if ( event.data.space == 'contents' )
+						event.data.html += '<br>';
+				});
+
+			editor.on( 'themeLoaded', function()
+				{
+					editor.fireOnce( 'editingBlockReady' );
+				});
+
+			editor.on( 'uiReady', function()
+				{
+					editor.setMode( editor.config.startupMode );
+				});
+
+			editor.on( 'afterSetData', function()
+				{
+					if ( !isHandlingData )
+					{
+						function setData()
+						{
+							isHandlingData = true;
+							getMode( editor ).loadData( editor.getData() );
+							isHandlingData = false;
+						}
+
+						if ( editor.mode )
+							setData();
+						else
+						{
+							editor.on( 'mode', function()
+								{
+									setData();
+									editor.removeListener( 'mode', arguments.callee );
+								});
+						}
+					}
+				});
+
+			editor.on( 'beforeGetData', function()
+				{
+					if ( !isHandlingData && editor.mode )
+					{
+						isHandlingData = true;
+						editor.setData( getMode( editor ).getData() );
+						isHandlingData = false;
+					}
+				});
+
+			editor.on( 'getSnapshot', function( event )
+				{
+					if ( editor.mode )
+						event.data = getMode( editor ).getSnapshotData();
+				});
+
+			editor.on( 'loadSnapshot', function( event )
+				{
+					if ( editor.mode )
+						getMode( editor ).loadSnapshotData( event.data );
+				});
+
+			// For the first "mode" call, we'll also fire the "instanceReady"
+			// event.
+			editor.on( 'mode', function( event )
+				{
+					// Do that once only.
+					event.removeListener();
+
+					// Grab editor focus if the editor container is focused. (#3104)
+					var focusGrabber = editor.container;
+
+					// Safari 3 can't handle tabindex in all elements, so we do
+					// a trick to make it move the focus to the editor on TAB.
+					if ( CKEDITOR.env.webkit && CKEDITOR.env.version < 528 )
+					{
+						var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;
+						focusGrabber = focusGrabber.append( CKEDITOR.dom.element.createFromHtml(
+							'<input' +
+								' tabindex="' + tabIndex + '"' +
+								' style="position:absolute; left:-10000">' ) );
+					}
+
+					focusGrabber.on( 'focus', function()
+						{
+							editor.focus();
+						});
+
+					if ( editor.config.startupFocus )
+						editor.focus();
+
+					// Fire instanceReady for both the editor and CKEDITOR, but
+					// defer this until the whole execution has completed
+					// to guarantee the editor is fully responsible.
+					setTimeout( function(){
+						editor.fireOnce( 'instanceReady' );
+						CKEDITOR.fire( 'instanceReady', null, editor );
+					} );
+				});
+		}
+	});
+
+	/**
+	 * The current editing mode. An editing mode is basically a viewport for
+	 * editing or content viewing. By default the possible values for this
+	 * property are "wysiwyg" and "source".
+	 * @type String
+	 * @example
+	 * alert( CKEDITOR.instances.editor1.mode );  // "wysiwyg" (e.g.)
+	 */
+	CKEDITOR.editor.prototype.mode = '';
+
+	/**
+	 * Registers an editing mode. This function is to be used mainly by plugins.
+	 * @param {String} mode The mode name.
+	 * @param {Object} modeEditor The mode editor definition.
+	 * @example
+	 */
+	CKEDITOR.editor.prototype.addMode = function( mode, modeEditor )
+	{
+		modeEditor.name = mode;
+		( this._.modes || ( this._.modes = {} ) )[ mode ] = modeEditor;
+	};
+
+	/**
+	 * Sets the current editing mode in this editor instance.
+	 * @param {String} mode A registered mode name.
+	 * @example
+	 * // Switch to "source" view.
+	 * CKEDITOR.instances.editor1.setMode( 'source' );
+	 */
+	CKEDITOR.editor.prototype.setMode = function( mode )
+	{
+		var data,
+			holderElement = this.getThemeSpace( 'contents' ),
+			isDirty = this.checkDirty();
+
+		// Unload the previous mode.
+		if ( this.mode )
+		{
+			if ( mode == this.mode )
+				return;
+
+			this.fire( 'beforeModeUnload' );
+
+			var currentMode = getMode( this );
+			data = currentMode.getData();
+			currentMode.unload( holderElement );
+			this.mode = '';
+		}
+
+		holderElement.setHtml( '' );
+
+		// Load required mode.
+		var modeEditor = getMode( this, mode );
+		if ( !modeEditor )
+			throw '[CKEDITOR.editor.setMode] Unknown mode "' + mode + '".';
+
+		if ( !isDirty )
+		{
+			this.on( 'mode', function()
+				{
+					this.resetDirty();
+					this.removeListener( 'mode', arguments.callee );
+				});
+		}
+
+		modeEditor.load( holderElement, ( typeof data ) != 'string'  ? this.getData() : data);
+	};
+
+	/**
+	 * Moves the selection focus to the editing are space in the editor.
+	 */
+	CKEDITOR.editor.prototype.focus = function()
+	{
+		var mode = getMode( this );
+		if ( mode )
+			mode.focus();
+	};
+})();
+
+/**
+ * The mode to load at the editor startup. It depends on the plugins
+ * loaded. By default, the "wysiwyg" and "source" modes are available.
+ * @type String
+ * @default 'wysiwyg'
+ * @example
+ * config.startupMode = 'source';
+ */
+CKEDITOR.config.startupMode = 'wysiwyg';
+
+/**
+ * Sets whether the editor should have the focus when the page loads.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.startupFocus = true;
+ */
+CKEDITOR.config.startupFocus = false;
+
+/**
+ * Whether to render or not the editing block area in the editor interface.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.editingBlock = false;
+ */
+CKEDITOR.config.editingBlock = true;
Index: CKEditor/branches/features/aria/_source/plugins/elementspath/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/elementspath/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/elementspath/plugin.js	(revision 4888)
@@ -0,0 +1,182 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "elementspath" plugin. It shows all elements in the DOM
+ *		parent tree relative to the current selection in the editing area.
+ */
+
+(function()
+{
+	var commands =
+	{
+		toolbarFocus :
+		{
+			exec : function( editor )
+			{
+				var idBase = editor._.elementsPath.idBase;
+				var element = CKEDITOR.document.getById( idBase + '0' );
+
+				if ( element )
+					element.focus();
+			}
+		}
+	};
+
+	var emptyHtml = '<span class="cke_empty">&nbsp;</span>';
+
+	CKEDITOR.plugins.add( 'elementspath',
+	{
+		requires : [ 'selection' ],
+
+		init : function( editor )
+		{
+			var spaceId = 'cke_path_' + editor.name;
+			var spaceElement;
+			var getSpaceElement = function()
+			{
+				if ( !spaceElement )
+					spaceElement = CKEDITOR.document.getById( spaceId );
+				return spaceElement;
+			};
+
+			var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_';
+
+			editor._.elementsPath = { idBase : idBase };
+
+			editor.on( 'themeSpace', function( event )
+				{
+					if ( event.data.space == 'bottom' )
+						event.data.html += '<div id="' + spaceId + '" class="cke_path">' + emptyHtml + '</div>';
+				});
+
+			editor.on( 'selectionChange', function( ev )
+				{
+					var env = CKEDITOR.env;
+
+					var selection = ev.data.selection;
+
+					var element = selection.getStartElement(),
+						html = [],
+						elementsList = this._.elementsPath.list = [];
+
+					while ( element )
+					{
+						var index = elementsList.push( element ) - 1;
+						var name;
+						if ( element.getAttribute( '_cke_real_element_type' ) )
+							name = element.getAttribute( '_cke_real_element_type' );
+						else
+							name = element.getName();
+
+						// Use this variable to add conditional stuff to the
+						// HTML (because we are doing it in reverse order... unshift).
+						var extra = '';
+
+						// Some browsers don't cancel key events in the keydown but in the
+						// keypress.
+						// TODO: Check if really needed for Gecko+Mac.
+						if ( env.opera || ( env.gecko && env.mac ) )
+							extra += ' onkeypress="return false;"';
+
+						// With Firefox, we need to force the button to redraw, otherwise it
+						// will remain in the focus state.
+						if ( env.gecko )
+							extra += ' onblur="this.style.cssText = this.style.cssText;"';
+
+						html.unshift(
+							'<a' +
+								' id="', idBase, index, '"' +
+								' href="javascript:void(\'', name, '\')"' +
+								' tabindex="-1"' +
+								' title="', editor.lang.elementsPath.eleTitle.replace( /%1/, name ), '"' +
+								( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ?
+								' onfocus="event.preventBubble();"' : '' ) +
+								' hidefocus="true" ' +
+								' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', this.name, '\',', index, ', event);"' +
+								extra ,
+								' onclick="return CKEDITOR._.elementsPath.click(\'', this.name, '\',', index, ');">',
+									name,
+							'</a>' );
+
+						if ( name == 'body' )
+							break;
+
+						element = element.getParent();
+					}
+
+					getSpaceElement().setHtml( html.join('') + emptyHtml );
+				});
+
+			editor.on( 'contentDomUnload', function()
+				{
+					getSpaceElement().setHtml( emptyHtml );
+				});
+
+			editor.addCommand( 'elementsPathFocus', commands.toolbarFocus );
+		}
+	});
+})();
+
+/**
+ * Handles the click on an element in the element path.
+ * @private
+ */
+CKEDITOR._.elementsPath =
+{
+	click : function( instanceName, elementIndex )
+	{
+		var editor = CKEDITOR.instances[ instanceName ];
+		editor.focus();
+
+		var element = editor._.elementsPath.list[ elementIndex ];
+		editor.getSelection().selectElement( element );
+
+		return false;
+	},
+
+	keydown : function( instanceName, elementIndex, ev )
+	{
+		var instance = CKEDITOR.ui.button._.instances[ elementIndex ];
+		var editor = CKEDITOR.instances[ instanceName ];
+		var idBase = editor._.elementsPath.idBase;
+
+		var element;
+
+		ev = new CKEDITOR.dom.event( ev );
+
+		switch ( ev.getKeystroke() )
+		{
+			case 37 :					// LEFT-ARROW
+			case 9 :					// TAB
+				element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) );
+				if ( !element )
+					element = CKEDITOR.document.getById( idBase + '0' );
+				element.focus();
+				return false;
+
+			case 39 :					// RIGHT-ARROW
+			case CKEDITOR.SHIFT + 9 :	// SHIFT + TAB
+				element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) );
+				if ( !element )
+					element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) );
+				element.focus();
+				return false;
+
+			case 27 :					// ESC
+				editor.focus();
+				return false;
+
+			case 13 :					// ENTER	// Opera
+			case 32 :					// SPACE
+				this.click( instanceName, elementIndex );
+				return false;
+
+			//default :
+			//	alert( ev.getKeystroke() );
+		}
+		return true;
+	}
+};
Index: CKEditor/branches/features/aria/_source/plugins/enterkey/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/enterkey/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/enterkey/plugin.js	(revision 4888)
@@ -0,0 +1,329 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	CKEDITOR.plugins.add( 'enterkey',
+	{
+		requires : [ 'keystrokes', 'indent' ],
+
+		init : function( editor )
+		{
+			var specialKeys = editor.specialKeys;
+			specialKeys[ 13 ] = enter;
+			specialKeys[ CKEDITOR.SHIFT + 13 ] = shiftEnter;
+		}
+	});
+
+	CKEDITOR.plugins.enterkey =
+	{
+		enterBlock : function( editor, mode, range, forceMode )
+		{
+			// Get the range for the current selection.
+			range = range || getRange( editor );
+
+			var doc = range.document;
+
+			// Determine the block element to be used.
+			var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
+
+			// Split the range.
+			var splitInfo = range.splitBlock( blockTag );
+
+			if ( !splitInfo )
+				return;
+
+			// Get the current blocks.
+			var previousBlock	= splitInfo.previousBlock,
+				nextBlock		= splitInfo.nextBlock;
+
+			var isStartOfBlock	= splitInfo.wasStartOfBlock,
+				isEndOfBlock	= splitInfo.wasEndOfBlock;
+
+			var node;
+
+			// If this is a block under a list item, split it as well. (#1647)
+			if ( nextBlock )
+			{
+				node = nextBlock.getParent();
+				if ( node.is( 'li' ) )
+				{
+					nextBlock.breakParent( node );
+					nextBlock.move( nextBlock.getNext(), true );
+				}
+			}
+			else if ( previousBlock && ( node = previousBlock.getParent() ) && node.is( 'li' ) )
+			{
+				previousBlock.breakParent( node );
+				range.moveToElementEditStart( previousBlock.getNext() );
+				previousBlock.move( previousBlock.getPrevious() );
+			}
+
+			// If we have both the previous and next blocks, it means that the
+			// boundaries were on separated blocks, or none of them where on the
+			// block limits (start/end).
+			if ( !isStartOfBlock && !isEndOfBlock )
+			{
+				// 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. (#1420)
+				if ( nextBlock.is( 'li' )
+					 && ( node = nextBlock.getFirst( CKEDITOR.dom.walker.invisible( true ) ) )
+					 && node.is && node.is( 'ul', 'ol' ) )
+					( CKEDITOR.env.ie ? doc.createText( '\xa0' ) : doc.createElement( 'br' ) ).insertBefore( node );
+
+				// Move the selection to the end block.
+				if ( nextBlock )
+					range.moveToElementEditStart( nextBlock );
+			}
+			else
+			{
+
+				if ( isStartOfBlock && isEndOfBlock && previousBlock.is( 'li' ) )
+				{
+					editor.execCommand( 'outdent' );
+					return;
+				}
+
+				var newBlock;
+
+				if ( previousBlock )
+				{
+					// Do not enter this block if it's a header tag, or we are in
+					// a Shift+Enter (#77). Create a new block element instead
+					// (later in the code).
+					if ( !forceMode && !headerTagRegex.test( previousBlock.getName() ) )
+					{
+						// Otherwise, duplicate the previous block.
+						newBlock = previousBlock.clone();
+					}
+				}
+				else if ( nextBlock )
+					newBlock = nextBlock.clone();
+
+				if ( !newBlock )
+					newBlock = doc.createElement( blockTag );
+
+				// Recreate the inline elements tree, which was available
+				// before hitting enter, so the same styles will be available in
+				// the new block.
+				var elementPath = splitInfo.elementPath;
+				if ( elementPath )
+				{
+					for ( var i = 0, len = elementPath.elements.length ; i < len ; i++ )
+					{
+						var element = elementPath.elements[ i ];
+
+						if ( element.equals( elementPath.block ) || element.equals( elementPath.blockLimit ) )
+							break;
+
+						if ( CKEDITOR.dtd.$removeEmpty[ element.getName() ] )
+						{
+							element = element.clone();
+							newBlock.moveChildren( element );
+							newBlock.append( element );
+						}
+					}
+				}
+
+				if ( !CKEDITOR.env.ie )
+					newBlock.appendBogus();
+
+				range.insertNode( newBlock );
+
+				// This is tricky, but to make the new block visible correctly
+				// we must select it.
+				// The previousBlock check has been included because it may be
+				// empty if we have fixed a block-less space (like ENTER into an
+				// empty table cell).
+				if ( CKEDITOR.env.ie && isStartOfBlock && ( !isEndOfBlock || !previousBlock.getChildCount() ) )
+				{
+					// Move the selection to the new block.
+					range.moveToElementEditStart( isEndOfBlock ? previousBlock : newBlock );
+					range.select();
+				}
+
+				// Move the selection to the new block.
+				range.moveToElementEditStart( isStartOfBlock && !isEndOfBlock ? nextBlock : newBlock );
+		}
+
+			if ( !CKEDITOR.env.ie )
+			{
+				if ( nextBlock )
+				{
+					// If we have split the block, adds a temporary span at the
+					// range position and scroll relatively to it.
+					var tmpNode = doc.createElement( 'span' );
+
+					// We need some content for Safari.
+					tmpNode.setHtml( '&nbsp;' );
+
+					range.insertNode( tmpNode );
+					tmpNode.scrollIntoView();
+					range.deleteContents();
+				}
+				else
+				{
+					// We may use the above scroll logic for the new block case
+					// too, but it gives some weird result with Opera.
+					newBlock.scrollIntoView();
+				}
+			}
+
+			range.select();
+		},
+
+		enterBr : function( editor, mode, range, forceMode )
+		{
+			// Get the range for the current selection.
+			range = range || getRange( editor );
+
+			var doc = range.document;
+
+			// Determine the block element to be used.
+			var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
+
+			var isEndOfBlock = range.checkEndOfBlock();
+
+			var elementPath = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() );
+
+			var startBlock = elementPath.block,
+				startBlockTag = startBlock && elementPath.block.getName();
+
+			var isPre = false;
+
+			if ( !forceMode && startBlockTag == 'li' )
+			{
+				enterBlock( editor, mode, range, forceMode );
+				return;
+			}
+
+			// If we are at the end of a header block.
+			if ( !forceMode && isEndOfBlock && headerTagRegex.test( startBlockTag ) )
+			{
+				// Insert a <br> after the current paragraph.
+				doc.createElement( 'br' ).insertAfter( startBlock );
+
+				// A text node is required by Gecko only to make the cursor blink.
+				if ( CKEDITOR.env.gecko )
+					doc.createText( '' ).insertAfter( startBlock );
+
+				// IE has different behaviors regarding position.
+				range.setStartAt( startBlock.getNext(), CKEDITOR.env.ie ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_START );
+			}
+			else
+			{
+				var lineBreak;
+
+				isPre = ( startBlockTag == 'pre' );
+
+				if ( isPre )
+					lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' );
+				else
+					lineBreak = doc.createElement( 'br' );
+
+				range.deleteContents();
+				range.insertNode( lineBreak );
+
+				// A text node is required by Gecko only to make the cursor blink.
+				// We need some text inside of it, so the bogus <br> is properly
+				// created.
+				if ( !CKEDITOR.env.ie )
+					doc.createText( '\ufeff' ).insertAfter( lineBreak );
+
+				// If we are at the end of a block, we must be sure the bogus node is available in that block.
+				if ( isEndOfBlock && !CKEDITOR.env.ie )
+					lineBreak.getParent().appendBogus();
+
+				// Now we can remove the text node contents, so the caret doesn't
+				// stop on it.
+				if ( !CKEDITOR.env.ie )
+					lineBreak.getNext().$.nodeValue = '';
+				// IE has different behavior regarding position.
+				if ( CKEDITOR.env.ie )
+					range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END );
+				else
+					range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START );
+
+				// Scroll into view, for non IE.
+				if ( !CKEDITOR.env.ie )
+				{
+					var dummy = null;
+
+					// BR is not positioned in Opera and Webkit.
+					if ( !CKEDITOR.env.gecko )
+					{
+						dummy = doc.createElement( 'span' );
+						// We need have some contents for Webkit to position it
+						// under parent node. ( #3681)
+						dummy.setHtml('&nbsp;');
+					}
+					else
+						dummy = doc.createElement( 'br' );
+
+					dummy.insertBefore( lineBreak.getNext() );
+					dummy.scrollIntoView();
+					dummy.remove();
+				}
+			}
+
+			// This collapse guarantees the cursor will be blinking.
+			range.collapse( true );
+
+			range.select( isPre );
+		}
+	};
+
+	var plugin = CKEDITOR.plugins.enterkey,
+		enterBr = plugin.enterBr,
+		enterBlock = plugin.enterBlock,
+		headerTagRegex = /^h[1-6]$/;
+
+	function shiftEnter( editor )
+	{
+		// On SHIFT+ENTER we want to enforce the mode to be respected, instead
+		// of cloning the current block. (#77)
+		return enter( editor, editor.config.shiftEnterMode, true );
+	}
+
+	function enter( editor, mode, forceMode )
+	{
+		// Only effective within document.
+		if ( editor.mode != 'wysiwyg' )
+			return false;
+
+		if ( !mode )
+			mode = editor.config.enterMode;
+
+		// Use setTimout so the keys get cancelled immediatelly.
+		setTimeout( function()
+			{
+				editor.fire( 'saveSnapshot' );	// Save undo step.
+				if ( mode == CKEDITOR.ENTER_BR || editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
+					enterBr( editor, mode, null, forceMode );
+				else
+					enterBlock( editor, mode, null, forceMode );
+
+			}, 0 );
+
+		return true;
+	}
+
+
+	function getRange( editor )
+	{
+		// Get the selection ranges.
+		var ranges = editor.getSelection().getRanges();
+
+		// Delete the contents of all ranges except the first one.
+		for ( var i = ranges.length - 1 ; i > 0 ; i-- )
+		{
+			ranges[ i ].deleteContents();
+		}
+
+		// Return the first range.
+		return ranges[ 0 ];
+	}
+})();
Index: CKEditor/branches/features/aria/_source/plugins/entities/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/entities/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/entities/plugin.js	(revision 4888)
@@ -0,0 +1,200 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var entities =
+
+		// Base HTML entities.
+		'nbsp,gt,lt,quot,' +
+
+		// Latin-1 Entities
+		'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,' +
+
+		// Symbols
+		'fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,' +
+		'alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,' +
+		'forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,' +
+		'radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,' +
+		'equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,' +
+		'rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,' +
+
+		// Other Special Characters
+		'circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,' +
+		'rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,' +
+		'euro';
+
+	// Latin Letters Entities
+	var latin =
+		'Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,' +
+		'Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,' +
+		'Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,' +
+		'agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,' +
+		'ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,' +
+		'otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,' +
+		'OElig,oelig,Scaron,scaron,Yuml';
+
+	// Greek Letters Entities.
+	var greek =
+		'Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,' +
+		'Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,' +
+		'beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,' +
+		'omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,' +
+		'upsih,piv';
+
+	function buildTable( entities )
+	{
+		var table = {},
+			regex = [];
+
+		// Entities that the browsers DOM don't transform to the final char
+		// automatically.
+		var specialTable =
+			{
+				nbsp	: '\u00A0',		// IE | FF
+				shy		: '\u00AD',		// IE
+				gt		: '\u003E',		// IE | FF |   --   | Opera
+				lt		: '\u003C'		// IE | FF | Safari | Opera
+			};
+
+		entities = entities.replace( /\b(nbsp|shy|gt|lt|amp)(?:,|$)/g, function( match, entity )
+			{
+				table[ specialTable[ entity ] ] = '&' + entity + ';';
+				regex.push( specialTable[ entity ] );
+				return '';
+			});
+
+		// Transforms the entities string into an array.
+		entities = entities.split( ',' );
+
+		// Put all entities inside a DOM element, transforming them to their
+		// final chars.
+		var div = document.createElement( 'div' ),
+			chars;
+		div.innerHTML = '&' + entities.join( ';&' ) + ';';
+		chars = div.innerHTML;
+		div = null;
+
+		// Add all chars to the table.
+		for ( var i = 0 ; i < chars.length ; i++ )
+		{
+			var charAt = chars.charAt( i );
+			table[ charAt ] = '&' + entities[ i ] + ';';
+			regex.push( charAt );
+		}
+
+		table.regex = regex.join( '' );
+
+		return table;
+	}
+
+	CKEDITOR.plugins.add( 'entities',
+	{
+		afterInit : function( editor )
+		{
+			var config = editor.config;
+
+			if ( !config.entities )
+				return;
+
+			var dataProcessor = editor.dataProcessor,
+				htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+			if ( htmlFilter )
+			{
+				var selectedEntities = entities;
+
+				if ( config.entities_latin )
+					selectedEntities += ',' + latin;
+
+				if ( config.entities_greek )
+					selectedEntities += ',' + greek;
+
+				if ( config.entities_additional )
+					selectedEntities += ',' + config.entities_additional;
+
+				var entitiesTable = buildTable( selectedEntities );
+
+				// Create the Regex used to find entities in the text.
+				var entitiesRegex = '[' + entitiesTable.regex + ']';
+				delete entitiesTable.regex;
+
+				if ( config.entities_processNumerical )
+					entitiesRegex = '[^ -~]|' + entitiesRegex ;
+
+				entitiesRegex = new RegExp( entitiesRegex, 'g' );
+
+				function getChar( character )
+				{
+					return entitiesTable[ character ] || ( '&#' + character.charCodeAt(0) + ';' );
+				}
+
+				htmlFilter.addRules(
+					{
+						text : function( text )
+						{
+							return text.replace( entitiesRegex, getChar );
+						}
+					});
+			}
+		}
+	});
+})();
+
+/**
+ * Whether to use HTML entities in the output.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities = false;
+ */
+CKEDITOR.config.entities = true;
+
+/**
+ * Whether to convert some Latin characters (Latin alphabet No&#46; 1, ISO 8859-1)
+ * to HTML entities. The list of entities can be found at the
+ * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.2.1">W3C HTML 4.01 Specification, section 24.2.1</a>.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities_latin = false;
+ */
+CKEDITOR.config.entities_latin = true;
+
+/**
+ * Whether to convert some symbols, mathematical symbols, and Greek letters to
+ * HTML entities. This may be more relevant for users typing text written in Greek.
+ * The list of entities can be found at the
+ * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.3.1">W3C HTML 4.01 Specification, section 24.3.1</a>.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities_greek = false;
+ */
+CKEDITOR.config.entities_greek = true;
+
+/**
+ * Whether to convert all remaining characters, not comprised in the ASCII
+ * character table, to their relative numeric representation of HTML entity.
+ * For example, the phrase "This is Chinese: &#27721;&#35821;." is outputted
+ * as "This is Chinese: &amp;#27721;&amp;#35821;."
+ * @type Boolean
+ * @default false
+ * @example
+ * config.entities_processNumerical = true;
+ */
+CKEDITOR.config.entities_processNumerical = false;
+
+/**
+ * An additional list of entities to be used. It's a string containing each
+ * entry separated by a comma. Entities names or number must be used, exclusing
+ * the "&amp;" preffix and the ";" termination.
+ * @default '#39'  // The single quote (') character.
+ * @type String
+ * @example
+ */
+CKEDITOR.config.entities_additional = '#39';
Index: CKEditor/branches/features/aria/_source/plugins/fakeobjects/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/fakeobjects/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/fakeobjects/plugin.js	(revision 4888)
@@ -0,0 +1,120 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var htmlFilterRules =
+	{
+		elements :
+		{
+			$ : function( element )
+			{
+				var attributes = element.attributes,
+					realHtml = attributes && attributes._cke_realelement,
+					realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( decodeURIComponent( realHtml ) ),
+					realElement = realFragment && realFragment.children[ 0 ];
+
+				// If we have width/height in the element, we must move it into
+				// the real element.
+				if ( realElement && element.attributes._cke_resizable )
+				{
+					var style = element.attributes.style;
+
+					if ( style )
+					{
+						// Get the width from the style.
+						var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ),
+							width = match && match[1];
+
+						// Get the height from the style.
+						match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style );
+						var height = match && match[1];
+
+						if ( width )
+							realElement.attributes.width = width;
+
+						if ( height )
+							realElement.attributes.height = height;
+					}
+				}
+
+				return realElement;
+			}
+		}
+	};
+
+	CKEDITOR.plugins.add( 'fakeobjects',
+	{
+		requires : [ 'htmlwriter' ],
+
+		afterInit : function( editor )
+		{
+			var dataProcessor = editor.dataProcessor,
+				htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+			if ( htmlFilter )
+				htmlFilter.addRules( htmlFilterRules );
+		}
+	});
+})();
+
+CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, realElementType, isResizable )
+{
+	var lang = this.lang.fakeobjects;
+
+	var attributes =
+	{
+		'class' : className,
+		src : CKEDITOR.getUrl( 'images/spacer.gif' ),
+		_cke_realelement : encodeURIComponent( realElement.getOuterHtml() ),
+		_cke_real_node_type : realElement.type,
+		alt : lang[ realElementType ] || lang.unknown
+	};
+
+	if ( realElementType )
+		attributes._cke_real_element_type = realElementType;
+
+	if ( isResizable )
+		attributes._cke_resizable = isResizable;
+
+	return this.document.createElement( 'img', { attributes : attributes } );
+};
+
+CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, className, realElementType, isResizable )
+{
+	var lang = this.lang.fakeobjects,
+		html;
+
+	var writer = new CKEDITOR.htmlParser.basicWriter();
+	realElement.writeHtml( writer );
+	html = writer.getHtml();
+
+	var attributes =
+	{
+		'class' : className,
+		src : CKEDITOR.getUrl( 'images/spacer.gif' ),
+		_cke_realelement : encodeURIComponent( html ),
+		_cke_real_node_type : realElement.type,
+		alt : lang[ realElementType ] || lang.unknown
+	};
+
+	if ( realElementType )
+		attributes._cke_real_element_type = realElementType;
+
+	if ( isResizable )
+		attributes._cke_resizable = isResizable;
+
+	return new CKEDITOR.htmlParser.element( 'img', attributes );
+};
+
+CKEDITOR.editor.prototype.restoreRealElement = function( fakeElement )
+{
+	if ( fakeElement.getAttribute( '_cke_real_node_type' ) != CKEDITOR.NODE_ELEMENT )
+		return null;
+
+	return CKEDITOR.dom.element.createFromHtml(
+		decodeURIComponent( fakeElement.getAttribute( '_cke_realelement' ) ),
+		this.document );
+};
Index: CKEditor/branches/features/aria/_source/plugins/filebrowser/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/filebrowser/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/filebrowser/plugin.js	(revision 4888)
@@ -0,0 +1,383 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "filebrowser" plugin, it adds support for file uploads and
+ *               browsing.
+ *
+ * When file is selected inside of the file browser or uploaded, its url is
+ * inserted automatically to a field, which is described in the 'filebrowser'
+ * attribute. To specify field that should be updated, pass the tab id and
+ * element id, separated with a colon.
+ *
+ * Example 1: (Browse)
+ *
+ * <pre>
+ * {
+ * 	type : 'button',
+ * 	id : 'browse',
+ * 	filebrowser : 'tabId:elementId',
+ * 	label : editor.lang.common.browseServer
+ * }
+ * </pre>
+ *
+ * If you set the 'filebrowser' attribute on any element other than
+ * 'fileButton', the 'Browse' action will be triggered.
+ *
+ * Example 2: (Quick Upload)
+ *
+ * <pre>
+ * {
+ * 	type : 'fileButton',
+ * 	id : 'uploadButton',
+ * 	filebrowser : 'tabId:elementId',
+ * 	label : editor.lang.common.uploadSubmit,
+ * 	'for' : [ 'upload', 'upload' ]
+ * }
+ * </pre>
+ *
+ * If you set the 'filebrowser' attribute on a fileButton element, the
+ * 'QuickUpload' action will be executed.
+ *
+ * Filebrowser plugin also supports more advanced configuration (through
+ * javascript object).
+ *
+ * The following settings are supported:
+ *
+ * <pre>
+ *  [action] - Browse or QuickUpload
+ *  [target] - field to update, tabId:elementId
+ *  [params] - additional arguments to be passed to the server connector (optional)
+ *  [onSelect] - function to execute when file is selected/uploaded (optional)
+ *  [url] - the URL to be called (optional)
+ * </pre>
+ *
+ * Example 3: (Quick Upload)
+ *
+ * <pre>
+ * {
+ * 	type : 'fileButton',
+ * 	label : editor.lang.common.uploadSubmit,
+ * 	id : 'buttonId',
+ * 	filebrowser :
+ * 	{
+ * 		action : 'QuickUpload', //required
+ * 		target : 'tab1:elementId', //required
+ * 		params : //optional
+ * 		{
+ * 			type : 'Files',
+ * 			currentFolder : '/folder/'
+ * 		},
+ * 		onSelect : function( fileUrl, errorMessage ) //optional
+ * 		{
+ * 			// Do not call the built-in selectFuntion
+ * 			// return false;
+ * 		}
+ * 	},
+ * 	'for' : [ 'tab1', 'myFile' ]
+ * }
+ * </pre>
+ *
+ * Suppose we have a file element with id 'myFile', text field with id
+ * 'elementId' and a fileButton. If filebowser.url is not specified explicitly,
+ * form action will be set to 'filebrowser[DialogName]UploadUrl' or, if not
+ * specified, to 'filebrowserUploadUrl'. Additional parameters from 'params'
+ * object will be added to the query string. It is possible to create your own
+ * uploadHandler and cancel the built-in updateTargetElement command.
+ *
+ * Example 4: (Browse)
+ *
+ * <pre>
+ * {
+ * 	type : 'button',
+ * 	id : 'buttonId',
+ * 	label : editor.lang.common.browseServer,
+ * 	filebrowser :
+ * 	{
+ * 		action : 'Browse',
+ * 		url : '/ckfinder/ckfinder.html&amp;type=Images',
+ * 		target : 'tab1:elementId'
+ * 	}
+ * }
+ * </pre>
+ *
+ * In this example, after pressing a button, file browser will be opened in a
+ * popup. If we don't specify filebrowser.url attribute,
+ * 'filebrowser[DialogName]BrowseUrl' or 'filebrowserBrowseUrl' will be used.
+ * After selecting a file in a file browser, an element with id 'elementId' will
+ * be updated. Just like in the third example, a custom 'onSelect' function may be
+ * defined.
+ */
+( function()
+{
+	/**
+	 * Adds (additional) arguments to given url.
+	 *
+	 * @param {String}
+	 *            url The url.
+	 * @param {Object}
+	 *            params Additional parameters.
+	 */
+	function addQueryString( url, params )
+	{
+		var queryString = [];
+
+		if ( !params )
+			return url;
+		else
+		{
+			for ( var i in params )
+				queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
+		}
+
+		return url + ( ( url.indexOf( "?" ) != -1 ) ? "&" : "?" ) + queryString.join( "&" );
+	}
+
+	/**
+	 * Make a string's first character uppercase.
+	 *
+	 * @param {String}
+	 *            str String.
+	 */
+	function ucFirst( str )
+	{
+		str += '';
+		var f = str.charAt( 0 ).toUpperCase();
+		return f + str.substr( 1 );
+	}
+
+	/**
+	 * The onlick function assigned to the 'Browse Server' button. Opens the
+	 * file browser and updates target field when file is selected.
+	 *
+	 * @param {CKEDITOR.event}
+	 *            evt The event object.
+	 */
+	function browseServer( evt )
+	{
+		var dialog = this.getDialog();
+		var editor = dialog.getParentEditor();
+
+		editor._.filebrowserSe = this;
+
+		var width = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowWidth' ]
+				|| editor.config.filebrowserWindowWidth || '80%';
+		var height = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowHeight' ]
+				|| editor.config.filebrowserWindowHeight || '70%';
+
+		var params = this.filebrowser.params || {};
+		params.CKEditor = editor.name;
+		params.CKEditorFuncNum = editor._.filebrowserFn;
+		if ( !params.langCode )
+			params.langCode = editor.langCode;
+
+		var url = addQueryString( this.filebrowser.url, params );
+		editor.popup( url, width, height );
+	}
+
+	/**
+	 * The onlick function assigned to the 'Upload' button. Makes the final
+	 * decision whether form is really submitted and updates target field when
+	 * file is uploaded.
+	 *
+	 * @param {CKEDITOR.event}
+	 *            evt The event object.
+	 */
+	function uploadFile( evt )
+	{
+		var dialog = this.getDialog();
+		var editor = dialog.getParentEditor();
+
+		editor._.filebrowserSe = this;
+
+		// If user didn't select the file, stop the upload.
+		if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getInputElement().$.value )
+			return false;
+
+		if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getAction() )
+			return false;
+
+		return true;
+	}
+
+	/**
+	 * Setups the file element.
+	 *
+	 * @param {CKEDITOR.ui.dialog.file}
+	 *            fileInput The file element used during file upload.
+	 * @param {Object}
+	 *            filebrowser Object containing filebrowser settings assigned to
+	 *            the fileButton associated with this file element.
+	 */
+	function setupFileElement( editor, fileInput, filebrowser )
+	{
+		var params = filebrowser.params || {};
+		params.CKEditor = editor.name;
+		params.CKEditorFuncNum = editor._.filebrowserFn;
+		if ( !params.langCode )
+			params.langCode = editor.langCode;
+
+		fileInput.action = addQueryString( filebrowser.url, params );
+		fileInput.filebrowser = filebrowser;
+	}
+
+	/**
+	 * Traverse through the content definition and attach filebrowser to
+	 * elements with 'filebrowser' attribute.
+	 *
+	 * @param String
+	 *            dialogName Dialog name.
+	 * @param {CKEDITOR.dialog.dialogDefinitionObject}
+	 *            definition Dialog definition.
+	 * @param {Array}
+	 *            elements Array of {@link CKEDITOR.dialog.contentDefinition}
+	 *            objects.
+	 */
+	function attachFileBrowser( editor, dialogName, definition, elements )
+	{
+		var element, fileInput;
+
+		for ( var i in elements )
+		{
+			element = elements[ i ];
+
+			if ( element.type == 'hbox' || element.type == 'vbox' )
+				attachFileBrowser( editor, dialogName, definition, element.children );
+
+			if ( !element.filebrowser )
+				continue;
+
+			if ( typeof element.filebrowser == 'string' )
+			{
+				var fb =
+				{
+					action : ( element.type == 'fileButton' ) ? 'QuickUpload' : 'Browse',
+					target : element.filebrowser
+				};
+				element.filebrowser = fb;
+			}
+
+			if ( element.filebrowser.action == 'Browse' )
+			{
+				var url = element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'BrowseUrl' ]
+							|| editor.config.filebrowserBrowseUrl;
+
+				if ( url )
+				{
+					element.onClick = browseServer;
+					element.filebrowser.url = url;
+					element.hidden = false;
+				}
+			}
+			else if ( element.filebrowser.action == 'QuickUpload' && element[ 'for' ] )
+			{
+				url =  element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'UploadUrl' ]
+							|| editor.config.filebrowserUploadUrl;
+
+				if ( url )
+				{
+					element.onClick = uploadFile;
+					element.filebrowser.url = url;
+					element.hidden = false;
+					setupFileElement( editor, definition.getContents( element[ 'for' ][ 0 ] ).get( element[ 'for' ][ 1 ] ), element.filebrowser );
+				}
+			}
+		}
+	}
+
+	/**
+	 * Updates the target element with the url of uploaded/selected file.
+	 *
+	 * @param {String}
+	 *            url The url of a file.
+	 */
+	function updateTargetElement( url, sourceElement )
+	{
+		var dialog = sourceElement.getDialog();
+		var targetElement = sourceElement.filebrowser.target || null;
+		url = url.replace( /#/g, '%23' );
+
+		// If there is a reference to targetElement, update it.
+		if ( targetElement )
+		{
+			var target = targetElement.split( ':' );
+			var element = dialog.getContentElement( target[ 0 ], target[ 1 ] );
+			if ( element )
+			{
+				element.setValue( url );
+				dialog.selectPage( target[ 0 ] );
+			}
+		}
+	}
+
+	/**
+	 * Returns true if filebrowser is configured in one of the elements.
+	 *
+	 * @param {CKEDITOR.dialog.dialogDefinitionObject}
+	 *            definition Dialog definition.
+	 * @param String
+	 *            tabId The tab id where element(s) can be found.
+	 * @param String
+	 *            elementId The element id (or ids, separated with a semicolon) to check.
+	 */
+	function isConfigured( definition, tabId, elementId )
+	{
+		if ( elementId.indexOf( ";" ) !== -1 )
+		{
+			var ids = elementId.split( ";" );
+			for ( var i = 0 ; i < ids.length ; i++ )
+			{
+				if ( isConfigured( definition, tabId, ids[i]) )
+					return true;
+			}
+			return false;
+		}
+
+		return ( definition.getContents( tabId ).get( elementId ).filebrowser && definition.getContents( tabId ).get( elementId ).filebrowser.url );
+	}
+
+	function setUrl( fileUrl, data )
+	{
+		var dialog = this._.filebrowserSe.getDialog(),
+			targetInput = this._.filebrowserSe[ 'for' ],
+			onSelect = this._.filebrowserSe.filebrowser.onSelect;
+
+		if ( targetInput )
+			dialog.getContentElement( targetInput[ 0 ], targetInput[ 1 ] ).reset();
+
+		if ( onSelect && onSelect.call( this._.filebrowserSe, fileUrl, data ) === false )
+			return;
+
+		// The "data" argument may be used to pass the error message to the editor.
+		if ( typeof data == 'string' && data )
+			alert( data );
+
+		if ( fileUrl )
+			updateTargetElement( fileUrl, this._.filebrowserSe );
+	}
+
+	CKEDITOR.plugins.add( 'filebrowser',
+	{
+		init : function( editor, pluginPath )
+		{
+			editor._.filebrowserFn = CKEDITOR.tools.addFunction( setUrl, editor );
+
+			CKEDITOR.on( 'dialogDefinition', function( evt )
+			{
+				// Associate filebrowser to elements with 'filebrowser' attribute.
+				for ( var i in evt.data.definition.contents )
+				{
+					attachFileBrowser( evt.editor, evt.data.name, evt.data.definition, evt.data.definition.contents[ i ].elements );
+					if ( evt.data.definition.contents[ i ].hidden && evt.data.definition.contents[ i ].filebrowser )
+					{
+						evt.data.definition.contents[ i ].hidden =
+							!isConfigured( evt.data.definition, evt.data.definition.contents[ i ][ 'id' ], evt.data.definition.contents[ i ].filebrowser );
+					}
+				}
+			} );
+		}
+	} );
+
+} )();
Index: CKEditor/branches/features/aria/_source/plugins/find/dialogs/find.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/find/dialogs/find.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/find/dialogs/find.js	(revision 4888)
@@ -0,0 +1,846 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	function guardDomWalkerNonEmptyTextNode( node )
+	{
+		return ( node.type == CKEDITOR.NODE_TEXT && node.getLength() > 0 );
+	}
+
+	/**
+	 * Elements which break characters been considered as sequence.
+	*/
+	function checkCharactersBoundary ( node )
+	{
+		var dtd = CKEDITOR.dtd;
+		return node.isBlockBoundary(
+			CKEDITOR.tools.extend( {}, dtd.$empty, dtd.$nonEditable ) );
+	}
+
+	/**
+	 * Get the cursor object which represent both current character and it's dom
+	 * position thing.
+	 */
+	var cursorStep = function()
+	{
+		return {
+			textNode : this.textNode,
+			offset : this.offset,
+			character : this.textNode ?
+				this.textNode.getText().charAt( this.offset ) : null,
+			hitMatchBoundary : this._.matchBoundary
+		};
+	};
+
+	var pages = [ 'find', 'replace' ],
+		fieldsMapping = [
+		[ 'txtFindFind', 'txtFindReplace' ],
+		[ 'txtFindCaseChk', 'txtReplaceCaseChk' ],
+		[ 'txtFindWordChk', 'txtReplaceWordChk' ],
+		[ 'txtFindCyclic', 'txtReplaceCyclic' ] ];
+
+	/**
+	 * Synchronize corresponding filed values between 'replace' and 'find' pages.
+	 * @param {String} currentPageId	The page id which receive values.
+	 */
+	function syncFieldsBetweenTabs( currentPageId )
+	{
+		var sourceIndex, targetIndex,
+			sourceField, targetField;
+
+		sourceIndex = currentPageId === 'find' ? 1 : 0;
+		targetIndex = 1 - sourceIndex;
+		var i, l = fieldsMapping.length;
+		for ( i = 0 ; i < l ; i++ )
+		{
+			sourceField = this.getContentElement( pages[ sourceIndex ],
+					fieldsMapping[ i ][ sourceIndex ] );
+			targetField = this.getContentElement( pages[ targetIndex ],
+					fieldsMapping[ i ][ targetIndex ] );
+
+			targetField.setValue( sourceField.getValue() );
+		}
+	}
+
+	var findDialog = function( editor, startupPage )
+	{
+		// Style object for highlights.
+		var highlightStyle = new CKEDITOR.style( editor.config.find_highlight );
+
+		/**
+		 * Iterator which walk through the specified range char by char. By
+		 * default the walking will not stop at the character boundaries, until
+		 * the end of the range is encountered.
+		 * @param { CKEDITOR.dom.range } range
+		 * @param {Boolean} matchWord Whether the walking will stop at character boundary.
+		 */
+		var characterWalker = function( range , matchWord )
+		{
+			var walker =
+				new CKEDITOR.dom.walker( range );
+			walker[ matchWord ? 'guard' : 'evaluator' ] =
+				guardDomWalkerNonEmptyTextNode;
+			walker.breakOnFalse = true;
+
+			this._ = {
+				matchWord : matchWord,
+				walker : walker,
+				matchBoundary : false
+			};
+		};
+
+		characterWalker.prototype = {
+			next : function()
+			{
+				return this.move();
+			},
+
+			back : function()
+			{
+				return this.move( true );
+			},
+
+			move : function( rtl )
+			{
+				var currentTextNode = this.textNode;
+				// Already at the end of document, no more character available.
+				if(  currentTextNode === null )
+					return cursorStep.call( this );
+
+				this._.matchBoundary = false;
+
+				// There are more characters in the text node, step forward.
+				if( currentTextNode
+				    && rtl
+					&& this.offset > 0 )
+				{
+					this.offset--;
+					return cursorStep.call( this );
+				}
+				else if( currentTextNode
+					&& this.offset < currentTextNode.getLength() - 1 )
+				{
+					this.offset++;
+					return cursorStep.call( this );
+				}
+				else
+				{
+					currentTextNode = null;
+					// At the end of the text node, walking foward for the next.
+					while ( !currentTextNode )
+					{
+						currentTextNode =
+							this._.walker[ rtl ? 'previous' : 'next' ].call( this._.walker );
+
+						// Stop searching if we're need full word match OR
+						// already reach document end.
+						if ( this._.matchWord && !currentTextNode
+							 ||this._.walker._.end )
+							break;
+
+						// Marking as match character boundaries.
+						if( !currentTextNode
+						   && checkCharactersBoundary( this._.walker.current ) )
+							this._.matchBoundary = true;
+
+					}
+					// Found a fresh text node.
+					this.textNode = currentTextNode;
+					if ( currentTextNode )
+						this.offset = rtl ? currentTextNode.getLength() - 1 : 0;
+					else
+						this.offset = 0;
+				}
+
+				return cursorStep.call( this );
+			}
+
+		};
+
+		/**
+		 * A range of cursors which represent a trunk of characters which try to
+		 * match, it has the same length as the pattern  string.
+		 */
+		var characterRange = function( characterWalker, rangeLength )
+		{
+			this._ = {
+				walker : characterWalker,
+				cursors : [],
+				rangeLength : rangeLength,
+				highlightRange : null,
+				isMatched : false
+			};
+		};
+
+		characterRange.prototype = {
+			/**
+			 * Translate this range to {@link CKEDITOR.dom.range}
+			 */
+			toDomRange : function()
+			{
+				var cursors = this._.cursors;
+				if ( cursors.length < 1 )
+					return null;
+
+				var first = cursors[0],
+					last = cursors[ cursors.length - 1 ],
+					range = new CKEDITOR.dom.range( editor.document );
+
+				range.setStart( first.textNode, first.offset );
+				range.setEnd( last.textNode, last.offset + 1 );
+				return range;
+			},
+			/**
+			 * Reflect the latest changes from dom range.
+			 */
+			updateFromDomRange : function( domRange )
+			{
+				var cursor,
+						walker = new characterWalker( domRange );
+				this._.cursors = [];
+				do
+				{
+					cursor = walker.next();
+					if ( cursor.character )
+						this._.cursors.push( cursor );
+				}
+				while ( cursor.character );
+				this._.rangeLength = this._.cursors.length;
+			},
+
+			setMatched : function()
+			{
+				this._.isMatched = true;
+			},
+
+			clearMatched : function()
+			{
+				this._.isMatched = false;
+			},
+
+			isMatched : function()
+			{
+				return this._.isMatched;
+			},
+
+			/**
+			 * Hightlight the current matched chunk of text.
+			 */
+			highlight : function()
+			{
+				// Do not apply if nothing is found.
+				if ( this._.cursors.length < 1 )
+					return;
+
+				// Remove the previous highlight if there's one.
+				if ( this._.highlightRange )
+					this.removeHighlight();
+
+				// Apply the highlight.
+				var range = this.toDomRange();
+				highlightStyle.applyToRange( range );
+				this._.highlightRange = range;
+
+				// Scroll the editor to the highlighted area.
+				var element = range.startContainer;
+				if ( element.type != CKEDITOR.NODE_ELEMENT )
+					element = element.getParent();
+				element.scrollIntoView();
+
+				// Update the character cursors.
+				this.updateFromDomRange( range );
+			},
+
+			/**
+			 * Remove highlighted find result.
+			 */
+			removeHighlight : function()
+			{
+				if ( !this._.highlightRange )
+					return;
+
+				highlightStyle.removeFromRange( this._.highlightRange );
+				this.updateFromDomRange( this._.highlightRange );
+				this._.highlightRange = null;
+			},
+
+			moveBack : function()
+			{
+				var retval = this._.walker.back(),
+					cursors = this._.cursors;
+
+				if ( retval.hitMatchBoundary )
+					this._.cursors = cursors = [];
+
+				cursors.unshift( retval );
+				if ( cursors.length > this._.rangeLength )
+					cursors.pop();
+
+				return retval;
+			},
+
+			moveNext : function()
+			{
+				var retval = this._.walker.next(),
+					cursors = this._.cursors;
+
+				// Clear the cursors queue if we've crossed a match boundary.
+				if ( retval.hitMatchBoundary )
+					this._.cursors = cursors = [];
+
+				cursors.push( retval );
+				if ( cursors.length > this._.rangeLength )
+					cursors.shift();
+
+				return retval;
+			},
+
+			getEndCharacter : function()
+			{
+				var cursors = this._.cursors;
+				if ( cursors.length < 1 )
+					return null;
+
+				return cursors[ cursors.length - 1 ].character;
+			},
+
+			getNextCharacterRange : function( maxLength )
+			{
+				var lastCursor,
+						cursors = this._.cursors;
+				if ( !( lastCursor = cursors[ cursors.length - 1 ] ) )
+					return null;
+				return new characterRange(
+										new characterWalker(
+											getRangeAfterCursor( lastCursor ) ),
+										maxLength );
+			},
+
+			getCursors : function()
+			{
+				return this._.cursors;
+			}
+		};
+
+
+		// The remaining document range after the character cursor.
+		function getRangeAfterCursor( cursor , inclusive )
+		{
+			var range = new CKEDITOR.dom.range();
+			range.setStart( cursor.textNode,
+						   ( inclusive ? cursor.offset : cursor.offset + 1 ) );
+			range.setEndAt( editor.document.getBody(),
+							CKEDITOR.POSITION_BEFORE_END );
+			return range;
+		}
+
+		// The document range before the character cursor.
+		function getRangeBeforeCursor( cursor )
+		{
+			var range = new CKEDITOR.dom.range();
+			range.setStartAt( editor.document.getBody(),
+							CKEDITOR.POSITION_AFTER_START );
+			range.setEnd( cursor.textNode, cursor.offset );
+			return range;
+		}
+
+		var KMP_NOMATCH = 0,
+			KMP_ADVANCED = 1,
+			KMP_MATCHED = 2;
+		/**
+		 * Examination the occurrence of a word which implement KMP algorithm.
+		 */
+		var kmpMatcher = function( pattern, ignoreCase )
+		{
+			var overlap = [ -1 ];
+			if ( ignoreCase )
+				pattern = pattern.toLowerCase();
+			for ( var i = 0 ; i < pattern.length ; i++ )
+			{
+				overlap.push( overlap[i] + 1 );
+				while ( overlap[ i + 1 ] > 0
+					&& pattern.charAt( i ) != pattern
+						.charAt( overlap[ i + 1 ] - 1 ) )
+					overlap[ i + 1 ] = overlap[ overlap[ i + 1 ] - 1 ] + 1;
+			}
+
+			this._ = {
+				overlap : overlap,
+				state : 0,
+				ignoreCase : !!ignoreCase,
+				pattern : pattern
+			};
+		};
+
+		kmpMatcher.prototype =
+		{
+			feedCharacter : function( c )
+			{
+				if ( this._.ignoreCase )
+					c = c.toLowerCase();
+
+				while ( true )
+				{
+					if ( c == this._.pattern.charAt( this._.state ) )
+					{
+						this._.state++;
+						if ( this._.state == this._.pattern.length )
+						{
+							this._.state = 0;
+							return KMP_MATCHED;
+						}
+						return KMP_ADVANCED;
+					}
+					else if ( !this._.state )
+						return KMP_NOMATCH;
+					else
+						this._.state = this._.overlap[ this._.state ];
+				}
+
+				return null;
+			},
+
+			reset : function()
+			{
+				this._.state = 0;
+			}
+		};
+
+		var wordSeparatorRegex =
+		/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/;
+
+		var isWordSeparator = function( c )
+		{
+			if ( !c )
+				return true;
+			var code = c.charCodeAt( 0 );
+			return ( code >= 9 && code <= 0xd )
+				|| ( code >= 0x2000 && code <= 0x200a )
+				|| wordSeparatorRegex.test( c );
+		};
+
+		var finder = {
+			searchRange : null,
+			matchRange : null,
+			find : function( pattern, matchCase, matchWord, matchCyclic, highlightMatched, cyclicRerun )
+			{
+				if( !this.matchRange )
+					this.matchRange =
+						new characterRange(
+							new characterWalker( this.searchRange ),
+							pattern.length );
+				else
+				{
+					this.matchRange.removeHighlight();
+					this.matchRange = this.matchRange.getNextCharacterRange( pattern.length );
+				}
+
+				var matcher = new kmpMatcher( pattern, !matchCase ),
+					matchState = KMP_NOMATCH,
+					character = '%';
+
+				while ( character !== null )
+				{
+					this.matchRange.moveNext();
+					while ( ( character = this.matchRange.getEndCharacter() ) )
+					{
+						matchState = matcher.feedCharacter( character );
+						if ( matchState == KMP_MATCHED )
+							break;
+						if ( this.matchRange.moveNext().hitMatchBoundary )
+							matcher.reset();
+					}
+
+					if ( matchState == KMP_MATCHED )
+					{
+						if ( matchWord )
+						{
+							var cursors = this.matchRange.getCursors(),
+								tail = cursors[ cursors.length - 1 ],
+								head = cursors[ 0 ];
+
+							var headWalker = new characterWalker( getRangeBeforeCursor( head ), true ),
+								tailWalker = new characterWalker( getRangeAfterCursor( tail ), true );
+
+							if ( ! ( isWordSeparator( headWalker.back().character )
+										&& isWordSeparator( tailWalker.next().character ) ) )
+								continue;
+						}
+						this.matchRange.setMatched();
+						if ( highlightMatched !== false )
+							this.matchRange.highlight();
+						return true;
+					}
+				}
+
+				this.matchRange.clearMatched();
+				this.matchRange.removeHighlight();
+				// Clear current session and restart with the default search
+				// range.
+				// Re-run the finding once for cyclic.(#3517)
+				if ( matchCyclic && !cyclicRerun )
+				{
+					this.searchRange = getSearchRange( true );
+					this.matchRange = null;
+					return arguments.callee.apply( this,
+						Array.prototype.slice.call( arguments ).concat( [ true ] ) );
+				}
+
+				return false;
+			},
+
+			/**
+			 * Record how much replacement occurred toward one replacing.
+			 */
+			replaceCounter : 0,
+
+			replace : function( dialog, pattern, newString, matchCase, matchWord,
+				matchCyclic , isReplaceAll )
+			{
+				// Successiveness of current replace/find.
+				var result = false;
+
+				// 1. Perform the replace when there's already a match here.
+				// 2. Otherwise perform the find but don't replace it immediately.
+				if ( this.matchRange && this.matchRange.isMatched()
+						&& !this.matchRange._.isReplaced )
+				{
+					// Turn off highlight for a while when saving snapshots.
+					this.matchRange.removeHighlight();
+					var domRange = this.matchRange.toDomRange();
+					var text = editor.document.createText( newString );
+					if ( !isReplaceAll )
+					{
+						// Save undo snaps before and after the replacement.
+						var selection = editor.getSelection();
+						selection.selectRanges( [ domRange ] );
+						editor.fire( 'saveSnapshot' );
+					}
+					domRange.deleteContents();
+					domRange.insertNode( text );
+					if ( !isReplaceAll )
+					{
+						selection.selectRanges( [ domRange ] );
+						editor.fire( 'saveSnapshot' );
+					}
+					this.matchRange.updateFromDomRange( domRange );
+					if ( !isReplaceAll )
+						this.matchRange.highlight();
+					this.matchRange._.isReplaced = true;
+					this.replaceCounter++;
+					result = true;
+				}
+				else
+					result = this.find( pattern, matchCase, matchWord, matchCyclic, !isReplaceAll );
+
+				return result;
+			}
+		};
+
+		/**
+		 * The range in which find/replace happened, receive from user
+		 * selection prior.
+		 */
+		function getSearchRange( isDefault )
+		{
+			var searchRange,
+				sel = editor.getSelection(),
+				body = editor.document.getBody();
+			if ( sel && !isDefault )
+			{
+				searchRange = sel.getRanges()[ 0 ].clone();
+				searchRange.collapse( true );
+			}
+			else
+			{
+				searchRange = new CKEDITOR.dom.range();
+				searchRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
+			}
+			searchRange.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
+			return searchRange;
+		}
+
+		return {
+			title : editor.lang.findAndReplace.title,
+			resizable : CKEDITOR.DIALOG_RESIZE_NONE,
+			minWidth : 350,
+			minHeight : 165,
+			buttons : [ CKEDITOR.dialog.cancelButton ],		//Cancel button only.
+			contents : [
+				{
+					id : 'find',
+					label : editor.lang.findAndReplace.find,
+					title : editor.lang.findAndReplace.find,
+					accessKey : '',
+					elements : [
+						{
+							type : 'hbox',
+							widths : [ '230px', '90px' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'txtFindFind',
+									label : editor.lang.findAndReplace.findWhat,
+									isChanged : false,
+									labelLayout : 'horizontal',
+									accessKey : 'F'
+								},
+								{
+									type : 'button',
+									align : 'left',
+									style : 'width:100%',
+									label : editor.lang.findAndReplace.find,
+									onClick : function()
+									{
+										var dialog = this.getDialog();
+										if ( !finder.find( dialog.getValueOf( 'find', 'txtFindFind' ),
+													dialog.getValueOf( 'find', 'txtFindCaseChk' ),
+													dialog.getValueOf( 'find', 'txtFindWordChk' ),
+													dialog.getValueOf( 'find', 'txtFindCyclic' ) ) )
+											alert( editor.lang.findAndReplace
+												.notFoundMsg );
+									}
+								}
+							]
+						},
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'checkbox',
+									id : 'txtFindCaseChk',
+									isChanged : false,
+									style : 'margin-top:28px',
+									label : editor.lang.findAndReplace.matchCase
+								},
+								{
+									type : 'checkbox',
+									id : 'txtFindWordChk',
+									isChanged : false,
+									label : editor.lang.findAndReplace.matchWord
+								},
+								{
+									type : 'checkbox',
+									id : 'txtFindCyclic',
+									isChanged : false,
+									'default' : true,
+									label : editor.lang.findAndReplace.matchCyclic
+								}
+							]
+						}
+					]
+				},
+				{
+					id : 'replace',
+					label : editor.lang.findAndReplace.replace,
+					accessKey : 'M',
+					elements : [
+						{
+							type : 'hbox',
+							widths : [ '230px', '90px' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'txtFindReplace',
+									label : editor.lang.findAndReplace.findWhat,
+									isChanged : false,
+									labelLayout : 'horizontal',
+									accessKey : 'F'
+								},
+								{
+									type : 'button',
+									align : 'left',
+									style : 'width:100%',
+									label : editor.lang.findAndReplace.replace,
+									onClick : function()
+									{
+										var dialog = this.getDialog();
+										if ( !finder.replace( dialog,
+													dialog.getValueOf( 'replace', 'txtFindReplace' ),
+													dialog.getValueOf( 'replace', 'txtReplace' ),
+													dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
+													dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
+													dialog.getValueOf( 'replace', 'txtReplaceCyclic' ) ) )
+											alert( editor.lang.findAndReplace
+												.notFoundMsg );
+									}
+								}
+							]
+						},
+						{
+							type : 'hbox',
+							widths : [ '230px', '90px' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'txtReplace',
+									label : editor.lang.findAndReplace.replaceWith,
+									isChanged : false,
+									labelLayout : 'horizontal',
+									accessKey : 'R'
+								},
+								{
+									type : 'button',
+									align : 'left',
+									style : 'width:100%',
+									label : editor.lang.findAndReplace.replaceAll,
+									isChanged : false,
+									onClick : function()
+									{
+										var dialog = this.getDialog();
+										var replaceNums;
+
+										finder.replaceCounter = 0;
+
+										// Scope to full document.
+										finder.searchRange = getSearchRange( true );
+										if ( finder.matchRange )
+										{
+											finder.matchRange.removeHighlight();
+											finder.matchRange = null;
+										}
+										editor.fire( 'saveSnapshot' );
+										while( finder.replace( dialog,
+											dialog.getValueOf( 'replace', 'txtFindReplace' ),
+											dialog.getValueOf( 'replace', 'txtReplace' ),
+											dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
+											dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
+											false, true ) )
+										{ /*jsl:pass*/ }
+
+										if ( finder.replaceCounter )
+										{
+											alert( editor.lang.findAndReplace.replaceSuccessMsg.replace( /%1/, finder.replaceCounter ) );
+											editor.fire( 'saveSnapshot' );
+										}
+										else
+											alert( editor.lang.findAndReplace.notFoundMsg );
+									}
+								}
+							]
+						},
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'checkbox',
+									id : 'txtReplaceCaseChk',
+									isChanged : false,
+									label : editor.lang.findAndReplace
+										.matchCase
+								},
+								{
+									type : 'checkbox',
+									id : 'txtReplaceWordChk',
+									isChanged : false,
+									label : editor.lang.findAndReplace
+										.matchWord
+								},
+								{
+									type : 'checkbox',
+									id : 'txtReplaceCyclic',
+									isChanged : false,
+									'default' : true,
+									label : editor.lang.findAndReplace
+										.matchCyclic
+								}
+							]
+						}
+					]
+				}
+			],
+			onLoad : function()
+			{
+				var dialog = this;
+
+				//keep track of the current pattern field in use.
+				var patternField, wholeWordChkField;
+
+				//Ignore initial page select on dialog show
+				var isUserSelect = false;
+				this.on('hide', function()
+						{
+							isUserSelect = false;
+						} );
+				this.on('show', function()
+						{
+							isUserSelect = true;
+						} );
+
+				this.selectPage = CKEDITOR.tools.override( this.selectPage, function( originalFunc )
+					{
+						return function( pageId )
+						{
+							originalFunc.call( dialog, pageId );
+
+							var currPage = dialog._.tabs[ pageId ];
+							var patternFieldInput, patternFieldId, wholeWordChkFieldId;
+							patternFieldId = pageId === 'find' ? 'txtFindFind' : 'txtFindReplace';
+							wholeWordChkFieldId = pageId === 'find' ? 'txtFindWordChk' : 'txtReplaceWordChk';
+
+							patternField = dialog.getContentElement( pageId,
+								patternFieldId );
+							wholeWordChkField = dialog.getContentElement( pageId,
+								wholeWordChkFieldId );
+
+							// prepare for check pattern text filed 'keyup' event
+							if ( !currPage.initialized )
+							{
+								patternFieldInput = CKEDITOR.document
+									.getById( patternField._.inputId );
+								currPage.initialized = true;
+							}
+
+							if( isUserSelect )
+								// synchronize fields on tab switch.
+								syncFieldsBetweenTabs.call( this, pageId );
+						};
+					} );
+
+			},
+			onShow : function()
+			{
+				// Establish initial searching start position.
+				finder.searchRange = getSearchRange();
+
+				if ( startupPage == 'replace' )
+					this.getContentElement( 'replace', 'txtFindReplace' ).focus();
+				else
+					this.getContentElement( 'find', 'txtFindFind' ).focus();
+			},
+			onHide : function()
+			{
+				if ( finder.matchRange && finder.matchRange.isMatched() )
+				{
+					finder.matchRange.removeHighlight();
+					editor.focus();
+					editor.getSelection().selectRanges(
+						[ finder.matchRange.toDomRange() ] );
+				}
+
+				// Clear current session before dialog close
+				delete finder.matchRange;
+			}
+		};
+	};
+
+	CKEDITOR.dialog.add( 'find', function( editor )
+		{
+			return findDialog( editor, 'find' );
+		});
+
+	CKEDITOR.dialog.add( 'replace', function( editor )
+		{
+			return findDialog( editor, 'replace' );
+		});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/find/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/find/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/find/plugin.js	(revision 4888)
@@ -0,0 +1,46 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'find',
+{
+	init : function( editor )
+	{
+		var forms = CKEDITOR.plugins.find;
+		editor.ui.addButton( 'Find',
+			{
+				label : editor.lang.findAndReplace.find,
+				command : 'find'
+			});
+		var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) );
+		findCommand.canUndo = false;
+
+		editor.ui.addButton( 'Replace',
+			{
+				label : editor.lang.findAndReplace.replace,
+				command : 'replace'
+			});
+		var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) );
+		replaceCommand.canUndo = false;
+
+		CKEDITOR.dialog.add( 'find',	this.path + 'dialogs/find.js' );
+		CKEDITOR.dialog.add( 'replace',	this.path + 'dialogs/find.js' );
+	},
+
+	requires : [ 'styles' ]
+} );
+
+/**
+ * Defines the style to be used to highlight results with the find dialog.
+ * @type Object
+ * @default { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } }
+ * @example
+ * // Highlight search results with blue on yellow.
+ * config.find_highlight =
+ *     {
+ *         element : 'span',
+ *         styles : { 'background-color' : '#ff0', 'color' : '#00f' }
+ *     };
+ */
+CKEDITOR.config.find_highlight = { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } };
Index: CKEditor/branches/features/aria/_source/plugins/flash/dialogs/flash.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/flash/dialogs/flash.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/flash/dialogs/flash.js	(revision 4888)
@@ -0,0 +1,688 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	/*
+	 * It is possible to set things in three different places.
+	 * 1. As attributes in the object tag.
+	 * 2. As param tags under the object tag.
+	 * 3. As attributes in the embed tag.
+	 * It is possible for a single attribute to be present in more than one place.
+	 * So let's define a mapping between a sementic attribute and its syntactic
+	 * equivalents.
+	 * Then we'll set and retrieve attribute values according to the mapping,
+	 * instead of having to check and set each syntactic attribute every time.
+	 *
+	 * Reference: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701
+	 */
+	var ATTRTYPE_OBJECT = 1,
+		ATTRTYPE_PARAM = 2,
+		ATTRTYPE_EMBED = 4;
+
+	var attributesMap =
+	{
+		id : [ { type : ATTRTYPE_OBJECT, name :  'id' } ],
+		classid : [ { type : ATTRTYPE_OBJECT, name : 'classid' } ],
+		codebase : [ { type : ATTRTYPE_OBJECT, name : 'codebase'} ],
+		pluginspage : [ { type : ATTRTYPE_EMBED, name : 'pluginspage' } ],
+		src : [ { type : ATTRTYPE_PARAM, name : 'movie' }, { type : ATTRTYPE_EMBED, name : 'src' } ],
+		name : [ { type : ATTRTYPE_EMBED, name : 'name' } ],
+		align : [ { type : ATTRTYPE_OBJECT, name : 'align' } ],
+		title : [ { type : ATTRTYPE_OBJECT, name : 'title' }, { type : ATTRTYPE_EMBED, name : 'title' } ],
+		'class' : [ { type : ATTRTYPE_OBJECT, name : 'class' }, { type : ATTRTYPE_EMBED, name : 'class'} ],
+		width : [ { type : ATTRTYPE_OBJECT, name : 'width' }, { type : ATTRTYPE_EMBED, name : 'width' } ],
+		height : [ { type : ATTRTYPE_OBJECT, name : 'height' }, { type : ATTRTYPE_EMBED, name : 'height' } ],
+		hSpace : [ { type : ATTRTYPE_OBJECT, name : 'hSpace' }, { type : ATTRTYPE_EMBED, name : 'hSpace' } ],
+		vSpace : [ { type : ATTRTYPE_OBJECT, name : 'vSpace' }, { type : ATTRTYPE_EMBED, name : 'vSpace' } ],
+		style : [ { type : ATTRTYPE_OBJECT, name : 'style' }, { type : ATTRTYPE_EMBED, name : 'style' } ],
+		type : [ { type : ATTRTYPE_EMBED, name : 'type' } ]
+	};
+
+	var names = [ 'play', 'loop', 'menu', 'quality', 'scale', 'salign', 'wmode', 'bgcolor', 'base', 'flashvars', 'allowScriptAccess',
+		'allowFullScreen' ];
+	for ( var i = 0 ; i < names.length ; i++ )
+		attributesMap[ names[i] ] = [ { type : ATTRTYPE_EMBED, name : names[i] }, { type : ATTRTYPE_PARAM, name : names[i] } ];
+	names = [ 'allowFullScreen', 'play', 'loop', 'menu' ];
+	for ( i = 0 ; i < names.length ; i++ )
+		attributesMap[ names[i] ][0]['default'] = attributesMap[ names[i] ][1]['default'] = true;
+
+	function loadValue( objectNode, embedNode, paramMap )
+	{
+		var attributes = attributesMap[ this.id ];
+		if ( !attributes )
+			return;
+
+		var isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
+		for ( var i = 0 ; i < attributes.length ; i++ )
+		{
+			var attrDef = attributes[ i ];
+			switch ( attrDef.type )
+			{
+				case ATTRTYPE_OBJECT:
+					if ( !objectNode )
+						continue;
+					if ( objectNode.getAttribute( attrDef.name ) !== null )
+					{
+						var value = objectNode.getAttribute( attrDef.name );
+						if ( isCheckbox )
+							this.setValue( value.toLowerCase() == 'true' );
+						else
+							this.setValue( value );
+						return;
+					}
+					else if ( isCheckbox )
+						this.setValue( !!attrDef[ 'default' ] );
+					break;
+				case ATTRTYPE_PARAM:
+					if ( !objectNode )
+						continue;
+					if ( attrDef.name in paramMap )
+					{
+						value = paramMap[ attrDef.name ];
+						if ( isCheckbox )
+							this.setValue( value.toLowerCase() == 'true' );
+						else
+							this.setValue( value );
+						return;
+					}
+					else if ( isCheckbox )
+						this.setValue( !!attrDef[ 'default' ] );
+					break;
+				case ATTRTYPE_EMBED:
+					if ( !embedNode )
+						continue;
+					if ( embedNode.getAttribute( attrDef.name ) )
+					{
+						value = embedNode.getAttribute( attrDef.name );
+						if ( isCheckbox )
+							this.setValue( value.toLowerCase() == 'true' );
+						else
+							this.setValue( value );
+						return;
+					}
+					else if ( isCheckbox )
+						this.setValue( !!attrDef[ 'default' ] );
+			}
+		}
+	}
+
+	function commitValue( objectNode, embedNode, paramMap )
+	{
+		var attributes = attributesMap[ this.id ];
+		if ( !attributes )
+			return;
+
+		var isRemove = ( this.getValue() === '' ),
+			isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
+
+		for ( var i = 0 ; i < attributes.length ; i++ )
+		{
+			var attrDef = attributes[i];
+			switch ( attrDef.type )
+			{
+				case ATTRTYPE_OBJECT:
+					if ( !objectNode )
+						continue;
+					var value = this.getValue();
+					if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
+						objectNode.removeAttribute( attrDef.name );
+					else
+						objectNode.setAttribute( attrDef.name, value );
+					break;
+				case ATTRTYPE_PARAM:
+					if ( !objectNode )
+						continue;
+					value = this.getValue();
+					if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
+					{
+						if ( attrDef.name in paramMap )
+							paramMap[ attrDef.name ].remove();
+					}
+					else
+					{
+						if ( attrDef.name in paramMap )
+							paramMap[ attrDef.name ].setAttribute( 'value', value );
+						else
+						{
+							var param = CKEDITOR.dom.element.createFromHtml( '<cke:param></cke:param>', objectNode.getDocument() );
+							param.setAttributes( { name : attrDef.name, value : value } );
+							if ( objectNode.getChildCount() < 1 )
+								param.appendTo( objectNode );
+							else
+								param.insertBefore( objectNode.getFirst() );
+						}
+					}
+					break;
+				case ATTRTYPE_EMBED:
+					if ( !embedNode )
+						continue;
+					value = this.getValue();
+					if ( isRemove || isCheckbox && value === attrDef[ 'default' ])
+						embedNode.removeAttribute( attrDef.name );
+					else
+						embedNode.setAttribute( attrDef.name, value );
+			}
+		}
+	}
+
+	CKEDITOR.dialog.add( 'flash', function( editor )
+	{
+		var makeObjectTag = !editor.config.flashEmbedTagOnly,
+			makeEmbedTag = editor.config.flashAddEmbedTag || editor.config.flashEmbedTagOnly;
+
+		var previewPreloader,
+			previewAreaHtml = '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.image.preview ) +'<br>' +
+			'<div id="FlashPreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>' +
+			'<div id="FlashPreviewBox"></div></div>';
+
+		return {
+			title : editor.lang.flash.title,
+			minWidth : 420,
+			minHeight : 310,
+			onShow : function()
+			{
+				// Clear previously saved elements.
+				this.fakeImage = this.objectNode = this.embedNode = null;
+				previewPreloader = new CKEDITOR.dom.element( 'embeded', editor.document );
+
+				// Try to detect any embed or object tag that has Flash parameters.
+				var fakeImage = this.getSelectedElement();
+				if ( fakeImage && fakeImage.getAttribute( '_cke_real_element_type' ) && fakeImage.getAttribute( '_cke_real_element_type' ) == 'flash' )
+				{
+					this.fakeImage = fakeImage;
+
+					var realElement = editor.restoreRealElement( fakeImage ),
+						objectNode = null, embedNode = null, paramMap = {};
+					if ( realElement.getName() == 'cke:object' )
+					{
+						objectNode = realElement;
+						var embedList = objectNode.getElementsByTag( 'embed', 'cke' );
+						if ( embedList.count() > 0 )
+							embedNode = embedList.getItem( 0 );
+						var paramList = objectNode.getElementsByTag( 'param', 'cke' );
+						for ( var i = 0, length = paramList.count() ; i < length ; i++ )
+						{
+							var item = paramList.getItem( i ),
+								name = item.getAttribute( 'name' ),
+								value = item.getAttribute( 'value' );
+							paramMap[ name ] = value;
+						}
+					}
+					else if ( realElement.getName() == 'cke:embed' )
+						embedNode = realElement;
+
+					this.objectNode = objectNode;
+					this.embedNode = embedNode;
+
+					this.setupContent( objectNode, embedNode, paramMap, fakeImage );
+				}
+			},
+			onOk : function()
+			{
+				// If there's no selected object or embed, create one. Otherwise, reuse the
+				// selected object and embed nodes.
+				var objectNode = null,
+					embedNode = null,
+					paramMap = null;
+				if ( !this.fakeImage )
+				{
+					if ( makeObjectTag )
+					{
+						objectNode = CKEDITOR.dom.element.createFromHtml( '<cke:object></cke:object>', editor.document );
+						var attributes = {
+							classid : 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
+							codebase : 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'
+						};
+						objectNode.setAttributes( attributes );
+					}
+					if ( makeEmbedTag )
+					{
+						embedNode = CKEDITOR.dom.element.createFromHtml( '<cke:embed></cke:embed>', editor.document );
+						embedNode.setAttributes(
+							{
+								type : 'application/x-shockwave-flash',
+								pluginspage : 'http://www.macromedia.com/go/getflashplayer'
+							} );
+						if ( objectNode )
+							embedNode.appendTo( objectNode );
+					}
+				}
+				else
+				{
+					objectNode = this.objectNode;
+					embedNode = this.embedNode;
+				}
+
+				// Produce the paramMap if there's an object tag.
+				if ( objectNode )
+				{
+					paramMap = {};
+					var paramList = objectNode.getElementsByTag( 'param', 'cke' );
+					for ( var i = 0, length = paramList.count() ; i < length ; i++ )
+						paramMap[ paramList.getItem( i ).getAttribute( 'name' ) ] = paramList.getItem( i );
+				}
+
+				// Apply or remove flash parameters.
+				var extraStyles = {};
+				this.commitContent( objectNode, embedNode, paramMap, extraStyles );
+
+				// Refresh the fake image.
+				var newFakeImage = editor.createFakeElement( objectNode || embedNode, 'cke_flash', 'flash', true );
+				newFakeImage.setStyles( extraStyles );
+				if ( this.fakeImage )
+				{
+					newFakeImage.replace( this.fakeImage );
+					editor.getSelection().selectElement( newFakeImage );
+				}
+				else
+					editor.insertElement( newFakeImage );
+			},
+
+			onHide : function()
+			{
+				if ( this.preview )
+					this.preview.setHtml('');
+			},
+
+			contents : [
+				{
+					id : 'info',
+					label : editor.lang.common.generalTab,
+					accessKey : 'I',
+					elements :
+					[
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'html',
+									html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.image.url ) + '</span>'
+								},
+								{
+									type : 'hbox',
+									widths : [ '280px', '110px' ],
+									align : 'right',
+									children :
+									[
+										{
+											id : 'src',
+											type : 'text',
+											label : '',
+											validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.flash.validateSrc ),
+											setup : loadValue,
+											commit : commitValue,
+											onLoad : function()
+											{
+												var dialog = this.getDialog(),
+												updatePreview = function( src ){
+													// Query the preloader to figure out the url impacted by based href.
+													previewPreloader.setAttribute( 'src', src );
+													dialog.preview.setHtml( '<embed height="100%" width="100%" src="'
+														+ CKEDITOR.tools.htmlEncode( previewPreloader.getAttribute( 'src' ) )
+														+ '" type="application/x-shockwave-flash"></embed>' );
+												};
+												// Preview element
+												dialog.preview = dialog.getContentElement( 'info', 'preview' ).getElement().getChild( 3 );
+
+												// Sync on inital value loaded.
+												this.on( 'change', function( evt ){
+
+														if ( evt.data && evt.data.value )
+															updatePreview( evt.data.value );
+													} );
+												// Sync when input value changed.
+												this.getInputElement().on( 'change', function( evt ){
+
+													updatePreview( this.getValue() );
+												}, this );
+											}
+										},
+										{
+											type : 'button',
+											id : 'browse',
+											filebrowser : 'info:src',
+											hidden : true,
+											align : 'center',
+											label : editor.lang.common.browseServer
+										}
+									]
+								}
+							]
+						},
+						{
+							type : 'hbox',
+							widths : [ '25%', '25%', '25%', '25%', '25%' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'width',
+									style : 'width:95px',
+									label : editor.lang.flash.width,
+									validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateWidth ),
+									setup : function( objectNode, embedNode, paramMap, fakeImage )
+									{
+										loadValue.apply( this, arguments );
+										if ( fakeImage )
+										{
+											var fakeImageWidth = parseInt( fakeImage.$.style.width, 10 );
+											if ( !isNaN( fakeImageWidth ) )
+												this.setValue( fakeImageWidth );
+										}
+									},
+									commit : function( objectNode, embedNode, paramMap, extraStyles )
+									{
+										commitValue.apply( this, arguments );
+										if ( this.getValue() )
+											extraStyles.width = this.getValue() + 'px';
+									}
+								},
+								{
+									type : 'text',
+									id : 'height',
+									style : 'width:95px',
+									label : editor.lang.flash.height,
+									validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHeight ),
+									setup : function( objectNode, embedNode, paramMap, fakeImage )
+									{
+										loadValue.apply( this, arguments );
+										if ( fakeImage )
+										{
+											var fakeImageHeight = parseInt( fakeImage.$.style.height, 10 );
+											if ( !isNaN( fakeImageHeight ) )
+												this.setValue( fakeImageHeight );
+										}
+									},
+									commit : function( objectNode, embedNode, paramMap, extraStyles )
+									{
+										commitValue.apply( this, arguments );
+										if ( this.getValue() )
+											extraStyles.height = this.getValue() + 'px';
+									}
+								},
+								{
+									type : 'text',
+									id : 'hSpace',
+									style : 'width:95px',
+									label : editor.lang.flash.hSpace,
+									validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHSpace ),
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'text',
+									id : 'vSpace',
+									style : 'width:95px',
+									label : editor.lang.flash.vSpace,
+									validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateVSpace ),
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						},
+
+						{
+							type : 'vbox',
+							children :
+							[
+								{
+									type : 'html',
+									id : 'preview',
+									style : 'width:95%;',
+									html : previewAreaHtml
+								}
+							]
+						}
+					]
+				},
+				{
+					id : 'Upload',
+					hidden : true,
+					filebrowser : 'uploadButton',
+					label : editor.lang.common.upload,
+					elements :
+					[
+						{
+							type : 'file',
+							id : 'upload',
+							label : editor.lang.common.upload,
+							size : 38
+						},
+						{
+							type : 'fileButton',
+							id : 'uploadButton',
+							label : editor.lang.common.uploadSubmit,
+							filebrowser : 'info:src',
+							'for' : [ 'Upload', 'upload' ]
+						}
+					]
+				},
+				{
+					id : 'properties',
+					label : editor.lang.flash.propertiesTab,
+					elements :
+					[
+						{
+							type : 'hbox',
+							widths : [ '50%', '50%' ],
+							children :
+							[
+								{
+									id : 'scale',
+									type : 'select',
+									label : editor.lang.flash.scale,
+									'default' : '',
+									style : 'width : 100%;',
+									items :
+									[
+										[ editor.lang.common.notSet , ''],
+										[ editor.lang.flash.scaleAll, 'showall' ],
+										[ editor.lang.flash.scaleNoBorder, 'noborder' ],
+										[ editor.lang.flash.scaleFit, 'exactfit' ]
+									],
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									id : 'allowScriptAccess',
+									type : 'select',
+									label : editor.lang.flash.access,
+									'default' : '',
+									style : 'width : 100%;',
+									items :
+									[
+										[ editor.lang.common.notSet , ''],
+										[ editor.lang.flash.accessAlways, 'always' ],
+										[ editor.lang.flash.accessSameDomain, 'samedomain' ],
+										[ editor.lang.flash.accessNever, 'never' ]
+									],
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						},
+						{
+							type : 'hbox',
+							widths : [ '50%', '50%' ],
+							children :
+							[
+								{
+									id : 'wmode',
+									type : 'select',
+									label : editor.lang.flash.windowMode,
+									'default' : '',
+									style : 'width : 100%;',
+									items :
+									[
+										[ editor.lang.common.notSet , '' ],
+										[ editor.lang.flash.windowModeWindow, 'window' ],
+										[ editor.lang.flash.windowModeOpaque, 'opaque' ],
+										[ editor.lang.flash.windowModeTransparent, 'transparent' ]
+									],
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									id : 'quality',
+									type : 'select',
+									label : editor.lang.flash.quality,
+									'default' : 'high',
+									style : 'width : 100%;',
+									items :
+									[
+										[ editor.lang.common.notSet , '' ],
+										[ editor.lang.flash.qualityBest, 'best' ],
+										[ editor.lang.flash.qualityHigh, 'high' ],
+										[ editor.lang.flash.qualityAutoHigh, 'autohigh' ],
+										[ editor.lang.flash.qualityMedium, 'medium' ],
+										[ editor.lang.flash.qualityAutoLow, 'autolow' ],
+										[ editor.lang.flash.qualityLow, 'low' ]
+									],
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						},
+						{
+							type : 'hbox',
+							widths : [ '50%', '50%' ],
+							children :
+							[
+								{
+									id : 'align',
+									type : 'select',
+									label : editor.lang.flash.align,
+									'default' : '',
+									style : 'width : 100%;',
+									items :
+									[
+										[ editor.lang.common.notSet , ''],
+										[ editor.lang.flash.alignLeft , 'left'],
+										[ editor.lang.flash.alignAbsBottom , 'absBottom'],
+										[ editor.lang.flash.alignAbsMiddle , 'absMiddle'],
+										[ editor.lang.flash.alignBaseline , 'baseline'],
+										[ editor.lang.flash.alignBottom , 'bottom'],
+										[ editor.lang.flash.alignMiddle , 'middle'],
+										[ editor.lang.flash.alignRight , 'right'],
+										[ editor.lang.flash.alignTextTop , 'textTop'],
+										[ editor.lang.flash.alignTop , 'top']
+									],
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'html',
+									html : '<div></div>'
+								}
+							]
+						},
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'html',
+									html : CKEDITOR.tools.htmlEncode( editor.lang.flash.flashvars )
+								},
+								{
+									type : 'checkbox',
+									id : 'menu',
+									label : editor.lang.flash.chkMenu,
+									'default' : true,
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'checkbox',
+									id : 'play',
+									label : editor.lang.flash.chkPlay,
+									'default' : true,
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'checkbox',
+									id : 'loop',
+									label : editor.lang.flash.chkLoop,
+									'default' : true,
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'checkbox',
+									id : 'allowFullScreen',
+									label : editor.lang.flash.chkFull,
+									'default' : true,
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						}
+					]
+				},
+				{
+					id : 'advanced',
+					label : editor.lang.common.advancedTab,
+					elements :
+					[
+						{
+							type : 'hbox',
+							widths : [ '45%', '55%' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'id',
+									label : editor.lang.common.id,
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'text',
+									id : 'title',
+									label : editor.lang.common.advisoryTitle,
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						},
+						{
+							type : 'hbox',
+							widths : [ '45%', '55%' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'bgcolor',
+									label : editor.lang.flash.bgcolor,
+									setup : loadValue,
+									commit : commitValue
+								},
+								{
+									type : 'text',
+									id : 'class',
+									label : editor.lang.common.cssClass,
+									setup : loadValue,
+									commit : commitValue
+								}
+							]
+						},
+						{
+							type : 'text',
+							id : 'style',
+							label : editor.lang.common.cssStyle,
+							setup : loadValue,
+							commit : commitValue
+						}
+					]
+				}
+			]
+		};
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/flash/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/flash/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/flash/plugin.js	(revision 4888)
@@ -0,0 +1,165 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var flashFilenameRegex = /\.swf(?:$|\?)/i,
+		numberRegex = /^\d+(?:\.\d+)?$/;
+
+	function cssifyLength( length )
+	{
+		if ( numberRegex.test( length ) )
+			return length + 'px';
+		return length;
+	}
+
+	function isFlashEmbed( element )
+	{
+		var attributes = element.attributes;
+
+		return ( attributes.type == 'application/x-shockwave-flash' || flashFilenameRegex.test( attributes.src || '' ) );
+	}
+
+	function createFakeElement( editor, realElement )
+	{
+		var fakeElement = editor.createFakeParserElement( realElement, 'cke_flash', 'flash', true ),
+			fakeStyle = fakeElement.attributes.style || '';
+
+		var width = realElement.attributes.width,
+			height = realElement.attributes.height;
+
+		if ( typeof width != 'undefined' )
+			fakeStyle = fakeElement.attributes.style = fakeStyle + 'width:' + cssifyLength( width ) + ';';
+
+		if ( typeof height != 'undefined' )
+			fakeStyle = fakeElement.attributes.style = fakeStyle + 'height:' + cssifyLength( height ) + ';';
+
+		return fakeElement;
+	}
+
+	CKEDITOR.plugins.add( 'flash',
+	{
+		init : function( editor )
+		{
+			editor.addCommand( 'flash', new CKEDITOR.dialogCommand( 'flash' ) );
+			editor.ui.addButton( 'Flash',
+				{
+					label : editor.lang.common.flash,
+					command : 'flash'
+				});
+			CKEDITOR.dialog.add( 'flash', this.path + 'dialogs/flash.js' );
+
+			editor.addCss(
+				'img.cke_flash' +
+				'{' +
+					'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' +
+					'background-position: center center;' +
+					'background-repeat: no-repeat;' +
+					'border: 1px solid #a9a9a9;' +
+					'width: 80px;' +
+					'height: 80px;' +
+				'}'
+				);
+
+			// If the "menu" plugin is loaded, register the menu items.
+			if ( editor.addMenuItems )
+			{
+				editor.addMenuItems(
+					{
+						flash :
+						{
+							label : editor.lang.flash.properties,
+							command : 'flash',
+							group : 'flash'
+						}
+					});
+			}
+
+			// If the "contextmenu" plugin is loaded, register the listeners.
+			if ( editor.contextMenu )
+			{
+				editor.contextMenu.addListener( function( element, selection )
+					{
+						if ( element && element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'flash' )
+							return { flash : CKEDITOR.TRISTATE_OFF };
+					});
+			}
+		},
+
+		afterInit : function( editor )
+		{
+			var dataProcessor = editor.dataProcessor,
+				dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+			if ( dataFilter )
+			{
+				dataFilter.addRules(
+					{
+						elements :
+						{
+							'cke:object' : function( element )
+							{
+								var attributes = element.attributes,
+									classId = attributes.classid && String( attributes.classid ).toLowerCase();
+
+								if ( !classId )
+								{
+									// Look for the inner <embed>
+									for ( var i = 0 ; i < element.children.length ; i++ )
+									{
+										if ( element.children[ i ].name == 'cke:embed' )
+										{
+											if ( !isFlashEmbed( element.children[ i ] ) )
+												return null;
+
+											return createFakeElement( editor, element );
+										}
+									}
+									return null;
+								}
+
+								return createFakeElement( editor, element );
+							},
+
+							'cke:embed' : function( element )
+							{
+								if ( !isFlashEmbed( element ) )
+									return null;
+
+								return createFakeElement( editor, element );
+							}
+						}
+					},
+					5);
+			}
+		},
+
+		requires : [ 'fakeobjects' ]
+	});
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+{
+	/**
+	 * Save as EMBED tag only. This tag is unrecommended.
+	 * @type Boolean
+	 * @default false
+	 */
+	flashEmbedTagOnly : false,
+
+	/**
+	 * Add EMBED tag as alternative: &lt;object&gt&lt;embed&gt&lt;/embed&gt&lt;/object&gt
+	 * @type Boolean
+	 * @default false
+	 */
+	flashAddEmbedTag : true,
+
+	/**
+	 * Use embedTagOnly and addEmbedTag values on edit.
+	 * @type Boolean
+	 * @default false
+	 */
+	flashConvertOnEdit : false
+} );
Index: CKEditor/branches/features/aria/_source/plugins/floatpanel/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/floatpanel/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/floatpanel/plugin.js	(revision 4888)
@@ -0,0 +1,360 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'floatpanel',
+{
+	requires : [ 'panel' ]
+});
+
+(function()
+{
+	var panels = {};
+	var isShowing = false;
+
+	function getPanel( editor, doc, parentElement, definition, level )
+	{
+		// Generates the panel key: docId-eleId-skinName-langDir[-uiColor][-CSSs][-level]
+		var key =
+			doc.getUniqueId() +
+			'-' + parentElement.getUniqueId() +
+			'-' + editor.skinName +
+			'-' + editor.lang.dir +
+			( ( editor.uiColor && ( '-' + editor.uiColor ) ) || '' ) +
+			( ( definition.css && ( '-' + definition.css ) ) || '' ) +
+			( ( level && ( '-' + level ) ) || '' );
+
+		var panel = panels[ key ];
+
+		if ( !panel )
+		{
+			panel = panels[ key ] = new CKEDITOR.ui.panel( doc, definition );
+			panel.element = parentElement.append( CKEDITOR.dom.element.createFromHtml( panel.renderHtml( editor ), doc ) );
+
+			panel.element.setStyles(
+				{
+					display : 'none',
+					position : 'absolute'
+				});
+		}
+
+		return panel;
+	}
+
+	CKEDITOR.ui.floatPanel = CKEDITOR.tools.createClass(
+	{
+		$ : function( editor, parentElement, definition, level )
+		{
+			definition.forceIFrame = true;
+
+			var doc = parentElement.getDocument(),
+				panel = getPanel( editor, doc, parentElement, definition, level || 0 ),
+				element = panel.element,
+				iframe = element.getFirst().getFirst();
+
+			this.element = element;
+
+			this._ =
+			{
+				// The panel that will be floating.
+				panel : panel,
+				parentElement : parentElement,
+				definition : definition,
+				document : doc,
+				iframe : iframe,
+				children : [],
+				dir : editor.lang.dir
+			};
+		},
+
+		proto :
+		{
+			addBlock : function( name, block )
+			{
+				return this._.panel.addBlock( name, block );
+			},
+
+			addListBlock : function( name, multiSelect )
+			{
+				return this._.panel.addListBlock( name, multiSelect );
+			},
+
+			getBlock : function( name )
+			{
+				return this._.panel.getBlock( name );
+			},
+
+			/*
+				corner (LTR):
+					1 = top-left
+					2 = top-right
+					3 = bottom-right
+					4 = bottom-left
+
+				corner (RTL):
+					1 = top-right
+					2 = top-left
+					3 = bottom-left
+					4 = bottom-right
+			 */
+			showBlock : function( name, offsetParent, corner, offsetX, offsetY )
+			{
+				var panel = this._.panel,
+					block = panel.showBlock( name );
+
+				this.allowBlur( false );
+				isShowing = true;
+
+				var element = this.element,
+					iframe = this._.iframe,
+					definition = this._.definition,
+					position = offsetParent.getDocumentPosition( element.getDocument() ),
+					rtl = this._.dir == 'rtl';
+
+				var left	= position.x + ( offsetX || 0 ),
+					top		= position.y + ( offsetY || 0 );
+
+				// Floating panels are off by (-1px, 0px) in RTL mode. (#3438)
+				if ( rtl && ( corner == 1 || corner == 4 ) )
+					left += offsetParent.$.offsetWidth;
+				else if ( !rtl && ( corner == 2 || corner == 3 ) )
+					left += offsetParent.$.offsetWidth - 1;
+
+				if ( corner == 3 || corner == 4 )
+					top += offsetParent.$.offsetHeight - 1;
+
+				// Memorize offsetParent by it's ID.
+				this._.panel._.offsetParentId = offsetParent.getId();
+
+				element.setStyles(
+					{
+						top : top + 'px',
+						left : '-3000px',
+						opacity : '0',	// FF3 is ignoring "visibility"
+						display	: ''
+					});
+
+				// Configure the IFrame blur event. Do that only once.
+				if ( !this._.blurSet )
+				{
+					// Non IE prefer the event into a window object.
+					var focused = CKEDITOR.env.ie ? iframe : new CKEDITOR.dom.window( iframe.$.contentWindow );
+
+					// With addEventListener compatible browsers, we must
+					// useCapture when registering the focus/blur events to
+					// guarantee they will be firing in all situations. (#3068, #3222 )
+					CKEDITOR.event.useCapture = true;
+
+					focused.on( 'blur', function( ev )
+						{
+							if ( !this.allowBlur() )
+								return;
+
+							// As we are using capture to register the listener,
+							// the blur event may get fired even when focusing
+							// inside the window itself, so we must ensure the
+							// target is out of it.
+							var target = ev.data.getTarget(),
+								targetWindow = target.getWindow && target.getWindow();
+
+							if ( targetWindow && targetWindow.equals( focused ) )
+								return;
+
+							if ( this.visible && !this._.activeChild && !isShowing )
+								this.hide();
+						},
+						this );
+
+					focused.on( 'focus', function()
+						{
+							this._.focused = true;
+							this.hideChild();
+							this.allowBlur( true );
+						},
+						this );
+
+					CKEDITOR.event.useCapture = false;
+
+					this._.blurSet = 1;
+				}
+
+				panel.onEscape = CKEDITOR.tools.bind( function()
+					{
+						this.onEscape && this.onEscape();
+					},
+					this );
+
+				CKEDITOR.tools.setTimeout( function()
+					{
+						if ( rtl )
+							left -= element.$.offsetWidth;
+
+						var panelLoad = CKEDITOR.tools.bind( function ()
+						{
+							if ( block.autoSize )
+							{
+								var target = element.getFirst();
+								var height = block.element.$.scrollHeight;
+
+								// Account for extra height needed due to IE quirks box model bug:
+								// http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
+								// (#3426)
+								if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && height > 0 )
+									height += ( target.$.offsetHeight || 0 ) - ( target.$.clientHeight || 0 );
+
+								target.setStyle( 'height', height + 'px' );
+
+								// Fix IE < 8 visibility.
+								panel._.currentBlock.element.setStyle( 'display', 'none' ).removeStyle( 'display' );
+							}
+							else
+								element.getFirst().removeStyle( 'height' );
+
+							var panelElement = panel.element,
+								panelWindow = panelElement.getWindow(),
+								windowScroll = panelWindow.getScrollPosition(),
+								viewportSize = panelWindow.getViewPaneSize(),
+								panelSize =
+								{
+									'height' : panelElement.$.offsetHeight,
+									'width' : panelElement.$.offsetWidth
+								};
+
+							// If the menu is horizontal off, shift it toward
+							// the opposite language direction.
+							if ( rtl ? left < 0 : left + panelSize.width > viewportSize.width + windowScroll.x )
+								left += ( panelSize.width * ( rtl ? 1 : -1 ) );
+
+							// Vertical off screen is simpler.
+							if( top + panelSize.height > viewportSize.height + windowScroll.y )
+								top -= panelSize.height;
+
+							element.setStyles(
+								{
+									top : top + 'px',
+									left : left + 'px',
+									opacity : '1'
+								} );
+
+						} , this );
+
+						panel.isLoaded ? panelLoad() : panel.onLoad = panelLoad;
+
+						// Set the panel frame focus, so the blur event gets fired.
+						CKEDITOR.tools.setTimeout( function()
+							{
+								if ( definition.voiceLabel )
+								{
+									if ( CKEDITOR.env.gecko )
+									{
+										var container = iframe.getParent();
+										container.setAttribute( 'role', 'region' );
+										container.setAttribute( 'title', definition.voiceLabel );
+										iframe.setAttribute( 'role', 'region' );
+										iframe.setAttribute( 'title', ' ' );
+									}
+								}
+
+								iframe.$.contentWindow.focus();
+								// We need this get fired manually because of unfired focus() function.
+								this.allowBlur( true );
+
+							}, 0, this);
+					}, 0, this);
+				this.visible = 1;
+
+				if ( this.onShow )
+					this.onShow.call( this );
+
+				isShowing = false;
+			},
+
+			hide : function()
+			{
+				if ( this.visible && ( !this.onHide || this.onHide.call( this ) !== true ) )
+				{
+					this.hideChild();
+					this.element.setStyle( 'display', 'none' );
+					this.visible = 0;
+				}
+			},
+
+			allowBlur : function( allow )	// Prevent editor from hiding the panel. #3222.
+			{
+				var panel = this._.panel;
+				if ( allow != undefined )
+					panel.allowBlur = allow;
+
+				return panel.allowBlur;
+			},
+
+			showAsChild : function( panel, blockName, offsetParent, corner, offsetX, offsetY )
+			{
+				// Skip reshowing of child which is already visible.
+				if ( this._.activeChild == panel && panel._.panel._.offsetParentId == offsetParent.getId() )
+					return;
+
+				this.hideChild();
+
+				panel.onHide = CKEDITOR.tools.bind( function()
+					{
+						// Use a timeout, so we give time for this menu to get
+						// potentially focused.
+						CKEDITOR.tools.setTimeout( function()
+							{
+								if ( !this._.focused )
+									this.hide();
+							},
+							0, this );
+					},
+					this );
+
+				this._.activeChild = panel;
+				this._.focused = false;
+
+				panel.showBlock( blockName, offsetParent, corner, offsetX, offsetY );
+
+				/* #3767 IE: Second level menu may not have borders */
+				if ( CKEDITOR.env.ie7Compat || ( CKEDITOR.env.ie8 && CKEDITOR.env.ie6Compat ) )
+				{
+					setTimeout(function()
+						{
+							panel.element.getChild( 0 ).$.style.cssText += '';
+						}, 100);
+				}
+			},
+
+			hideChild : function()
+			{
+				var activeChild = this._.activeChild;
+
+				if ( activeChild )
+				{
+					delete activeChild.onHide;
+					delete this._.activeChild;
+					activeChild.hide();
+				}
+			}
+		}
+	});
+
+	CKEDITOR.on( 'instanceDestroyed', function()
+	{
+		var isLastInstance = CKEDITOR.tools.isEmpty( CKEDITOR.instances );
+
+		for( var i in panels )
+		{
+			var panel = panels[ i ];
+			// Safe to destroy it since there're no more instances.(#4241)
+			if( isLastInstance )
+				panel.destroy();
+			// Panel might be used by other instances, just hide them.(#4552)
+			else
+				panel.element.hide();
+		}
+		// Remove the registration.
+		isLastInstance && ( panels = {} );
+
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/font/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/font/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/font/plugin.js	(revision 4888)
@@ -0,0 +1,227 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition )
+	{
+		var config = editor.config;
+
+		// Gets the list of fonts from the settings.
+		var names = entries.split( ';' ),
+			values = [];
+
+		// Create style objects for all fonts.
+		var styles = {};
+		for ( var i = 0 ; i < names.length ; i++ )
+		{
+			var vars = {};
+			var parts = names[ i ].split( '/' );
+
+			var name = names[ i ] = parts[ 0 ];
+			vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
+
+			styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
+		}
+
+		editor.ui.addRichCombo( comboName,
+			{
+				label : lang.label,
+				title : lang.panelTitle,
+				voiceLabel : lang.voiceLabel,
+				className : 'cke_' + ( styleType == 'size' ? 'fontSize' : 'font' ),
+				multiSelect : false,
+
+				panel :
+				{
+					css : editor.skin.editor.css.concat( config.contentsCss ),
+					voiceLabel : lang.panelVoiceLabel
+				},
+
+				init : function()
+				{
+					this.startGroup( lang.panelTitle );
+
+					for ( var i = 0 ; i < names.length ; i++ )
+					{
+						var name = names[ i ];
+
+						// Add the tag entry to the panel list.
+						this.add( name, '<span style="font-' + styleType + ':' + values[ i ] + '">' + name + '</span>', name );
+					}
+				},
+
+				onClick : function( value )
+				{
+					editor.focus();
+					editor.fire( 'saveSnapshot' );
+
+					var style = styles[ value ];
+
+					if ( this.getValue() == value )
+						style.remove( editor.document );
+					else
+						style.apply( editor.document );
+
+					editor.fire( 'saveSnapshot' );
+				},
+
+				onRender : function()
+				{
+					editor.on( 'selectionChange', function( ev )
+						{
+							var currentValue = this.getValue();
+
+							var elementPath = ev.data.path,
+								elements = elementPath.elements;
+
+							// For each element into the elements path.
+							for ( var i = 0, element ; i < elements.length ; i++ )
+							{
+								element = elements[i];
+
+								// Check if the element is removable by any of
+								// the styles.
+								for ( var value in styles )
+								{
+									if ( styles[ value ].checkElementRemovable( element, true ) )
+									{
+										if ( value != currentValue )
+											this.setValue( value );
+										return;
+									}
+								}
+							}
+
+							// If no styles match, just empty it.
+							this.setValue( '', defaultLabel );
+						},
+						this);
+				}
+			});
+	}
+
+	CKEDITOR.plugins.add( 'font',
+	{
+		requires : [ 'richcombo', 'styles' ],
+
+		init : function( editor )
+		{
+			var config = editor.config;
+
+			addCombo( editor, 'Font', 'family', editor.lang.font, config.font_names, config.font_defaultLabel, config.font_style );
+			addCombo( editor, 'FontSize', 'size', editor.lang.fontSize, config.fontSize_sizes, config.fontSize_defaultLabel, config.fontSize_style );
+		}
+	});
+})();
+
+/**
+ * The list of fonts names to be displayed in the Font combo in the toolbar.
+ * Entries are separated by semi-colons (;), while it's possible to have more
+ * than one font for each entry, in the HTML way (separated by comma).
+ *
+ * A display name may be optionally defined by prefixing the entries with the
+ * name and the slash character. For example, "Arial/Arial, Helvetica, sans-serif"
+ * will be displayed as "Arial" in the list, but will be outputted as
+ * "Arial, Helvetica, sans-serif".
+ * @type String
+ * @example
+ * config.font_names =
+ *     'Arial/Arial, Helvetica, sans-serif;' +
+ *     'Times New Roman/Times New Roman, Times, serif;' +
+ *     'Verdana';
+ * @example
+ * config.font_names = 'Arial;Times New Roman;Verdana';
+ */
+CKEDITOR.config.font_names =
+	'Arial/Arial, Helvetica, sans-serif;' +
+	'Comic Sans MS/Comic Sans MS, cursive;' +
+	'Courier New/Courier New, Courier, monospace;' +
+	'Georgia/Georgia, serif;' +
+	'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
+	'Tahoma/Tahoma, Geneva, sans-serif;' +
+	'Times New Roman/Times New Roman, Times, serif;' +
+	'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
+	'Verdana/Verdana, Geneva, sans-serif';
+
+/**
+ * The text to be displayed in the Font combo is none of the available values
+ * matches the current cursor position or text selection.
+ * @type String
+ * @example
+ * // If the default site font is Arial, we may making it more explicit to the end user.
+ * config.font_defaultLabel = 'Arial';
+ */
+CKEDITOR.config.font_defaultLabel = '';
+
+/**
+ * The style definition to be used to apply the font in the text.
+ * @type Object
+ * @example
+ * // This is actually the default value for it.
+ * config.font_style =
+ *     {
+ *         element		: 'span',
+ *         styles		: { 'font-family' : '#(family)' },
+ *         overrides	: [ { element : 'font', attributes : { 'face' : null } } ]
+ *     };
+ */
+CKEDITOR.config.font_style =
+	{
+		element		: 'span',
+		styles		: { 'font-family' : '#(family)' },
+		overrides	: [ { element : 'font', attributes : { 'face' : null } } ]
+	};
+
+/**
+ * The list of fonts size to be displayed in the Font Size combo in the
+ * toolbar. Entries are separated by semi-colons (;).
+ *
+ * Any kind of "CSS like" size can be used, like "12px", "2.3em", "130%",
+ * "larger" or "x-small".
+ *
+ * A display name may be optionally defined by prefixing the entries with the
+ * name and the slash character. For example, "Bigger Font/14px" will be
+ * displayed as "Bigger Font" in the list, but will be outputted as "14px".
+ * @type String
+ * @default '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'
+ * @example
+ * config.fontSize_sizes = '16/16px;24/24px;48/48px;';
+ * @example
+ * config.fontSize_sizes = '12px;2.3em;130%;larger;x-small';
+ * @example
+ * config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small';
+ */
+CKEDITOR.config.fontSize_sizes =
+	'8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
+
+/**
+ * The text to be displayed in the Font Size combo is none of the available
+ * values matches the current cursor position or text selection.
+ * @type String
+ * @example
+ * // If the default site font size is 12px, we may making it more explicit to the end user.
+ * config.fontSize_defaultLabel = '12px';
+ */
+CKEDITOR.config.fontSize_defaultLabel = '';
+
+/**
+ * The style definition to be used to apply the font size in the text.
+ * @type Object
+ * @example
+ * // This is actually the default value for it.
+ * config.fontSize_style =
+ *     {
+ *         element		: 'span',
+ *         styles		: { 'font-size' : '#(size)' },
+ *         overrides	: [ { element : 'font', attributes : { 'size' : null } } ]
+ *     };
+ */
+CKEDITOR.config.fontSize_style =
+	{
+		element		: 'span',
+		styles		: { 'font-size' : '#(size)' },
+		overrides	: [ { element : 'font', attributes : { 'size' : null } } ]
+	};
Index: CKEditor/branches/features/aria/_source/plugins/format/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/format/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/format/plugin.js	(revision 4888)
@@ -0,0 +1,195 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'format',
+{
+	requires : [ 'richcombo', 'styles' ],
+
+	init : function( editor )
+	{
+		var config = editor.config,
+			lang = editor.lang.format;
+
+		// Gets the list of tags from the settings.
+		var tags = config.format_tags.split( ';' );
+
+		// Create style objects for all defined styles.
+		var styles = {};
+		for ( var i = 0 ; i < tags.length ; i++ )
+		{
+			var tag = tags[ i ];
+			styles[ tag ] = new CKEDITOR.style( config[ 'format_' + tag ] );
+		}
+
+		editor.ui.addRichCombo( 'Format',
+			{
+				label : lang.label,
+				title : lang.panelTitle,
+				voiceLabel : lang.voiceLabel,
+				className : 'cke_format',
+				multiSelect : false,
+
+				panel :
+				{
+					css : editor.skin.editor.css.concat( config.contentsCss ),
+					voiceLabel : lang.panelVoiceLabel
+				},
+
+				init : function()
+				{
+					this.startGroup( lang.panelTitle );
+
+					for ( var tag in styles )
+					{
+						var label = lang[ 'tag_' + tag ];
+
+						// Add the tag entry to the panel list.
+						this.add( tag, '<' + tag + '>' + label + '</' + tag + '>', label );
+					}
+				},
+
+				onClick : function( value )
+				{
+					editor.focus();
+					editor.fire( 'saveSnapshot' );
+
+					styles[ value ].apply( editor.document );
+
+					// Save the undo snapshot after all changes are affected. (#4899)
+					setTimeout( function()
+					{
+						editor.fire( 'saveSnapshot' );
+					}, 0 );
+				},
+
+				onRender : function()
+				{
+					editor.on( 'selectionChange', function( ev )
+						{
+							var currentTag = this.getValue();
+
+							var elementPath = ev.data.path;
+
+							for ( var tag in styles )
+							{
+								if ( styles[ tag ].checkActive( elementPath ) )
+								{
+									if ( tag != currentTag )
+										this.setValue( tag, editor.lang.format[ 'tag_' + tag ] );
+									return;
+								}
+							}
+
+							// If no styles match, just empty it.
+							this.setValue( '' );
+						},
+						this);
+				}
+			});
+	}
+});
+
+/**
+ * A list of semi colon separated style names (by default tags) representing
+ * the style definition for each entry to be displayed in the Format combo in
+ * the toolbar. Each entry must have its relative definition configuration in a
+ * setting named "format_(tagName)". For example, the "p" entry has its
+ * definition taken from config.format_p.
+ * @type String
+ * @default 'p;h1;h2;h3;h4;h5;h6;pre;address;div'
+ * @example
+ * config.format_tags = 'p;h2;h3;pre'
+ */
+CKEDITOR.config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div';
+
+/**
+ * The style definition to be used to apply the "Normal" format.
+ * @type Object
+ * @default { element : 'p' }
+ * @example
+ * config.format_p = { element : 'p', attributes : { class : 'normalPara' } };
+ */
+CKEDITOR.config.format_p = { element : 'p' };
+
+/**
+ * The style definition to be used to apply the "Normal (DIV)" format.
+ * @type Object
+ * @default { element : 'div' }
+ * @example
+ * config.format_div = { element : 'div', attributes : { class : 'normalDiv' } };
+ */
+CKEDITOR.config.format_div = { element : 'div' };
+
+/**
+ * The style definition to be used to apply the "Formatted" format.
+ * @type Object
+ * @default { element : 'pre' }
+ * @example
+ * config.format_pre = { element : 'pre', attributes : { class : 'code' } };
+ */
+CKEDITOR.config.format_pre = { element : 'pre' };
+
+/**
+ * The style definition to be used to apply the "Address" format.
+ * @type Object
+ * @default { element : 'address' }
+ * @example
+ * config.format_address = { element : 'address', attributes : { class : 'styledAddress' } };
+ */
+CKEDITOR.config.format_address = { element : 'address' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h1' }
+ * @example
+ * config.format_h1 = { element : 'h1', attributes : { class : 'contentTitle1' } };
+ */
+CKEDITOR.config.format_h1 = { element : 'h1' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h2' }
+ * @example
+ * config.format_h2 = { element : 'h2', attributes : { class : 'contentTitle2' } };
+ */
+CKEDITOR.config.format_h2 = { element : 'h2' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h3' }
+ * @example
+ * config.format_h3 = { element : 'h3', attributes : { class : 'contentTitle3' } };
+ */
+CKEDITOR.config.format_h3 = { element : 'h3' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h4' }
+ * @example
+ * config.format_h4 = { element : 'h4', attributes : { class : 'contentTitle4' } };
+ */
+CKEDITOR.config.format_h4 = { element : 'h4' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h5' }
+ * @example
+ * config.format_h5 = { element : 'h5', attributes : { class : 'contentTitle5' } };
+ */
+CKEDITOR.config.format_h5 = { element : 'h5' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h6' }
+ * @example
+ * config.format_h6 = { element : 'h6', attributes : { class : 'contentTitle6' } };
+ */
+CKEDITOR.config.format_h6 = { element : 'h6' };
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/button.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/button.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/button.js	(revision 4888)
@@ -0,0 +1,135 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'button', function( editor )
+{
+	return {
+		title : editor.lang.button.title,
+		minWidth : 350,
+		minHeight : 150,
+		onShow : function()
+		{
+			delete this.button;
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "input" )
+			{
+				var type = element.getAttribute( 'type' );
+				if ( type == "button" || type == "reset" || type == "submit" )
+				{
+					this.button = element;
+					this.setupContent( element );
+				}
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.button,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'input' );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( { element : element } );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.button.title,
+				title : editor.lang.button.title,
+				elements : [
+					{
+						id : '_cke_saved_name',
+						type : 'text',
+						label : editor.lang.common.name,
+						'default' : '',
+						setup : function( element )
+						{
+							this.setValue(
+									element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'value',
+						type : 'text',
+						label : editor.lang.button.text,
+						accessKey : 'V',
+						'default' : '',
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'value' ) || '' );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( this.getValue() )
+								element.setAttribute( 'value', this.getValue() );
+							else
+								element.removeAttribute( 'value' );
+						}
+					},
+					{
+						id : 'type',
+						type : 'select',
+						label : editor.lang.button.type,
+						'default' : 'button',
+						accessKey : 'T',
+						items :
+						[
+							[ editor.lang.button.typeBtn, 'button' ],
+							[ editor.lang.button.typeSbm, 'submit' ],
+							[ editor.lang.button.typeRst, 'reset' ]
+						],
+						setup : function( element )
+						{
+							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() );
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/checkbox.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/checkbox.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/checkbox.js	(revision 4888)
@@ -0,0 +1,143 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'checkbox', function( editor )
+{
+	return {
+		title : editor.lang.checkboxAndRadio.checkboxTitle,
+		minWidth : 350,
+		minHeight : 140,
+		onShow : function()
+		{
+			delete this.checkbox;
+
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+
+			if ( element && element.getAttribute( 'type' ) == "checkbox" )
+			{
+				this.checkbox = element;
+				this.setupContent( element );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.checkbox,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'input' );
+				element.setAttribute( 'type', 'checkbox' );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( { element : element } );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.checkboxAndRadio.checkboxTitle,
+				title : editor.lang.checkboxAndRadio.checkboxTitle,
+				startupFocus : 'txtName',
+				elements : [
+					{
+						id : 'txtName',
+						type : 'text',
+						label : editor.lang.common.name,
+						'default' : '',
+						accessKey : 'N',
+						setup : function( element )
+						{
+							this.setValue(
+									element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							// IE failed to update 'name' property on input elements, protect it now.
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'txtValue',
+						type : 'text',
+						label : editor.lang.checkboxAndRadio.value,
+						'default' : '',
+						accessKey : 'V',
+						setup : function( element )
+						{
+							var value = element.getAttribute( 'value' );
+							// IE Return 'on' as default attr value.
+							this.setValue(  CKEDITOR.env.ie && value == 'on' ? '' : value  );
+						},
+						commit : function( data )
+						{
+							var element = data.element,
+								value = this.getValue();
+
+							if ( value && !( CKEDITOR.env.ie && value == 'on' ) )
+								element.setAttribute( 'value', value );
+							else
+								element.removeAttribute( 'value' );
+						}
+					},
+					{
+						id : 'cmbSelected',
+						type : 'checkbox',
+						label : editor.lang.checkboxAndRadio.selected,
+						'default' : '',
+						accessKey : 'S',
+						value : "checked",
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'checked' ) );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( CKEDITOR.env.ie )
+							{
+								var isElementChecked = !!element.getAttribute( 'checked' );
+								var isChecked = !!this.getValue();
+
+								if ( isElementChecked != isChecked )
+								{
+									var replace = CKEDITOR.dom.element.createFromHtml( '<input type="checkbox"'
+										   + ( isChecked ? ' checked="checked"' : '' )
+										   + '/>', editor.document );
+
+									element.copyAttributes( replace, { type : 1, checked : 1 } );
+									replace.replace( element );
+									editor.getSelection().selectElement( replace );
+									data.element = replace;
+								}
+							}
+							else
+							{
+								var value = this.getValue();
+								if ( value )
+									element.setAttribute( 'checked', 'checked' );
+								else
+									element.removeAttribute( 'checked' );
+							}
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/form.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/form.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/form.js	(revision 4888)
@@ -0,0 +1,177 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'form', function( editor )
+{
+	var autoAttributes =
+	{
+		action : 1,
+		id : 1,
+		method : 1,
+		enctype : 1,
+		target : 1
+	};
+
+	return {
+		title : editor.lang.form.title,
+		minWidth : 350,
+		minHeight : 200,
+		onShow : function()
+		{
+			delete this.form;
+
+			var element = this.getParentEditor().getSelection().getStartElement();
+			var form = element && element.getAscendant( 'form', true );
+			if ( form )
+			{
+				this.form = form;
+				this.setupContent( form );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.form,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'form' );
+				element.append( editor.document.createElement( 'br' ) );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( element );
+		},
+		onLoad : function()
+		{
+			function autoSetup( element )
+			{
+				this.setValue( element.getAttribute( this.id ) || '' );
+			}
+
+			function autoCommit( element )
+			{
+				if ( this.getValue() )
+					element.setAttribute( this.id, this.getValue() );
+				else
+					element.removeAttribute( this.id );
+			}
+
+			this.foreach( function( contentObj )
+				{
+					if ( autoAttributes[ contentObj.id ] )
+					{
+						contentObj.setup = autoSetup;
+						contentObj.commit = autoCommit;
+					}
+				} );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.form.title,
+				title : editor.lang.form.title,
+				elements : [
+					{
+						id : 'txtName',
+						type : 'text',
+						label : editor.lang.common.name,
+						'default' : '',
+						accessKey : 'N',
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'action',
+						type : 'text',
+						label : editor.lang.form.action,
+						'default' : '',
+						accessKey : 'A'
+					},
+					{
+						type : 'hbox',
+						widths : [ '45%', '55%' ],
+						children :
+						[
+							{
+								id : 'id',
+								type : 'text',
+								label : editor.lang.common.id,
+								'default' : '',
+								accessKey : 'I'
+							},
+							{
+								id : 'enctype',
+								type : 'select',
+								label : editor.lang.form.encoding,
+								style : 'width:100%',
+								accessKey : 'E',
+								'default' : '',
+								items :
+								[
+									[ '' ],
+									[ 'text/plain' ],
+									[ 'multipart/form-data' ],
+									[ 'application/x-www-form-urlencoded' ]
+								]
+							}
+						]
+					},
+					{
+						type : 'hbox',
+						widths : [ '45%', '55%' ],
+						children :
+						[
+							{
+								id : 'target',
+								type : 'select',
+								label : editor.lang.form.target,
+								style : 'width:100%',
+								accessKey : 'M',
+								'default' : '',
+								items :
+								[
+									[ editor.lang.form.targetNotSet, '' ],
+									[ editor.lang.form.targetNew, '_blank' ],
+									[ editor.lang.form.targetTop, '_top' ],
+									[ editor.lang.form.targetSelf, '_self' ],
+									[ editor.lang.form.targetParent, '_parent' ]
+								]
+							},
+							{
+								id : 'method',
+								type : 'select',
+								label : editor.lang.form.method,
+								accessKey : 'M',
+								'default' : 'GET',
+								items :
+								[
+									[ 'GET', 'get' ],
+									[ 'POST', 'post' ]
+								]
+							}
+						]
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/hiddenfield.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/hiddenfield.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/hiddenfield.js	(revision 4888)
@@ -0,0 +1,91 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'hiddenfield', function( editor )
+{
+	return {
+		title : editor.lang.hidden.title,
+		minWidth : 350,
+		minHeight : 110,
+		onShow : function()
+		{
+			delete this.hiddenField;
+
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "input" && element.getAttribute( 'type' ) == "checkbox" )
+			{
+				this.hiddenField = element;
+				this.setupContent( element );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.hiddenField,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'input' );
+				element.setAttribute( 'type', 'hidden' );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( element );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.hidden.title,
+				title : editor.lang.hidden.title,
+				elements : [
+					{
+						id : '_cke_saved_name',
+						type : 'text',
+						label : editor.lang.hidden.name,
+						'default' : '',
+						accessKey : 'N',
+						setup : function( element )
+						{
+							this.setValue(
+									element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'value',
+						type : 'text',
+						label : editor.lang.hidden.value,
+						'default' : '',
+						accessKey : 'V',
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'value' ) || '' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( 'value', this.getValue() );
+							else
+								element.removeAttribute( 'value' );
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/radio.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/radio.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/radio.js	(revision 4888)
@@ -0,0 +1,135 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'radio', function( editor )
+{
+	return {
+		title : editor.lang.checkboxAndRadio.radioTitle,
+		minWidth : 350,
+		minHeight : 140,
+		onShow : function()
+		{
+			delete this.radioButton;
+
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "input" && element.getAttribute( 'type' ) == "radio" )
+			{
+				this.radioButton = element;
+				this.setupContent( element );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.radioButton,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'input' );
+				element.setAttribute( 'type', 'radio' );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( { element : element } );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.checkboxAndRadio.radioTitle,
+				title : editor.lang.checkboxAndRadio.radioTitle,
+				elements : [
+					{
+						id : 'name',
+						type : 'text',
+						label : editor.lang.common.name,
+						'default' : '',
+						accessKey : 'N',
+						setup : function( element )
+						{
+							this.setValue(
+									element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'value',
+						type : 'text',
+						label : editor.lang.checkboxAndRadio.value,
+						'default' : '',
+						accessKey : 'V',
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'value' ) || '' );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( this.getValue() )
+								element.setAttribute( 'value', this.getValue() );
+							else
+								element.removeAttribute( 'value' );
+						}
+					},
+					{
+						id : 'checked',
+						type : 'checkbox',
+						label : editor.lang.checkboxAndRadio.selected,
+						'default' : '',
+						accessKey : 'S',
+						value : "checked",
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'checked' ) );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( !CKEDITOR.env.ie )
+							{
+								if ( this.getValue() )
+									element.setAttribute( 'checked', 'checked' );
+								else
+									element.removeAttribute( 'checked' );
+							}
+							else
+							{
+								var isElementChecked = element.getAttribute( 'checked' );
+								var isChecked = !!this.getValue();
+
+								if ( isElementChecked != isChecked )
+								{
+									var replace = CKEDITOR.dom.element.createFromHtml( '<input type="radio"'
+											+ ( isChecked ? ' checked="checked"' : '' )
+											+ '></input>', editor.document );
+									element.copyAttributes( replace, { type : 1, checked : 1 } );
+									replace.replace( element );
+									editor.getSelection().selectElement( replace );
+									data.element = replace;
+								}
+							}
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/select.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/select.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/select.js	(revision 4888)
@@ -0,0 +1,556 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'select', function( editor )
+{
+	// Add a new option to a SELECT object (combo or list).
+	function addOption( combo, optionText, optionValue, documentObject, index )
+	{
+		combo = getSelect( combo );
+		var oOption;
+		if ( documentObject )
+			oOption = documentObject.createElement( "OPTION" );
+		else
+			oOption = document.createElement( "OPTION" );
+
+		if ( combo && oOption && oOption.getName() == 'option' )
+		{
+			if ( CKEDITOR.env.ie ) {
+				if ( !isNaN( parseInt( index, 10) ) )
+					combo.$.options.add( oOption.$, index );
+				else
+					combo.$.options.add( oOption.$ );
+
+				oOption.$.innerHTML = optionText.length > 0 ? optionText : '';
+				oOption.$.value     = optionValue;
+			}
+			else
+			{
+				if ( index !== null && index < combo.getChildCount() )
+					combo.getChild( index < 0 ? 0 : index ).insertBeforeMe( oOption );
+				else
+					combo.append( oOption );
+
+				oOption.setText( optionText.length > 0 ? optionText : '' );
+				oOption.setValue( optionValue );
+			}
+		}
+		else
+			return false;
+
+		return oOption;
+	}
+	// Remove all selected options from a SELECT object.
+	function removeSelectedOptions( combo )
+	{
+		combo = getSelect( combo );
+
+		// Save the selected index
+		var iSelectedIndex = getSelectedIndex( combo );
+
+		// Remove all selected options.
+		for ( var i = combo.getChildren().count() - 1 ; i >= 0 ; i-- )
+		{
+			if ( combo.getChild( i ).$.selected )
+				combo.getChild( i ).remove();
+		}
+
+		// Reset the selection based on the original selected index.
+		setSelectedIndex( combo, iSelectedIndex );
+	}
+	//Modify option  from a SELECT object.
+	function modifyOption( combo, index, title, value )
+	{
+		combo = getSelect( combo );
+		if ( index < 0 )
+			return false;
+		var child = combo.getChild( index );
+		child.setText( title );
+		child.setValue( value );
+		return child;
+	}
+	function removeAllOptions( combo )
+	{
+		combo = getSelect( combo );
+		while( combo.getChild( 0 ) && combo.getChild( 0 ).remove() )
+		{ /*jsl:pass*/ }
+	}
+	// Moves the selected option by a number of steps (also negative).
+	function changeOptionPosition( combo, steps, documentObject )
+	{
+		combo = getSelect( combo );
+		var iActualIndex = getSelectedIndex( combo );
+		if ( iActualIndex < 0 )
+			return false;
+
+		var iFinalIndex = iActualIndex + steps;
+		iFinalIndex = ( iFinalIndex < 0 ) ? 0 : iFinalIndex;
+		iFinalIndex = ( iFinalIndex >= combo.getChildCount() ) ? combo.getChildCount() - 1 : iFinalIndex;
+
+		if ( iActualIndex == iFinalIndex )
+			return false;
+
+		var oOption = combo.getChild( iActualIndex ),
+			sText	= oOption.getText(),
+			sValue	= oOption.getValue();
+
+		oOption.remove();
+
+		oOption = addOption( combo, sText, sValue, ( !documentObject ) ? null : documentObject, iFinalIndex );
+		setSelectedIndex( combo, iFinalIndex );
+		return oOption;
+	}
+	function getSelectedIndex( combo )
+	{
+		combo = getSelect( combo );
+		return combo ? combo.$.selectedIndex : -1;
+	}
+	function setSelectedIndex( combo, index )
+	{
+		combo = getSelect( combo );
+		if ( index < 0 )
+			return null;
+		var count = combo.getChildren().count();
+		combo.$.selectedIndex = ( index >= count ) ? ( count - 1 ) : index;
+		return combo;
+	}
+	function getOptions( combo )
+	{
+		combo = getSelect( combo );
+		return combo ? combo.getChildren() : false;
+	}
+	function getSelect( obj )
+	{
+		if ( obj && obj.domId && obj.getInputElement().$ )				// Dialog element.
+			return  obj.getInputElement();
+		else if ( obj && obj.$ )
+			return obj;
+		return false;
+	}
+
+	return {
+		title : editor.lang.select.title,
+		minWidth : CKEDITOR.env.ie ? 460 : 395,
+		minHeight : CKEDITOR.env.ie ? 320 : 300,
+		onShow : function()
+		{
+			delete this.selectBox;
+			this.setupContent( 'clear' );
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "select" )
+			{
+				this.selectBox = element;
+				this.setupContent( element.getName(), element );
+
+				// Load Options into dialog.
+				var objOptions = getOptions( element );
+				for ( var i = 0 ; i < objOptions.count() ; i++ )
+					this.setupContent( 'option', objOptions.getItem( i ) );
+			}
+		},
+		onOk : function()
+		{
+			var editor = this.getParentEditor(),
+				element = this.selectBox,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+				element = editor.document.createElement( 'select' );
+			this.commitContent( element );
+
+			if ( isInsertMode )
+			{
+				editor.insertElement(element);
+				if( CKEDITOR.env.ie )
+				{
+					var sel = editor.getSelection(),
+						bms = sel.createBookmarks();
+					setTimeout(function ()
+					{
+						sel.selectBookmarks( bms );
+					}, 0 );
+				}
+			}
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.select.selectInfo,
+				title : editor.lang.select.selectInfo,
+				accessKey : '',
+				elements : [
+					{
+						id : 'txtName',
+						type : 'text',
+						widths : [ '25%','75%' ],
+						labelLayout : 'horizontal',
+						label : editor.lang.common.name,
+						'default' : '',
+						accessKey : 'N',
+						align : 'center',
+						style : 'width:350px',
+						setup : function( name, element )
+						{
+							if ( name == 'clear' )
+								this.setValue( '' );
+							else if ( name == 'select' )
+							{
+								this.setValue(
+										element.getAttribute( '_cke_saved_name' ) ||
+										element.getAttribute( 'name' ) ||
+										'' );
+							}
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' ) ;
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'txtValue',
+						type : 'text',
+						widths : [ '25%','75%' ],
+						labelLayout : 'horizontal',
+						label : editor.lang.select.value,
+						style : 'width:350px',
+						'default' : '',
+						className : 'cke_disabled',
+						onLoad : function()
+						{
+							this.getInputElement().setAttribute( 'readOnly', true );
+						},
+						setup : function( name, element )
+						{
+							if ( name == 'clear' )
+								this.setValue( '' );
+							else if ( name == 'option' && element.getAttribute( 'selected' ) )
+								this.setValue( element.$.value );
+						}
+					},
+					{
+						type : 'hbox',
+						widths : [ '175px', '170px' ],
+						align : 'center',
+						children :
+						[
+							{
+								id : 'txtSize',
+								type : 'text',
+								align : 'center',
+								labelLayout : 'horizontal',
+								label : editor.lang.select.size,
+								'default' : '',
+								accessKey : 'S',
+								style : 'width:175px',
+								validate: function()
+								{
+									var func = CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed );
+									return ( ( this.getValue() === '' ) || func.apply( this ) );
+								},
+								setup : function( name, element )
+								{
+									if ( name == 'select' )
+										this.setValue( element.getAttribute( 'size' ) || '' );
+									if ( CKEDITOR.env.webkit )
+										this.getInputElement().setStyle( 'width', '86px' );
+								},
+								commit : function( element )
+								{
+									if ( this.getValue() )
+										element.setAttribute( 'size', this.getValue() );
+									else
+										element.removeAttribute( 'size' );
+								}
+							},
+							{
+								type : 'html',
+								html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.select.lines ) + '</span>'
+							}
+						]
+					},
+					{
+						type : 'html',
+						html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.select.opAvail ) + '</span>'
+					},
+					{
+						type : 'hbox',
+						widths : [ '115px', '115px' ,'100px' ],
+						align : 'top',
+						children :
+						[
+							{
+								type : 'vbox',
+								children :
+								[
+									{
+										id : 'txtOptName',
+										type : 'text',
+										label : editor.lang.select.opText,
+										style : 'width:115px',
+										setup : function( name, element )
+										{
+											if ( name == 'clear' )
+												this.setValue( "" );
+										}
+									},
+									{
+										type : 'select',
+										id : 'cmbName',
+										label : '',
+										title : '',
+										size : 5,
+										style : 'width:115px;height:75px',
+										items : [],
+										onChange : function()
+										{
+											var dialog = this.getDialog(),
+												values = dialog.getContentElement( 'info', 'cmbValue' ),
+												optName = dialog.getContentElement( 'info', 'txtOptName' ),
+												optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+												iIndex = getSelectedIndex( this );
+
+											setSelectedIndex( values, iIndex );
+											optName.setValue( this.getValue() );
+											optValue.setValue( values.getValue() );
+										},
+										setup : function( name, element )
+										{
+											if ( name == 'clear' )
+												removeAllOptions( this );
+											else if ( name == 'option' )
+												addOption( this, element.getText(), element.getText(),
+													this.getDialog().getParentEditor().document );
+										},
+										commit : function( element )
+										{
+											var dialog = this.getDialog(),
+												optionsNames = getOptions( this ),
+												optionsValues = getOptions( dialog.getContentElement( 'info', 'cmbValue' ) ),
+												selectValue = dialog.getContentElement( 'info', 'txtValue' ).getValue();
+
+											removeAllOptions( element );
+
+											for ( var i = 0 ; i < optionsNames.count() ; i++ )
+											{
+												var oOption = addOption( element, optionsNames.getItem( i ).getValue(),
+													optionsValues.getItem( i ).getValue(), dialog.getParentEditor().document );
+												if ( optionsValues.getItem( i ).getValue() == selectValue )
+												{
+													oOption.setAttribute( 'selected', 'selected' );
+													oOption.selected = true;
+												}
+											}
+										}
+									}
+								]
+							},
+							{
+								type : 'vbox',
+								children :
+								[
+									{
+										id : 'txtOptValue',
+										type : 'text',
+										label : editor.lang.select.opValue,
+										style : 'width:115px',
+										setup : function( name, element )
+										{
+											if ( name == 'clear' )
+												this.setValue( "" );
+										}
+									},
+									{
+										type : 'select',
+										id : 'cmbValue',
+										label : '',
+										size : 5,
+										style : 'width:115px;height:75px',
+										items : [],
+										onChange : function()
+										{
+											var dialog = this.getDialog(),
+												names = dialog.getContentElement( 'info', 'cmbName' ),
+												optName = dialog.getContentElement( 'info', 'txtOptName' ),
+												optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+												iIndex = getSelectedIndex( this );
+
+											setSelectedIndex( names, iIndex );
+											optName.setValue( names.getValue() );
+											optValue.setValue( this.getValue() );
+										},
+										setup : function( name, element )
+										{
+											if ( name == 'clear' )
+												removeAllOptions( this );
+											else if ( name == 'option' )
+											{
+												var oValue	= element.getValue();
+												addOption( this, oValue, oValue,
+													this.getDialog().getParentEditor().document );
+												if ( element.getAttribute( 'selected' ) == 'selected' )
+													this.getDialog().getContentElement( 'info', 'txtValue' ).setValue( oValue );
+											}
+										}
+									}
+								]
+							},
+							{
+								type : 'vbox',
+								padding : 5,
+								children :
+								[
+									{
+										type : 'button',
+										style : '',
+										label : editor.lang.select.btnAdd,
+										title : editor.lang.select.btnAdd,
+										style : 'width:100%;',
+										onClick : function()
+										{
+											//Add new option.
+											var dialog = this.getDialog(),
+												parentEditor = dialog.getParentEditor(),
+												optName = dialog.getContentElement( 'info', 'txtOptName' ),
+												optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+												names = dialog.getContentElement( 'info', 'cmbName' ),
+												values = dialog.getContentElement( 'info', 'cmbValue' );
+
+											addOption(names, optName.getValue(), optName.getValue(), dialog.getParentEditor().document );
+											addOption(values, optValue.getValue(), optValue.getValue(), dialog.getParentEditor().document );
+
+											optName.setValue( "" );
+											optValue.setValue( "" );
+										}
+									},
+									{
+										type : 'button',
+										label : editor.lang.select.btnModify,
+										title : editor.lang.select.btnModify,
+										style : 'width:100%;',
+										onClick : function()
+										{
+											//Modify selected option.
+											var dialog = this.getDialog(),
+												optName = dialog.getContentElement( 'info', 'txtOptName' ),
+												optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+												names = dialog.getContentElement( 'info', 'cmbName' ),
+												values = dialog.getContentElement( 'info', 'cmbValue' ),
+												iIndex = getSelectedIndex( names );
+
+											if ( iIndex >= 0 )
+											{
+												modifyOption( names, iIndex, optName.getValue(), optName.getValue() );
+												modifyOption( values, iIndex, optValue.getValue(), optValue.getValue() );
+											}
+										}
+									},
+									{
+										type : 'button',
+										style : 'width:100%;',
+										label : editor.lang.select.btnUp,
+										title : editor.lang.select.btnUp,
+										onClick : function()
+										{
+											//Move up.
+											var dialog = this.getDialog(),
+												names = dialog.getContentElement( 'info', 'cmbName' ),
+												values = dialog.getContentElement( 'info', 'cmbValue' );
+
+											changeOptionPosition( names, -1, dialog.getParentEditor().document );
+											changeOptionPosition( values, -1, dialog.getParentEditor().document );
+										}
+									},
+									{
+										type : 'button',
+										style : 'width:100%;',
+										label : editor.lang.select.btnDown,
+										title : editor.lang.select.btnDown,
+										onClick : function()
+										{
+											//Move down.
+											var dialog = this.getDialog(),
+												names = dialog.getContentElement( 'info', 'cmbName' ),
+												values = dialog.getContentElement( 'info', 'cmbValue' );
+
+											changeOptionPosition( names, 1, dialog.getParentEditor().document );
+											changeOptionPosition( values, 1, dialog.getParentEditor().document );
+										}
+									}
+								]
+							}
+						]
+					},
+					{
+						type : 'hbox',
+						widths : [ '40%', '20%', '40%' ],
+						children :
+						[
+							{
+								type : 'button',
+								label : editor.lang.select.btnSetValue,
+								title : editor.lang.select.btnSetValue,
+								onClick : function()
+								{
+									//Set as default value.
+									var dialog = this.getDialog(),
+										values = dialog.getContentElement( 'info', 'cmbValue' ),
+										txtValue = dialog.getContentElement( 'info', 'txtValue' );
+									txtValue.setValue( values.getValue() );
+								}
+							},
+							{
+								type : 'button',
+								label : editor.lang.select.btnDelete,
+								title : editor.lang.select.btnDelete,
+								onClick : function()
+								{
+									// Delete option.
+									var dialog = this.getDialog(),
+										names = dialog.getContentElement( 'info', 'cmbName' ),
+										values = dialog.getContentElement( 'info', 'cmbValue' ),
+										optName = dialog.getContentElement( 'info', 'txtOptName' ),
+										optValue = dialog.getContentElement( 'info', 'txtOptValue' );
+
+									removeSelectedOptions( names );
+									removeSelectedOptions( values );
+
+									optName.setValue( "" );
+									optValue.setValue( "" );
+								}
+							},
+							{
+								id : 'chkMulti',
+								type : 'checkbox',
+								label : editor.lang.select.chkMulti,
+								'default' : '',
+								accessKey : 'M',
+								value : "checked",
+								setup : function( name, element )
+								{
+									if ( name == 'select' )
+										this.setValue( element.getAttribute( 'multiple' ) );
+									if ( CKEDITOR.env.webkit )
+										this.getElement().getParent().setStyle( 'vertical-align', 'middle' );
+								},
+								commit : function( element )
+								{
+									if ( this.getValue() )
+										element.setAttribute( 'multiple', this.getValue() );
+									else
+										element.removeAttribute( 'multiple' );
+								}
+							}
+						]
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textarea.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textarea.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textarea.js	(revision 4888)
@@ -0,0 +1,114 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'textarea', function( editor )
+{
+	return {
+		title : editor.lang.textarea.title,
+		minWidth : 350,
+		minHeight : 150,
+		onShow : function()
+		{
+			delete this.textarea;
+
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "textarea" )
+			{
+				this.textarea = element;
+				this.setupContent( element );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.textarea,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'textarea' );
+			}
+			this.commitContent( element );
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.textarea.title,
+				title : editor.lang.textarea.title,
+				elements : [
+					{
+						id : '_cke_saved_name',
+						type : 'text',
+						label : editor.lang.common.name,
+						'default' : '',
+						accessKey : 'N',
+						setup : function( element )
+						{
+							this.setValue(
+									element.getAttribute( '_cke_saved_name' ) ||
+									element.getAttribute( 'name' ) ||
+									'' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( '_cke_saved_name', this.getValue() );
+							else
+							{
+								element.removeAttribute( '_cke_saved_name' );
+								element.removeAttribute( 'name' );
+							}
+						}
+					},
+					{
+						id : 'cols',
+						type : 'text',
+						label : editor.lang.textarea.cols,
+						'default' : '',
+						accessKey : 'C',
+						style : 'width:50px',
+						validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ),
+						setup : function( element )
+						{
+							var value = element.hasAttribute( 'cols' ) && element.getAttribute( 'cols' );
+							this.setValue( value || '' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( 'cols', this.getValue() );
+							else
+								element.removeAttribute( 'cols' );
+						}
+					},
+					{
+						id : 'rows',
+						type : 'text',
+						label : editor.lang.textarea.rows,
+						'default' : '',
+						accessKey : 'R',
+						style : 'width:50px',
+						validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ),
+						setup : function( element )
+						{
+							var value = element.hasAttribute( 'rows' ) && element.getAttribute( 'rows' );
+							this.setValue( value || '' );
+						},
+						commit : function( element )
+						{
+							if ( this.getValue() )
+								element.setAttribute( 'rows', this.getValue() );
+							else
+								element.removeAttribute( 'rows' );
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textfield.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textfield.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/dialogs/textfield.js	(revision 4888)
@@ -0,0 +1,193 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'textfield', function( editor )
+{
+	var autoAttributes =
+	{
+		value : 1,
+		size : 1,
+		maxLength : 1
+	};
+
+	var acceptedTypes =
+	{
+		text : 1,
+		password : 1
+	};
+
+	return {
+		title : editor.lang.textfield.title,
+		minWidth : 350,
+		minHeight : 150,
+		onShow : function()
+		{
+			delete this.textField;
+
+			var element = this.getParentEditor().getSelection().getSelectedElement();
+			if ( element && element.getName() == "input" &&
+					( acceptedTypes[ element.getAttribute( 'type' ) ] || !element.getAttribute( 'type' ) ) )
+			{
+				this.textField = element;
+				this.setupContent( element );
+			}
+		},
+		onOk : function()
+		{
+			var editor,
+				element = this.textField,
+				isInsertMode = !element;
+
+			if ( isInsertMode )
+			{
+				editor = this.getParentEditor();
+				element = editor.document.createElement( 'input' );
+				element.setAttribute( 'type', 'text' );
+			}
+
+			if ( isInsertMode )
+				editor.insertElement( element );
+			this.commitContent( { element : element } );
+		},
+		onLoad : function()
+		{
+			var autoSetup = function( element )
+			{
+				var value = element.hasAttribute( this.id ) && element.getAttribute( this.id );
+				this.setValue( value || '' );
+			};
+
+			var autoCommit = function( data )
+			{
+				var element = data.element;
+				var value = this.getValue();
+
+				if ( value )
+					element.setAttribute( this.id, value );
+				else
+					element.removeAttribute( this.id );
+			};
+
+			this.foreach( function( contentObj )
+				{
+					if ( autoAttributes[ contentObj.id ] )
+					{
+						contentObj.setup = autoSetup;
+						contentObj.commit = autoCommit;
+					}
+				} );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.textfield.title,
+				title : editor.lang.textfield.title,
+				elements : [
+					{
+						type : 'hbox',
+						widths : [ '50%', '50%' ],
+						children :
+						[
+							{
+								id : '_cke_saved_name',
+								type : 'text',
+								label : editor.lang.textfield.name,
+								'default' : '',
+								accessKey : 'N',
+								setup : function( element )
+								{
+									this.setValue(
+											element.getAttribute( '_cke_saved_name' ) ||
+											element.getAttribute( 'name' ) ||
+											'' );
+								},
+								commit : function( data )
+								{
+									var element = data.element;
+
+									if ( this.getValue() )
+										element.setAttribute( '_cke_saved_name', this.getValue() );
+									else
+									{
+										element.removeAttribute( '_cke_saved_name' );
+										element.removeAttribute( 'name' );
+									}
+								}
+							},
+							{
+								id : 'value',
+								type : 'text',
+								label : editor.lang.textfield.value,
+								'default' : '',
+								accessKey : 'V'
+							}
+						]
+					},
+					{
+						type : 'hbox',
+						widths : [ '50%', '50%' ],
+						children :
+						[
+							{
+								id : 'size',
+								type : 'text',
+								label : editor.lang.textfield.charWidth,
+								'default' : '',
+								accessKey : 'C',
+								style : 'width:50px',
+								validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed )
+							},
+							{
+								id : 'maxLength',
+								type : 'text',
+								label : editor.lang.textfield.maxChars,
+								'default' : '',
+								accessKey : 'M',
+								style : 'width:50px',
+								validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed )
+							}
+						]
+					},
+					{
+						id : 'type',
+						type : 'select',
+						label : editor.lang.textfield.type,
+						'default' : 'text',
+						accessKey : 'M',
+						items :
+						[
+							[ editor.lang.textfield.typeText, 'text' ],
+							[ editor.lang.textfield.typePass, 'password' ]
+						],
+						setup : function( element )
+						{
+							this.setValue( element.getAttribute( 'type' ) );
+						},
+						commit : function( data )
+						{
+							var element = data.element;
+
+							if ( CKEDITOR.env.ie )
+							{
+								var elementType = element.getAttribute( 'type' );
+								var myType = this.getValue();
+
+								if ( elementType != myType )
+								{
+									var replace = CKEDITOR.dom.element.createFromHtml( '<input type="' + myType + '"></input>', editor.document );
+									element.copyAttributes( replace, { type : 1 } );
+									replace.replace( element );
+									editor.getSelection().selectElement( replace );
+									data.element = replace;
+								}
+							}
+							else
+								element.setAttribute( 'type', this.getValue() );
+						}
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/forms/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/forms/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/forms/plugin.js	(revision 4888)
@@ -0,0 +1,217 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Forms Plugin
+ */
+
+CKEDITOR.plugins.add( 'forms',
+{
+	init : function( editor )
+	{
+		var lang = editor.lang;
+
+		editor.addCss(
+			'form' +
+			'{' +
+				'border: 1px dotted #FF0000;' +
+				'padding: 2px;' +
+			'}' );
+
+		// All buttons use the same code to register. So, to avoid
+		// duplications, let's use this tool function.
+		var addButtonCommand = function( buttonName, commandName, dialogFile )
+		{
+			editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );
+
+			editor.ui.addButton( buttonName,
+				{
+					label : lang.common[ buttonName.charAt(0).toLowerCase() + buttonName.slice(1) ],
+					command : commandName
+				});
+			CKEDITOR.dialog.add( commandName, dialogFile );
+		};
+
+		var dialogPath = this.path + 'dialogs/';
+		addButtonCommand( 'Form',			'form',			dialogPath + 'form.js' );
+		addButtonCommand( 'Checkbox',		'checkbox',		dialogPath + 'checkbox.js' );
+		addButtonCommand( 'Radio',			'radio',		dialogPath + 'radio.js' );
+		addButtonCommand( 'TextField',		'textfield',	dialogPath + 'textfield.js' );
+		addButtonCommand( 'Textarea',		'textarea',		dialogPath + 'textarea.js' );
+		addButtonCommand( 'Select',			'select',		dialogPath + 'select.js' );
+		addButtonCommand( 'Button',			'button',		dialogPath + 'button.js' );
+		addButtonCommand( 'ImageButton',	'imagebutton',	CKEDITOR.plugins.getPath('image') + 'dialogs/image.js' );
+		addButtonCommand( 'HiddenField',	'hiddenfield',	dialogPath + 'hiddenfield.js' );
+
+		// If the "menu" plugin is loaded, register the menu items.
+		if ( editor.addMenuItems )
+		{
+			editor.addMenuItems(
+				{
+					form :
+					{
+						label : lang.form.menu,
+						command : 'form',
+						group : 'form'
+					},
+
+					checkbox :
+					{
+						label : lang.checkboxAndRadio.checkboxTitle,
+						command : 'checkbox',
+						group : 'checkbox'
+					},
+
+					radio :
+					{
+						label : lang.checkboxAndRadio.radioTitle,
+						command : 'radio',
+						group : 'radio'
+					},
+
+					textfield :
+					{
+						label : lang.textfield.title,
+						command : 'textfield',
+						group : 'textfield'
+					},
+
+					hiddenfield :
+					{
+						label : lang.hidden.title,
+						command : 'hiddenfield',
+						group : 'hiddenfield'
+					},
+
+					imagebutton :
+					{
+						label : lang.image.titleButton,
+						command : 'imagebutton',
+						group : 'imagebutton'
+					},
+
+					button :
+					{
+						label : lang.button.title,
+						command : 'button',
+						group : 'button'
+					},
+
+					select :
+					{
+						label : lang.select.title,
+						command : 'select',
+						group : 'select'
+					},
+
+					textarea :
+					{
+						label : lang.textarea.title,
+						command : 'textarea',
+						group : 'textarea'
+					}
+				});
+		}
+
+		// If the "contextmenu" plugin is loaded, register the listeners.
+		if ( editor.contextMenu )
+		{
+			editor.contextMenu.addListener( function( element )
+				{
+					if ( element && element.hasAscendant( 'form', true ) )
+						return { form : CKEDITOR.TRISTATE_OFF };
+				});
+
+			editor.contextMenu.addListener( function( element )
+				{
+					if ( element )
+					{
+						var name = element.getName();
+
+						if ( name == 'select' )
+							return { select : CKEDITOR.TRISTATE_OFF };
+
+						if ( name == 'textarea' )
+							return { textarea : CKEDITOR.TRISTATE_OFF };
+
+						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 };
+						}
+
+						if ( name == 'img' && element.getAttribute( '_cke_real_element_type' ) == 'hiddenfield' )
+							return { hiddenfield : CKEDITOR.TRISTATE_OFF };
+					}
+				});
+		}
+	},
+
+	afterInit : function( editor )
+	{
+		// Cleanup certain IE form elements default values.
+		if( CKEDITOR.env.ie )
+		{
+			var dataProcessor = editor.dataProcessor,
+				htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+			htmlFilter && htmlFilter.addRules(
+			{
+				elements :
+				{
+					input : function( input )
+					{
+						var attrs = input.attributes,
+							type = attrs.type;
+						if( type == 'checkbox' || type == 'radio' )
+							attrs.value == 'on' && delete attrs.value;
+					}
+				}
+			} );
+		}
+	},
+	requires : [ 'image' ]
+} );
+
+if ( CKEDITOR.env.ie )
+{
+	CKEDITOR.dom.element.prototype.hasAttribute = function( name )
+	{
+		var $attr = this.$.attributes.getNamedItem( name );
+
+		if ( this.getName() == 'input' )
+		{
+			switch ( name )
+			{
+				case 'class' :
+					return this.$.className.length > 0;
+				case 'checked' :
+					return !!this.$.checked;
+				case 'value' :
+					var type = this.getAttribute( 'type' );
+					if ( type == 'checkbox' || type == 'radio' )
+						return this.$.value != 'on';
+					break;
+				default:
+			}
+		}
+
+		return !!( $attr && $attr.specified );
+	};
+}
Index: CKEditor/branches/features/aria/_source/plugins/horizontalrule/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/horizontalrule/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/horizontalrule/plugin.js	(revision 4888)
@@ -0,0 +1,36 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Rule plugin.
+ */
+
+(function()
+{
+	var horizontalruleCmd =
+	{
+		canUndo : false,    // The undo snapshot will be handled by 'insertElement'.
+		exec : function( editor )
+		{
+			editor.insertElement( editor.document.createElement( 'hr' ) );
+		}
+	};
+
+	var pluginName = 'horizontalrule';
+
+	// Register a plugin named "horizontalrule".
+	CKEDITOR.plugins.add( pluginName,
+	{
+		init : function( editor )
+		{
+			editor.addCommand( pluginName, horizontalruleCmd );
+			editor.ui.addButton( 'HorizontalRule',
+				{
+					label : editor.lang.horizontalrule,
+					command : pluginName
+				});
+		}
+	});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/htmldataprocessor/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/htmldataprocessor/plugin.js	(revision 4888)
@@ -0,0 +1,453 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	// Regex to scan for &nbsp; at the end of blocks, which are actually placeholders.
+	// Safari transforms the &nbsp; to \xa0. (#4172)
+	var tailNbspRegex = /^[\t\r\n ]*(?:&nbsp;|\xa0)$/;
+
+	var protectedSourceMarker = '{cke_protected}';
+
+	// Return the last non-space child node of the block (#4344).
+	function lastNoneSpaceChild( block )
+	{
+		var lastIndex = block.children.length,
+			last = block.children[ lastIndex - 1 ];
+		while(  last && last.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.trim( last.value ) )
+			last = block.children[ --lastIndex ];
+		return last;
+	}
+
+	function trimFillers( block, fromSource )
+	{
+		// If the current node is a block, and if we're converting from source or
+		// we're not in IE then search for and remove any tailing BR node.
+		//
+		// Also, any &nbsp; at the end of blocks are fillers, remove them as well.
+		// (#2886)
+		var children = block.children, lastChild = lastNoneSpaceChild( block );
+		if ( lastChild )
+		{
+			if ( ( fromSource || !CKEDITOR.env.ie ) && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br' )
+				children.pop();
+			if ( lastChild.type == CKEDITOR.NODE_TEXT && tailNbspRegex.test( lastChild.value ) )
+				children.pop();
+		}
+	}
+
+	function blockNeedsExtension( block )
+	{
+		var lastChild = lastNoneSpaceChild( block );
+		return !lastChild || lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br';
+	}
+
+	function extendBlockForDisplay( block )
+	{
+		trimFillers( block, true );
+
+		if ( blockNeedsExtension( block ) )
+		{
+			if ( CKEDITOR.env.ie )
+				block.add( new CKEDITOR.htmlParser.text( '\xa0' ) );
+			else
+				block.add( new CKEDITOR.htmlParser.element( 'br', {} ) );
+		}
+	}
+
+	function extendBlockForOutput( block )
+	{
+		trimFillers( block );
+
+		if ( blockNeedsExtension( block ) )
+			block.add( new CKEDITOR.htmlParser.text( '\xa0' ) );
+	}
+
+	var dtd = CKEDITOR.dtd;
+
+	// Find out the list of block-like tags that can contain <br>.
+	var blockLikeTags = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent );
+	for ( var i in blockLikeTags )
+	{
+		if ( ! ( 'br' in dtd[i] ) )
+			delete blockLikeTags[i];
+	}
+	// We just avoid filler in <pre> right now.
+	// TODO: Support filler for <pre>, line break is also occupy line height.
+	delete blockLikeTags.pre;
+	var defaultDataFilterRules =
+	{
+		attributeNames :
+		[
+			// Event attributes (onXYZ) must not be directly set. They can become
+			// active in the editing area (IE|WebKit).
+			[ ( /^on/ ), '_cke_pa_on' ]
+		]
+	};
+
+	var defaultDataBlockFilterRules = { elements : {} };
+
+	for ( i in blockLikeTags )
+		defaultDataBlockFilterRules.elements[ i ] = extendBlockForDisplay;
+
+	var defaultHtmlFilterRules =
+		{
+			elementNames :
+			[
+				// Remove the "cke:" namespace prefix.
+				[ ( /^cke:/ ), '' ],
+
+				// Ignore <?xml:namespace> tags.
+				[ ( /^\?xml:namespace$/ ), '' ]
+			],
+
+			attributeNames :
+			[
+				// Attributes saved for changes and protected attributes.
+				[ ( /^_cke_(saved|pa)_/ ), '' ],
+
+				// All "_cke" attributes are to be ignored.
+				[ ( /^_cke.*/ ), '' ],
+
+				[ 'hidefocus', '' ]
+			],
+
+			elements :
+			{
+				$ : function( element )
+				{
+					var attribs = element.attributes;
+
+					if ( attribs )
+					{
+						// Elements marked as temporary are to be ignored.
+						if ( attribs.cke_temp )
+							return false;
+
+						// Remove duplicated attributes - #3789.
+						var attributeNames = [ 'name', 'href', 'src' ],
+							savedAttributeName;
+						for ( var i = 0 ; i < attributeNames.length ; i++ )
+						{
+							savedAttributeName = '_cke_saved_' + attributeNames[ i ];
+							savedAttributeName in attribs && ( delete attribs[ attributeNames[ i ] ] );
+						}
+					}
+
+					return element;
+				},
+
+				embed : function( element )
+				{
+					var parent = element.parent;
+
+					// If the <embed> is child of a <object>, copy the width
+					// and height attributes from it.
+					if ( parent && parent.name == 'object' )
+					{
+						var parentWidth = parent.attributes.width,
+							parentHeight = parent.attributes.height;
+						parentWidth && ( element.attributes.width = parentWidth );
+						parentHeight && ( element.attributes.height = parentHeight );
+					}
+				},
+				// Restore param elements into self-closing.
+				param : function( param )
+				{
+					param.children = [];
+					param.isEmpty = true;
+					return param;
+				},
+
+				// Remove empty link but not empty anchor.(#3829)
+				a : function( element )
+				{
+					if ( !( element.children.length ||
+							element.attributes.name ||
+							element.attributes._cke_saved_name ) )
+					{
+						return false;
+					}
+				},
+
+				body : function( element )
+				{
+					delete element.attributes.spellcheck;
+					delete element.attributes.contenteditable;
+				},
+
+				style : function( element )
+				{
+					var child = element.children[ 0 ];
+					child && child.value && ( child.value = CKEDITOR.tools.trim( child.value ));
+
+					if ( !element.attributes.type )
+						element.attributes.type = 'text/css';
+				}
+			},
+
+			attributes :
+			{
+				'class' : function( value, element )
+				{
+					// Remove all class names starting with "cke_".
+					return CKEDITOR.tools.ltrim( value.replace( /(?:^|\s+)cke_[^\s]*/g, '' ) ) || false;
+				}
+			},
+
+			comment : function( contents )
+			{
+				// If this is a comment for protected source.
+				if ( contents.substr( 0, protectedSourceMarker.length ) == protectedSourceMarker )
+				{
+					// Remove the extra marker for real comments from it.
+					if ( contents.substr( protectedSourceMarker.length, 3 ) == '{C}' )
+						contents = contents.substr( protectedSourceMarker.length + 3 );
+					else
+						contents = contents.substr( protectedSourceMarker.length );
+
+					return new CKEDITOR.htmlParser.cdata( decodeURIComponent( contents ) );
+				}
+
+				return contents;
+			}
+		};
+
+	var defaultHtmlBlockFilterRules = { elements : {} };
+
+	for ( i in blockLikeTags )
+		defaultHtmlBlockFilterRules.elements[ i ] = extendBlockForOutput;
+
+	if ( CKEDITOR.env.ie )
+	{
+		// IE outputs style attribute in capital letters. We should convert
+		// them back to lower case.
+		defaultHtmlFilterRules.attributes.style = function( value, element )
+		{
+			return value.toLowerCase();
+		};
+	}
+
+	var protectAttributeRegex = /<(?:a|area|img|input)[\s\S]*?\s((?:href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+)))/gi;
+
+	var protectElementsRegex = /(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,
+		encodedElementsRegex = /<cke:encoded>([^<]*)<\/cke:encoded>/gi;
+
+	var protectElementNamesRegex = /(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,
+		unprotectElementNamesRegex = /(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi;
+
+	var protectSelfClosingRegex = /<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;
+
+	function protectAttributes( html )
+	{
+		return html.replace( protectAttributeRegex, '$& _cke_saved_$1' );
+	}
+
+	function protectElements( html )
+	{
+		return html.replace( protectElementsRegex, function( match )
+			{
+				return '<cke:encoded>' + encodeURIComponent( match ) + '</cke:encoded>';
+			});
+	}
+
+	function unprotectElements( html )
+	{
+		return html.replace( encodedElementsRegex, function( match, encoded )
+			{
+				return decodeURIComponent( encoded );
+			});
+	}
+
+	function protectElementsNames( html )
+	{
+		return html.replace( protectElementNamesRegex, '$1cke:$2');
+	}
+
+	function unprotectElementNames( html )
+	{
+		return html.replace( unprotectElementNamesRegex, '$1$2' );
+	}
+
+	function protectSelfClosingElements( html )
+	{
+		return html.replace( protectSelfClosingRegex, '<cke:$1$2></cke:$1>' );
+	}
+
+	function protectRealComments( html )
+	{
+		return html.replace( /<!--(?!{cke_protected})[\s\S]+?-->/g, function( match )
+			{
+				return '<!--' + protectedSourceMarker +
+						'{C}' +
+						encodeURIComponent( match ).replace( /--/g, '%2D%2D' ) +
+						'-->';
+			});
+	}
+
+	function unprotectRealComments( html )
+	{
+		return html.replace( /<!--\{cke_protected\}\{C\}([\s\S]+?)-->/g, function( match, data )
+			{
+				return decodeURIComponent( data );
+			});
+	}
+
+	function protectSource( data, protectRegexes )
+	{
+		var protectedHtml = [],
+			tempRegex = /<\!--\{cke_temp(comment)?\}(\d*?)-->/g;
+
+		var regexes =
+			[
+				// Script tags will also be forced to be protected, otherwise
+				// IE will execute them.
+				( /<script[\s\S]*?<\/script>/gi ),
+
+				// <noscript> tags (get lost in IE and messed up in FF).
+				/<noscript[\s\S]*?<\/noscript>/gi
+			]
+			.concat( protectRegexes );
+
+		// First of any other protection, we must protect all comments
+		// to avoid loosing them (of course, IE related).
+		// Note that we use a different tag for comments, as we need to
+		// transform them when applying filters.
+		data = data.replace( (/<!--[\s\S]*?-->/g), function( match )
+			{
+				return  '<!--{cke_tempcomment}' + ( protectedHtml.push( match ) - 1 ) + '-->';
+			});
+
+		for ( var i = 0 ; i < regexes.length ; i++ )
+		{
+			data = data.replace( regexes[i], function( match )
+				{
+					match = match.replace( tempRegex, 		// There could be protected source inside another one. (#3869).
+						function( $, isComment, id )
+						{
+							return protectedHtml[ id ];
+						}
+					);
+					return  '<!--{cke_temp}' + ( protectedHtml.push( match ) - 1 ) + '-->';
+				});
+		}
+		data = data.replace( tempRegex,	function( $, isComment, id )
+			{
+				return '<!--' + protectedSourceMarker +
+						( isComment ? '{C}' : '' ) +
+						encodeURIComponent( protectedHtml[ id ] ).replace( /--/g, '%2D%2D' ) +
+						'-->';
+			}
+		);
+		return data;
+	}
+
+	CKEDITOR.plugins.add( 'htmldataprocessor',
+	{
+		requires : [ 'htmlwriter' ],
+
+		init : function( editor )
+		{
+			var dataProcessor = editor.dataProcessor = new CKEDITOR.htmlDataProcessor( editor );
+
+			dataProcessor.writer.forceSimpleAmpersand = editor.config.forceSimpleAmpersand;
+
+			dataProcessor.dataFilter.addRules( defaultDataFilterRules );
+			dataProcessor.dataFilter.addRules( defaultDataBlockFilterRules );
+			dataProcessor.htmlFilter.addRules( defaultHtmlFilterRules );
+			dataProcessor.htmlFilter.addRules( defaultHtmlBlockFilterRules );
+		}
+	});
+
+	CKEDITOR.htmlDataProcessor = function( editor )
+	{
+		this.editor = editor;
+
+		this.writer = new CKEDITOR.htmlWriter();
+		this.dataFilter = new CKEDITOR.htmlParser.filter();
+		this.htmlFilter = new CKEDITOR.htmlParser.filter();
+	};
+
+	CKEDITOR.htmlDataProcessor.prototype =
+	{
+		toHtml : function( data, fixForBody )
+		{
+			// The source data is already HTML, but we need to clean
+			// it up and apply the filter.
+
+			data = protectSource( data, this.editor.config.protectedSource );
+
+			// Before anything, we must protect the URL attributes as the
+			// browser may changing them when setting the innerHTML later in
+			// the code.
+			data = protectAttributes( data );
+
+			// Protect elements than can't be set inside a DIV. E.g. IE removes
+			// style tags from innerHTML. (#3710)
+			data = protectElements( data );
+
+			// Certain elements has problem to go through DOM operation, protect
+			// them by prefixing 'cke' namespace. (#3591)
+			data = protectElementsNames( data );
+
+			// All none-IE browsers ignore self-closed custom elements,
+			// protecting them into open-close. (#3591)
+			data = protectSelfClosingElements( data );
+
+			// Call the browser to help us fixing a possibly invalid HTML
+			// structure.
+			var div = new CKEDITOR.dom.element( 'div' );
+			// Add fake character to workaround IE comments bug. (#3801)
+			div.setHtml( 'a' + data );
+			data = div.getHtml().substr( 1 );
+
+			// Unprotect "some" of the protected elements at this point.
+			data = unprotectElementNames( data );
+
+			data = unprotectElements( data );
+
+			// Restore the comments that have been protected, in this way they
+			// can be properly filtered.
+			data = unprotectRealComments( data );
+
+			// Now use our parser to make further fixes to the structure, as
+			// well as apply the filter.
+			var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data, fixForBody ),
+				writer = new CKEDITOR.htmlParser.basicWriter();
+
+			fragment.writeHtml( writer, this.dataFilter );
+			data = writer.getHtml( true );
+
+			// Protect the real comments again.
+			data = protectRealComments( data );
+
+			return data;
+		},
+
+		toDataFormat : function( html, fixForBody )
+		{
+			var writer = this.writer,
+				fragment = CKEDITOR.htmlParser.fragment.fromHtml( html, fixForBody );
+
+			writer.reset();
+
+			fragment.writeHtml( writer, this.htmlFilter );
+
+			return writer.getHtml( true );
+		}
+	};
+})();
+
+/**
+ * Whether to force using "&" instead of "&amp;amp;" in elements attributes
+ * values. It's not recommended to change this setting for compliance with the
+ * W3C XHTML 1.0 standards
+ * (<a href="http://www.w3.org/TR/xhtml1/#C_12">C.12, XHTML 1.0</a>).
+ * @type Boolean
+ * @default false
+ * @example
+ * config.forceSimpleAmpersand = false;
+ */
+CKEDITOR.config.forceSimpleAmpersand = false;
Index: CKEditor/branches/features/aria/_source/plugins/htmlwriter/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/htmlwriter/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/htmlwriter/plugin.js	(revision 4888)
@@ -0,0 +1,309 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'htmlwriter' );
+
+/**
+ * Class used to write HTML data.
+ * @constructor
+ * @example
+ * var writer = new CKEDITOR.htmlWriter();
+ * writer.openTag( 'p' );
+ * writer.attribute( 'class', 'MyClass' );
+ * writer.openTagClose( 'p' );
+ * writer.text( 'Hello' );
+ * writer.closeTag( 'p' );
+ * alert( writer.getHtml() );  "&lt;p class="MyClass"&gt;Hello&lt;/p&gt;"
+ */
+CKEDITOR.htmlWriter = CKEDITOR.tools.createClass(
+{
+	base : CKEDITOR.htmlParser.basicWriter,
+
+	$ : function()
+	{
+		// Call the base contructor.
+		this.base();
+
+		/**
+		 * The characters to be used for each identation step.
+		 * @type String
+		 * @default "\t" (tab)
+		 * @example
+		 * // Use two spaces for indentation.
+		 * editorInstance.dataProcessor.writer.indentationChars = '  ';
+		 */
+		this.indentationChars = '\t';
+
+		/**
+		 * The characters to be used to close "self-closing" elements, like "br" or
+		 * "img".
+		 * @type String
+		 * @default " /&gt;"
+		 * @example
+		 * // Use HTML4 notation for self-closing elements.
+		 * editorInstance.dataProcessor.writer.selfClosingEnd = '>';
+		 */
+		this.selfClosingEnd = ' />';
+
+		/**
+		 * The characters to be used for line breaks.
+		 * @type String
+		 * @default "\n" (LF)
+		 * @example
+		 * // Use CRLF for line breaks.
+		 * editorInstance.dataProcessor.writer.lineBreakChars = '\r\n';
+		 */
+		this.lineBreakChars = '\n';
+
+		this.forceSimpleAmpersand = false;
+
+		this.sortAttributes = true;
+
+		this._.indent = false;
+		this._.indentation = '';
+		this._.rules = {};
+
+		var dtd = CKEDITOR.dtd;
+
+		for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) )
+		{
+			this.setRules( e,
+				{
+					indent : true,
+					breakBeforeOpen : true,
+					breakAfterOpen : true,
+					breakBeforeClose : !dtd[ e ][ '#' ],
+					breakAfterClose : true
+				});
+		}
+
+		this.setRules( 'br',
+			{
+				breakAfterOpen : true
+			});
+
+		this.setRules( 'title',
+			{
+				indent : false,
+				breakAfterOpen : false
+			});
+
+		this.setRules( 'style',
+			{
+				indent : false,
+				breakBeforeClose : true
+			});
+
+		// Disable indentation on <pre>.
+		this.setRules( 'pre',
+			{
+			  indent: false
+			});
+	},
+
+	proto :
+	{
+		/**
+		 * Writes the tag opening part for a opener tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @param {Object} attributes The attributes defined for this tag. The
+		 *		attributes could be used to inspect the tag.
+		 * @example
+		 * // Writes "&lt;p".
+		 * writer.openTag( 'p', { class : 'MyClass', id : 'MyId' } );
+		 */
+		openTag : function( tagName, attributes )
+		{
+			var rules = this._.rules[ tagName ];
+
+			if ( this._.indent )
+				this.indentation();
+			// Do not break if indenting.
+			else if ( rules && rules.breakBeforeOpen )
+			{
+				this.lineBreak();
+				this.indentation();
+			}
+
+			this._.output.push( '<', tagName );
+		},
+
+		/**
+		 * Writes the tag closing part for a opener tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @param {Boolean} isSelfClose Indicates that this is a self-closing tag,
+		 *		like "br" or "img".
+		 * @example
+		 * // Writes "&gt;".
+		 * writer.openTagClose( 'p', false );
+		 * @example
+		 * // Writes " /&gt;".
+		 * writer.openTagClose( 'br', true );
+		 */
+		openTagClose : function( tagName, isSelfClose )
+		{
+			var rules = this._.rules[ tagName ];
+
+			if ( isSelfClose )
+				this._.output.push( this.selfClosingEnd );
+			else
+			{
+				this._.output.push( '>' );
+
+				if ( rules && rules.indent )
+					this._.indentation += this.indentationChars;
+			}
+
+			if ( rules && rules.breakAfterOpen )
+				this.lineBreak();
+		},
+
+		/**
+		 * Writes an attribute. This function should be called after opening the
+		 * tag with {@link #openTagClose}.
+		 * @param {String} attName The attribute name.
+		 * @param {String} attValue The attribute value.
+		 * @example
+		 * // Writes ' class="MyClass"'.
+		 * writer.attribute( 'class', 'MyClass' );
+		 */
+		attribute : function( attName, attValue )
+		{
+			if ( this.forceSimpleAmpersand )
+				attValue = attValue.replace( /&amp;/, '&' );
+
+			this._.output.push( ' ', attName, '="', attValue, '"' );
+		},
+
+		/**
+		 * Writes a closer tag.
+		 * @param {String} tagName The element name for this tag.
+		 * @example
+		 * // Writes "&lt;/p&gt;".
+		 * writer.closeTag( 'p' );
+		 */
+		closeTag : function( tagName )
+		{
+			var rules = this._.rules[ tagName ];
+
+			if ( rules && rules.indent )
+				this._.indentation = this._.indentation.substr( this.indentationChars.length );
+
+			if ( this._.indent )
+				this.indentation();
+			// Do not break if indenting.
+			else if ( rules && rules.breakBeforeClose )
+			{
+				this.lineBreak();
+				this.indentation();
+			}
+
+			this._.output.push( '</', tagName, '>' );
+
+			if ( rules && rules.breakAfterClose )
+				this.lineBreak();
+		},
+
+		/**
+		 * Writes text.
+		 * @param {String} text The text value
+		 * @example
+		 * // Writes "Hello Word".
+		 * writer.text( 'Hello Word' );
+		 */
+		text : function( text )
+		{
+			if ( this._.indent )
+			{
+				this.indentation();
+				text = CKEDITOR.tools.ltrim( text );
+			}
+
+			this._.output.push( text );
+		},
+
+		/**
+		 * Writes a comment.
+		 * @param {String} comment The comment text.
+		 * @example
+		 * // Writes "&lt;!-- My comment --&gt;".
+		 * writer.comment( ' My comment ' );
+		 */
+		comment : function( comment )
+		{
+			if ( this._.indent )
+				this.indentation();
+
+			this._.output.push( '<!--', comment, '-->' );
+		},
+
+		/**
+		 * Writes a line break. It uses the {@link #lineBreakChars} property for it.
+		 * @example
+		 * // Writes "\n" (e.g.).
+		 * writer.lineBreak();
+		 */
+		lineBreak : function()
+		{
+			if ( this._.output.length > 0 )
+				this._.output.push( this.lineBreakChars );
+			this._.indent = true;
+		},
+
+		/**
+		 * Writes the current indentation chars. It uses the
+		 * {@link #indentationChars} property, repeating it for the current
+		 * indentation steps.
+		 * @example
+		 * // Writes "\t" (e.g.).
+		 * writer.indentation();
+		 */
+		indentation : function()
+		{
+			this._.output.push( this._.indentation );
+			this._.indent = false;
+		},
+
+		/**
+		 * Sets formatting rules for a give element. The possible rules are:
+		 * <ul>
+		 *	<li><b>indent</b>: indent the element contents.</li>
+		 *	<li><b>breakBeforeOpen</b>: break line before the opener tag for this element.</li>
+		 *	<li><b>breakAfterOpen</b>: break line after the opener tag for this element.</li>
+		 *	<li><b>breakBeforeClose</b>: break line before the closer tag for this element.</li>
+		 *	<li><b>breakAfterClose</b>: break line after the closer tag for this element.</li>
+		 * </ul>
+		 *
+		 * All rules default to "false". Each call to the function overrides
+		 * already present rules, leaving the undefined untouched.
+		 *
+		 * By default, all elements available in the {@link CKEDITOR.dtd.$block),
+		 * {@link CKEDITOR.dtd.$listItem} and {@link CKEDITOR.dtd.$tableContent}
+		 * lists have all the above rules set to "true". Additionaly, the "br"
+		 * element has the "breakAfterOpen" set to "true".
+		 * @param {String} tagName The element name to which set the rules.
+		 * @param {Object} rules An object containing the element rules.
+		 * @example
+		 * // Break line before and after "img" tags.
+		 * writer.setRules( 'img',
+		 *     {
+		 *         breakBeforeOpen : true
+		 *         breakAfterOpen : true
+		 *     });
+		 * @example
+		 * // Reset the rules for the "h1" tag.
+		 * writer.setRules( 'h1', {} );
+		 */
+		setRules : function( tagName, rules )
+		{
+			var currentRules = this._.rules[ tagName ];
+
+			if ( currentRules )
+				CKEDITOR.tools.extend( currentRules, rules, true );
+			else
+				this._.rules[ tagName ] = rules;
+		}
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/iframedialog/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/iframedialog/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/iframedialog/plugin.js	(revision 4888)
@@ -0,0 +1,136 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Plugin for making iframe based dialogs.
+ */
+
+CKEDITOR.plugins.add( 'iframedialog',
+{
+	requires : [ 'dialog' ],
+	onLoad : function()
+	{
+		CKEDITOR.dialog.addIframe = function( name, title, src, width, height, onContentLoad )
+		{
+			var element =
+			{
+				type : 'iframe',
+				src : src,
+				width : '100%',
+				height : '100%'
+			};
+
+			if ( typeof( onContentLoad ) == 'function' )
+				element.onContentLoad = onContentLoad;
+
+			var definition =
+			{
+				title : title,
+				minWidth : width,
+				minHeight : height,
+				contents :
+				[
+					{
+						id : 'iframe',
+						label : title,
+						expand : true,
+						elements : [ element ]
+					}
+				]
+			};
+
+			return this.add( name, function(){ return definition; } );
+		};
+
+		(function()
+		{
+			/**
+			 * An iframe element.
+			 * @extends CKEDITOR.ui.dialog.uiElement
+			 * @example
+			 * @constructor
+			 * @param {CKEDITOR.dialog} dialog
+			 * Parent dialog object.
+			 * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+			 * The element definition. Accepted fields:
+			 * <ul>
+			 * 	<li><strong>src</strong> (Required) The src field of the iframe. </li>
+			 * 	<li><strong>width</strong> (Required) The iframe's width.</li>
+			 * 	<li><strong>height</strong> (Required) The iframe's height.</li>
+			 * 	<li><strong>onContentLoad</strong> (Optional) A function to be executed
+			 * 	after the iframe's contents has finished loading.</li>
+			 * </ul>
+			 * @param {Array} htmlList
+			 * List of HTML code to output to.
+			 */
+			var iframeElement = function( dialog, elementDefinition, htmlList )
+			{
+				if ( arguments.length < 3 )
+					return;
+
+				var _ = ( this._ || ( this._ = {} ) ),
+					contentLoad = elementDefinition.onContentLoad && CKEDITOR.tools.bind( elementDefinition.onContentLoad, this ),
+					cssWidth = CKEDITOR.tools.cssLength( elementDefinition.width ),
+					cssHeight = CKEDITOR.tools.cssLength( elementDefinition.height );
+				_.frameId = CKEDITOR.tools.getNextNumber() + '_iframe';
+
+				// IE BUG: Parent container does not resize to contain the iframe automatically.
+				dialog.on( 'load', function()
+					{
+						var iframe = CKEDITOR.document.getById( _.frameId ),
+							parentContainer = iframe.getParent();
+
+						parentContainer.setStyles(
+							{
+								width : cssWidth,
+								height : cssHeight
+							} );
+					} );
+
+				var attributes =
+				{
+					src : '%2',
+					id : _.frameId,
+					frameborder : 0,
+					allowtransparency : true
+				};
+				var myHtml = [];
+
+				if ( typeof( elementDefinition.onContentLoad ) == 'function' )
+					attributes.onload = 'CKEDITOR.tools.callFunction(%1);';
+
+				CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtml, 'iframe',
+						{
+							width : cssWidth,
+							height : cssHeight
+						}, attributes, '' );
+
+				// Put a placeholder for the first time.
+				htmlList.push( '<div style="width:' + cssWidth + ';height:' + cssHeight + ';" id="' + this.domId + '"></div>' );
+
+				// Iframe elements should be refreshed whenever it is shown.
+				myHtml = myHtml.join( '' );
+				dialog.on( 'show', function()
+					{
+						var iframe = CKEDITOR.document.getById( _.frameId ),
+							parentContainer = iframe.getParent(),
+							callIndex = CKEDITOR.tools.addFunction( contentLoad ),
+							html = myHtml.replace( '%1', callIndex ).replace( '%2', CKEDITOR.tools.htmlEncode( elementDefinition.src ) );
+						parentContainer.setHtml( html );
+					} );
+			};
+
+			iframeElement.prototype = new CKEDITOR.ui.dialog.uiElement;
+
+			CKEDITOR.dialog.addUIElement( 'iframe',
+				{
+					build : function( dialog, elementDefinition, output )
+					{
+						return new iframeElement( dialog, elementDefinition, output );
+					}
+				} );
+		})();
+	}
+} );
Index: CKEditor/branches/features/aria/_source/plugins/image/dialogs/image.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/image/dialogs/image.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/image/dialogs/image.js	(revision 4888)
@@ -0,0 +1,1379 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	// Load image preview.
+	var IMAGE = 1,
+		LINK = 2,
+		PREVIEW = 4,
+		CLEANUP = 8,
+		regexGetSize = /^\s*(\d+)((px)|\%)?\s*$/i,
+		regexGetSizeOrEmpty = /(^\s*(\d+)((px)|\%)?\s*$)|^$/i,
+		pxLengthRegex = /^\d+px$/;
+
+	var onSizeChange = function()
+	{
+		var value = this.getValue(),	// This = input element.
+			dialog = this.getDialog(),
+			aMatch  =  value.match( regexGetSize );	// Check value
+		if ( aMatch )
+		{
+			if ( aMatch[2] == '%' )			// % is allowed - > unlock ratio.
+				switchLockRatio( dialog, false );	// Unlock.
+			value = aMatch[1];
+		}
+
+		// Only if ratio is locked
+		if ( dialog.lockRatio )
+		{
+			var oImageOriginal = dialog.originalElement;
+			if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+			{
+				if ( this.id == 'txtHeight' )
+				{
+					if ( value && value != '0' )
+						value = Math.round( oImageOriginal.$.width * ( value  / oImageOriginal.$.height ) );
+					if ( !isNaN( value ) )
+						dialog.setValueOf( 'info', 'txtWidth', value );
+				}
+				else		//this.id = txtWidth.
+				{
+					if ( value && value != '0' )
+						value = Math.round( oImageOriginal.$.height * ( value  / oImageOriginal.$.width ) );
+					if ( !isNaN( value ) )
+						dialog.setValueOf( 'info', 'txtHeight', value );
+				}
+			}
+		}
+		updatePreview( dialog );
+	};
+
+	var updatePreview = function( dialog )
+	{
+		//Don't load before onShow.
+		if ( !dialog.originalElement || !dialog.preview )
+			return 1;
+
+		// Read attributes and update imagePreview;
+		dialog.commitContent( PREVIEW, dialog.preview );
+		return 0;
+	};
+
+	// Custom commit dialog logic, where we're intended to give inline style
+	// field (txtdlgGenStyle) higher priority to avoid overwriting styles contribute
+	// by other fields.
+	function commitContent()
+	{
+		var args = arguments;
+		var inlineStyleField = this.getContentElement( 'advanced', 'txtdlgGenStyle' );
+		inlineStyleField && inlineStyleField.commit.apply( inlineStyleField, args );
+
+		this.foreach( function( widget )
+		{
+			if ( widget.commit &&  widget.id != 'txtdlgGenStyle' )
+				widget.commit.apply( widget, args );
+		});
+	}
+
+	// Avoid recursions.
+	var incommit;
+
+	// Synchronous field values to other impacted fields is required, e.g. border
+	// size change should alter inline-style text as well.
+	function commitInternally( targetFields )
+	{
+		if( incommit )
+			return;
+
+		incommit = 1;
+
+		var dialog = this.getDialog(),
+			element = dialog.imageElement;
+		if( element )
+		{
+			// Commit this field and broadcast to target fields.
+			this.commit( IMAGE, element );
+
+			targetFields = [].concat( targetFields );
+			var length = targetFields.length,
+				field;
+			for ( var i = 0; i < length; i++ )
+			{
+				field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) );
+				// May cause recursion.
+				field && field.setup( IMAGE, element );
+			}
+		}
+
+		incommit = 0;
+	}
+
+	var switchLockRatio = function( dialog, value )
+	{
+		var oImageOriginal = dialog.originalElement,
+			ratioButton = CKEDITOR.document.getById( 'btnLockSizes' );
+
+		if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+		{
+			if ( value == 'check' )			// Check image ratio and original image ratio.
+			{
+				var width = dialog.getValueOf( 'info', 'txtWidth' ),
+					height = dialog.getValueOf( 'info', 'txtHeight' ),
+					originalRatio = oImageOriginal.$.width * 1000 / oImageOriginal.$.height,
+					thisRatio = width * 1000 / height;
+				dialog.lockRatio  = false;		// Default: unlock ratio
+
+				if ( !width && !height )
+					dialog.lockRatio = true;
+				else if ( !isNaN( originalRatio ) && !isNaN( thisRatio ) )
+				{
+					if ( Math.round( originalRatio ) == Math.round( thisRatio ) )
+						dialog.lockRatio = true;
+				}
+			}
+			else if ( value != undefined )
+				dialog.lockRatio = value;
+			else
+				dialog.lockRatio = !dialog.lockRatio;
+		}
+		else if ( value != 'check' )		// I can't lock ratio if ratio is unknown.
+			dialog.lockRatio = false;
+
+		if ( dialog.lockRatio )
+			ratioButton.removeClass( 'cke_btn_unlocked' );
+		else
+			ratioButton.addClass( 'cke_btn_unlocked' );
+
+		return dialog.lockRatio;
+	};
+
+	var resetSize = function( dialog )
+	{
+		var oImageOriginal = dialog.originalElement;
+		if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+		{
+			dialog.setValueOf( 'info', 'txtWidth', oImageOriginal.$.width );
+			dialog.setValueOf( 'info', 'txtHeight', oImageOriginal.$.height );
+		}
+		updatePreview( dialog );
+	};
+
+	var setupDimension = function( type, element )
+	{
+		if ( type != IMAGE )
+			return;
+
+		function checkDimension( size, defaultValue )
+		{
+			var aMatch  =  size.match( regexGetSize );
+			if ( aMatch )
+			{
+				if ( aMatch[2] == '%' )				// % is allowed.
+				{
+					aMatch[1] += '%';
+					switchLockRatio( dialog, false );	// Unlock ratio
+				}
+				return aMatch[1];
+			}
+			return defaultValue;
+		}
+
+		var dialog = this.getDialog(),
+			value = '',
+			dimension = (( this.id == 'txtWidth' )? 'width' : 'height' ),
+			size = element.getAttribute( dimension );
+
+		if ( size )
+			value = checkDimension( size, value );
+		value = checkDimension( element.getStyle( dimension ), value );
+
+		this.setValue( value );
+	};
+
+	var imageDialog = function( editor, dialogType )
+	{
+		var previewPreloader;
+
+		var onImgLoadEvent = function()
+		{
+			// Image is ready.
+			var original = this.originalElement;
+			original.setCustomData( 'isReady', 'true' );
+			original.removeListener( 'load', onImgLoadEvent );
+			original.removeListener( 'error', onImgLoadErrorEvent );
+			original.removeListener( 'abort', onImgLoadErrorEvent );
+
+			// Hide loader
+			CKEDITOR.document.getById( 'ImagePreviewLoader' ).setStyle( 'display', 'none' );
+
+			// New image -> new domensions
+			if ( !this.dontResetSize )
+				resetSize( this );
+
+			if ( this.firstLoad )
+				CKEDITOR.tools.setTimeout( function(){ switchLockRatio( this, 'check' ); }, 0, this );
+
+			this.firstLoad = false;
+			this.dontResetSize = false;
+		};
+
+		var onImgLoadErrorEvent = function()
+		{
+			// Error. Image is not loaded.
+			var original = this.originalElement;
+			original.removeListener( 'load', onImgLoadEvent );
+			original.removeListener( 'error', onImgLoadErrorEvent );
+			original.removeListener( 'abort', onImgLoadErrorEvent );
+
+			// Set Error image.
+			var noimage = CKEDITOR.getUrl( editor.skinPath + 'images/noimage.png' );
+
+			if ( this.preview )
+				this.preview.setAttribute( 'src', noimage );
+
+			// Hide loader
+			CKEDITOR.document.getById( 'ImagePreviewLoader' ).setStyle( 'display', 'none' );
+			switchLockRatio( this, false );	// Unlock.
+		};
+		return {
+			title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton,
+			minWidth : 420,
+			minHeight : 310,
+			onShow : function()
+			{
+				this.imageElement = false;
+				this.linkElement = false;
+
+				// Default: create a new element.
+				this.imageEditMode = false;
+				this.linkEditMode = false;
+
+				this.lockRatio = true;
+				this.dontResetSize = false;
+				this.firstLoad = true;
+				this.addLink = false;
+
+				var editor = this.getParentEditor(),
+					sel = this.getParentEditor().getSelection(),
+					element = sel.getSelectedElement(),
+					link = element && element.getAscendant( 'a' );
+
+				//Hide loader.
+				CKEDITOR.document.getById( 'ImagePreviewLoader' ).setStyle( 'display', 'none' );
+				// Create the preview before setup the dialog contents.
+				previewPreloader = new CKEDITOR.dom.element( 'img', editor.document );
+				this.preview = CKEDITOR.document.getById( 'previewImage' );
+
+				// Copy of the image
+				this.originalElement = editor.document.createElement( 'img' );
+				this.originalElement.setAttribute( 'alt', '' );
+				this.originalElement.setCustomData( 'isReady', 'false' );
+
+				if ( link )
+				{
+					this.linkElement = link;
+					this.linkEditMode = true;
+
+					// Look for Image element.
+					var linkChildren = link.getChildren();
+					if ( linkChildren.count() == 1 )			// 1 child.
+					{
+						var childTagName = linkChildren.getItem( 0 ).getName();
+						if ( childTagName == 'img' || childTagName == 'input' )
+						{
+							this.imageElement = linkChildren.getItem( 0 );
+							if ( this.imageElement.getName() == 'img' )
+								this.imageEditMode = 'img';
+							else if ( this.imageElement.getName() == 'input' )
+								this.imageEditMode = 'input';
+						}
+					}
+					// Fill out all fields.
+					if ( dialogType == 'image' )
+						this.setupContent( LINK, link );
+				}
+
+				if ( element && element.getName() == 'img' && !element.getAttribute( '_cke_realelement' )
+					|| element && element.getName() == 'input' && element.getAttribute( 'type' ) == 'image' )
+				{
+					this.imageEditMode = element.getName();
+					this.imageElement = element;
+				}
+
+				if ( this.imageEditMode )
+				{
+					// Use the original element as a buffer from  since we don't want
+					// temporary changes to be committed, e.g. if the dialog is canceled.
+					this.cleanImageElement = this.imageElement;
+					this.imageElement = this.cleanImageElement.clone( true, true );
+
+					// Fill out all fields.
+					this.setupContent( IMAGE, this.imageElement );
+
+					// Refresh LockRatio button
+					switchLockRatio ( this, true );
+				}
+				else
+					this.imageElement =  editor.document.createElement( 'img' );
+
+				// Dont show preview if no URL given.
+				if ( !CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtUrl' ) ) )
+				{
+					this.preview.removeAttribute( 'src' );
+					this.preview.setStyle( 'display', 'none' );
+				}
+			},
+			onOk : function()
+			{
+				// Edit existing Image.
+				if ( this.imageEditMode )
+				{
+					var imgTagName = this.imageEditMode;
+
+					// Image dialog and Input element.
+					if ( dialogType == 'image' && imgTagName == 'input' && confirm( editor.lang.image.button2Img ) )
+					{
+						// Replace INPUT-> IMG
+						imgTagName = 'img';
+						this.imageElement = editor.document.createElement( 'img' );
+						this.imageElement.setAttribute( 'alt', '' );
+						editor.insertElement( this.imageElement );
+					}
+					// ImageButton dialog and Image element.
+					else if ( dialogType != 'image' && imgTagName == 'img' && confirm( editor.lang.image.img2Button ))
+					{
+						// Replace IMG -> INPUT
+						imgTagName = 'input';
+						this.imageElement = editor.document.createElement( 'input' );
+						this.imageElement.setAttributes(
+							{
+								type : 'image',
+								alt : ''
+							}
+						);
+						editor.insertElement( this.imageElement );
+					}
+					else
+					{
+						// Restore the original element before all commits.
+						this.imageElement = this.cleanImageElement;
+						delete this.cleanImageElement;
+					}
+				}
+				else	// Create a new image.
+				{
+					// Image dialog -> create IMG element.
+					if ( dialogType == 'image' )
+						this.imageElement = editor.document.createElement( 'img' );
+					else
+					{
+						this.imageElement = editor.document.createElement( 'input' );
+						this.imageElement.setAttribute ( 'type' ,'image' );
+					}
+					this.imageElement.setAttribute( 'alt', '' );
+				}
+
+				// Create a new link.
+				if ( !this.linkEditMode )
+					this.linkElement = editor.document.createElement( 'a' );
+
+				// Set attributes.
+				this.commitContent( IMAGE, this.imageElement );
+				this.commitContent( LINK, this.linkElement );
+
+				// Remove empty style attribute.
+				if( !this.imageElement.getAttribute( 'style' ) )
+					this.imageElement.removeAttribute( 'style' );
+
+				// Insert a new Image.
+				if ( !this.imageEditMode )
+				{
+					if ( this.addLink )
+					{
+						//Insert a new Link.
+						if ( !this.linkEditMode )
+						{
+							editor.insertElement(this.linkElement);
+							this.linkElement.append(this.imageElement, false);
+						}
+						else	 //Link already exists, image not.
+							editor.insertElement(this.imageElement );
+					}
+					else
+						editor.insertElement( this.imageElement );
+				}
+				else		// Image already exists.
+				{
+					//Add a new link element.
+					if ( !this.linkEditMode && this.addLink )
+					{
+						editor.insertElement( this.linkElement );
+						this.imageElement.appendTo( this.linkElement );
+					}
+					//Remove Link, Image exists.
+					else if ( this.linkEditMode && !this.addLink )
+					{
+						editor.getSelection().selectElement( this.linkElement );
+						editor.insertElement( this.imageElement );
+					}
+				}
+			},
+			onLoad : function()
+			{
+				if ( dialogType != 'image' )
+					this.hidePage( 'Link' );		//Hide Link tab.
+				var doc = this._.element.getDocument();
+				this.addFocusable( doc.getById( 'btnResetSize' ), 5 );
+				this.addFocusable( doc.getById( 'btnLockSizes' ), 5 );
+
+				this.commitContent = commitContent;
+			},
+			onHide : function()
+			{
+				if ( this.preview )
+					this.commitContent( CLEANUP, this.preview );
+
+				if ( this.originalElement )
+				{
+					this.originalElement.removeListener( 'load', onImgLoadEvent );
+					this.originalElement.removeListener( 'error', onImgLoadErrorEvent );
+					this.originalElement.removeListener( 'abort', onImgLoadErrorEvent );
+					this.originalElement.remove();
+					this.originalElement = false;		// Dialog is closed.
+				}
+
+				delete this.imageElement;
+			},
+			contents : [
+				{
+					id : 'info',
+					label : editor.lang.image.infoTab,
+					accessKey : 'I',
+					elements :
+					[
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'html',
+									html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.image.url ) + '</span>'
+								},
+								{
+									type : 'hbox',
+									widths : [ '280px', '110px' ],
+									align : 'right',
+									children :
+									[
+										{
+											id : 'txtUrl',
+											type : 'text',
+											label : '',
+											onChange : function()
+											{
+												var dialog = this.getDialog(),
+													newUrl = this.getValue();
+
+												//Update original image
+												if ( newUrl.length > 0 )	//Prevent from load before onShow
+												{
+													dialog = this.getDialog();
+													var original = dialog.originalElement;
+
+													dialog.preview.removeStyle( 'display' );
+
+													original.setCustomData( 'isReady', 'false' );
+													// Show loader
+													var loader = CKEDITOR.document.getById( 'ImagePreviewLoader' );
+													if ( loader )
+														loader.setStyle( 'display', '' );
+
+													original.on( 'load', onImgLoadEvent, dialog );
+													original.on( 'error', onImgLoadErrorEvent, dialog );
+													original.on( 'abort', onImgLoadErrorEvent, dialog );
+													original.setAttribute( 'src', newUrl );
+
+													// Query the preloader to figure out the url impacted by based href.
+													previewPreloader.setAttribute( 'src', newUrl );
+													dialog.preview.setAttribute( 'src', previewPreloader.$.src );
+													updatePreview( dialog );
+												}
+												// Dont show preview if no URL given.
+												else if ( dialog.preview )
+												{
+													dialog.preview.removeAttribute( 'src' );
+													dialog.preview.setStyle( 'display', 'none' );
+												}
+											},
+											setup : function( type, element )
+											{
+												if ( type == IMAGE )
+												{
+													var url = element.getAttribute( '_cke_saved_src' ) || element.getAttribute( 'src' );
+													var field = this;
+
+													this.getDialog().dontResetSize = true;
+
+													field.setValue( url );		// And call this.onChange()
+													// Manually set the initial value.(#4191)
+													field.setInitValue();
+													field.focus();
+												}
+											},
+											commit : function( type, element )
+											{
+												if ( type == IMAGE && ( this.getValue() || this.isChanged() ) )
+												{
+													element.setAttribute( '_cke_saved_src', decodeURI( this.getValue() ) );
+													element.setAttribute( 'src', decodeURI( this.getValue() ) );
+												}
+												else if ( type == CLEANUP )
+												{
+													element.setAttribute( 'src', '' );	// If removeAttribute doesn't work.
+													element.removeAttribute( 'src' );
+												}
+											},
+											validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.image.urlMissing )
+										},
+										{
+											type : 'button',
+											id : 'browse',
+											align : 'center',
+											label : editor.lang.common.browseServer,
+											hidden : true,
+											filebrowser : 'info:txtUrl'
+										}
+									]
+								}
+							]
+						},
+						{
+							id : 'txtAlt',
+							type : 'text',
+							label : editor.lang.image.alt,
+							accessKey : 'A',
+							'default' : '',
+							onChange : function()
+							{
+								updatePreview( this.getDialog() );
+							},
+							setup : function( type, element )
+							{
+								if ( type == IMAGE )
+									this.setValue( element.getAttribute( 'alt' ) );
+							},
+							commit : function( type, element )
+							{
+								if ( type == IMAGE )
+								{
+									if ( this.getValue() || this.isChanged() )
+										element.setAttribute( 'alt', this.getValue() );
+								}
+								else if ( type == PREVIEW )
+								{
+									element.setAttribute( 'alt', this.getValue() );
+								}
+								else if ( type == CLEANUP )
+								{
+									element.removeAttribute( 'alt' );
+								}
+							}
+						},
+						{
+							type : 'hbox',
+							widths : [ '140px', '240px' ],
+							children :
+							[
+								{
+									type : 'vbox',
+									padding : 10,
+									children :
+									[
+										{
+											type : 'hbox',
+											widths : [ '70%', '30%' ],
+											children :
+											[
+												{
+													type : 'vbox',
+													padding : 1,
+													children :
+													[
+														{
+															type : 'text',
+															width: '40px',
+															id : 'txtWidth',
+															labelLayout : 'horizontal',
+															label : editor.lang.image.width,
+															onKeyUp : onSizeChange,
+															onChange : function()
+															{
+																commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+															},
+															validate: function()
+															{
+																var aMatch  =  this.getValue().match( regexGetSizeOrEmpty );
+																if ( !aMatch )
+																	alert( editor.lang.common.validateNumberFailed );
+																return !!aMatch;
+															},
+															setup : setupDimension,
+															commit : function( type, element, internalCommit )
+															{
+																var value = this.getValue();
+																if ( type == IMAGE )
+																{
+																	if ( value )
+																		element.setStyle( 'width', CKEDITOR.tools.cssLength( value ) );
+																	else if ( !value && this.isChanged( ) )
+																		element.removeStyle( 'width' );
+
+																	!internalCommit && element.removeAttribute( 'width' );
+																}
+																else if ( type == PREVIEW )
+																{
+																	var aMatch = value.match( regexGetSize );
+																	if ( !aMatch )
+																	{
+																		var oImageOriginal = this.getDialog().originalElement;
+																		if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+																			element.setStyle( 'width',  oImageOriginal.$.width + 'px');
+																	}
+																	else
+																		element.setStyle( 'width', value + 'px');
+																}
+																else if ( type == CLEANUP )
+																{
+																	element.removeAttribute( 'width' );
+																	element.removeStyle( 'width' );
+																}
+															}
+														},
+														{
+															type : 'text',
+															id : 'txtHeight',
+															width: '40px',
+															labelLayout : 'horizontal',
+															label : editor.lang.image.height,
+															onKeyUp : onSizeChange,
+															onChange : function()
+															{
+																commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+															},
+															validate: function()
+															{
+																var aMatch = this.getValue().match( regexGetSizeOrEmpty );
+																if ( !aMatch )
+																	alert( editor.lang.common.validateNumberFailed );
+																return !!aMatch;
+															},
+															setup : setupDimension,
+															commit : function( type, element, internalCommit )
+															{
+																var value = this.getValue();
+																if ( type == IMAGE )
+																{
+																	if ( value )
+																		element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) );
+																	else if ( !value && this.isChanged( ) )
+																		element.removeStyle( 'height' );
+
+																	if( !internalCommit && type == IMAGE )
+																		element.removeAttribute( 'height' );
+																}
+																else if ( type == PREVIEW )
+																{
+																	var aMatch = value.match( regexGetSize );
+																	if ( !aMatch )
+																	{
+																		var oImageOriginal = this.getDialog().originalElement;
+																		if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+																			element.setStyle( 'height', oImageOriginal.$.height + 'px' );
+																	}
+																	else
+																		element.setStyle( 'height', value + 'px' );
+																}
+																else if ( type == CLEANUP )
+																{
+																	element.removeAttribute( 'height' );
+																	element.removeStyle( 'height' );
+																}
+															}
+														}
+													]
+												},
+												{
+													type : 'html',
+													style : 'margin-top:10px;width:40px;height:40px;',
+													onLoad : function()
+													{
+														// Activate Reset button
+														var	resetButton = CKEDITOR.document.getById( 'btnResetSize' ),
+															ratioButton = CKEDITOR.document.getById( 'btnLockSizes' );
+														if ( resetButton )
+														{
+															resetButton.on( 'click', function()
+																{
+																	resetSize( this );
+																}, this.getDialog() );
+															resetButton.on( 'mouseover', function()
+																{
+																	this.addClass( 'cke_btn_over' );
+																}, resetButton );
+															resetButton.on( 'mouseout', function()
+																{
+																	this.removeClass( 'cke_btn_over' );
+																}, resetButton );
+														}
+														// Activate (Un)LockRatio button
+														if ( ratioButton )
+														{
+															ratioButton.on( 'click', function()
+																{
+																	var locked = switchLockRatio( this ),
+																		oImageOriginal = this.originalElement,
+																		width = this.getValueOf( 'info', 'txtWidth' );
+
+																	if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' && width )
+																	{
+																		var height = oImageOriginal.$.height / oImageOriginal.$.width * width;
+																		if ( !isNaN( height ) )
+																		{
+																			this.setValueOf( 'info', 'txtHeight', Math.round( height ) );
+																			updatePreview( this );
+																		}
+																	}
+																}, this.getDialog() );
+															ratioButton.on( 'mouseover', function()
+																{
+																	this.addClass( 'cke_btn_over' );
+																}, ratioButton );
+															ratioButton.on( 'mouseout', function()
+																{
+																	this.removeClass( 'cke_btn_over' );
+																}, ratioButton );
+														}
+													},
+													html : '<div>'+
+														'<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.lockRatio +
+														'" class="cke_btn_locked" id="btnLockSizes"></a>' +
+														'<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.resetSize +
+														'" class="cke_btn_reset" id="btnResetSize"></a>'+
+														'</div>'
+												}
+											]
+										},
+										{
+											type : 'vbox',
+											padding : 1,
+											children :
+											[
+												{
+													type : 'text',
+													id : 'txtBorder',
+													width: '60px',
+													labelLayout : 'horizontal',
+													label : editor.lang.image.border,
+													'default' : '',
+													onKeyUp : function()
+													{
+														updatePreview( this.getDialog() );
+													},
+													onChange : function()
+													{
+														commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+													},
+													validate: function()
+													{
+														var func = CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed );
+														return func.apply( this );
+													},
+													setup : function( type, element )
+													{
+														if ( type == IMAGE )
+														{
+															var value,
+																borderStyle = element.getStyle( 'border-width' );
+
+															borderStyle = borderStyle && borderStyle.match( /^(\d+px)(?: \1 \1 \1)?$/ );
+															value = borderStyle && parseInt( borderStyle[ 1 ], 10 );
+															!value && ( value = element.getAttribute( 'border' ) );
+
+															this.setValue( value );
+														}
+													},
+													commit : function( type, element, internalCommit )
+													{
+														var value = parseInt( this.getValue(), 10 );
+														if ( type == IMAGE || type == PREVIEW )
+														{
+															if ( value )
+															{
+																element.setStyle( 'border-width', CKEDITOR.tools.cssLength( value ) );
+																element.setStyle( 'border-style', 'solid' );
+															}
+															else if ( !value && this.isChanged() )
+															{
+																element.removeStyle( 'border-width' );
+																element.removeStyle( 'border-style' );
+																element.removeStyle( 'border-color' );
+															}
+
+															if( !internalCommit && type == IMAGE )
+																element.removeAttribute( 'border' );
+														}
+														else if ( type == CLEANUP )
+														{
+															element.removeAttribute( 'border' );
+															element.removeStyle( 'border-width' );
+															element.removeStyle( 'border-style' );
+															element.removeStyle( 'border-color' );
+														}
+													}
+												},
+												{
+													type : 'text',
+													id : 'txtHSpace',
+													width: '60px',
+													labelLayout : 'horizontal',
+													label : editor.lang.image.hSpace,
+													'default' : '',
+													onKeyUp : function()
+													{
+														updatePreview( this.getDialog() );
+													},
+													onChange : function()
+													{
+														commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+													},
+													validate: function()
+													{
+														var func = CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed );
+														return func.apply( this );
+													},
+													setup : function( type, element )
+													{
+														if ( type == IMAGE )
+														{
+															var value,
+																marginLeftPx,
+																marginRightPx,
+																marginLeftStyle = element.getStyle( 'margin-left' ),
+																marginRightStyle = element.getStyle( 'margin-right' );
+
+															marginLeftStyle = marginLeftStyle && marginLeftStyle.match( pxLengthRegex );
+															marginRightStyle = marginRightStyle && marginRightStyle.match( pxLengthRegex );
+															marginLeftPx = parseInt( marginLeftStyle, 10 );
+															marginRightPx = parseInt( marginRightStyle, 10 );
+
+															value = ( marginLeftPx == marginRightPx ) && marginLeftPx;
+															!value && ( value = element.getAttribute( 'hspace' ) );
+
+															this.setValue( value );
+														}
+													},
+													commit : function( type, element, internalCommit )
+													{
+														var value = parseInt( this.getValue(), 10 );
+														if ( type == IMAGE || type == PREVIEW )
+														{
+															if ( value )
+															{
+																element.setStyle( 'margin-left', CKEDITOR.tools.cssLength( value ) );
+																element.setStyle( 'margin-right', CKEDITOR.tools.cssLength( value ) );
+															}
+															else if ( !value && this.isChanged( ) )
+															{
+																element.removeStyle( 'margin-left' );
+																element.removeStyle( 'margin-right' );
+															}
+
+															if( !internalCommit && type == IMAGE )
+																element.removeAttribute( 'hspace' );
+														}
+														else if ( type == CLEANUP )
+														{
+															element.removeAttribute( 'hspace' );
+															element.removeStyle( 'margin-left' );
+															element.removeStyle( 'margin-right' );
+														}
+													}
+												},
+												{
+													type : 'text',
+													id : 'txtVSpace',
+													width : '60px',
+													labelLayout : 'horizontal',
+													label : editor.lang.image.vSpace,
+													'default' : '',
+													onKeyUp : function()
+													{
+														updatePreview( this.getDialog() );
+													},
+													onChange : function()
+													{
+														commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+													},
+													validate: function()
+													{
+														var func = CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed );
+														return func.apply( this );
+													},
+													setup : function( type, element )
+													{
+														if ( type == IMAGE )
+														{
+															var value,
+																marginTopPx,
+																marginBottomPx,
+																marginTopStyle = element.getStyle( 'margin-top' ),
+																marginBottomStyle = element.getStyle( 'margin-bottom' );
+
+															marginTopStyle = marginTopStyle && marginTopStyle.match( pxLengthRegex );
+															marginBottomStyle = marginBottomStyle && marginBottomStyle.match( pxLengthRegex );
+															marginTopPx = parseInt( marginTopStyle, 10 );
+															marginBottomPx = parseInt( marginBottomStyle, 10 );
+
+															value = ( marginTopPx == marginBottomPx ) && marginTopPx;
+															!value && ( value = element.getAttribute( 'vspace' ) );
+															this.setValue( value );
+														}
+													},
+													commit : function( type, element, internalCommit )
+													{
+														var value = parseInt( this.getValue(), 10 );
+														if ( type == IMAGE || type == PREVIEW )
+														{
+															if ( value )
+															{
+																element.setStyle( 'margin-top', CKEDITOR.tools.cssLength( value ) );
+																element.setStyle( 'margin-bottom', CKEDITOR.tools.cssLength( value ) );
+															}
+															else if ( !value && this.isChanged( ) )
+															{
+																element.removeStyle( 'margin-top' );
+																element.removeStyle( 'margin-bottom' );
+															}
+
+															if( !internalCommit && type == IMAGE )
+																element.removeAttribute( 'vspace' );
+														}
+														else if ( type == CLEANUP )
+														{
+															element.removeAttribute( 'vspace' );
+															element.removeStyle( 'margin-top' );
+															element.removeStyle( 'margin-bottom' );
+														}
+													}
+												},
+												{
+													id : 'cmbAlign',
+													type : 'select',
+													labelLayout : 'horizontal',
+													widths : [ '35%','65%' ],
+													style : 'width:90px',
+													label : editor.lang.image.align,
+													'default' : '',
+													items :
+													[
+														[ editor.lang.common.notSet , ''],
+														[ editor.lang.image.alignLeft , 'left'],
+														[ editor.lang.image.alignRight , 'right']
+														// Backward compatible with v2 on setup when specified as attribute value,
+														// while these values are no more available as select options.
+														//	[ editor.lang.image.alignAbsBottom , 'absBottom'],
+														//	[ editor.lang.image.alignAbsMiddle , 'absMiddle'],
+														//  [ editor.lang.image.alignBaseline , 'baseline'],
+														//  [ editor.lang.image.alignTextTop , 'text-top'],
+														//  [ editor.lang.image.alignBottom , 'bottom'],
+														//  [ editor.lang.image.alignMiddle , 'middle'],
+														//  [ editor.lang.image.alignTop , 'top']
+													],
+													onChange : function()
+													{
+														updatePreview( this.getDialog() );
+														commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+													},
+													setup : function( type, element )
+													{
+														if ( type == IMAGE )
+														{
+															var value = element.getStyle( 'float' );
+															switch( value )
+															{
+																// Ignore those unrelated values.
+																case 'inherit':
+																case 'none':
+																	value = '';
+															}
+
+															!value && ( value = ( element.getAttribute( 'align' ) || '' ).toLowerCase() );
+															this.setValue( value );
+														}
+													},
+													commit : function( type, element, internalCommit )
+													{
+														var value = this.getValue();
+														if ( type == IMAGE || type == PREVIEW )
+														{
+															if ( value )
+																element.setStyle( 'float', value );
+															else if ( !value && this.isChanged( ) )
+																element.removeStyle( 'float' );
+
+															if( !internalCommit && type == IMAGE )
+															{
+																value = ( element.getAttribute( 'align' ) || '' ).toLowerCase();
+																switch( value )
+																{
+																	// we should remove it only if it matches "left" or "right",
+																	// otherwise leave it intact.
+																	case 'left':
+																	case 'right':
+																		element.removeAttribute( 'align' );
+																}
+															}
+														}
+														else if ( type == CLEANUP )
+															element.removeStyle( 'float' );
+
+													}
+												}
+											]
+										}
+									]
+								},
+								{
+									type : 'vbox',
+									height : '250px',
+									children :
+									[
+										{
+											type : 'html',
+											style : 'width:95%;',
+											html : '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.image.preview ) +'<br>'+
+											'<div id="ImagePreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+
+											'<div id="ImagePreviewBox">'+
+											'<a href="javascript:void(0)" target="_blank" onclick="return false;" id="previewLink">'+
+											'<img id="previewImage" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. '+
+											'Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, '+
+											'nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.' +
+											'</div>'+'</div>'
+										}
+									]
+								}
+							]
+						}
+					]
+				},
+				{
+					id : 'Link',
+					label : editor.lang.link.title,
+					padding : 0,
+					elements :
+					[
+						{
+							id : 'txtUrl',
+							type : 'text',
+							label : editor.lang.image.url,
+							style : 'width: 100%',
+							'default' : '',
+							setup : function( type, element )
+							{
+								if ( type == LINK )
+								{
+									var href = element.getAttribute( '_cke_saved_href' );
+									if ( !href )
+										href = element.getAttribute( 'href' );
+									this.setValue( href );
+								}
+							},
+							commit : function( type, element )
+							{
+								if ( type == LINK )
+								{
+									if ( this.getValue() || this.isChanged() )
+									{
+										element.setAttribute( '_cke_saved_href', decodeURI( this.getValue() ) );
+										element.setAttribute( 'href', 'javascript:void(0)/*' +
+											CKEDITOR.tools.getNextNumber() + '*/' );
+
+										if ( this.getValue() || !editor.config.image_removeLinkByEmptyURL )
+											this.getDialog().addLink = true;
+									}
+								}
+							}
+						},
+						{
+							type : 'button',
+							id : 'browse',
+							filebrowser : 'Link:txtUrl',
+							style : 'float:right',
+							hidden : true,
+							label : editor.lang.common.browseServer
+						},
+						{
+							id : 'cmbTarget',
+							type : 'select',
+							label : editor.lang.link.target,
+							'default' : '',
+							items :
+							[
+								[ editor.lang.link.targetNotSet , ''],
+								[ editor.lang.link.targetNew , '_blank'],
+								[ editor.lang.link.targetTop , '_top'],
+								[ editor.lang.link.targetSelf , '_self'],
+								[ editor.lang.link.targetParent , '_parent']
+							],
+							setup : function( type, element )
+							{
+								if ( type == LINK )
+									this.setValue( element.getAttribute( 'target' ) );
+							},
+							commit : function( type, element )
+							{
+								if ( type == LINK )
+								{
+									if ( this.getValue() || this.isChanged() )
+										element.setAttribute( 'target', this.getValue() );
+								}
+							}
+						}
+					]
+				},
+				{
+					id : 'Upload',
+					hidden : true,
+					filebrowser : 'uploadButton',
+					label : editor.lang.image.upload,
+					elements :
+					[
+						{
+							type : 'file',
+							id : 'upload',
+							label : editor.lang.image.btnUpload,
+							style: 'height:40px',
+							size : 38
+						},
+						{
+							type : 'fileButton',
+							id : 'uploadButton',
+							filebrowser : 'info:txtUrl',
+							label : editor.lang.image.btnUpload,
+							'for' : [ 'Upload', 'upload' ]
+						}
+					]
+				},
+				{
+					id : 'advanced',
+					label : editor.lang.common.advancedTab,
+					elements :
+					[
+						{
+							type : 'hbox',
+							widths : [ '50%', '25%', '25%' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'linkId',
+									label : editor.lang.common.id,
+									setup : function( type, element )
+									{
+										if ( type == IMAGE )
+											this.setValue( element.getAttribute( 'id' ) );
+									},
+									commit : function( type, element )
+									{
+										if ( type == IMAGE )
+										{
+											if ( this.getValue() || this.isChanged() )
+												element.setAttribute( 'id', this.getValue() );
+										}
+									}
+								},
+								{
+									id : 'cmbLangDir',
+									type : 'select',
+									style : 'width : 100px;',
+									label : editor.lang.common.langDir,
+									'default' : '',
+									items :
+									[
+										[ editor.lang.common.notSet, '' ],
+										[ editor.lang.common.langDirLtr, 'ltr' ],
+										[ editor.lang.common.langDirRtl, 'rtl' ]
+									],
+									setup : function( type, element )
+									{
+										if ( type == IMAGE )
+											this.setValue( element.getAttribute( 'dir' ) );
+									},
+									commit : function( type, element )
+									{
+										if ( type == IMAGE )
+										{
+											if ( this.getValue() || this.isChanged() )
+												element.setAttribute( 'dir', this.getValue() );
+										}
+									}
+								},
+								{
+									type : 'text',
+									id : 'txtLangCode',
+									label : editor.lang.common.langCode,
+									'default' : '',
+									setup : function( type, element )
+									{
+										if ( type == IMAGE )
+											this.setValue( element.getAttribute( 'lang' ) );
+									},
+									commit : function( type, element )
+									{
+										if ( type == IMAGE )
+										{
+											if ( this.getValue() || this.isChanged() )
+												element.setAttribute( 'lang', this.getValue() );
+										}
+									}
+								}
+							]
+						},
+						{
+							type : 'text',
+							id : 'txtGenLongDescr',
+							label : editor.lang.common.longDescr,
+							setup : function( type, element )
+							{
+								if ( type == IMAGE )
+									this.setValue( element.getAttribute( 'longDesc' ) );
+							},
+							commit : function( type, element )
+							{
+								if ( type == IMAGE )
+								{
+									if ( this.getValue() || this.isChanged() )
+										element.setAttribute( 'longDesc', this.getValue() );
+								}
+							}
+						},
+						{
+							type : 'hbox',
+							widths : [ '50%', '50%' ],
+							children :
+							[
+								{
+									type : 'text',
+									id : 'txtGenClass',
+									label : editor.lang.common.cssClass,
+									'default' : '',
+									setup : function( type, element )
+									{
+										if ( type == IMAGE )
+											this.setValue( element.getAttribute( 'class' ) );
+									},
+									commit : function( type, element )
+									{
+										if ( type == IMAGE )
+										{
+											if ( this.getValue() || this.isChanged() )
+												element.setAttribute( 'class', this.getValue() );
+										}
+									}
+								},
+								{
+									type : 'text',
+									id : 'txtGenTitle',
+									label : editor.lang.common.advisoryTitle,
+									'default' : '',
+									onChange : function()
+									{
+										updatePreview( this.getDialog() );
+									},
+									setup : function( type, element )
+									{
+										if ( type == IMAGE )
+											this.setValue( element.getAttribute( 'title' ) );
+									},
+									commit : function( type, element )
+									{
+										if ( type == IMAGE )
+										{
+											if ( this.getValue() || this.isChanged() )
+												element.setAttribute( 'title', this.getValue() );
+										}
+										else if ( type == PREVIEW )
+										{
+											element.setAttribute( 'title', this.getValue() );
+										}
+										else if ( type == CLEANUP )
+										{
+											element.removeAttribute( 'title' );
+										}
+									}
+								}
+							]
+						},
+						{
+							type : 'text',
+							id : 'txtdlgGenStyle',
+							label : editor.lang.common.cssStyle,
+							'default' : '',
+							setup : function( type, element )
+							{
+								if ( type == IMAGE )
+								{
+									var genStyle = element.getAttribute( 'style' );
+									if ( !genStyle && element.$.style.cssText )
+										genStyle = element.$.style.cssText;
+									this.setValue( genStyle );
+
+									var height = element.$.style.height,
+										width = element.$.style.width,
+										aMatchH  = ( height ? height : '' ).match( regexGetSize ),
+										aMatchW  = ( width ? width : '').match( regexGetSize );
+
+									this.attributesInStyle =
+									{
+										height : !!aMatchH,
+										width : !!aMatchW
+									};
+								}
+							},
+							onChange : function ()
+							{
+								commitInternally.call( this,
+									[ 'info:cmbFloat', 'info:cmbAlign',
+									  'info:txtVSpace', 'info:txtHSpace',
+									  'info:txtBorder',
+									  'info:txtWidth', 'info:txtHeight' ] );
+								updatePreview( this );
+							},
+							commit : function( type, element )
+							{
+								if ( type == IMAGE && ( this.getValue() || this.isChanged() ) )
+								{
+									element.setAttribute( 'style', this.getValue() );
+								}
+							}
+						}
+					]
+				}
+			]
+		};
+	};
+
+	CKEDITOR.dialog.add( 'image', function( editor )
+		{
+			return imageDialog( editor, 'image' );
+		});
+
+	CKEDITOR.dialog.add( 'imagebutton', function( editor )
+		{
+			return imageDialog( editor, 'imagebutton' );
+		});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/image/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/image/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/image/plugin.js	(revision 4888)
@@ -0,0 +1,64 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Image plugin
+ */
+
+CKEDITOR.plugins.add( 'image',
+{
+	init : function( editor )
+	{
+		var pluginName = 'image';
+
+		// Register the dialog.
+		CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
+
+		// Register the command.
+		editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
+
+		// Register the toolbar button.
+		editor.ui.addButton( 'Image',
+			{
+				label : editor.lang.common.image,
+				command : pluginName
+			});
+
+		// If the "menu" plugin is loaded, register the menu items.
+		if ( editor.addMenuItems )
+		{
+			editor.addMenuItems(
+				{
+					image :
+					{
+						label : editor.lang.image.menu,
+						command : 'image',
+						group : 'image'
+					}
+				});
+		}
+
+		// If the "contextmenu" plugin is loaded, register the listeners.
+		if ( editor.contextMenu )
+		{
+			editor.contextMenu.addListener( function( element, selection )
+				{
+					if ( !element || !element.is( 'img' ) || element.getAttribute( '_cke_realelement' ) )
+						return null;
+
+					return { image : CKEDITOR.TRISTATE_OFF };
+				});
+		}
+	}
+} );
+
+/**
+ * Whether to remove links when emptying the link URL field in the image dialog.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.image_removeLinkByEmptyURL = false;
+ */
+CKEDITOR.config.image_removeLinkByEmptyURL = true;
Index: CKEditor/branches/features/aria/_source/plugins/indent/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/indent/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/indent/plugin.js	(revision 4888)
@@ -0,0 +1,323 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Increse and decrease indent commands.
+ */
+
+(function()
+{
+	var listNodeNames = { ol : 1, ul : 1 };
+
+	function setState( editor, state )
+	{
+		editor.getCommand( this.name ).setState( state );
+	}
+
+	function onSelectionChange( evt )
+	{
+		var elements = evt.data.path.elements,
+			listNode, listItem,
+			editor = evt.editor;
+
+		for ( var i = 0 ; i < elements.length ; i++ )
+		{
+			if ( elements[i].getName() == 'li' )
+			{
+				listItem = elements[i];
+				continue;
+			}
+			if ( listNodeNames[ elements[i].getName() ] )
+			{
+				listNode = elements[i];
+				break;
+			}
+		}
+
+		if ( listNode )
+		{
+			if ( this.name == 'outdent' )
+				return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+			else
+			{
+				while ( listItem && ( listItem = listItem.getPrevious( CKEDITOR.dom.walker.whitespaces( true ) ) ) )
+				{
+					if ( listItem.getName && listItem.getName() == 'li' )
+						return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+				}
+				return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+			}
+		}
+
+		if ( !this.useIndentClasses && this.name == 'indent' )
+			return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+
+		var path = evt.data.path,
+			firstBlock = path.block || path.blockLimit;
+		if ( !firstBlock )
+			return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+
+		if ( this.useIndentClasses )
+		{
+			var indentClass = firstBlock.$.className.match( this.classNameRegex ),
+				indentStep = 0;
+			if ( indentClass )
+			{
+				indentClass = indentClass[1];
+				indentStep = this.indentClassMap[ indentClass ];
+			}
+			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 );
+		}
+		else
+		{
+			var indent = parseInt( firstBlock.getStyle( this.indentCssProperty ), 10 );
+			if ( isNaN( indent ) )
+				indent = 0;
+			if ( indent <= 0 )
+				return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+			return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+		}
+	}
+
+	function indentList( editor, range, listNode )
+	{
+		// Our starting and ending points of the range might be inside some blocks under a list item...
+		// So before playing with the iterator, we need to expand the block to include the list items.
+		var startContainer = range.startContainer,
+			endContainer = range.endContainer;
+		while ( startContainer && !startContainer.getParent().equals( listNode ) )
+			startContainer = startContainer.getParent();
+		while ( endContainer && !endContainer.getParent().equals( listNode ) )
+			endContainer = endContainer.getParent();
+
+		if ( !startContainer || !endContainer )
+			return;
+
+		// Now we can iterate over the individual items on the same tree depth.
+		var block = startContainer,
+			itemsToMove = [],
+			stopFlag = false;
+		while ( !stopFlag )
+		{
+			if ( block.equals( endContainer ) )
+				stopFlag = true;
+			itemsToMove.push( block );
+			block = block.getNext();
+		}
+		if ( itemsToMove.length < 1 )
+			return;
+
+		// Do indent or outdent operations on the array model of the list, not the
+		// list's DOM tree itself. The array model demands that it knows as much as
+		// possible about the surrounding lists, we need to feed it the further
+		// ancestor node that is still a list.
+		var listParents = listNode.getParents( true );
+		for ( var i = 0 ; i < listParents.length ; i++ )
+		{
+			if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] )
+			{
+				listNode = listParents[i];
+				break;
+			}
+		}
+		var indentOffset = this.name == 'indent' ? 1 : -1,
+			startItem = itemsToMove[0],
+			lastItem = itemsToMove[ itemsToMove.length - 1 ],
+			database = {};
+
+		// Convert the list DOM tree into a one dimensional array.
+		var listArray = CKEDITOR.plugins.list.listToArray( listNode, database );
+
+		// Apply indenting or outdenting on the array.
+		var baseIndent = listArray[ lastItem.getCustomData( 'listarray_index' ) ].indent;
+		for ( i = startItem.getCustomData( 'listarray_index' ) ; i <= lastItem.getCustomData( 'listarray_index' ) ; i++ )
+			listArray[i].indent += indentOffset;
+		for ( i = lastItem.getCustomData( 'listarray_index' ) + 1 ;
+				i < listArray.length && listArray[i].indent > baseIndent ; i++ )
+			listArray[i].indent += indentOffset;
+
+		// Convert the array back to a DOM forest (yes we might have a few subtrees now).
+		// And replace the old list with the new forest.
+		var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, 0 );
+
+		// Avoid nested <li> after outdent even they're visually same,
+		// recording them for later refactoring.(#3982)
+		if ( this.name == 'outdent' )
+		{
+			var parentLiElement;
+			if ( ( parentLiElement = listNode.getParent() ) && parentLiElement.is( 'li' ) )
+			{
+				var children = newList.listNode.getChildren(),
+					pendingLis = [],
+					count = children.count(),
+					child;
+
+				for ( i = count - 1 ; i >= 0 ; i-- )
+				{
+					if( ( child = children.getItem( i ) ) && child.is && child.is( 'li' )  )
+						pendingLis.push( child );
+				}
+			}
+		}
+
+		if ( newList )
+			newList.listNode.replace( listNode );
+
+		// Move the nested <li> to be appeared after the parent.
+		if ( pendingLis && pendingLis.length )
+		{
+			for (  i = 0; i < pendingLis.length ; i++ )
+			{
+				var li = pendingLis[ i ],
+					followingList = li;
+
+				// Nest preceding <ul>/<ol> inside current <li> if any.
+				while( ( followingList = followingList.getNext() ) &&
+					   followingList.is &&
+					   followingList.getName() in listNodeNames )
+				{
+					li.append( followingList );
+				}
+
+				li.insertAfter( parentLiElement );
+			}
+		}
+
+		// Clean up the markers.
+		CKEDITOR.dom.element.clearAllMarkers( database );
+	}
+
+	function indentBlock( editor, range )
+	{
+		var iterator = range.createIterator(),
+			enterMode = editor.config.enterMode;
+		iterator.enforceRealBlocks = true;
+		iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
+		var block;
+		while ( ( block = iterator.getNextParagraph() ) )
+		{
+
+			if ( this.useIndentClasses )
+			{
+				// Transform current class name to indent step index.
+				var indentClass = block.$.className.match( this.classNameRegex ),
+					indentStep = 0;
+				if ( indentClass )
+				{
+					indentClass = indentClass[1];
+					indentStep = this.indentClassMap[ indentClass ];
+				}
+
+				// Operate on indent step index, transform indent step index back to class
+				// name.
+				if ( this.name == 'outdent' )
+					indentStep--;
+				else
+					indentStep++;
+				indentStep = Math.min( indentStep, editor.config.indentClasses.length );
+				indentStep = Math.max( indentStep, 0 );
+				var className = CKEDITOR.tools.ltrim( block.$.className.replace( this.classNameRegex, '' ) );
+				if ( indentStep < 1 )
+					block.$.className = className;
+				else
+					block.addClass( editor.config.indentClasses[ indentStep - 1 ] );
+			}
+			else
+			{
+				var currentOffset = parseInt( block.getStyle( this.indentCssProperty ), 10 );
+				if ( isNaN( currentOffset ) )
+					currentOffset = 0;
+				currentOffset += ( this.name == 'indent' ? 1 : -1 ) * editor.config.indentOffset;
+				currentOffset = Math.max( currentOffset, 0 );
+				currentOffset = Math.ceil( currentOffset / editor.config.indentOffset ) * editor.config.indentOffset;
+				block.setStyle( this.indentCssProperty, currentOffset ? currentOffset + editor.config.indentUnit : '' );
+				if ( block.getAttribute( 'style' ) === '' )
+					block.removeAttribute( 'style' );
+			}
+		}
+	}
+
+	function indentCommand( editor, name )
+	{
+		this.name = name;
+		this.useIndentClasses = editor.config.indentClasses && editor.config.indentClasses.length > 0;
+		if ( this.useIndentClasses )
+		{
+			this.classNameRegex = new RegExp( '(?:^|\\s+)(' + editor.config.indentClasses.join( '|' ) + ')(?=$|\\s)' );
+			this.indentClassMap = {};
+			for ( var i = 0 ; i < editor.config.indentClasses.length ; i++ )
+				this.indentClassMap[ editor.config.indentClasses[i] ] = i + 1;
+		}
+		else
+			this.indentCssProperty = editor.config.contentsLangDirection == 'ltr' ? 'margin-left' : 'margin-right';
+	}
+
+	indentCommand.prototype = {
+		exec : function( editor )
+		{
+			var selection = editor.getSelection(),
+				range = selection && selection.getRanges()[0];
+
+			if ( !selection || !range )
+				return;
+
+			var bookmarks = selection.createBookmarks( true ),
+				nearestListBlock = range.getCommonAncestor();
+
+			while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT &&
+				listNodeNames[ nearestListBlock.getName() ] ) )
+				nearestListBlock = nearestListBlock.getParent();
+
+			if ( nearestListBlock )
+				indentList.call( this, editor, range, nearestListBlock );
+			else
+				indentBlock.call( this, editor, range );
+
+			editor.focus();
+			editor.forceNextSelectionCheck();
+			selection.selectBookmarks( bookmarks );
+		}
+	};
+
+	CKEDITOR.plugins.add( 'indent',
+	{
+		init : function( editor )
+		{
+			// Register commands.
+			var indent = new indentCommand( editor, 'indent' ),
+				outdent = new indentCommand( editor, 'outdent' );
+			editor.addCommand( 'indent', indent );
+			editor.addCommand( 'outdent', outdent );
+
+			// Register the toolbar buttons.
+			editor.ui.addButton( 'Indent',
+				{
+					label : editor.lang.indent,
+					command : 'indent'
+				});
+			editor.ui.addButton( 'Outdent',
+				{
+					label : editor.lang.outdent,
+					command : 'outdent'
+				});
+
+			// Register the state changing handlers.
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, indent ) );
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, outdent ) );
+		},
+
+		requires : [ 'domiterator', 'list' ]
+	} );
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+	{
+		indentOffset : 40,
+		indentUnit : 'px',
+		indentClasses : null
+	});
Index: CKEditor/branches/features/aria/_source/plugins/justify/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/justify/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/justify/plugin.js	(revision 4888)
@@ -0,0 +1,164 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Justify commands.
+ */
+
+(function()
+{
+	var alignRemoveRegex = /(-moz-|-webkit-|start|auto)/i;
+
+	function getState( editor, path )
+	{
+		var firstBlock = path.block || path.blockLimit;
+
+		if ( !firstBlock || firstBlock.getName() == 'body' )
+			return CKEDITOR.TRISTATE_OFF;
+
+		var currentAlign = firstBlock.getComputedStyle( 'text-align' ).replace( alignRemoveRegex, '' );
+		if ( ( !currentAlign && this.isDefaultAlign ) || currentAlign == this.value )
+			return CKEDITOR.TRISTATE_ON;
+		return CKEDITOR.TRISTATE_OFF;
+	}
+
+	function onSelectionChange( evt )
+	{
+		var command = evt.editor.getCommand( this.name );
+		command.state = getState.call( this, evt.editor, evt.data.path );
+		command.fire( 'state' );
+	}
+
+	function justifyCommand( editor, name, value )
+	{
+		this.name = name;
+		this.value = value;
+
+		var contentDir = editor.config.contentsLangDirection;
+		this.isDefaultAlign = ( value == 'left' && contentDir == 'ltr' ) ||
+			( value == 'right' && contentDir == 'rtl' );
+
+		var classes = editor.config.justifyClasses;
+		if ( classes )
+		{
+			switch ( value )
+			{
+				case 'left' :
+					this.cssClassName = classes[0];
+					break;
+				case 'center' :
+					this.cssClassName = classes[1];
+					break;
+				case 'right' :
+					this.cssClassName = classes[2];
+					break;
+				case 'justify' :
+					this.cssClassName = classes[3];
+					break;
+			}
+
+			this.cssClassRegex = new RegExp( '(?:^|\\s+)(?:' + classes.join( '|' ) + ')(?=$|\\s)' );
+		}
+	}
+
+	justifyCommand.prototype = {
+		exec : function( editor )
+		{
+			var selection = editor.getSelection();
+			if ( !selection )
+				return;
+
+			var bookmarks = selection.createBookmarks(),
+				ranges = selection.getRanges();
+
+
+			var cssClassName = this.cssClassName,
+				iterator,
+				block;
+			for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
+			{
+				iterator = ranges[ i ].createIterator();
+				while ( ( block = iterator.getNextParagraph() ) )
+				{
+					block.removeAttribute( 'align' );
+
+					if ( cssClassName )
+					{
+						// Remove any of the alignment classes from the className.
+						var className = block.$.className =
+							CKEDITOR.tools.ltrim( block.$.className.replace( this.cssClassRegex, '' ) );
+
+						// Append the desired class name.
+						if ( this.state == CKEDITOR.TRISTATE_OFF && !this.isDefaultAlign )
+							block.addClass( cssClassName );
+						else if ( !className )
+							block.removeAttribute( 'class' );
+					}
+					else
+					{
+						if ( this.state == CKEDITOR.TRISTATE_OFF && !this.isDefaultAlign )
+							block.setStyle( 'text-align', this.value );
+						else
+							block.removeStyle( 'text-align' );
+					}
+				}
+
+			}
+
+			editor.focus();
+			editor.forceNextSelectionCheck();
+			selection.selectBookmarks( bookmarks );
+		}
+	};
+
+	CKEDITOR.plugins.add( 'justify',
+	{
+		init : function( editor )
+		{
+			var left = new justifyCommand( editor, 'justifyleft', 'left' ),
+				center = new justifyCommand( editor, 'justifycenter', 'center' ),
+				right = new justifyCommand( editor, 'justifyright', 'right' ),
+				justify = new justifyCommand( editor, 'justifyblock', 'justify' );
+
+			editor.addCommand( 'justifyleft', left );
+			editor.addCommand( 'justifycenter', center );
+			editor.addCommand( 'justifyright', right );
+			editor.addCommand( 'justifyblock', justify );
+
+			editor.ui.addButton( 'JustifyLeft',
+				{
+					label : editor.lang.justify.left,
+					command : 'justifyleft'
+				} );
+			editor.ui.addButton( 'JustifyCenter',
+				{
+					label : editor.lang.justify.center,
+					command : 'justifycenter'
+				} );
+			editor.ui.addButton( 'JustifyRight',
+				{
+					label : editor.lang.justify.right,
+					command : 'justifyright'
+				} );
+			editor.ui.addButton( 'JustifyBlock',
+				{
+					label : editor.lang.justify.block,
+					command : 'justifyblock'
+				} );
+
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, left ) );
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, right ) );
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, center ) );
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, justify ) );
+		},
+
+		requires : [ 'domiterator' ]
+	});
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+	{
+		justifyClasses : null
+	} );
Index: CKEditor/branches/features/aria/_source/plugins/keystrokes/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/keystrokes/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/keystrokes/plugin.js	(revision 4888)
@@ -0,0 +1,218 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Register a plugin named "sample".
+CKEDITOR.plugins.add( 'keystrokes',
+{
+	beforeInit : function( editor )
+	{
+		/**
+		 * Controls keystrokes typing in this editor instance.
+		 * @name CKEDITOR.editor.prototype.keystrokeHandler
+		 * @type CKEDITOR.keystrokeHandler
+		 * @example
+		 */
+		editor.keystrokeHandler = new CKEDITOR.keystrokeHandler( editor );
+
+		editor.specialKeys = {};
+	},
+
+	init : function( editor )
+	{
+		var keystrokesConfig	= editor.config.keystrokes,
+			blockedConfig		= editor.config.blockedKeystrokes;
+
+		var keystrokes			= editor.keystrokeHandler.keystrokes,
+			blockedKeystrokes	= editor.keystrokeHandler.blockedKeystrokes;
+
+		for ( var i = 0 ; i < keystrokesConfig.length ; i++ )
+		{
+			keystrokes[ keystrokesConfig[i][0] ] = keystrokesConfig[i][1];
+		}
+
+		for ( i = 0 ; i < blockedConfig.length ; i++ )
+		{
+			blockedKeystrokes[ blockedConfig[i] ] = 1;
+		}
+	}
+});
+
+/**
+ * Controls keystrokes typing in an editor instance.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.keystrokeHandler = function( editor )
+{
+	if ( editor.keystrokeHandler )
+		return editor.keystrokeHandler;
+
+	/**
+	 * List of keystrokes associated to commands. Each entry points to the
+	 * command to be executed.
+	 * @type Object
+	 * @example
+	 */
+	this.keystrokes = {};
+
+	/**
+	 * List of keystrokes that should be blocked if not defined at
+	 * {@link keystrokes}. In this way it is possible to block the default
+	 * browser behavior for those keystrokes.
+	 * @type Object
+	 * @example
+	 */
+	this.blockedKeystrokes = {};
+
+	this._ =
+	{
+		editor : editor
+	};
+
+	return this;
+};
+
+(function()
+{
+	var cancel;
+
+	var onKeyDown = function( event )
+	{
+		// The DOM event object is passed by the "data" property.
+		event = event.data;
+
+		var keyCombination = event.getKeystroke();
+		var command = this.keystrokes[ keyCombination ];
+		var editor = this._.editor;
+
+		cancel = ( editor.fire( 'key', { keyCode : keyCombination } ) === true );
+
+		if ( !cancel )
+		{
+			if ( command )
+			{
+				var data = { from : 'keystrokeHandler' };
+				cancel = ( editor.execCommand( command, data ) !== false );
+			}
+
+			if  ( !cancel )
+			{
+				var handler = editor.specialKeys[ keyCombination ];
+				cancel = ( handler && handler( editor ) === true );
+
+				if ( !cancel )
+					cancel = !!this.blockedKeystrokes[ keyCombination ];
+			}
+		}
+
+		if ( cancel )
+			event.preventDefault( true );
+
+		return !cancel;
+	};
+
+	var onKeyPress = function( event )
+	{
+		if ( cancel )
+		{
+			cancel = false;
+			event.data.preventDefault( true );
+		}
+	};
+
+	CKEDITOR.keystrokeHandler.prototype =
+	{
+		/**
+		 * Attaches this keystroke handle to a DOM object. Keystrokes typed
+		 ** over this object will get handled by this keystrokeHandler.
+		 * @param {CKEDITOR.dom.domObject} domObject The DOM object to attach
+		 *		to.
+		 * @example
+		 */
+		attach : function( domObject )
+		{
+			// For most browsers, it is enough to listen to the keydown event
+			// only.
+			domObject.on( 'keydown', onKeyDown, this );
+
+			// Some browsers instead, don't cancel key events in the keydown, but in the
+			// keypress. So we must do a longer trip in those cases.
+			if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+				domObject.on( 'keypress', onKeyPress, this );
+		}
+	};
+})();
+
+/**
+ * A list of keystrokes to be blocked if not defined in the {@link CKEDITOR.config.keystrokes}
+ * setting. In this way it is possible to block the default browser behavior
+ * for those keystrokes.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.blockedKeystrokes =
+ * [
+ *     CKEDITOR.CTRL + 66 &#47;*B*&#47;,
+ *     CKEDITOR.CTRL + 73 &#47;*I*&#47;,
+ *     CKEDITOR.CTRL + 85 &#47;*U*&#47;
+ * ];
+ */
+CKEDITOR.config.blockedKeystrokes =
+[
+	CKEDITOR.CTRL + 66 /*B*/,
+	CKEDITOR.CTRL + 73 /*I*/,
+	CKEDITOR.CTRL + 85 /*U*/
+];
+
+/**
+ * A list associating keystrokes to editor commands. Each element in the list
+ * is an array where the first item is the keystroke, and the second is the
+ * name of the command to be executed.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.keystrokes =
+ * [
+ *     [ CKEDITOR.ALT + 121 &#47;*F10*&#47;, 'toolbarFocus' ],
+ *     [ CKEDITOR.ALT + 122 &#47;*F11*&#47;, 'elementsPathFocus' ],
+ *
+ *     [ CKEDITOR.SHIFT + 121 &#47;*F10*&#47;, 'contextMenu' ],
+ *
+ *     [ CKEDITOR.CTRL + 90 &#47;*Z*&#47;, 'undo' ],
+ *     [ CKEDITOR.CTRL + 89 &#47;*Y*&#47;, 'redo' ],
+ *     [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 &#47;*Z*&#47;, 'redo' ],
+ *
+ *     [ CKEDITOR.CTRL + 76 &#47;*L*&#47;, 'link' ],
+ *
+ *     [ CKEDITOR.CTRL + 66 &#47;*B*&#47;, 'bold' ],
+ *     [ CKEDITOR.CTRL + 73 &#47;*I*&#47;, 'italic' ],
+ *     [ CKEDITOR.CTRL + 85 &#47;*U*&#47;, 'underline' ],
+ *
+ *     [ CKEDITOR.ALT + 109 &#47;*-*&#47;, 'toolbarCollapse' ]
+ * ];
+ */
+CKEDITOR.config.keystrokes =
+[
+	[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
+	[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
+
+	[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
+	[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
+
+	[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
+	[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
+	[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
+
+	[ CKEDITOR.CTRL + 76 /*L*/, 'link' ],
+
+	[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
+	[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
+	[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
+
+	[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
+];
Index: CKEditor/branches/features/aria/_source/plugins/link/dialogs/anchor.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/link/dialogs/anchor.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/link/dialogs/anchor.js	(revision 4888)
@@ -0,0 +1,98 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'anchor', function( editor )
+{
+	// Function called in onShow to load selected element.
+	var loadElements = function( editor, selection, element )
+	{
+		this.editMode = true;
+		this.editObj = element;
+
+		var attributeValue = this.editObj.getAttribute( 'name' );
+		if ( attributeValue )
+			this.setValueOf( 'info','txtName', attributeValue );
+		else
+			this.setValueOf( 'info','txtName', "" );
+	};
+
+	return {
+		title : editor.lang.anchor.title,
+		minWidth : 300,
+		minHeight : 60,
+		onOk : function()
+		{
+			// Always create a new anchor, because of IE BUG.
+			var name = this.getValueOf( 'info', 'txtName' ),
+				element = CKEDITOR.env.ie ?
+				editor.document.createElement( '<a name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :
+				editor.document.createElement( 'a' );
+
+			// Move contents and attributes of old anchor to new anchor.
+			if ( this.editMode )
+			{
+				this.editObj.copyAttributes( element, { name : 1 } );
+				this.editObj.moveChildren( element );
+			}
+
+			// Set name.
+			element.removeAttribute( '_cke_saved_name' );
+			element.setAttribute( 'name', name );
+
+			// Insert a new anchor.
+			var fakeElement = editor.createFakeElement( element, 'cke_anchor', 'anchor' );
+			if ( !this.editMode )
+				editor.insertElement( fakeElement );
+			else
+			{
+				fakeElement.replace( this.fakeObj );
+				editor.getSelection().selectElement( fakeElement );
+			}
+
+			return true;
+		},
+		onShow : function()
+		{
+			this.editObj = false;
+			this.fakeObj = false;
+			this.editMode = false;
+
+			var selection = editor.getSelection();
+			var element = selection.getSelectedElement();
+			if ( element && element.getAttribute( '_cke_real_element_type' ) && element.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+			{
+				this.fakeObj = element;
+				element = editor.restoreRealElement( this.fakeObj );
+				loadElements.apply( this, [ editor, selection, element ] );
+				selection.selectElement( this.fakeObj );
+			}
+			this.getContentElement( 'info', 'txtName' ).focus();
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.anchor.title,
+				accessKey : 'I',
+				elements :
+				[
+					{
+						type : 'text',
+						id : 'txtName',
+						label : editor.lang.anchor.name,
+						validate : function()
+						{
+							if ( !this.getValue() )
+							{
+								alert( editor.lang.anchor.errorName );
+								return false;
+							}
+							return true;
+						}
+					}
+				]
+			}
+		]
+	};
+} );
Index: CKEditor/branches/features/aria/_source/plugins/link/dialogs/link.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/link/dialogs/link.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/link/dialogs/link.js	(revision 4888)
@@ -0,0 +1,1379 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'link', function( editor )
+{
+	// Handles the event when the "Target" selection box is changed.
+	var targetChanged = function()
+	{
+		var dialog = this.getDialog(),
+			popupFeatures = dialog.getContentElement( 'target', 'popupFeatures' ),
+			targetName = dialog.getContentElement( 'target', 'linkTargetName' ),
+			value = this.getValue();
+
+		if ( !popupFeatures || !targetName )
+			return;
+
+		popupFeatures = popupFeatures.getElement();
+
+		if ( value == 'popup' )
+		{
+			popupFeatures.show();
+			targetName.setLabel( editor.lang.link.targetPopupName );
+		}
+		else
+		{
+			popupFeatures.hide();
+			targetName.setLabel( editor.lang.link.targetFrameName );
+			this.getDialog().setValueOf( 'target', 'linkTargetName', value.charAt( 0 ) == '_' ? value : '' );
+		}
+	};
+
+	// Handles the event when the "Type" selection box is changed.
+	var linkTypeChanged = function()
+	{
+		var dialog = this.getDialog(),
+			partIds = [ 'urlOptions', 'anchorOptions', 'emailOptions' ],
+			typeValue = this.getValue(),
+			uploadTab = dialog.definition.getContents( 'upload' ),
+			uploadInitiallyHidden = uploadTab && uploadTab.hidden;
+
+		if ( typeValue == 'url' )
+		{
+			if ( editor.config.linkShowTargetTab )
+				dialog.showPage( 'target' );
+			if ( !uploadInitiallyHidden )
+				dialog.showPage( 'upload' );
+		}
+		else
+		{
+			dialog.hidePage( 'target' );
+			if ( !uploadInitiallyHidden )
+				dialog.hidePage( 'upload' );
+		}
+
+		for ( var i = 0 ; i < partIds.length ; i++ )
+		{
+			var element = dialog.getContentElement( 'info', partIds[i] );
+			if ( !element )
+				continue;
+
+			element = element.getElement().getParent().getParent();
+			if ( partIds[i] == typeValue + 'Options' )
+				element.show();
+			else
+				element.hide();
+		}
+	};
+
+	// Loads the parameters in a selected link to the link dialog fields.
+	var emailRegex = /^mailto:([^?]+)(?:\?(.+))?$/,
+		emailSubjectRegex = /subject=([^;?:@&=$,\/]*)/,
+		emailBodyRegex = /body=([^;?:@&=$,\/]*)/,
+		anchorRegex = /^#(.*)$/,
+		urlRegex = /^(?!javascript)((?:http|https|ftp|news):\/\/)?(.*)$/,
+		selectableTargets = /^(_(?:self|top|parent|blank))$/,
+		encodedEmailLinkRegex = /^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,
+		functionCallProtectedEmailLinkRegex = /^javascript:([^(]+)\(([^)]+)\)$/;
+
+	var popupRegex =
+		/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/;
+	var popupFeaturesRegex = /(?:^|,)([^=]+)=(\d+|yes|no)/gi;
+
+	var parseLink = function( editor, element )
+	{
+		var href = element ? ( element.getAttribute( '_cke_saved_href' ) || element.getAttribute( 'href' ) ) : '',
+			emailMatch,
+			anchorMatch,
+			urlMatch,
+			retval = {};
+
+		if ( ( anchorMatch = href.match( anchorRegex ) ) )
+		{
+			retval.type = 'anchor';
+			retval.anchor = {};
+			retval.anchor.name = retval.anchor.id = anchorMatch[1];
+		}
+		// urlRegex matches empty strings, so need to check for href as well.
+		else if ( href && ( urlMatch = href.match( urlRegex ) ) )
+		{
+			retval.type = 'url';
+			retval.url = {};
+			retval.url.protocol = urlMatch[1];
+			retval.url.url = urlMatch[2];
+		}
+		// Protected email link as encoded string.
+		else if ( !emailProtection || emailProtection == 'encode' )
+		{
+			if( emailProtection == 'encode' )
+			{
+				href = href.replace( encodedEmailLinkRegex,
+						function ( match, protectedAddress, rest )
+						{
+							return 'mailto:' +
+							       String.fromCharCode.apply( String, protectedAddress.split( ',' ) ) +
+							       ( rest && unescapeSingleQuote( rest ) );
+						} );
+			}
+
+			emailMatch = href.match( emailRegex );
+
+			if( emailMatch )
+			{
+				var subjectMatch = href.match( emailSubjectRegex ),
+					bodyMatch = href.match( emailBodyRegex );
+
+				retval.type = 'email';
+				var email = ( retval.email = {} );
+				email.address = emailMatch[ 1 ];
+				subjectMatch && ( email.subject = decodeURIComponent( subjectMatch[ 1 ] ) );
+				bodyMatch && ( email.body = decodeURIComponent( bodyMatch[ 1 ] ) );
+			}
+		}
+		// Protected email link as function call.
+		else if( emailProtection )
+		{
+			href.replace( functionCallProtectedEmailLinkRegex, function( match, funcName, funcArgs )
+			{
+				if( funcName == compiledProtectionFunction.name )
+				{
+					retval.type = 'email';
+					var email = retval.email = {};
+
+					var paramRegex = /[^,\s]+/g,
+						paramQuoteRegex = /(^')|('$)/g,
+						paramsMatch = funcArgs.match( paramRegex ),
+						paramsMatchLength = paramsMatch.length,
+						paramName,
+						paramVal;
+
+					for ( var i = 0; i < paramsMatchLength; i++ )
+					{
+						paramVal = decodeURIComponent( unescapeSingleQuote( paramsMatch[ i ].replace( paramQuoteRegex, '' ) ) );
+						paramName = compiledProtectionFunction.params[ i ].toLowerCase();
+						email[ paramName ] = paramVal;
+					}
+					email.address = [ email.name, email.domain ].join( '@' );
+				}
+			} );
+		}
+		else
+			retval.type = 'url';
+
+		// Load target and popup settings.
+		if ( element )
+		{
+			var target = element.getAttribute( 'target' );
+			retval.target = {};
+			retval.adv = {};
+
+			// IE BUG: target attribute is an empty string instead of null in IE if it's not set.
+			if ( !target )
+			{
+				var onclick = element.getAttribute( '_cke_pa_onclick' ) || element.getAttribute( 'onclick' ),
+					onclickMatch = onclick && onclick.match( popupRegex );
+				if ( onclickMatch )
+				{
+					retval.target.type = 'popup';
+					retval.target.name = onclickMatch[1];
+
+					var featureMatch;
+					while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) )
+					{
+						if ( featureMatch[2] == 'yes' || featureMatch[2] == '1' )
+							retval.target[ featureMatch[1] ] = true;
+						else if ( isFinite( featureMatch[2] ) )
+							retval.target[ featureMatch[1] ] = featureMatch[2];
+					}
+				}
+			}
+			else
+			{
+				var targetMatch = target.match( selectableTargets );
+				if ( targetMatch )
+					retval.target.type = retval.target.name = target;
+				else
+				{
+					retval.target.type = 'frame';
+					retval.target.name = target;
+				}
+			}
+
+			var me = this;
+			var advAttr = function( inputName, attrName )
+			{
+				var value = element.getAttribute( attrName );
+				if ( value !== null )
+					retval.adv[ inputName ] = value || '';
+			};
+			advAttr( 'advId', 'id' );
+			advAttr( 'advLangDir', 'dir' );
+			advAttr( 'advAccessKey', 'accessKey' );
+			advAttr( 'advName', 'name' );
+			advAttr( 'advLangCode', 'lang' );
+			advAttr( 'advTabIndex', 'tabindex' );
+			advAttr( 'advTitle', 'title' );
+			advAttr( 'advContentType', 'type' );
+			advAttr( 'advCSSClasses', 'class' );
+			advAttr( 'advCharset', 'charset' );
+			advAttr( 'advStyles', 'style' );
+		}
+
+		// Find out whether we have any anchors in the editor.
+		// Get all IMG elements in CK document.
+		var elements = editor.document.getElementsByTag( 'img' ),
+			realAnchors = new CKEDITOR.dom.nodeList( editor.document.$.anchors ),
+			anchors = retval.anchors = [];
+
+		for( var i = 0; i < elements.count() ; i++ )
+		{
+			var item = elements.getItem( i );
+			if ( item.getAttribute( '_cke_realelement' ) && item.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+			{
+				anchors.push( editor.restoreRealElement( item ) );
+			}
+		}
+
+		for ( i = 0 ; i < realAnchors.count() ; i++ )
+			anchors.push( realAnchors.getItem( i ) );
+
+		for ( i = 0 ; i < anchors.length ; i++ )
+		{
+			item = anchors[ i ];
+			anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };
+		}
+
+		// Record down the selected element in the dialog.
+		this._.selectedElement = element;
+
+		return retval;
+	};
+
+	var setupParams = function( page, data )
+	{
+		if ( data[page] )
+			this.setValue( data[page][this.id] || '' );
+	};
+
+	var setupPopupParams = function( data )
+	{
+		return setupParams.call( this, 'target', data );
+	};
+
+	var setupAdvParams = function( data )
+	{
+		return setupParams.call( this, 'adv', data );
+	};
+
+	var commitParams = function( page, data )
+	{
+		if ( !data[page] )
+			data[page] = {};
+
+		data[page][this.id] = this.getValue() || '';
+	};
+
+	var commitPopupParams = function( data )
+	{
+		return commitParams.call( this, 'target', data );
+	};
+
+	var commitAdvParams = function( data )
+	{
+		return commitParams.call( this, 'adv', data );
+	};
+
+	function unescapeSingleQuote( str )
+	{
+		return str.replace( /\\'/g, '\'' );
+	}
+
+	function escapeSingleQuote( str )
+	{
+		return str.replace( /'/g, '\\$&' );
+	}
+
+	var emailProtection = editor.config.emailProtection || '';
+
+	// Compile the protection function pattern.
+	if( emailProtection && emailProtection != 'encode' )
+	{
+		var compiledProtectionFunction = {};
+
+		emailProtection.replace( /^([^(]+)\(([^)]+)\)$/, function( match, funcName, params )
+		{
+			compiledProtectionFunction.name = funcName;
+			compiledProtectionFunction.params = [];
+			params.replace( /[^,\s]+/g, function( param )
+			{
+				compiledProtectionFunction.params.push( param );
+			} );
+		} );
+	}
+
+	function protectEmailLinkAsFunction( email )
+	{
+		var retval,
+			name = compiledProtectionFunction.name,
+			params = compiledProtectionFunction.params,
+			paramName,
+			paramValue;
+
+		retval = [ name, '(' ];
+		for ( var i = 0; i < params.length; i++ )
+		{
+			paramName = params[ i ].toLowerCase();
+			paramValue = email[ paramName ];
+
+			i > 0 && retval.push( ',' );
+			retval.push( '\'',
+						 paramValue ?
+						 escapeSingleQuote( encodeURIComponent( email[ paramName ] ) )
+						 : '',
+						 '\'');
+		}
+		retval.push( ')' );
+		return retval.join( '' );
+	}
+
+	function protectEmailAddressAsEncodedString( address )
+	{
+		var charCode,
+			length = address.length,
+			encodedChars = [];
+		for ( var i = 0; i < length; i++ )
+		{
+			charCode = address.charCodeAt( i );
+			encodedChars.push( charCode );
+		}
+		return 'String.fromCharCode(' + encodedChars.join( ',' ) + ')';
+	}
+
+	return {
+		title : editor.lang.link.title,
+		minWidth : 350,
+		minHeight : 230,
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.link.info,
+				title : editor.lang.link.info,
+				elements :
+				[
+					{
+						id : 'linkType',
+						type : 'select',
+						label : editor.lang.link.type,
+						'default' : 'url',
+						items :
+						[
+							[ editor.lang.common.url, 'url' ],
+							[ editor.lang.link.toAnchor, 'anchor' ],
+							[ editor.lang.link.toEmail, 'email' ]
+						],
+						onChange : linkTypeChanged,
+						setup : function( data )
+						{
+							if ( data.type )
+								this.setValue( data.type );
+						},
+						commit : function( data )
+						{
+							data.type = this.getValue();
+						}
+					},
+					{
+						type : 'vbox',
+						id : 'urlOptions',
+						children :
+						[
+							{
+								type : 'hbox',
+								widths : [ '25%', '75%' ],
+								children :
+								[
+									{
+										id : 'protocol',
+										type : 'select',
+										label : editor.lang.common.protocol,
+										'default' : 'http://',
+										style : 'width : 100%;',
+										items :
+										[
+											[ 'http://' ],
+											[ 'https://' ],
+											[ 'ftp://' ],
+											[ 'news://' ],
+											[ '<other>', '' ]
+										],
+										setup : function( data )
+										{
+											if ( data.url )
+												this.setValue( data.url.protocol || '' );
+										},
+										commit : function( data )
+										{
+											if ( !data.url )
+												data.url = {};
+
+											data.url.protocol = this.getValue();
+										}
+									},
+									{
+										type : 'text',
+										id : 'url',
+										label : editor.lang.common.url,
+										onLoad : function ()
+										{
+											this.allowOnChange = true;
+										},
+										onKeyUp : function()
+										{
+											this.allowOnChange = false;
+											var	protocolCmb = this.getDialog().getContentElement( 'info', 'protocol' ),
+												url = this.getValue(),
+												urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi,
+												urlOnChangeTestOther = /^((javascript:)|[#\/\.])/gi;
+
+											var protocol = urlOnChangeProtocol.exec( url );
+											if ( protocol )
+											{
+												this.setValue( url.substr( protocol[ 0 ].length ) );
+												protocolCmb.setValue( protocol[ 0 ].toLowerCase() );
+											}
+											else if ( urlOnChangeTestOther.test( url ) )
+												protocolCmb.setValue( '' );
+
+											this.allowOnChange = true;
+										},
+										onChange : function()
+										{
+											if ( this.allowOnChange )		// Dont't call on dialog load.
+												this.onKeyUp();
+										},
+										validate : function()
+										{
+											var dialog = this.getDialog();
+
+											if ( dialog.getContentElement( 'info', 'linkType' ) &&
+													dialog.getValueOf( 'info', 'linkType' ) != 'url' )
+												return true;
+
+											if ( this.getDialog().fakeObj )	// Edit Anchor.
+												return true;
+
+											var func = CKEDITOR.dialog.validate.notEmpty( editor.lang.link.noUrl );
+											return func.apply( this );
+										},
+										setup : function( data )
+										{
+											this.allowOnChange = false;
+											if ( data.url )
+												this.setValue( data.url.url );
+											this.allowOnChange = true;
+
+											var linkType = this.getDialog().getContentElement( 'info', 'linkType' );
+											if ( linkType && linkType.getValue() == 'url' )
+												this.select();
+
+										},
+										commit : function( data )
+										{
+											if ( !data.url )
+												data.url = {};
+
+											data.url.url = this.getValue();
+											this.allowOnChange = false;
+										}
+									}
+								],
+								setup : function( data )
+								{
+									if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+										this.getElement().show();
+								}
+							},
+							{
+								type : 'button',
+								id : 'browse',
+								hidden : 'true',
+								filebrowser : 'info:url',
+								label : editor.lang.common.browseServer
+							}
+						]
+					},
+					{
+						type : 'vbox',
+						id : 'anchorOptions',
+						width : 260,
+						align : 'center',
+						padding : 0,
+						children :
+						[
+							{
+								type : 'html',
+								id : 'selectAnchorText',
+								html : CKEDITOR.tools.htmlEncode( editor.lang.link.selectAnchor ),
+								setup : function( data )
+								{
+									if ( data.anchors.length > 0 )
+										this.getElement().show();
+									else
+										this.getElement().hide();
+								}
+							},
+							{
+								type : 'html',
+								id : 'noAnchors',
+								style : 'text-align: center;',
+								html : '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.link.noAnchors ) + '</div>',
+								setup : function( data )
+								{
+									if ( data.anchors.length < 1 )
+										this.getElement().show();
+									else
+										this.getElement().hide();
+								}
+							},
+							{
+								type : 'hbox',
+								id : 'selectAnchor',
+								children :
+								[
+									{
+										type : 'select',
+										id : 'anchorName',
+										'default' : '',
+										label : editor.lang.link.anchorName,
+										style : 'width: 100%;',
+										items :
+										[
+											[ '' ]
+										],
+										setup : function( data )
+										{
+											this.clear();
+											this.add( '' );
+											for ( var i = 0 ; i < data.anchors.length ; i++ )
+											{
+												if ( data.anchors[i].name )
+													this.add( data.anchors[i].name );
+											}
+
+											if ( data.anchor )
+												this.setValue( data.anchor.name );
+
+											var linkType = this.getDialog().getContentElement( 'info', 'linkType' );
+											if ( linkType && linkType.getValue() == 'email' )
+												this.focus();
+										},
+										commit : function( data )
+										{
+											if ( !data.anchor )
+												data.anchor = {};
+
+											data.anchor.name = this.getValue();
+										}
+									},
+									{
+										type : 'select',
+										id : 'anchorId',
+										'default' : '',
+										label : editor.lang.link.anchorId,
+										style : 'width: 100%;',
+										items :
+										[
+											[ '' ]
+										],
+										setup : function( data )
+										{
+											this.clear();
+											this.add( '' );
+											for ( var i = 0 ; i < data.anchors.length ; i++ )
+											{
+												if ( data.anchors[i].id )
+													this.add( data.anchors[i].id );
+											}
+
+											if ( data.anchor )
+												this.setValue( data.anchor.id );
+										},
+										commit : function( data )
+										{
+											if ( !data.anchor )
+												data.anchor = {};
+
+											data.anchor.id = this.getValue();
+										}
+									}
+								],
+								setup : function( data )
+								{
+									if ( data.anchors.length > 0 )
+										this.getElement().show();
+									else
+										this.getElement().hide();
+								}
+							}
+						],
+						setup : function( data )
+						{
+							if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+								this.getElement().hide();
+						}
+					},
+					{
+						type :  'vbox',
+						id : 'emailOptions',
+						padding : 1,
+						children :
+						[
+							{
+								type : 'text',
+								id : 'emailAddress',
+								label : editor.lang.link.emailAddress,
+								validate : function()
+								{
+									var dialog = this.getDialog();
+
+									if ( !dialog.getContentElement( 'info', 'linkType' ) ||
+											dialog.getValueOf( 'info', 'linkType' ) != 'email' )
+										return true;
+
+									var func = CKEDITOR.dialog.validate.notEmpty( editor.lang.link.noEmail );
+									return func.apply( this );
+								},
+								setup : function( data )
+								{
+									if ( data.email )
+										this.setValue( data.email.address );
+
+									var linkType = this.getDialog().getContentElement( 'info', 'linkType' );
+									if ( linkType && linkType.getValue() == 'email' )
+										this.select();
+								},
+								commit : function( data )
+								{
+									if ( !data.email )
+										data.email = {};
+
+									data.email.address = this.getValue();
+								}
+							},
+							{
+								type : 'text',
+								id : 'emailSubject',
+								label : editor.lang.link.emailSubject,
+								setup : function( data )
+								{
+									if ( data.email )
+										this.setValue( data.email.subject );
+								},
+								commit : function( data )
+								{
+									if ( !data.email )
+										data.email = {};
+
+									data.email.subject = this.getValue();
+								}
+							},
+							{
+								type : 'textarea',
+								id : 'emailBody',
+								label : editor.lang.link.emailBody,
+								rows : 3,
+								'default' : '',
+								setup : function( data )
+								{
+									if ( data.email )
+										this.setValue( data.email.body );
+								},
+								commit : function( data )
+								{
+									if ( !data.email )
+										data.email = {};
+
+									data.email.body = this.getValue();
+								}
+							}
+						],
+						setup : function( data )
+						{
+							if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+								this.getElement().hide();
+						}
+					}
+				]
+			},
+			{
+				id : 'target',
+				label : editor.lang.link.target,
+				title : editor.lang.link.target,
+				elements :
+				[
+					{
+						type : 'hbox',
+						widths : [ '50%', '50%' ],
+						children :
+						[
+							{
+								type : 'select',
+								id : 'linkTargetType',
+								label : editor.lang.link.target,
+								'default' : 'notSet',
+								style : 'width : 100%;',
+								'items' :
+								[
+									[ editor.lang.link.targetNotSet, 'notSet' ],
+									[ editor.lang.link.targetFrame, 'frame' ],
+									[ editor.lang.link.targetPopup, 'popup' ],
+									[ editor.lang.link.targetNew, '_blank' ],
+									[ editor.lang.link.targetTop, '_top' ],
+									[ editor.lang.link.targetSelf, '_self' ],
+									[ editor.lang.link.targetParent, '_parent' ]
+								],
+								onChange : targetChanged,
+								setup : function( data )
+								{
+									if ( data.target )
+										this.setValue( data.target.type );
+								},
+								commit : function( data )
+								{
+									if ( !data.target )
+										data.target = {};
+
+									data.target.type = this.getValue();
+								}
+							},
+							{
+								type : 'text',
+								id : 'linkTargetName',
+								label : editor.lang.link.targetFrameName,
+								'default' : '',
+								setup : function( data )
+								{
+									if ( data.target )
+										this.setValue( data.target.name );
+								},
+								commit : function( data )
+								{
+									if ( !data.target )
+										data.target = {};
+
+									data.target.name = this.getValue();
+								}
+							}
+						]
+					},
+					{
+						type : 'vbox',
+						width : 260,
+						align : 'center',
+						padding : 2,
+						id : 'popupFeatures',
+						children :
+						[
+							{
+								type : 'html',
+								html : CKEDITOR.tools.htmlEncode( editor.lang.link.popupFeatures )
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type : 'checkbox',
+										id : 'resizable',
+										label : editor.lang.link.popupResizable,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+									},
+									{
+										type : 'checkbox',
+										id : 'status',
+										label : editor.lang.link.popupStatusBar,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type : 'checkbox',
+										id : 'location',
+										label : editor.lang.link.popupLocationBar,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									},
+									{
+										type : 'checkbox',
+										id : 'toolbar',
+										label : editor.lang.link.popupToolbar,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type : 'checkbox',
+										id : 'menubar',
+										label : editor.lang.link.popupMenuBar,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									},
+									{
+										type : 'checkbox',
+										id : 'fullscreen',
+										label : editor.lang.link.popupFullScreen,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type : 'checkbox',
+										id : 'scrollbars',
+										label : editor.lang.link.popupScrollBars,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									},
+									{
+										type : 'checkbox',
+										id : 'dependent',
+										label : editor.lang.link.popupDependent,
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type :  'text',
+										widths : [ '30%', '70%' ],
+										labelLayout : 'horizontal',
+										label : editor.lang.link.popupWidth,
+										id : 'width',
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									},
+									{
+										type :  'text',
+										labelLayout : 'horizontal',
+										widths : [ '55%', '45%' ],
+										label : editor.lang.link.popupLeft,
+										id : 'left',
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type :  'text',
+										labelLayout : 'horizontal',
+										widths : [ '30%', '70%' ],
+										label : editor.lang.link.popupHeight,
+										id : 'height',
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									},
+									{
+										type :  'text',
+										labelLayout : 'horizontal',
+										label : editor.lang.link.popupTop,
+										widths : [ '55%', '45%' ],
+										id : 'top',
+										setup : setupPopupParams,
+										commit : commitPopupParams
+
+									}
+								]
+							}
+						]
+					}
+				]
+			},
+			{
+				id : 'upload',
+				label : editor.lang.link.upload,
+				title : editor.lang.link.upload,
+				hidden : true,
+				filebrowser : 'uploadButton',
+				elements :
+				[
+					{
+						type : 'file',
+						id : 'upload',
+						label : editor.lang.common.upload,
+						style: 'height:40px',
+						size : 29
+					},
+					{
+						type : 'fileButton',
+						id : 'uploadButton',
+						label : editor.lang.common.uploadSubmit,
+						filebrowser : 'info:url',
+						'for' : [ 'upload', 'upload' ]
+					}
+				]
+			},
+			{
+				id : 'advanced',
+				label : editor.lang.link.advanced,
+				title : editor.lang.link.advanced,
+				elements :
+				[
+					{
+						type : 'vbox',
+						padding : 1,
+						children :
+						[
+							{
+								type : 'hbox',
+								widths : [ '45%', '35%', '20%' ],
+								children :
+								[
+									{
+										type : 'text',
+										id : 'advId',
+										label : editor.lang.link.id,
+										setup : setupAdvParams,
+										commit : commitAdvParams
+									},
+									{
+										type : 'select',
+										id : 'advLangDir',
+										label : editor.lang.link.langDir,
+										'default' : '',
+										style : 'width:110px',
+										items :
+										[
+											[ editor.lang.link.langDirNotSet, '' ],
+											[ editor.lang.link.langDirLTR, 'ltr' ],
+											[ editor.lang.link.langDirRTL, 'rtl' ]
+										],
+										setup : setupAdvParams,
+										commit : commitAdvParams
+									},
+									{
+										type : 'text',
+										id : 'advAccessKey',
+										width : '80px',
+										label : editor.lang.link.acccessKey,
+										maxLength : 1,
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								widths : [ '45%', '35%', '20%' ],
+								children :
+								[
+									{
+										type : 'text',
+										label : editor.lang.link.name,
+										id : 'advName',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									},
+									{
+										type : 'text',
+										label : editor.lang.link.langCode,
+										id : 'advLangCode',
+										width : '110px',
+										'default' : '',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									},
+									{
+										type : 'text',
+										label : editor.lang.link.tabIndex,
+										id : 'advTabIndex',
+										width : '80px',
+										maxLength : 5,
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									}
+								]
+							}
+						]
+					},
+					{
+						type : 'vbox',
+						padding : 1,
+						children :
+						[
+							{
+								type : 'hbox',
+								widths : [ '45%', '55%' ],
+								children :
+								[
+									{
+										type : 'text',
+										label : editor.lang.link.advisoryTitle,
+										'default' : '',
+										id : 'advTitle',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									},
+									{
+										type : 'text',
+										label : editor.lang.link.advisoryContentType,
+										'default' : '',
+										id : 'advContentType',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								widths : [ '45%', '55%' ],
+								children :
+								[
+									{
+										type : 'text',
+										label : editor.lang.link.cssClasses,
+										'default' : '',
+										id : 'advCSSClasses',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									},
+									{
+										type : 'text',
+										label : editor.lang.link.charset,
+										'default' : '',
+										id : 'advCharset',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									}
+								]
+							},
+							{
+								type : 'hbox',
+								children :
+								[
+									{
+										type : 'text',
+										label : editor.lang.link.styles,
+										'default' : '',
+										id : 'advStyles',
+										setup : setupAdvParams,
+										commit : commitAdvParams
+
+									}
+								]
+							}
+						]
+					}
+				]
+			}
+		],
+		onShow : function()
+		{
+			this.fakeObj = false;
+
+			var editor = this.getParentEditor(),
+				selection = editor.getSelection(),
+				ranges = selection.getRanges(),
+				element = null,
+				me = this;
+			// Fill in all the relevant fields if there's already one link selected.
+			if ( ranges.length == 1 )
+			{
+
+				var rangeRoot = ranges[0].getCommonAncestor( true );
+				element = rangeRoot.getAscendant( 'a', true );
+				if ( element && element.getAttribute( 'href' ) )
+				{
+					selection.selectElement( element );
+				}
+				else if ( ( element = rangeRoot.getAscendant( 'img', true ) ) &&
+						 element.getAttribute( '_cke_real_element_type' ) &&
+						 element.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+				{
+					this.fakeObj = element;
+					element = editor.restoreRealElement( this.fakeObj );
+					selection.selectElement( this.fakeObj );
+				}
+				else
+					element = null;
+			}
+
+			this.setupContent( parseLink.apply( this, [ editor, element ] ) );
+		},
+		onOk : function()
+		{
+			var attributes = { href : 'javascript:void(0)/*' + CKEDITOR.tools.getNextNumber() + '*/' },
+				removeAttributes = [],
+				data = { href : attributes.href },
+				me = this,
+				editor = this.getParentEditor();
+
+			this.commitContent( data );
+
+			// Compose the URL.
+			switch ( data.type || 'url' )
+			{
+				case 'url':
+					var protocol = ( data.url && data.url.protocol != undefined ) ? data.url.protocol : 'http://',
+						url = ( data.url && data.url.url ) || '';
+					attributes._cke_saved_href = ( url.indexOf( '/' ) === 0 ) ? url : protocol + url;
+					break;
+				case 'anchor':
+					var name = ( data.anchor && data.anchor.name ),
+						id = ( data.anchor && data.anchor.id );
+					attributes._cke_saved_href = '#' + ( name || id || '' );
+					break;
+				case 'email':
+
+					var linkHref,
+						email = data.email,
+						address = email.address;
+
+					switch( emailProtection )
+					{
+						case '' :
+						case 'encode' :
+						{
+							var subject = encodeURIComponent( email.subject || '' ),
+								body = encodeURIComponent( email.body || '' );
+
+							// Build the e-mail parameters first.
+							var argList = [];
+							subject && argList.push( 'subject=' + subject );
+							body && argList.push( 'body=' + body );
+							argList = argList.length ? '?' + argList.join( '&' ) : '';
+
+							if ( emailProtection == 'encode' )
+							{
+								linkHref = [ 'javascript:void(location.href=\'mailto:\'+',
+											 protectEmailAddressAsEncodedString( address ) ];
+								// parameters are optional.
+								argList && linkHref.push( '+\'', escapeSingleQuote( argList ), '\'' );
+
+								linkHref.push( ')' );
+							}
+							else
+								linkHref = [ 'mailto:', address, argList ];
+
+							break;
+						}
+						default :
+						{
+							// Separating name and domain.
+							var nameAndDomain = address.split( '@', 2 );
+							email.name = nameAndDomain[ 0 ];
+							email.domain = nameAndDomain[ 1 ];
+
+							linkHref = [ 'javascript:', protectEmailLinkAsFunction( email ) ];
+						}
+					}
+
+					attributes._cke_saved_href = linkHref.join( '' );
+					break;
+			}
+
+			// Popups and target.
+			if ( data.target )
+			{
+				if ( data.target.type == 'popup' )
+				{
+					var onclickList = [ 'window.open(this.href, \'',
+							data.target.name || '', '\', \'' ];
+					var featureList = [ 'resizable', 'status', 'location', 'toolbar', 'menubar', 'fullscreen',
+							'scrollbars', 'dependent' ];
+					var featureLength = featureList.length;
+					var addFeature = function( featureName )
+					{
+						if ( data.target[ featureName ] )
+							featureList.push( featureName + '=' + data.target[ featureName ] );
+					};
+
+					for ( var i = 0 ; i < featureLength ; i++ )
+						featureList[i] = featureList[i] + ( data.target[ featureList[i] ] ? '=yes' : '=no' ) ;
+					addFeature( 'width' );
+					addFeature( 'left' );
+					addFeature( 'height' );
+					addFeature( 'top' );
+
+					onclickList.push( featureList.join( ',' ), '\'); return false;' );
+					attributes[ '_cke_pa_onclick' ] = onclickList.join( '' );
+				}
+				else
+				{
+					if ( data.target.type != 'notSet' && data.target.name )
+						attributes.target = data.target.name;
+					else
+						removeAttributes.push( 'target' );
+
+					removeAttributes.push( '_cke_pa_onclick', 'onclick' );
+				}
+			}
+
+			// Advanced attributes.
+			if ( data.adv )
+			{
+				var advAttr = function( inputName, attrName )
+				{
+					var value = data.adv[ inputName ];
+					if ( value )
+						attributes[attrName] = value;
+					else
+						removeAttributes.push( attrName );
+				};
+
+				if ( this._.selectedElement )
+					advAttr( 'advId', 'id' );
+				advAttr( 'advLangDir', 'dir' );
+				advAttr( 'advAccessKey', 'accessKey' );
+				advAttr( 'advName', 'name' );
+				advAttr( 'advLangCode', 'lang' );
+				advAttr( 'advTabIndex', 'tabindex' );
+				advAttr( 'advTitle', 'title' );
+				advAttr( 'advContentType', 'type' );
+				advAttr( 'advCSSClasses', 'class' );
+				advAttr( 'advCharset', 'charset' );
+				advAttr( 'advStyles', 'style' );
+			}
+
+			if ( !this._.selectedElement )
+			{
+				// Create element if current selection is collapsed.
+				var selection = editor.getSelection(),
+					ranges = selection.getRanges();
+				if ( ranges.length == 1 && ranges[0].collapsed )
+				{
+					var text = new CKEDITOR.dom.text( attributes._cke_saved_href, editor.document );
+					ranges[0].insertNode( text );
+					ranges[0].selectNodeContents( text );
+					selection.selectRanges( ranges );
+				}
+
+				// Apply style.
+				var style = new CKEDITOR.style( { element : 'a', attributes : attributes } );
+				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
+			{
+				// We're only editing an existing link, so just overwrite the attributes.
+				var element = this._.selectedElement;
+
+				// IE BUG: Setting the name attribute to an existing link doesn't work.
+				// Must re-create the link from weired syntax to workaround.
+				if ( CKEDITOR.env.ie && attributes.name != element.getAttribute( 'name' ) )
+				{
+					var newElement = new CKEDITOR.dom.element( '<a name="' + CKEDITOR.tools.htmlEncode( attributes.name ) + '">',
+							editor.document );
+
+					selection = editor.getSelection();
+
+					element.moveChildren( newElement );
+					element.copyAttributes( newElement, { name : 1 } );
+					newElement.replace( element );
+					element = newElement;
+
+					selection.selectElement( element );
+				}
+
+				element.setAttributes( attributes );
+				element.removeAttributes( removeAttributes );
+
+				// Make the element display as an anchor if a name has been set.
+				if ( element.getAttribute( 'name' ) )
+					element.addClass( 'cke_anchor' );
+				else
+					element.removeClass( 'cke_anchor' );
+
+				if ( this.fakeObj )
+					editor.createFakeElement( element, 'cke_anchor', 'anchor' ).replace( this.fakeObj );
+
+				delete this._.selectedElement;
+			}
+		},
+		onLoad : function()
+		{
+			if ( !editor.config.linkShowAdvancedTab )
+				this.hidePage( 'advanced' );		//Hide Advanded tab.
+
+			if ( !editor.config.linkShowTargetTab )
+				this.hidePage( 'target' );		//Hide Target tab.
+
+		}
+	};
+});
+
+/**
+ * The e-mail address anti-spam protection option.
+ * @name CKEDITOR.config.emailProtection
+ * @type {String}
+ * Two forms of protection could be choosed from :
+ * 1. The whole address parts ( name, domain with any other query string ) are assembled into a
+ *   function call pattern which invoke you own provided function, with the specified arguments.
+ * 2. Only the e-mail address is obfuscated into unicode code point sequences, replacement are
+ *   done by a String.fromCharCode() call.
+ * Note: Both approaches require JavaScript to be enabled.
+ * @default ''
+ * @example
+ *  config.emailProtection = '';
+ *  // href="mailto:tester@ckeditor.com?subject=subject&body=body"
+ *  config.emailProtection = 'encode';
+ *  // href="<a href=\"javascript:void(location.href=\'mailto:\'+String.fromCharCode(116,101,115,116,101,114,64,99,107,101,100,105,116,111,114,46,99,111,109)+\'?subject=subject&body=body\')\">e-mail</a>"
+ *  config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)';
+ *  // href="javascript:mt('tester','ckeditor.com','subject','body')"
+ */
Index: CKEditor/branches/features/aria/_source/plugins/link/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/link/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/link/plugin.js	(revision 4888)
@@ -0,0 +1,188 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'link',
+{
+	init : function( editor )
+	{
+		// Add the link and unlink buttons.
+		editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) );
+		editor.addCommand( 'anchor', new CKEDITOR.dialogCommand( 'anchor' ) );
+		editor.addCommand( 'unlink', new CKEDITOR.unlinkCommand() );
+		editor.ui.addButton( 'Link',
+			{
+				label : editor.lang.link.toolbar,
+				command : 'link'
+			} );
+		editor.ui.addButton( 'Unlink',
+			{
+				label : editor.lang.unlink,
+				command : 'unlink'
+			} );
+		editor.ui.addButton( 'Anchor',
+			{
+				label : editor.lang.anchor.toolbar,
+				command : 'anchor'
+			} );
+		CKEDITOR.dialog.add( 'link', this.path + 'dialogs/link.js' );
+		CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' );
+
+		// Add the CSS styles for anchor placeholders.
+		editor.addCss(
+			'img.cke_anchor' +
+			'{' +
+				'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
+				'background-position: center center;' +
+				'background-repeat: no-repeat;' +
+				'border: 1px solid #a9a9a9;' +
+				'width: 18px;' +
+				'height: 18px;' +
+			'}\n' +
+			'a.cke_anchor' +
+			'{' +
+				'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
+				'background-position: 0 center;' +
+				'background-repeat: no-repeat;' +
+				'border: 1px solid #a9a9a9;' +
+				'padding-left: 18px;' +
+			'}'
+		   	);
+
+		// Register selection change handler for the unlink button.
+		 editor.on( 'selectionChange', function( evt )
+			{
+				/*
+				 * Despite our initial hope, document.queryCommandEnabled() does not work
+				 * for this in Firefox. So we must detect the state by element paths.
+				 */
+				var command = editor.getCommand( 'unlink' ),
+					element = evt.data.path.lastElement.getAscendant( 'a', true );
+				if ( element && element.getName() == 'a' && element.getAttribute( 'href' ) )
+					command.setState( CKEDITOR.TRISTATE_OFF );
+				else
+					command.setState( CKEDITOR.TRISTATE_DISABLED );
+			} );
+
+		// If the "menu" plugin is loaded, register the menu items.
+		if ( editor.addMenuItems )
+		{
+			editor.addMenuItems(
+				{
+					anchor :
+					{
+						label : editor.lang.anchor.menu,
+						command : 'anchor',
+						group : 'anchor'
+					},
+
+					link :
+					{
+						label : editor.lang.link.menu,
+						command : 'link',
+						group : 'link',
+						order : 1
+					},
+
+					unlink :
+					{
+						label : editor.lang.unlink,
+						command : 'unlink',
+						group : 'link',
+						order : 5
+					}
+				});
+		}
+
+		// If the "contextmenu" plugin is loaded, register the listeners.
+		if ( editor.contextMenu )
+		{
+			editor.contextMenu.addListener( function( element, selection )
+				{
+					if ( !element )
+						return null;
+
+					var isAnchor = ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'anchor' );
+
+					if ( !isAnchor )
+					{
+						if ( !( element = element.getAscendant( 'a', true ) ) )
+							return null;
+
+						isAnchor = ( element.getAttribute( 'name' ) && !element.getAttribute( 'href' ) );
+					}
+
+					return isAnchor ?
+							{ anchor : CKEDITOR.TRISTATE_OFF } :
+							{ link : CKEDITOR.TRISTATE_OFF, unlink : CKEDITOR.TRISTATE_OFF };
+				});
+		}
+	},
+
+	afterInit : function( editor )
+	{
+		// Register a filter to displaying placeholders after mode change.
+
+		var dataProcessor = editor.dataProcessor,
+			dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+		if ( dataFilter )
+		{
+			dataFilter.addRules(
+				{
+					elements :
+					{
+						a : function( element )
+						{
+							var attributes = element.attributes;
+							if ( attributes.name && !attributes.href )
+								return editor.createFakeParserElement( element, 'cke_anchor', 'anchor' );
+						}
+					}
+				});
+		}
+	},
+
+	requires : [ 'fakeobjects' ]
+} );
+
+CKEDITOR.unlinkCommand = function(){};
+CKEDITOR.unlinkCommand.prototype =
+{
+	/** @ignore */
+	exec : function( editor )
+	{
+		/*
+		 * execCommand( 'unlink', ... ) in Firefox leaves behind <span> tags at where
+		 * the <a> was, so again we have to remove the link ourselves. (See #430)
+		 *
+		 * TODO: Use the style system when it's complete. Let's use execCommand()
+		 * as a stopgap solution for now.
+		 */
+		var selection = editor.getSelection(),
+			bookmarks = selection.createBookmarks(),
+			ranges = selection.getRanges(),
+			rangeRoot,
+			element;
+
+		for ( var i = 0 ; i < ranges.length ; i++ )
+		{
+			rangeRoot = ranges[i].getCommonAncestor( true );
+			element = rangeRoot.getAscendant( 'a', true );
+			if ( !element )
+				continue;
+			ranges[i].selectNodeContents( element );
+		}
+
+		selection.selectRanges( ranges );
+		editor.document.$.execCommand( 'unlink', false, null );
+		selection.selectBookmarks( bookmarks );
+	}
+};
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+{
+	linkShowAdvancedTab : true,
+	linkShowTargetTab : true
+} );
Index: CKEditor/branches/features/aria/_source/plugins/list/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/list/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/list/plugin.js	(revision 4888)
@@ -0,0 +1,643 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Insert and remove numbered and bulleted lists.
+ */
+
+(function()
+{
+	var listNodeNames = { ol : 1, ul : 1 },
+		emptyTextRegex = /^[\n\r\t ]*$/;
+
+	CKEDITOR.plugins.list = {
+		/*
+		 * Convert a DOM list tree into a data structure that is easier to
+		 * manipulate. This operation should be non-intrusive in the sense that it
+		 * does not change the DOM tree, with the exception that it may add some
+		 * markers to the list item nodes when database is specified.
+		 */
+		listToArray : function( listNode, database, baseArray, baseIndentLevel, grandparentNode )
+		{
+			if ( !listNodeNames[ listNode.getName() ] )
+				return [];
+
+			if ( !baseIndentLevel )
+				baseIndentLevel = 0;
+			if ( !baseArray )
+				baseArray = [];
+
+			// Iterate over all list items to get their contents and look for inner lists.
+			for ( var i = 0, count = listNode.getChildCount() ; i < count ; i++ )
+			{
+				var listItem = listNode.getChild( i );
+
+				// It may be a text node or some funny stuff.
+				if ( listItem.$.nodeName.toLowerCase() != 'li' )
+					continue;
+				var itemObj = { 'parent' : listNode, indent : baseIndentLevel, contents : [] };
+				if ( !grandparentNode )
+				{
+					itemObj.grandparent = listNode.getParent();
+					if ( itemObj.grandparent && itemObj.grandparent.$.nodeName.toLowerCase() == 'li' )
+						itemObj.grandparent = itemObj.grandparent.getParent();
+				}
+				else
+					itemObj.grandparent = grandparentNode;
+
+				if ( database )
+					CKEDITOR.dom.element.setMarker( database, listItem, 'listarray_index', baseArray.length );
+				baseArray.push( itemObj );
+
+				for ( var j = 0, itemChildCount = listItem.getChildCount() ; j < itemChildCount ; j++ )
+				{
+					var child = listItem.getChild( j );
+					if ( child.type == CKEDITOR.NODE_ELEMENT && listNodeNames[ child.getName() ] )
+						// Note the recursion here, it pushes inner list items with
+						// +1 indentation in the correct order.
+						CKEDITOR.plugins.list.listToArray( child, database, baseArray, baseIndentLevel + 1, itemObj.grandparent );
+					else
+						itemObj.contents.push( child );
+				}
+			}
+			return baseArray;
+		},
+
+		// Convert our internal representation of a list back to a DOM forest.
+		arrayToList : function( listArray, database, baseIndex, paragraphMode )
+		{
+			if ( !baseIndex )
+				baseIndex = 0;
+			if ( !listArray || listArray.length < baseIndex + 1 )
+				return null;
+			var doc = listArray[ baseIndex ].parent.getDocument(),
+				retval = new CKEDITOR.dom.documentFragment( doc ),
+				rootNode = null,
+				currentIndex = baseIndex,
+				indentLevel = Math.max( listArray[ baseIndex ].indent, 0 ),
+				currentListItem = null,
+				paragraphName = ( paragraphMode == CKEDITOR.ENTER_P ? 'p' : 'div' );
+			while ( true )
+			{
+				var item = listArray[ currentIndex ];
+				if ( item.indent == indentLevel )
+				{
+					if ( !rootNode || listArray[ currentIndex ].parent.getName() != rootNode.getName() )
+					{
+						rootNode = listArray[ currentIndex ].parent.clone( false, true );
+						retval.append( rootNode );
+					}
+					currentListItem = rootNode.append( doc.createElement( 'li' ) );
+					for ( var i = 0 ; i < item.contents.length ; i++ )
+						currentListItem.append( item.contents[i].clone( true, true ) );
+					currentIndex++;
+				}
+				else if ( item.indent == Math.max( indentLevel, 0 ) + 1 )
+				{
+					var listData = CKEDITOR.plugins.list.arrayToList( listArray, null, currentIndex, paragraphMode );
+					currentListItem.append( listData.listNode );
+					currentIndex = listData.nextIndex;
+				}
+				else if ( item.indent == -1 && !baseIndex && item.grandparent )
+				{
+					currentListItem;
+					if ( listNodeNames[ item.grandparent.getName() ] )
+						currentListItem = doc.createElement( 'li' );
+					else
+					{
+						if ( paragraphMode != CKEDITOR.ENTER_BR && item.grandparent.getName() != 'td' )
+							currentListItem = doc.createElement( paragraphName );
+						else
+							currentListItem = new CKEDITOR.dom.documentFragment( doc );
+					}
+
+					for ( i = 0 ; i < item.contents.length ; i++ )
+						currentListItem.append( item.contents[i].clone( true, true ) );
+
+					if ( currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT
+						 && currentIndex != listArray.length - 1 )
+					{
+						if ( currentListItem.getLast()
+								&& currentListItem.getLast().type == CKEDITOR.NODE_ELEMENT
+								&& currentListItem.getLast().getAttribute( 'type' ) == '_moz' )
+							currentListItem.getLast().remove();
+						currentListItem.appendBogus();
+					}
+
+					if ( currentListItem.type == CKEDITOR.NODE_ELEMENT &&
+							currentListItem.getName() == paragraphName &&
+							currentListItem.$.firstChild )
+					{
+						currentListItem.trim();
+						var firstChild = currentListItem.getFirst();
+						if ( firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.isBlockBoundary() )
+						{
+							var tmp = new CKEDITOR.dom.documentFragment( doc );
+							currentListItem.moveChildren( tmp );
+							currentListItem = tmp;
+						}
+					}
+
+					var currentListItemName = currentListItem.$.nodeName.toLowerCase();
+					if ( !CKEDITOR.env.ie && ( currentListItemName == 'div' || currentListItemName == 'p' ) )
+						currentListItem.appendBogus();
+					retval.append( currentListItem );
+					rootNode = null;
+					currentIndex++;
+				}
+				else
+					return null;
+
+				if ( listArray.length <= currentIndex || Math.max( listArray[ currentIndex ].indent, 0 ) < indentLevel )
+					break;
+			}
+
+			// Clear marker attributes for the new list tree made of cloned nodes, if any.
+			if ( database )
+			{
+				var currentNode = retval.getFirst();
+				while ( currentNode )
+				{
+					if ( currentNode.type == CKEDITOR.NODE_ELEMENT )
+						CKEDITOR.dom.element.clearMarkers( database, currentNode );
+					currentNode = currentNode.getNextSourceNode();
+				}
+			}
+
+			return { listNode : retval, nextIndex : currentIndex };
+		}
+	};
+
+	function setState( editor, state )
+	{
+		editor.getCommand( this.name ).setState( state );
+	}
+
+	function onSelectionChange( evt )
+	{
+		var path = evt.data.path,
+			blockLimit = path.blockLimit,
+			elements = path.elements,
+			element;
+
+		// Grouping should only happen under blockLimit.(#3940).
+		for ( var 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 );
+	}
+
+	function changeListType( editor, groupObj, database, listsCreated )
+	{
+		// This case is easy...
+		// 1. Convert the whole list into a one-dimensional array.
+		// 2. Change the list type by modifying the array.
+		// 3. Recreate the whole list by converting the array to a list.
+		// 4. Replace the original list with the recreated list.
+		var listArray = CKEDITOR.plugins.list.listToArray( groupObj.root, database ),
+			selectedListItems = [];
+
+		for ( var i = 0 ; i < groupObj.contents.length ; i++ )
+		{
+			var itemNode = groupObj.contents[i];
+			itemNode = itemNode.getAscendant( 'li', true );
+			if ( !itemNode || itemNode.getCustomData( 'list_item_processed' ) )
+				continue;
+			selectedListItems.push( itemNode );
+			CKEDITOR.dom.element.setMarker( database, itemNode, 'list_item_processed', true );
+		}
+
+		var fakeParent = groupObj.root.getDocument().createElement( this.type );
+		for ( i = 0 ; i < selectedListItems.length ; i++ )
+		{
+			var listIndex = selectedListItems[i].getCustomData( 'listarray_index' );
+			listArray[listIndex].parent = fakeParent;
+		}
+		var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode );
+		var child, length = newList.listNode.getChildCount();
+		for ( i = 0 ; i < length && ( child = newList.listNode.getChild( i ) ) ; i++ )
+		{
+			if ( child.getName() == this.type )
+				listsCreated.push( child );
+		}
+		newList.listNode.replace( groupObj.root );
+	}
+
+	function createList( editor, groupObj, listsCreated )
+	{
+		var contents = groupObj.contents,
+			doc = groupObj.root.getDocument(),
+			listContents = [];
+
+		// It is possible to have the contents returned by DomRangeIterator to be the same as the root.
+		// e.g. when we're running into table cells.
+		// In such a case, enclose the childNodes of contents[0] into a <div>.
+		if ( contents.length == 1 && contents[0].equals( groupObj.root ) )
+		{
+			var divBlock = doc.createElement( 'div' );
+			contents[0].moveChildren && contents[0].moveChildren( divBlock );
+			contents[0].append( divBlock );
+			contents[0] = divBlock;
+		}
+
+		// Calculate the common parent node of all content blocks.
+		var commonParent = groupObj.contents[0].getParent();
+		for ( var i = 0 ; i < contents.length ; i++ )
+			commonParent = commonParent.getCommonAncestor( contents[i].getParent() );
+
+		// We want to insert things that are in the same tree level only, so calculate the contents again
+		// by expanding the selected blocks to the same tree level.
+		for ( i = 0 ; i < contents.length ; i++ )
+		{
+			var contentNode = contents[i],
+				parentNode;
+			while ( ( parentNode = contentNode.getParent() ) )
+			{
+				if ( parentNode.equals( commonParent ) )
+				{
+					listContents.push( contentNode );
+					break;
+				}
+				contentNode = parentNode;
+			}
+		}
+
+		if ( listContents.length < 1 )
+			return;
+
+		// Insert the list to the DOM tree.
+		var insertAnchor = listContents[ listContents.length - 1 ].getNext(),
+			listNode = doc.createElement( this.type );
+
+		listsCreated.push( listNode );
+		while ( listContents.length )
+		{
+			var contentBlock = listContents.shift(),
+				listItem = doc.createElement( 'li' );
+			contentBlock.moveChildren( listItem );
+			contentBlock.remove();
+			listItem.appendTo( listNode );
+
+			// Append a bogus BR to force the LI to render at full height
+			if ( !CKEDITOR.env.ie )
+				listItem.appendBogus();
+		}
+		if ( insertAnchor )
+			listNode.insertBefore( insertAnchor );
+		else
+			listNode.appendTo( commonParent );
+	}
+
+	function removeList( editor, groupObj, database )
+	{
+		// This is very much like the change list type operation.
+		// Except that we're changing the selected items' indent to -1 in the list array.
+		var listArray = CKEDITOR.plugins.list.listToArray( groupObj.root, database ),
+			selectedListItems = [];
+
+		for ( var i = 0 ; i < groupObj.contents.length ; i++ )
+		{
+			var itemNode = groupObj.contents[i];
+			itemNode = itemNode.getAscendant( 'li', true );
+			if ( !itemNode || itemNode.getCustomData( 'list_item_processed' ) )
+				continue;
+			selectedListItems.push( itemNode );
+			CKEDITOR.dom.element.setMarker( database, itemNode, 'list_item_processed', true );
+		}
+
+		var lastListIndex = null;
+		for ( i = 0 ; i < selectedListItems.length ; i++ )
+		{
+			var listIndex = selectedListItems[i].getCustomData( 'listarray_index' );
+			listArray[listIndex].indent = -1;
+			lastListIndex = listIndex;
+		}
+
+		// After cutting parts of the list out with indent=-1, we still have to maintain the array list
+		// model's nextItem.indent <= currentItem.indent + 1 invariant. Otherwise the array model of the
+		// list cannot be converted back to a real DOM list.
+		for ( i = lastListIndex + 1 ; i < listArray.length ; i++ )
+		{
+			if ( listArray[i].indent > listArray[i-1].indent + 1 )
+			{
+				var indentOffset = listArray[i-1].indent + 1 - listArray[i].indent;
+				var oldIndent = listArray[i].indent;
+				while ( listArray[i] && listArray[i].indent >= oldIndent )
+				{
+					listArray[i].indent += indentOffset;
+					i++;
+				}
+				i--;
+			}
+		}
+
+		var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode );
+
+		// Compensate <br> before/after the list node if the surrounds are non-blocks.(#3836)
+		var docFragment = newList.listNode, boundaryNode, siblingNode;
+		function compensateBrs( isStart )
+		{
+			if ( ( boundaryNode = docFragment[ isStart ? 'getFirst' : 'getLast' ]() )
+				 && !( boundaryNode.is && boundaryNode.isBlockBoundary() )
+				 && ( siblingNode = groupObj.root[ isStart ? 'getPrevious' : 'getNext' ]
+				      ( CKEDITOR.dom.walker.whitespaces( true ) ) )
+				 && !( siblingNode.is && siblingNode.isBlockBoundary( { br : 1 } ) ) )
+				editor.document.createElement( 'br' )[ isStart ? 'insertBefore' : 'insertAfter' ]( boundaryNode );
+		}
+		compensateBrs( true );
+		compensateBrs();
+
+		docFragment.replace( groupObj.root );
+	}
+
+	function listCommand( name, type )
+	{
+		this.name = name;
+		this.type = type;
+	}
+
+	listCommand.prototype = {
+		exec : function( editor )
+		{
+			editor.focus();
+
+			var doc = editor.document,
+				selection = editor.getSelection(),
+				ranges = selection && selection.getRanges();
+
+			// There should be at least one selected range.
+			if ( !ranges || ranges.length < 1 )
+				return;
+
+			// Midas lists rule #1 says we can create a list even in an empty document.
+			// But DOM iterator wouldn't run if the document is really empty.
+			// So create a paragraph if the document is empty and we're going to create a list.
+			if ( this.state == CKEDITOR.TRISTATE_OFF )
+			{
+				var body = doc.getBody();
+				body.trim();
+				if ( !body.getFirst() )
+				{
+					var paragraph = doc.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' :
+							( editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'br' ) );
+					paragraph.appendTo( body );
+					ranges = [ new CKEDITOR.dom.range( doc ) ];
+					// IE exception on inserting anything when anchor inside <br>.
+					if ( paragraph.is( 'br' ) )
+					{
+						ranges[ 0 ].setStartBefore( paragraph );
+						ranges[ 0 ].setEndAfter( paragraph );
+					}
+					else
+						ranges[ 0 ].selectNodeContents( paragraph );
+					selection.selectRanges( ranges );
+				}
+				// Maybe a single range there enclosing the whole list,
+				// turn on the list state manually(#4129).
+				else
+				{
+					var range = ranges.length == 1 && ranges[ 0 ],
+						enclosedNode = range && range.getEnclosedNode();
+					if ( enclosedNode && enclosedNode.is
+						&& this.type == enclosedNode.getName() )
+					{
+						setState.call( this, editor, CKEDITOR.TRISTATE_ON );
+					}
+				}
+			}
+
+			var bookmarks = selection.createBookmarks( true );
+
+			// Group the blocks up because there are many cases where multiple lists have to be created,
+			// or multiple lists have to be cancelled.
+			var listGroups = [],
+				database = {};
+
+			while ( ranges.length > 0 )
+			{
+				range = ranges.shift();
+
+				var boundaryNodes = range.getBoundaryNodes(),
+					startNode = boundaryNodes.startNode,
+					endNode = boundaryNodes.endNode;
+
+				if ( startNode.type == CKEDITOR.NODE_ELEMENT && startNode.getName() == 'td' )
+					range.setStartAt( boundaryNodes.startNode, CKEDITOR.POSITION_AFTER_START );
+
+				if ( endNode.type == CKEDITOR.NODE_ELEMENT && endNode.getName() == 'td' )
+					range.setEndAt( boundaryNodes.endNode, CKEDITOR.POSITION_BEFORE_END );
+
+				var iterator = range.createIterator(),
+					block;
+
+				iterator.forceBrBreak = ( this.state == CKEDITOR.TRISTATE_OFF );
+
+				while ( ( block = iterator.getNextParagraph() ) )
+				{
+					var path = new CKEDITOR.dom.elementPath( block ),
+						pathElements = path.elements,
+						pathElementsCount = pathElements.length,
+						listNode = null,
+						processedFlag = false,
+						blockLimit = path.blockLimit,
+						element;
+
+					// First, try to group by a list ancestor.
+					for ( var i = pathElementsCount - 1; i >= 0 && ( element = pathElements[ i ] ); i-- )
+					{
+						if ( listNodeNames[ element.getName() ]
+							 && blockLimit.contains( element ) )     // Don't leak outside block limit (#3940).
+						{
+							// If we've encountered a list inside a block limit
+							// The last group object of the block limit element should
+							// no longer be valid. Since paragraphs after the list
+							// should belong to a different group of paragraphs before
+							// the list. (Bug #1309)
+							blockLimit.removeCustomData( 'list_group_object' );
+
+							var groupObj = element.getCustomData( 'list_group_object' );
+							if ( groupObj )
+								groupObj.contents.push( block );
+							else
+							{
+								groupObj = { root : element, contents : [ block ] };
+								listGroups.push( groupObj );
+								CKEDITOR.dom.element.setMarker( database, element, 'list_group_object', groupObj );
+							}
+							processedFlag = true;
+							break;
+						}
+					}
+
+					if ( processedFlag )
+						continue;
+
+					// No list ancestor? Group by block limit.
+					var root = blockLimit;
+					if ( root.getCustomData( 'list_group_object' ) )
+						root.getCustomData( 'list_group_object' ).contents.push( block );
+					else
+					{
+						groupObj = { root : root, contents : [ block ] };
+						CKEDITOR.dom.element.setMarker( database, root, 'list_group_object', groupObj );
+						listGroups.push( groupObj );
+					}
+				}
+			}
+
+			// Now we have two kinds of list groups, groups rooted at a list, and groups rooted at a block limit element.
+			// We either have to build lists or remove lists, for removing a list does not makes sense when we are looking
+			// at the group that's not rooted at lists. So we have three cases to handle.
+			var listsCreated = [];
+			while ( listGroups.length > 0 )
+			{
+				groupObj = listGroups.shift();
+				if ( this.state == CKEDITOR.TRISTATE_OFF )
+				{
+					if ( listNodeNames[ groupObj.root.getName() ] )
+						changeListType.call( this, editor, groupObj, database, listsCreated );
+					else
+						createList.call( this, editor, groupObj, listsCreated );
+				}
+				else if ( this.state == CKEDITOR.TRISTATE_ON && listNodeNames[ groupObj.root.getName() ] )
+					removeList.call( this, editor, groupObj, database );
+			}
+
+			// For all new lists created, merge adjacent, same type lists.
+			for ( i = 0 ; i < listsCreated.length ; i++ )
+			{
+				listNode = listsCreated[i];
+				var mergeSibling, listCommand = this;
+				( mergeSibling = function( rtl ){
+
+					var sibling = listNode[ rtl ?
+						'getPrevious' : 'getNext' ]( CKEDITOR.dom.walker.whitespaces( true ) );
+					if ( sibling && sibling.getName &&
+					     sibling.getName() == listCommand.type )
+					{
+						sibling.remove();
+						// Move children order by merge direction.(#3820)
+						sibling.moveChildren( listNode, rtl ? true : false );
+					}
+				} )();
+				mergeSibling( true );
+			}
+
+			// Clean up, restore selection and update toolbar button states.
+			CKEDITOR.dom.element.clearAllMarkers( database );
+			selection.selectBookmarks( bookmarks );
+			editor.focus();
+		}
+	};
+
+	var dtd = CKEDITOR.dtd;
+	var tailNbspRegex = /[\t\r\n ]*(?:&nbsp;|\xa0)$/;
+
+	function indexOfFirstChildElement( element, tagNameList )
+	{
+		var child,
+			children = element.children,
+			length = children.length;
+
+		for ( var i = 0 ; i < length ; i++ )
+		{
+			child = children[ i ];
+			if ( child.name && ( child.name in tagNameList ) )
+				return i;
+		}
+
+		return length;
+	}
+
+	function getExtendNestedListFilter( isHtmlFilter )
+	{
+		// An element filter function that corrects nested list start in an empty
+		// list item for better displaying/outputting. (#3165)
+		return function( listItem )
+		{
+			var children = listItem.children,
+				firstNestedListIndex = indexOfFirstChildElement( listItem, dtd.$list ),
+				firstNestedList = children[ firstNestedListIndex ],
+				nodeBefore = firstNestedList && firstNestedList.previous,
+				tailNbspmatch;
+
+			if( nodeBefore
+				&& ( nodeBefore.name && nodeBefore.name == 'br'
+					|| nodeBefore.value && ( tailNbspmatch = nodeBefore.value.match( tailNbspRegex ) ) ) )
+			{
+				var fillerNode = nodeBefore;
+
+				// Always use 'nbsp' as filler node if we found a nested list appear
+				// in front of a list item.
+				if ( !( tailNbspmatch && tailNbspmatch.index ) && fillerNode == children[ 0 ] )
+					children[ 0 ] = ( isHtmlFilter || CKEDITOR.env.ie ) ?
+					                 new CKEDITOR.htmlParser.text( '\xa0' ) :
+									 new CKEDITOR.htmlParser.element( 'br', {} );
+
+				// Otherwise the filler is not needed anymore.
+				else if ( fillerNode.name == 'br' )
+					children.splice( firstNestedListIndex - 1, 1 );
+				else
+					fillerNode.value = fillerNode.value.replace( tailNbspRegex, '' );
+			}
+
+		};
+	}
+
+	var defaultListDataFilterRules = { elements : {} };
+	for( var i in dtd.$listItem )
+		defaultListDataFilterRules.elements[ i ] = getExtendNestedListFilter();
+
+	var defaultListHtmlFilterRules = { elements : {} };
+	for( i in dtd.$listItem )
+		defaultListHtmlFilterRules.elements[ i ] = getExtendNestedListFilter( true );
+
+	CKEDITOR.plugins.add( 'list',
+	{
+		init : function( editor )
+		{
+			// Register commands.
+			var numberedListCommand = new listCommand( 'numberedlist', 'ol' ),
+				bulletedListCommand = new listCommand( 'bulletedlist', 'ul' );
+			editor.addCommand( 'numberedlist', numberedListCommand );
+			editor.addCommand( 'bulletedlist', bulletedListCommand );
+
+			// Register the toolbar button.
+			editor.ui.addButton( 'NumberedList',
+				{
+					label : editor.lang.numberedlist,
+					command : 'numberedlist'
+				} );
+			editor.ui.addButton( 'BulletedList',
+				{
+					label : editor.lang.bulletedlist,
+					command : 'bulletedlist'
+				} );
+
+			// Register the state changing handlers.
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, numberedListCommand ) );
+			editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, bulletedListCommand ) );
+		},
+
+		afterInit : function ( editor )
+		{
+			var dataProcessor = editor.dataProcessor;
+			if( dataProcessor )
+			{
+				dataProcessor.dataFilter.addRules( defaultListDataFilterRules );
+				dataProcessor.htmlFilter.addRules( defaultListHtmlFilterRules );
+			}
+		},
+
+		requires : [ 'domiterator' ]
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/listblock/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/listblock/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/listblock/plugin.js	(revision 4888)
@@ -0,0 +1,231 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'listblock',
+{
+	requires : [ 'panel' ],
+
+	onLoad : function()
+	{
+		CKEDITOR.ui.panel.prototype.addListBlock = function( name, multiSelect )
+		{
+			return this.addBlock( name, new CKEDITOR.ui.listBlock( this.getHolderElement(), multiSelect ) );
+		};
+
+		CKEDITOR.ui.listBlock = CKEDITOR.tools.createClass(
+			{
+				base : CKEDITOR.ui.panel.block,
+
+				$ : function( blockHolder, multiSelect )
+				{
+					// Call the base contructor.
+					this.base( blockHolder );
+
+					this.multiSelect = !!multiSelect;
+
+					var keys = this.keys;
+					keys[ 40 ]	= 'next';					// ARROW-DOWN
+					keys[ 9 ]	= 'next';					// TAB
+					keys[ 38 ]	= 'prev';					// ARROW-UP
+					keys[ CKEDITOR.SHIFT + 9 ]	= 'prev';	// SHIFT + TAB
+					keys[ 32 ]	= 'click';					// SPACE
+
+					this._.pendingHtml = [];
+					this._.items = {};
+					this._.groups = {};
+				},
+
+				_ :
+				{
+					close : function()
+					{
+						if ( this._.started )
+						{
+							this._.pendingHtml.push( '</ul>' );
+							delete this._.started;
+						}
+					},
+
+					getClick : function()
+					{
+						if ( !this._.click )
+						{
+							this._.click = CKEDITOR.tools.addFunction( function( value )
+								{
+									var marked = true;
+
+									if ( this.multiSelect )
+										marked = this.toggle( value );
+									else
+										this.mark( value );
+
+									if ( this.onClick )
+										this.onClick( value, marked );
+								},
+								this );
+						}
+						return this._.click;
+					}
+				},
+
+				proto :
+				{
+					add : function( value, html, title )
+					{
+						var pendingHtml = this._.pendingHtml,
+							id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+						if ( !this._.started )
+						{
+							pendingHtml.push( '<ul class=cke_panel_list>' );
+							this._.started = 1;
+						}
+
+						this._.items[ value ] = id;
+
+						pendingHtml.push(
+							'<li id=', id, ' class=cke_panel_listItem>' +
+								'<a _cke_focus=1 hidefocus=true' +
+									' title="', title || value, '"' +
+									' href="javascript:void(\'', value, '\')"' +
+									' onclick="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\'); return false;">',
+									html || value,
+								'</a>' +
+							'</li>' );
+					},
+
+					startGroup : function( title )
+					{
+						this._.close();
+
+						var id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+						this._.groups[ title ] = id;
+
+						this._.pendingHtml.push( '<h1 id=', id, ' class=cke_panel_grouptitle>', title, '</h1>' );
+					},
+
+					commit : function()
+					{
+						this._.close();
+						this.element.appendHtml( this._.pendingHtml.join( '' ) );
+						this._.pendingHtml = [];
+					},
+
+					toggle : function( value )
+					{
+						var isMarked = this.isMarked( value );
+
+						if ( isMarked )
+							this.unmark( value );
+						else
+							this.mark( value );
+
+						return !isMarked;
+					},
+
+					hideGroup : function( groupTitle )
+					{
+						var group = this.element.getDocument().getById( this._.groups[ groupTitle ] ),
+							list = group && group.getNext();
+
+						if ( group )
+						{
+							group.setStyle( 'display', 'none' );
+
+							if ( list && list.getName() == 'ul' )
+								list.setStyle( 'display', 'none' );
+						}
+					},
+
+					hideItem : function( value )
+					{
+						this.element.getDocument().getById( this._.items[ value ] ).setStyle( 'display', 'none' );
+					},
+
+					showAll : function()
+					{
+						var items = this._.items,
+							groups = this._.groups,
+							doc = this.element.getDocument();
+
+						for ( var value in items )
+						{
+							doc.getById( items[ value ] ).setStyle( 'display', '' );
+						}
+
+						for ( var title in groups )
+						{
+							var group = doc.getById( groups[ title ] ),
+								list = group.getNext();
+
+							group.setStyle( 'display', '' );
+
+							if ( list && list.getName() == 'ul' )
+								list.setStyle( 'display', '' );
+						}
+					},
+
+					mark : function( value )
+					{
+						if ( !this.multiSelect )
+							this.unmarkAll();
+
+						this.element.getDocument().getById( this._.items[ value ] ).addClass( 'cke_selected' );
+					},
+
+					unmark : function( value )
+					{
+						this.element.getDocument().getById( this._.items[ value ] ).removeClass( 'cke_selected' );
+					},
+
+					unmarkAll : function()
+					{
+						var items = this._.items,
+							doc = this.element.getDocument();
+
+						for ( var value in items )
+						{
+							doc.getById( items[ value ] ).removeClass( 'cke_selected' );
+						}
+					},
+
+					isMarked : function( value )
+					{
+						return this.element.getDocument().getById( this._.items[ value ] ).hasClass( 'cke_selected' );
+					},
+
+					focus : function( value )
+					{
+						this._.focusIndex = -1;
+
+						if ( value )
+						{
+							var selected = this.element.getDocument().getById( this._.items[ value ] ).getFirst();
+
+							var links = this.element.getElementsByTag( 'a' ),
+								link,
+								i = -1;
+
+							while( ( link = links.getItem( ++i ) ) )
+							{
+								if ( link.equals( selected ) )
+								{
+									this._.focusIndex = i;
+									break;
+								}
+							}
+
+							setTimeout( function()
+								{
+									selected.focus();
+								},
+								0 );
+						}
+					}
+				}
+			});
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/maximize/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/maximize/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/maximize/plugin.js	(revision 4888)
@@ -0,0 +1,283 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	function protectFormStyles( formElement )
+	{
+		if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' )
+			return [];
+
+		var hijackRecord = [];
+		var hijackNames = [ 'style', 'className' ];
+		for ( var i = 0 ; i < hijackNames.length ; i++ )
+		{
+			var name = hijackNames[i];
+			var $node = formElement.$.elements.namedItem( name );
+			if ( $node )
+			{
+				var hijackNode = new CKEDITOR.dom.element( $node );
+				hijackRecord.push( [ hijackNode, hijackNode.nextSibling ] );
+				hijackNode.remove();
+			}
+		}
+
+		return hijackRecord;
+	}
+
+	function restoreFormStyles( formElement, hijackRecord )
+	{
+		if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' )
+			return;
+
+		if ( hijackRecord.length > 0 )
+		{
+			for ( var i = hijackRecord.length - 1 ; i >= 0 ; i-- )
+			{
+				var node = hijackRecord[i][0];
+				var sibling = hijackRecord[i][1];
+				if ( sibling )
+					node.insertBefore( sibling );
+				else
+					node.appendTo( formElement );
+			}
+		}
+	}
+
+	function saveStyles( element, isInsideEditor )
+	{
+		var data = protectFormStyles( element );
+		var retval = {};
+
+		var $element = element.$;
+
+		if ( !isInsideEditor )
+		{
+			retval[ 'class' ] = $element.className || '';
+			$element.className = '';
+		}
+
+		retval.inline = $element.style.cssText || '';
+		if ( !isInsideEditor )		// Reset any external styles that might interfere. (#2474)
+			$element.style.cssText = 'position: static; overflow: visible';
+
+		restoreFormStyles( data );
+		return retval;
+	}
+
+	function restoreStyles( element, savedStyles )
+	{
+		var data = protectFormStyles( element );
+		var $element = element.$;
+		if ( 'class' in savedStyles )
+			$element.className = savedStyles[ 'class' ];
+		if ( 'inline' in savedStyles )
+			$element.style.cssText = savedStyles.inline;
+		restoreFormStyles( data );
+	}
+
+	function getResizeHandler( mainWindow, editor )
+	{
+		return function()
+		{
+			var viewPaneSize = mainWindow.getViewPaneSize();
+			editor.resize( viewPaneSize.width, viewPaneSize.height, null, true );
+		};
+	}
+
+	CKEDITOR.plugins.add( 'maximize',
+	{
+		init : function( editor )
+		{
+			var lang = editor.lang;
+			var mainDocument = CKEDITOR.document;
+			var mainWindow = mainDocument.getWindow();
+
+			// Saved selection and scroll position for the editing area.
+			var savedSelection;
+			var savedScroll;
+
+			// Saved scroll position for the outer window.
+			var outerScroll;
+
+			// Saved resize handler function.
+			var resizeHandler = getResizeHandler( mainWindow, editor );
+
+			// Retain state after mode switches.
+			var savedState = CKEDITOR.TRISTATE_OFF;
+
+			editor.addCommand( 'maximize',
+				{
+					modes : { wysiwyg : 1, source : 1 },
+					editorFocus : false,
+					exec : function()
+					{
+						var container = editor.container.getChild( 0 );
+						var contents = editor.getThemeSpace( 'contents' );
+
+						// Save current selection and scroll position in editing area.
+						if ( editor.mode == 'wysiwyg' )
+						{
+							var selection = editor.getSelection();
+							savedSelection = selection && selection.getRanges();
+							savedScroll = mainWindow.getScrollPosition();
+						}
+						else
+						{
+							var $textarea = editor.textarea.$;
+							savedSelection = !CKEDITOR.env.ie && [ $textarea.selectionStart, $textarea.selectionEnd ];
+							savedScroll = [ $textarea.scrollLeft, $textarea.scrollTop ];
+						}
+
+						if ( this.state == CKEDITOR.TRISTATE_OFF )		// Go fullscreen if the state is off.
+						{
+							// Add event handler for resizing.
+							mainWindow.on( 'resize', resizeHandler );
+
+							// Save the scroll bar position.
+							outerScroll = mainWindow.getScrollPosition();
+
+							// Save and reset the styles for the entire node tree.
+							var currentNode = editor.container;
+							while ( ( currentNode = currentNode.getParent() ) )
+							{
+								currentNode.setCustomData( 'maximize_saved_styles', saveStyles( currentNode ) );
+								currentNode.setStyle( 'z-index', editor.config.baseFloatZIndex - 1 );
+							}
+							contents.setCustomData( 'maximize_saved_styles', saveStyles( contents, true ) );
+							container.setCustomData( 'maximize_saved_styles', saveStyles( container, true ) );
+
+							// Hide scroll bars.
+							if ( CKEDITOR.env.ie )
+							{
+								mainDocument.$.documentElement.style.overflow =
+									mainDocument.getBody().$.style.overflow = 'hidden';
+							}
+							else
+							{
+								mainDocument.getBody().setStyles(
+									{
+										overflow : 'hidden',
+										width : '0px',
+										height : '0px'
+									} );
+							}
+
+							// Scroll to the top left (IE needs some time for it - #4923).
+							CKEDITOR.env.ie ?
+								setTimeout( function() { mainWindow.$.scrollTo( 0, 0 ); }, 0 ) :
+								mainWindow.$.scrollTo( 0, 0 );
+
+							// Resize and move to top left.
+							var viewPaneSize = mainWindow.getViewPaneSize();
+							container.setStyle( 'position', 'absolute' );
+							container.$.offsetLeft;			// SAFARI BUG: See #2066.
+							container.setStyles(
+								{
+									'z-index' : editor.config.baseFloatZIndex - 1,
+									left : '0px',
+									top : '0px'
+								} );
+							editor.resize( viewPaneSize.width, viewPaneSize.height, null, true );
+
+							// Still not top left? Fix it. (Bug #174)
+							var offset = container.getDocumentPosition();
+							container.setStyles(
+								{
+									left : ( -1 * offset.x ) + 'px',
+									top : ( -1 * offset.y ) + 'px'
+								} );
+
+							// Add cke_maximized class.
+							container.addClass( 'cke_maximized' );
+						}
+						else if ( this.state == CKEDITOR.TRISTATE_ON )	// Restore from fullscreen if the state is on.
+						{
+							// Remove event handler for resizing.
+							mainWindow.removeListener( 'resize', resizeHandler );
+
+							// Restore CSS styles for the entire node tree.
+							var editorElements = [ contents, container ];
+							for ( var i = 0 ; i < editorElements.length ; i++ )
+							{
+								restoreStyles( editorElements[i], editorElements[i].getCustomData( 'maximize_saved_styles' ) );
+								editorElements[i].removeCustomData( 'maximize_saved_styles' );
+							}
+
+							currentNode = editor.container;
+							while ( ( currentNode = currentNode.getParent() ) )
+							{
+								restoreStyles( currentNode, currentNode.getCustomData( 'maximize_saved_styles' ) );
+								currentNode.removeCustomData( 'maximize_saved_styles' );
+							}
+
+							// Restore the window scroll position.
+							CKEDITOR.env.ie ?
+								setTimeout( function() { mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); }, 0 ) :
+								mainWindow.$.scrollTo( outerScroll.x, outerScroll.y );
+
+							// Remove cke_maximized class.
+							container.removeClass( 'cke_maximized' );
+
+							// Emit a resize event, because this time the size is modified in
+							// restoreStyles.
+							editor.fire( 'resize' );
+						}
+
+						this.toggleState();
+
+						// 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 + '");' );
+
+						// Restore selection and scroll position in editing area.
+						if ( editor.mode == 'wysiwyg' )
+						{
+							if ( savedSelection )
+							{
+								editor.getSelection().selectRanges(savedSelection);
+								var element = editor.getSelection().getStartElement();
+								element && element.scrollIntoView( true );
+							}
+
+							else
+								mainWindow.$.scrollTo( savedScroll.x, savedScroll.y );
+						}
+						else
+						{
+							if ( savedSelection )
+							{
+								$textarea.selectionStart = savedSelection[0];
+								$textarea.selectionEnd = savedSelection[1];
+							}
+							$textarea.scrollLeft = savedScroll[0];
+							$textarea.scrollTop = savedScroll[1];
+						}
+
+						savedSelection = savedScroll = null;
+						savedState = this.state;
+					},
+					canUndo : false
+				} );
+
+			editor.ui.addButton( 'Maximize',
+				{
+					label : lang.maximize,
+					command : 'maximize'
+				} );
+
+			// Restore the command state after mode change.
+			editor.on( 'mode', function()
+				{
+					editor.getCommand( 'maximize' ).setState( savedState );
+				}, null, null, 100 );
+		}
+	} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/menu/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/menu/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/menu/plugin.js	(revision 4888)
@@ -0,0 +1,384 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'menu',
+{
+	beforeInit : function( editor )
+	{
+		var groups = editor.config.menu_groups.split( ',' ),
+			groupsOrder = {};
+
+		for ( var i = 0 ; i < groups.length ; i++ )
+			groupsOrder[ groups[ i ] ] = i + 1;
+
+		editor._.menuGroups = groupsOrder;
+		editor._.menuItems = {};
+	},
+
+	requires : [ 'floatpanel' ]
+});
+
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+{
+	addMenuGroup : function( name, order )
+	{
+		this._.menuGroups[ name ] = order || 100;
+	},
+
+	addMenuItem : function( name, definition )
+	{
+		if ( this._.menuGroups[ definition.group ] )
+			this._.menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition );
+	},
+
+	addMenuItems : function( definitions )
+	{
+		for ( var itemName in definitions )
+		{
+			this.addMenuItem( itemName, definitions[ itemName ] );
+		}
+	},
+
+	getMenuItem : function( name )
+	{
+		return this._.menuItems[ name ];
+	}
+});
+
+(function()
+{
+	CKEDITOR.menu = CKEDITOR.tools.createClass(
+	{
+		$ : function( editor, level )
+		{
+			this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+			this.editor = editor;
+			this.items = [];
+
+			this._.level = level || 1;
+		},
+
+		_ :
+		{
+			showSubMenu : function( index )
+			{
+				var menu = this._.subMenu,
+					item = this.items[ index ],
+					subItemDefs = item.getItems && item.getItems();
+
+				// If this item has no subitems, we just hide the submenu, if
+				// available, and return back.
+				if ( !subItemDefs )
+				{
+					this._.panel.hideChild();
+					return;
+				}
+
+				// Create the submenu, if not available, or clean the existing
+				// one.
+				if ( menu )
+					menu.removeAll();
+				else
+				{
+					menu = this._.subMenu = new CKEDITOR.menu( this.editor, this._.level + 1 );
+					menu.parent = this;
+					menu.onClick = CKEDITOR.tools.bind( this.onClick, this );
+				}
+
+				// Add all submenu items to the menu.
+				for ( var subItemName in subItemDefs )
+				{
+					var subItem = this.editor.getMenuItem( subItemName );
+					if ( subItem )
+					{
+						subItem.state = subItemDefs[ subItemName ];
+						menu.add( subItem );
+					}
+				}
+
+				// Get the element representing the current item.
+				var element = this._.panel.getBlock( this.id ).element.getDocument().getById( this.id + String( index ) );
+
+				// Show the submenu.
+				menu.show( element, 2 );
+			}
+		},
+
+		proto :
+		{
+			add : function( item )
+			{
+				// Later we may sort the items, but Array#sort is not stable in
+				// some browsers, here we're forcing the original sequence with
+				// 'order' attribute if it hasn't been assigned. (#3868)
+				if ( !item.order )
+					item.order = this.items.length;
+
+				this.items.push( item );
+			},
+
+			removeAll : function()
+			{
+				this.items = [];
+			},
+
+			show : function( offsetParent, corner, offsetX, offsetY )
+			{
+				var items = this.items,
+					editor = this.editor,
+					panel = this._.panel,
+					element = this._.element;
+
+				// Create the floating panel for this menu.
+				if ( !panel )
+				{
+					panel = this._.panel = new CKEDITOR.ui.floatPanel( this.editor, CKEDITOR.document.getBody(),
+						{
+							css : editor.skin.editor.css,
+							level : this._.level - 1,
+							className : editor.skinClass + ' cke_contextmenu'
+						},
+						this._.level);
+
+					panel.onEscape = CKEDITOR.tools.bind( function()
+					{
+						this.onEscape && this.onEscape();
+						this.hide();
+					},
+					this );
+
+					panel.onHide = CKEDITOR.tools.bind( function()
+					{
+						this.onHide && this.onHide();
+					},
+					this );
+
+					// Create an autosize block inside the panel.
+					var block = panel.addBlock( this.id );
+					block.autoSize = true;
+
+					var keys = block.keys;
+					keys[ 40 ]	= 'next';					// ARROW-DOWN
+					keys[ 9 ]	= 'next';					// TAB
+					keys[ 38 ]	= 'prev';					// ARROW-UP
+					keys[ CKEDITOR.SHIFT + 9 ]	= 'prev';	// SHIFT + TAB
+					keys[ 32 ]	= 'click';					// SPACE
+					keys[ 39 ]	= 'click';					// ARROW-RIGHT
+
+					element = this._.element = block.element;
+					element.addClass( editor.skinClass );
+
+					var elementDoc = element.getDocument();
+					elementDoc.getBody().setStyle( 'overflow', 'hidden' );
+					elementDoc.getElementsByTag( 'html' ).getItem( 0 ).setStyle( 'overflow', 'hidden' );
+
+					this._.itemOverFn = CKEDITOR.tools.addFunction( function( index )
+						{
+							clearTimeout( this._.showSubTimeout );
+							this._.showSubTimeout = CKEDITOR.tools.setTimeout( this._.showSubMenu, editor.config.menu_subMenuDelay, this, [ index ] );
+						},
+						this);
+
+					this._.itemOutFn = CKEDITOR.tools.addFunction( function( index )
+						{
+							clearTimeout( this._.showSubTimeout );
+						},
+						this);
+
+					this._.itemClickFn = CKEDITOR.tools.addFunction( function( index )
+						{
+							var item = this.items[ index ];
+
+							if ( item.state == CKEDITOR.TRISTATE_DISABLED )
+							{
+								this.hide();
+								return;
+							}
+
+							if ( item.getItems )
+								this._.showSubMenu( index );
+							else
+								this.onClick && this.onClick( item );
+						},
+						this);
+				}
+
+				// Put the items in the right order.
+				sortItems( items );
+
+				// Build the HTML that composes the menu and its items.
+				var output = [ '<div class="cke_menu">' ];
+
+				var length = items.length,
+					lastGroup = length && items[ 0 ].group;
+
+				for ( var i = 0 ; i < length ; i++ )
+				{
+					var item = items[ i ];
+					if ( lastGroup != item.group )
+					{
+						output.push( '<div class="cke_menuseparator"></div>' );
+						lastGroup = item.group;
+					}
+
+					item.render( this, i, output );
+				}
+
+				output.push( '</div>' );
+
+				// Inject the HTML inside the panel.
+				element.setHtml( output.join( '' ) );
+
+				// Show the panel.
+				if ( this.parent )
+					this.parent._.panel.showAsChild( panel, this.id, offsetParent, corner, offsetX, offsetY );
+				else
+					panel.showBlock( this.id, offsetParent, corner, offsetX, offsetY );
+
+				editor.fire( 'menuShow', [ panel ] );
+			},
+
+			hide : function()
+			{
+				this._.panel && this._.panel.hide();
+			}
+		}
+	});
+
+	function sortItems( items )
+	{
+		items.sort( function( itemA, itemB )
+			{
+				if ( itemA.group < itemB.group )
+					return -1;
+				else if ( itemA.group > itemB.group )
+					return 1;
+
+				return itemA.order < itemB.order ? -1 :
+					itemA.order > itemB.order ? 1 :
+					0;
+			});
+	}
+})();
+
+CKEDITOR.menuItem = CKEDITOR.tools.createClass(
+{
+	$ : function( editor, name, definition )
+	{
+		CKEDITOR.tools.extend( this, definition,
+			// Defaults
+			{
+				order : 0,
+				className : 'cke_button_' + name
+			});
+
+		// Transform the group name into its order number.
+		this.group = editor._.menuGroups[ this.group ];
+
+		this.editor = editor;
+		this.name = name;
+	},
+
+	proto :
+	{
+		render : function( menu, index, output )
+		{
+			var id = menu.id + String( index ),
+				state = ( typeof this.state == 'undefined' ) ? CKEDITOR.TRISTATE_OFF : this.state;
+
+			var classes = ' cke_' + (
+				state == CKEDITOR.TRISTATE_ON ? 'on' :
+				state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' :
+				'off' );
+
+			var htmlLabel = this.label;
+			if ( state == CKEDITOR.TRISTATE_DISABLED )
+				htmlLabel = this.editor.lang.common.unavailable.replace( '%1', htmlLabel );
+
+			if ( this.className )
+				classes += ' ' + this.className;
+
+			output.push(
+				'<span class="cke_menuitem">' +
+				'<a id="', id, '"' +
+					' class="', classes, '" href="javascript:void(\'', ( this.label || '' ).replace( "'", '' ), '\')"' +
+					' title="', this.label, '"' +
+					' tabindex="-1"' +
+					'_cke_focus=1' +
+					' hidefocus="true"' );
+
+			// Some browsers don't cancel key events in the keydown but in the
+			// keypress.
+			// TODO: Check if really needed for Gecko+Mac.
+			if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+			{
+				output.push(
+					' onkeypress="return false;"' );
+			}
+
+			// With Firefox, we need to force the button to redraw, otherwise it
+			// will remain in the focus state.
+			if ( CKEDITOR.env.gecko )
+			{
+				output.push(
+					' onblur="this.style.cssText = this.style.cssText;"' );
+			}
+
+			var offset = ( this.iconOffset || 0 ) * -16;
+			output.push(
+//					' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' +
+					' onmouseover="CKEDITOR.tools.callFunction(', menu._.itemOverFn, ',', index, ');"' +
+					' onmouseout="CKEDITOR.tools.callFunction(', menu._.itemOutFn, ',', index, ');"' +
+					' onclick="CKEDITOR.tools.callFunction(', menu._.itemClickFn, ',', index, '); return false;"' +
+					'>' +
+						'<span class="cke_icon_wrapper"><span class="cke_icon"' +
+							( this.icon ? ' style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 ' + offset + 'px;"'
+							: '' ) +
+							'></span></span>' +
+						'<span class="cke_label">' );
+
+			if ( this.getItems )
+			{
+				output.push(
+							'<span class="cke_menuarrow"></span>' );
+			}
+
+			output.push(
+							htmlLabel,
+						'</span>' +
+				'</a>' +
+				'</span>' );
+		}
+	}
+});
+
+/**
+ * The amount of time, in milliseconds, the editor waits before showing submenu
+ * options when moving the mouse over options that contains submenus, like the
+ * "Cell Properties" entry for tables.
+ * @type Number
+ * @default 400
+ * @example
+ * // Remove the submenu delay.
+ * config.menu_subMenuDelay = 0;
+ */
+CKEDITOR.config.menu_subMenuDelay = 400;
+
+/**
+ * A comma separated list of items group names to be displayed in the context
+ * menu. The items order will reflect the order in this list if no priority
+ * has been definted in the groups.
+ * @type String
+ * @default 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea'
+ * @example
+ * config.menu_groups = 'clipboard,table,anchor,link,image';
+ */
+CKEDITOR.config.menu_groups =
+	'clipboard,' +
+	'form,' +
+	'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+
+	'anchor,link,image,flash,' +
+	'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';
Index: CKEditor/branches/features/aria/_source/plugins/menubutton/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/menubutton/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/menubutton/plugin.js	(revision 4888)
@@ -0,0 +1,93 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'menubutton',
+{
+	requires : [ 'button', 'contextmenu' ],
+	beforeInit : function( editor )
+	{
+		editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler );
+	}
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_MENUBUTTON = 5;
+
+(function()
+{
+	var clickFn = function( editor )
+	{
+		var _ = this._;
+
+		// Do nothing if this button is disabled.
+		if ( _.state === CKEDITOR.TRISTATE_DISABLED )
+			return;
+
+		_.previousState = _.state;
+
+		// Check if we already have a menu for it, otherwise just create it.
+		var menu = _.menu;
+		if ( !menu )
+		{
+			menu = _.menu = new CKEDITOR.plugins.contextMenu( editor );
+
+			menu.onHide = CKEDITOR.tools.bind( function()
+				{
+					this.setState( _.previousState );
+				},
+				this );
+
+			// Initialize the menu items at this point.
+			if ( this.onMenu )
+			{
+				menu.addListener( this.onMenu );
+			}
+		}
+
+		if ( _.on )
+		{
+			menu.hide();
+			return;
+		}
+
+		this.setState( CKEDITOR.TRISTATE_ON );
+
+		menu.show( CKEDITOR.document.getById( this._.id ), 4 );
+	};
+
+
+	CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass(
+	{
+		base : CKEDITOR.ui.button,
+
+		$ : function( definition )
+		{
+			// We don't want the panel definition in this object.
+			var panelDefinition = definition.panel;
+			delete definition.panel;
+
+			this.base( definition );
+
+			this.hasArrow = true;
+
+			this.click = clickFn;
+		},
+
+		statics :
+		{
+			handler :
+			{
+				create : function( definition )
+				{
+					return new CKEDITOR.ui.menuButton( definition );
+				}
+			}
+		}
+	});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/newpage/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/newpage/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/newpage/plugin.js	(revision 4888)
@@ -0,0 +1,54 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Page Break
+ */
+
+// Register a plugin named "newpage".
+CKEDITOR.plugins.add( 'newpage',
+{
+	init : function( editor )
+	{
+		editor.addCommand( 'newpage',
+			{
+				modes : { wysiwyg:1, source:1 },
+
+				exec : function( editor )
+				{
+					var command = this;
+					editor.setData( editor.config.newpage_html, function()
+					{
+						// Save the undo snapshot after all document changes are affected. (#4889)
+						setTimeout( function ()
+						{
+							editor.fire( 'afterCommandExec',
+							{
+								name: command.name,
+								command: command
+							} );
+
+						}, 200 );
+					} );
+					editor.focus();
+				},
+				async : true
+			});
+
+		editor.ui.addButton( 'NewPage',
+			{
+				label : editor.lang.newPage,
+				command : 'newpage'
+			});
+	}
+});
+/**
+ * The HTML to load in the editor when the "new page" command is executed.
+ * @type String
+ * @default ''
+ * @example
+ * config.newpage_html = '&lt;p&gt;Type your text here.&lt;/p&gt;';
+ */
+CKEDITOR.config.newpage_html = '';
Index: CKEditor/branches/features/aria/_source/plugins/pagebreak/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/pagebreak/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/pagebreak/plugin.js	(revision 4888)
@@ -0,0 +1,97 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Page Break
+ */
+
+// Register a plugin named "pagebreak".
+CKEDITOR.plugins.add( 'pagebreak',
+{
+	init : function( editor )
+	{
+		// Register the command.
+		editor.addCommand( 'pagebreak', CKEDITOR.plugins.pagebreakCmd );
+
+		// Register the toolbar button.
+		editor.ui.addButton( 'PageBreak',
+			{
+				label : editor.lang.pagebreak,
+				command : 'pagebreak'
+			});
+
+		// Add the style that renders our placeholder.
+		editor.addCss(
+			'img.cke_pagebreak' +
+			'{' +
+				'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ');' +
+				'background-position: center center;' +
+				'background-repeat: no-repeat;' +
+				'clear: both;' +
+				'display: block;' +
+				'float: none;' +
+				'width: 100%;' +
+				'border-top: #999999 1px dotted;' +
+				'border-bottom: #999999 1px dotted;' +
+				'height: 5px;' +
+
+			'}' );
+	},
+
+	afterInit : function( editor )
+	{
+		// Register a filter to displaying placeholders after mode change.
+
+		var dataProcessor = editor.dataProcessor,
+			dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+		if ( dataFilter )
+		{
+			dataFilter.addRules(
+				{
+					elements :
+					{
+						div : function( element )
+						{
+							var attributes = element.attributes,
+								style = attributes && attributes.style,
+								child = style && element.children.length == 1 && element.children[ 0 ],
+								childStyle = child && ( child.name == 'span' ) && child.attributes.style;
+
+							if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) )
+								return editor.createFakeParserElement( element, 'cke_pagebreak', 'div' );
+						}
+					}
+				});
+		}
+	},
+
+	requires : [ 'fakeobjects' ]
+});
+
+CKEDITOR.plugins.pagebreakCmd =
+{
+	exec : function( editor )
+	{
+		// Create the element that represents a print break.
+		var breakObject = CKEDITOR.dom.element.createFromHtml( '<div style="page-break-after: always;"><span style="display: none;">&nbsp;</span></div>' );
+
+		// Creates the fake image used for this element.
+		breakObject = editor.createFakeElement( breakObject, 'cke_pagebreak', 'div' );
+
+		var ranges = editor.getSelection().getRanges();
+
+		for ( var range, i = 0 ; i < ranges.length ; i++ )
+		{
+			range = ranges[ i ];
+
+			if ( i > 0 )
+				breakObject = breakObject.clone( true );
+
+			range.splitBlock( 'p' );
+			range.insertNode( breakObject );
+		}
+	}
+};
Index: CKEditor/branches/features/aria/_source/plugins/panel/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/panel/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/panel/plugin.js	(revision 4888)
@@ -0,0 +1,338 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'panel',
+{
+	beforeInit : function( editor )
+	{
+		editor.ui.addHandler( CKEDITOR.UI_PANEL, CKEDITOR.ui.panel.handler );
+	}
+});
+
+/**
+ * Panel UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_PANEL = 2;
+
+CKEDITOR.ui.panel = function( document, definition )
+{
+	// Copy all definition properties to this object.
+	if ( definition )
+		CKEDITOR.tools.extend( this, definition );
+
+	// Set defaults.
+	CKEDITOR.tools.extend( this,
+		{
+			className : '',
+			css : []
+		});
+
+	this.id = CKEDITOR.tools.getNextNumber();
+	this.document = document;
+
+	this._ =
+	{
+		blocks : {}
+	};
+};
+
+/**
+ * Transforms a rich combo definition in a {@link CKEDITOR.ui.richCombo}
+ * instance.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.panel.handler =
+{
+	create : function( definition )
+	{
+		return new CKEDITOR.ui.panel( definition );
+	}
+};
+
+CKEDITOR.ui.panel.prototype =
+{
+	renderHtml : function( editor )
+	{
+		var output = [];
+		this.render( editor, output );
+		return output.join( '' );
+	},
+
+	/**
+	 * Renders the combo.
+	 * @param {CKEDITOR.editor} editor The editor instance which this button is
+	 *		to be used by.
+	 * @param {Array} output The output array to which append the HTML relative
+	 *		to this button.
+	 * @example
+	 */
+	render : function( editor, output )
+	{
+		var id = 'cke_' + this.id;
+
+		output.push(
+			'<div class="', editor.skinClass ,'"' +
+				' lang="', editor.langCode, '"' +
+				// iframe loading need sometime, keep the panel hidden(#4186).
+				' style="display:none;z-index:' + ( editor.config.baseFloatZIndex + 1 ) + '">' +
+				'<div' +
+					' id=', id,
+					' dir=', editor.lang.dir,
+					' class="cke_panel cke_', editor.lang.dir );
+
+		if ( this.className )
+			output.push( ' ', this.className );
+
+		output.push(
+				'">' );
+
+		if ( this.forceIFrame || this.css.length )
+		{
+			output.push(
+						'<iframe id="', id, '_frame"' +
+							' frameborder="0"' +
+							' src="javascript:void(' );
+
+			output.push(
+							// Support for custom document.domain in IE.
+							CKEDITOR.env.isCustomDomain() ?
+								'(function(){' +
+									'document.open();' +
+									'document.domain=\'' + document.domain + '\';' +
+									'document.close();' +
+								'})()'
+							:
+								'0' );
+
+			output.push(
+						')"></iframe>' );
+		}
+
+		output.push(
+				'</div>' +
+			'</div>' );
+
+		return id;
+	},
+
+	getHolderElement : function()
+	{
+		var holder = this._.holder;
+
+		if ( !holder )
+		{
+			if ( this.forceIFrame || this.css.length )
+			{
+				var iframe = this.document.getById( 'cke_' + this.id + '_frame' ),
+					parentDiv = iframe.getParent(),
+					dir = parentDiv.getAttribute( 'dir' ),
+					className = parentDiv.getParent().getAttribute( 'class' ),
+					langCode = parentDiv.getParent().getAttribute( 'lang' ),
+					doc = iframe.getFrameDocument();
+				// Initialize the IFRAME document body.
+				doc.$.open();
+
+				// Support for custom document.domain in IE.
+				if ( CKEDITOR.env.isCustomDomain() )
+					doc.$.domain = document.domain;
+
+				var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev )
+					{
+						this.isLoaded = true;
+						if ( this.onLoad )
+							this.onLoad();
+					}, this ) );
+
+				doc.$.write(
+					'<!DOCTYPE html>' +
+					'<html dir="' + dir + '" class="' + className + '_container" lang="' + langCode + '">' +
+						'<head>' +
+							'<style>.' + className + '_container{visibility:hidden}</style>' +
+						'</head>' +
+						'<body class="cke_' + dir + ' cke_panel_frame ' + CKEDITOR.env.cssClass + '" style="margin:0;padding:0"' +
+						' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction(' + onLoad + ');">' +
+						'</body>' +
+						// It looks strange, but for FF2, the styles must go
+						// after <body>, so it (body) becames immediatelly
+						// available. (#3031)
+						CKEDITOR.tools.buildStyleHtml( this.css ) +
+					'<\/html>' );
+				doc.$.close();
+
+				var win = doc.getWindow();
+
+				// Register the CKEDITOR global.
+				win.$.CKEDITOR = CKEDITOR;
+
+				doc.on( 'keydown', function( evt )
+					{
+						var keystroke = evt.data.getKeystroke();
+
+						// Delegate key processing to block.
+						if ( this._.onKeyDown && this._.onKeyDown( keystroke ) === false )
+						{
+							evt.data.preventDefault();
+							return;
+						}
+
+						if ( keystroke == 27 )		// ESC
+							this.onEscape && this.onEscape();
+					},
+					this );
+
+				holder = doc.getBody();
+			}
+			else
+				holder = this.document.getById( 'cke_' + this.id );
+
+			this._.holder = holder;
+		}
+
+		return holder;
+	},
+
+	addBlock : function( name, block )
+	{
+		block = this._.blocks[ name ] = block || new CKEDITOR.ui.panel.block( this.getHolderElement() );
+
+		if ( !this._.currentBlock )
+			this.showBlock( name );
+
+		return block;
+	},
+
+	getBlock : function( name )
+	{
+		return this._.blocks[ name ];
+	},
+
+	showBlock : function( name )
+	{
+		var blocks = this._.blocks,
+			block = blocks[ name ],
+			current = this._.currentBlock;
+
+		if ( current )
+			current.hide();
+
+		this._.currentBlock = block;
+
+		// Reset the focus index, so it will always go into the first one.
+		block._.focusIndex = -1;
+
+		this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block );
+
+		block.show();
+
+		return block;
+	},
+
+	destroy : function()
+	{
+		this.element && this.element.remove();
+	}
+};
+
+CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass(
+{
+	$ : function( blockHolder )
+	{
+		this.element = blockHolder.append(
+			blockHolder.getDocument().createElement( 'div',
+				{
+					attributes :
+					{
+						'class' : 'cke_panel_block'
+					},
+					styles :
+					{
+						display : 'none'
+					}
+				}) );
+
+		this.keys = {};
+
+		this._.focusIndex = -1;
+
+		// Disable context menu for panels.
+		this.element.disableContextMenu();
+	},
+
+	_ : {},
+
+	proto :
+	{
+		show : function()
+		{
+			this.element.setStyle( 'display', '' );
+		},
+
+		hide : function()
+		{
+			if ( !this.onHide || this.onHide.call( this )  !== true )
+				this.element.setStyle( 'display', 'none' );
+		},
+
+		onKeyDown : function( keystroke )
+		{
+			var keyAction = this.keys[ keystroke ];
+			switch ( keyAction )
+			{
+				// Move forward.
+				case 'next' :
+					var index = this._.focusIndex,
+						links = this.element.getElementsByTag( 'a' ),
+						link;
+
+					while ( ( link = links.getItem( ++index ) ) )
+					{
+						// Move the focus only if the element is marked with
+						// the _cke_focus and it it's visible (check if it has
+						// width).
+						if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth )
+						{
+							this._.focusIndex = index;
+							link.focus();
+							break;
+						}
+					}
+					return false;
+
+				// Move backward.
+				case 'prev' :
+					index = this._.focusIndex;
+					links = this.element.getElementsByTag( 'a' );
+
+					while ( index > 0 && ( link = links.getItem( --index ) ) )
+					{
+						// Move the focus only if the element is marked with
+						// the _cke_focus and it it's visible (check if it has
+						// width).
+						if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth )
+						{
+							this._.focusIndex = index;
+							link.focus();
+							break;
+						}
+					}
+					return false;
+
+				case 'click' :
+					index = this._.focusIndex;
+					link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index );
+
+					if ( link )
+						link.$.click ? link.$.click() : link.$.onclick();
+
+					return false;
+			}
+
+			return true;
+		}
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/panelbutton/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/panelbutton/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/panelbutton/plugin.js	(revision 4888)
@@ -0,0 +1,140 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'panelbutton',
+{
+	requires : [ 'button' ],
+	beforeInit : function( editor )
+	{
+		editor.ui.addHandler( CKEDITOR.UI_PANELBUTTON, CKEDITOR.ui.panelButton.handler );
+	}
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_PANELBUTTON = 4;
+
+(function()
+{
+	var clickFn = function( editor )
+	{
+		var _ = this._;
+
+		if ( _.state == CKEDITOR.TRISTATE_DISABLED )
+			return;
+
+		this.createPanel( editor );
+
+		if ( _.on )
+		{
+			_.panel.hide();
+			return;
+		}
+
+		_.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 );
+	};
+
+
+	CKEDITOR.ui.panelButton = CKEDITOR.tools.createClass(
+	{
+		base : CKEDITOR.ui.button,
+
+		$ : function( definition )
+		{
+			// We don't want the panel definition in this object.
+			var panelDefinition = definition.panel;
+			delete definition.panel;
+
+			this.base( definition );
+
+			this.document = ( panelDefinition
+								&& panelDefinition.parent
+								&& panelDefinition.parent.getDocument() )
+							|| CKEDITOR.document;
+
+			this.hasArrow = true;
+
+			this.click = clickFn;
+
+			this._ =
+			{
+				panelDefinition : panelDefinition
+			};
+		},
+
+		statics :
+		{
+			handler :
+			{
+				create : function( definition )
+				{
+					return new CKEDITOR.ui.panelButton( definition );
+				}
+			}
+		},
+
+		proto :
+		{
+			createPanel : function( editor )
+			{
+				var _ = this._;
+
+				if ( _.panel )
+					return;
+
+				var panelDefinition = this._.panelDefinition || {},
+					panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(),
+					panel = this._.panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ),
+					me = this;
+
+				panel.onShow = function()
+					{
+						if ( me.className )
+							this.element.getFirst().addClass( me.className + '_panel' );
+
+						_.oldState = me._.state;
+						me.setState( CKEDITOR.TRISTATE_ON );
+
+						_.on = 1;
+
+						if ( me.onOpen )
+							me.onOpen();
+					};
+
+				panel.onHide = function()
+					{
+						if ( me.className )
+							this.element.getFirst().removeClass( me.className + '_panel' );
+
+						me.setState( _.oldState );
+
+						_.on = 0;
+
+						if ( me.onClose )
+							me.onClose();
+					};
+
+				panel.onEscape = function()
+					{
+						panel.hide();
+						me.document.getById( _.id ).focus();
+					};
+
+				if ( this.onBlock )
+					this.onBlock( panel, _.id );
+
+				panel.getBlock( _.id ).onHide = function()
+						{
+								_.on = 0;
+								me.setState( CKEDITOR.TRISTATE_OFF );
+						};
+			}
+		}
+	});
+
+})();
Index: CKEditor/branches/features/aria/_source/plugins/pastefromword/filter/default.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/pastefromword/filter/default.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/pastefromword/filter/default.js	(revision 4888)
@@ -0,0 +1,1176 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var fragmentPrototype = CKEDITOR.htmlParser.fragment.prototype,
+		elementPrototype = CKEDITOR.htmlParser.element.prototype;
+
+	fragmentPrototype.onlyChild = elementPrototype.onlyChild = function()
+	{
+		var children = this.children,
+			count = children.length,
+			firstChild = ( count == 1 ) && children[ 0 ];
+		return firstChild || null;
+	};
+
+	elementPrototype.removeAnyChildWithName = function( tagName )
+	{
+		var children = this.children,
+			childs = [],
+			child;
+
+		for ( var i = 0; i < children.length; i++ )
+		{
+			child = children[ i ];
+			if( !child.name )
+				continue;
+
+			if ( child.name == tagName )
+			{
+				childs.push( child );
+				children.splice( i--, 1 );
+			}
+			childs = childs.concat( child.removeAnyChildWithName( tagName ) );
+		}
+		return childs;
+	};
+
+	elementPrototype.getAncestor = function( tagNameRegex )
+	{
+		var parent = this.parent;
+		while ( parent && !( parent.name && parent.name.match( tagNameRegex ) ) )
+			parent = parent.parent;
+		return parent;
+	};
+
+	fragmentPrototype.firstChild = elementPrototype.firstChild = function( evaluator )
+	{
+		var child;
+
+		for ( var i = 0 ; i < this.children.length ; i++ )
+		{
+			child = this.children[ i ];
+			if ( evaluator( child ) )
+				return child;
+			else if ( child.name )
+			{
+				child = child.firstChild( evaluator );
+				if ( child )
+					return child;
+				else
+					continue;
+			}
+		}
+
+		return null;
+	};
+
+	// Adding a (set) of styles to the element's attributes.
+	elementPrototype.addStyle = function( name, value, isPrepend )
+	{
+		var styleText, addingStyleText = '';
+		// name/value pair.
+		if ( typeof value == 'string' )
+			addingStyleText += name + ':' + value + ';';
+		else
+		{
+			// style literal.
+			if ( typeof name == 'object' )
+			{
+				for( var style in name )
+				{
+					if( name.hasOwnProperty( style ) )
+						addingStyleText += style + ':' + name[ style ] + ';';
+				}
+			}
+			// raw style text form.
+			else
+				addingStyleText += name;
+
+			isPrepend = value;
+		}
+
+		if( !this.attributes )
+			this.attributes = {};
+
+		styleText = this.attributes.style || '';
+
+		styleText = ( isPrepend ?
+		              [ addingStyleText, styleText ]
+					  : [ styleText, addingStyleText ] ).join( ';' );
+
+		this.attributes.style = styleText.replace( /^;|;(?=;)/, '' );
+	};
+
+	/**
+	 * Return the DTD-valid parent tag names of the specified one.
+	 * @param tagName
+	 */
+	CKEDITOR.dtd.parentOf = function( tagName )
+	{
+		var result = {};
+		for ( var tag in this )
+		{
+			if ( tag.indexOf( '$' ) == -1 && this[ tag ][ tagName ] )
+				result[ tag ] = 1;
+		}
+		return result;
+	};
+
+	var cssLengthRelativeUnit = /^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i;
+	var emptyMarginRegex = /^(?:\b0[^\s]*\s*){1,4}$/;
+
+	var listBaseIndent = 0,
+		 previousListItemMargin;
+
+	CKEDITOR.plugins.pastefromword =
+	{
+		utils :
+		{
+			// Create a <cke:listbullet> which indicate an list item type.
+			createListBulletMarker : function ( bulletStyle, bulletText )
+			{
+				var marker = new CKEDITOR.htmlParser.element( 'cke:listbullet' ),
+					listType;
+
+				// TODO: Support more list style type from MS-Word.
+				if ( !bulletStyle )
+				{
+					bulletStyle = 'decimal';
+					listType = 'ol';
+				}
+				else if ( bulletStyle[ 2 ] )
+				{
+					if ( !isNaN( bulletStyle[ 1 ] ) )
+						bulletStyle = 'decimal';
+					// No way to distinguish between Roman numerals and Alphas,
+					// detect them as a whole.
+					else if ( /^[a-z]+$/.test( bulletStyle[ 1 ] ) )
+						bulletStyle = 'lower-alpha';
+					else if ( /^[A-Z]+$/.test( bulletStyle[ 1 ] ) )
+						bulletStyle = 'upper-alpha';
+					// Simply use decimal for the rest forms of unrepresentable
+					// numerals, e.g. Chinese...
+					else
+						bulletStyle = 'decimal';
+
+					listType = 'ol';
+				}
+				else
+				{
+					if ( /[l\u00B7\u2002]/.test( bulletStyle[ 1 ] ) ) //l·•
+						bulletStyle = 'disc';
+					else if ( /[\u006F\u00D8]/.test( bulletStyle[ 1 ] ) )  //oØ
+						bulletStyle = 'circle';
+					else if ( /[\u006E\u25C6]/.test( bulletStyle[ 1 ] ) ) //n◆
+						bulletStyle = 'square';
+					else
+						bulletStyle = 'disc';
+
+					listType = 'ul';
+				}
+
+				// Represent list type as CSS style.
+				marker.attributes =
+				{
+					'cke:listtype' : listType,
+					'style' : 'list-style-type:' + bulletStyle + ';'
+				};
+				marker.add( new CKEDITOR.htmlParser.text( bulletText ) );
+				return marker;
+			},
+
+			isListBulletIndicator : function( element )
+			{
+				var styleText = element.attributes && element.attributes.style;
+				if( /mso-list\s*:\s*Ignore/i.test( styleText ) )
+					return true;
+			},
+
+			isContainingOnlySpaces : function( element )
+			{
+				var text;
+				return ( ( text = element.onlyChild() )
+					    && ( /^(:?\s|&nbsp;)+$/ ).test( text.value ) );
+			},
+
+			resolveList : function( element )
+			{
+				// <cke:listbullet> indicate a list item.
+				var children = element.children,
+					attrs = element.attributes,
+					listMarker;
+
+				if ( ( listMarker = element.removeAnyChildWithName( 'cke:listbullet' ) )
+					  && listMarker.length
+					  && ( listMarker = listMarker[ 0 ] ) )
+				{
+					element.name = 'cke:li';
+
+					if ( attrs.style )
+					{
+						attrs.style = CKEDITOR.plugins.pastefromword.filters.stylesFilter(
+								[
+									// Text-indent is not representing list item level any more.
+									[ 'text-indent' ],
+									[ 'line-height' ],
+									// Resolve indent level from 'margin-left' value.
+									[ ( /^margin(:?-left)?$/ ), null, function( margin )
+									{
+										// Be able to deal with component/short-hand form style.
+										var values = margin.split( ' ' );
+										margin = values[ 3 ] || values[ 1 ] || values [ 0 ];
+										margin = parseInt( margin, 10 );
+
+										// Figure out the indent unit by looking at the first increament.
+										if ( !listBaseIndent && previousListItemMargin && margin > previousListItemMargin )
+											listBaseIndent = margin - previousListItemMargin;
+
+										attrs[ 'cke:margin' ] = previousListItemMargin = margin;
+									} ]
+							] )( attrs.style, element ) || '' ;
+					}
+
+					// Inherit list-type-style from bullet.
+					var listBulletAttrs = listMarker.attributes,
+						listBulletStyle = listBulletAttrs.style;
+
+					element.addStyle( listBulletStyle );
+					CKEDITOR.tools.extend( attrs, listBulletAttrs );
+					return true;
+				}
+
+				return false;
+			},
+
+			// Convert various length units to 'px' in ignorance of DPI.
+			convertToPx : ( function ()
+			{
+				var calculator = CKEDITOR.dom.element.createFromHtml(
+								'<div style="position:absolute;left:-9999px;' +
+								'top:-9999px;margin:0px;padding:0px;border:0px;"' +
+								'></div>', CKEDITOR.document );
+				CKEDITOR.document.getBody().append( calculator );
+
+				return function( cssLength )
+				{
+					if( cssLengthRelativeUnit.test( cssLength ) )
+					{
+						calculator.setStyle( 'width', cssLength );
+						return calculator.$.clientWidth + 'px';
+					}
+
+					return cssLength;
+				};
+			} )(),
+
+			// Providing a shorthand style then retrieve one or more style component values.
+			getStyleComponents : ( function()
+			{
+				var calculator = CKEDITOR.dom.element.createFromHtml(
+								'<div style="position:absolute;left:-9999px;top:-9999px;"></div>',
+								CKEDITOR.document );
+				CKEDITOR.document.getBody().append( calculator );
+
+				return function( name, styleValue, fetchList )
+				{
+					calculator.setStyle( name, styleValue );
+					var styles = {},
+						count = fetchList.length;
+					for ( var i = 0; i < count; i++ )
+						styles[ fetchList[ i ] ]  = calculator.getStyle( fetchList[ i ] );
+
+					return styles;
+				};
+			} )(),
+
+			listDtdParents : CKEDITOR.dtd.parentOf( 'ol' )
+		},
+
+		filters :
+		{
+				// Transform a normal list into flat list items only presentation.
+				// E.g. <ul><li>level1<ol><li>level2</li></ol></li> =>
+				// <cke:li cke:listtype="ul" cke:indent="1">level1</cke:li>
+				// <cke:li cke:listtype="ol" cke:indent="2">level2</cke:li>
+				flattenList : function( element )
+				{
+					var	attrs = element.attributes,
+						parent = element.parent;
+
+					var listStyleType,
+						indentLevel = 1;
+
+					// Resolve how many level nested.
+					while ( parent )
+					{
+						parent.attributes && parent.attributes[ 'cke:list'] && indentLevel++;
+						parent = parent.parent;
+					}
+
+					// All list items are of the same type.
+					switch ( attrs.type )
+					{
+						case 'a' :
+							listStyleType = 'lower-alpha';
+							break;
+						// TODO: Support more list style type from MS-Word.
+					}
+
+					var children = element.children,
+						child;
+
+					for ( var i = 0; i < children.length; i++ )
+					{
+						child = children[ i ];
+						var attributes = child.attributes;
+
+						if( child.name in CKEDITOR.dtd.$listItem )
+						{
+							var listItemChildren = child.children,
+								count = listItemChildren.length,
+								last = listItemChildren[ count - 1 ];
+
+							// Move out nested list.
+							if( last.name in CKEDITOR.dtd.$list )
+							{
+								children.splice( i + 1, 0, last );
+								last.parent = element;
+
+								// Remove the parent list item if it's just a holder.
+								if ( !--listItemChildren.length )
+									children.splice( i, 1 );
+							}
+
+							child.name = 'cke:li';
+							attributes[ 'cke:indent' ] = indentLevel;
+							previousListItemMargin = 0;
+							attributes[ 'cke:listtype' ] = element.name;
+							listStyleType && child.addStyle( 'list-style-type', listStyleType, true );
+						}
+					}
+
+					delete element.name;
+
+					// We're loosing tag name here, signalize this element as a list.
+					attrs[ 'cke:list' ] = 1;
+				},
+
+				/**
+				 *  Try to collect all list items among the children and establish one
+				 *  or more HTML list structures for them.
+				 * @param element
+				 */
+				assembleList : function( element )
+				{
+					var children = element.children, child,
+							listItem,   // The current processing cke:li element.
+							listItemAttrs,
+							listType,   // Determine the root type of the list.
+							listItemIndent, // Indent level of current list item.
+							lastListItem, // The previous one just been added to the list.
+							list, parentList, // Current staging list and it's parent list if any.
+							indent;
+
+					for ( var i = 0; i < children.length; i++ )
+					{
+						child = children[ i ];
+
+						if ( 'cke:li' == child.name )
+						{
+							child.name = 'li';
+							listItem = child;
+							listItemAttrs = listItem.attributes;
+							listType = listItem.attributes[ 'cke:listtype' ];
+
+							// List item indent level might come from a real list indentation or
+							// been resolved from a pseudo list item's margin value, even get
+							// no indentation at all.
+							listItemIndent = parseInt( listItemAttrs[ 'cke:indent' ], 10 )
+													|| listBaseIndent && ( Math.ceil( listItemAttrs[ 'cke:margin' ] / listBaseIndent ) )
+													|| 1;
+
+							// Ignore the 'list-style-type' attribute if it's matched with
+							// the list root element's default style type.
+							listItemAttrs.style && ( listItemAttrs.style =
+							        CKEDITOR.plugins.pastefromword.filters.stylesFilter(
+									[
+										[ 'list-style-type', listType == 'ol' ? 'decimal' : 'disc' ]
+									] )( listItemAttrs.style )
+									|| '' );
+
+							if ( !list )
+							{
+								list = new CKEDITOR.htmlParser.element( listType );
+								list.add( listItem );
+								children[ i ] = list;
+							}
+							else
+							{
+								if ( listItemIndent > indent )
+								{
+									list = new CKEDITOR.htmlParser.element( listType );
+									list.add( listItem );
+									lastListItem.add( list );
+								}
+								else if ( listItemIndent < indent )
+								{
+									// There might be a negative gap between two list levels. (#4944)
+									var diff = indent - listItemIndent,
+										parent = list.parent;
+									while( diff-- && parent )
+										list = parent.parent;
+
+									list.add( listItem );
+								}
+								else
+									list.add( listItem );
+
+								children.splice( i--, 1 );
+							}
+
+							lastListItem = listItem;
+							indent = listItemIndent;
+						}
+						else
+							list = null;
+					}
+
+					listBaseIndent = 0;
+				},
+
+				/**
+				 * A simple filter which always rejecting.
+				 */
+				falsyFilter : function( value )
+				{
+					return false;
+				},
+
+				/**
+				 * A filter dedicated on the 'style' attribute filtering, e.g. dropping/replacing style properties.
+				 * @param styles {Array} in form of [ styleNameRegexp, styleValueRegexp,
+				 *  newStyleValue/newStyleGenerator, newStyleName ] where only the first
+				 *  parameter is mandatory.
+				 * @param whitelist {Boolean} Whether the {@param styles} will be considered as a white-list.
+				 */
+				stylesFilter : function( styles, whitelist )
+				{
+					return function( styleText, element )
+					{
+						 var rules = [];
+						// html-encoded quote might be introduced by 'font-family'
+						// from MS-Word which confused the following regexp. e.g.
+						//'font-family: &quot;Lucida, Console&quot;'
+						 styleText
+							.replace( /&quot;/g, '"' )
+							.replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,
+								 function( match, name, value )
+								 {
+									 name = name.toLowerCase();
+									 name == 'font-family' && ( value = value.replace( /["']/g, '' ) );
+
+									 var namePattern,
+										 valuePattern,
+										 newValue,
+										 newName;
+									 for( var i = 0 ; i < styles.length; i++ )
+									 {
+										if( styles[ i ] )
+										{
+											namePattern = styles[ i ][ 0 ];
+											valuePattern = styles[ i ][ 1 ];
+											newValue = styles[ i ][ 2 ];
+											newName = styles[ i ][ 3 ];
+
+											if ( name.match( namePattern )
+												 && ( !valuePattern || value.match( valuePattern ) ) )
+											{
+												name = newName || name;
+												whitelist && ( newValue = newValue || value );
+
+												if( typeof newValue == 'function' )
+													newValue = newValue( value, element, name );
+
+												// Return an couple indicate both name and value
+												// changed.
+												if( newValue && newValue.push )
+													name = newValue[ 0 ], newValue = newValue[ 1 ];
+
+												if( typeof newValue == 'string' )
+													rules.push( [ name, newValue ] );
+												return;
+											}
+										}
+									 }
+
+									 !whitelist && rules.push( [ name, value ] );
+
+								 });
+
+						for ( var i = 0 ; i < rules.length ; i++ )
+							 rules[ i ] = rules[ i ].join( ':' );
+						return rules.length ?
+						         ( rules.join( ';' ) + ';' ) : false;
+					 };
+				},
+
+				/**
+				 * Migrate the element by decorate styles on it.
+				 * @param styleDefiniton
+				 * @param variables
+				 */
+				elementMigrateFilter : function ( styleDefiniton, variables )
+				{
+					return function( element )
+						{
+							var styleDef =
+									variables ?
+										new CKEDITOR.style( styleDefiniton, variables )._.definition
+										: styleDefiniton;
+							element.name = styleDef.element;
+							CKEDITOR.tools.extend( element.attributes, CKEDITOR.tools.clone( styleDef.attributes ) );
+							element.addStyle( CKEDITOR.style.getStyleText( styleDef ) );
+						};
+				},
+
+				/**
+				 * Migrate styles by creating a new nested stylish element.
+				 * @param styleDefinition
+				 */
+				styleMigrateFilter : function( styleDefinition, variableName )
+				{
+
+					var elementMigrateFilter = this.elementMigrateFilter;
+					return function( value, element )
+					{
+						// Build an stylish element first.
+						var styleElement = new CKEDITOR.htmlParser.element( null ),
+							variables = {};
+
+						variables[ variableName ] = value;
+						elementMigrateFilter( styleDefinition, variables )( styleElement );
+						// Place the new element inside the existing span.
+						styleElement.children = element.children;
+						element.children = [ styleElement ];
+					};
+				},
+
+				/**
+				 * A filter which remove cke-namespaced-attribute on
+				 * all none-cke-namespaced elements.
+				 * @param value
+				 * @param element
+				 */
+				bogusAttrFilter : function( value, element )
+				{
+					if( element.name.indexOf( 'cke:' ) == -1 )
+						return false;
+				},
+
+				/**
+				 * A filter which will be used to apply inline css style according the stylesheet
+				 * definition rules, is generated lazily when filtering.
+				 */
+				applyStyleFilter : null
+
+			},
+
+		getRules : function( editor )
+		{
+			var dtd = CKEDITOR.dtd,
+				blockLike = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent ),
+				config = editor.config,
+				filters = this.filters,
+				falsyFilter = filters.falsyFilter,
+				stylesFilter = filters.stylesFilter,
+				elementMigrateFilter = filters.elementMigrateFilter,
+				styleMigrateFilter = CKEDITOR.tools.bind( this.filters.styleMigrateFilter, this.filters ),
+				bogusAttrFilter = filters.bogusAttrFilter,
+				createListBulletMarker = this.utils.createListBulletMarker,
+				flattenList = filters.flattenList,
+				assembleList = filters.assembleList,
+				isListBulletIndicator = this.utils.isListBulletIndicator,
+				containsNothingButSpaces = this.utils.isContainingOnlySpaces,
+				resolveListItem = this.utils.resolveList,
+				convertToPx = this.utils.convertToPx,
+				getStyleComponents = this.utils.getStyleComponents,
+				listDtdParents = this.utils.listDtdParents,
+				removeFontStyles = config.pasteFromWordRemoveFontStyles !== false,
+				removeStyles = config.pasteFromWordRemoveStyles !== false;
+
+			return {
+
+				elementNames :
+				[
+					// Remove script, meta and link elements.
+					[ ( /meta|link|script/ ), '' ]
+				],
+
+				root : function( element )
+				{
+					element.filterChildren();
+					assembleList( element );
+				},
+
+				elements :
+				{
+					'^' : function( element )
+					{
+						// Transform CSS style declaration to inline style.
+						var applyStyleFilter;
+						if ( CKEDITOR.env.gecko && ( applyStyleFilter = filters.applyStyleFilter ) )
+							applyStyleFilter( element );
+					},
+
+					$ : function( element )
+					{
+						var tagName = element.name || '',
+							attrs = element.attributes;
+
+						// Convert length unit of width/height on blocks to
+						// a more editor-friendly way (px).
+						if ( tagName in blockLike
+							&& attrs.style )
+						{
+							attrs.style = stylesFilter(
+										[ [ ( /^(:?width|height)$/ ), null, convertToPx ] ] )( attrs.style ) || '';
+						}
+
+						// Processing headings.
+						if ( tagName.match( /h\d/ ) )
+						{
+							element.filterChildren();
+							// Is the heading actually a list item?
+							if( resolveListItem( element ) )
+								return;
+
+							// Adapt heading styles to editor's convention.
+							elementMigrateFilter( config[ 'format_' + tagName ] )( element );
+						}
+						// Remove inline elements which contain only empty spaces.
+						else if ( tagName in dtd.$inline )
+						{
+							element.filterChildren();
+							if ( containsNothingButSpaces( element ) )
+								delete element.name;
+						}
+						// Remove element with ms-office namespace,
+						// with it's content preserved, e.g. 'o:p'.
+						else if ( tagName.indexOf( ':' ) != -1
+								 && tagName.indexOf( 'cke' ) == -1 )
+						{
+							element.filterChildren();
+
+							// Restore image real link from vml.
+							if ( tagName == 'v:imagedata' )
+							{
+								var href = element.attributes[ 'o:href' ];
+								if ( href )
+									element.attributes.src = href;
+								element.name = 'img';
+								return;
+							}
+							delete element.name;
+						}
+
+						// Assembling list items into a whole list.
+						if ( tagName in listDtdParents )
+						{
+							element.filterChildren();
+							assembleList( element );
+						}
+					},
+
+					// We'll drop any style sheet, but Firefox conclude
+					// certain styles in a single style element, which are
+					// required to be changed into inline ones.
+					'style' : function( element )
+					{
+						if ( CKEDITOR.env.gecko )
+						{
+							// Grab only the style definition section.
+							var styleDefSection = element.onlyChild().value.match( /\/\* Style Definitions \*\/([\s\S]*?)\/\*/ ),
+								styleDefText = styleDefSection && styleDefSection[ 1 ],
+								rules = {}; // Storing the parsed result.
+
+							if ( styleDefText )
+							{
+								styleDefText
+									// Remove line-breaks.
+									.replace(/[\n\r]/g,'')
+									// Extract selectors and style properties.
+									.replace( /(.+?)\{(.+?)\}/g,
+										function( rule, selectors, styleBlock )
+										{
+											selectors = selectors.split( ',' );
+											var length = selectors.length, selector;
+											for ( var i = 0; i < length; i++ )
+											{
+												// Assume MS-Word mostly generate only simple
+												// selector( [Type selector][Class selector]).
+												CKEDITOR.tools.trim( selectors[ i ] )
+															  .replace( /^(\w+)(\.[\w-]+)?$/g,
+												function( match, tagName, className )
+												{
+													tagName = tagName || '*';
+													className = className.substring( 1, className.length );
+
+													// Reject MS-Word Normal styles.
+													if( className.match( /MsoNormal/ ) )
+														return;
+
+													if( !rules[ tagName ] )
+														rules[ tagName ] = {};
+													if( className )
+														rules[ tagName ][ className ] = styleBlock;
+													else
+														rules[ tagName ] = styleBlock;
+												} );
+											}
+										});
+
+								filters.applyStyleFilter = function( element )
+								{
+									var name = rules[ '*' ] ? '*' : element.name,
+										className = element.attributes && element.attributes[ 'class' ],
+										style;
+									if( name in rules )
+									{
+										style = rules[ name ];
+										if( typeof style == 'object' )
+											style = style[ className ];
+										// Maintain style rules priorities.
+										style && element.addStyle( style, true );
+									}
+								};
+							}
+						}
+						return false;
+					},
+
+					'p' : function( element )
+					{
+						element.filterChildren();
+
+						var attrs = element.attributes,
+							parent = element.parent,
+							children = element.children;
+
+						// Is the paragraph actually a list item?
+						if ( resolveListItem( element ) )
+							return;
+
+						// Adapt paragraph formatting to editor's convention
+						// according to enter-mode.
+						if ( config.enterMode == CKEDITOR.ENTER_BR )
+						{
+							// We suffer from attribute/style lost in this situation.
+							delete element.name;
+							element.add( new CKEDITOR.htmlParser.element( 'br' ) );
+						}
+						else
+							elementMigrateFilter( config[ 'format_' + ( config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ] )( element );
+					},
+
+					'div' : function( element )
+					{
+						// Aligned table with no text surrounded is represented by a wrapper div, from which
+						// table cells inherit as text-align styles, which is wrong.
+						// Instead we use a clear-float div after the table to properly achieve the same layout.
+						var singleChild = element.onlyChild();
+						if( singleChild && singleChild.name == 'table' )
+						{
+							var attrs = element.attributes;
+							singleChild.attributes = CKEDITOR.tools.extend( singleChild.attributes, attrs );
+							attrs.style && singleChild.addStyle( attrs.style );
+
+							var clearFloatDiv = new CKEDITOR.htmlParser.element( 'div' );
+							clearFloatDiv.addStyle( 'clear' ,'both' );
+							element.add( clearFloatDiv );
+							delete element.name;
+						}
+					},
+
+					'td' : function ( element )
+					{
+						// 'td' in 'thead' is actually <th>.
+						if ( element.getAncestor( 'thead') )
+							element.name = 'th';
+					},
+
+					// MS-Word sometimes present list as a mixing of normal list
+					// and pseudo-list, normalize the previous ones into pseudo form.
+					'ol' : flattenList,
+					'ul' : flattenList,
+					'dl' : flattenList,
+
+					'font' : function( element )
+					{
+						// IE/Safari: drop the font tag if it comes from list bullet text.
+						if ( !CKEDITOR.env.gecko && isListBulletIndicator( element.parent ) )
+						{
+							delete element.name;
+							return;
+						}
+
+						element.filterChildren();
+
+						var attrs = element.attributes,
+							styleText = attrs.style,
+							parent = element.parent;
+
+						if ( 'font' == parent.name )     // Merge nested <font> tags.
+						{
+							CKEDITOR.tools.extend( parent.attributes,
+									element.attributes );
+							styleText && parent.addStyle( styleText );
+							delete element.name;
+							return;
+						}
+						// Convert the merged into a span with all attributes preserved.
+						else
+						{
+							styleText = styleText || '';
+							// IE's having those deprecated attributes, normalize them.
+							if ( attrs.color )
+							{
+								attrs.color != '#000000' && ( styleText += 'color:' + attrs.color + ';' );
+								delete attrs.color;
+							}
+							if ( attrs.face )
+							{
+								styleText += 'font-family:' + attrs.face + ';';
+								delete attrs.face;
+							}
+							// TODO: Mapping size in ranges of xx-small,
+							// x-small, small, medium, large, x-large, xx-large.
+							if ( attrs.size )
+							{
+								styleText += 'font-size:' +
+								             ( attrs.size > 3 ? 'large'
+										             : ( attrs.size < 3 ? 'small' : 'medium' ) ) + ';';
+								delete attrs.size;
+							}
+
+							element.name = 'span';
+							element.addStyle( styleText );
+						}
+					},
+
+					'span' : function( element )
+					{
+						// IE/Safari: remove the span if it comes from list bullet text.
+						if ( !CKEDITOR.env.gecko && isListBulletIndicator( element.parent ) )
+							return false;
+
+						element.filterChildren();
+						if ( containsNothingButSpaces( element ) )
+						{
+							delete element.name;
+							return null;
+						}
+
+						// For IE/Safari: List item bullet type is supposed to be indicated by
+						// the text of a span with style 'mso-list : Ignore' or an image.
+						if ( !CKEDITOR.env.gecko && isListBulletIndicator( element ) )
+						{
+							var listSymbolNode = element.firstChild( function( node )
+							{
+								return node.value || node.name == 'img';
+							});
+
+							var listSymbol =  listSymbolNode && ( listSymbolNode.value || 'l.' ),
+								listType = listSymbol.match( /^([^\s]+?)([.)]?)$/ );
+							return createListBulletMarker( listType, listSymbol );
+						}
+
+						// Update the src attribute of image element with href.
+						var children = element.children,
+							attrs = element.attributes,
+							styleText = attrs && attrs.style,
+							firstChild = children && children[ 0 ];
+
+						// Assume MS-Word mostly carry font related styles on <span>,
+						// adapting them to editor's convention.
+						if ( styleText )
+						{
+							attrs.style = stylesFilter(
+									[
+										// Drop 'inline-height' style which make lines overlapping.
+										[ 'line-height' ],
+										[ ( /^font-family$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'font_style' ], 'family' ) : null ] ,
+										[ ( /^font-size$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'fontSize_style' ], 'size' ) : null ] ,
+										[ ( /^color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_foreStyle' ], 'color' ) : null ] ,
+										[ ( /^background-color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_backStyle' ], 'color' ) : null ]
+									] )( styleText, element ) || '';
+						}
+
+						return null;
+					},
+
+					// Migrate basic style formats to editor configured ones.
+					'b' : elementMigrateFilter( config[ 'coreStyles_bold' ] ),
+					'i' : elementMigrateFilter( config[ 'coreStyles_italic' ] ),
+					'u' : elementMigrateFilter( config[ 'coreStyles_underline' ] ),
+					's' : elementMigrateFilter( config[ 'coreStyles_strike' ] ),
+					'sup' : elementMigrateFilter( config[ 'coreStyles_superscript' ] ),
+					'sub' : elementMigrateFilter( config[ 'coreStyles_subscript' ] ),
+					// Editor doesn't support anchor with content currently (#3582),
+					// drop such anchors with content preserved.
+					'a' : function( element )
+					{
+						var attrs = element.attributes;
+						if( attrs && !attrs.href && attrs.name )
+							delete element.name;
+					},
+					'cke:listbullet' : function( element )
+					{
+						if ( element.getAncestor( /h\d/ ) && !config.pasteFromWordNumberedHeadingToList )
+							delete element.name;
+						}
+				},
+
+				attributeNames :
+				[
+					// Remove onmouseover and onmouseout events (from MS Word comments effect)
+					[ ( /^onmouse(:?out|over)/ ), '' ],
+					// Onload on image element.
+					[ ( /^onload$/ ), '' ],
+					// Remove office and vml attribute from elements.
+					[ ( /(?:v|o):\w+/ ), '' ],
+					// Remove lang/language attributes.
+					[ ( /^lang/ ), '' ]
+				],
+
+				attributes :
+				{
+					'style' : stylesFilter(
+					removeStyles ?
+					// Provide a white-list of styles that we preserve, those should
+					// be the ones that could later be altered with editor tools.
+					[
+						// Preserve margin-left/right which used as default indent style in the editor.
+						[ ( /^margin$|^margin-(?!bottom|top)/ ), null, function( value, element, name )
+							{
+								if ( element.name in { p : 1, div : 1 } )
+								{
+									var indentStyleName = config.contentsLangDirection == 'ltr' ?
+											'margin-left' : 'margin-right';
+
+									// Extract component value from 'margin' shorthand.
+									if ( name == 'margin' )
+									{
+										value = getStyleComponents( name, value,
+												[ indentStyleName ] )[ indentStyleName ];
+									}
+									else if ( name != indentStyleName )
+										return null;
+
+									if ( value && !emptyMarginRegex.test( value ) )
+										return [ indentStyleName, value ];
+								}
+
+								return null;
+							} ],
+
+						// Preserve clear float style.
+						[ ( /^clear$/ ) ],
+
+						[ ( /^border.*|margin.*|vertical-align|float$/ ), null,
+							function( value, element )
+							{
+								if( element.name == 'img' )
+									return value;
+							} ],
+
+						[ (/^width|height$/ ), null,
+							function( value, element )
+							{
+								if( element.name in { table : 1, td : 1, th : 1, img : 1 } )
+									return value;
+							} ]
+					] :
+					// Otherwise provide a black-list of styles that we remove.
+					[
+						[ ( /^mso-/ ) ],
+						// Fixing color values.
+						[ ( /-color$/ ), null, function( value )
+						{
+							if( value == 'transparent' )
+								return false;
+							if( CKEDITOR.env.gecko )
+								return value.replace( /-moz-use-text-color/g, 'transparent' );
+						} ],
+						// Remove empty margin values, e.g. 0.00001pt 0em 0pt
+						[ ( /^margin$/ ), emptyMarginRegex ],
+						[ 'text-indent', '0cm' ],
+						[ 'page-break-before' ],
+						[ 'tab-stops' ],
+						[ 'display', 'none' ],
+						removeFontStyles ? [ ( /font-?/ ) ] : null
+					], removeStyles ),
+
+					// Prefer width styles over 'width' attributes.
+					'width' : function( value, element )
+					{
+						if( element.name in dtd.$tableContent )
+							return false;
+					},
+					// Prefer border styles over table 'border' attributes.
+					'border' : function( value, element )
+					{
+						if( element.name in dtd.$tableContent )
+							return false;
+					},
+
+					// Only Firefox carry style sheet from MS-Word, which
+					// will be applied by us manually. For other browsers
+					// the css className is useless.
+					'class' : falsyFilter,
+
+					// MS-Word always generate 'background-color' along with 'bgcolor',
+					// simply drop the deprecated attributes.
+					'bgcolor' : falsyFilter,
+
+					// Deprecate 'valign' attribute in favor of 'vertical-align'.
+					'valign' : removeStyles ? falsyFilter : function( value, element )
+					{
+						element.addStyle( 'vertical-align', value );
+						return false;
+					}
+				},
+
+				// Fore none-IE, some useful data might be buried under these IE-conditional
+				// comments where RegExp were the right approach to dig them out where usual approach
+				// is transform it into a fake element node which hold the desired data.
+				comment :
+					!CKEDITOR.env.ie ?
+						function( value, node )
+						{
+							var imageInfo = value.match( /<img.*?>/ ),
+								listInfo = value.match( /^\[if !supportLists\]([\s\S]*?)\[endif\]$/ );
+
+							// Seek for list bullet indicator.
+							if ( listInfo )
+							{
+								// Bullet symbol could be either text or an image.
+								var listSymbol = listInfo[ 1 ] || ( imageInfo && 'l.' ),
+									listType = listSymbol && listSymbol.match( />([^\s]+?)([.)]?)</ );
+								return createListBulletMarker( listType, listSymbol );
+							}
+
+							// Reveal the <img> element in conditional comments for Firefox.
+							if( CKEDITOR.env.gecko && imageInfo )
+							{
+								var img = CKEDITOR.htmlParser.fragment.fromHtml( imageInfo[ 0 ] ).children[ 0 ],
+									previousComment = node.previous,
+									// Try to dig the real image link from vml markup from previous comment text.
+									imgSrcInfo = previousComment && previousComment.value.match( /<v:imagedata[^>]*o:href=['"](.*?)['"]/ ),
+									imgSrc = imgSrcInfo && imgSrcInfo[ 1 ];
+
+								// Is there a real 'src' url to be used?
+								imgSrc && ( img.attributes.src = imgSrc );
+								return img;
+							}
+
+							return false;
+						}
+					: falsyFilter
+			};
+		}
+	};
+
+	// The paste processor here is just a reduced copy of html data processor.
+	var pasteProcessor = function()
+	{
+		this.dataFilter = new CKEDITOR.htmlParser.filter();
+	};
+
+	pasteProcessor.prototype =
+	{
+		toHtml : function( data )
+		{
+			var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data, false ),
+				writer = new CKEDITOR.htmlParser.basicWriter();
+
+			fragment.writeHtml( writer, this.dataFilter );
+			return writer.getHtml( true );
+		}
+	};
+
+	CKEDITOR.cleanWord = function( data, editor )
+	{
+		// Firefox will be confused by those downlevel-revealed IE conditional
+		// comments, fixing them first( convert it to upperlevel-revealed one ).
+		// e.g. <![if !vml]>...<![endif]>
+		if( CKEDITOR.env.gecko )
+			data = data.replace( /(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi, '$1$2$3' );
+
+		var dataProcessor = new pasteProcessor(),
+			dataFilter = dataProcessor.dataFilter;
+
+		// These rules will have higher priorities than default ones.
+		dataFilter.addRules( CKEDITOR.plugins.pastefromword.getRules( editor ) );
+
+		// Allow extending data filter rules.
+		editor.fire( 'beforeCleanWord', { filter : dataFilter } );
+
+		try
+		{
+			data = dataProcessor.toHtml( data, false );
+		}
+		catch ( e )
+		{
+			alert( editor.lang.pastefromword.error );
+		}
+
+		/* Below post processing those things that are unable to delivered by filter rules. */
+
+		// Remove 'cke' namespaced attribute used in filter rules as marker.
+		data = data.replace( /cke:.*?".*?"/g, '' );
+
+		// Remove empty style attribute.
+		data = data.replace( /style=""/g, '' );
+
+		// Remove the dummy spans ( having no inline style ).
+		data = data.replace( /<span>/g, '' );
+
+		return data;
+	};
+})();
+
+/**
+ * Whether the ignore all font-related format styles, including:
+ * - font size;
+ * - font family;
+ * - font fore/background color;
+ * @name CKEDITOR.config.pasteFromWordRemoveFontStyles
+ * @type Boolean
+ * @default true
+ * @example
+ * config.pasteFromWordRemoveFontStyles = false;
+ */
+
+/**
+ * Whether transform MS-Word Outline Numbered Heading into html list.
+ * @name CKEDITOR.config.pasteFromWordNumberedHeadingToList
+ * @type Boolean
+ * @default false
+ * @example
+ * config.pasteFromWordNumberedHeadingToList = true;
+ */
+
+/**
+ * Whether remove element styles that can't be managed with editor, note that this
+ * this doesn't handle the font-specific styles, which depends on
+ * how {@link CKEDITOR.config.pasteFromWordRemoveFontStyles} is configured.
+ * @name CKEDITOR.config.pasteFromWordRemoveStyles
+ * @type Boolean
+ * @default true
+ * @example
+ * config.pasteFromWordRemoveStyles = false;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/pastefromword/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/pastefromword/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/pastefromword/plugin.js	(revision 4888)
@@ -0,0 +1,116 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+(function()
+{
+	CKEDITOR.plugins.add( 'pastefromword',
+	{
+		init : function( editor )
+		{
+
+			// Flag indicate this command is actually been asked instead of a generic
+			// pasting.
+			var forceFromWord = 0;
+			var resetFromWord = function()
+				{
+					setTimeout( function() { forceFromWord = 0; }, 0 );
+				};
+
+			// Features bring by this command beside the normal process:
+			// 1. No more bothering of user about the clean-up.
+			// 2. Perform the clean-up even if content is not from MS-Word.
+			// (e.g. from a MS-Word similar application.)
+			editor.addCommand( 'pastefromword',
+			{
+				canUndo : false,
+				exec : function()
+				{
+					forceFromWord = 1;
+					if( editor.execCommand( 'paste' ) === false )
+					{
+						editor.on( 'dialogHide', function ( evt )
+							{
+								evt.removeListener();
+								resetFromWord();
+							});
+					}
+				}
+			});
+
+			// Register the toolbar button.
+			editor.ui.addButton( 'PasteFromWord',
+				{
+					label : editor.lang.pastefromword.toolbar,
+					command : 'pastefromword'
+				});
+
+			editor.on( 'paste', function( evt )
+			{
+				var data = evt.data,
+					mswordHtml;
+
+				// MS-WORD format sniffing.
+				if ( ( mswordHtml = data[ 'html' ] )
+					 && ( forceFromWord || ( /(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/ ).test( mswordHtml ) ) )
+				{
+					var isLazyLoad = this.loadFilterRules( function()
+						{
+							// Event continuation with the original data.
+							if ( isLazyLoad )
+								editor.fire( 'paste', data );
+							else if( !editor.config.pasteFromWordPromptCleanup
+							  || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) )
+							 {
+								data[ 'html' ] = CKEDITOR.cleanWord( mswordHtml, editor );
+							}
+						});
+
+					// The cleanup rules are to be loaded, we should just cancel
+					// this event.
+					isLazyLoad && evt.cancel();
+				}
+			}, this );
+		},
+
+		loadFilterRules : function( callback )
+		{
+
+			var isLoaded = CKEDITOR.cleanWord;
+
+			if ( isLoaded )
+				callback();
+			else
+			{
+				var filterFilePath = CKEDITOR.getUrl(
+						CKEDITOR.config.pasteFromWordCleanupFile
+						|| ( this.path + 'filter/default.js' ) );
+
+				// Load with busy indicator.
+				CKEDITOR.scriptLoader.load( filterFilePath, callback, null, false, true );
+			}
+
+			return !isLoaded;
+		}
+	});
+})();
+
+/**
+ * Whether prompt the user about the clean-up of content from MS-Word.
+ * @name CKEDITOR.config.pasteFromWordPromptCleanup
+ * @type Boolean
+ * @default undefined
+ * @example
+ * config.pasteFromWordPromptCleanup = true;
+ */
+
+/**
+ * The file that provides the MS-Word Filtering rules.
+ * Note: It's a global configuration which are shared by all editor instances.
+ * @name CKEDITOR.config.pasteFromWordCleanupFile
+ * @type String
+ * @default 'default'
+ * @example
+ * // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file).
+ * CKEDITOR.config.pasteFromWordCleanupFile = 'custom';
+ */
Index: CKEditor/branches/features/aria/_source/plugins/pastetext/dialogs/pastetext.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/pastetext/dialogs/pastetext.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/pastetext/dialogs/pastetext.js	(revision 4888)
@@ -0,0 +1,68 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	CKEDITOR.dialog.add( 'pastetext', function( editor )
+		{
+			return {
+				title : editor.lang.pasteText.title,
+
+				minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 368 : 350,
+				minHeight : 240,
+
+				onShow : function()
+				{
+					// Reset the textarea value.
+					this.getContentElement( 'general', 'content' ).getInputElement().setValue( '' );
+				},
+
+				onOk : function()
+				{
+					// Get the textarea value.
+					var text = this.getContentElement( 'general', 'content' ).getInputElement().getValue(),
+						editor = this.getParentEditor();
+
+					setTimeout( function()
+					{
+						editor.fire( 'paste', { 'text' : text } );
+					}, 0 );
+				},
+
+				contents :
+				[
+					{
+						label : editor.lang.common.generalTab,
+						id : 'general',
+						elements :
+						[
+							{
+								type : 'html',
+								id : 'pasteMsg',
+								html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.pasteMsg + '</div>'
+							},
+							{
+								type : 'html',
+								id : 'content',
+								style : 'width:340px;height:170px',
+								html :
+									'<textarea style="' +
+										'width:346px;' +
+										'height:170px;' +
+										'resize: none;' +
+										'border:1px solid black;' +
+										'background-color:white">' +
+									'</textarea>',
+								focus : function()
+								{
+									this.getElement().focus();
+								}
+							}
+						]
+					}
+				]
+			};
+		});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/pastetext/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/pastetext/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/pastetext/plugin.js	(revision 4888)
@@ -0,0 +1,162 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Paste as plain text plugin
+ */
+
+(function()
+{
+	// The pastetext command definition.
+	var pasteTextCmd =
+	{
+		exec : function( editor )
+		{
+			var clipboardText = CKEDITOR.tools.tryThese(
+				function()
+				{
+					var clipboardText = window.clipboardData.getData( 'Text' );
+					if ( !clipboardText )
+						throw 0;
+					return clipboardText;
+				},
+				function()
+				{
+					window.netscape.security.PrivilegeManager.enablePrivilege( "UniversalXPConnect" );
+
+					var clip = window.Components.classes[ "@mozilla.org/widget/clipboard;1" ]
+							.getService( window.Components.interfaces.nsIClipboard );
+					var trans = window.Components.classes[ "@mozilla.org/widget/transferable;1" ]
+							.createInstance( window.Components.interfaces.nsITransferable );
+					trans.addDataFlavor( "text/unicode" );
+					clip.getData( trans, clip.kGlobalClipboard );
+
+					var str = {}, strLength = {}, clipboardText;
+					trans.getTransferData( "text/unicode", str, strLength );
+					str = str.value.QueryInterface( window.Components.interfaces.nsISupportsString );
+					clipboardText = str.data.substring( 0, strLength.value / 2 );
+					return clipboardText;
+				}
+				// Any other approach that's working...
+				);
+
+			if ( !clipboardText )   // Clipboard access privilege is not granted.
+			{
+				editor.openDialog( 'pastetext' );
+				return false;
+			}
+			else
+				editor.fire( 'paste', { 'text' : clipboardText } );
+
+			return true;
+		}
+	};
+
+	function doInsertText( doc, text )
+	{
+		// Native text insertion.
+		if( CKEDITOR.env.ie )
+		{
+			var selection = doc.selection;
+			if ( selection.type == 'Control' )
+				selection.clear();
+			selection.createRange().pasteHTML( text );
+		}
+		else
+			doc.execCommand( 'inserthtml', false, text );
+	}
+
+	// Register the plugin.
+	CKEDITOR.plugins.add( 'pastetext',
+	{
+		init : function( editor )
+		{
+			var commandName = 'pastetext',
+				command = editor.addCommand( commandName, pasteTextCmd );
+
+			editor.ui.addButton( 'PasteText',
+				{
+					label : editor.lang.pasteText.button,
+					command : commandName
+				});
+
+			CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/pastetext.js' ) );
+
+			if ( editor.config.forcePasteAsPlainText )
+			{
+				// Intercept the default pasting process.
+				editor.on( 'beforeCommandExec', function ( evt )
+				{
+					if ( evt.data.name == 'paste' )
+					{
+						editor.execCommand( 'pastetext' );
+						evt.cancel();
+					}
+				}, null, null, 0 );
+			}
+		},
+
+		requires : [ 'clipboard' ]
+	});
+
+	function doEnter( editor, mode, times, forceMode )
+	{
+		while ( times-- )
+		{
+			CKEDITOR.plugins.enterkey[ mode == CKEDITOR.ENTER_BR ? 'enterBr' : 'enterBlock' ]
+					( editor, mode, null, forceMode );
+		}
+	}
+
+	CKEDITOR.editor.prototype.insertText = function( text )
+	{
+		this.focus();
+		this.fire( 'saveSnapshot' );
+
+		var mode = this.getSelection().getStartElement().hasAscendant( 'pre', true ) ? CKEDITOR.ENTER_BR : this.config.enterMode,
+			isEnterBrMode = mode == CKEDITOR.ENTER_BR,
+			doc = this.document.$,
+			self = this,
+			line;
+
+		text = CKEDITOR.tools.htmlEncode( text.replace( /\r\n|\r/g, '\n' ) );
+
+		var startIndex = 0;
+		text.replace( /\n+/g, function( match, lastIndex )
+		 {
+			line = text.substring( startIndex, lastIndex );
+			startIndex = lastIndex + match.length;
+			line.length && doInsertText( doc, line );
+
+			var lineBreakNums = match.length,
+				// Duo consequence line-break as a enter block.
+				enterBlockTimes = isEnterBrMode ? 0 : Math.floor( lineBreakNums / 2 ),
+				// Per link-break as a enter br.
+				enterBrTimes = isEnterBrMode ? lineBreakNums : lineBreakNums % 2;
+
+			// Line-breaks are converted to editor enter key strokes.
+			doEnter( self, mode, enterBlockTimes );
+			doEnter( self, CKEDITOR.ENTER_BR, enterBrTimes, isEnterBrMode ? false : true );
+		 });
+
+		// Insert the last text line of text.
+		line = text.substring( startIndex, text.length );
+		line.length && doInsertText( doc, line );
+
+		this.fire( 'saveSnapshot' );
+	};
+})();
+
+
+/**
+ * Whether to force all pasting operations to insert on plain text into the
+ * editor, loosing any formatting information possibly available in the source
+ * text.
+ * @name CKEDITOR.config.forcePasteAsPlainText
+ * @type Boolean
+ * @default false
+ * @example
+ * config.forcePasteAsPlainText = true;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/popup/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/popup/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/popup/plugin.js	(revision 4888)
@@ -0,0 +1,62 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'popup');
+
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+{
+	/**
+	 * Opens Browser in a popup. The "width" and "height" parameters accept
+	 * numbers (pixels) or percent (of screen size) values.
+	 * @param {String} url The url of the external file browser.
+	 * @param {String} width Popup window width.
+	 * @param {String} height Popup window height.
+	 */
+	popup : function( url, width, height )
+	{
+		width = width || '80%';
+		height = height || '70%';
+
+		if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' )
+			width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 );
+
+		if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' )
+			height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 );
+
+		if ( width < 640 )
+			width = 640;
+
+		if ( height < 420 )
+			height = 420;
+
+		var top = parseInt( ( window.screen.height - height ) / 2, 10 ),
+			left = parseInt( ( window.screen.width  - width ) / 2, 10 ),
+			options = 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes' +
+			',width='  + width +
+			',height=' + height +
+			',top='  + top +
+			',left=' + left;
+
+		var popupWindow = window.open( '', null, options, true );
+
+		// Blocked by a popup blocker.
+		if ( !popupWindow )
+			return false;
+
+		try
+		{
+			popupWindow.moveTo( left, top );
+			popupWindow.resizeTo( width, height );
+			popupWindow.focus();
+			popupWindow.location.href = url;
+		}
+		catch (e)
+		{
+			popupWindow = window.open( url, null, options, true );
+		}
+
+		return true ;
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/preview/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/preview/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/preview/plugin.js	(revision 4888)
@@ -0,0 +1,108 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Preview plugin.
+ */
+
+(function()
+{
+	var previewCmd =
+	{
+		modes : { wysiwyg:1, source:1 },
+		canUndo : false,
+		exec : function( editor )
+		{
+			var sHTML,
+				config = editor.config,
+				baseTag = config.baseHref ? '<base href="' + config.baseHref + '"/>' : '',
+				isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+			if ( config.fullPage )
+			{
+				sHTML = editor.getData()
+						.replace( /<head>/, '$&' + baseTag )
+						.replace( /[^>]*(?=<\/title>)/, editor.lang.preview );
+			}
+			else
+			{
+				var bodyHtml = '<body ',
+						body = editor.document && editor.document.getBody();
+
+				if ( body )
+				{
+					if ( body.getAttribute( 'id' ) )
+						bodyHtml += 'id="' + body.getAttribute( 'id' ) + '" ';
+					if ( body.getAttribute( 'class' ) )
+						bodyHtml += 'class="' + body.getAttribute( 'class' ) + '" ';
+				}
+
+				bodyHtml += '>';
+
+				sHTML =
+					editor.config.docType +
+					'<html dir="' + editor.config.contentsLangDirection + '">' +
+					'<head>' +
+					baseTag +
+					'<title>' + editor.lang.preview + '</title>' +
+					CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
+					'</head>' + bodyHtml +
+					editor.getData() +
+					'</body></html>';
+			}
+
+			var iWidth	= 640,	// 800 * 0.8,
+				iHeight	= 420,	// 600 * 0.7,
+				iLeft	= 80;	// (800 - 0.8 * 800) /2 = 800 * 0.1.
+			try
+			{
+				var screen = window.screen;
+				iWidth = Math.round( screen.width * 0.8 );
+				iHeight = Math.round( screen.height * 0.7 );
+				iLeft = Math.round( screen.width * 0.1 );
+			}
+			catch ( e ){}
+
+			var sOpenUrl = '';
+			if ( isCustomDomain )
+			{
+				window._cke_htmlToLoad = sHTML;
+				sOpenUrl = 'javascript:void( (function(){' +
+					'document.open();' +
+					'document.domain="' + document.domain + '";' +
+					'document.write( window.opener._cke_htmlToLoad );' +
+					'document.close();' +
+					'window.opener._cke_htmlToLoad = null;' +
+					'})() )';
+			}
+
+			var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' +
+				iWidth + ',height=' + iHeight + ',left=' + iLeft );
+
+			if ( !isCustomDomain )
+			{
+				oWindow.document.open();
+				oWindow.document.write( sHTML );
+				oWindow.document.close();
+			}
+		}
+	};
+
+	var pluginName = 'preview';
+
+	// Register a plugin named "preview".
+	CKEDITOR.plugins.add( pluginName,
+	{
+		init : function( editor )
+		{
+			editor.addCommand( pluginName, previewCmd );
+			editor.ui.addButton( 'Preview',
+				{
+					label : editor.lang.preview,
+					command : pluginName
+				});
+		}
+	});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/print/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/print/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/print/plugin.js	(revision 4888)
@@ -0,0 +1,41 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Print Plugin
+ */
+
+CKEDITOR.plugins.add( 'print',
+{
+	init : function( editor )
+	{
+		var pluginName = 'print';
+
+		// Register the command.
+		var command = editor.addCommand( pluginName, CKEDITOR.plugins.print );
+
+		// Register the toolbar button.
+		editor.ui.addButton( 'Print',
+			{
+				label : editor.lang.print,
+				command : pluginName
+			});
+	}
+} );
+
+CKEDITOR.plugins.print =
+{
+	exec : function( editor )
+	{
+		if ( CKEDITOR.env.opera )
+			return;
+		else if ( CKEDITOR.env.gecko )
+			editor.window.$.print();
+		else
+			editor.document.$.execCommand( "Print" );
+	},
+	canUndo : false,
+	modes : { wysiwyg : !( CKEDITOR.env.opera ) }		// It is imposible to print the inner document in Opera.
+};
Index: CKEditor/branches/features/aria/_source/plugins/removeformat/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/removeformat/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/removeformat/plugin.js	(revision 4888)
@@ -0,0 +1,132 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'removeformat',
+{
+	requires : [ 'selection' ],
+
+	init : function( editor )
+	{
+		editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat );
+		editor.ui.addButton( 'RemoveFormat',
+			{
+				label : editor.lang.removeFormat,
+				command : 'removeFormat'
+			});
+	}
+});
+
+CKEDITOR.plugins.removeformat =
+{
+	commands :
+	{
+		removeformat :
+		{
+			exec : function( editor )
+			{
+				var tagsRegex = editor._.removeFormatRegex ||
+					( editor._.removeFormatRegex = new RegExp( '^(?:' + editor.config.removeFormatTags.replace( /,/g,'|' ) + ')$', 'i' ) );
+
+				var removeAttributes = editor._.removeAttributes ||
+					( editor._.removeAttributes = editor.config.removeFormatAttributes.split( ',' ) );
+
+				var ranges = editor.getSelection().getRanges();
+
+				for ( var i = 0, range ; range = ranges[ i ] ; i++ )
+				{
+					if ( range.collapsed )
+						continue;
+
+					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;
+					var endNode		= bookmark.endNode;
+
+					// We need to check the selection boundaries (bookmark spans) to break
+					// the code in a way that we can properly remove partially selected nodes.
+					// For example, removing a <b> style from
+					//		<b>This is [some text</b> to show <b>the] problem</b>
+					// ... where [ and ] represent the selection, must result:
+					//		<b>This is </b>[some text to show the]<b> problem</b>
+					// The strategy is simple, we just break the partial nodes before the
+					// removal logic, having something that could be represented this way:
+					//		<b>This is </b>[<b>some text</b> to show <b>the</b>]<b> problem</b>
+
+					var breakParent = function( node )
+					{
+						// Let's start checking the start boundary.
+						var path = new CKEDITOR.dom.elementPath( node );
+						var pathElements = path.elements;
+
+						for ( var i = 1, pathElement ; pathElement = pathElements[ i ] ; i++ )
+						{
+							if ( pathElement.equals( path.block ) || pathElement.equals( path.blockLimit ) )
+								break;
+
+							// If this element can be removed (even partially).
+							if ( tagsRegex.test( pathElement.getName() ) )
+								node.breakParent( pathElement );
+						}
+					};
+
+					breakParent( startNode );
+					breakParent( endNode );
+
+					// Navigate through all nodes between the bookmarks.
+					var 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;
+
+						// 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.getAttribute( '_cke_realelement' ) ) )
+						{
+							// Remove elements nodes that match with this style rules.
+							if ( tagsRegex.test( currentNode.getName() ) )
+								currentNode.remove( true );
+							else
+								currentNode.removeAttributes( removeAttributes );
+						}
+
+						currentNode = nextNode;
+					}
+
+					range.moveToBookmark( bookmark );
+				}
+
+				editor.getSelection().selectRanges( ranges );
+			}
+		}
+	}
+};
+
+/**
+ * A comma separated list of elements to be removed when executing the "remove
+ " format" command. Note that only inline elements are allowed.
+ * @type String
+ * @default 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'
+ * @example
+ */
+CKEDITOR.config.removeFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var';
+
+/**
+ * A comma separated list of elements attributes to be removed when executing
+ * the "remove format" command.
+ * @type String
+ * @default 'class,style,lang,width,height,align,hspace,valign'
+ * @example
+ */
+CKEDITOR.config.removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign';
Index: CKEditor/branches/features/aria/_source/plugins/resize/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/resize/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/resize/plugin.js	(revision 4888)
@@ -0,0 +1,115 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'resize',
+{
+	init : function( editor )
+	{
+		var config = editor.config;
+
+		if ( config.resize_enabled )
+		{
+			var container = null;
+			var origin, startSize;
+
+			function dragHandler( evt )
+			{
+				var dx = evt.data.$.screenX - origin.x;
+				var dy = evt.data.$.screenY - origin.y;
+				var internalWidth = startSize.width + dx * ( editor.lang.dir == 'rtl' ? -1 : 1 );
+				var internalHeight = startSize.height + dy;
+
+				editor.resize( Math.max( config.resize_minWidth, Math.min( internalWidth, config.resize_maxWidth ) ),
+						Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) ) );
+			}
+
+			function dragEndHandler ( evt )
+			{
+				CKEDITOR.document.removeListener( 'mousemove', dragHandler );
+				CKEDITOR.document.removeListener( 'mouseup', dragEndHandler );
+
+				if ( editor.document )
+				{
+					editor.document.removeListener( 'mousemove', dragHandler );
+					editor.document.removeListener( 'mouseup', dragEndHandler );
+				}
+			}
+
+			var mouseDownFn = CKEDITOR.tools.addFunction( function( $event )
+				{
+					if ( !container )
+						container = editor.getResizable();
+
+					startSize = { width : container.$.offsetWidth || 0, height : container.$.offsetHeight || 0 };
+					origin = { x : $event.screenX, y : $event.screenY };
+
+					CKEDITOR.document.on( 'mousemove', dragHandler );
+					CKEDITOR.document.on( 'mouseup', dragEndHandler );
+
+					if ( editor.document )
+					{
+						editor.document.on( 'mousemove', dragHandler );
+						editor.document.on( 'mouseup', dragEndHandler );
+					}
+				} );
+
+			editor.on( 'themeSpace', function( event )
+				{
+					if ( event.data.space == 'bottom' )
+					{
+						event.data.html += '<div class="cke_resizer"' +
+							' title="' + CKEDITOR.tools.htmlEncode( editor.lang.resize ) + '"' +
+							' onmousedown="CKEDITOR.tools.callFunction(' + mouseDownFn + ', event)"' +
+							'></div>';
+					}
+				}, editor, null, 100 );
+		}
+	}
+} );
+
+/**
+ * The minimum editor width, in pixels, when resizing it with the resize handle.
+ * @type Number
+ * @default 750
+ * @example
+ * config.resize_minWidth = 500;
+ */
+CKEDITOR.config.resize_minWidth = 750;
+
+/**
+ * The minimum editor height, in pixels, when resizing it with the resize handle.
+ * @type Number
+ * @default 250
+ * @example
+ * config.resize_minHeight = 600;
+ */
+CKEDITOR.config.resize_minHeight = 250;
+
+/**
+ * The maximum editor width, in pixels, when resizing it with the resize handle.
+ * @type Number
+ * @default 3000
+ * @example
+ * config.resize_maxWidth = 750;
+ */
+CKEDITOR.config.resize_maxWidth = 3000;
+
+/**
+ * The maximum editor height, in pixels, when resizing it with the resize handle.
+ * @type Number
+ * @default 3000
+ * @example
+ * config.resize_maxHeight = 600;
+ */
+CKEDITOR.config.resize_maxHeight = 3000;
+
+/**
+ * Whether to enable the resizing feature. If disabed the resize handler will not be visible.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.resize_enabled = false;
+ */
+CKEDITOR.config.resize_enabled = true;
Index: CKEditor/branches/features/aria/_source/plugins/richcombo/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/richcombo/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/richcombo/plugin.js	(revision 4888)
@@ -0,0 +1,357 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'richcombo',
+{
+	requires : [ 'floatpanel', 'listblock', 'button' ],
+
+	beforeInit : function( editor )
+	{
+		editor.ui.addHandler( CKEDITOR.UI_RICHCOMBO, CKEDITOR.ui.richCombo.handler );
+	}
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_RICHCOMBO = 3;
+
+CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
+{
+	$ : function( definition )
+	{
+		// Copy all definition properties to this object.
+		CKEDITOR.tools.extend( this, definition,
+			// Set defaults.
+			{
+				title : definition.label,
+				modes : { wysiwyg : 1 }
+			});
+
+		// We don't want the panel definition in this object.
+		var panelDefinition = this.panel || {};
+		delete this.panel;
+
+		this.id = CKEDITOR.tools.getNextNumber();
+
+		this.document = ( panelDefinition
+							&& panelDefinition.parent
+							&& panelDefinition.parent.getDocument() )
+						|| CKEDITOR.document;
+
+		panelDefinition.className = ( panelDefinition.className || '' ) + ' cke_rcombopanel';
+
+		this._ =
+		{
+			panelDefinition : panelDefinition,
+			items : {},
+			state : CKEDITOR.TRISTATE_OFF
+		};
+	},
+
+	statics :
+	{
+		handler :
+		{
+			create : function( definition )
+			{
+				return new CKEDITOR.ui.richCombo( definition );
+			}
+		}
+	},
+
+	proto :
+	{
+		renderHtml : function( editor )
+		{
+			var output = [];
+			this.render( editor, output );
+			return output.join( '' );
+		},
+
+		/**
+		 * Renders the combo.
+		 * @param {CKEDITOR.editor} editor The editor instance which this button is
+		 *		to be used by.
+		 * @param {Array} output The output array to which append the HTML relative
+		 *		to this button.
+		 * @example
+		 */
+		render : function( editor, output )
+		{
+			var id = 'cke_' + this.id;
+			var clickFn = CKEDITOR.tools.addFunction( function( $element )
+				{
+					var _ = this._;
+
+					if ( _.state == CKEDITOR.TRISTATE_DISABLED )
+						return;
+
+					this.createPanel( editor );
+
+					if ( _.on )
+					{
+						_.panel.hide();
+						return;
+					}
+
+					if ( !_.committed )
+					{
+						_.list.commit();
+						_.committed = 1;
+					}
+
+					var value = this.getValue();
+					if ( value )
+						_.list.mark( value );
+					else
+						_.list.unmarkAll();
+
+					_.panel.showBlock( this.id, new CKEDITOR.dom.element( $element ), 4 );
+				},
+				this );
+
+			var instance = {
+				id : id,
+				combo : this,
+				focus : function()
+				{
+					var element = CKEDITOR.document.getById( id ).getChild( 1 );
+					element.focus();
+				},
+				execute : clickFn
+			};
+
+			editor.on( 'mode', function()
+				{
+					this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+				},
+				this );
+
+			var keyDownFn = CKEDITOR.tools.addFunction( function( ev, element )
+				{
+					ev = new CKEDITOR.dom.event( ev );
+
+					var keystroke = ev.getKeystroke();
+					switch ( keystroke )
+					{
+						case 13 :	// ENTER
+						case 32 :	// SPACE
+						case 40 :	// ARROW-DOWN
+							// Show panel
+							CKEDITOR.tools.callFunction( clickFn, element );
+							break;
+						default :
+							// Delegate the default behavior to toolbar button key handling.
+							instance.onkey( instance,  keystroke );
+					}
+
+					// Avoid subsequent focus grab on editor document.
+					ev.preventDefault();
+				});
+
+			output.push(
+				'<span class="cke_rcombo">',
+				'<span id=', id );
+
+			if ( this.className )
+				output.push( ' class="', this.className, ' cke_off"');
+
+			output.push(
+				'>' +
+					'<span class=cke_label>', this.label, '</span>' +
+					'<a hidefocus=true title="', this.title, '" tabindex="-1" href="javascript:void(\'', this.label, '\')"' );
+
+			// Some browsers don't cancel key events in the keydown but in the
+			// keypress.
+			// TODO: Check if really needed for Gecko+Mac.
+			if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+			{
+				output.push(
+					' onkeypress="return false;"' );
+			}
+
+			// With Firefox, we need to force it to redraw, otherwise it
+			// will remain in the focus state.
+			if ( CKEDITOR.env.gecko )
+			{
+				output.push(
+					' onblur="this.style.cssText = this.style.cssText;"' );
+			}
+
+			output.push(
+					' onkeydown="CKEDITOR.tools.callFunction( ', keyDownFn, ', event, this );"' +
+					' onclick="CKEDITOR.tools.callFunction(', clickFn, ', this); return false;">' +
+						'<span>' +
+							'<span class="cke_accessibility">' + ( this.voiceLabel ? this.voiceLabel + ' ' : '' ) + '</span>' +
+							'<span id="' + id + '_text" class="cke_text cke_inline_label">' + this.label + '</span>' +
+						'</span>' +
+						'<span class=cke_openbutton></span>' +
+					'</a>' +
+				'</span>' +
+				'</span>' );
+
+			if ( this.onRender )
+				this.onRender();
+
+			return instance;
+		},
+
+		createPanel : function( editor )
+		{
+			if ( this._.panel )
+				return;
+
+			var panelDefinition = this._.panelDefinition,
+				panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(),
+				panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ),
+				list = panel.addListBlock( this.id, this.multiSelect ),
+				me = this;
+
+			panel.onShow = function()
+				{
+					if ( me.className )
+						this.element.getFirst().addClass( me.className + '_panel' );
+
+					me.setState( CKEDITOR.TRISTATE_ON );
+
+					list.focus( !me.multiSelect && me.getValue() );
+
+					me._.on = 1;
+
+					if ( me.onOpen )
+						me.onOpen();
+				};
+
+			panel.onHide = function()
+				{
+					if ( me.className )
+						this.element.getFirst().removeClass( me.className + '_panel' );
+
+					me.setState( CKEDITOR.TRISTATE_OFF );
+
+					me._.on = 0;
+
+					if ( me.onClose )
+						me.onClose();
+				};
+
+			panel.onEscape = function()
+				{
+					panel.hide();
+					me.document.getById( 'cke_' + me.id ).getFirst().getNext().focus();
+				};
+
+			list.onClick = function( value, marked )
+				{
+					// Move the focus to the main windows, otherwise it will stay
+					// into the floating panel, even if invisible, and Safari and
+					// Opera will go a bit crazy.
+					me.document.getWindow().focus();
+
+					if ( me.onClick )
+						me.onClick.call( me, value, marked );
+
+					if ( marked )
+						me.setValue( value, me._.items[ value ] );
+					else
+						me.setValue( '' );
+
+					panel.hide();
+				};
+
+			this._.panel = panel;
+			this._.list = list;
+
+			panel.getBlock( this.id ).onHide = function()
+				{
+					me._.on = 0;
+					me.setState( CKEDITOR.TRISTATE_OFF );
+				};
+
+			if ( this.init )
+				this.init();
+		},
+
+		setValue : function( value, text )
+		{
+			this._.value = value;
+
+			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 );
+		},
+
+		getValue : function()
+		{
+			return this._.value || '';
+		},
+
+		unmarkAll : function()
+		{
+			this._.list.unmarkAll();
+		},
+
+		mark : function( value )
+		{
+			this._.list.mark( value );
+		},
+
+		hideItem : function( value )
+		{
+			this._.list.hideItem( value );
+		},
+
+		hideGroup : function( groupTitle )
+		{
+			this._.list.hideGroup( groupTitle );
+		},
+
+		showAll : function()
+		{
+			this._.list.showAll();
+		},
+
+		add : function( value, html, text )
+		{
+			this._.items[ value ] = text || value;
+			this._.list.add( value, html, text );
+		},
+
+		startGroup : function( title )
+		{
+			this._.list.startGroup( title );
+		},
+
+		commit : function()
+		{
+			this._.list.commit();
+		},
+
+		setState : function( state )
+		{
+			if ( this._.state == state )
+				return;
+
+			this.document.getById( 'cke_' + this.id ).setState( state );
+
+			this._.state = state;
+		}
+	}
+});
+
+CKEDITOR.ui.prototype.addRichCombo = function( name, definition )
+{
+	this.add( name, CKEDITOR.UI_RICHCOMBO, definition );
+};
Index: CKEditor/branches/features/aria/_source/plugins/save/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/save/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/save/plugin.js	(revision 4888)
@@ -0,0 +1,55 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileSave plugin.
+ */
+
+(function()
+{
+	var saveCmd =
+	{
+		modes : { wysiwyg:1, source:1 },
+
+		exec : function( editor )
+		{
+			var $form = editor.element.$.form;
+
+			if ( $form )
+			{
+				try
+				{
+					$form.submit();
+				}
+				catch( e )
+				{
+					// If there's a button named "submit" then the form.submit
+					// function is masked and can't be called in IE/FF, so we
+					// call the click() method of that button.
+					if ( $form.submit.click )
+						$form.submit.click();
+				}
+			}
+		}
+	};
+
+	var pluginName = 'save';
+
+	// Register a plugin named "save".
+	CKEDITOR.plugins.add( pluginName,
+	{
+		init : function( editor )
+		{
+			var command = editor.addCommand( pluginName, saveCmd );
+			command.modes = { wysiwyg : !!( editor.element.$.form ) };
+
+			editor.ui.addButton( 'Save',
+				{
+					label : editor.lang.save,
+					command : pluginName
+				});
+		}
+	});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/options.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/options.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/options.js	(revision 4888)
@@ -0,0 +1,533 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'scaytcheck', function( editor )
+{
+	var firstLoad = true,
+		captions,
+		doc = CKEDITOR.document,
+		tags = [],
+		i,
+		contents = [],
+		userDicActive = false,
+		dic_buttons = [
+			// [0] contains buttons for creating
+			"dic_create,dic_restore",
+			// [1] contains buton for manipulation
+			"dic_rename,dic_delete"
+		],
+		optionsIds= [ 'mixedCase','mixedWithDigits','allCaps','ignoreDomainNames' ];
+
+	// common operations
+
+	function getBOMAllOptions () {
+		 return document.forms.optionsbar["options"];
+	}
+	function getBOMAllLangs () {
+		 return document.forms.languagesbar["scayt_lang"];
+	}
+
+	function setCheckedValue(radioObj, newValue) {
+		if(!radioObj)
+			return;
+		var radioLength = radioObj.length;
+		if(radioLength == undefined) {
+			radioObj.checked = (radioObj.value == newValue.toString());
+			return;
+		}
+		for(var i = 0; i < radioLength; i++) {
+			radioObj[i].checked = false;
+			if(radioObj[i].value == newValue.toString()) {
+				radioObj[i].checked = true;
+			}
+		}
+	}
+
+	var tags_contents =  [
+				{
+					id : 'options',
+					label : editor.lang.scayt.optionsTab,
+					elements : [
+						{
+							type : 'html',
+							id : 'options',
+							html : 	'<form name="optionsbar"><div class="inner_options">' +
+									'	<div class="messagebox"></div>' +
+									'	<div style="display:none;">' +
+									'		<input type="checkbox" name="options"  id="allCaps" />' +
+									'		<label for="allCaps" id="label_allCaps"></label>' +
+									'	</div>' +
+									'	<div style="display:none;">' +
+									'		<input name="options" type="checkbox"  id="ignoreDomainNames" />' +
+									'		<label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>' +
+									'	</div>' +
+									'	<div style="display:none;">' +
+									'	<input name="options" type="checkbox"  id="mixedCase" />' +
+									'		<label for="mixedCase" id="label_mixedCase"></label>' +
+									'	</div>' +
+									'	<div style="display:none;">' +
+									'		<input name="options" type="checkbox"  id="mixedWithDigits" />' +
+									'		<label for="mixedWithDigits" id="label_mixedWithDigits"></label>' +
+									'	</div>' +
+									'</div></form>'
+						}
+					]
+				},
+				{
+					id : 'langs',
+					label : editor.lang.scayt.languagesTab,
+					elements : [
+						{
+							type : 'html',
+							id : 'langs',
+							html : 	'<form name="languagesbar"><div class="inner_langs">' +
+									'	<div class="messagebox"></div>	' +
+									'   <div style="float:left;width:45%;margin-left:5px;" id="scayt_lcol" ></div>' +
+									'   <div style="float:left;width:45%;margin-left:15px;" id="scayt_rcol"></div>' +
+									'</div></form>'
+						}
+					]
+				},
+				{
+					id : 'dictionaries',
+					label : editor.lang.scayt.dictionariesTab,
+					elements : [
+						{
+							type : 'html',
+							style: '',
+							id : 'dictionaries',
+							html : 	'<form name="dictionarybar"><div class="inner_dictionary" style="text-align:left; white-space:normal; width:320px; overflow: hidden;">' +
+									'	<div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>' +
+									'	<div style="margin:5px auto; width:80%;white-space:normal;"> ' +
+									'       <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>'+
+									'		<span class="cke_dialog_ui_labeled_content" >'+
+									'			<div class="cke_dialog_ui_input_text">'+
+									'				<input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>'+
+									'		</div></span></div>'+
+									'		<div style="margin:5px auto; width:80%;white-space:normal;">'+
+									'			<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create">'+
+									'				</a>' +
+									'			<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete">'+
+									'				</a>' +
+									'			<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename">'+
+									'				</a>' +
+									'			<a  style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore">'+
+									'				</a>' +
+									'		</div>' +
+									'	<div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info"></div>' +
+									'</div></form>'
+						}
+					]
+				},
+				{
+					id : 'about',
+					label : editor.lang.scayt.aboutTab,
+					elements : [
+						{
+							type : 'html',
+							id : 'about',
+							style : 'margin: 5px 5px;',
+							html : '<div id="scayt_about"></div>'
+						}
+					]
+				}
+			];
+
+	var dialogDefiniton = {
+		title : editor.lang.scayt.title,
+		minWidth : 360,
+		minHeight : 220,
+		onShow : function()
+		{
+			var dialog = this;
+			dialog.data = editor.fire( 'scaytDialog', {} );
+			dialog.options = dialog.data.scayt_control.option();
+			dialog.sLang = dialog.data.scayt_control.sLang;
+
+			if ( !dialog.data || !dialog.data.scayt || !dialog.data.scayt_control )
+			{
+				alert( 'Error loading application service' );
+				dialog.hide();
+				return;
+			}
+
+			var stop = 0;
+			if ( firstLoad )
+			{
+				dialog.data.scayt.getCaption( editor.langCode || 'en', function( caps )
+				{
+					if ( stop++ > 0 )	// Once only
+						return;
+					captions = caps;
+					init_with_captions.apply( dialog );
+					reload.apply( dialog );
+					firstLoad = false;
+				});
+			}
+			else
+				reload.apply( dialog );
+
+			dialog.selectPage( dialog.data.tab );
+		},
+		onOk : function()
+		{
+			var scayt_control =  this.data.scayt_control;
+			scayt_control.option( this.options );
+			// Setup languge if it was changed.
+			var csLang = this.chosed_lang;
+			scayt_control.setLang( csLang );
+			scayt_control.refresh();
+		},
+		onCancel: function()
+		{
+			var o = getBOMAllOptions();
+			for (i in o)
+				o[i].checked = false;
+
+			setCheckedValue(getBOMAllLangs(),"");
+		},
+		contents : contents
+	};
+
+	var scayt_control = CKEDITOR.plugins.scayt.getScayt( editor );
+
+	tags = CKEDITOR.plugins.scayt.uiTabs;
+
+	for ( i in tags )
+	{
+		if ( tags[ i ] == 1 )
+			contents[ contents.length ] = tags_contents[ i ];
+	}
+	if ( tags[2] == 1 )
+		userDicActive = true;
+
+
+	var init_with_captions = function()
+	{
+		var dialog = this,
+			lang_list = dialog.data.scayt.getLangList(),
+			buttons = [ 'dic_create','dic_delete','dic_rename','dic_restore' ],
+			labels = optionsIds,
+			i;
+
+		// Add buttons titles
+		if (userDicActive)
+		{
+			for ( i in buttons )
+			{
+				var button = buttons[ i ];
+				doc.getById( button ).setHtml( '<span class="cke_dialog_ui_button">' + captions[ 'button_' + button]  +'</span>' );
+			}
+			doc.getById( 'dic_info' ).setHtml( captions[ 'dic_info' ] );
+		}
+
+
+		// Fill options and dictionary labels.
+		if (tags[0] == 1)
+		{
+			for ( i in labels )
+			{
+				var label = 'label_' + labels[ i ],
+					labelElement = doc.getById( label );
+
+				if (  'undefined' != typeof labelElement
+				   && 'undefined' != typeof captions[ label ]
+				   && 'undefined' != typeof dialog.options[labels[ i ]] )
+				{
+					labelElement.setHtml( captions[ label ] );
+					var labelParent = labelElement.getParent();
+					labelParent.$.style.display = "block";
+				}
+			}
+		}
+
+		var about = '<p>' + captions[ 'about_throwt_image' ] + '</p>'+
+					'<p>' + captions[ 'version' ]  + dialog.data.scayt.version.toString() + '</p>' +
+					'<p>' + captions[ 'about_throwt_copy' ] + '</p>';
+
+		doc.getById( 'scayt_about' ).setHtml( about );
+
+		// Create languages tab.
+		var createOption = function( option, list )
+		{
+			var label = doc.createElement( 'label' );
+			label.setAttribute( 'for', 'cke_option' + option );
+			label.setHtml( list[ option ] );
+
+			if ( dialog.sLang == option )	// Current.
+				dialog.chosed_lang = option;
+
+			var div = doc.createElement( 'div' );
+			var radio = CKEDITOR.dom.element.createFromHtml( '<input id="cke_option' +
+					option + '" type="radio" ' +
+					( dialog.sLang == option ? 'checked="checked"' : '' ) +
+					' value="' + option + '" name="scayt_lang" />' );
+
+			radio.on( 'click', function()
+				{
+					this.$.checked = true;
+					dialog.chosed_lang = option;
+				});
+
+			div.append( radio );
+			div.append( label );
+
+			return {
+				lang : list[ option ],
+				code : option,
+				radio : div
+			};
+		};
+
+		var langList = [];
+		if (tags[1] ==1 )
+		{
+			for ( i in lang_list.rtl )
+				langList[ langList.length ] = createOption( i, lang_list.ltr );
+
+			for ( i in lang_list.ltr )
+				langList[ langList.length  ] = createOption( i, lang_list.ltr );
+
+			langList.sort( 	function( lang1, lang2 )
+				{
+					return ( lang2.lang > lang1.lang ) ? -1 : 1 ;
+				});
+
+			var fieldL = doc.getById( 'scayt_lcol' ),
+				fieldR = doc.getById( 'scayt_rcol' );
+			for ( i=0; i < langList.length; i++ )
+			{
+				var field = ( i < langList.length / 2 ) ? fieldL : fieldR;
+				field.append( langList[ i ].radio );
+			}
+		}
+
+		// user dictionary handlers
+		var dic = {};
+		dic.dic_create = function( el, dic_name , dic_buttons )
+		{
+			// comma separated button's ids include repeats if exists
+			var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+
+			var err_massage = captions["err_dic_create"];
+			var suc_massage = captions["succ_dic_create"];
+
+			window.scayt.createUserDictionary(dic_name,
+				function(arg)
+				{
+					hide_dic_buttons ( all_buttons );
+					display_dic_buttons ( dic_buttons[1] );
+					suc_massage = suc_massage.replace("%s" , arg.dname );
+					dic_success_message (suc_massage);
+				},
+				function(arg)
+				{
+					err_massage = err_massage.replace("%s" ,arg.dname );
+					dic_error_message ( err_massage + "( "+ (arg.message || "") +")");
+				});
+
+		};
+
+		dic.dic_rename = function( el, dic_name )
+		{
+			//
+			// try to rename dictionary
+			var err_massage = captions["err_dic_rename"] || "";
+			var suc_massage = captions["succ_dic_rename"] || "";
+			window.scayt.renameUserDictionary(dic_name,
+				function(arg)
+					{
+						suc_massage = suc_massage.replace("%s" , arg.dname );
+						set_dic_name( dic_name );
+						dic_success_message ( suc_massage );
+					},
+				function(arg)
+					{
+						err_massage = err_massage.replace("%s" , arg.dname  );
+						set_dic_name( dic_name );
+						dic_error_message( err_massage + "( " + ( arg.message || "" ) + " )" );
+					});
+		};
+
+		dic.dic_delete = function ( el, dic_name , dic_buttons )
+		{
+			var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+			var err_massage = captions["err_dic_delete"];
+			var suc_massage = captions["succ_dic_delete"];
+
+			// try to delete dictionary
+			window.scayt.deleteUserDictionary(
+				function(arg)
+				{
+					suc_massage = suc_massage.replace("%s" , arg.dname );
+					hide_dic_buttons ( all_buttons );
+					display_dic_buttons ( dic_buttons[0] );
+					set_dic_name( "" ); // empty input field
+					dic_success_message( suc_massage );
+				},
+				function(arg)
+				{
+					err_massage = err_massage.replace("%s" , arg.dname );
+					dic_error_message(err_massage);
+				});
+		};
+
+		dic.dic_restore = dialog.dic_restore || function ( el, dic_name , dic_buttons )
+			{
+				// try to restore existing dictionary
+				var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+				var err_massage = captions["err_dic_restore"];
+				var suc_massage = captions["succ_dic_restore"];
+
+				window.scayt.restoreUserDictionary(dic_name,
+					function(arg)
+					{
+						suc_massage = suc_massage.replace("%s" , arg.dname );
+						hide_dic_buttons ( all_buttons );
+						display_dic_buttons(dic_buttons[1]);
+						dic_success_message( suc_massage );
+					},
+					function(arg)
+					{
+						err_massage = err_massage.replace("%s" , arg.dname );
+						dic_error_message( err_massage );
+					});
+			};
+
+		function onDicButtonClick( ev )
+		{
+			var dic_name = doc.getById('dic_name').getValue();
+			if ( !dic_name )
+			{
+				dic_error_message(" Dictionary name should not be empty. ");
+				return false;
+			}
+			try{
+				var el = id = ev.data.getTarget().getParent();
+				var id = el.getId();
+				dic[ id ].apply( null, [ el, dic_name, dic_buttons ] );
+			}catch(err){
+				dic_error_message(" Dictionary error. ");
+			}
+
+			return true;
+		}
+
+		// ** bind event listeners
+		var arr_buttons = ( dic_buttons[0] + ',' + dic_buttons[1] ).split( ',' ),
+			l;
+
+		for ( i = 0, l = arr_buttons.length ; i < l ; i += 1 )
+		{
+			var dic_button = doc.getById(arr_buttons[i]);
+			if ( dic_button )
+				dic_button.on( 'click', onDicButtonClick, this );
+		}
+	};
+
+	var reload = function()
+	{
+		var dialog = this;
+		// for enabled options tab
+		if (tags[0] == 1){
+			var opto = getBOMAllOptions();
+
+			// Animate options.
+			for ( var k=0,l = opto.length; k<l;k++ )
+			{
+
+				var i = opto[k].id;
+				var checkbox = doc.getById( i );
+
+				if ( checkbox )
+				{
+					opto[k].checked = false;
+					//alert (opto[k].removeAttribute)
+					if ( dialog.options[ i ] == 1 )
+					{
+						opto[k].checked = true;
+					}
+
+
+					// Bind events. Do it only once.
+					if ( firstLoad )
+					{
+						checkbox.on( 'click', function()
+						{
+							dialog.options[ this.getId() ] = this.$.checked ? 1 : 0 ;
+						});
+					}
+				}
+			}
+		}
+
+		//for enabled languages tab
+		if ( tags[1] == 1 )
+		{
+			var domLang = doc.getById("cke_option"+dialog.sLang);
+			setCheckedValue(domLang.$,dialog.sLang);
+		}
+
+		// * user dictionary
+		if ( userDicActive )
+		{
+			window.scayt.getNameUserDictionary(
+				function( o )
+				{
+					var dic_name = o.dname;
+					hide_dic_buttons( dic_buttons[0] + ',' + dic_buttons[1] );
+					if ( dic_name )
+					{
+						doc.getById( 'dic_name' ).setValue(dic_name);
+						display_dic_buttons( dic_buttons[1] );
+					}
+					else
+						display_dic_buttons( dic_buttons[0] );
+
+				},
+				function ()
+				{
+					doc.getById( 'dic_name' ).setValue("");
+				});
+			dic_success_message("");
+		}
+
+	};
+
+	function dic_error_message ( m )
+	{
+		doc.getById('dic_message').setHtml('<span style="color:red;">' + m + '</span>' );
+	}
+	function dic_success_message ( m )
+	{
+		doc.getById('dic_message').setHtml('<span style="color:blue;">' + m + '</span>') ;
+	}
+	function display_dic_buttons ( sIds )
+	{
+
+		sIds = String( sIds );
+		var aIds = sIds.split(',');
+		for ( var i=0, l = aIds.length; i < l ; i+=1)
+		{
+			doc.getById( aIds[i] ).$.style.display = "inline";
+		}
+
+	}
+	function hide_dic_buttons ( sIds )
+	{
+		sIds = String( sIds );
+		var aIds = sIds.split(',');
+		for ( var i = 0, l = aIds.length; i < l ; i += 1 )
+		{
+			doc.getById( aIds[i] ).$.style.display = "none";
+		}
+	}
+	function set_dic_name ( dic_name )
+	{
+		doc.getById('dic_name').$.value= dic_name;
+	}
+
+	return dialogDefiniton;
+});
Index: CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/toolbar.css
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/toolbar.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/scayt/dialogs/toolbar.css	(revision 4888)
@@ -0,0 +1,71 @@
+a
+{
+	text-decoration:none;
+	padding: 2px 4px 4px 6px;
+	display : block;
+	border-width: 1px;
+	border-style: solid;
+	margin : 0px;
+}
+
+a.cke_scayt_toogle:hover,
+a.cke_scayt_toogle:focus,
+a.cke_scayt_toogle:active
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+	color : #000;
+	cursor: pointer;
+	margin : 0px;
+}
+a.cke_scayt_toogle {
+	color : #316ac5;
+	border-color: #fff;
+}
+.scayt_enabled a.cke_scayt_item {
+	color : #316ac5;
+	border-color: #fff;
+	margin : 0px;
+}
+.scayt_disabled a.cke_scayt_item {
+	color : gray;
+	border-color : #fff;
+}
+.scayt_enabled a.cke_scayt_item:hover,
+.scayt_enabled a.cke_scayt_item:focus,
+.scayt_enabled a.cke_scayt_item:active
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+	color : #000;
+	cursor: pointer;
+}
+.scayt_disabled a.cke_scayt_item:hover,
+.scayt_disabled a.cke_scayt_item:focus,
+.scayt_disabled a.cke_scayt_item:active
+{
+	border-color: gray;
+	background-color: #dff1ff;
+	color : gray;
+	cursor: no-drop;
+}
+.cke_scayt_set_on, .cke_scayt_set_off
+{
+	display: none;
+}
+.scayt_enabled .cke_scayt_set_on
+{
+	display: none;
+}
+.scayt_disabled .cke_scayt_set_on
+{
+	display: inline;
+}
+.scayt_disabled .cke_scayt_set_off
+{
+	display: none;
+}
+.scayt_enabled  .cke_scayt_set_off
+{
+	display: inline;
+}
Index: CKEditor/branches/features/aria/_source/plugins/scayt/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/scayt/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/scayt/plugin.js	(revision 4888)
@@ -0,0 +1,603 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Spell Check As You Type (SCAYT).
+ * Button name : Scayt.
+ */
+
+(function()
+{
+	var commandName 	= 'scaytcheck',
+		openPage		= '',
+		scayt_paused	= null;
+
+	// Checks if a value exists in an array
+	function in_array(needle, haystack)
+	{
+		var found = false, key;
+		for (key in haystack)
+		{
+			if ((haystack[key] === needle) || ( haystack[key] == needle))
+			{
+				found = true;
+				break;
+			}
+		}
+		return found;
+	}
+
+	var onEngineLoad = function()
+	{
+		var editor = this;
+
+		var createInstance = function()	// Create new instance every time Document is created.
+		{
+			// Initialise Scayt instance.
+			var oParams = {};
+			oParams.srcNodeRef = editor.document.getWindow().$.frameElement; 		// Get the iframe.
+			// syntax : AppName.AppVersion@AppRevision
+			oParams.assocApp  = "CKEDITOR." + CKEDITOR.version + "@" + CKEDITOR.revision;
+			oParams.customerid = editor.config.scayt_customerid  || "1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2";
+			oParams.customDictionaryIds = editor.config.scayt_customDictionaryIds;
+			oParams.userDictionaryName = editor.config.scayt_userDictionaryName;
+			oParams.sLang = editor.config.scayt_sLang || "en_US";
+
+			if ( CKEDITOR._scaytParams )
+			{
+				for ( var k in CKEDITOR._scaytParams )
+				{
+					oParams[ k ] = CKEDITOR._scaytParams[ k ];
+				}
+			}
+
+			var scayt_control = new window.scayt( oParams );
+
+			// Copy config.
+			var	lastInstance = plugin.instances[ editor.name ];
+			if ( lastInstance )
+			{
+				scayt_control.sLang = lastInstance.sLang;
+				scayt_control.option( lastInstance.option() );
+				scayt_control.paused = lastInstance.paused;
+			}
+
+			plugin.instances[ editor.name ] = scayt_control;
+
+			//window.scayt.uiTags
+			var menuGroup = 'scaytButton';
+			var uiTabs = window.scayt.uiTags;
+			var fTabs  = [];
+
+			for (var i = 0,l=4; i<l; i++)
+				fTabs.push( uiTabs[i] && plugin.uiTabs[i] );
+
+			plugin.uiTabs = fTabs;
+			try {
+				scayt_control.setDisabled( scayt_paused === false );
+			} catch (e) {}
+
+			editor.fire( 'showScaytState' );
+		};
+
+		editor.on( 'contentDom', createInstance );
+		editor.on( 'contentDomUnload', function()
+			{
+				// Remove scripts.
+				var scripts = CKEDITOR.document.getElementsByTag( 'script' ),
+					scaytIdRegex =  /^dojoIoScript(\d+)$/i,
+					scaytSrcRegex =  /^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;
+
+				for ( var i=0; i < scripts.count(); i++ )
+				{
+					var script = scripts.getItem( i ),
+						id = script.getId(),
+						src = script.getAttribute( 'src' );
+
+					if ( id && src && id.match( scaytIdRegex ) && src.match( scaytSrcRegex ))
+						script.remove();
+				}
+			});
+
+		editor.on( 'beforeCommandExec', function( ev )		// Disable SCAYT before Source command execution.
+			{
+				if ( (ev.data.name == 'source' ||  ev.data.name == 'newpage') && editor.mode == 'wysiwyg' )
+				{
+					var scayt_instanse = plugin.getScayt( editor );
+					if ( scayt_instanse )
+					{
+						scayt_paused = scayt_instanse.paused = !scayt_instanse.disabled;
+						scayt_instanse.destroy();
+						delete plugin.instances[ editor.name ];
+					}
+				}
+			});
+
+
+		editor.on( 'destroy', function()
+			{
+				plugin.getScayt( editor ).destroy();
+			});
+		// Listen to data manipulation to reflect scayt markup.
+		editor.on( 'afterSetData', function()
+			{
+				if ( plugin.isScaytEnabled( editor ) )
+					plugin.getScayt( editor ).refresh();
+			});
+
+		// Reload spell-checking for current word after insertion completed.
+		editor.on( 'insertElement', function()
+			{
+				var scayt_instance = plugin.getScayt( editor );
+				if ( plugin.isScaytEnabled( editor ) )
+				{
+					// Unlock the selection before reload, SCAYT will take
+					// care selection update.
+					if ( CKEDITOR.env.ie )
+						editor.getSelection().unlock( true );
+
+					// Swallow any SCAYT engine errors.
+					try{
+						scayt_instance.refresh();
+					}catch( er )
+					{}
+				}
+			}, this, null, 50 );
+
+		editor.on( 'insertHtml', function()
+			{
+
+				var scayt_instance = plugin.getScayt( editor );
+				if ( plugin.isScaytEnabled( editor ) )
+				{
+					// Unlock the selection before reload, SCAYT will take
+					// care selection update.
+					if ( CKEDITOR.env.ie )
+						editor.getSelection().unlock( true );
+
+					// Swallow any SCAYT engine errors.
+					try{
+						scayt_instance.refresh();
+					}catch( er )
+					{}
+				}
+			}, this, null, 50 );
+
+		editor.on( 'scaytDialog', function( ev )	// Communication with dialog.
+			{
+				ev.data.djConfig = window.djConfig;
+				ev.data.scayt_control = plugin.getScayt( editor );
+				ev.data.tab = openPage;
+				ev.data.scayt = window.scayt;
+			});
+
+		var dataProcessor = editor.dataProcessor,
+			htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+		if ( htmlFilter )
+		{
+			htmlFilter.addRules(
+				{
+					elements :
+					{
+						span : function( element )
+						{
+							if ( element.attributes.scayt_word && element.attributes.scaytid )
+							{
+								delete element.name;	// Write children, but don't write this node.
+								return element;
+							}
+						}
+					}
+				}
+			);
+		}
+
+		if ( editor.document )
+			createInstance();
+	};
+
+	CKEDITOR.plugins.scayt =
+	{
+		engineLoaded : false,
+		instances : {},
+		getScayt : function( editor )
+		{
+			return this.instances[ editor.name ];
+		},
+		isScaytReady : function( editor )
+		{
+			return this.engineLoaded === true &&
+				'undefined' !== typeof window.scayt && this.getScayt( editor );
+		},
+		isScaytEnabled : function( editor )
+		{
+			var scayt_instanse = this.getScayt( editor );
+			return ( scayt_instanse ) ? scayt_instanse.disabled === false : false;
+		},
+		loadEngine : function( editor )
+		{
+			if ( this.engineLoaded === true )
+				return onEngineLoad.apply( editor );	// Add new instance.
+			else if ( this.engineLoaded == -1 )			// We are waiting.
+				return CKEDITOR.on( 'scaytReady', function(){ onEngineLoad.apply( editor );} );	// Use function(){} to avoid rejection as duplicate.
+
+			CKEDITOR.on( 'scaytReady', onEngineLoad, editor );
+			CKEDITOR.on( 'scaytReady', function()
+				{
+					this.engineLoaded = true;
+				},
+				this,
+				null,
+				0 );	// First to run.
+
+			this.engineLoaded = -1;	// Loading in progress.
+
+			// compose scayt url
+			var protocol = document.location.protocol;
+			// Default to 'http' for unknown.
+			protocol = protocol.search( /https?:/) != -1? protocol : 'http:';
+			var baseUrl  = "svc.spellchecker.net/spellcheck3/lf/scayt/scayt21.js";
+
+			var scaytUrl  =  editor.config.scayt_srcUrl || ( protocol + "//" + baseUrl );
+			var scaytConfigBaseUrl =  plugin.parseUrl( scaytUrl ).path +  "/";
+
+			CKEDITOR._djScaytConfig =
+			{
+				baseUrl: scaytConfigBaseUrl,
+				addOnLoad:
+				[
+					function()
+					{
+						CKEDITOR.fireOnce( "scaytReady" );
+					}
+				],
+				isDebug: false
+			};
+			// Append javascript code.
+			CKEDITOR.document.getHead().append(
+				CKEDITOR.document.createElement( 'script',
+					{
+						attributes :
+							{
+								type : 'text/javascript',
+								src : scaytUrl
+							}
+					})
+			);
+
+			return null;
+		},
+		parseUrl : function ( data )
+		{
+			var match;
+			if ( data.match && ( match = data.match(/(.*)[\/\\](.*?\.\w+)$/) ) )
+				return { path: match[1], file: match[2] };
+			else
+				return data;
+		}
+	};
+
+	var plugin = CKEDITOR.plugins.scayt;
+
+	// Context menu constructing.
+	var addButtonCommand = function( editor, buttonName, buttonLabel, commandName, command, menugroup, menuOrder )
+	{
+		editor.addCommand( commandName, command );
+
+		// If the "menu" plugin is loaded, register the menu item.
+		editor.addMenuItem( commandName,
+			{
+				label : buttonLabel,
+				command : commandName,
+				group : menugroup,
+				order : menuOrder
+			});
+	};
+
+	var commandDefinition =
+	{
+		preserveState : true,
+		editorFocus : false,
+
+		exec: function( editor )
+		{
+			if ( plugin.isScaytReady( editor ) )
+			{
+				var isEnabled = plugin.isScaytEnabled( editor );
+
+				this.setState( isEnabled ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_ON );
+
+				var scayt_control = plugin.getScayt( editor );
+				scayt_control.setDisabled( isEnabled );
+			}
+			else if ( !editor.config.scayt_autoStartup && plugin.engineLoaded >= 0 )	// Load first time
+			{
+				this.setState( CKEDITOR.TRISTATE_DISABLED );
+
+				editor.on( 'showScaytState', function()
+					{
+						this.removeListener();
+						this.setState( plugin.isScaytEnabled( editor ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+					},
+					this);
+
+				plugin.loadEngine( editor );
+			}
+		}
+	};
+
+	// Add scayt plugin.
+	CKEDITOR.plugins.add( 'scayt',
+	{
+		requires : [ 'menubutton' ],
+
+		beforeInit : function( editor )
+		{
+			// Register own rbc menu group.
+			editor.config.menu_groups = 'scayt_suggest,scayt_moresuggest,scayt_control,' + editor.config.menu_groups;
+		},
+
+		init : function( editor )
+		{
+			var moreSuggestions = {};
+			var mainSuggestions = {};
+
+			// Scayt command.
+			var command = editor.addCommand( commandName, commandDefinition );
+
+			// Add Options dialog.
+			CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/options.js' ) );
+			// read ui tags
+			var confuiTabs = editor.config.scayt_uiTabs || "1,1,1";
+			var uiTabs =[];
+			// string tp array convert
+			confuiTabs = confuiTabs.split(",");
+			// check array length ! allwaays must be 3 filled with 1 or 0
+			for (var i=0,l=3; i<l; i++){
+				var flag = parseInt(confuiTabs[i] || "1" ,10);
+				uiTabs.push(  flag  );
+			}
+
+			var menuGroup = 'scaytButton';
+			editor.addMenuGroup( menuGroup );
+			// combine menu items to render
+			var uiMuneItems = {};
+
+			// allways added
+			uiMuneItems.scaytToggle =
+				{
+					label : editor.lang.scayt.enable,
+					command : commandName,
+					group : menuGroup
+				};
+
+			if (uiTabs[0] == 1)
+				uiMuneItems.scaytOptions =
+				{
+					label : editor.lang.scayt.options,
+					group : menuGroup,
+					onClick : function()
+					{
+						openPage = 'options';
+						editor.openDialog( commandName );
+					}
+				};
+
+			if (uiTabs[1] == 1)
+				uiMuneItems.scaytLangs =
+				{
+					label : editor.lang.scayt.langs,
+					group : menuGroup,
+					onClick : function()
+					{
+						openPage = 'langs';
+						editor.openDialog( commandName );
+					}
+				};
+			if (uiTabs[2] == 1)
+				uiMuneItems.scaytDict =
+				{
+					label : editor.lang.scayt.dictionariesTab,
+					group : menuGroup,
+					onClick : function()
+					{
+						openPage = 'dictionaries';
+						editor.openDialog( commandName );
+					}
+				};
+			// allways added
+			uiMuneItems.scaytAbout =
+				{
+					label : editor.lang.scayt.about,
+					group : menuGroup,
+					onClick : function()
+					{
+						openPage = 'about';
+						editor.openDialog( commandName );
+					}
+				}
+			;
+
+			uiTabs[3] = 1; // about us tab is allways on
+			plugin.uiTabs = uiTabs;
+
+			editor.addMenuItems( uiMuneItems );
+
+				editor.ui.add( 'Scayt', CKEDITOR.UI_MENUBUTTON,
+					{
+						label : editor.lang.scayt.title,
+						title : editor.lang.scayt.title,
+						className : 'cke_button_scayt',
+						onRender: function()
+						{
+							command.on( 'state', function()
+							{
+								this.setState( command.state );
+							},
+							this);
+						},
+						onMenu : function()
+						{
+							var isEnabled = plugin.isScaytEnabled( editor );
+
+							editor.getMenuItem( 'scaytToggle' ).label = editor.lang.scayt[ isEnabled ? 'disable' : 'enable' ];
+
+							return {
+								scaytToggle  : CKEDITOR.TRISTATE_OFF,
+								scaytOptions : isEnabled && plugin.uiTabs[0] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+								scaytLangs   : isEnabled && plugin.uiTabs[1] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+								scaytDict    : isEnabled && plugin.uiTabs[2] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+								scaytAbout   : isEnabled && plugin.uiTabs[3] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
+							};
+						}
+					});
+
+			// If the "contextmenu" plugin is loaded, register the listeners.
+			if ( editor.contextMenu && editor.addMenuItems )
+			{
+				editor.contextMenu.addListener( function( element )
+					{
+						if ( !( plugin.isScaytEnabled( editor ) && element ) )
+							return null;
+
+						var scayt_control = plugin.getScayt( editor ),
+							word = scayt_control.getWord( element.$ );
+
+						if ( !word )
+							return null;
+
+						var sLang = scayt_control.getLang(),
+							_r = {},
+							items_suggestion = window.scayt.getSuggestion( word, sLang );
+						if (!items_suggestion || !items_suggestion.length )
+							return null;
+						// Remove unused commands and menuitems
+						for ( i in moreSuggestions )
+						{
+							delete editor._.menuItems[ i ];
+							delete editor._.commands[ i ];
+						}
+						for ( i in mainSuggestions )
+						{
+							delete editor._.menuItems[ i ];
+							delete editor._.commands[ i ];
+						}
+						moreSuggestions = {};		// Reset items.
+						mainSuggestions = {};
+
+						var moreSuggestionsUnable = editor.config.scayt_moreSuggestions || "on";
+						var moreSuggestionsUnableAdded = false;
+
+						var maxSuggestions = editor.config.scayt_maxSuggestions;
+						( typeof maxSuggestions != 'number' ) && ( maxSuggestions = 5 );
+						!maxSuggestions && ( maxSuggestions = items_suggestion.length );
+
+						var contextCommands = editor.config.scayt_contextCommands || "all";
+						contextCommands = contextCommands.split("|");
+
+						for ( var i = 0, l = items_suggestion.length; i < l; i += 1 )
+						{
+							var commandName = 'scayt_suggestion_' + items_suggestion[i].replace( ' ', '_' );
+							var exec = ( function( el, s )
+								{
+									return {
+										exec: function()
+										{
+											scayt_control.replace(el, s);
+										}
+									};
+								})( element.$, items_suggestion[i] );
+
+							if ( i < maxSuggestions )
+							{
+								addButtonCommand( editor, 'button_' + commandName, items_suggestion[i],
+									commandName, exec, 'scayt_suggest', i + 1 );
+								_r[ commandName ] = CKEDITOR.TRISTATE_OFF;
+								mainSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF;
+							}
+							else if ( moreSuggestionsUnable == "on" )
+							{
+								addButtonCommand( editor, 'button_' + commandName, items_suggestion[i],
+									commandName, exec, 'scayt_moresuggest', i + 1 );
+								moreSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF;
+								moreSuggestionsUnableAdded = true;
+							}
+						}
+
+						if ( moreSuggestionsUnableAdded ){
+							// Rgister the More suggestions group;
+							editor.addMenuItem( 'scayt_moresuggest',
+							{
+								label : editor.lang.scayt.moreSuggestions,
+								group : 'scayt_moresuggest',
+								order : 10,
+								getItems : function()
+								{
+									return moreSuggestions;
+								}
+							});
+							mainSuggestions[ 'scayt_moresuggest' ] = CKEDITOR.TRISTATE_OFF;
+
+						}
+
+						if ( in_array( "all",contextCommands )  || in_array("ignore",contextCommands)  )
+						{
+							var ignore_command = {
+								exec: function(){
+									scayt_control.ignore(element.$);
+								}
+							};
+							addButtonCommand(editor, 'ignore', editor.lang.scayt.ignore, 'scayt_ignore', ignore_command, 'scayt_control', 1);
+							mainSuggestions['scayt_ignore'] = CKEDITOR.TRISTATE_OFF;
+						}
+
+						if ( in_array( "all",contextCommands )  || in_array("ignoreall",contextCommands)  )
+						{
+							var ignore_all_command = {
+								exec: function(){
+									scayt_control.ignoreAll(element.$);
+								}
+							};
+							addButtonCommand(editor, 'ignore_all', editor.lang.scayt.ignoreAll, 'scayt_ignore_all', ignore_all_command, 'scayt_control', 2);
+							mainSuggestions['scayt_ignore_all'] = CKEDITOR.TRISTATE_OFF;
+						}
+
+						if ( in_array( "all",contextCommands )  || in_array("add",contextCommands)  )
+						{
+							var addword_command = {
+								exec: function(){
+									window.scayt.addWordToUserDictionary(element.$);
+								}
+							};
+							addButtonCommand(editor, 'add_word', editor.lang.scayt.addWord, 'scayt_add_word', addword_command, 'scayt_control', 3);
+							mainSuggestions['scayt_add_word'] = CKEDITOR.TRISTATE_OFF;
+						}
+
+						if ( scayt_control.fireOnContextMenu )
+							scayt_control.fireOnContextMenu( editor );
+
+						return mainSuggestions;
+					});
+			}
+
+			// Start plugin
+			if ( editor.config.scayt_autoStartup )
+			{
+				var showInitialState = function()
+				{
+					editor.removeListener( 'showScaytState', showInitialState );
+					command.setState( plugin.isScaytEnabled( editor ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+				};
+				editor.on( 'showScaytState', showInitialState );
+
+				plugin.loadEngine( editor );
+			}
+		}
+	});
+})();
+
+// TODO: Documentation
+// CKEDITOR.config.scayt_maxSuggestions
+// CKEDITOR.config.scayt_autoStartup
Index: CKEditor/branches/features/aria/_source/plugins/selection/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/selection/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/selection/plugin.js	(revision 4888)
@@ -0,0 +1,1090 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	// #### checkSelectionChange : START
+
+	// The selection change check basically saves the element parent tree of
+	// the current node and check it on successive requests. If there is any
+	// change on the tree, then the selectionChange event gets fired.
+	function checkSelectionChange()
+	{
+		try
+		{
+			// In IE, the "selectionchange" event may still get thrown when
+			// releasing the WYSIWYG mode, so we need to check it first.
+			var sel = this.getSelection();
+			if ( !sel )
+				return;
+
+			var firstElement = sel.getStartElement();
+			var currentPath = new CKEDITOR.dom.elementPath( firstElement );
+
+			if ( !currentPath.compare( this._.selectionPreviousPath ) )
+			{
+				this._.selectionPreviousPath = currentPath;
+				this.fire( 'selectionChange', { selection : sel, path : currentPath, element : firstElement } );
+			}
+		}
+		catch (e)
+		{}
+	}
+
+	var checkSelectionChangeTimer,
+		checkSelectionChangeTimeoutPending;
+
+	function checkSelectionChangeTimeout()
+	{
+		// Firing the "OnSelectionChange" event on every key press started to
+		// be too slow. This function guarantees that there will be at least
+		// 200ms delay between selection checks.
+
+		checkSelectionChangeTimeoutPending = true;
+
+		if ( checkSelectionChangeTimer )
+			return;
+
+		checkSelectionChangeTimeoutExec.call( this );
+
+		checkSelectionChangeTimer = CKEDITOR.tools.setTimeout( checkSelectionChangeTimeoutExec, 200, this );
+	}
+
+	function checkSelectionChangeTimeoutExec()
+	{
+		checkSelectionChangeTimer = null;
+
+		if ( checkSelectionChangeTimeoutPending )
+		{
+			// Call this with a timeout so the browser properly moves the
+			// selection after the mouseup. It happened that the selection was
+			// being moved after the mouseup when clicking inside selected text
+			// with Firefox.
+			CKEDITOR.tools.setTimeout( checkSelectionChange, 0, this );
+
+			checkSelectionChangeTimeoutPending = false;
+		}
+	}
+
+	// #### checkSelectionChange : END
+
+	var selectAllCmd =
+	{
+		exec : function( editor )
+		{
+			switch ( editor.mode )
+			{
+				case 'wysiwyg' :
+					editor.document.$.execCommand( 'SelectAll', false, null );
+					break;
+				case 'source' :
+					// TODO
+			}
+		},
+		canUndo : false
+	};
+
+	CKEDITOR.plugins.add( 'selection',
+	{
+		init : function( editor )
+		{
+			editor.on( 'contentDom', function()
+				{
+					var doc = editor.document,
+						body = doc.getBody();
+
+					if ( CKEDITOR.env.ie )
+					{
+						// Other browsers don't loose the selection if the
+						// editor document loose the focus. In IE, we don't
+						// have support for it, so we reproduce it here, other
+						// than firing the selection change event.
+
+						var savedRange,
+							saveEnabled;
+
+						// "onfocusin" is fired before "onfocus". It makes it
+						// possible to restore the selection before click
+						// events get executed.
+						body.on( 'focusin', function()
+							{
+								// If we have saved a range, restore it at this
+								// point.
+								if ( savedRange )
+								{
+									// Well not break because of this.
+									try
+									{
+										savedRange.select();
+									}
+									catch (e)
+									{}
+
+									savedRange = null;
+								}
+							});
+
+						editor.window.on( 'focus', function()
+							{
+								// Enable selections to be saved.
+								saveEnabled = true;
+
+								saveSelection();
+							});
+
+						body.on( 'beforedeactivate', function()
+							{
+								// Disable selections from being saved.
+								saveEnabled = false;
+							});
+
+						// IE fires the "selectionchange" event when clicking
+						// inside a selection. We don't want to capture that.
+						body.on( 'mousedown', disableSave );
+						body.on( 'mouseup',
+							function()
+							{
+								saveEnabled = true;
+								setTimeout( function()
+									{
+										saveSelection( true );
+									},
+									0 );
+							});
+
+						body.on( 'keydown', disableSave );
+						body.on( 'keyup',
+							function()
+							{
+								saveEnabled = true;
+								saveSelection();
+							});
+
+
+						// IE is the only to provide the "selectionchange"
+						// event.
+						doc.on( 'selectionchange', saveSelection );
+
+						function disableSave()
+						{
+							saveEnabled = false;
+						}
+
+						function saveSelection( testIt )
+						{
+							if ( saveEnabled )
+							{
+								var doc = editor.document,
+									sel = doc && doc.$.selection;
+
+								// There is a very specific case, when clicking
+								// inside a text selection. In that case, the
+								// selection collapses at the clicking point,
+								// but the selection object remains in an
+								// unknown state, making createRange return a
+								// range at the very start of the document. In
+								// such situation we have to test the range, to
+								// be sure it's valid.
+								if ( testIt && sel && sel.type == 'None' )
+								{
+									// The "InsertImage" command can be used to
+									// test whether the selection is good or not.
+									// If not, it's enough to give some time to
+									// IE to put things in order for us.
+									if ( !doc.$.queryCommandEnabled( 'InsertImage' ) )
+									{
+										CKEDITOR.tools.setTimeout( saveSelection, 50, this, true );
+										return;
+									}
+								}
+
+								savedRange = sel && sel.createRange();
+
+								checkSelectionChangeTimeout.call( editor );
+							}
+						}
+					}
+					else
+					{
+						// In other browsers, we make the selection change
+						// check based on other events, like clicks or keys
+						// press.
+
+						doc.on( 'mouseup', checkSelectionChangeTimeout, editor );
+						doc.on( 'keyup', checkSelectionChangeTimeout, editor );
+					}
+				});
+
+			editor.addCommand( 'selectAll', selectAllCmd );
+			editor.ui.addButton( 'SelectAll',
+				{
+					label : editor.lang.selectAll,
+					command : 'selectAll'
+				});
+
+			editor.selectionChange = checkSelectionChangeTimeout;
+		}
+	});
+
+	/**
+	 * Gets the current selection from the editing area when in WYSIWYG mode.
+	 * @returns {CKEDITOR.dom.selection} A selection object or null if not on
+	 *		WYSIWYG mode or no selection is available.
+	 * @example
+	 * var selection = CKEDITOR.instances.editor1.<b>getSelection()</b>;
+	 * alert( selection.getType() );
+	 */
+	CKEDITOR.editor.prototype.getSelection = function()
+	{
+		return this.document && this.document.getSelection();
+	};
+
+	CKEDITOR.editor.prototype.forceNextSelectionCheck = function()
+	{
+		delete this._.selectionPreviousPath;
+	};
+
+	/**
+	 * Gets the current selection from the document.
+	 * @returns {CKEDITOR.dom.selection} A selection object.
+	 * @example
+	 * var selection = CKEDITOR.instances.editor1.document.<b>getSelection()</b>;
+	 * alert( selection.getType() );
+	 */
+	CKEDITOR.dom.document.prototype.getSelection = function()
+	{
+		var sel = new CKEDITOR.dom.selection( this );
+		return ( !sel || sel.isInvalid ) ? null : sel;
+	};
+
+	/**
+	 * No selection.
+	 * @constant
+	 * @example
+	 * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_NONE )
+	 *     alert( 'Nothing is selected' );
+	 */
+	CKEDITOR.SELECTION_NONE		= 1;
+
+	/**
+	 * Text or collapsed selection.
+	 * @constant
+	 * @example
+	 * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_TEXT )
+	 *     alert( 'Text is selected' );
+	 */
+	CKEDITOR.SELECTION_TEXT		= 2;
+
+	/**
+	 * Element selection.
+	 * @constant
+	 * @example
+	 * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_ELEMENT )
+	 *     alert( 'An element is selected' );
+	 */
+	CKEDITOR.SELECTION_ELEMENT	= 3;
+
+	/**
+	 * Manipulates the selection in a DOM document.
+	 * @constructor
+	 * @example
+	 */
+	CKEDITOR.dom.selection = function( document )
+	{
+		var lockedSelection = document.getCustomData( 'cke_locked_selection' );
+
+		if ( lockedSelection )
+			return lockedSelection;
+
+		this.document = document;
+		this.isLocked = false;
+		this._ =
+		{
+			cache : {}
+		};
+
+		/**
+		 * IE BUG: The selection's document may be a different document than the
+		 * editor document. Return null if that's the case.
+		 */
+		if ( CKEDITOR.env.ie )
+		{
+			var range = this.getNative().createRange();
+			if ( !range
+				|| ( range.item && range.item(0).ownerDocument != this.document.$ )
+				|| ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) )
+			{
+				this.isInvalid = true;
+			}
+		}
+
+		return this;
+	};
+
+	var styleObjectElements =
+	{
+		img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,
+		a:1, input:1, form:1, select:1, textarea:1, button:1, fieldset:1, th:1, thead:1, tfoot:1
+	};
+
+	CKEDITOR.dom.selection.prototype =
+	{
+		/**
+		 * Gets the native selection object from the browser.
+		 * @function
+		 * @returns {Object} The native selection object.
+		 * @example
+		 * var selection = editor.getSelection().<b>getNative()</b>;
+		 */
+		getNative :
+			CKEDITOR.env.ie ?
+				function()
+				{
+					return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.$.selection );
+				}
+			:
+				function()
+				{
+					return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.getWindow().$.getSelection() );
+				},
+
+		/**
+		 * Gets the type of the current selection. The following values are
+		 * available:
+		 * <ul>
+		 *		<li>{@link CKEDITOR.SELECTION_NONE} (1): No selection.</li>
+		 *		<li>{@link CKEDITOR.SELECTION_TEXT} (2): Text is selected or
+		 *			collapsed selection.</li>
+		 *		<li>{@link CKEDITOR.SELECTION_ELEMENT} (3): A element
+		 *			selection.</li>
+		 * </ul>
+		 * @function
+		 * @returns {Number} One of the following constant values:
+		 *		{@link CKEDITOR.SELECTION_NONE}, {@link CKEDITOR.SELECTION_TEXT} or
+		 *		{@link CKEDITOR.SELECTION_ELEMENT}.
+		 * @example
+		 * if ( editor.getSelection().<b>getType()</b> == CKEDITOR.SELECTION_TEXT )
+		 *     alert( 'Text is selected' );
+		 */
+		getType :
+			CKEDITOR.env.ie ?
+				function()
+				{
+					var cache = this._.cache;
+					if ( cache.type )
+						return cache.type;
+
+					var type = CKEDITOR.SELECTION_NONE;
+
+					try
+					{
+						var sel = this.getNative(),
+							ieType = sel.type;
+
+						if ( ieType == 'Text' )
+							type = CKEDITOR.SELECTION_TEXT;
+
+						if ( ieType == 'Control' )
+							type = CKEDITOR.SELECTION_ELEMENT;
+
+						// It is possible that we can still get a text range
+						// object even when type == 'None' is returned by IE.
+						// So we'd better check the object returned by
+						// createRange() rather than by looking at the type.
+						if ( sel.createRange().parentElement )
+							type = CKEDITOR.SELECTION_TEXT;
+					}
+					catch(e) {}
+
+					return ( cache.type = type );
+				}
+			:
+				function()
+				{
+					var cache = this._.cache;
+					if ( cache.type )
+						return cache.type;
+
+					var type = CKEDITOR.SELECTION_TEXT;
+
+					var sel = this.getNative();
+
+					if ( !sel )
+						type = CKEDITOR.SELECTION_NONE;
+					else if ( sel.rangeCount == 1 )
+					{
+						// Check if the actual selection is a control (IMG,
+						// TABLE, HR, etc...).
+
+						var range = sel.getRangeAt(0),
+							startContainer = range.startContainer;
+
+						if ( startContainer == range.endContainer
+							&& startContainer.nodeType == 1
+							&& ( range.endOffset - range.startOffset ) == 1
+							&& styleObjectElements[ startContainer.childNodes[ range.startOffset ].nodeName.toLowerCase() ] )
+						{
+							type = CKEDITOR.SELECTION_ELEMENT;
+						}
+					}
+
+					return ( cache.type = type );
+				},
+
+		getRanges :
+			CKEDITOR.env.ie ?
+				( function()
+				{
+					// Finds the container and offset for a specific boundary
+					// of an IE range.
+					var getBoundaryInformation = function( range, start )
+					{
+						// Creates a collapsed range at the requested boundary.
+						range = range.duplicate();
+						range.collapse( start );
+
+						// 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 );
+								testRange.collapse();
+
+								var comparison = testRange.compareEndPoints( 'StartToStart', range );
+
+								if ( comparison > 0 )
+									break;
+								else if ( comparison === 0 )
+									return {
+										container : parent,
+										offset : i
+									};
+
+								testRange = null;
+							}
+						}
+
+						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;
+
+						while ( distance > 0 )
+							distance -= siblings[ --i ].nodeValue.length;
+
+						if ( distance === 0 )
+						{
+							return {
+								container : parent,
+								offset : i
+							};
+						}
+						else
+						{
+							return {
+								container : siblings[ i ],
+								offset : -distance
+							};
+						}
+					};
+
+					return function()
+					{
+						var cache = this._.cache;
+						if ( cache.ranges )
+							return cache.ranges;
+
+						// IE doesn't have range support (in the W3C way), so we
+						// need to do some magic to transform selections into
+						// CKEDITOR.dom.range instances.
+
+						var sel = this.getNative(),
+							nativeRange = sel && sel.createRange(),
+							type = this.getType(),
+							range;
+
+						if ( !sel )
+							return [];
+
+						if ( type == CKEDITOR.SELECTION_TEXT )
+						{
+							range = new CKEDITOR.dom.range( this.document );
+
+							var boundaryInfo = getBoundaryInformation( nativeRange, true );
+							range.setStart( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset );
+
+							boundaryInfo = getBoundaryInformation( nativeRange );
+							range.setEnd( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset );
+
+							return ( cache.ranges = [ range ] );
+						}
+						else if ( type == CKEDITOR.SELECTION_ELEMENT )
+						{
+							var retval = this._.cache.ranges = [];
+
+							for ( var i = 0 ; i < nativeRange.length ; i++ )
+							{
+								var element = nativeRange.item( i ),
+									parentElement = element.parentNode,
+									j = 0;
+
+								range = new CKEDITOR.dom.range( this.document );
+
+								for (; j < parentElement.childNodes.length && parentElement.childNodes[j] != element ; j++ )
+								{ /*jsl:pass*/ }
+
+								range.setStart( new CKEDITOR.dom.node( parentElement ), j );
+								range.setEnd( new CKEDITOR.dom.node( parentElement ), j + 1 );
+								retval.push( range );
+							}
+
+							return retval;
+						}
+
+						return ( cache.ranges = [] );
+					};
+				})()
+			:
+				function()
+				{
+					var cache = this._.cache;
+					if ( cache.ranges )
+						return cache.ranges;
+
+					// On browsers implementing the W3C range, we simply
+					// tranform the native ranges in CKEDITOR.dom.range
+					// instances.
+
+					var ranges = [];
+					var sel = this.getNative();
+
+					if ( !sel )
+						return [];
+
+					for ( var i = 0 ; i < sel.rangeCount ; i++ )
+					{
+						var nativeRange = sel.getRangeAt( i );
+						var range = new CKEDITOR.dom.range( this.document );
+
+						range.setStart( new CKEDITOR.dom.node( nativeRange.startContainer ), nativeRange.startOffset );
+						range.setEnd( new CKEDITOR.dom.node( nativeRange.endContainer ), nativeRange.endOffset );
+						ranges.push( range );
+					}
+
+					return ( cache.ranges = ranges );
+				},
+
+		/**
+		 * Gets the DOM element in which the selection starts.
+		 * @returns {CKEDITOR.dom.element} The element at the beginning of the
+		 *		selection.
+		 * @example
+		 * var element = editor.getSelection().<b>getStartElement()</b>;
+		 * alert( element.getName() );
+		 */
+		getStartElement : function()
+		{
+			var cache = this._.cache;
+			if ( cache.startElement !== undefined )
+				return cache.startElement;
+
+			var node,
+				sel = this.getNative();
+
+			switch ( this.getType() )
+			{
+				case CKEDITOR.SELECTION_ELEMENT :
+					return this.getSelectedElement();
+
+				case CKEDITOR.SELECTION_TEXT :
+
+					var range = this.getRanges()[0];
+
+					if ( range )
+					{
+						if ( !range.collapsed )
+						{
+							range.optimize();
+
+							// Decrease the range content to exclude particial
+							// selected node on the start which doesn't have
+							// visual impact. ( #3231 )
+							while( true )
+							{
+								var startContainer = range.startContainer,
+									startOffset = range.startOffset;
+								// Limit the fix only to non-block elements.(#3950)
+								if ( startOffset == ( startContainer.getChildCount ?
+									 startContainer.getChildCount() : startContainer.getLength() )
+									 && !startContainer.isBlockBoundary() )
+									range.setStartAfter( startContainer );
+								else break;
+							}
+
+							node = range.startContainer;
+
+							if ( node.type != CKEDITOR.NODE_ELEMENT )
+								return node.getParent();
+
+							node = node.getChild( range.startOffset );
+
+							if ( !node || node.type != CKEDITOR.NODE_ELEMENT )
+								return range.startContainer;
+
+							var child = node.getFirst();
+							while (  child && child.type == CKEDITOR.NODE_ELEMENT )
+							{
+								node = child;
+								child = child.getFirst();
+							}
+
+							return node;
+						}
+					}
+
+					if ( CKEDITOR.env.ie )
+					{
+						range = sel.createRange();
+						range.collapse( true );
+
+						node = range.parentElement();
+					}
+					else
+					{
+						node = sel.anchorNode;
+
+						if ( node && node.nodeType != 1 )
+							node = node.parentNode;
+					}
+			}
+
+			return cache.startElement = ( node ? new CKEDITOR.dom.element( node ) : null );
+		},
+
+		/**
+		 * Gets the current selected element.
+		 * @returns {CKEDITOR.dom.element} The selected element. Null if no
+		 *		selection is available or the selection type is not
+		 *		{@link CKEDITOR.SELECTION_ELEMENT}.
+		 * @example
+		 * var element = editor.getSelection().<b>getSelectedElement()</b>;
+		 * alert( element.getName() );
+		 */
+		getSelectedElement : function()
+		{
+			var cache = this._.cache;
+			if ( cache.selectedElement !== undefined )
+				return cache.selectedElement;
+
+			var node;
+
+			if ( this.getType() == CKEDITOR.SELECTION_ELEMENT )
+			{
+				var sel = this.getNative();
+
+				if ( CKEDITOR.env.ie )
+				{
+					try
+					{
+						node = sel.createRange().item(0);
+					}
+					catch(e) {}
+				}
+				else
+				{
+					var range = sel.getRangeAt( 0 );
+					node = range.startContainer.childNodes[ range.startOffset ];
+				}
+			}
+
+			return cache.selectedElement = ( node ? new CKEDITOR.dom.element( node ) : null );
+		},
+
+		lock : function()
+		{
+			// Call all cacheable function.
+			this.getRanges();
+			this.getStartElement();
+			this.getSelectedElement();
+
+			// The native selection is not available when locked.
+			this._.cache.nativeSel = {};
+
+			this.isLocked = true;
+
+			// Save this selection inside the DOM document.
+			this.document.setCustomData( 'cke_locked_selection', this );
+		},
+
+		unlock : function( restore )
+		{
+			var doc = this.document,
+				lockedSelection = doc.getCustomData( 'cke_locked_selection' );
+
+			if ( lockedSelection )
+			{
+				doc.setCustomData( 'cke_locked_selection', null );
+
+				if ( restore )
+				{
+					var selectedElement = lockedSelection.getSelectedElement(),
+						ranges = !selectedElement && lockedSelection.getRanges();
+
+					this.isLocked = false;
+					this.reset();
+
+					doc.getBody().focus();
+
+					if ( selectedElement )
+						this.selectElement( selectedElement );
+					else
+						this.selectRanges( ranges );
+				}
+			}
+
+			if  ( !lockedSelection || !restore )
+			{
+				this.isLocked = false;
+				this.reset();
+			}
+		},
+
+		reset : function()
+		{
+			this._.cache = {};
+		},
+
+		selectElement : function( element )
+		{
+			if ( this.isLocked )
+			{
+				var range = new CKEDITOR.dom.range( this.document );
+				range.setStartBefore( element );
+				range.setEndAfter( element );
+
+				this._.cache.selectedElement = element;
+				this._.cache.startElement = element;
+				this._.cache.ranges = [ range ];
+				this._.cache.type = CKEDITOR.SELECTION_ELEMENT;
+
+				return;
+			}
+
+			if ( CKEDITOR.env.ie )
+			{
+				this.getNative().empty();
+
+				try
+				{
+					// Try to select the node as a control.
+					range = this.document.$.body.createControlRange();
+					range.addElement( element.$ );
+					range.select();
+				}
+				catch(e)
+				{
+					// If failed, select it as a text range.
+					range = this.document.$.body.createTextRange();
+					range.moveToElementText( element.$ );
+					range.select();
+				}
+
+				this.reset();
+			}
+			else
+			{
+				// Create the range for the element.
+				range = this.document.$.createRange();
+				range.selectNode( element.$ );
+
+				// Select the range.
+				var sel = this.getNative();
+				sel.removeAllRanges();
+				sel.addRange( range );
+
+				this.reset();
+			}
+		},
+
+		selectRanges : function( ranges )
+		{
+			if ( this.isLocked )
+			{
+				this._.cache.selectedElement = null;
+				this._.cache.startElement = ranges[ 0 ].getTouchedStartNode();
+				this._.cache.ranges = ranges;
+				this._.cache.type = CKEDITOR.SELECTION_TEXT;
+
+				return;
+			}
+
+			if ( CKEDITOR.env.ie )
+			{
+				// IE doesn't accept multiple ranges selection, so we just
+				// select the first one.
+				if ( ranges[ 0 ] )
+					ranges[ 0 ].select();
+
+				this.reset();
+			}
+			else
+			{
+				var sel = this.getNative();
+				sel.removeAllRanges();
+
+				for ( var i = 0 ; i < ranges.length ; i++ )
+				{
+					var range = ranges[ i ];
+					var nativeRange = this.document.$.createRange();
+					var startContainer = range.startContainer;
+
+					// In FF2, if we have a collapsed range, inside an empty
+					// element, we must add something to it otherwise the caret
+					// will not be visible.
+					if ( range.collapsed &&
+						( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) &&
+						startContainer.type == CKEDITOR.NODE_ELEMENT &&
+						!startContainer.getChildCount() )
+					{
+						startContainer.appendText( '' );
+					}
+
+					nativeRange.setStart( startContainer.$, range.startOffset );
+					nativeRange.setEnd( range.endContainer.$, range.endOffset );
+
+					// Select the range.
+					sel.addRange( nativeRange );
+				}
+
+				this.reset();
+			}
+		},
+
+		createBookmarks : function( serializable )
+		{
+			var retval = [],
+				ranges = this.getRanges(),
+				length = ranges.length,
+				bookmark;
+			for ( var i = 0; i < length ; i++ )
+			{
+			    retval.push( bookmark = ranges[ i ].createBookmark( serializable, true ) );
+
+				serializable = bookmark.serializable;
+
+				var bookmarkStart = serializable ? this.document.getById( bookmark.startNode ) : bookmark.startNode,
+					bookmarkEnd = serializable ? this.document.getById( bookmark.endNode ) : bookmark.endNode;
+
+			    // Updating the offset values for rest of ranges which have been mangled(#3256).
+			    for ( var j = i + 1 ; j < length ; j++ )
+			    {
+			        var dirtyRange = ranges[ j ],
+			               rangeStart = dirtyRange.startContainer,
+			               rangeEnd = dirtyRange.endContainer;
+
+			       rangeStart.equals( bookmarkStart.getParent() ) && dirtyRange.startOffset++;
+			       rangeStart.equals( bookmarkEnd.getParent() ) && dirtyRange.startOffset++;
+			       rangeEnd.equals( bookmarkStart.getParent() ) && dirtyRange.endOffset++;
+			       rangeEnd.equals( bookmarkEnd.getParent() ) && dirtyRange.endOffset++;
+			    }
+			}
+
+			return retval;
+		},
+
+		createBookmarks2 : function( normalized )
+		{
+			var bookmarks = [],
+				ranges = this.getRanges();
+
+			for ( var i = 0 ; i < ranges.length ; i++ )
+				bookmarks.push( ranges[i].createBookmark2( normalized ) );
+
+			return bookmarks;
+		},
+
+		selectBookmarks : function( bookmarks )
+		{
+			var ranges = [];
+			for ( var i = 0 ; i < bookmarks.length ; i++ )
+			{
+				var range = new CKEDITOR.dom.range( this.document );
+				range.moveToBookmark( bookmarks[i] );
+				ranges.push( range );
+			}
+			this.selectRanges( ranges );
+			return this;
+		},
+
+		getCommonAncestor : function()
+		{
+			var ranges = this.getRanges(),
+				startNode = ranges[ 0 ].startContainer,
+				endNode = ranges[ ranges.length - 1 ].endContainer;
+			return startNode.getCommonAncestor( endNode );
+		},
+
+		// Moving scroll bar to the current selection's start position.
+		scrollIntoView : function()
+		{
+			// If we have split the block, adds a temporary span at the
+			// range position and scroll relatively to it.
+			var start = this.getStartElement();
+			start.scrollIntoView();
+		}
+	};
+})();
+( function()
+{
+var notWhitespaces = CKEDITOR.dom.walker.whitespaces( true );
+var fillerTextRegex = /\ufeff|\u00a0/;
+
+CKEDITOR.dom.range.prototype.select =
+	CKEDITOR.env.ie ?
+		// V2
+		function( forceExpand )
+		{
+			var collapsed = this.collapsed;
+			var isStartMarkerAlone;
+			var dummySpan;
+
+			var bookmark = this.createBookmark();
+
+			// Create marker tags for the start and end boundaries.
+			var startNode = bookmark.startNode;
+
+			var endNode;
+			if ( !collapsed )
+				endNode = bookmark.endNode;
+
+			// Create the main range which will be used for the selection.
+			var ieRange = this.document.$.body.createTextRange();
+
+			// Position the range at the start boundary.
+			ieRange.moveToElementText( startNode.$ );
+			ieRange.moveStart( 'character', 1 );
+
+			if ( endNode )
+			{
+				// Create a tool range for the end.
+				var ieRangeEnd = this.document.$.body.createTextRange();
+
+				// Position the tool range at the end.
+				ieRangeEnd.moveToElementText( endNode.$ );
+
+				// Move the end boundary of the main range to match the tool range.
+				ieRange.setEndPoint( 'EndToEnd', ieRangeEnd );
+				ieRange.moveEnd( 'character', -1 );
+			}
+			else
+			{
+				// The isStartMarkerAlone logic comes from V2. It guarantees that the lines
+				// will expand and that the cursor will be blinking on the right place.
+				// Actually, we are using this flag just to avoid using this hack in all
+				// situations, but just on those needed.
+				var next = startNode.getNext( notWhitespaces );
+				isStartMarkerAlone = ( !( next && next.getText && next.getText().match( fillerTextRegex ) )     // already a filler there?
+									  && ( forceExpand || !startNode.hasPrevious() || ( startNode.getPrevious().is && startNode.getPrevious().is( 'br' ) ) ) );
+
+				// Append a temporary <span>&#65279;</span> before the selection.
+				// This is needed to avoid IE destroying selections inside empty
+				// inline elements, like <b></b> (#253).
+				// It is also needed when placing the selection right after an inline
+				// element to avoid the selection moving inside of it.
+				dummySpan = this.document.createElement( 'span' );
+				dummySpan.setHtml( '&#65279;' );	// Zero Width No-Break Space (U+FEFF). See #1359.
+				dummySpan.insertBefore( startNode );
+
+				if ( isStartMarkerAlone )
+				{
+					// To expand empty blocks or line spaces after <br>, we need
+					// instead to have any char, which will be later deleted using the
+					// selection.
+					// \ufeff = Zero Width No-Break Space (U+FEFF). (#1359)
+					this.document.createText( '\ufeff' ).insertBefore( startNode );
+				}
+			}
+
+			// Remove the markers (reset the position, because of the changes in the DOM tree).
+			this.setStartBefore( startNode );
+			startNode.remove();
+
+			if ( collapsed )
+			{
+				if ( isStartMarkerAlone )
+				{
+					// Move the selection start to include the temporary \ufeff.
+					ieRange.moveStart( 'character', -1 );
+
+					ieRange.select();
+
+					// Remove our temporary stuff.
+					this.document.$.selection.clear();
+				}
+				else
+					ieRange.select();
+
+				dummySpan.remove();
+			}
+			else
+			{
+				this.setEndBefore( endNode );
+				endNode.remove();
+				ieRange.select();
+			}
+		}
+	:
+		function()
+		{
+			var startContainer = this.startContainer;
+
+			// If we have a collapsed range, inside an empty element, we must add
+			// something to it, otherwise the caret will not be visible.
+			if ( this.collapsed && startContainer.type == CKEDITOR.NODE_ELEMENT && !startContainer.getChildCount() )
+				startContainer.append( new CKEDITOR.dom.text( '' ) );
+
+			var nativeRange = this.document.$.createRange();
+			nativeRange.setStart( startContainer.$, this.startOffset );
+
+			try
+			{
+				nativeRange.setEnd( this.endContainer.$, this.endOffset );
+			}
+			catch ( e )
+			{
+				// There is a bug in Firefox implementation (it would be too easy
+				// otherwise). The new start can't be after the end (W3C says it can).
+				// So, let's create a new range and collapse it to the desired point.
+				if ( e.toString().indexOf( 'NS_ERROR_ILLEGAL_VALUE' ) >= 0 )
+				{
+					this.collapse( true );
+					nativeRange.setEnd( this.endContainer.$, this.endOffset );
+				}
+				else
+					throw( e );
+			}
+
+			var selection = this.document.getSelection().getNative();
+			selection.removeAllRanges();
+			selection.addRange( nativeRange );
+		};
+} )();
Index: CKEditor/branches/features/aria/_source/plugins/showblocks/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/showblocks/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/showblocks/plugin.js	(revision 4888)
@@ -0,0 +1,154 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "showblocks" plugin. Enable it will make all block level
+ *               elements being decorated with a border and the element name
+ *               displayed on the left-right corner.
+ */
+
+(function()
+{
+	var cssTemplate = '.%2 p,'+
+		'.%2 div,'+
+		'.%2 pre,'+
+		'.%2 address,'+
+		'.%2 blockquote,'+
+		'.%2 h1,'+
+		'.%2 h2,'+
+		'.%2 h3,'+
+		'.%2 h4,'+
+		'.%2 h5,'+
+		'.%2 h6'+
+		'{'+
+			'background-repeat: no-repeat;'+
+			'border: 1px dotted gray;'+
+			'padding-top: 8px;'+
+			'padding-left: 8px;'+
+		'}'+
+
+		'.%2 p'+
+		'{'+
+			'%1p.png);'+
+		'}'+
+
+		'.%2 div'+
+		'{'+
+			'%1div.png);'+
+		'}'+
+
+		'.%2 pre'+
+		'{'+
+			'%1pre.png);'+
+		'}'+
+
+		'.%2 address'+
+		'{'+
+			'%1address.png);'+
+		'}'+
+
+		'.%2 blockquote'+
+		'{'+
+			'%1blockquote.png);'+
+		'}'+
+
+		'.%2 h1'+
+		'{'+
+			'%1h1.png);'+
+		'}'+
+
+		'.%2 h2'+
+		'{'+
+			'%1h2.png);'+
+		'}'+
+
+		'.%2 h3'+
+		'{'+
+			'%1h3.png);'+
+		'}'+
+
+		'.%2 h4'+
+		'{'+
+			'%1h4.png);'+
+		'}'+
+
+		'.%2 h5'+
+		'{'+
+			'%1h5.png);'+
+		'}'+
+
+		'.%2 h6'+
+		'{'+
+			'%1h6.png);'+
+		'}';
+
+	var cssTemplateRegex = /%1/g, cssClassRegex = /%2/g;
+
+	var commandDefinition =
+	{
+		preserveState : true,
+		editorFocus : false,
+
+		exec : function ( editor )
+		{
+			this.toggleState();
+			this.refresh( editor );
+		},
+
+		refresh : function( editor )
+		{
+			var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'addClass' : 'removeClass';
+			editor.document.getBody()[ funcName ]( 'cke_show_blocks' );
+		}
+	};
+
+	CKEDITOR.plugins.add( 'showblocks',
+	{
+		requires : [ 'wysiwygarea' ],
+
+		init : function( editor )
+		{
+			var command = editor.addCommand( 'showblocks', commandDefinition );
+			command.canUndo = false;
+
+			if ( editor.config.startupOutlineBlocks )
+				command.setState( CKEDITOR.TRISTATE_ON );
+
+			editor.addCss( cssTemplate
+				.replace( cssTemplateRegex, 'background-image: url(' + CKEDITOR.getUrl( this.path ) + 'images/block_' )
+				.replace( cssClassRegex, 'cke_show_blocks ' ) );
+
+			editor.ui.addButton( 'ShowBlocks',
+				{
+					label : editor.lang.showBlocks,
+					command : 'showblocks'
+				});
+
+			// Refresh the command on setData.
+			editor.on( 'mode', function()
+				{
+					if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+						command.refresh( editor );
+				});
+
+			// Refresh the command on setData.
+			editor.on( 'contentDom', function()
+				{
+					if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+						command.refresh( editor );
+				});
+		}
+	});
+} )();
+
+/**
+ * Whether to automaticaly enable the "show block" command when the editor
+ * loads.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.startupOutlineBlocks = true;
+ */
+CKEDITOR.config.startupOutlineBlocks = false;
Index: CKEditor/branches/features/aria/_source/plugins/showborders/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/showborders/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/showborders/plugin.js	(revision 4888)
@@ -0,0 +1,170 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "show border" plugin. The command display visible outline
+ * border line around all table elements if table doesn't have a none-zero 'border' attribute specified.
+ */
+
+(function()
+{
+	var showBorderClassName = 'cke_show_border',
+		cssStyleText,
+		cssTemplate =
+		// TODO: For IE6, we don't have child selector support,
+		// where nested table cells could be incorrect.
+		( CKEDITOR.env.ie6Compat ?
+		  [
+			'.%1 table.%2,',
+			 '.%1 table.%2 td, .%1 table.%2 th,',
+			 '{',
+				'border : #d3d3d3 1px dotted',
+			 '}'
+		  ] :
+		  [
+			 '.%1 table.%2,',
+			 '.%1 table.%2 > tr > td, .%1 table.%2 > tr > th,',
+			 '.%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,',
+			 '.%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,',
+			 '.%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th',
+			 '{',
+				'border : #d3d3d3 1px dotted',
+			 '}'
+		  ] ).join( '' );
+
+	cssStyleText = cssTemplate.replace( /%2/g, showBorderClassName ).replace( /%1/g, 'cke_show_borders ' );
+
+	var commandDefinition =
+	{
+		preserveState : true,
+		editorFocus : false,
+
+		exec : function ( editor )
+		{
+			this.toggleState();
+			this.refresh( editor );
+		},
+
+		refresh : function( editor )
+		{
+			var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'addClass' : 'removeClass';
+			editor.document.getBody()[ funcName ]( 'cke_show_borders' );
+		}
+	};
+
+	CKEDITOR.plugins.add( 'showborders',
+	{
+		requires : [ 'wysiwygarea' ],
+		modes : { 'wysiwyg' : 1 },
+
+		init : function( editor )
+		{
+
+			var command = editor.addCommand( 'showborders', commandDefinition );
+			command.canUndo = false;
+
+			if ( editor.config.startupShowBorders !== false )
+				command.setState( CKEDITOR.TRISTATE_ON );
+
+			editor.addCss( cssStyleText );
+
+			// Refresh the command on setData.
+			editor.on( 'mode', function()
+				{
+					if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+						command.refresh( editor );
+				}, null, null, 100 );
+
+			// Refresh the command on wysiwyg frame reloads.
+			editor.on( 'contentDom', function()
+				{
+					if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+						command.refresh( editor );
+				});
+		},
+
+		afterInit : function( editor )
+		{
+			var dataProcessor = editor.dataProcessor,
+				dataFilter = dataProcessor && dataProcessor.dataFilter,
+				htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+			if ( dataFilter )
+			{
+				dataFilter.addRules(
+					{
+						elements :
+						{
+							'table' : function( element )
+							{
+								var attributes = element.attributes,
+									cssClass = attributes[ 'class' ],
+									border = parseInt( attributes.border, 10 );
+
+								if ( !border || border <= 0 )
+									attributes[ 'class' ] = ( cssClass || '' ) + ' ' + showBorderClassName;
+							}
+						}
+					} );
+			}
+
+			if( htmlFilter )
+			{
+				htmlFilter.addRules(
+				{
+					elements :
+					{
+						'table' : function( table )
+						{
+							var attributes = table.attributes,
+								cssClass = attributes[ 'class' ];
+
+							cssClass && ( attributes[ 'class' ] =
+							              cssClass.replace( showBorderClassName, '' )
+									              .replace( /\s{2}/, ' ' )
+												  .replace( /^\s+|\s+$/, '' ) );
+						}
+					}
+				} );
+			}
+
+			// Table dialog must be aware of it.
+			CKEDITOR.on( 'dialogDefinition', function( ev )
+				{
+					if( ev.editor != editor )
+						return;
+
+					var dialogName = ev.data.name;
+
+					if ( dialogName == 'table' || dialogName == 'tableProperties' )
+					{
+						var dialogDefinition = ev.data.definition,
+							infoTab = dialogDefinition.getContents( 'info' ),
+							borderField = infoTab.get( 'txtBorder' ),
+							originalCommit = borderField.commit;
+
+						borderField.commit = CKEDITOR.tools.override( originalCommit, function( org )
+						{
+							return function( data, selectedTable )
+								{
+									org.apply( this, arguments );
+									var value = parseInt( this.getValue(), 10 );
+									selectedTable[ ( !value || value <= 0 ) ? 'addClass' : 'removeClass' ]( showBorderClassName );
+								};
+						} );
+					}
+				});
+		}
+
+	});
+} )();
+
+/**
+ * Whether to automatically enable the "show borders" command when the editor loads.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.startupShowBorders = false;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/smiley/dialogs/smiley.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/smiley/dialogs/smiley.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/smiley/dialogs/smiley.js	(revision 4888)
@@ -0,0 +1,219 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'smiley', function( editor )
+{
+	var config = editor.config,
+		images = config.smiley_images,
+		columns = 8,
+		i;
+
+	/**
+	 * Simulate "this" of a dialog for non-dialog events.
+	 * @type {CKEDITOR.dialog}
+	 */
+	var dialog;
+	var onClick = function( evt )
+	{
+		var target = evt.data.getTarget(),
+			targetName = target.getName();
+
+		if ( targetName == 'td' )
+			target = target.getChild( [ 0, 0 ] );
+		else if ( targetName == 'a' )
+			target = target.getChild( 0 );
+		else if ( targetName != 'img' )
+			return;
+
+		var src = target.getAttribute( 'cke_src' ),
+			title = target.getAttribute( 'title' );
+
+		var img = editor.document.createElement( 'img',
+			{
+				attributes :
+				{
+					src : src,
+					_cke_saved_src : src,
+					title : title,
+					alt : title
+				}
+			});
+
+		editor.insertElement( img );
+
+		dialog.hide();
+	};
+
+	var onKeydown = CKEDITOR.tools.addFunction( function( ev, element )
+	{
+		ev = new CKEDITOR.dom.event( ev );
+		element = new CKEDITOR.dom.element( element );
+		var relative, nodeToMove;
+
+		var keystroke = ev.getKeystroke();
+		switch ( keystroke )
+		{
+			// RIGHT-ARROW
+			case 39 :
+				// relative is TD
+				if ( ( relative = element.getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+				}
+				ev.preventDefault();
+				break;
+			// LEFT-ARROW
+			case 37 :
+				// relative is TD
+				if ( ( relative = element.getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+				}
+				ev.preventDefault();
+				break;
+			// UP-ARROW
+			case 38 :
+				// relative is TR
+				if ( ( relative = element.getParent().getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+					nodeToMove.focus();
+				}
+				ev.preventDefault();
+				break;
+			// DOWN-ARROW
+			case 40 :
+				// relative is TR
+				if ( ( relative = element.getParent().getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+					if ( nodeToMove )
+						nodeToMove.focus();
+				}
+				ev.preventDefault();
+				break;
+			// ENTER
+			// SPACE
+			case 32 :
+				onClick( { data: ev } );
+				ev.preventDefault();
+				break;
+			// TAB
+			case 9 :
+				// relative is TD
+				if ( ( relative = element.getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+					ev.preventDefault(true);
+				}
+				// relative is TR
+				else if ( ( relative = element.getParent().getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( [0, 0] );
+					if ( nodeToMove )
+						nodeToMove.focus();
+					ev.preventDefault(true);
+				}
+				break;
+			// SHIFT + TAB
+			case CKEDITOR.SHIFT + 9 :
+				// relative is TD
+				if ( ( relative = element.getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+					ev.preventDefault(true);
+				}
+				// relative is TR
+				else if ( ( relative = element.getParent().getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getLast().getChild( 0 );
+					nodeToMove.focus();
+					ev.preventDefault(true);
+				}
+				break;
+			default :
+				// Do not stop not handled events.
+				return;
+		}
+	});
+
+	// Build the HTML for the smiley images table.
+	var html =
+	[
+		'<table cellspacing="2" cellpadding="2"',
+		CKEDITOR.env.ie && CKEDITOR.env.quirks ? ' style="position:absolute;"' : '',
+		'><tbody>'
+	];
+
+	for ( i = 0 ; i < images.length ; i++ )
+	{
+		if ( i % columns === 0 )
+			html.push( '<tr>' );
+
+		html.push(
+			'<td class="cke_dark_background cke_hand cke_centered" style="vertical-align: middle;">' +
+				'<a href="javascript:void(0)" class="cke_smile" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">',
+					'<img class="hand" title="', config.smiley_descriptions[i], '"' +
+						' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '" alt="', config.smiley_descriptions[i], '"',
+						' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
+						// IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct.
+						( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ),
+					'>' +
+				'</a>',
+ 			'</td>' );
+
+		if ( i % columns == columns - 1 )
+			html.push( '</tr>' );
+	}
+
+	if ( i < columns - 1 )
+	{
+		for ( ; i < columns - 1 ; i++ )
+			html.push( '<td></td>' );
+		html.push( '</tr>' );
+	}
+
+	html.push( '</tbody></table>' );
+
+	var smileySelector =
+	{
+		type : 'html',
+		html : html.join( '' ),
+		onLoad : function( event )
+		{
+			dialog = event.sender;
+		},
+		focus : function()
+ 		{
+			var firstSmile = this.getElement().getChild( [0, 0, 0, 0] );
+			firstSmile.focus();
+ 		},
+		onClick : onClick,
+		style : 'width: 100%; height: 100%; border-collapse: separate;'
+	};
+
+	return {
+		title : editor.lang.smiley.title,
+		minWidth : 270,
+		minHeight : 120,
+		contents : [
+			{
+				id : 'tab1',
+				label : '',
+				title : '',
+				expand : true,
+				padding : 0,
+				elements : [
+						smileySelector
+					]
+			}
+		],
+		buttons : [ CKEDITOR.dialog.cancelButton ]
+	};
+} );
Index: CKEditor/branches/features/aria/_source/plugins/smiley/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/smiley/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/smiley/plugin.js	(revision 4888)
@@ -0,0 +1,75 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'smiley',
+{
+	requires : [ 'dialog' ],
+
+	init : function( editor )
+	{
+		editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) );
+		editor.ui.addButton( 'Smiley',
+			{
+				label : editor.lang.smiley.toolbar,
+				command : 'smiley'
+			});
+		CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
+	}
+} );
+
+/**
+ * The base path used to build the URL for the smiley images. It must end with
+ * a slash.
+ * @type String
+ * @default {@link CKEDITOR.basePath} + 'plugins/smiley/images/'
+ * @example
+ * config.smiley_path = 'http://www.example.com/images/smileys/';
+ * @example
+ * config.smiley_path = '/images/smileys/';
+ */
+CKEDITOR.config.smiley_path = CKEDITOR.basePath +
+	'_source/' +		// @Packager.RemoveLine
+	'plugins/smiley/images/';
+
+/**
+ * The file names for the smileys to be displayed. These files must be
+ * contained inside the URL path defined with the
+ * {@link CKEDITOR.config.smiley_path} setting.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.smiley_images = [
+ *     'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
+ *     'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
+ *     'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
+ *     'broken_heart.gif','kiss.gif','envelope.gif'];
+ */
+CKEDITOR.config.smiley_images = [
+	'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
+	'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
+	'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
+	'broken_heart.gif','kiss.gif','envelope.gif'];
+
+/**
+ * The description to be used for each of the smileys defined in the
+ * {@link CKEDITOR.config.smiley_images} setting. Each entry in this array list
+ * must match its relative pair in the {@link CKEDITOR.config.smiley_images}
+ * setting.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.smiley_descriptions = [
+ *     ':)', ':(', ';)', ':D', ':/', ':P',
+ *     '', '', '', '', '', '',
+ *     '', ';(', '', '', '', '',
+ *     '', ':kiss', '' ];
+ */
+CKEDITOR.config.smiley_descriptions = [
+	':)', ':(', ';)', ':D', ':/', ':P',
+	'', '', '', '', '', '',
+	'', ';(', '', '', '', '',
+	'', ':kiss', '' ];
Index: CKEditor/branches/features/aria/_source/plugins/sourcearea/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/sourcearea/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/sourcearea/plugin.js	(revision 4888)
@@ -0,0 +1,200 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "sourcearea" plugin. It registers the "source" editing
+ *		mode, which displays the raw data being edited in the editor.
+ */
+
+CKEDITOR.plugins.add( 'sourcearea',
+{
+	requires : [ 'editingblock' ],
+
+	init : function( editor )
+	{
+		var sourcearea = CKEDITOR.plugins.sourcearea;
+
+		editor.on( 'editingBlockReady', function()
+			{
+				var textarea,
+					onResize;
+
+				editor.addMode( 'source',
+					{
+						load : function( holderElement, data )
+						{
+							if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+								holderElement.setStyle( 'position', 'relative' );
+
+							// Create the source area <textarea>.
+							editor.textarea = textarea = new CKEDITOR.dom.element( 'textarea' );
+							textarea.setAttributes(
+								{
+									dir : 'ltr',
+									tabIndex : -1
+								});
+							textarea.addClass( 'cke_source' );
+							textarea.addClass( 'cke_enable_context_menu' );
+
+							var styles =
+							{
+								// IE7 has overflow the <textarea> from wrapping table cell.
+								width	: CKEDITOR.env.ie7Compat ?  '99%' : '100%',
+								height	: '100%',
+								resize	: 'none',
+								outline	: 'none',
+								'text-align' : 'left'
+							};
+
+							// The textarea height/width='100%' doesn't
+							// constraint to the 'td' in IE strick mode
+							if ( CKEDITOR.env.ie )
+							{
+								if ( !CKEDITOR.env.ie8Compat )
+								{
+									onResize = function()
+										{
+											// Holder rectange size is stretched by textarea,
+											// so hide it just for a moment.
+											textarea.hide();
+											textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' );
+											// When we have proper holder size, show textarea again.
+											textarea.show();
+										};
+									editor.on( 'resize', onResize );
+									editor.on( 'afterCommandExec', function( event )
+									{
+										if ( event.data.name == 'toolbarCollapse' )
+											onResize();
+									});
+									styles.height = holderElement.$.clientHeight + 'px';
+								}
+							}
+							else
+							{
+								// By some yet unknown reason, we must stop the
+								// mousedown propagation for the textarea,
+								// otherwise it's not possible to place the caret
+								// inside of it (non IE).
+								textarea.on( 'mousedown', function( evt )
+									{
+										evt.data.stopPropagation();
+									} );
+							}
+
+							// Reset the holder element and append the
+							// <textarea> to it.
+							holderElement.setHtml( '' );
+							holderElement.append( textarea );
+							textarea.setStyles( styles );
+
+							textarea.on( 'blur', function()
+								{
+									editor.focusManager.blur();
+								});
+
+							textarea.on( 'focus', function()
+								{
+									editor.focusManager.focus();
+								});
+
+							// The editor data "may be dirty" after this point.
+							editor.mayBeDirty = true;
+
+							// Set the <textarea> value.
+							this.loadData( data );
+
+							var keystrokeHandler = editor.keystrokeHandler;
+							if ( keystrokeHandler )
+								keystrokeHandler.attach( textarea );
+
+							setTimeout( function()
+							{
+								editor.mode = 'source';
+								editor.fire( 'mode' );
+							},
+							( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 );
+						},
+
+						loadData : function( data )
+						{
+							textarea.setValue( data );
+							editor.fire( 'dataReady' );
+						},
+
+						getData : function()
+						{
+							return textarea.getValue();
+						},
+
+						getSnapshotData : function()
+						{
+							return textarea.getValue();
+						},
+
+						unload : function( holderElement )
+						{
+							editor.textarea = textarea = null;
+
+							if ( onResize )
+								editor.removeListener( 'resize', onResize );
+
+							if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+								holderElement.removeStyle( 'position' );
+						},
+
+						focus : function()
+						{
+							textarea.focus();
+						}
+					});
+			});
+
+		editor.addCommand( 'source', sourcearea.commands.source );
+
+		if ( editor.ui.addButton )
+		{
+			editor.ui.addButton( 'Source',
+				{
+					label : editor.lang.source,
+					command : 'source'
+				});
+		}
+
+		editor.on( 'mode', function()
+			{
+				editor.getCommand( 'source' ).setState(
+					editor.mode == 'source' ?
+						CKEDITOR.TRISTATE_ON :
+						CKEDITOR.TRISTATE_OFF );
+			});
+	}
+});
+
+/**
+ * Holds the definition of commands an UI elements included with the sourcearea
+ * plugin.
+ * @example
+ */
+CKEDITOR.plugins.sourcearea =
+{
+	commands :
+	{
+		source :
+		{
+			modes : { wysiwyg:1, source:1 },
+
+			exec : function( editor )
+			{
+				if ( editor.mode == 'wysiwyg' )
+					editor.fire( 'saveSnapshot' );
+				editor.getCommand( 'source' ).setState( CKEDITOR.TRISTATE_DISABLED );
+				editor.setMode( editor.mode == 'source' ? 'wysiwyg' : 'source' );
+			},
+
+			canUndo : false
+		}
+	}
+};
Index: CKEditor/branches/features/aria/_source/plugins/specialchar/dialogs/specialchar.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/specialchar/dialogs/specialchar.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/specialchar/dialogs/specialchar.js	(revision 4888)
@@ -0,0 +1,362 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'specialchar', function( editor )
+{
+	/**
+	 * Simulate "this" of a dialog for non-dialog events.
+	 * @type {CKEDITOR.dialog}
+	 */
+	var dialog;
+	var onChoice = function( evt )
+	{
+		var target, value;
+		if ( evt.data )
+			target = evt.data.getTarget();
+		else
+			target = new CKEDITOR.dom.element( evt );
+
+		if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
+		{
+			target.removeClass( "cke_light_background" );
+			dialog.hide();
+			editor.insertHtml( value );
+		}
+	};
+
+	var onClick = CKEDITOR.tools.addFunction( onChoice );
+
+	var focusedNode;
+
+	var onFocus = function( evt, target )
+	{
+		var value;
+		target = target || evt.data.getTarget();
+
+		if ( target.getName() == 'span' )
+			target = target.getParent();
+
+		if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
+		{
+			// Trigger blur manually if there is focused node.
+			if ( focusedNode )
+				onBlur( null, focusedNode );
+
+			var htmlPreview = dialog.getContentElement( 'info', 'htmlPreview' ).getElement();
+
+			dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( value );
+			htmlPreview.setHtml( CKEDITOR.tools.htmlEncode( value ) );
+			target.getParent().addClass( "cke_light_background" );
+
+			// Memorize focused node.
+			focusedNode = target;
+		}
+	};
+
+	var onBlur = function( evt, target )
+	{
+		target = target || evt.data.getTarget();
+
+		if ( target.getName() == 'span' )
+			target = target.getParent();
+
+		if ( target.getName() == 'a' )
+		{
+			dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( '&nbsp;' );
+			dialog.getContentElement( 'info', 'htmlPreview' ).getElement().setHtml( '&nbsp;' );
+			target.getParent().removeClass( "cke_light_background" );
+
+			focusedNode = undefined;
+		}
+	};
+
+	var onKeydown = CKEDITOR.tools.addFunction( function( ev )
+	{
+		ev = new CKEDITOR.dom.event( ev );
+
+		// Get an Anchor element.
+		var element = ev.getTarget();
+		var relative, nodeToMove;
+		var keystroke = ev.getKeystroke();
+
+		switch ( keystroke )
+		{
+			// RIGHT-ARROW
+			case 39 :
+				// relative is TD
+				if ( ( relative = element.getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					if ( nodeToMove.type == 1 )
+					{
+						nodeToMove.focus();
+						onBlur( null, element );
+						onFocus( null, nodeToMove );
+					}
+				}
+				ev.preventDefault();
+				break;
+			// LEFT-ARROW
+			case 37 :
+				// relative is TD
+				if ( ( relative = element.getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+					onBlur( null, element );
+					onFocus( null, nodeToMove );
+				}
+				ev.preventDefault();
+				break;
+			// UP-ARROW
+			case 38 :
+				// relative is TR
+				if ( ( relative = element.getParent().getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+					nodeToMove.focus();
+					onBlur( null, element );
+					onFocus( null, nodeToMove );
+				}
+				ev.preventDefault();
+				break;
+			// DOWN-ARROW
+			case 40 :
+				// relative is TR
+				if ( ( relative = element.getParent().getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
+					if ( nodeToMove && nodeToMove.type == 1 )
+					{
+						nodeToMove.focus();
+						onBlur( null, element );
+						onFocus( null, nodeToMove );
+					}
+				}
+				ev.preventDefault();
+				break;
+			// SPACE
+			// ENTER is already handled as onClick
+			case 32 :
+				onChoice( { data: ev } );
+				ev.preventDefault();
+				break;
+			// TAB
+			case 9 :
+				// relative is TD
+				if ( ( relative = element.getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					if ( nodeToMove.type == 1 )
+					{
+						nodeToMove.focus();
+						onBlur( null, element );
+						onFocus( null, nodeToMove );
+						ev.preventDefault( true );
+					}
+					else
+						onBlur( null, element );
+				}
+				// relative is TR
+				else if ( ( relative = element.getParent().getParent().getNext() ) )
+				{
+					nodeToMove = relative.getChild( [ 0, 0 ] );
+					if ( nodeToMove && nodeToMove.type == 1 )
+					{
+						nodeToMove.focus();
+						onBlur( null, element );
+						onFocus( null, nodeToMove );
+						ev.preventDefault( true );
+					}
+					else
+						onBlur( null, element );
+				}
+				break;
+			// SHIFT + TAB
+			case CKEDITOR.SHIFT + 9 :
+				// relative is TD
+				if ( ( relative = element.getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getChild( 0 );
+					nodeToMove.focus();
+					onBlur( null, element );
+					onFocus( null, nodeToMove );
+					ev.preventDefault( true );
+				}
+				// relative is TR
+				else if ( ( relative = element.getParent().getParent().getPrevious() ) )
+				{
+					nodeToMove = relative.getLast().getChild( 0 );
+					nodeToMove.focus();
+					onBlur( null, element );
+					onFocus( null, nodeToMove );
+					ev.preventDefault( true );
+				}
+				else
+					onBlur( null, element );
+				break;
+			default :
+				// Do not stop not handled events.
+				return;
+		}
+	});
+
+	return {
+		title : editor.lang.specialChar.title,
+		minWidth : 430,
+		minHeight : 280,
+		buttons : [ CKEDITOR.dialog.cancelButton ],
+		charColumns : 17,
+		chars :
+			[
+				'!','&quot;','#','$','%','&amp;',"'",'(',')','*','+','-','.','/',
+				'0','1','2','3','4','5','6','7','8','9',':',';',
+				'&lt;','=','&gt;','?','@',
+				'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O',
+				'P','Q','R','S','T','U','V','W','X','Y','Z',
+				'[',']','^','_','`',
+				'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
+				'q','r','s','t','u','v','w','x','y','z',
+				'{','|','}','~','&euro;','&lsquo;','&rsquo;','&rsquo;','&ldquo;',
+				'&rdquo;','&ndash;','&mdash;','&iexcl;','&cent;','&pound;',
+				'&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;',
+				'&laquo;','&not;','&reg;','&macr;','&deg;','&plusmn;','&sup2;',
+				'&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;',
+				'&sup1;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;',
+				'&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;',
+				'&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;',
+				'&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;',
+				'&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;',
+				'&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;',
+				'&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;',
+				'&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;',
+				'&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;',
+				'&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;',
+				'&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;',
+				'&ucirc;','&uuml;','&uuml;','&yacute;','&thorn;','&yuml;',
+				'&OElig;','&oelig;','&#372;','&#374','&#373','&#375;','&sbquo;',
+				'&#8219;','&bdquo;','&hellip;','&trade;','&#9658;','&bull;',
+				'&rarr;','&rArr;','&hArr;','&diams;','&asymp;'
+			],
+		onLoad :  function()
+		{
+			var columns = this.definition.charColumns,
+				chars = this.definition.chars;
+
+			var html = [ '<table style="width: 320px; height: 100%; border-collapse: separate;" align="center" cellspacing="2" cellpadding="2" border="0">' ];
+
+			var i = 0 ;
+			while ( i < chars.length )
+			{
+				html.push( '<tr>' ) ;
+
+				for( var j = 0 ; j < columns ; j++, i++ )
+				{
+					if ( chars[ i ] )
+					{
+						html.push(
+							'<td class="cke_dark_background" style="cursor: default">' +
+							'<a href="javascript: void(0);" style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="', chars[i].replace( /&/g, '&amp;' ), '"' +
+							' onkeydown="CKEDITOR.tools.callFunction( ' + onKeydown + ', event, this )"' +
+							' onclick="CKEDITOR.tools.callFunction(' + onClick + ', this); return false;"' +
+							' tabindex="-1">' +
+							'<span style="margin: 0 auto;cursor: inherit">' +
+							chars[i] +
+							'</span></a>');
+					}
+					else
+						html.push( '<td class="cke_dark_background">&nbsp;' );
+
+					html.push( '</td>' );
+				}
+				html.push( '</tr>' );
+			}
+
+			html.push( '</tbody></table>' );
+
+			this.getContentElement( 'info', 'charContainer' ).getElement().setHtml( html.join( '' ) );
+		},
+		contents : [
+			{
+				id : 'info',
+				label : editor.lang.common.generalTab,
+				title : editor.lang.common.generalTab,
+				padding : 0,
+				align : 'top',
+				elements : [
+					{
+						type : 'hbox',
+						align : 'top',
+						widths : [ '320px', '90px' ],
+						children :
+						[
+							{
+								type : 'html',
+								id : 'charContainer',
+								html : '',
+								onMouseover : onFocus,
+								onMouseout : onBlur,
+								focus : function()
+								{
+									var firstChar = this.getElement().getChild( [0, 0, 0, 0, 0] );
+									setTimeout(function()
+									{
+										firstChar.focus();
+										onFocus( null, firstChar );
+									});
+								},
+								// Needed only for webkit.
+								onShow : function()
+								{
+									var firstChar = this.getElement().getChild( [0, 0, 0, 0, 0] );
+									setTimeout(function()
+									{
+										firstChar.focus();
+										onFocus( null, firstChar );
+									});
+								},
+								onLoad : function( event )
+								{
+									dialog = event.sender;
+								}
+							},
+							{
+								type : 'hbox',
+								align : 'top',
+								widths : [ '100%' ],
+								children :
+								[
+									{
+										type : 'vbox',
+										align : 'top',
+										children :
+										[
+											{
+												type : 'html',
+												html : '<div></div>'
+											},
+											{
+												type : 'html',
+												id : 'charPreview',
+												style : 'border:1px solid #eeeeee;background-color:#EAEAD1;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
+												html : '<div>&nbsp;</div>'
+											},
+											{
+												type : 'html',
+												id : 'htmlPreview',
+												style : 'border:1px solid #eeeeee;background-color:#EAEAD1;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
+												html : '<div>&nbsp;</div>'
+											}
+										]
+									}
+								]
+							}
+						]
+					}
+				]
+			}
+		]
+	};
+} );
Index: CKEditor/branches/features/aria/_source/plugins/specialchar/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/specialchar/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/specialchar/plugin.js	(revision 4888)
@@ -0,0 +1,29 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Special Character plugin
+ */
+
+CKEDITOR.plugins.add( 'specialchar',
+{
+	init : function( editor )
+	{
+		var pluginName = 'specialchar';
+
+		// Register the dialog.
+		CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );
+
+		// Register the command.
+		editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
+
+		// Register the toolbar button.
+		editor.ui.addButton( 'SpecialChar',
+			{
+				label : editor.lang.specialChar.toolbar,
+				command : pluginName
+			});
+	}
+} );
Index: CKEditor/branches/features/aria/_source/plugins/styles/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/styles/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/styles/plugin.js	(revision 4888)
@@ -0,0 +1,1243 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'styles',
+{
+	requires : [ 'selection' ]
+});
+
+/**
+ * Registers a function to be called whenever a style changes its state in the
+ * editing area. The current state is passed to the function. The possible
+ * states are {@link CKEDITOR.TRISTATE_ON} and {@link CKEDITOR.TRISTATE_OFF}.
+ * @param {CKEDITOR.style} The style to be watched.
+ * @param {Function} The function to be called when the style state changes.
+ * @example
+ * // Create a style object for the &lt;b&gt; element.
+ * var style = new CKEDITOR.style( { element : 'b' } );
+ * var editor = CKEDITOR.instances.editor1;
+ * editor.attachStyleStateChange( style, function( state )
+ *     {
+ *         if ( state == CKEDITOR.TRISTATE_ON )
+ *             alert( 'The current state for the B element is ON' );
+ *         else
+ *             alert( 'The current state for the B element is OFF' );
+ *     });
+ */
+CKEDITOR.editor.prototype.attachStyleStateChange = function( style, callback )
+{
+	// Try to get the list of attached callbacks.
+	var styleStateChangeCallbacks = this._.styleStateChangeCallbacks;
+
+	// If it doesn't exist, it means this is the first call. So, let's create
+	// all the structure to manage the style checks and the callback calls.
+	if ( !styleStateChangeCallbacks )
+	{
+		// Create the callbacks array.
+		styleStateChangeCallbacks = this._.styleStateChangeCallbacks = [];
+
+		// Attach to the selectionChange event, so we can check the styles at
+		// that point.
+		this.on( 'selectionChange', function( ev )
+			{
+				// Loop throw all registered callbacks.
+				for ( var i = 0 ; i < styleStateChangeCallbacks.length ; i++ )
+				{
+					var callback = styleStateChangeCallbacks[ i ];
+
+					// Check the current state for the style defined for that
+					// callback.
+					var currentState = callback.style.checkActive( ev.data.path ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF;
+
+					// If the state changed since the last check.
+					if ( callback.state !== currentState )
+					{
+						// Call the callback function, passing the current
+						// state to it.
+						callback.fn.call( this, currentState );
+
+						// Save the current state, so it can be compared next
+						// time.
+						callback.state !== currentState;
+					}
+				}
+			});
+	}
+
+	// Save the callback info, so it can be checked on the next occurence of
+	// selectionChange.
+	styleStateChangeCallbacks.push( { style : style, fn : callback } );
+};
+
+CKEDITOR.STYLE_BLOCK = 1;
+CKEDITOR.STYLE_INLINE = 2;
+CKEDITOR.STYLE_OBJECT = 3;
+
+(function()
+{
+	var blockElements	= { address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 };
+	var objectElements	= { a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,ul:1 };
+
+	var semicolonFixRegex = /\s*(?:;\s*|$)/;
+
+	CKEDITOR.style = function( styleDefinition, variablesValues )
+	{
+		if ( variablesValues )
+		{
+			styleDefinition = CKEDITOR.tools.clone( styleDefinition );
+
+			replaceVariables( styleDefinition.attributes, variablesValues );
+			replaceVariables( styleDefinition.styles, variablesValues );
+		}
+
+		var element = this.element = ( styleDefinition.element || '*' ).toLowerCase();
+
+		this.type =
+			( element == '#' || blockElements[ element ] ) ?
+				CKEDITOR.STYLE_BLOCK
+			: objectElements[ element ] ?
+				CKEDITOR.STYLE_OBJECT
+			:
+				CKEDITOR.STYLE_INLINE;
+
+		this._ =
+		{
+			definition : styleDefinition
+		};
+	};
+
+	CKEDITOR.style.prototype =
+	{
+		apply : function( document )
+		{
+			applyStyle.call( this, document, false );
+		},
+
+		remove : function( document )
+		{
+			applyStyle.call( this, document, true );
+		},
+
+		applyToRange : function( range )
+		{
+			return ( this.applyToRange =
+						this.type == CKEDITOR.STYLE_INLINE ?
+							applyInlineStyle
+						: this.type == CKEDITOR.STYLE_BLOCK ?
+							applyBlockStyle
+						: null ).call( this, range );
+		},
+
+		removeFromRange : function( range )
+		{
+			return ( this.removeFromRange =
+						this.type == CKEDITOR.STYLE_INLINE ?
+							removeInlineStyle
+						: null ).call( this, range );
+		},
+
+		applyToObject : function( element )
+		{
+			setupElement( element, this );
+		},
+
+		/**
+		 * Get the style state inside an element path. Returns "true" if the
+		 * element is active in the path.
+		 */
+		checkActive : function( elementPath )
+		{
+			switch ( this.type )
+			{
+				case CKEDITOR.STYLE_BLOCK :
+					return this.checkElementRemovable( elementPath.block || elementPath.blockLimit, true );
+
+				case CKEDITOR.STYLE_INLINE :
+
+					var elements = elementPath.elements;
+
+					for ( var i = 0, element ; i < elements.length ; i++ )
+					{
+						element = elements[i];
+
+						if ( element == elementPath.block || element == elementPath.blockLimit )
+							continue;
+
+						if ( this.checkElementRemovable( element, true ) )
+							return true;
+					}
+			}
+			return false;
+		},
+
+		// Checks if an element, or any of its attributes, is removable by the
+		// current style definition.
+		checkElementRemovable : function( element, fullMatch )
+		{
+			if ( !element )
+				return false;
+
+			var def = this._.definition,
+				attribs;
+
+			// If the element name is the same as the style name.
+			if ( element.getName() == this.element )
+			{
+				// If no attributes are defined in the element.
+				if ( !fullMatch && !element.hasAttributes() )
+					return true;
+
+				attribs = getAttributesForComparison( def );
+
+				if ( attribs._length )
+				{
+					for ( var attName in attribs )
+					{
+						if ( attName == '_length' )
+							continue;
+
+						var elementAttr = element.getAttribute( attName ) || '';
+						if ( attribs[ attName ] ==
+							 ( attName == 'style' ?
+							   normalizeCssText( elementAttr, false ) : elementAttr  ) )
+						{
+							if ( !fullMatch )
+								return true;
+						}
+						else if ( fullMatch )
+								return false;
+					}
+					if( fullMatch )
+						return true;
+				}
+				else
+					return true;
+			}
+
+			// Check if the element can be somehow overriden.
+			var override = getOverrides( this )[ element.getName() ] ;
+			if ( override )
+			{
+				// If no attributes have been defined, remove the element.
+				if ( !( attribs = override.attributes ) )
+					return true;
+
+				for ( var i = 0 ; i < attribs.length ; i++ )
+				{
+					attName = attribs[i][0];
+					var actualAttrValue = element.getAttribute( attName );
+					if ( actualAttrValue )
+					{
+						var attValue = attribs[i][1];
+
+						// Remove the attribute if:
+						//    - The override definition value is null;
+						//    - The override definition value is a string that
+						//      matches the attribute value exactly.
+						//    - The override definition value is a regex that
+						//      has matches in the attribute value.
+						if ( attValue === null ||
+								( typeof attValue == 'string' && actualAttrValue == attValue ) ||
+								attValue.test( actualAttrValue ) )
+							return true;
+					}
+				}
+			}
+			return false;
+		}
+	};
+
+	// Build the cssText based on the styles definition.
+	CKEDITOR.style.getStyleText = function( styleDefinition )
+	{
+		// If we have already computed it, just return it.
+		var stylesDef = styleDefinition._ST;
+		if ( stylesDef )
+			return stylesDef;
+
+		stylesDef = styleDefinition.styles;
+
+		// Builds the StyleText.
+
+		var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '';
+
+		if ( stylesText.length )
+			stylesText = stylesText.replace( semicolonFixRegex, ';' );
+
+		for ( var style in stylesDef )
+			stylesText += ( style + ':' + stylesDef[ style ] ).replace( semicolonFixRegex, ';' );
+
+		// Browsers make some changes to the style when applying them. So, here
+		// we normalize it to the browser format.
+		if ( stylesText.length )
+			stylesText = normalizeCssText( stylesText );
+
+		// Return it, saving it to the next request.
+		return ( styleDefinition._ST = stylesText );
+	};
+
+	function applyInlineStyle( range )
+	{
+		var document = range.document;
+
+		if ( range.collapsed )
+		{
+			// Create the element to be inserted in the DOM.
+			var collapsedElement = getElement( this, document );
+
+			// Insert the empty element into the DOM at the range position.
+			range.insertNode( collapsedElement );
+
+			// Place the selection right inside the empty element.
+			range.moveToPosition( collapsedElement, CKEDITOR.POSITION_BEFORE_END );
+
+			return;
+		}
+
+		var elementName = this.element;
+		var def = this._.definition;
+		var isUnknownElement;
+
+		// Get the DTD definition for the element. Defaults to "span".
+		var dtd = CKEDITOR.dtd[ elementName ] || ( isUnknownElement = true, CKEDITOR.dtd.span );
+
+		// Bookmark the range so we can re-select it after processing.
+		var bookmark = range.createBookmark();
+
+		// Expand the range.
+		range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+		range.trim();
+
+		// Get the first node to be processed and the last, which concludes the
+		// processing.
+		var boundaryNodes = range.getBoundaryNodes();
+		var firstNode = boundaryNodes.startNode;
+		var lastNode = boundaryNodes.endNode.getNextSourceNode( true );
+
+		// Probably the document end is reached, we need a marker node.
+		if ( !lastNode )
+		{
+				var marker;
+				lastNode = marker = document.createText( '' );
+				lastNode.insertAfter( range.endContainer );
+		}
+		// The detection algorithm below skips the contents inside bookmark nodes, so
+		// we'll need to make sure lastNode isn't the &nbsp; inside a bookmark node.
+		var lastParent = lastNode.getParent();
+		if ( lastParent && lastParent.getAttribute( '_fck_bookmark' ) )
+			lastNode = lastParent;
+
+		if ( lastNode.equals( firstNode ) )
+		{
+			// If the last node is the same as the the first one, we must move
+			// it to the next one, otherwise the first one will not be
+			// processed.
+			lastNode = lastNode.getNextSourceNode( true );
+
+			// It may happen that there are no more nodes after it (the end of
+			// the document), so we must add something there to make our code
+			// simpler.
+			if ( !lastNode )
+			{
+				lastNode = marker = document.createText( '' );
+				lastNode.insertAfter( firstNode );
+			}
+		}
+
+		var currentNode = firstNode;
+
+		var styleRange;
+
+		// Indicates that that some useful inline content has been found, so
+		// the style should be applied.
+		var hasContents;
+
+		while ( currentNode )
+		{
+			var applyStyle = false;
+
+			if ( currentNode.equals( lastNode ) )
+			{
+				currentNode = null;
+				applyStyle = true;
+			}
+			else
+			{
+				var nodeType = currentNode.type;
+				var nodeName = nodeType == CKEDITOR.NODE_ELEMENT ? currentNode.getName() : null;
+
+				if ( nodeName && currentNode.getAttribute( '_fck_bookmark' ) )
+				{
+					currentNode = currentNode.getNextSourceNode( true );
+					continue;
+				}
+
+				// Check if the current node can be a child of the style element.
+				if ( !nodeName || ( dtd[ nodeName ] && ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) ) )
+				{
+					var currentParent = currentNode.getParent();
+
+					// Check if the style element can be a child of the current
+					// node parent or if the element is not defined in the DTD.
+					if ( currentParent && ( ( currentParent.getDtd() || CKEDITOR.dtd.span )[ elementName ] || isUnknownElement ) )
+					{
+						// This node will be part of our range, so if it has not
+						// been started, place its start right before the node.
+						// In the case of an element node, it will be included
+						// only if it is entirely inside the range.
+						if ( !styleRange && ( !nodeName || !CKEDITOR.dtd.$removeEmpty[ nodeName ] || ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) ) )
+						{
+							styleRange = new CKEDITOR.dom.range( document );
+							styleRange.setStartBefore( currentNode );
+						}
+
+						// Non element nodes, or empty elements can be added
+						// completely to the range.
+						if ( nodeType == CKEDITOR.NODE_TEXT || ( nodeType == CKEDITOR.NODE_ELEMENT && !currentNode.getChildCount() ) )
+						{
+							var includedNode = currentNode;
+							var parentNode;
+
+							// This node is about to be included completelly, but,
+							// 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
+								&& ( 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 ) )
+							{
+								includedNode = parentNode;
+							}
+
+							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;
+
+							if ( !hasContents )
+								hasContents = ( nodeType != CKEDITOR.NODE_TEXT || (/[^\s\ufeff]/).test( currentNode.getText() ) );
+						}
+					}
+					else
+						applyStyle = true;
+				}
+				else
+					applyStyle = true;
+
+				// Get the next node to be processed.
+				currentNode = currentNode.getNextSourceNode();
+			}
+
+			// Apply the style if we have something to which apply it.
+			if ( applyStyle && hasContents && styleRange && !styleRange.collapsed )
+			{
+				// Build the style element, based on the style object definition.
+				var styleNode = getElement( this, document );
+
+				// Get the element that holds the entire range.
+				var parent = styleRange.getCommonAncestor();
+
+				// Loop through the parents, removing the redundant attributes
+				// from the element to be applied.
+				while ( styleNode && parent )
+				{
+					if ( parent.getName() == elementName )
+					{
+						for ( var attName in def.attributes )
+						{
+							if ( styleNode.getAttribute( attName ) == parent.getAttribute( attName ) )
+								styleNode.removeAttribute( attName );
+						}
+
+						for ( var styleName in def.styles )
+						{
+							if ( styleNode.getStyle( styleName ) == parent.getStyle( styleName ) )
+								styleNode.removeStyle( styleName );
+						}
+
+						if ( !styleNode.hasAttributes() )
+						{
+							styleNode = null;
+							break;
+						}
+					}
+
+					parent = parent.getParent();
+				}
+
+				if ( styleNode )
+				{
+					// Move the contents of the range to the style element.
+					styleRange.extractContents().appendTo( styleNode );
+
+					// Here we do some cleanup, removing all duplicated
+					// elements from the style element.
+					removeFromInsideElement( this, styleNode );
+
+					// Insert it into the range position (it is collapsed after
+					// extractContents.
+					styleRange.insertNode( styleNode );
+
+					// Let's merge our new style with its neighbors, if possible.
+					mergeSiblings( styleNode );
+
+					// As the style system breaks text nodes constantly, let's normalize
+					// things for performance.
+					// With IE, some paragraphs get broken when calling normalize()
+					// repeatedly. Also, for IE, we must normalize body, not documentElement.
+					// IE is also known for having a "crash effect" with normalize().
+					// We should try to normalize with IE too in some way, somewhere.
+					if ( !CKEDITOR.env.ie )
+						styleNode.$.normalize();
+				}
+
+				// Style applied, let's release the range, so it gets
+				// re-initialization in the next loop.
+				styleRange = null;
+			}
+		}
+
+		// Remove the temporary marking node.(#4111)
+		marker && marker.remove();
+		range.moveToBookmark( bookmark );
+	}
+
+	function removeInlineStyle( range )
+	{
+		/*
+		 * Make sure our range has included all "collpased" parent inline nodes so
+		 * that our operation logic can be simpler.
+		 */
+		range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+
+		var bookmark = range.createBookmark(),
+			startNode = bookmark.startNode;
+
+		if ( range.collapsed )
+		{
+
+			var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ),
+				// The topmost element in elementspatch which we should jump out of.
+				boundaryElement;
+
+
+			for ( var i = 0, element ; i < startPath.elements.length
+					&& ( element = startPath.elements[i] ) ; i++ )
+			{
+				/*
+				 * 1. If it's collaped inside text nodes, try to remove the style from the whole element.
+				 *
+				 * 2. Otherwise if it's collapsed on element boundaries, moving the selection
+				 *  outside the styles instead of removing the whole tag,
+				 *  also make sure other inner styles were well preserverd.(#3309)
+				 */
+				if ( element == startPath.block || element == startPath.blockLimit )
+					break;
+
+				if ( this.checkElementRemovable( element ) )
+				{
+					var endOfElement = range.checkBoundaryOfElement( element, CKEDITOR.END ),
+							startOfElement = !endOfElement && range.checkBoundaryOfElement( element, CKEDITOR.START );
+					if ( startOfElement || endOfElement )
+					{
+						boundaryElement = element;
+						boundaryElement.match = startOfElement ? 'start' : 'end';
+					}
+					else
+					{
+						/*
+						 * Before removing the style node, there may be a sibling to the style node
+						 * that's exactly the same to the one to be removed. To the user, it makes
+						 * no difference that they're separate entities in the DOM tree. So, merge
+						 * them before removal.
+						 */
+						mergeSiblings( element );
+						removeFromElement( this, element );
+
+					}
+				}
+			}
+
+			// Re-create the style tree after/before the boundary element,
+			// the replication start from bookmark start node to define the
+			// new range.
+			if ( boundaryElement )
+			{
+				var clonedElement = startNode;
+				for ( i = 0 ;; i++ )
+				{
+					var newElement = startPath.elements[ i ];
+					if ( newElement.equals( boundaryElement ) )
+						break;
+					// Avoid copying any matched element.
+					else if( newElement.match )
+						continue;
+					else
+						newElement = newElement.clone();
+					newElement.append( clonedElement );
+					clonedElement = newElement;
+				}
+				clonedElement[ boundaryElement.match == 'start' ?
+							'insertBefore' : 'insertAfter' ]( boundaryElement );
+			}
+		}
+		else
+		{
+			/*
+			 * Now our range isn't collapsed. Lets walk from the start node to the end
+			 * node via DFS and remove the styles one-by-one.
+			 */
+			var endNode = bookmark.endNode,
+				me = this;
+
+			/*
+			 * Find out the style ancestor that needs to be broken down at startNode
+			 * and endNode.
+			 */
+			function breakNodes()
+			{
+				var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ),
+					endPath = new CKEDITOR.dom.elementPath( endNode.getParent() ),
+					breakStart = null,
+					breakEnd = null;
+				for ( var i = 0 ; i < startPath.elements.length ; i++ )
+				{
+					var element = startPath.elements[ i ];
+
+					if ( element == startPath.block || element == startPath.blockLimit )
+						break;
+
+					if ( me.checkElementRemovable( element ) )
+						breakStart = element;
+				}
+				for ( i = 0 ; i < endPath.elements.length ; i++ )
+				{
+					element = endPath.elements[ i ];
+
+					if ( element == endPath.block || element == endPath.blockLimit )
+						break;
+
+					if ( me.checkElementRemovable( element ) )
+						breakEnd = element;
+				}
+
+				if ( breakEnd )
+					endNode.breakParent( breakEnd );
+				if ( breakStart )
+					startNode.breakParent( breakStart );
+			}
+			breakNodes();
+
+			// Now, do the DFS walk.
+			var currentNode = startNode.getNext();
+			while ( !currentNode.equals( endNode ) )
+			{
+				/*
+				 * Need to get the next node first because removeFromElement() can remove
+				 * the current node from DOM tree.
+				 */
+				var nextNode = currentNode.getNextSourceNode();
+				if ( currentNode.type == CKEDITOR.NODE_ELEMENT && this.checkElementRemovable( currentNode ) )
+				{
+					// Remove style from element or overriding element.
+					if( currentNode.getName() == this.element )
+						removeFromElement( this, currentNode );
+					else
+						removeOverrides( currentNode, getOverrides( this )[ currentNode.getName() ] );
+
+					/*
+					 * removeFromElement() may have merged the next node with something before
+					 * the startNode via mergeSiblings(). In that case, the nextNode would
+					 * contain startNode and we'll have to call breakNodes() again and also
+					 * reassign the nextNode to something after startNode.
+					 */
+					if ( nextNode.type == CKEDITOR.NODE_ELEMENT && nextNode.contains( startNode ) )
+					{
+						breakNodes();
+						nextNode = startNode.getNext();
+					}
+				}
+				currentNode = nextNode;
+			}
+		}
+
+		range.moveToBookmark( bookmark );
+}
+
+	function applyBlockStyle( range )
+	{
+		// Serializible bookmarks is needed here since
+		// elements may be merged.
+		var bookmark = range.createBookmark( true );
+
+		var iterator = range.createIterator();
+		iterator.enforceRealBlocks = true;
+
+		var block;
+		var doc = range.document;
+		var previousPreBlock;
+
+		while( ( block = iterator.getNextParagraph() ) )		// Only one =
+		{
+			var newBlock = getElement( this, doc );
+			replaceBlock( block, newBlock );
+		}
+
+		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
+	// when necessary.(#3188)
+	function replaceBlock( block, newBlock )
+	{
+		var newBlockIsPre	= newBlock.is( 'pre' );
+		var blockIsPre		= block.is( 'pre' );
+
+		var isToPre	= newBlockIsPre && !blockIsPre;
+		var isFromPre	= !newBlockIsPre && blockIsPre;
+
+		if ( isToPre )
+			newBlock = toPre( block, newBlock );
+		else if ( isFromPre )
+			// Split big <pre> into pieces before start to convert.
+			newBlock = fromPres( splitIntoPres( block ), newBlock );
+		else
+			block.moveChildren( newBlock );
+
+		newBlock.replace( block );
+
+		if ( newBlockIsPre )
+		{
+			// Merge previous <pre> blocks.
+			mergePre( newBlock );
+		}
+	}
+
+	/**
+	 * Merge a <pre> block with a previous sibling if available.
+	 */
+	function mergePre( preBlock )
+	{
+		var previousBlock;
+		if ( !( ( previousBlock = preBlock.getPreviousSourceNode( true, CKEDITOR.NODE_ELEMENT ) )
+				 && previousBlock.is
+				 && previousBlock.is( 'pre') ) )
+			return;
+
+		// Merge the previous <pre> block contents into the current <pre>
+		// block.
+		//
+		// Another thing to be careful here is that currentBlock might contain
+		// a '\n' at the beginning, and previousBlock might contain a '\n'
+		// towards the end. These new lines are not normally displayed but they
+		// become visible after merging.
+		var mergedHtml = replace( previousBlock.getHtml(), /\n$/, '' ) + '\n\n' +
+				replace( preBlock.getHtml(), /^\n/, '' ) ;
+
+		// Krugle: IE normalizes innerHTML from <pre>, breaking whitespaces.
+		if ( CKEDITOR.env.ie )
+			preBlock.$.outerHTML = '<pre>' + mergedHtml + '</pre>';
+		else
+			preBlock.setHtml( mergedHtml );
+
+		previousBlock.remove();
+	}
+
+	/**
+	 * Split into multiple <pre> blocks separated by double line-break.
+	 * @param preBlock
+	 */
+	function splitIntoPres( preBlock )
+	{
+		// Exclude the ones at header OR at tail,
+		// and ignore bookmark content between them.
+		var duoBrRegex = /(\S\s*)\n(?:\s|(<span[^>]+_fck_bookmark.*?\/span>))*\n(?!$)/gi,
+			blockName = preBlock.getName(),
+			splitedHtml = replace( preBlock.getOuterHtml(),
+				duoBrRegex,
+				function( match, charBefore, bookmark )
+				{
+				  return charBefore + '</pre>' + bookmark + '<pre>';
+				} );
+
+		var pres = [];
+		splitedHtml.replace( /<pre>([\s\S]*?)<\/pre>/gi, function( match, preContent ){
+			pres.push( preContent );
+		} );
+		return pres;
+	}
+
+	// Wrapper function of String::replace without considering of head/tail bookmarks nodes.
+	function replace( str, regexp, replacement )
+	{
+		var headBookmark = '',
+			tailBookmark = '';
+
+		str = str.replace( /(^<span[^>]+_fck_bookmark.*?\/span>)|(<span[^>]+_fck_bookmark.*?\/span>$)/gi,
+			function( str, m1, m2 ){
+					m1 && ( headBookmark = m1 );
+					m2 && ( tailBookmark = m2 );
+				return '';
+			} );
+		return headBookmark + str.replace( regexp, replacement ) + tailBookmark;
+	}
+	/**
+	 * Converting a list of <pre> into blocks with format well preserved.
+	 */
+	function fromPres( preHtmls, newBlock )
+	{
+		var docFrag = new CKEDITOR.dom.documentFragment( newBlock.getDocument() );
+		for ( var i = 0 ; i < preHtmls.length ; i++ )
+		{
+			var blockHtml = preHtmls[ i ];
+
+			// 1. Trim the first and last line-breaks immediately after and before <pre>,
+			// they're not visible.
+			 blockHtml =  blockHtml.replace( /(\r\n|\r)/g, '\n' ) ;
+			 blockHtml = replace(  blockHtml, /^[ \t]*\n/, '' ) ;
+			 blockHtml = replace(  blockHtml, /\n$/, '' ) ;
+			// 2. Convert spaces or tabs at the beginning or at the end to &nbsp;
+			 blockHtml = replace(  blockHtml, /^[ \t]+|[ \t]+$/g, function( match, offset, s )
+					{
+						if ( match.length == 1 )	// one space, preserve it
+							return '&nbsp;' ;
+						else if ( !offset )		// beginning of block
+							return CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ) + ' ';
+						else				// end of block
+							return ' ' + CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 );
+					} ) ;
+
+			// 3. Convert \n to <BR>.
+			// 4. Convert contiguous (i.e. non-singular) spaces or tabs to &nbsp;
+			 blockHtml =  blockHtml.replace( /\n/g, '<br>' ) ;
+			 blockHtml =  blockHtml.replace( /[ \t]{2,}/g,
+					function ( match )
+					{
+						return CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ) + ' ' ;
+					} ) ;
+
+			var newBlockClone = newBlock.clone();
+			newBlockClone.setHtml(  blockHtml );
+			docFrag.append( newBlockClone );
+		}
+		return docFrag;
+	}
+
+	/**
+	 * Converting from a non-PRE block to a PRE block in formatting operations.
+	 */
+	function toPre( block, newBlock )
+	{
+		// First trim the block content.
+		var preHtml = block.getHtml();
+
+		// 1. Trim head/tail spaces, they're not visible.
+		preHtml = replace( preHtml, /(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g, '' );
+		// 2. Delete ANSI whitespaces immediately before and after <BR> because
+		//    they are not visible.
+		preHtml = preHtml.replace( /[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, '$1' );
+		// 3. Compress other ANSI whitespaces since they're only visible as one
+		//    single space previously.
+		// 4. Convert &nbsp; to spaces since &nbsp; is no longer needed in <PRE>.
+		preHtml = preHtml.replace( /([ \t\n\r]+|&nbsp;)/g, ' ' );
+		// 5. Convert any <BR /> to \n. This must not be done earlier because
+		//    the \n would then get compressed.
+		preHtml = preHtml.replace( /<br\b[^>]*>/gi, '\n' );
+
+		// Krugle: IE normalizes innerHTML to <pre>, breaking whitespaces.
+		if ( CKEDITOR.env.ie )
+		{
+			var temp = block.getDocument().createElement( 'div' );
+			temp.append( newBlock );
+			newBlock.$.outerHTML =  '<pre>' + preHtml + '</pre>';
+			newBlock = temp.getFirst().remove();
+		}
+		else
+			newBlock.setHtml( preHtml );
+
+		return newBlock;
+	}
+
+	// Removes a style from an element itself, don't care about its subtree.
+	function removeFromElement( style, element )
+	{
+		var def = style._.definition,
+			attributes = def.attributes,
+			styles = def.styles,
+			overrides = getOverrides( style );
+
+		function removeAttrs()
+		{
+			for ( var attName in attributes )
+			{
+				// The 'class' element value must match (#1318).
+				if ( attName == 'class' && element.getAttribute( attName ) != attributes[ attName ] )
+					continue;
+				element.removeAttribute( attName );
+			}
+		}
+
+		// Remove definition attributes/style from the elemnt.
+		removeAttrs();
+		for ( var styleName in styles )
+			element.removeStyle( styleName );
+
+		// Now remove override styles on the element.
+		attributes = overrides[ element.getName() ];
+		if( attributes )
+			removeAttrs();
+		removeNoAttribsElement( element );
+	}
+
+	// Removes a style from inside an element.
+	function removeFromInsideElement( style, element )
+	{
+		var def = style._.definition,
+			attribs = def.attributes,
+			styles = def.styles,
+			overrides = getOverrides( style );
+
+		var innerElements = element.getElementsByTag( style.element );
+
+		for ( var i = innerElements.count(); --i >= 0 ; )
+			removeFromElement( style,  innerElements.getItem( i ) );
+
+		// Now remove any other element with different name that is
+		// defined to be overriden.
+		for ( var overrideElement in overrides )
+		{
+			if ( overrideElement != style.element )
+			{
+				innerElements = element.getElementsByTag( overrideElement ) ;
+				for ( i = innerElements.count() - 1 ; i >= 0 ; i-- )
+				{
+					var innerElement = innerElements.getItem( i );
+					removeOverrides( innerElement, overrides[ overrideElement ] ) ;
+				}
+			}
+		}
+
+	}
+
+	/**
+	 *  Remove overriding styles/attributes from the specific element.
+	 *  Note: Remove the element if no attributes remain.
+	 * @param {Object} element
+	 * @param {Object} overrides
+	 */
+	function removeOverrides( element, overrides )
+	{
+		var attributes = overrides && overrides.attributes ;
+
+		if ( attributes )
+		{
+			for ( var i = 0 ; i < attributes.length ; i++ )
+			{
+				var attName = attributes[i][0], actualAttrValue ;
+
+				if ( ( actualAttrValue = element.getAttribute( attName ) ) )
+				{
+					var attValue = attributes[i][1] ;
+
+					// Remove the attribute if:
+					//    - The override definition value is null ;
+					//    - The override definition valie is a string that
+					//      matches the attribute value exactly.
+					//    - The override definition value is a regex that
+					//      has matches in the attribute value.
+					if ( attValue === null ||
+							( attValue.test && attValue.test( actualAttrValue ) ) ||
+							( typeof attValue == 'string' && actualAttrValue == attValue ) )
+						element.removeAttribute( attName ) ;
+				}
+			}
+		}
+
+		removeNoAttribsElement( element );
+	}
+
+	// If the element has no more attributes, remove it.
+	function removeNoAttribsElement( element )
+	{
+		// If no more attributes remained in the element, remove it,
+		// leaving its children.
+		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.
+				mergeSiblings( firstChild );
+
+				if ( lastChild && !firstChild.equals( lastChild ) )
+					mergeSiblings( lastChild );
+			}
+		}
+	}
+
+	function mergeSiblings( element )
+	{
+		if ( !element || element.type != CKEDITOR.NODE_ELEMENT || !CKEDITOR.dtd.$removeEmpty[ element.getName() ] )
+			return;
+
+		mergeElements( element, element.getNext(), true );
+		mergeElements( element, element.getPrevious() );
+	}
+
+	function mergeElements( element, sibling, isNext )
+	{
+		if ( sibling && sibling.type == CKEDITOR.NODE_ELEMENT )
+		{
+			var hasBookmark = sibling.getAttribute( '_fck_bookmark' );
+
+			if ( hasBookmark )
+				sibling = isNext ? sibling.getNext() : sibling.getPrevious();
+
+			if ( sibling && sibling.type == CKEDITOR.NODE_ELEMENT && element.isIdentical( sibling ) )
+			{
+				// Save the last child to be checked too, to merge things like
+				// <b><i></i></b><b><i></i></b> => <b><i></i></b>
+				var innerSibling = isNext ? element.getLast() : element.getFirst();
+
+				if ( hasBookmark )
+					( isNext ? sibling.getPrevious() : sibling.getNext() ).move( element, !isNext );
+
+				sibling.moveChildren( element, !isNext );
+				sibling.remove();
+
+				// Now check the last inner child (see two comments above).
+				if ( innerSibling )
+					mergeSiblings( innerSibling );
+			}
+		}
+	}
+
+	function getElement( style, targetDocument )
+	{
+		var el;
+
+		var def = style._.definition;
+
+		var elementName = style.element;
+
+		// The "*" element name will always be a span for this function.
+		if ( elementName == '*' )
+			elementName = 'span';
+
+		// Create the element.
+		el = new CKEDITOR.dom.element( elementName, targetDocument );
+
+		return setupElement( el, style );
+	}
+
+	function setupElement( el, style )
+	{
+		var def = style._.definition;
+		var attributes = def.attributes;
+		var styles = CKEDITOR.style.getStyleText( def );
+
+		// Assign all defined attributes.
+		if ( attributes )
+		{
+			for ( var att in attributes )
+			{
+				el.setAttribute( att, attributes[ att ] );
+			}
+		}
+
+		// Assign all defined styles.
+		if ( styles )
+			el.setAttribute( 'style', styles );
+
+		return el;
+	}
+
+	var varRegex = /#\((.+?)\)/g;
+	function replaceVariables( list, variablesValues )
+	{
+		for ( var item in list )
+		{
+			list[ item ] = list[ item ].replace( varRegex, function( match, varName )
+				{
+					return variablesValues[ varName ];
+				});
+		}
+	}
+
+
+	// Returns an object that can be used for style matching comparison.
+	// Attributes names and values are all lowercased, and the styles get
+	// merged with the style attribute.
+	function getAttributesForComparison( styleDefinition )
+	{
+		// If we have already computed it, just return it.
+		var attribs = styleDefinition._AC;
+		if ( attribs )
+			return attribs;
+
+		attribs = {};
+
+		var length = 0;
+
+		// Loop through all defined attributes.
+		var styleAttribs = styleDefinition.attributes;
+		if ( styleAttribs )
+		{
+			for ( var styleAtt in styleAttribs )
+			{
+				length++;
+				attribs[ styleAtt ] = styleAttribs[ styleAtt ];
+			}
+		}
+
+		// Includes the style definitions.
+		var styleText = CKEDITOR.style.getStyleText( styleDefinition );
+		if ( styleText )
+		{
+			if ( !attribs[ 'style' ] )
+				length++;
+			attribs[ 'style' ] = styleText;
+		}
+
+		// Appends the "length" information to the object.
+		attribs._length = length;
+
+		// Return it, saving it to the next request.
+		return ( styleDefinition._AC = attribs );
+	}
+
+	/**
+	 * Get the the collection used to compare the elements and attributes,
+	 * defined in this style overrides, with other element. All information in
+	 * it is lowercased.
+	 * @param {CKEDITOR.style} style
+	 */
+	function getOverrides( style )
+	{
+		if( style._.overrides )
+			return style._.overrides;
+
+		var overrides = ( style._.overrides = {} ),
+			definition = style._.definition.overrides;
+
+		if ( definition )
+		{
+			// The override description can be a string, object or array.
+			// Internally, well handle arrays only, so transform it if needed.
+			if ( !CKEDITOR.tools.isArray( definition ) )
+				definition = [ definition ];
+
+			// Loop through all override definitions.
+			for ( var i = 0 ; i < definition.length ; i++ )
+			{
+				var override = definition[i];
+				var elementName;
+				var overrideEl;
+				var attrs;
+
+				// If can be a string with the element name.
+				if ( typeof override == 'string' )
+					elementName = override.toLowerCase();
+				// Or an object.
+				else
+				{
+					elementName = override.element ? override.element.toLowerCase() : style.element;
+					attrs = override.attributes;
+				}
+
+				// We can have more than one override definition for the same
+				// element name, so we attempt to simply append information to
+				// it if it already exists.
+				overrideEl = overrides[ elementName ] || ( overrides[ elementName ] = {} );
+
+				if ( attrs )
+				{
+					// The returning attributes list is an array, because we
+					// could have different override definitions for the same
+					// attribute name.
+					var overrideAttrs = ( overrideEl.attributes = overrideEl.attributes || new Array() );
+					for ( var attName in attrs )
+					{
+						// Each item in the attributes array is also an array,
+						// where [0] is the attribute name and [1] is the
+						// override value.
+						overrideAttrs.push( [ attName.toLowerCase(), attrs[ attName ] ] );
+					}
+				}
+			}
+		}
+
+		return overrides;
+	}
+
+	function normalizeCssText( unparsedCssText, nativeNormalize )
+	{
+		var styleText;
+		if ( nativeNormalize !== false )
+		{
+			// Injects the style in a temporary span object, so the browser parses it,
+			// retrieving its final format.
+			var temp = new CKEDITOR.dom.element( 'span' );
+			temp.setAttribute( 'style', unparsedCssText );
+			styleText = temp.getAttribute( 'style' );
+		}
+		else
+			styleText = unparsedCssText;
+
+		// Shrinking white-spaces around colon and semi-colon (#4147).
+		// Compensate tail semi-colon.
+		return styleText.replace( /\s*([;:])\s*/, '$1' )
+							 .replace( /([^\s;])$/, '$1;')
+							 .replace( /,\s+/g, ',' ) // Trimming spaces after comma (e.g. font-family name)(#4107).
+							 .toLowerCase();
+	}
+
+	function applyStyle( document, remove )
+	{
+		// Get all ranges from the selection.
+		var selection = document.getSelection();
+		var ranges = selection.getRanges();
+		var func = remove ? this.removeFromRange : this.applyToRange;
+
+		// Apply the style to the ranges.
+		for ( var i = 0 ; i < ranges.length ; i++ )
+			func.call( this, ranges[ i ] );
+
+		// Select the ranges again.
+		selection.selectRanges( ranges );
+	}
+})();
+
+CKEDITOR.styleCommand = function( style )
+{
+	this.style = style;
+};
+
+CKEDITOR.styleCommand.prototype.exec = function( editor )
+{
+	editor.focus();
+
+	var doc = editor.document;
+
+	if ( doc )
+	{
+		if ( this.state == CKEDITOR.TRISTATE_OFF )
+			this.style.apply( doc );
+		else if ( this.state == CKEDITOR.TRISTATE_ON )
+			this.style.remove( doc );
+	}
+
+	return !!doc;
+};
Index: CKEditor/branches/features/aria/_source/plugins/stylescombo/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/stylescombo/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/stylescombo/plugin.js	(revision 4888)
@@ -0,0 +1,298 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	CKEDITOR.plugins.add( 'stylescombo',
+	{
+		requires : [ 'richcombo', 'styles' ],
+
+		init : function( editor )
+		{
+			var config = editor.config,
+				lang = editor.lang.stylesCombo,
+				pluginPath = this.path,
+				styles;
+
+			editor.ui.addRichCombo( 'Styles',
+				{
+					label : lang.label,
+					title : lang.panelTitle,
+					voiceLabel : lang.voiceLabel,
+					className : 'cke_styles',
+					multiSelect : true,
+
+					panel :
+					{
+						css : editor.skin.editor.css.concat( config.contentsCss ),
+						voiceLabel : lang.panelVoiceLabel
+					},
+
+					init : function()
+					{
+						var combo = this,
+							stylesSet = config.stylesCombo_stylesSet.split( ':' );
+
+						var stylesSetPath = stylesSet[ 1 ] ?
+								stylesSet.slice( 1 ).join( ':' ) :		// #4481
+								CKEDITOR.getUrl( pluginPath + 'styles/' + stylesSet[ 0 ] + '.js' ) ;
+
+						stylesSet = stylesSet[ 0 ];
+
+						CKEDITOR.loadStylesSet( stylesSet, stylesSetPath, function( stylesDefinitions )
+							{
+								var style,
+									styleName,
+									stylesList = [];
+
+								styles = {};
+
+								// Put all styles into an Array.
+								for ( var i = 0 ; i < stylesDefinitions.length ; i++ )
+								{
+									var styleDefinition = stylesDefinitions[ i ];
+
+									styleName = styleDefinition.name;
+
+									style = styles[ styleName ] = new CKEDITOR.style( styleDefinition );
+									style._name = styleName;
+
+									stylesList.push( style );
+								}
+
+								// Sorts the Array, so the styles get grouped
+								// by type.
+								stylesList.sort( sortStyles );
+
+								// Loop over the Array, adding all items to the
+								// combo.
+								var lastType;
+								for ( i = 0 ; i < stylesList.length ; i++ )
+								{
+									style = stylesList[ i ];
+									styleName = style._name;
+
+									var type = style.type;
+
+									if ( type != lastType )
+									{
+										combo.startGroup( lang[ 'panelTitle' + String( type ) ] );
+										lastType = type;
+									}
+
+									combo.add(
+										styleName,
+										style.type == CKEDITOR.STYLE_OBJECT ? styleName : buildPreview( style._.definition ),
+										styleName );
+								}
+
+								combo.commit();
+
+								combo.onOpen();
+							});
+					},
+
+					onClick : function( value )
+					{
+						editor.focus();
+						editor.fire( 'saveSnapshot' );
+
+						var style = styles[ value ],
+							selection = editor.getSelection();
+
+						if ( style.type == CKEDITOR.STYLE_OBJECT )
+						{
+							var element = selection.getSelectedElement();
+							if ( element )
+								style.applyToObject( element );
+
+							return;
+						}
+
+						var elementPath = new CKEDITOR.dom.elementPath( selection.getStartElement() );
+
+						if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) )
+							style.remove( editor.document );
+						else
+							style.apply( editor.document );
+
+						editor.fire( 'saveSnapshot' );
+					},
+
+					onRender : function()
+					{
+						editor.on( 'selectionChange', function( ev )
+							{
+								var currentValue = this.getValue();
+
+								var elementPath = ev.data.path,
+									elements = elementPath.elements;
+
+								// For each element into the elements path.
+								for ( var i = 0, element ; i < elements.length ; i++ )
+								{
+									element = elements[i];
+
+									// Check if the element is removable by any of
+									// the styles.
+									for ( var value in styles )
+									{
+										if ( styles[ value ].checkElementRemovable( element, true ) )
+										{
+											if ( value != currentValue )
+												this.setValue( value );
+											return;
+										}
+									}
+								}
+
+								// If no styles match, just empty it.
+								this.setValue( '' );
+							},
+							this);
+					},
+
+					onOpen : function()
+					{
+						if ( CKEDITOR.env.ie )
+							editor.focus();
+
+						var selection = editor.getSelection();
+
+						var element = selection.getSelectedElement(),
+							elementName = element && element.getName(),
+							elementPath = new CKEDITOR.dom.elementPath( element || selection.getStartElement() );
+
+						var counter = [ 0, 0, 0, 0 ];
+						this.showAll();
+						this.unmarkAll();
+						for ( var name in styles )
+						{
+							var style = styles[ name ],
+								type = style.type;
+
+							if ( type == CKEDITOR.STYLE_OBJECT )
+							{
+								if ( element && style.element == elementName )
+								{
+									if ( style.checkElementRemovable( element, true ) )
+										this.mark( name );
+
+									counter[ type ]++;
+								}
+								else
+									this.hideItem( name );
+							}
+							else
+							{
+								if ( style.checkActive( elementPath ) )
+									this.mark( name );
+
+								counter[ type ]++;
+							}
+						}
+
+						if ( !counter[ CKEDITOR.STYLE_BLOCK ] )
+							this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_BLOCK ) ] );
+
+						if ( !counter[ CKEDITOR.STYLE_INLINE ] )
+							this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_INLINE ) ] );
+
+						if ( !counter[ CKEDITOR.STYLE_OBJECT ] )
+							this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );
+					}
+				});
+		}
+	});
+
+	var stylesSets = {};
+
+	CKEDITOR.addStylesSet = function( name, styles )
+	{
+		stylesSets[ name ] = styles;
+	};
+
+	CKEDITOR.loadStylesSet = function( name, url, callback )
+	{
+		var stylesSet = stylesSets[ name ];
+
+		if ( stylesSet )
+		{
+			callback( stylesSet );
+			return ;
+		}
+
+		CKEDITOR.scriptLoader.load( url, function()
+			{
+				callback( stylesSets[ name ] );
+			});
+	};
+
+	function buildPreview( styleDefinition )
+	{
+		var html = [];
+
+		var elementName = styleDefinition.element;
+
+		// Avoid <bdo> in the preview.
+		if ( elementName == 'bdo' )
+			elementName = 'span';
+
+		html = [ '<', elementName ];
+
+		// Assign all defined attributes.
+		var attribs	= styleDefinition.attributes;
+		if ( attribs )
+		{
+			for ( var att in attribs )
+			{
+				html.push( ' ', att, '="', attribs[ att ], '"' );
+			}
+		}
+
+		// Assign the style attribute.
+		var cssStyle = CKEDITOR.style.getStyleText( styleDefinition );
+		if ( cssStyle )
+			html.push( ' style="', cssStyle, '"' );
+
+		html.push( '>', styleDefinition.name, '</', elementName, '>' );
+
+		return html.join( '' );
+	}
+
+	function sortStyles( styleA, styleB )
+	{
+		var typeA = styleA.type,
+			typeB = styleB.type;
+
+		return typeA == typeB ? 0 :
+			typeA == CKEDITOR.STYLE_OBJECT ? -1 :
+			typeB == CKEDITOR.STYLE_OBJECT ? 1 :
+			typeB == CKEDITOR.STYLE_BLOCK ? 1 :
+			-1;
+	}
+})();
+
+/**
+ * The "styles definition set" to load into the styles combo. The styles may
+ * be defined in the page containing the editor, or can be loaded on demand
+ * from an external file when opening the styles combo for the fist time. In
+ * the second case, if this setting contains only a name, the styles definition
+ * file will be loaded from the "styles" folder inside the stylescombo plugin
+ * folder. Otherwise, this setting has the "name:url" syntax, making it
+ * possible to set the URL from which loading the styles file.
+ * @type string
+ * @default 'default'
+ * @example
+ * // Load from the stylescombo styles folder (mystyles.js file).
+ * config.stylesCombo_stylesSet = 'mystyles';
+ * @example
+ * // Load from a relative URL.
+ * config.stylesCombo_stylesSet = 'mystyles:/editorstyles/styles.js';
+ * @example
+ * // Load from a full URL.
+ * config.stylesCombo_stylesSet = 'mystyles:http://www.example.com/editorstyles/styles.js';
+ */
+CKEDITOR.config.stylesCombo_stylesSet = 'default';
Index: CKEditor/branches/features/aria/_source/plugins/stylescombo/styles/default.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/stylescombo/styles/default.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/stylescombo/styles/default.js	(revision 4888)
@@ -0,0 +1,85 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.addStylesSet( 'default',
+[
+	/* Block Styles */
+
+	// These styles are already available in the "Format" combo, so they are
+	// not needed here by default. You may enable them to avoid placing the
+	// "Format" combo in the toolbar, maintaining the same features.
+	/*
+	{ name : 'Paragraph'		, element : 'p' },
+	{ name : 'Heading 1'		, element : 'h1' },
+	{ name : 'Heading 2'		, element : 'h2' },
+	{ name : 'Heading 3'		, element : 'h3' },
+	{ name : 'Heading 4'		, element : 'h4' },
+	{ name : 'Heading 5'		, element : 'h5' },
+	{ name : 'Heading 6'		, element : 'h6' },
+	{ name : 'Preformatted Text', element : 'pre' },
+	{ name : 'Address'			, element : 'address' },
+	*/
+
+	{ name : 'Blue Title'		, element : 'h3', styles : { 'color' : 'Blue' } },
+	{ name : 'Red Title'		, element : 'h3', styles : { 'color' : 'Red' } },
+
+	/* Inline Styles */
+
+	// These are core styles available as toolbar buttons. You may opt enabling
+	// some of them in the Styles combo, removing them from the toolbar.
+	/*
+	{ name : 'Strong'			, element : 'strong', overrides : 'b' },
+	{ name : 'Emphasis'			, element : 'em'	, overrides : 'i' },
+	{ name : 'Underline'		, element : 'u' },
+	{ name : 'Strikethrough'	, element : 'strike' },
+	{ name : 'Subscript'		, element : 'sub' },
+	{ name : 'Superscript'		, element : 'sup' },
+	*/
+
+	{ name : 'Marker: Yellow'	, element : 'span', styles : { 'background-color' : 'Yellow' } },
+	{ name : 'Marker: Green'	, element : 'span', styles : { 'background-color' : 'Lime' } },
+
+	{ name : 'Big'				, element : 'big' },
+	{ name : 'Small'			, element : 'small' },
+	{ name : 'Typewriter'		, element : 'tt' },
+
+	{ name : 'Computer Code'	, element : 'code' },
+	{ name : 'Keyboard Phrase'	, element : 'kbd' },
+	{ name : 'Sample Text'		, element : 'samp' },
+	{ name : 'Variable'			, element : 'var' },
+
+	{ name : 'Deleted Text'		, element : 'del' },
+	{ name : 'Inserted Text'	, element : 'ins' },
+
+	{ name : 'Cited Work'		, element : 'cite' },
+	{ name : 'Inline Quotation'	, element : 'q' },
+
+	{ name : 'Language: RTL'	, element : 'span', attributes : { 'dir' : 'rtl' } },
+	{ name : 'Language: LTR'	, element : 'span', attributes : { 'dir' : 'ltr' } },
+
+	/* Object Styles */
+
+	{
+		name : 'Image on Left',
+		element : 'img',
+		attributes :
+		{
+			'style' : 'padding: 5px; margin-right: 5px',
+			'border' : '2',
+			'align' : 'left'
+		}
+	},
+
+	{
+		name : 'Image on Right',
+		element : 'img',
+		attributes :
+		{
+			'style' : 'padding: 5px; margin-left: 5px',
+			'border' : '2',
+			'align' : 'right'
+		}
+	}
+]);
Index: CKEditor/branches/features/aria/_source/plugins/tab/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/tab/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/tab/plugin.js	(revision 4888)
@@ -0,0 +1,266 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var blurCommand =
+		{
+			exec : function( editor )
+			{
+				editor.container.focusNext( true );
+			}
+		};
+
+	var blurBackCommand =
+		{
+			exec : function( editor )
+			{
+				editor.container.focusPrevious( true );
+			}
+		};
+
+	CKEDITOR.plugins.add( 'tab',
+	{
+		requires : [ 'keystrokes' ],
+
+		init : function( editor )
+		{
+			// Register the keystrokes.
+			var keystrokes = editor.keystrokeHandler.keystrokes;
+			keystrokes[ 9 /* TAB */ ] = 'tab';
+			keystrokes[ CKEDITOR.SHIFT + 9 /* TAB */ ] = 'shiftTab';
+
+			var tabSpaces = editor.config.tabSpaces,
+				tabText = '';
+
+			while ( tabSpaces-- )
+				tabText += '\xa0';
+
+			// Register the "tab" and "shiftTab" commands.
+			editor.addCommand( 'tab',
+				{
+					exec : function( editor )
+					{
+						// Fire the "tab" event, making it possible to
+						// customize the TAB key behavior on specific cases.
+						if ( !editor.fire( 'tab' ) )
+						{
+							if ( tabText.length > 0 )
+								editor.insertHtml( tabText );
+							else
+							{
+								// All browsers jump to the next field on TAB,
+								// except Safari, so we have to do that manually
+								// here.
+								/// https://bugs.webkit.org/show_bug.cgi?id=20597
+								return editor.execCommand( 'blur' );
+							}
+						}
+
+						return true;
+					}
+				});
+
+			editor.addCommand( 'shiftTab',
+				{
+					exec : function( editor )
+					{
+						// Fire the "tab" event, making it possible to
+						// customize the TAB key behavior on specific cases.
+						if ( !editor.fire( 'shiftTab' ) )
+							return editor.execCommand( 'blurBack' );
+
+						return true;
+					}
+				});
+
+			editor.addCommand( 'blur', blurCommand );
+			editor.addCommand( 'blurBack', blurBackCommand );
+		}
+	});
+})();
+
+/**
+ * Moves the UI focus to the element following this element in the tabindex
+ * order.
+ * @example
+ * var element = CKEDITOR.document.getById( 'example' );
+ * element.focusNext();
+ */
+CKEDITOR.dom.element.prototype.focusNext = function( ignoreChildren )
+{
+	var $ = this.$,
+		curTabIndex = this.getTabIndex(),
+		passedCurrent, enteredCurrent,
+		elected, electedTabIndex,
+		element, elementTabIndex;
+
+	if ( curTabIndex <= 0 )
+	{
+		// If this element has tabindex <= 0 then we must simply look for any
+		// element following it containing tabindex=0.
+
+		element = this.getNextSourceNode( ignoreChildren, CKEDITOR.NODE_ELEMENT );
+
+		while( element )
+		{
+			if ( element.isVisible() && element.getTabIndex() === 0 )
+			{
+				elected = element;
+				break;
+			}
+
+			element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
+		}
+	}
+	else
+	{
+		// If this element has tabindex > 0 then we must look for:
+		//		1. An element following this element with the same tabindex.
+		//		2. The first element in source other with the lowest tabindex
+		//		   that is higher than this element tabindex.
+		//		3. The first element with tabindex=0.
+
+		element = this.getDocument().getBody().getFirst();
+
+		while( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+		{
+			if ( !passedCurrent )
+			{
+				if ( !enteredCurrent && element.equals( this ) )
+				{
+					enteredCurrent = true;
+
+					// Ignore this element, if required.
+					if ( ignoreChildren )
+					{
+						if ( !( element = element.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
+							break;
+						passedCurrent = 1;
+					}
+				}
+				else if ( enteredCurrent && !this.contains( element ) )
+					passedCurrent = 1;
+			}
+
+			if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
+				continue;
+
+			if ( passedCurrent && elementTabIndex == curTabIndex )
+			{
+				elected = element;
+				break;
+			}
+
+			if ( elementTabIndex > curTabIndex && ( !elected || !electedTabIndex || elementTabIndex < electedTabIndex ) )
+			{
+				elected = element;
+				electedTabIndex = elementTabIndex;
+			}
+			else if ( !elected && elementTabIndex === 0 )
+			{
+				elected = element;
+				electedTabIndex = elementTabIndex;
+			}
+		}
+	}
+
+	if ( elected )
+		elected.focus();
+};
+
+/**
+ * Moves the UI focus to the element before this element in the tabindex order.
+ * @example
+ * var element = CKEDITOR.document.getById( 'example' );
+ * element.focusPrevious();
+ */
+CKEDITOR.dom.element.prototype.focusPrevious = function( ignoreChildren )
+{
+	var $ = this.$,
+		curTabIndex = this.getTabIndex(),
+		passedCurrent, enteredCurrent,
+		elected,
+		electedTabIndex = 0,
+		elementTabIndex;
+
+	var element = this.getDocument().getBody().getLast();
+
+	while( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+	{
+		if ( !passedCurrent )
+		{
+			if ( !enteredCurrent && element.equals( this ) )
+			{
+				enteredCurrent = true;
+
+				// Ignore this element, if required.
+				if ( ignoreChildren )
+				{
+					if ( !( element = element.getPreviousSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
+						break;
+					passedCurrent = 1;
+				}
+			}
+			else if ( enteredCurrent && !this.contains( element ) )
+				passedCurrent = 1;
+		}
+
+		if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
+			continue;
+
+		if ( curTabIndex <= 0 )
+		{
+			// If this element has tabindex <= 0 then we must look for:
+			//		1. An element before this one containing tabindex=0.
+			//		2. The last element with the highest tabindex.
+
+			if ( passedCurrent && elementTabIndex === 0 )
+			{
+				elected = element;
+				break;
+			}
+
+			if ( elementTabIndex > electedTabIndex )
+			{
+				elected = element;
+				electedTabIndex = elementTabIndex;
+			}
+		}
+		else
+		{
+			// If this element has tabindex > 0 we must look for:
+			//		1. An element preceeding this one, with the same tabindex.
+			//		2. The last element in source other with the highest tabindex
+			//		   that is lower than this element tabindex.
+
+			if ( passedCurrent && elementTabIndex == curTabIndex )
+			{
+				elected = element;
+				break;
+			}
+
+			if ( elementTabIndex < curTabIndex && ( !elected || elementTabIndex > electedTabIndex ) )
+			{
+				elected = element;
+				electedTabIndex = elementTabIndex;
+			}
+		}
+	}
+
+	if ( elected )
+		elected.focus();
+};
+
+/**
+ * Intructs the editor to add a number of spaces (&amp;nbsp;) to the text when
+ * hitting the TAB key. If set to zero, the TAB key will be used to move the
+ * cursor focus to the next element in the page, out of the editor focus.
+ * @type Number
+ * @default 0
+ * @example
+ * config.tabSpaces = 4;
+ */
+CKEDITOR.config.tabSpaces = 0 ;
Index: CKEditor/branches/features/aria/_source/plugins/table/dialogs/table.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/table/dialogs/table.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/table/dialogs/table.js	(revision 4888)
@@ -0,0 +1,561 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/,
+		heightPattern = /^(\d+(?:\.\d+)?)px$/;
+
+	var commitValue = function( data )
+	{
+		var id = this.id;
+		if ( !data.info )
+			data.info = {};
+		data.info[id] = this.getValue();
+	};
+
+	function tableDialog( editor, command )
+	{
+		var makeElement = function( name ){ return new CKEDITOR.dom.element( name, editor.document ); };
+
+		return {
+			title : editor.lang.table.title,
+			minWidth : 310,
+			minHeight : CKEDITOR.env.ie ? 310 : 280,
+			onShow : function()
+			{
+				// Detect if there's a selected table.
+				var selection = editor.getSelection(),
+					ranges = selection.getRanges(),
+					selectedTable = null;
+
+				var rowsInput = this.getContentElement( 'info', 'txtRows' ),
+					colsInput = this.getContentElement( 'info', 'txtCols' ),
+					widthInput = this.getContentElement( 'info', 'txtWidth' );
+				if ( command == 'tableProperties' )
+				{
+					if ( ( selectedTable = editor.getSelection().getSelectedElement() ) )
+					{
+						if ( selectedTable.getName() != 'table' )
+							selectedTable = null;
+					}
+					else if ( ranges.length > 0 )
+					{
+						var rangeRoot = ranges[0].getCommonAncestor( true );
+						selectedTable = rangeRoot.getAscendant( 'table', true );
+					}
+
+					// Save a reference to the selected table, and push a new set of default values.
+					this._.selectedElement = selectedTable;
+				}
+
+				// Enable, disable and select the row, cols, width fields.
+				if ( selectedTable )
+				{
+					this.setupContent( selectedTable );
+					rowsInput && rowsInput.disable();
+					colsInput && colsInput.disable();
+					widthInput && widthInput.select();
+				}
+				else
+				{
+					rowsInput && rowsInput.enable();
+					colsInput && colsInput.enable();
+					rowsInput && rowsInput.select();
+				}
+			},
+			onOk : function()
+			{
+				if ( this._.selectedElement )
+				{
+					var selection = editor.getSelection(),
+						bms = editor.getSelection().createBookmarks();
+				}
+
+				var table = this._.selectedElement || makeElement( 'table' ),
+					me = this,
+					data = {};
+
+				this.commitContent( data, table );
+
+				if ( data.info )
+				{
+					var info = data.info;
+
+					// Generate the rows and cols.
+					if ( !this._.selectedElement )
+					{
+						var tbody = table.append( makeElement( 'tbody' ) ),
+							rows = parseInt( info.txtRows, 10 ) || 0,
+							cols = parseInt( info.txtCols, 10 ) || 0;
+
+						for ( var i = 0 ; i < rows ; i++ )
+						{
+							var row = tbody.append( makeElement( 'tr' ) );
+							for ( var j = 0 ; j < cols ; j++ )
+							{
+								var cell = row.append( makeElement( 'td' ) );
+								if ( !CKEDITOR.env.ie )
+									cell.append( makeElement( 'br' ) );
+							}
+						}
+					}
+
+					// Modify the table headers. Depends on having rows and cols generated
+					// correctly so it can't be done in commit functions.
+
+					// Should we make a <thead>?
+					var headers = info.selHeaders;
+					if ( !table.$.tHead && ( headers == 'row' || headers == 'both' ) )
+					{
+						var thead = new CKEDITOR.dom.element( table.$.createTHead() );
+						tbody = table.getElementsByTag( 'tbody' ).getItem( 0 );
+						var theRow = tbody.getElementsByTag( 'tr' ).getItem( 0 );
+
+						// Change TD to TH:
+						for ( i = 0 ; i < theRow.getChildCount() ; i++ )
+						{
+							var th = theRow.getChild( i );
+							if ( th.type == CKEDITOR.NODE_ELEMENT )
+							{
+								th.renameNode( 'th' );
+								th.setAttribute( 'scope', 'col' );
+							}
+						}
+						thead.append( theRow.remove() );
+					}
+
+					if ( table.$.tHead !== null && !( headers == 'row' || headers == 'both' ) )
+					{
+						// Move the row out of the THead and put it in the TBody:
+						thead = new CKEDITOR.dom.element( table.$.tHead );
+						tbody = table.getElementsByTag( 'tbody' ).getItem( 0 );
+
+						var previousFirstRow = tbody.getFirst();
+						while ( thead.getChildCount() > 0 )
+						{
+							theRow = thead.getFirst();
+							for ( i = 0; i < theRow.getChildCount() ; i++ )
+							{
+								var newCell = theRow.getChild( i );
+								if ( newCell.type == CKEDITOR.NODE_ELEMENT )
+								{
+									newCell.renameNode( 'td' );
+									newCell.removeAttribute( 'scope' );
+								}
+							}
+							theRow.insertBefore( previousFirstRow );
+						}
+						thead.remove();
+					}
+
+					// Should we make all first cells in a row TH?
+					if ( !this.hasColumnHeaders && ( headers == 'col' || headers == 'both' ) )
+					{
+						for( row = 0 ; row < table.$.rows.length ; row++ )
+						{
+							newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
+							newCell.renameNode( 'th' );
+							newCell.setAttribute( 'scope', 'row' );
+						}
+					}
+
+					// Should we make all first TH-cells in a row make TD? If 'yes' we do it the other way round :-)
+					if ( ( this.hasColumnHeaders ) && !( headers == 'col' || headers == 'both' ) )
+					{
+						for( i = 0 ; i < table.$.rows.length ; i++ )
+						{
+							row = new CKEDITOR.dom.element( table.$.rows[i] );
+							if ( row.getParent().getName() == 'tbody' )
+							{
+								newCell = new CKEDITOR.dom.element( row.$.cells[0] );
+								newCell.renameNode( 'td' );
+								newCell.removeAttribute( 'scope' );
+							}
+						}
+					}
+
+					// Set the width and height.
+					var styles = [];
+					if ( info.txtHeight )
+						table.setStyle( 'height', CKEDITOR.tools.cssLength( info.txtHeight ) );
+					else
+						table.removeStyle( 'height' );
+
+					if ( info.txtWidth )
+					{
+						var type = info.cmbWidthType || 'pixels';
+						table.setStyle( 'width', info.txtWidth + ( type == 'pixels' ? 'px' : '%' ) );
+					}
+					else
+						table.removeStyle( 'width' );
+
+					if( !table.getAttribute( 'style' ) )
+						table.removeAttribute( 'style' );
+				}
+
+				// Insert the table element if we're creating one.
+				if ( !this._.selectedElement )
+					editor.insertElement( table );
+				// Properly restore the selection inside table. (#4822)
+				else
+					selection.selectBookmarks( bms );
+
+				return true;
+			},
+			contents : [
+				{
+					id : 'info',
+					label : editor.lang.table.title,
+					elements :
+					[
+						{
+							type : 'hbox',
+							widths : [ null, null ],
+							styles : [ 'vertical-align:top' ],
+							children :
+							[
+								{
+									type : 'vbox',
+									padding : 0,
+									children :
+									[
+										{
+											type : 'text',
+											id : 'txtRows',
+											'default' : 3,
+											label : editor.lang.table.rows,
+											style : 'width:5em',
+											validate : function()
+											{
+												var pass = true,
+													value = this.getValue();
+												pass = pass && CKEDITOR.dialog.validate.integer()( value )
+													&& value > 0;
+												if ( !pass )
+												{
+													alert( editor.lang.table.invalidRows );
+													this.select();
+												}
+												return pass;
+											},
+											setup : function( selectedElement )
+											{
+												this.setValue( selectedElement.$.rows.length );
+											},
+											commit : commitValue
+										},
+										{
+											type : 'text',
+											id : 'txtCols',
+											'default' : 2,
+											label : editor.lang.table.columns,
+											style : 'width:5em',
+											validate : function()
+											{
+												var pass = true,
+													value = this.getValue();
+												pass = pass && CKEDITOR.dialog.validate.integer()( value )
+													&& value > 0;
+												if ( !pass )
+												{
+													alert( editor.lang.table.invalidCols );
+													this.select();
+												}
+												return pass;
+											},
+											setup : function( selectedTable )
+											{
+												this.setValue( selectedTable.$.rows[0].cells.length);
+											},
+											commit : commitValue
+										},
+										{
+											type : 'html',
+											html : '&nbsp;'
+										},
+										{
+											type : 'select',
+											id : 'selHeaders',
+											'default' : '',
+											label : editor.lang.table.headers,
+											items :
+											[
+												[ editor.lang.table.headersNone, '' ],
+												[ editor.lang.table.headersRow, 'row' ],
+												[ editor.lang.table.headersColumn, 'col' ],
+												[ editor.lang.table.headersBoth, 'both' ]
+											],
+											setup : function( selectedTable )
+											{
+												// Fill in the headers field.
+												var dialog = this.getDialog();
+												dialog.hasColumnHeaders = true;
+
+												// Check if all the first cells in every row are TH
+												for ( var row = 0 ; row < selectedTable.$.rows.length ; row++ )
+												{
+													// If just one cell isn't a TH then it isn't a header column
+													if ( selectedTable.$.rows[row].cells[0].nodeName.toLowerCase() != 'th' )
+													{
+														dialog.hasColumnHeaders = false;
+														break;
+													}
+												}
+
+												// Check if the table contains <thead>.
+												if ( ( selectedTable.$.tHead !== null) )
+													this.setValue( dialog.hasColumnHeaders ? 'both' : 'row' );
+												else
+													this.setValue( dialog.hasColumnHeaders ? 'col' : '' );
+											},
+											commit : commitValue
+										},
+										{
+											type : 'text',
+											id : 'txtBorder',
+											'default' : 1,
+											label : editor.lang.table.border,
+											style : 'width:3em',
+											validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidBorder ),
+											setup : function( selectedTable )
+											{
+												this.setValue( selectedTable.getAttribute( 'border' ) || '' );
+											},
+											commit : function( data, selectedTable )
+											{
+												if ( this.getValue() )
+													selectedTable.setAttribute( 'border', this.getValue() );
+												else
+													selectedTable.removeAttribute( 'border' );
+											}
+										},
+										{
+											id : 'cmbAlign',
+											type : 'select',
+											'default' : '',
+											label : editor.lang.table.align,
+											items :
+											[
+												[ editor.lang.table.alignNotSet , ''],
+												[ editor.lang.table.alignLeft , 'left'],
+												[ editor.lang.table.alignCenter , 'center'],
+												[ editor.lang.table.alignRight , 'right']
+											],
+											setup : function( selectedTable )
+											{
+												this.setValue( selectedTable.getAttribute( 'align' ) || '' );
+											},
+											commit : function( data, selectedTable )
+											{
+												if ( this.getValue() )
+													selectedTable.setAttribute( 'align', this.getValue() );
+												else
+													selectedTable.removeAttribute( 'align' );
+											}
+										}
+									]
+								},
+								{
+									type : 'vbox',
+									padding : 0,
+									children :
+									[
+										{
+											type : 'hbox',
+											widths : [ '5em' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'txtWidth',
+													style : 'width:5em',
+													label : editor.lang.table.width,
+													'default' : 200,
+													validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidWidth ),
+													setup : function( selectedTable )
+													{
+														var widthMatch = widthPattern.exec( selectedTable.$.style.width );
+														if ( widthMatch )
+															this.setValue( widthMatch[1] );
+													},
+													commit : commitValue
+												},
+												{
+													id : 'cmbWidthType',
+													type : 'select',
+													label : '&nbsp;',
+													'default' : 'pixels',
+													items :
+													[
+														[ editor.lang.table.widthPx , 'pixels'],
+														[ editor.lang.table.widthPc , 'percents']
+													],
+													setup : function( selectedTable )
+													{
+														var widthMatch = widthPattern.exec( selectedTable.$.style.width );
+														if ( widthMatch )
+															this.setValue( widthMatch[2] == 'px' ? 'pixels' : 'percents' );
+													},
+													commit : commitValue
+												}
+											]
+										},
+										{
+											type : 'hbox',
+											widths : [ '5em' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'txtHeight',
+													style : 'width:5em',
+													label : editor.lang.table.height,
+													'default' : '',
+													validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidHeight ),
+													setup : function( selectedTable )
+													{
+														var heightMatch = heightPattern.exec( selectedTable.$.style.height );
+														if ( heightMatch )
+															this.setValue( heightMatch[1] );
+													},
+													commit : commitValue
+												},
+												{
+													type : 'html',
+													html : '<br />' + editor.lang.table.widthPx
+												}
+											]
+										},
+										{
+											type : 'html',
+											html : '&nbsp;'
+										},
+										{
+											type : 'text',
+											id : 'txtCellSpace',
+											style : 'width:3em',
+											label : editor.lang.table.cellSpace,
+											'default' : 1,
+											validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellSpacing ),
+											setup : function( selectedTable )
+											{
+												this.setValue( selectedTable.getAttribute( 'cellSpacing' ) || '' );
+											},
+											commit : function( data, selectedTable )
+											{
+												if ( this.getValue() )
+													selectedTable.setAttribute( 'cellSpacing', this.getValue() );
+												else
+													selectedTable.removeAttribute( 'cellSpacing' );
+											}
+										},
+										{
+											type : 'text',
+											id : 'txtCellPad',
+											style : 'width:3em',
+											label : editor.lang.table.cellPad,
+											'default' : 1,
+											validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellPadding ),
+											setup : function( selectedTable )
+											{
+												this.setValue( selectedTable.getAttribute( 'cellPadding' ) || '' );
+											},
+											commit : function( data, selectedTable )
+											{
+												if ( this.getValue() )
+													selectedTable.setAttribute( 'cellPadding', this.getValue() );
+												else
+													selectedTable.removeAttribute( 'cellPadding' );
+											}
+										}
+									]
+								}
+							]
+						},
+						{
+							type : 'html',
+							align : 'right',
+							html : ''
+						},
+						{
+							type : 'vbox',
+							padding : 0,
+							children :
+							[
+								{
+									type : 'text',
+									id : 'txtCaption',
+									label : editor.lang.table.caption,
+									setup : function( selectedTable )
+									{
+										var nodeList = selectedTable.getElementsByTag( 'caption' );
+										if ( nodeList.count() > 0 )
+										{
+											var caption = nodeList.getItem( 0 );
+											caption = ( caption.getChild( 0 ) && caption.getChild( 0 ).getText() ) || '';
+											caption = CKEDITOR.tools.trim( caption );
+											this.setValue( caption );
+										}
+									},
+									commit : function( data, table )
+									{
+										var caption = this.getValue(),
+											captionElement = table.getElementsByTag( 'caption' );
+										if ( caption )
+										{
+											if ( captionElement.count() > 0 )
+											{
+												captionElement = captionElement.getItem( 0 );
+												captionElement.setHtml( '' );
+											}
+											else
+											{
+												captionElement = new CKEDITOR.dom.element( 'caption', editor.document );
+												if ( table.getChildCount() )
+													captionElement.insertBefore( table.getFirst() );
+												else
+													captionElement.appendTo( table );
+											}
+											captionElement.append( new CKEDITOR.dom.text( caption, editor.document ) );
+										}
+										else if ( captionElement.count() > 0 )
+										{
+											for ( var i = captionElement.count() - 1 ; i >= 0 ; i-- )
+												captionElement.getItem( i ).remove();
+										}
+									}
+								},
+								{
+									type : 'text',
+									id : 'txtSummary',
+									label : editor.lang.table.summary,
+									setup : function( selectedTable )
+									{
+										this.setValue( selectedTable.getAttribute( 'summary' ) || '' );
+									},
+									commit : function( data, selectedTable )
+									{
+										if ( this.getValue() )
+											selectedTable.setAttribute( 'summary', this.getValue() );
+									}
+								}
+							]
+						}
+					]
+				}
+			]
+		};
+	}
+
+	CKEDITOR.dialog.add( 'table', function( editor )
+		{
+			return tableDialog( editor, 'table' );
+		} );
+	CKEDITOR.dialog.add( 'tableProperties', function( editor )
+		{
+			return tableDialog( editor, 'tableProperties' );
+		} );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/table/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/table/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/table/plugin.js	(revision 4888)
@@ -0,0 +1,70 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'table',
+{
+	init : function( editor )
+	{
+		var table = CKEDITOR.plugins.table,
+			lang = editor.lang.table;
+
+		editor.addCommand( 'table', new CKEDITOR.dialogCommand( 'table' ) );
+		editor.addCommand( 'tableProperties', new CKEDITOR.dialogCommand( 'tableProperties' ) );
+
+		editor.ui.addButton( 'Table',
+			{
+				label : lang.toolbar,
+				command : 'table'
+			});
+
+		CKEDITOR.dialog.add( 'table', this.path + 'dialogs/table.js' );
+		CKEDITOR.dialog.add( 'tableProperties', this.path + 'dialogs/table.js' );
+
+		// If the "menu" plugin is loaded, register the menu items.
+		if ( editor.addMenuItems )
+		{
+			editor.addMenuItems(
+				{
+					table :
+					{
+						label : lang.menu,
+						command : 'tableProperties',
+						group : 'table',
+						order : 5
+					},
+
+					tabledelete :
+					{
+						label : lang.deleteTable,
+						command : 'tableDelete',
+						group : 'table',
+						order : 1
+					}
+				} );
+		}
+
+		// If the "contextmenu" plugin is loaded, register the listeners.
+		if ( editor.contextMenu )
+		{
+			editor.contextMenu.addListener( function( element, selection )
+				{
+					if ( !element )
+						return null;
+
+					var isTable	= element.is( 'table' ) || element.hasAscendant( 'table' );
+
+					if ( isTable )
+					{
+						return {
+							tabledelete : CKEDITOR.TRISTATE_OFF,
+							table : CKEDITOR.TRISTATE_OFF
+						};
+					}
+
+					return null;
+				} );
+		}
+	}
+} );
Index: CKEditor/branches/features/aria/_source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/tabletools/dialogs/tableCell.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/tabletools/dialogs/tableCell.js	(revision 4888)
@@ -0,0 +1,430 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'cellProperties', function( editor )
+	{
+		var langTable = editor.lang.table;
+		var langCell = langTable.cell;
+		var langCommon = editor.lang.common;
+		var validate = CKEDITOR.dialog.validate;
+		var widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/,
+			heightPattern = /^(\d+(?:\.\d+)?)px$/;
+		var bind = CKEDITOR.tools.bind;
+
+		function spacer()
+		{
+			return { type : 'html', html : '&nbsp;' };
+		}
+
+		/**
+		 *
+		 * @param dialogName
+		 * @param callback [ childDialog ]
+		 */
+		function getDialogValue( dialogName, callback )
+		{
+			var onOk = function()
+			{
+				releaseHandlers( this );
+				callback( this );
+			};
+			var onCancel = function()
+			{
+				releaseHandlers( this );
+			};
+			var bindToDialog = function( dialog )
+			{
+				dialog.on( 'ok', onOk );
+				dialog.on( 'cancel', onCancel );
+			};
+			var releaseHandlers = function( dialog )
+			{
+				dialog.removeListener( 'ok', onOk );
+				dialog.removeListener( 'cancel', onCancel );
+			};
+			editor.execCommand( dialogName );
+			if ( editor._.storedDialogs.colordialog )
+				bindToDialog( editor._.storedDialogs.colordialog );
+			else
+			{
+				CKEDITOR.on( 'dialogDefinition', function( e )
+				{
+					if ( e.data.name != dialogName )
+						return;
+
+					var definition = e.data.definition;
+
+					e.removeListener();
+					definition.onLoad = CKEDITOR.tools.override( definition.onLoad, function( orginal )
+					{
+						return function()
+						{
+							bindToDialog( this );
+							definition.onLoad = orginal;
+							if ( typeof orginal == 'function' )
+								orginal.call( this );
+						};
+					} );
+				});
+			}
+		}
+
+		return {
+			title : langCell.title,
+			minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 550 : 480,
+			minHeight : CKEDITOR.env.ie ? ( CKEDITOR.env.quirks ? 180 : 150 ) : 140,
+			contents : [
+				{
+					id : 'info',
+					label : langCell.title,
+					accessKey : 'I',
+					elements :
+					[
+						{
+							type : 'hbox',
+							widths : [ '40%', '5%', '40%' ],
+							children :
+							[
+								{
+									type : 'vbox',
+									padding : 0,
+									children :
+									[
+										{
+											type : 'hbox',
+											widths : [ '70%', '30%' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'width',
+													label : langTable.width,
+													widths : [ '71%', '29%' ],
+													labelLayout : 'horizontal',
+													validate : validate[ 'number' ]( langCell.invalidWidth ),
+													setup : function( selectedCell )
+													{
+														var widthMatch = widthPattern.exec( selectedCell.$.style.width );
+														if ( widthMatch )
+															this.setValue( widthMatch[1] );
+													},
+													commit : function( selectedCell )
+													{
+														var unit = this.getDialog().getValueOf( 'info', 'widthType' );
+														if ( this.getValue() !== '' )
+															selectedCell.$.style.width = this.getValue() + unit;
+														else
+															selectedCell.$.style.width = '';
+													},
+													'default' : ''
+												},
+												{
+													type : 'select',
+													id : 'widthType',
+													labelLayout : 'horizontal',
+													widths : [ '0%', '100%' ],
+													label : '',
+													'default' : 'px',
+													items :
+													[
+														[ langTable.widthPx, 'px' ],
+														[ langTable.widthPc, '%' ]
+													],
+													setup : function( selectedCell )
+													{
+														var widthMatch = widthPattern.exec( selectedCell.$.style.width );
+														if ( widthMatch )
+															this.setValue( widthMatch[2] );
+													}
+												}
+											]
+										},
+										{
+											type : 'hbox',
+											widths : [ '70%', '30%' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'height',
+													label : langTable.height,
+													'default' : '',
+													widths : [ '71%', '29%' ],
+													labelLayout : 'horizontal',
+													validate : validate[ 'number' ]( langCell.invalidHeight ),
+													setup : function( selectedCell )
+													{
+														var heightMatch = heightPattern.exec( selectedCell.$.style.height );
+														if ( heightMatch )
+															this.setValue( heightMatch[1] );
+													},
+													commit : function( selectedCell )
+													{
+														if ( this.getValue() !== '' )
+															selectedCell.$.style.height = this.getValue() + 'px';
+														else
+															selectedCell.$.style.height = '';
+													}
+												},
+												{
+													type : 'html',
+													html : langTable.widthPx
+												}
+											]
+										},
+										spacer(),
+										{
+											type : 'select',
+											id : 'wordWrap',
+											labelLayout : 'horizontal',
+											label : langCell.wordWrap,
+											widths : [ '50%', '50%' ],
+											'default' : 'yes',
+											items :
+											[
+												[ langCell.yes, 'yes' ],
+												[ langCell.no, 'no' ]
+											],
+											commit : function( selectedCell )
+											{
+												if ( this.getValue() == 'no' )
+													selectedCell.setAttribute( 'noWrap', 'nowrap' );
+												else
+													selectedCell.removeAttribute( 'noWrap' );
+											}
+										},
+										spacer(),
+										{
+											type : 'select',
+											id : 'hAlign',
+											labelLayout : 'horizontal',
+											label : langCell.hAlign,
+											widths : [ '50%', '50%' ],
+											'default' : '',
+											items :
+											[
+												[ langCommon.notSet, '' ],
+												[ langTable.alignLeft, 'left' ],
+												[ langTable.alignCenter, 'center' ],
+												[ langTable.alignRight, 'right' ]
+											],
+											setup : function( selectedCell )
+											{
+												this.setValue( selectedCell.getAttribute( 'align' ) || '' );
+											},
+											commit : function( selectedCell )
+											{
+												if ( this.getValue() )
+													selectedCell.setAttribute( 'align', this.getValue() );
+												else
+													selectedCell.removeAttribute( 'align' );
+											}
+										},
+										{
+											type : 'select',
+											id : 'vAlign',
+											labelLayout : 'horizontal',
+											label : langCell.vAlign,
+											widths : [ '50%', '50%' ],
+											'default' : '',
+											items :
+											[
+												[ langCommon.notSet, '' ],
+												[ langCell.alignTop, 'top' ],
+												[ langCell.alignMiddle, 'middle' ],
+												[ langCell.alignBottom, 'bottom' ],
+												[ langCell.alignBaseline, 'baseline' ]
+											],
+											setup : function( selectedCell )
+											{
+												this.setValue( selectedCell.getAttribute( 'vAlign' ) || '' );
+											},
+											commit : function( selectedCell )
+											{
+												if ( this.getValue() )
+													selectedCell.setAttribute( 'vAlign', this.getValue() );
+												else
+													selectedCell.removeAttribute( 'vAlign' );
+											}
+										}
+									]
+								},
+								spacer(),
+								{
+									type : 'vbox',
+									padding : 0,
+									children :
+									[
+										{
+											type : 'select',
+											id : 'cellType',
+											label : langCell.cellType,
+											labelLayout : 'horizontal',
+											widths : [ '50%', '50%' ],
+											'default' : 'td',
+											items :
+											[
+												[ langCell.data, 'td' ],
+												[ langCell.header, 'th' ]
+											],
+											setup : function( selectedCell )
+											{
+												this.setValue( selectedCell.getName() );
+											},
+											commit : function( selectedCell )
+											{
+												selectedCell.renameNode( this.getValue() );
+											}
+										},
+										spacer(),
+										{
+											type : 'text',
+											id : 'rowSpan',
+											label : langCell.rowSpan,
+											labelLayout : 'horizontal',
+											widths : [ '50%', '50%' ],
+											'default' : '',
+											validate : validate.integer( langCell.invalidRowSpan ),
+											setup : function( selectedCell )
+											{
+												this.setValue( selectedCell.getAttribute( 'rowSpan' ) || '' );
+											},
+											commit : function( selectedCell )
+											{
+												if ( this.getValue() )
+													selectedCell.setAttribute( 'rowSpan', this.getValue() );
+												else
+													selectedCell.removeAttribute( 'rowSpan' );
+											}
+										},
+										{
+											type : 'text',
+											id : 'colSpan',
+											label : langCell.colSpan,
+											labelLayout : 'horizontal',
+											widths : [ '50%', '50%' ],
+											'default' : '',
+											validate : validate.integer( langCell.invalidColSpan ),
+											setup : function( selectedCell )
+											{
+												this.setValue( selectedCell.getAttribute( 'colSpan' ) || '' );
+											},
+											commit : function( selectedCell )
+											{
+												if ( this.getValue() )
+													selectedCell.setAttribute( 'colSpan', this.getValue() );
+												else
+													selectedCell.removeAttribute( 'colSpan' );
+											}
+										},
+										spacer(),
+										{
+											type : 'hbox',
+											padding : 0,
+											widths : [ '80%', '20%' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'bgColor',
+													label : langCell.bgColor,
+													labelLayout : 'horizontal',
+													widths : [ '70%', '30%' ],
+													'default' : '',
+													setup : function( selectedCell )
+													{
+														this.setValue( selectedCell.getAttribute( 'bgColor' ) || '' );
+													},
+													commit : function( selectedCell )
+													{
+														if ( this.getValue() )
+															selectedCell.setAttribute( 'bgColor', this.getValue() );
+														else
+															selectedCell.removeAttribute( 'bgColor' );
+													}
+												},
+												{
+													type : 'button',
+													id : 'bgColorChoose',
+													label : langCell.chooseColor,
+													style : 'margin-left: 10px',
+													onClick : function()
+													{
+														var self = this;
+														getDialogValue( 'colordialog', function( colorDialog )
+														{
+															self.getDialog().getContentElement( 'info', 'bgColor' ).setValue(
+																colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue()
+															);
+														} );
+													}
+												}
+											]
+										},
+										spacer(),
+										{
+											type : 'hbox',
+											padding : 0,
+											widths : [ '80%', '20%' ],
+											children :
+											[
+												{
+													type : 'text',
+													id : 'borderColor',
+													label : langCell.borderColor,
+													labelLayout : 'horizontal',
+													widths : [ '70%', '30%' ],
+													'default' : '',
+													setup : function( selectedCell )
+													{
+														this.setValue( selectedCell.getStyle( 'border-color' ) || '' );
+													},
+													commit : function( selectedCell )
+													{
+														if ( this.getValue() )
+															selectedCell.setStyle( 'border-color', this.getValue() );
+														else
+															selectedCell.removeStyle( 'border-color' );
+													}
+												},
+												{
+													type : 'button',
+													id : 'borderColorChoose',
+													label : langCell.chooseColor,
+													style : 'margin-left: 10px',
+													onClick : function()
+													{
+														var self = this;
+														getDialogValue( 'colordialog', function( colorDialog )
+														{
+															self.getDialog().getContentElement( 'info', 'borderColor' ).setValue(
+																colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue()
+															);
+														} );
+													}
+												}
+											]
+										}
+									]
+								}
+							]
+						}
+					]
+				}
+			],
+			onShow : function()
+			{
+				this.cells = CKEDITOR.plugins.tabletools.getSelectedCells(
+					this._.editor.getSelection() );
+				this.setupContent( this.cells[ 0 ] );
+			},
+			onOk : function()
+			{
+				var cells = this.cells;
+				for ( var i = 0 ; i < cells.length ; i++ )
+					this.commitContent( cells[ i ] );
+			}
+		};
+	} );
Index: CKEditor/branches/features/aria/_source/plugins/tabletools/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/tabletools/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/tabletools/plugin.js	(revision 4888)
@@ -0,0 +1,997 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	function removeRawAttribute( $node, attr )
+	{
+		if ( CKEDITOR.env.ie )
+			$node.removeAttribute( attr );
+		else
+			delete $node[ attr ];
+	}
+
+	var cellNodeRegex = /^(?:td|th)$/;
+
+	function getSelectedCells( selection )
+	{
+		// Walker will try to split text nodes, which will make the current selection
+		// invalid. So save bookmarks before doing anything.
+		var bookmarks = selection.createBookmarks();
+
+		var ranges = selection.getRanges();
+		var retval = [];
+		var database = {};
+
+		function moveOutOfCellGuard( node )
+		{
+			// Apply to the first cell only.
+			if ( retval.length > 0 )
+				return;
+
+			// If we are exiting from the first </td>, then the td should definitely be
+			// included.
+			if ( node.type == CKEDITOR.NODE_ELEMENT && cellNodeRegex.test( node.getName() )
+					&& !node.getCustomData( 'selected_cell' ) )
+			{
+				CKEDITOR.dom.element.setMarker( database, node, 'selected_cell', true );
+				retval.push( node );
+			}
+		}
+
+		for ( var i = 0 ; i < ranges.length ; i++ )
+		{
+			var range = ranges[ i ];
+
+			if ( range.collapsed )
+			{
+				// Walker does not handle collapsed ranges yet - fall back to old API.
+				var startNode = range.getCommonAncestor();
+				var nearestCell = startNode.getAscendant( 'td', true ) || startNode.getAscendant( 'th', true );
+				if ( nearestCell )
+					retval.push( nearestCell );
+			}
+			else
+			{
+				var walker = new CKEDITOR.dom.walker( range );
+				var node;
+				walker.guard = moveOutOfCellGuard;
+
+				while ( ( node = walker.next() ) )
+				{
+					// If may be possible for us to have a range like this:
+					// <td>^1</td><td>^2</td>
+					// The 2nd td shouldn't be included.
+					//
+					// So we have to take care to include a td we've entered only when we've
+					// walked into its children.
+
+					var parent = node.getParent();
+					if ( parent && cellNodeRegex.test( parent.getName() ) && !parent.getCustomData( 'selected_cell' ) )
+					{
+						CKEDITOR.dom.element.setMarker( database, parent, 'selected_cell', true );
+						retval.push( parent );
+					}
+				}
+			}
+		}
+
+		CKEDITOR.dom.element.clearAllMarkers( database );
+
+		// Restore selection position.
+		selection.selectBookmarks( bookmarks );
+
+		return retval;
+	}
+
+	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( true );
+
+		// Insert the new row before of it.
+		newRow.insertBefore( row );
+
+		// Clean one of the rows to produce the illusion of inserting an empty row
+		// before or after.
+		clearRow( insertBefore ? newRow.$ : row.$ );
+	}
+
+	function deleteRows( selectionOrRow )
+	{
+		if ( selectionOrRow instanceof CKEDITOR.dom.selection )
+		{
+			var cells = getSelectedCells( selectionOrRow );
+			var rowsToDelete = [];
+
+			// Queue up the rows - it's possible and likely that we have duplicates.
+			for ( var i = 0 ; i < cells.length ; i++ )
+			{
+				var row = cells[ i ].getParent();
+				rowsToDelete[ row.$.rowIndex ] = row;
+			}
+
+			for ( i = rowsToDelete.length ; i >= 0 ; i-- )
+			{
+				if ( rowsToDelete[ i ] )
+					deleteRows( rowsToDelete[ i ] );
+			}
+		}
+		else if ( selectionOrRow instanceof CKEDITOR.dom.element )
+		{
+			var table = selectionOrRow.getAscendant( 'table' );
+
+			if ( table.$.rows.length == 1 )
+				table.remove();
+			else
+				selectionOrRow.remove();
+		}
+	}
+
+	function insertColumn( selection, insertBefore )
+	{
+		// Get the cell where the selection is placed in.
+		var startElement = selection.getStartElement();
+		var cell = startElement.getAscendant( 'td', true ) || startElement.getAscendant( 'th', true );
+
+		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 ].cloneNode( false ) );
+
+			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 );
+			else
+				cell.insertAfter( baseCell );
+		}
+	}
+
+	function deleteColumns( selectionOrCell )
+	{
+		if ( selectionOrCell instanceof CKEDITOR.dom.selection )
+		{
+			var colsToDelete = getSelectedCells( selectionOrCell );
+			for ( var i = colsToDelete.length ; i >= 0 ; i-- )
+			{
+				if ( colsToDelete[ i ] )
+					deleteColumns( colsToDelete[ i ] );
+			}
+		}
+		else if ( selectionOrCell instanceof CKEDITOR.dom.element )
+		{
+			// Get the cell's table.
+			var table = selectionOrCell.getAscendant( 'table' );
+
+			// 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 ] );
+			}
+		}
+	}
+
+	function insertCell( selection, insertBefore )
+	{
+		var startElement = selection.getStartElement();
+		var cell = startElement.getAscendant( 'td', true ) || startElement.getAscendant( 'th', true );
+
+		if ( !cell )
+			return;
+
+		// Create the new cell element to be added.
+		var newCell = cell.clone();
+		if ( !CKEDITOR.env.ie )
+			newCell.appendBogus();
+
+		if ( insertBefore )
+			newCell.insertBefore( cell );
+		else
+			newCell.insertAfter( cell );
+	}
+
+	function deleteCells( selectionOrCell )
+	{
+		if ( selectionOrCell instanceof CKEDITOR.dom.selection )
+		{
+			var cellsToDelete = getSelectedCells( selectionOrCell );
+			for ( var i = cellsToDelete.length - 1 ; i >= 0 ; i-- )
+				deleteCells( cellsToDelete[ i ] );
+		}
+		else if ( selectionOrCell instanceof CKEDITOR.dom.element )
+		{
+			if ( selectionOrCell.getParent().getChildCount() == 1 )
+				selectionOrCell.getParent().remove();
+			else
+				selectionOrCell.remove();
+		}
+	}
+
+	// Remove filler at end and empty spaces around the cell content.
+	function trimCell( cell )
+	{
+		var bogus = cell.getBogus();
+		bogus && bogus.remove();
+		cell.trim();
+	}
+
+	function placeCursorInCell( cell, placeAtEnd )
+	{
+		var range = new CKEDITOR.dom.range( cell.getDocument() );
+		if ( !range[ 'moveToElementEdit' + ( placeAtEnd ? 'End' : 'Start' ) ]( cell ) )
+		{
+			range.selectNodeContents( cell );
+			range.collapse( placeAtEnd ? false : true );
+		}
+		range.select( true );
+	}
+
+	function buildTableMap( table )
+	{
+
+		var aRows = table.$.rows ;
+
+		// Row and Column counters.
+		var r = -1 ;
+
+		var aMap = [];
+
+		for ( var i = 0 ; i < aRows.length ; i++ )
+		{
+			r++ ;
+			!aMap[r] && ( aMap[r] = [] );
+
+			var c = -1 ;
+
+			for ( var j = 0 ; j < aRows[i].cells.length ; j++ )
+			{
+				var oCell = aRows[i].cells[j] ;
+
+				c++ ;
+				while ( aMap[r][c] )
+					c++ ;
+
+				var iColSpan = isNaN( oCell.colSpan ) ? 1 : oCell.colSpan ;
+				var iRowSpan = isNaN( oCell.rowSpan ) ? 1 : oCell.rowSpan ;
+
+				for ( var rs = 0 ; rs < iRowSpan ; rs++ )
+				{
+					if ( !aMap[r + rs] )
+						aMap[r + rs] = new Array() ;
+
+					for ( var cs = 0 ; cs < iColSpan ; cs++ )
+					{
+						aMap[r + rs][c + cs] = aRows[i].cells[j] ;
+					}
+				}
+
+				c += iColSpan - 1 ;
+			}
+		}
+		return aMap ;
+	}
+
+	function cellInRow( tableMap, rowIndex, cell )
+	{
+		var oRow = tableMap[ rowIndex ];
+		if( typeof cell == 'undefined' )
+			return oRow;
+
+		for ( var c = 0 ; oRow && c < oRow.length ; c++ )
+		{
+			if ( cell.is && oRow[c] == cell.$ )
+				return c;
+			else if( c == cell )
+				return new CKEDITOR.dom.element( oRow[ c ] );
+		}
+		return cell.is ? -1 : null;
+	}
+
+	function cellInCol( tableMap, colIndex, cell )
+	{
+		var oCol = [];
+		for ( var r = 0; r < tableMap.length; r++ )
+		{
+			var row = tableMap[ r ];
+			if( typeof cell == 'undefined' )
+				oCol.push( row[ colIndex ] );
+			else if( cell.is && row[ colIndex ] == cell.$ )
+				return r;
+			else if( r == cell )
+				return new CKEDITOR.dom.element( row[ colIndex ] );
+		}
+
+		return ( typeof cell == 'undefined' )? oCol : cell.is ? -1 :  null;
+	}
+
+	function mergeCells( selection, mergeDirection, isDetect )
+	{
+		var cells = getSelectedCells( selection );
+
+		// Invalid merge request if:
+		// 1. In batch mode despite that less than two selected.
+		// 2. In solo mode while not exactly only one selected.
+		// 3. Cells distributed in different table groups (e.g. from both thead and tbody).
+		var commonAncestor;
+		if ( ( mergeDirection ? cells.length != 1 : cells.length < 2 )
+				|| ( commonAncestor = selection.getCommonAncestor() )
+				&& commonAncestor.type == CKEDITOR.NODE_ELEMENT
+				&& commonAncestor.is( 'table' ) )
+		{
+			return false;
+		}
+
+		var	cell,
+			firstCell = cells[ 0 ],
+			table = firstCell.getAscendant( 'table' ),
+			map = buildTableMap( table ),
+			mapHeight = map.length,
+			mapWidth = map[ 0 ].length,
+			startRow = firstCell.getParent().$.rowIndex,
+			startColumn = cellInRow( map, startRow, firstCell );
+
+		if( mergeDirection )
+		{
+			var targetCell;
+			try
+			{
+				targetCell =
+					map[ mergeDirection == 'up' ?
+							( startRow - 1 ):
+							mergeDirection == 'down' ? ( startRow + 1 ) : startRow  ] [
+						 mergeDirection == 'left' ?
+							( startColumn - 1 ):
+						 mergeDirection == 'right' ?  ( startColumn + 1 ) : startColumn ];
+
+			}
+			catch( er )
+			{
+				return false;
+			}
+
+			// 1. No cell could be merged.
+			// 2. Same cell actually.
+			if( !targetCell || firstCell.$ == targetCell  )
+				return false;
+
+			// Sort in map order regardless of the DOM sequence.
+			cells[ ( mergeDirection == 'up' || mergeDirection == 'left' ) ?
+			         'unshift' : 'push' ]( new CKEDITOR.dom.element( targetCell ) );
+		}
+
+		// Start from here are merging way ignorance (merge up/right, batch merge).
+		var	doc = firstCell.getDocument(),
+			lastRowIndex = startRow,
+			totalRowSpan = 0,
+			totalColSpan = 0,
+			// Use a documentFragment as buffer when appending cell contents.
+			frag = !isDetect && new CKEDITOR.dom.documentFragment( doc ),
+			dimension = 0;
+
+		for ( var i = 0; i < cells.length; i++ )
+		{
+			cell = cells[ i ];
+
+			var tr = cell.getParent(),
+				cellFirstChild = cell.getFirst(),
+				colSpan = cell.$.colSpan,
+				rowSpan = cell.$.rowSpan,
+				rowIndex = tr.$.rowIndex,
+				colIndex = cellInRow( map, rowIndex, cell );
+
+			// Accumulated the actual places taken by all selected cells.
+			dimension += colSpan * rowSpan;
+			// Accumulated the maximum virtual spans from column and row.
+			totalColSpan = Math.max( totalColSpan, colIndex - startColumn + colSpan ) ;
+			totalRowSpan = Math.max( totalRowSpan, rowIndex - startRow + rowSpan );
+
+			if ( !isDetect )
+			{
+				// Trim all cell fillers and check to remove empty cells.
+				if( trimCell( cell ), cell.getChildren().count() )
+				{
+					// Merge vertically cells as two separated paragraphs.
+					if( rowIndex != lastRowIndex
+						&& cellFirstChild
+						&& !( cellFirstChild.isBlockBoundary
+							  && cellFirstChild.isBlockBoundary( { br : 1 } ) ) )
+					{
+						var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
+						if( last && !( last.is && last.is( 'br' ) ) )
+							frag.append( new CKEDITOR.dom.element( 'br' ) );
+					}
+
+					cell.moveChildren( frag );
+				}
+				i ? cell.remove() : cell.setHtml( '' );
+			}
+			lastRowIndex = rowIndex;
+		}
+
+		if ( !isDetect )
+		{
+			frag.moveChildren( firstCell );
+
+			if( !CKEDITOR.env.ie )
+				firstCell.appendBogus();
+
+			if( totalColSpan >= mapWidth )
+				firstCell.removeAttribute( 'rowSpan' );
+			else
+				firstCell.$.rowSpan = totalRowSpan;
+
+			if( totalRowSpan >= mapHeight )
+				firstCell.removeAttribute( 'colSpan' );
+			else
+				firstCell.$.colSpan = totalColSpan;
+
+			// Swip empty <tr> left at the end of table due to the merging.
+			var trs = new CKEDITOR.dom.nodeList( table.$.rows ),
+				count = trs.count();
+
+			for ( i = count - 1; i >= 0; i-- )
+			{
+				var tailTr = trs.getItem( i );
+				if( !tailTr.$.cells.length )
+				{
+					tailTr.remove();
+					count++;
+					continue;
+				}
+			}
+
+			return firstCell;
+		}
+		// Be able to merge cells only if actual dimension of selected
+		// cells equals to the caculated rectangle.
+		else
+			return ( totalRowSpan * totalColSpan ) == dimension;
+	}
+
+	function verticalSplitCell ( selection, isDetect )
+	{
+		var cells = getSelectedCells( selection );
+		if( cells.length > 1 )
+			return false;
+		else if( isDetect )
+			return true;
+
+		var cell = cells[ 0 ],
+			tr = cell.getParent(),
+			table = tr.getAscendant( 'table' ),
+			map = buildTableMap( table ),
+			rowIndex = tr.$.rowIndex,
+			colIndex = cellInRow( map, rowIndex, cell ),
+			rowSpan = cell.$.rowSpan,
+			newCell,
+			newRowSpan,
+			newCellRowSpan,
+			newRowIndex;
+
+		if( rowSpan > 1 )
+		{
+			newRowSpan = Math.ceil( rowSpan / 2 );
+			newCellRowSpan = Math.floor( rowSpan / 2 );
+			newRowIndex = rowIndex + newRowSpan;
+			var newCellTr = new CKEDITOR.dom.element( table.$.rows[ newRowIndex ] ),
+				newCellRow = cellInRow( map, newRowIndex ),
+				candidateCell;
+
+			newCell = cell.clone();
+
+			// Figure out where to insert the new cell by checking the vitual row.
+			for ( var c = 0; c < newCellRow.length; c++ )
+			{
+				candidateCell = newCellRow[ c ];
+				// Catch first cell actually following the column.
+				if( candidateCell.parentNode == newCellTr.$
+					&& c > colIndex )
+				{
+					newCell.insertBefore( new CKEDITOR.dom.element( candidateCell ) );
+					break;
+				}
+				else
+					candidateCell = null;
+			}
+
+			// The destination row is empty, append at will.
+			if( !candidateCell )
+				newCellTr.append( newCell, true );
+		}
+		else
+		{
+			newCellRowSpan = newRowSpan = 1;
+
+			newCellTr = tr.clone();
+			newCellTr.insertAfter( tr );
+			newCellTr.append( newCell = cell.clone() );
+
+			var cellsInSameRow = cellInRow( map, rowIndex );
+			for ( var i = 0; i < cellsInSameRow.length; i++ )
+				cellsInSameRow[ i ].rowSpan++;
+		}
+
+		if( !CKEDITOR.env.ie )
+			newCell.appendBogus();
+
+		cell.$.rowSpan = newRowSpan;
+		newCell.$.rowSpan = newCellRowSpan;
+		if( newRowSpan == 1 )
+			cell.removeAttribute( 'rowSpan' );
+		if( newCellRowSpan == 1 )
+			newCell.removeAttribute( 'rowSpan' );
+
+		return newCell;
+	}
+
+	function horizontalSplitCell( selection, isDetect )
+	{
+		var cells = getSelectedCells( selection );
+		if( cells.length > 1 )
+			return false;
+		else if( isDetect )
+			return true;
+
+		var cell = cells[ 0 ],
+			tr = cell.getParent(),
+			table = tr.getAscendant( 'table' ),
+			map = buildTableMap( table ),
+			rowIndex = tr.$.rowIndex,
+			colIndex = cellInRow( map, rowIndex, cell ),
+			colSpan = cell.$.colSpan,
+			newCell,
+			newColSpan,
+			newCellColSpan;
+
+		if( colSpan > 1 )
+		{
+			newColSpan = Math.ceil( colSpan / 2 );
+			newCellColSpan = Math.floor( colSpan / 2 );
+		}
+		else
+		{
+			newCellColSpan = newColSpan = 1;
+			var cellsInSameCol = cellInCol( map, colIndex );
+			for ( var i = 0; i < cellsInSameCol.length; i++ )
+				cellsInSameCol[ i ].colSpan++;
+		}
+		newCell = cell.clone();
+		newCell.insertAfter( cell );
+		if( !CKEDITOR.env.ie )
+			newCell.appendBogus();
+
+		cell.$.colSpan = newColSpan;
+		newCell.$.colSpan = newCellColSpan;
+		if( newColSpan == 1 )
+			cell.removeAttribute( 'colSpan' );
+		if( newCellColSpan == 1 )
+			newCell.removeAttribute( 'colSpan' );
+
+		return newCell;
+	}
+	// Context menu on table caption incorrect (#3834)
+	var contextMenuTags = { thead : 1, tbody : 1, tfoot : 1, td : 1, tr : 1, th : 1 };
+
+	CKEDITOR.plugins.tabletools =
+	{
+		init : function( editor )
+		{
+			var lang = editor.lang.table;
+
+			editor.addCommand( 'cellProperties', new CKEDITOR.dialogCommand( 'cellProperties' ) );
+			CKEDITOR.dialog.add( 'cellProperties', this.path + 'dialogs/tableCell.js' );
+
+			editor.addCommand( 'tableDelete',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						var startElement = selection && selection.getStartElement();
+						var table = startElement && startElement.getAscendant( 'table', true );
+
+						if ( !table )
+							return;
+
+						// Maintain the selection point at where the table was deleted.
+						selection.selectElement( table );
+						var range = selection.getRanges()[0];
+						range.collapse();
+						selection.selectRanges( [ range ] );
+
+						// If the table's parent has only one child, remove it as well.
+						if ( table.getParent().getChildCount() == 1 )
+							table.getParent().remove();
+						else
+							table.remove();
+					}
+				} );
+
+			editor.addCommand( 'rowDelete',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						deleteRows( selection );
+					}
+				} );
+
+			editor.addCommand( 'rowInsertBefore',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertRow( selection, true );
+					}
+				} );
+
+			editor.addCommand( 'rowInsertAfter',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertRow( selection );
+					}
+				} );
+
+			editor.addCommand( 'columnDelete',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						deleteColumns( selection );
+					}
+				} );
+
+			editor.addCommand( 'columnInsertBefore',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertColumn( selection, true );
+					}
+				} );
+
+			editor.addCommand( 'columnInsertAfter',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertColumn( selection );
+					}
+				} );
+
+			editor.addCommand( 'cellDelete',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						deleteCells( selection );
+					}
+				} );
+
+			editor.addCommand( 'cellMerge',
+				{
+					exec : function( editor )
+					{
+						placeCursorInCell( mergeCells( editor.getSelection() ), true );
+					}
+				} );
+
+			editor.addCommand( 'cellMergeRight',
+				{
+					exec : function( editor )
+					{
+						placeCursorInCell( mergeCells( editor.getSelection(), 'right' ), true );
+					}
+				} );
+
+			editor.addCommand( 'cellMergeDown',
+				{
+					exec : function( editor )
+					{
+						placeCursorInCell( mergeCells( editor.getSelection(), 'down' ), true );
+					}
+				} );
+
+			editor.addCommand( 'cellVerticalSplit',
+				{
+					exec : function( editor )
+					{
+						placeCursorInCell( verticalSplitCell( editor.getSelection() ) );
+					}
+				} );
+
+			editor.addCommand( 'cellHorizontalSplit',
+				{
+					exec : function( editor )
+					{
+						placeCursorInCell( horizontalSplitCell( editor.getSelection() ) );
+					}
+				} );
+
+			editor.addCommand( 'cellInsertBefore',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertCell( selection, true );
+					}
+				} );
+
+			editor.addCommand( 'cellInsertAfter',
+				{
+					exec : function( editor )
+					{
+						var selection = editor.getSelection();
+						insertCell( selection );
+					}
+				} );
+
+			// If the "menu" plugin is loaded, register the menu items.
+			if ( editor.addMenuItems )
+			{
+				editor.addMenuItems(
+					{
+						tablecell :
+						{
+							label : lang.cell.menu,
+							group : 'tablecell',
+							order : 1,
+							getItems : function()
+							{
+								var selection = editor.getSelection(),
+									cells = getSelectedCells( selection );
+								return {
+									tablecell_insertBefore : CKEDITOR.TRISTATE_OFF,
+									tablecell_insertAfter : CKEDITOR.TRISTATE_OFF,
+									tablecell_delete : CKEDITOR.TRISTATE_OFF,
+									tablecell_merge : mergeCells( selection, null, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+									tablecell_merge_right : mergeCells( selection, 'right', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+									tablecell_merge_down : mergeCells( selection, 'down', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+									tablecell_split_vertical : verticalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+									tablecell_split_horizontal : horizontalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+									tablecell_properties : cells.length > 0 ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
+								};
+							}
+						},
+
+						tablecell_insertBefore :
+						{
+							label : lang.cell.insertBefore,
+							group : 'tablecell',
+							command : 'cellInsertBefore',
+							order : 5
+						},
+
+						tablecell_insertAfter :
+						{
+							label : lang.cell.insertAfter,
+							group : 'tablecell',
+							command : 'cellInsertAfter',
+							order : 10
+						},
+
+						tablecell_delete :
+						{
+							label : lang.cell.deleteCell,
+							group : 'tablecell',
+							command : 'cellDelete',
+							order : 15
+						},
+
+						tablecell_merge :
+						{
+							label : lang.cell.merge,
+							group : 'tablecell',
+							command : 'cellMerge',
+							order : 16
+						},
+
+						tablecell_merge_right :
+						{
+							label : lang.cell.mergeRight,
+							group : 'tablecell',
+							command : 'cellMergeRight',
+							order : 17
+						},
+
+						tablecell_merge_down :
+						{
+							label : lang.cell.mergeDown,
+							group : 'tablecell',
+							command : 'cellMergeDown',
+							order : 18
+						},
+
+						tablecell_split_horizontal :
+						{
+							label : lang.cell.splitHorizontal,
+							group : 'tablecell',
+							command : 'cellHorizontalSplit',
+							order : 19
+						},
+
+						tablecell_split_vertical :
+						{
+							label : lang.cell.splitVertical,
+							group : 'tablecell',
+							command : 'cellVerticalSplit',
+							order : 20
+						},
+
+						tablecell_properties :
+						{
+							label : lang.cell.title,
+							group : 'tablecellproperties',
+							command : 'cellProperties',
+							order : 21
+						},
+
+						tablerow :
+						{
+							label : lang.row.menu,
+							group : 'tablerow',
+							order : 1,
+							getItems : function()
+							{
+								return {
+									tablerow_insertBefore : CKEDITOR.TRISTATE_OFF,
+									tablerow_insertAfter : CKEDITOR.TRISTATE_OFF,
+									tablerow_delete : CKEDITOR.TRISTATE_OFF
+								};
+							}
+						},
+
+						tablerow_insertBefore :
+						{
+							label : lang.row.insertBefore,
+							group : 'tablerow',
+							command : 'rowInsertBefore',
+							order : 5
+						},
+
+						tablerow_insertAfter :
+						{
+							label : lang.row.insertAfter,
+							group : 'tablerow',
+							command : 'rowInsertAfter',
+							order : 10
+						},
+
+						tablerow_delete :
+						{
+							label : lang.row.deleteRow,
+							group : 'tablerow',
+							command : 'rowDelete',
+							order : 15
+						},
+
+						tablecolumn :
+						{
+							label : lang.column.menu,
+							group : 'tablecolumn',
+							order : 1,
+							getItems : function()
+							{
+								return {
+									tablecolumn_insertBefore : CKEDITOR.TRISTATE_OFF,
+									tablecolumn_insertAfter : CKEDITOR.TRISTATE_OFF,
+									tablecolumn_delete : CKEDITOR.TRISTATE_OFF
+								};
+							}
+						},
+
+						tablecolumn_insertBefore :
+						{
+							label : lang.column.insertBefore,
+							group : 'tablecolumn',
+							command : 'columnInsertBefore',
+							order : 5
+						},
+
+						tablecolumn_insertAfter :
+						{
+							label : lang.column.insertAfter,
+							group : 'tablecolumn',
+							command : 'columnInsertAfter',
+							order : 10
+						},
+
+						tablecolumn_delete :
+						{
+							label : lang.column.deleteColumn,
+							group : 'tablecolumn',
+							command : 'columnDelete',
+							order : 15
+						}
+					});
+			}
+
+			// If the "contextmenu" plugin is laoded, register the listeners.
+			if ( editor.contextMenu )
+			{
+				editor.contextMenu.addListener( function( element, selection )
+					{
+						if ( !element )
+							return null;
+
+						while ( element )
+						{
+							if ( element.getName() in contextMenuTags )
+							{
+								return {
+									tablecell : CKEDITOR.TRISTATE_OFF,
+									tablerow : CKEDITOR.TRISTATE_OFF,
+									tablecolumn : CKEDITOR.TRISTATE_OFF
+								};
+							}
+							element = element.getParent();
+						}
+
+						return null;
+					} );
+			}
+		},
+
+		getSelectedCells : getSelectedCells
+
+	};
+	CKEDITOR.plugins.add( 'tabletools', CKEDITOR.plugins.tabletools );
+})();
Index: CKEditor/branches/features/aria/_source/plugins/templates/dialogs/templates.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/templates/dialogs/templates.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/templates/dialogs/templates.js	(revision 4888)
@@ -0,0 +1,180 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	var doc = CKEDITOR.document;
+
+	var listId = 'cke' + CKEDITOR.tools.getNextNumber();
+
+	// Constructs the HTML view of the specified templates data.
+	function renderTemplatesList( editor, templatesDefinitions )
+	{
+		var listDiv = doc.getById( listId );
+
+		// clear loading wait text.
+		listDiv.setHtml( '' );
+
+		for ( var i = 0 ; i < templatesDefinitions.length ; i++ )
+		{
+			var definition = CKEDITOR.getTemplates( templatesDefinitions[ i ] ),
+				imagesPath = definition.imagesPath,
+				templates = definition.templates;
+
+			for ( var j = 0 ; j < templates.length ; j++ )
+			{
+				var template = templates[ j ];
+				listDiv.append( createTemplateItem( editor, template, imagesPath ) );
+			}
+		}
+	}
+
+	function createTemplateItem( editor, template, imagesPath )
+	{
+		var div = doc.createElement( 'div' );
+		div.setAttribute( 'class', 'cke_tpl_item' );
+
+		// Build the inner HTML of our new item DIV.
+		var html = '<table style="width:350px;" class="cke_tpl_preview"><tr>';
+
+		if( template.image && imagesPath )
+			html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"></td>';
+
+		html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>';
+
+		if( template.description )
+			html += '<span>' + template.description + '</span>';
+
+		html += '</td></tr></table>';
+
+		div.setHtml( html );
+
+		div.on( 'mouseover', function()
+			{
+				div.addClass( 'cke_tpl_hover' );
+			});
+
+		div.on( 'mouseout', function()
+			{
+				div.removeClass( 'cke_tpl_hover' );
+			});
+
+		div.on( 'click', function()
+			{
+				insertTemplate( editor, template.html );
+			});
+
+		return div;
+	}
+
+	/**
+	 * Insert the specified template content
+	 * to document.
+	 * @param {Number} index
+	 */
+	function insertTemplate( editor, html )
+	{
+		var dialog = CKEDITOR.dialog.getCurrent(),
+			isInsert = dialog.getValueOf( 'selectTpl', 'chkInsertOpt' );
+
+		if( isInsert )
+		{
+			// Everything should happen after the document is loaded (#4073).
+			editor.on( 'contentDom', function( evt )
+			{
+				evt.removeListener();
+				dialog.hide();
+
+				// Place the cursor at the first editable place.
+				var range = new CKEDITOR.dom.range( editor.document );
+				range.moveToElementEditStart( editor.document.getBody() );
+				range.select( true );
+			} );
+			editor.setData( html );
+		}
+		else
+		{
+			editor.insertHtml( html );
+			dialog.hide();
+		}
+	}
+
+	CKEDITOR.dialog.add( 'templates', function( editor )
+		{
+			// Load skin at first.
+			CKEDITOR.skins.load( editor, 'templates' );
+
+			/**
+			 * Load templates once.
+			 */
+			var isLoaded = false;
+
+			return {
+				title :editor.lang.templates.title,
+
+				minWidth : CKEDITOR.env.ie ? 440 : 400,
+				minHeight : 340,
+
+				contents :
+				[
+					{
+						id :'selectTpl',
+						label : editor.lang.templates.title,
+						elements :
+						[
+							{
+								type : 'vbox',
+								padding : 5,
+								children :
+								[
+									{
+										type : 'html',
+										html :
+											'<span>'  +
+												editor.lang.templates.selectPromptMsg +
+											'</span>'
+									},
+									{
+										type : 'html',
+										html :
+											'<div id="' + listId + '" class="cke_tpl_list">' +
+												'<div class="cke_tpl_loading"><span></span></div>' +
+											'</div>'
+									},
+									{
+										id : 'chkInsertOpt',
+										type : 'checkbox',
+										label : editor.lang.templates.insertOption,
+										'default' : editor.config.templates_replaceContent
+									}
+								]
+							}
+						]
+					}
+				],
+
+				buttons : [ CKEDITOR.dialog.cancelButton ],
+
+				onShow : function()
+				{
+					CKEDITOR.loadTemplates( editor.config.templates_files, function()
+						{
+							var templates = editor.config.templates.split( ',' );
+
+							if ( templates.length )
+								renderTemplatesList( editor, templates );
+							else
+							{
+								var listCtEl = doc.getById( listId );
+								listCtEl.setHtml(
+									'<div class="cke_tpl_empty">' +
+										'<span>' + editor.lang.templates.emptyListMsg + '</span>' +
+									'</div>' );
+							}
+						});
+				}
+			};
+		});
+})();
Index: CKEditor/branches/features/aria/_source/plugins/templates/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/templates/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/templates/plugin.js	(revision 4888)
@@ -0,0 +1,100 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+	CKEDITOR.plugins.add( 'templates',
+		{
+			requires : [ 'dialog' ],
+
+			init : function( editor )
+			{
+				CKEDITOR.dialog.add( 'templates', CKEDITOR.getUrl( this.path + 'dialogs/templates.js' ) );
+
+				editor.addCommand( 'templates', new CKEDITOR.dialogCommand( 'templates' ) );
+
+				editor.ui.addButton( 'Templates',
+					{
+						label : editor.lang.templates.button,
+						command : 'templates'
+					});
+			}
+		});
+
+	var templates = {},
+		loadedTemplatesFiles = {};
+
+	CKEDITOR.addTemplates = function( name, definition )
+	{
+		templates[ name ] = definition;
+	};
+
+	CKEDITOR.getTemplates = function( name )
+	{
+		return templates[ name ];
+	};
+
+	CKEDITOR.loadTemplates = function( templateFiles, callback )
+	{
+		// Holds the templates files to be loaded.
+		var toLoad = [];
+
+		// Look for pending template files to get loaded.
+		for ( var i = 0 ; i < templateFiles.length ; i++ )
+		{
+			if ( !loadedTemplatesFiles[ templateFiles[ i ] ] )
+			{
+				toLoad.push( templateFiles[ i ] );
+				loadedTemplatesFiles[ templateFiles[ i ] ] = 1;
+			}
+		}
+
+		if ( toLoad.length > 0 )
+			CKEDITOR.scriptLoader.load( toLoad, callback );
+		else
+			setTimeout( callback, 0 );
+	};
+})();
+
+
+
+/**
+ * The templates definition set to use. It accepts a list of names separated by
+ * comma. It must match definitions loaded with the templates_files setting.
+ * @type String
+ * @default 'default'
+ * @example
+ * config.templates = 'my_templates';
+ */
+CKEDITOR.config.templates = 'default';
+
+/**
+ * The list of templates definition files to load.
+ * @type (String) Array
+ * @default [ 'plugins/templates/templates/default.js' ]
+ * @example
+ * config.templates_files =
+ *     [
+ *         '/editor_templates/site_default.js',
+ *         'http://www.example.com/user_templates.js
+ *     ];
+ *
+ */
+CKEDITOR.config.templates_files =
+	[
+		CKEDITOR.getUrl(
+			'_source/' + // @Packager.RemoveLine
+			'plugins/templates/templates/default.js' )
+	];
+
+/**
+ * Whether the "Replace actual contents" checkbox is checked by default in the
+ * Templates dialog.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.templates_replaceContent = false;
+ */
+CKEDITOR.config.templates_replaceContent = true;
Index: CKEditor/branches/features/aria/_source/plugins/templates/templates/default.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/templates/templates/default.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/templates/templates/default.js	(revision 4888)
@@ -0,0 +1,94 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Register a templates definition set named "default".
+CKEDITOR.addTemplates( 'default',
+{
+	// The name of sub folder which hold the shortcut preview images of the
+	// templates.
+	imagesPath : CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ),
+
+	// The templates definitions.
+	templates :
+		[
+			{
+				title: 'Image and Title',
+				image: 'template1.gif',
+				description: 'One main image with a title and text that surround the image.',
+				html:
+					'<h3>' +
+						'<img style="margin-right: 10px" height="100" width="100" align="left"/>' +
+						'Type the title here'+
+					'</h3>' +
+					'<p>' +
+						'Type the text here' +
+					'</p>'
+			},
+			{
+				title: 'Strange Template',
+				image: 'template2.gif',
+				description: 'A template that defines two colums, each one with a title, and some text.',
+				html:
+					'<table cellspacing="0" cellpadding="0" style="width:100%" border="0">' +
+						'<tr>' +
+							'<td style="width:50%">' +
+								'<h3>Title 1</h3>' +
+							'</td>' +
+							'<td></td>' +
+							'<td style="width:50%">' +
+								'<h3>Title 2</h3>' +
+							'</td>' +
+						'</tr>' +
+						'<tr>' +
+							'<td>' +
+								'Text 1' +
+							'</td>' +
+							'<td></td>' +
+							'<td>' +
+								'Text 2' +
+							'</td>' +
+						'</tr>' +
+					'</table>' +
+					'<p>' +
+						'More text goes here.' +
+					'</p>'
+			},
+			{
+				title: 'Text and Table',
+				image: 'template3.gif',
+				description: 'A title with some text and a table.',
+				html:
+					'<div style="width: 80%">' +
+						'<h3>' +
+							'Title goes here' +
+						'</h3>' +
+						'<table style="float: right" cellspacing="0" cellpadding="0" style="width:150px" border="1">' +
+							'<caption style="border:solid 1px black">' +
+								'<strong>Table title</strong>' +
+							'</caption>' +
+							'</tr>' +
+							'<tr>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+							'</tr>' +
+							'<tr>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+							'</tr>' +
+							'<tr>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+								'<td>&nbsp;</td>' +
+							'</tr>' +
+						'</table>' +
+						'<p>' +
+							'Type the text here' +
+						'</p>' +
+					'</div>'
+			}
+		]
+});
Index: CKEditor/branches/features/aria/_source/plugins/toolbar/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/toolbar/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/toolbar/plugin.js	(revision 4888)
@@ -0,0 +1,415 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "toolbar" plugin. Renders the default toolbar interface in
+ * the editor.
+ */
+
+(function()
+{
+	var toolbox = function()
+	{
+		this.toolbars = [];
+		this.focusCommandExecuted = false;
+	};
+
+	toolbox.prototype.focus = function()
+	{
+		for ( var t = 0, toolbar ; toolbar = this.toolbars[ t++ ] ; )
+		{
+			for ( var i = 0, item ; item = toolbar.items[ i++ ] ; )
+			{
+				if ( item.focus )
+				{
+					item.focus();
+					return;
+				}
+			}
+		}
+	};
+
+	var commands =
+	{
+		toolbarFocus :
+		{
+			modes : { wysiwyg : 1, source : 1 },
+
+			exec : function( editor )
+			{
+				if ( editor.toolbox )
+				{
+					editor.toolbox.focusCommandExecuted = true;
+
+					// Make the first button focus accessible. (#3417)
+					if ( CKEDITOR.env.ie )
+						setTimeout( function(){ editor.toolbox.focus(); }, 100 );
+					else
+						editor.toolbox.focus();
+				}
+			}
+		}
+	};
+
+	CKEDITOR.plugins.add( 'toolbar',
+	{
+		init : function( editor )
+		{
+			var itemKeystroke = function( item, keystroke )
+			{
+				switch ( keystroke )
+				{
+					case 39 :					// RIGHT-ARROW
+					case 9 :					// TAB
+						// Look for the next item in the toolbar.
+						while ( ( item = item.next || ( item.toolbar.next && item.toolbar.next.items[ 0 ] ) ) && !item.focus )
+						{ /*jsl:pass*/ }
+
+						// If available, just focus it, otherwise focus the
+						// first one.
+						if ( item )
+							item.focus();
+						else
+							editor.toolbox.focus();
+
+						return false;
+
+					case 37 :					// LEFT-ARROW
+					case CKEDITOR.SHIFT + 9 :	// SHIFT + TAB
+						// Look for the previous item in the toolbar.
+						while ( ( item = item.previous || ( item.toolbar.previous && item.toolbar.previous.items[ item.toolbar.previous.items.length - 1 ] ) ) && !item.focus )
+						{ /*jsl:pass*/ }
+
+						// If available, just focus it, otherwise focus the
+						// last one.
+						if ( item )
+							item.focus();
+						else
+						{
+							var lastToolbarItems = editor.toolbox.toolbars[ editor.toolbox.toolbars.length - 1 ].items;
+							lastToolbarItems[ lastToolbarItems.length - 1 ].focus();
+						}
+
+						return false;
+
+					case 27 :					// ESC
+						editor.focus();
+						return false;
+
+					case 13 :					// ENTER
+					case 32 :					// SPACE
+						item.execute();
+						return false;
+				}
+				return true;
+			};
+
+			editor.on( 'themeSpace', function( event )
+				{
+					if ( event.data.space == editor.config.toolbarLocation )
+					{
+						editor.toolbox = new toolbox();
+
+						var output = [ '<div class="cke_toolbox"' ],
+							expanded =  editor.config.toolbarStartupExpanded !== false,
+							groupStarted;
+
+						output.push( expanded ? '>' : ' style="display:none">' );
+
+						var toolbars = editor.toolbox.toolbars,
+							toolbar =
+									( editor.config.toolbar instanceof Array ) ?
+										editor.config.toolbar
+									:
+										editor.config[ 'toolbar_' + editor.config.toolbar ];
+
+						for ( var r = 0 ; r < toolbar.length ; r++ )
+						{
+							var row = toolbar[ r ];
+
+							// It's better to check if the row object is really
+							// available because it's a common mistake to leave
+							// an extra comma in the toolbar definition
+							// settings, which leads on the editor not loading
+							// at all in IE. (#3983)
+							if ( !row )
+								continue;
+
+							var toolbarId = 'cke_' + CKEDITOR.tools.getNextNumber(),
+								toolbarObj = { id : toolbarId, items : [] };
+
+							if ( groupStarted )
+							{
+								output.push( '</div>' );
+								groupStarted = 0;
+							}
+
+							if ( row === '/' )
+							{
+								output.push( '<div class="cke_break"></div>' );
+								continue;
+							}
+
+							output.push( '<span id="', toolbarId, '" class="cke_toolbar"><span class="cke_toolbar_start"></span>' );
+
+							// Add the toolbar to the "editor.toolbox.toolbars"
+							// array.
+							var index = toolbars.push( toolbarObj ) - 1;
+
+							// Create the next/previous reference.
+							if ( index > 0 )
+							{
+								toolbarObj.previous = toolbars[ index - 1 ];
+								toolbarObj.previous.next = toolbarObj;
+							}
+
+							// Create all items defined for this toolbar.
+							for ( var i = 0 ; i < row.length ; i++ )
+							{
+								var item,
+									itemName = row[ i ];
+
+								if ( itemName == '-' )
+									item = CKEDITOR.ui.separator;
+								else
+									item = editor.ui.create( itemName );
+
+								if ( item )
+								{
+									if ( item.canGroup )
+									{
+										if ( !groupStarted )
+										{
+											output.push( '<span class="cke_toolgroup">' );
+											groupStarted = 1;
+										}
+									}
+									else if ( groupStarted )
+									{
+										output.push( '</span>' );
+										groupStarted = 0;
+									}
+
+									var itemObj = item.render( editor, output );
+									index = toolbarObj.items.push( itemObj ) - 1;
+
+									if ( index > 0 )
+									{
+										itemObj.previous = toolbarObj.items[ index - 1 ];
+										itemObj.previous.next = itemObj;
+									}
+
+									itemObj.toolbar = toolbarObj;
+									itemObj.onkey = itemKeystroke;
+
+									/*
+									 * Fix for #3052:
+									 * Prevent JAWS from focusing the toolbar after document load.
+									 */
+									itemObj.onfocus = function()
+									{
+										if ( !editor.toolbox.focusCommandExecuted )
+											editor.focus();
+									};
+								}
+							}
+
+							if ( groupStarted )
+							{
+								output.push( '</span>' );
+								groupStarted = 0;
+							}
+
+							output.push( '<span class="cke_toolbar_end"></span></span>' );
+						}
+
+						output.push( '</div>' );
+
+						if ( editor.config.toolbarCanCollapse )
+						{
+							var collapserFn = CKEDITOR.tools.addFunction(
+								function()
+								{
+									editor.execCommand( 'toolbarCollapse' );
+								} );
+
+							var collapserId = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+							editor.addCommand( 'toolbarCollapse',
+								{
+									exec : function( editor )
+									{
+										var collapser = CKEDITOR.document.getById( collapserId );
+										var toolbox = collapser.getPrevious();
+										var contents = editor.getThemeSpace( 'contents' );
+										var toolboxContainer = toolbox.getParent();
+										var contentHeight = parseInt( contents.$.style.height, 10 );
+										var previousHeight = toolboxContainer.$.offsetHeight;
+
+										if ( toolbox.isVisible() )
+										{
+											toolbox.hide();
+											collapser.addClass( 'cke_toolbox_collapser_min' );
+											collapser.setAttribute( 'title', editor.lang.toolbarExpand );
+										}
+										else
+										{
+											toolbox.show();
+											collapser.removeClass( 'cke_toolbox_collapser_min' );
+											collapser.setAttribute( 'title', editor.lang.toolbarCollapse );
+										}
+
+										var dy = toolboxContainer.$.offsetHeight - previousHeight;
+										contents.setStyle( 'height', ( contentHeight - dy ) + 'px' );
+									},
+
+									modes : { wysiwyg : 1, source : 1 }
+								} );
+
+							output.push( '<a title="' + ( expanded ? editor.lang.toolbarCollapse : editor.lang.toolbarExpand )
+													  + '" id="' + collapserId + '" class="cke_toolbox_collapser' );
+
+							if ( !expanded )
+								output.push( ' cke_toolbox_collapser_min' );
+
+							output.push( '" onclick="CKEDITOR.tools.callFunction(' + collapserFn + ')"></a>' );
+						}
+
+						event.data.html += output.join( '' );
+					}
+				});
+
+			editor.addCommand( 'toolbarFocus', commands.toolbarFocus );
+		}
+	});
+})();
+
+/**
+ * The UI element that renders a toolbar separator.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.separator =
+{
+	render : function( editor, output )
+	{
+		output.push( '<span class="cke_separator"></span>' );
+		return {};
+	}
+};
+
+/**
+ * The "theme space" to which rendering the toolbar. For the default theme,
+ * the recommended options are "top" and "bottom".
+ * @type String
+ * @default 'top'
+ * @see CKEDITOR.config.theme
+ * @example
+ * config.toolbarLocation = 'bottom';
+ */
+CKEDITOR.config.toolbarLocation = 'top';
+
+/**
+ * The toolbar definition. It is an array of toolbars (strips),
+ * each one being also an array, containing a list of UI items.
+ * Note that this setting is composed by "toolbar_" added by the toolbar name,
+ * which in this case is called "Basic". This second part of the setting name
+ * can be anything. You must use this name in the
+ * {@link CKEDITOR.config.toolbar} setting, so you instruct the editor which
+ * toolbar_(name) setting to you.
+ * @type Array
+ * @example
+ * // Defines a toolbar with only one strip containing the "Source" button, a
+ * // separator and the "Bold" and "Italic" buttons.
+ * <b>config.toolbar_Basic =
+ * [
+ *     [ 'Source', '-', 'Bold', 'Italic' ]
+ * ]</b>;
+ * config.toolbar = 'Basic';
+ */
+CKEDITOR.config.toolbar_Basic =
+[
+	['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
+];
+
+/**
+ * This is the default toolbar definition used by the editor. It contains all
+ * editor features.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.toolbar_Full =
+ * [
+ *     ['Source','-','Save','NewPage','Preview','-','Templates'],
+ *     ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
+ *     ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+ *     ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
+ *     '/',
+ *     ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
+ *     ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
+ *     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ *     ['Link','Unlink','Anchor'],
+ *     ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
+ *     '/',
+ *     ['Styles','Format','Font','FontSize'],
+ *     ['TextColor','BGColor'],
+ *     ['Maximize', 'ShowBlocks','-','About']
+ * ];
+ */
+CKEDITOR.config.toolbar_Full =
+[
+	['Source','-','Save','NewPage','Preview','-','Templates'],
+	['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
+	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+	['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
+	'/',
+	['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
+	['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
+	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+	['Link','Unlink','Anchor'],
+	['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
+	'/',
+	['Styles','Format','Font','FontSize'],
+	['TextColor','BGColor'],
+	['Maximize', 'ShowBlocks','-','About']
+];
+
+/**
+ * The toolbox (alias toolbar) definition. It is a toolbar name or an array of
+ * toolbars (strips), each one being also an array, containing a list of UI items.
+ * @type Array|String
+ * @default 'Full'
+ * @example
+ * // Defines a toolbar with only one strip containing the "Source" button, a
+ * // separator and the "Bold" and "Italic" buttons.
+ * config.toolbar =
+ * [
+ *     [ 'Source', '-', 'Bold', 'Italic' ]
+ * ];
+ * @example
+ * // Load toolbar_Name where Name = Basic.
+ * config.toolbar = 'Basic';
+ */
+CKEDITOR.config.toolbar = 'Full';
+
+/**
+ * Whether the toolbar can be collapsed by the user. If disabled, the collapser
+ * button will not be displayed.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.toolbarCanCollapse = false;
+ */
+CKEDITOR.config.toolbarCanCollapse = true;
+
+/**
+ * Whether the toolbar must start expanded when the editor is loaded.
+ * @name CKEDITOR.config.toolbarStartupExpanded
+ * @type Boolean
+ * @default true
+ * @example
+ * config.toolbarStartupExpanded = false;
+ */
Index: CKEditor/branches/features/aria/_source/plugins/uicolor/dialogs/uicolor.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/uicolor/dialogs/uicolor.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/uicolor/dialogs/uicolor.js	(revision 4888)
@@ -0,0 +1,204 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'uicolor', function( editor )
+{
+	var dialog, picker, pickerContents,
+		// Actual UI color value.
+		uiColor = editor.getUiColor();
+
+	function setNewPickerColor( color )
+	{
+		// Convert HEX representation to RGB, stripping # char.
+		if ( /^#/.test( color ) )
+			color = window.YAHOO.util.Color.hex2rgb( color.substr( 1 ) );
+		picker.setValue( color, true );
+		// Refresh picker UI.
+		picker.refresh( 'cke_uicolor_picker' );
+	}
+
+	function setNewUiColor( color, force )
+	{
+		if ( force || dialog._.contents.tab1.livePeview.getValue() )
+			editor.setUiColor( color );
+		// Write new config string into textbox.
+		dialog._.contents.tab1.configBox.setValue(
+			'config.uiColor = "#' + picker.get( "hex" ) + '"'
+		);
+	}
+
+	pickerContents =
+	{
+		id : 'yuiColorPicker',
+		type : 'html',
+		html : "<div id='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>",
+		onLoad : function( event )
+		{
+			var url = CKEDITOR.getUrl(
+					'_source/' + // @Packager.RemoveLine
+					'plugins/uicolor/yui/'
+				);
+
+			// Create new color picker widget.
+			picker = new window.YAHOO.widget.ColorPicker( "cke_uicolor_picker",
+				{
+					showhsvcontrols : true,
+					showhexcontrols : true,
+					images :
+					{
+						PICKER_THUMB : url + "assets/picker_thumb.png",
+						HUE_THUMB : url + "assets/hue_thumb.png"
+					}
+				});
+
+			// Set actual UI color to the picker.
+			if ( uiColor )
+				setNewPickerColor( uiColor );
+
+			// Subscribe to the rgbChange event.
+			picker.on( "rgbChange", function()
+				{
+					// Reset predefined box.
+					dialog._.contents.tab1.predefined.setValue( '' );
+					setNewUiColor( '#' + picker.get( 'hex' ) );
+				});
+
+			// Fix input class names.
+			var inputs = new CKEDITOR.dom.nodeList( picker.getElementsByTagName( 'input' ) );
+			for ( var i = 0; i < inputs.count() ; i++ )
+				inputs.getItem( i ).addClass( 'cke_dialog_ui_input_text' );
+		}
+	};
+
+	var skipPreviewChange = true;
+
+	return {
+		title : editor.lang.uicolor.title,
+		minWidth : 360,
+		minHeight : 320,
+		onLoad : function()
+		{
+			dialog = this;
+			this.setupContent();
+
+			// #3808
+			if ( CKEDITOR.env.ie7Compat )
+				dialog.parts.contents.setStyle( 'overflow', 'hidden' );
+		},
+		contents : [
+			{
+				id : 'tab1',
+				label : '',
+				title : '',
+				expand : true,
+				padding : 0,
+				elements : [
+						pickerContents,
+						{
+							id : 'tab1',
+							type : 'vbox',
+							children :
+							[
+								{
+									id : 'livePeview',
+									type : 'checkbox',
+									label : editor.lang.uicolor.preview,
+									'default' : 1,
+									onLoad : function()
+									{
+										skipPreviewChange = true;
+									},
+									onChange : function()
+									{
+										if ( skipPreviewChange )
+											return;
+										var on = this.getValue(),
+											color = on ? '#' + picker.get( 'hex' ) : uiColor;
+										setNewUiColor( color, true );
+									}
+								},
+								{
+									type : 'hbox',
+									children :
+									[
+										{
+											id : 'predefined',
+											type : 'select',
+											'default' : '',
+											label : editor.lang.uicolor.predefined,
+											items :
+											[
+												[ '' ],
+												[ 'Light blue', '#9AB8F3' ],
+												[ 'Sand', '#D2B48C' ],
+												[ 'Metallic', '#949AAA' ],
+												[ 'Purple', '#C2A3C7' ],
+												[ 'Olive', '#A2C980' ],
+												[ 'Happy green', '#9BD446' ],
+												[ 'Jezebel Blue', '#14B8C4' ],
+												[ 'Burn', '#FF893A' ],
+												[ 'Easy red', '#FF6969' ],
+												[ 'Pisces 3', '#48B4F2' ],
+												[ 'Aquarius 5', '#487ED4' ],
+												[ 'Absinthe', '#A8CF76' ],
+												[ 'Scrambled Egg', '#C7A622' ],
+												[ 'Hello monday', '#8E8D80' ],
+												[ 'Lovely sunshine', '#F1E8B1' ],
+												[ 'Recycled air', '#B3C593' ],
+												[ 'Down', '#BCBCA4' ],
+												[ 'Mark Twain', '#CFE91D' ],
+												[ 'Specks of dust', '#D1B596' ],
+												[ 'Lollipop', '#F6CE23' ]
+											],
+											onChange : function()
+											{
+												var color = this.getValue();
+												if ( color )
+												{
+													setNewPickerColor( color );
+													setNewUiColor( color );
+													// Refresh predefined preview box.
+													CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', color );
+												}
+												else
+													CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', '' );
+											},
+											onShow : function()
+											{
+												var color = editor.getUiColor();
+												if ( color )
+													this.setValue( color );
+											}
+										},
+										{
+											id : 'predefinedPreview',
+											type : 'html',
+											html : '<div id="cke_uicolor_preview" style="border: 1px solid black; padding: 3px; width: 30px;">' +
+													'<div id="predefinedPreview" style="width: 30px; height: 30px;">&nbsp;</div>' +
+												'</div>'
+										}
+									]
+								},
+								{
+									id : 'configBox',
+									type : 'text',
+									label : editor.lang.uicolor.config,
+									onShow : function()
+									{
+										var color = editor.getUiColor();
+										if ( color )
+											this.setValue(
+												'config.uiColor = "' + color + '"'
+											);
+									}
+								}
+							]
+						}
+					]
+			}
+		],
+		buttons : [ CKEDITOR.dialog.okButton ]
+	};
+} );
Index: CKEditor/branches/features/aria/_source/plugins/uicolor/lang/en.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/uicolor/lang/en.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/uicolor/lang/en.js	(revision 4888)
@@ -0,0 +1,15 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'uicolor', 'en',
+{
+	uicolor :
+	{
+		title : 'UI Color Picker',
+		preview : 'Live preview',
+		config : 'Paste this string into your config.js file',
+		predefined : 'Predefined color sets'
+	}
+});
Index: CKEditor/branches/features/aria/_source/plugins/uicolor/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/uicolor/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/uicolor/plugin.js	(revision 4888)
@@ -0,0 +1,37 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'uicolor',
+{
+	requires : [ 'dialog' ],
+	lang : [ 'en' ],
+
+	init : function( editor )
+	{
+		if ( CKEDITOR.env.ie6Compat )
+			return;
+
+		editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) );
+		editor.ui.addButton( 'UIColor',
+			{
+				label : editor.lang.uicolor.title,
+				command : 'uicolor',
+				icon : this.path + 'uicolor.gif'
+			});
+		CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' );
+
+		// Load YUI js files.
+		CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(
+			'_source/' + // @Packager.RemoveLine
+			'plugins/uicolor/yui/yui.js'
+		));
+
+		// Load YUI css files.
+		editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl(
+				'_source/' + // @Packager.RemoveLine
+				'plugins/uicolor/yui/assets/yui.css'
+		));
+	}
+} );
Index: CKEditor/branches/features/aria/_source/plugins/uicolor/yui/assets/yui.css
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/uicolor/yui/assets/yui.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/uicolor/yui/assets/yui.css	(revision 4888)
@@ -0,0 +1,15 @@
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+.yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}
+
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+#cke_uicolor_picker .yui-picker-panel{background:#e3e3e3;border-color:#888;}#cke_uicolor_picker .yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}#cke_uicolor_picker .yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}#cke_uicolor_picker .yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}#cke_uicolor_picker .yui-picker{position:relative;}#cke_uicolor_picker .yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}#cke_uicolor_picker .yui-picker-hue-bg{-moz-outline:none;outline:0 none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}#cke_uicolor_picker .yui-picker-bg{-moz-outline:none;outline:0 none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html #cke_uicolor_picker .yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='picker_mask.png',sizingMethod='scale');}#cke_uicolor_picker .yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}#cke_uicolor_picker .yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}#cke_uicolor_picker .yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}#cke_uicolor_picker .yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}#cke_uicolor_picker .yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}#cke_uicolor_picker .yui-picker-controls .hd{background:transparent;border-width:0!important;}#cke_uicolor_picker .yui-picker-controls .bd{height:100px;border-width:0!important;}#cke_uicolor_picker .yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0;}#cke_uicolor_picker .yui-picker-controls li{padding:2px;list-style:none;margin:0;}#cke_uicolor_picker .yui-picker-controls input{font-size:.85em;width:2.4em;}#cke_uicolor_picker .yui-picker-hex-controls{clear:both;padding:2px;}#cke_uicolor_picker .yui-picker-hex-controls input{width:4.6em;}#cke_uicolor_picker .yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}
Index: CKEditor/branches/features/aria/_source/plugins/uicolor/yui/yui.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/uicolor/yui/yui.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/uicolor/yui/yui.js	(revision 4888)
@@ -0,0 +1,71 @@
+/*jsl:ignoreall*/
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;C<A.length;C=C+1){D=(""+A[C]).split(".");E=YAHOO;for(B=(D[0]=="YAHOO")?1:0;B<D.length;B=B+1){E[D[B]]=E[D[B]]||{};E=E[D[B]];}}return E;};YAHOO.log=function(D,A,C){var B=YAHOO.widget.Logger;if(B&&B.log){return B.log(D,A,C);}else{return false;}};YAHOO.register=function(A,E,D){var I=YAHOO.env.modules,B,H,G,F,C;if(!I[A]){I[A]={versions:[],builds:[]};}B=I[A];H=D.version;G=D.build;F=YAHOO.env.listeners;B.name=A;B.version=H;B.build=G;B.versions.push(H);B.builds.push(G);B.mainClass=E;for(C=0;C<F.length;C=C+1){F[C](B);}if(E){E.VERSION=H;E.BUILD=G;}else{YAHOO.log("mainClass is undefined for module "+A,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(A){return YAHOO.env.modules[A]||null;};YAHOO.env.ua=function(){var C={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},B=navigator.userAgent,A;if((/KHTML/).test(B)){C.webkit=1;}A=B.match(/AppleWebKit\/([^\s]*)/);if(A&&A[1]){C.webkit=parseFloat(A[1]);if(/ Mobile\//.test(B)){C.mobile="Apple";}else{A=B.match(/NokiaN[^\/]*/);if(A){C.mobile=A[0];}}A=B.match(/AdobeAIR\/([^\s]*)/);if(A){C.air=A[0];}}if(!C.webkit){A=B.match(/Opera[\s\/]([^\s]*)/);if(A&&A[1]){C.opera=parseFloat(A[1]);A=B.match(/Opera Mini[^;]*/);if(A){C.mobile=A[0];}}else{A=B.match(/MSIE\s([^;]*)/);if(A&&A[1]){C.ie=parseFloat(A[1]);}else{A=B.match(/Gecko\/([^\s]*)/);if(A){C.gecko=1;A=B.match(/rv:([^\s\)]*)/);if(A&&A[1]){C.gecko=parseFloat(A[1]);}}}}}A=B.match(/Caja\/([^\s]*)/);if(A&&A[1]){C.caja=parseFloat(A[1]);}return C;}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var B=YAHOO_config.listener,A=YAHOO.env.listeners,D=true,C;if(B){for(C=0;C<A.length;C=C+1){if(A[C]==B){D=false;break;}}if(D){A.push(B);}}}})();YAHOO.lang=YAHOO.lang||{};(function(){var B=YAHOO.lang,F="[object Array]",C="[object Function]",A=Object.prototype,E=["toString","valueOf"],D={isArray:function(G){return A.toString.apply(G)===F;},isBoolean:function(G){return typeof G==="boolean";},isFunction:function(G){return A.toString.apply(G)===C;},isNull:function(G){return G===null;},isNumber:function(G){return typeof G==="number"&&isFinite(G);},isObject:function(G){return(G&&(typeof G==="object"||B.isFunction(G)))||false;},isString:function(G){return typeof G==="string";},isUndefined:function(G){return typeof G==="undefined";},_IEEnumFix:(YAHOO.env.ua.ie)?function(I,H){var G,K,J;for(G=0;G<E.length;G=G+1){K=E[G];J=H[K];if(B.isFunction(J)&&J!=A[K]){I[K]=J;}}}:function(){},extend:function(J,K,I){if(!K||!J){throw new Error("extend failed, please check that "+"all dependencies are included.");}var H=function(){},G;H.prototype=K.prototype;J.prototype=new H();J.prototype.constructor=J;J.superclass=K.prototype;if(K.prototype.constructor==A.constructor){K.prototype.constructor=K;}if(I){for(G in I){if(B.hasOwnProperty(I,G)){J.prototype[G]=I[G];}}B._IEEnumFix(J.prototype,I);}},augmentObject:function(K,J){if(!J||!K){throw new Error("Absorb failed, verify dependencies.");}var G=arguments,I,L,H=G[2];if(H&&H!==true){for(I=2;I<G.length;I=I+1){K[G[I]]=J[G[I]];}}else{for(L in J){if(H||!(L in K)){K[L]=J[L];}}B._IEEnumFix(K,J);}},augmentProto:function(J,I){if(!I||!J){throw new Error("Augment failed, verify dependencies.");}var G=[J.prototype,I.prototype],H;for(H=2;H<arguments.length;H=H+1){G.push(arguments[H]);}B.augmentObject.apply(this,G);},dump:function(G,L){var I,K,N=[],O="{...}",H="f(){...}",M=", ",J=" => ";if(!B.isObject(G)){return G+"";}else{if(G instanceof Date||("nodeType" in G&&"tagName" in G)){return G;}else{if(B.isFunction(G)){return H;}}}L=(B.isNumber(L))?L:3;if(B.isArray(G)){N.push("[");for(I=0,K=G.length;I<K;I=I+1){if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}if(N.length>1){N.pop();}N.push("]");}else{N.push("{");for(I in G){if(B.hasOwnProperty(G,I)){N.push(I+J);if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}}if(N.length>1){N.pop();}N.push("}");}return N.join("");},substitute:function(V,H,O){var L,K,J,R,S,U,Q=[],I,M="dump",P=" ",G="{",T="}",N;for(;;){L=V.lastIndexOf(G);if(L<0){break;}K=V.indexOf(T,L);if(L+1>=K){break;}I=V.substring(L+1,K);R=I;U=null;J=R.indexOf(P);if(J>-1){U=R.substring(J+1);R=R.substring(0,J);}S=H[R];if(O){S=O(R,S,U);}if(B.isObject(S)){if(B.isArray(S)){S=B.dump(S,parseInt(U,10));}else{U=U||"";N=U.indexOf(M);if(N>-1){U=U.substring(4);}if(S.toString===A.toString||N>-1){S=B.dump(S,parseInt(U,10));}else{S=S.toString();}}}else{if(!B.isString(S)&&!B.isNumber(S)){S="~-"+Q.length+"-~";Q[Q.length]=I;}}V=V.substring(0,L)+S+V.substring(K+1);}for(L=Q.length-1;L>=0;L=L-1){V=V.replace(new RegExp("~-"+L+"-~"),"{"+Q[L]+"}","g");}return V;},trim:function(G){try{return G.replace(/^\s+|\s+$/g,"");}catch(H){return G;}},merge:function(){var J={},H=arguments,G=H.length,I;for(I=0;I<G;I=I+1){B.augmentObject(J,H[I],true);}return J;},later:function(N,H,O,J,K){N=N||0;H=H||{};var I=O,M=J,L,G;if(B.isString(O)){I=H[O];}if(!I){throw new TypeError("method undefined");}if(!B.isArray(M)){M=[J];}L=function(){I.apply(H,M);};G=(K)?setInterval(L,N):setTimeout(L,N);return{interval:K,cancel:function(){if(this.interval){clearInterval(G);}else{clearTimeout(G);}}};},isValue:function(G){return(B.isObject(G)||B.isString(G)||B.isNumber(G)||B.isBoolean(G));}};B.hasOwnProperty=(A.hasOwnProperty)?function(G,H){return G&&G.hasOwnProperty(H);}:function(G,H){return !B.isUndefined(G[H])&&G.constructor.prototype[H]!==G[H];};D.augmentObject(B,D,true);YAHOO.util.Lang=B;B.augment=B.augmentProto;YAHOO.augment=B.augmentProto;YAHOO.extend=B.extend;})();YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1796"});(function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var E=YAHOO.util,L=YAHOO.lang,m=YAHOO.env.ua,A=YAHOO.lang.trim,d={},h={},N=/^t(?:able|d|h)$/i,X=/color$/i,K=window.document,W=K.documentElement,e="ownerDocument",n="defaultView",v="documentElement",t="compatMode",b="offsetLeft",P="offsetTop",u="offsetParent",Z="parentNode",l="nodeType",C="tagName",O="scrollLeft",i="scrollTop",Q="getBoundingClientRect",w="getComputedStyle",a="currentStyle",M="CSS1Compat",c="BackCompat",g="class",F="className",J="",B=" ",s="(?:^|\\s)",k="(?= |$)",U="g",p="position",f="fixed",V="relative",j="left",o="top",r="medium",q="borderLeftWidth",R="borderTopWidth",D=m.opera,I=m.webkit,H=m.gecko,T=m.ie;E.Dom={CUSTOM_ATTRIBUTES:(!W.hasAttribute)?{"for":"htmlFor","class":F}:{"htmlFor":"for","className":g},get:function(y){var AA,Y,z,x,G;if(y){if(y[l]||y.item){return y;}if(typeof y==="string"){AA=y;y=K.getElementById(y);if(y&&y.id===AA){return y;}else{if(y&&K.all){y=null;Y=K.all[AA];for(x=0,G=Y.length;x<G;++x){if(Y[x].id===AA){return Y[x];}}}}return y;}if(y.DOM_EVENTS){y=y.get("element");}if("length" in y){z=[];for(x=0,G=y.length;x<G;++x){z[z.length]=E.Dom.get(y[x]);}return z;}return y;}return null;},getComputedStyle:function(G,Y){if(window[w]){return G[e][n][w](G,null)[Y];}else{if(G[a]){return E.Dom.IE_ComputedStyle.get(G,Y);}}},getStyle:function(G,Y){return E.Dom.batch(G,E.Dom._getStyle,Y);},_getStyle:function(){if(window[w]){return function(G,y){y=(y==="float")?y="cssFloat":E.Dom._toCamel(y);var x=G.style[y],Y;if(!x){Y=G[e][n][w](G,null);if(Y){x=Y[y];}}return x;};}else{if(W[a]){return function(G,y){var x;switch(y){case"opacity":x=100;try{x=G.filters["DXImageTransform.Microsoft.Alpha"].opacity;}catch(z){try{x=G.filters("alpha").opacity;}catch(Y){}}return x/100;case"float":y="styleFloat";default:y=E.Dom._toCamel(y);x=G[a]?G[a][y]:null;return(G.style[y]||x);}};}}}(),setStyle:function(G,Y,x){E.Dom.batch(G,E.Dom._setStyle,{prop:Y,val:x});},_setStyle:function(){if(T){return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){switch(x){case"opacity":if(L.isString(Y.style.filter)){Y.style.filter="alpha(opacity="+y*100+")";if(!Y[a]||!Y[a].hasLayout){Y.style.zoom=1;}}break;case"float":x="styleFloat";default:Y.style[x]=y;}}else{}};}else{return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){if(x=="float"){x="cssFloat";}Y.style[x]=y;}else{}};}}(),getXY:function(G){return E.Dom.batch(G,E.Dom._getXY);},_canPosition:function(G){return(E.Dom._getStyle(G,"display")!=="none"&&E.Dom._inDoc(G));},_getXY:function(){if(K[v][Q]){return function(y){var z,Y,AA,AF,AE,AD,AC,G,x,AB=Math.floor,AG=false;if(E.Dom._canPosition(y)){AA=y[Q]();AF=y[e];z=E.Dom.getDocumentScrollLeft(AF);Y=E.Dom.getDocumentScrollTop(AF);AG=[AB(AA[j]),AB(AA[o])];if(T&&m.ie<8){AE=2;AD=2;AC=AF[t];G=S(AF[v],q);x=S(AF[v],R);if(m.ie===6){if(AC!==c){AE=0;AD=0;}}if((AC==c)){if(G!==r){AE=parseInt(G,10);}if(x!==r){AD=parseInt(x,10);}}AG[0]-=AE;AG[1]-=AD;}if((Y||z)){AG[0]+=z;AG[1]+=Y;}AG[0]=AB(AG[0]);AG[1]=AB(AG[1]);}else{}return AG;};}else{return function(y){var x,Y,AA,AB,AC,z=false,G=y;if(E.Dom._canPosition(y)){z=[y[b],y[P]];x=E.Dom.getDocumentScrollLeft(y[e]);Y=E.Dom.getDocumentScrollTop(y[e]);AC=((H||m.webkit>519)?true:false);while((G=G[u])){z[0]+=G[b];z[1]+=G[P];if(AC){z=E.Dom._calcBorders(G,z);}}if(E.Dom._getStyle(y,p)!==f){G=y;while((G=G[Z])&&G[C]){AA=G[i];AB=G[O];if(H&&(E.Dom._getStyle(G,"overflow")!=="visible")){z=E.Dom._calcBorders(G,z);}if(AA||AB){z[0]-=AB;z[1]-=AA;}}z[0]+=x;z[1]+=Y;}else{if(D){z[0]-=x;z[1]-=Y;}else{if(I||H){z[0]+=x;z[1]+=Y;}}}z[0]=Math.floor(z[0]);z[1]=Math.floor(z[1]);}else{}return z;};}}(),getX:function(G){var Y=function(x){return E.Dom.getXY(x)[0];};return E.Dom.batch(G,Y,E.Dom,true);},getY:function(G){var Y=function(x){return E.Dom.getXY(x)[1];};return E.Dom.batch(G,Y,E.Dom,true);},setXY:function(G,x,Y){E.Dom.batch(G,E.Dom._setXY,{pos:x,noRetry:Y});},_setXY:function(G,z){var AA=E.Dom._getStyle(G,p),y=E.Dom.setStyle,AD=z.pos,Y=z.noRetry,AB=[parseInt(E.Dom.getComputedStyle(G,j),10),parseInt(E.Dom.getComputedStyle(G,o),10)],AC,x;if(AA=="static"){AA=V;y(G,p,AA);}AC=E.Dom._getXY(G);if(!AD||AC===false){return false;}if(isNaN(AB[0])){AB[0]=(AA==V)?0:G[b];}if(isNaN(AB[1])){AB[1]=(AA==V)?0:G[P];}if(AD[0]!==null){y(G,j,AD[0]-AC[0]+AB[0]+"px");}if(AD[1]!==null){y(G,o,AD[1]-AC[1]+AB[1]+"px");}if(!Y){x=E.Dom._getXY(G);if((AD[0]!==null&&x[0]!=AD[0])||(AD[1]!==null&&x[1]!=AD[1])){E.Dom._setXY(G,{pos:AD,noRetry:true});}}},setX:function(Y,G){E.Dom.setXY(Y,[G,null]);},setY:function(G,Y){E.Dom.setXY(G,[null,Y]);},getRegion:function(G){var Y=function(x){var y=false;if(E.Dom._canPosition(x)){y=E.Region.getRegion(x);}else{}return y;};return E.Dom.batch(G,Y,E.Dom,true);},getClientWidth:function(){return E.Dom.getViewportWidth();},getClientHeight:function(){return E.Dom.getViewportHeight();},getElementsByClassName:function(AB,AF,AC,AE,x,AD){AB=L.trim(AB);AF=AF||"*";AC=(AC)?E.Dom.get(AC):null||K;if(!AC){return[];}var Y=[],G=AC.getElementsByTagName(AF),z=E.Dom.hasClass;for(var y=0,AA=G.length;y<AA;++y){if(z(G[y],AB)){Y[Y.length]=G[y];}}if(AE){E.Dom.batch(Y,AE,x,AD);}return Y;},hasClass:function(Y,G){return E.Dom.batch(Y,E.Dom._hasClass,G);},_hasClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(Y.exec){G=Y.test(y);}else{G=Y&&(B+y+B).indexOf(B+Y+B)>-1;}}else{}return G;},addClass:function(Y,G){return E.Dom.batch(Y,E.Dom._addClass,G);},_addClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(!E.Dom._hasClass(x,Y)){E.Dom.setAttribute(x,F,A(y+B+Y));G=true;}}else{}return G;},removeClass:function(Y,G){return E.Dom.batch(Y,E.Dom._removeClass,G);},_removeClass:function(y,x){var Y=false,AA,z,G;if(y&&x){AA=E.Dom.getAttribute(y,F)||J;E.Dom.setAttribute(y,F,AA.replace(E.Dom._getClassRegex(x),J));z=E.Dom.getAttribute(y,F);if(AA!==z){E.Dom.setAttribute(y,F,A(z));Y=true;if(E.Dom.getAttribute(y,F)===""){G=(y.hasAttribute&&y.hasAttribute(g))?g:F;y.removeAttribute(G);}}}else{}return Y;},replaceClass:function(x,Y,G){return E.Dom.batch(x,E.Dom._replaceClass,{from:Y,to:G});
+},_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=true;}}}}else{}return G;},generateId:function(G,x){x=x||"yui-gen";var Y=function(y){if(y&&y.id){return y.id;}var z=x+YAHOO.env._id_counter++;if(y){if(y[e].getElementById(z)){return E.Dom.generateId(y,z+x);}y.id=z;}return z;};return E.Dom.batch(G,Y,E.Dom,true)||Y.apply(E.Dom,arguments);},isAncestor:function(Y,x){Y=E.Dom.get(Y);x=E.Dom.get(x);var G=false;if((Y&&x)&&(Y[l]&&x[l])){if(Y.contains&&Y!==x){G=Y.contains(x);}else{if(Y.compareDocumentPosition){G=!!(Y.compareDocumentPosition(x)&16);}}}else{}return G;},inDocument:function(G,Y){return E.Dom._inDoc(E.Dom.get(G),Y);},_inDoc:function(Y,x){var G=false;if(Y&&Y[C]){x=x||Y[e];G=E.Dom.isAncestor(x[v],Y);}else{}return G;},getElementsBy:function(Y,AF,AB,AD,y,AC,AE){AF=AF||"*";AB=(AB)?E.Dom.get(AB):null||K;if(!AB){return[];}var x=[],G=AB.getElementsByTagName(AF);for(var z=0,AA=G.length;z<AA;++z){if(Y(G[z])){if(AE){x=G[z];break;}else{x[x.length]=G[z];}}}if(AD){E.Dom.batch(x,AD,y,AC);}return x;},getElementBy:function(x,G,Y){return E.Dom.getElementsBy(x,G,Y,null,null,null,true);},batch:function(x,AB,AA,z){var y=[],Y=(z)?AA:window;x=(x&&(x[C]||x.item))?x:E.Dom.get(x);if(x&&AB){if(x[C]||x.length===undefined){return AB.call(Y,x,AA);}for(var G=0;G<x.length;++G){y[y.length]=AB.call(Y,x[G],AA);}}else{return false;}return y;},getDocumentHeight:function(){var Y=(K[t]!=M||I)?K.body.scrollHeight:W.scrollHeight,G=Math.max(Y,E.Dom.getViewportHeight());return G;},getDocumentWidth:function(){var Y=(K[t]!=M||I)?K.body.scrollWidth:W.scrollWidth,G=Math.max(Y,E.Dom.getViewportWidth());return G;},getViewportHeight:function(){var G=self.innerHeight,Y=K[t];if((Y||T)&&!D){G=(Y==M)?W.clientHeight:K.body.clientHeight;}return G;},getViewportWidth:function(){var G=self.innerWidth,Y=K[t];if(Y||T){G=(Y==M)?W.clientWidth:K.body.clientWidth;}return G;},getAncestorBy:function(G,Y){while((G=G[Z])){if(E.Dom._testElement(G,Y)){return G;}}return null;},getAncestorByClassName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return E.Dom.hasClass(y,G);};return E.Dom.getAncestorBy(Y,x);},getAncestorByTagName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return y[C]&&y[C].toUpperCase()==G.toUpperCase();};return E.Dom.getAncestorBy(Y,x);},getPreviousSiblingBy:function(G,Y){while(G){G=G.previousSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getPreviousSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getPreviousSiblingBy(G);},getNextSiblingBy:function(G,Y){while(G){G=G.nextSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getNextSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getNextSiblingBy(G);},getFirstChildBy:function(G,x){var Y=(E.Dom._testElement(G.firstChild,x))?G.firstChild:null;return Y||E.Dom.getNextSiblingBy(G.firstChild,x);},getFirstChild:function(G,Y){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getFirstChildBy(G);},getLastChildBy:function(G,x){if(!G){return null;}var Y=(E.Dom._testElement(G.lastChild,x))?G.lastChild:null;return Y||E.Dom.getPreviousSiblingBy(G.lastChild,x);},getLastChild:function(G){G=E.Dom.get(G);return E.Dom.getLastChildBy(G);},getChildrenBy:function(Y,y){var x=E.Dom.getFirstChildBy(Y,y),G=x?[x]:[];E.Dom.getNextSiblingBy(x,function(z){if(!y||y(z)){G[G.length]=z;}return false;});return G;},getChildren:function(G){G=E.Dom.get(G);if(!G){}return E.Dom.getChildrenBy(G);},getDocumentScrollLeft:function(G){G=G||K;return Math.max(G[v].scrollLeft,G.body.scrollLeft);},getDocumentScrollTop:function(G){G=G||K;return Math.max(G[v].scrollTop,G.body.scrollTop);},insertBefore:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}return G[Z].insertBefore(Y,G);},insertAfter:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}if(G.nextSibling){return G[Z].insertBefore(Y,G.nextSibling);}else{return G[Z].appendChild(Y);}},getClientRegion:function(){var x=E.Dom.getDocumentScrollTop(),Y=E.Dom.getDocumentScrollLeft(),y=E.Dom.getViewportWidth()+Y,G=E.Dom.getViewportHeight()+x;return new E.Region(x,y,G,Y);},setAttribute:function(Y,G,x){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;Y.setAttribute(G,x);},getAttribute:function(Y,G){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;return Y.getAttribute(G);},_toCamel:function(Y){var x=d;function G(y,z){return z.toUpperCase();}return x[Y]||(x[Y]=Y.indexOf("-")===-1?Y:Y.replace(/-([a-z])/gi,G));},_getClassRegex:function(Y){var G;if(Y!==undefined){if(Y.exec){G=Y;}else{G=h[Y];if(!G){Y=Y.replace(E.Dom._patterns.CLASS_RE_TOKENS,"\\$1");G=h[Y]=new RegExp(s+Y+k,U);}}}return G;},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}])/g},_testElement:function(G,Y){return G&&G[l]==1&&(!Y||Y(G));},_calcBorders:function(x,y){var Y=parseInt(E.Dom[w](x,R),10)||0,G=parseInt(E.Dom[w](x,q),10)||0;if(H){if(N.test(x[C])){Y=0;G=0;}}y[0]+=G;y[1]+=Y;return y;}};var S=E.Dom[w];if(m.opera){E.Dom[w]=function(Y,G){var x=S(Y,G);if(X.test(G)){x=E.Dom.Color.toRGB(x);}return x;};}if(m.webkit){E.Dom[w]=function(Y,G){var x=S(Y,G);if(x==="rgba(0, 0, 0, 0)"){x="transparent";}return x;};}})();YAHOO.util.Region=function(C,D,A,B){this.top=C;this.y=C;this[1]=C;this.right=D;this.bottom=A;this.left=B;this.x=B;this[0]=B;this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(A){return(A.left>=this.left&&A.right<=this.right&&A.top>=this.top&&A.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(E){var C=Math.max(this.top,E.top),D=Math.min(this.right,E.right),A=Math.min(this.bottom,E.bottom),B=Math.max(this.left,E.left);if(A>=C&&D>=B){return new YAHOO.util.Region(C,D,A,B);
+}else{return null;}};YAHOO.util.Region.prototype.union=function(E){var C=Math.min(this.top,E.top),D=Math.max(this.right,E.right),A=Math.max(this.bottom,E.bottom),B=Math.min(this.left,E.left);return new YAHOO.util.Region(C,D,A,B);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}");};YAHOO.util.Region.getRegion=function(D){var F=YAHOO.util.Dom.getXY(D),C=F[1],E=F[0]+D.offsetWidth,A=F[1]+D.offsetHeight,B=F[0];return new YAHOO.util.Region(C,E,A,B);};YAHOO.util.Point=function(A,B){if(YAHOO.lang.isArray(A)){B=A[1];A=A[0];}YAHOO.util.Point.superclass.constructor.call(this,B,A,B,A);};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region);(function(){var B=YAHOO.util,A="clientTop",F="clientLeft",J="parentNode",K="right",W="hasLayout",I="px",U="opacity",L="auto",D="borderLeftWidth",G="borderTopWidth",P="borderRightWidth",V="borderBottomWidth",S="visible",Q="transparent",N="height",E="width",H="style",T="currentStyle",R=/^width|height$/,O=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,M={get:function(X,Z){var Y="",a=X[T][Z];if(Z===U){Y=B.Dom.getStyle(X,U);}else{if(!a||(a.indexOf&&a.indexOf(I)>-1)){Y=a;}else{if(B.Dom.IE_COMPUTED[Z]){Y=B.Dom.IE_COMPUTED[Z](X,Z);}else{if(O.test(a)){Y=B.Dom.IE.ComputedStyle.getPixel(X,Z);}else{Y=a;}}}}return Y;},getOffset:function(Z,e){var b=Z[T][e],X=e.charAt(0).toUpperCase()+e.substr(1),c="offset"+X,Y="pixel"+X,a="",d;if(b==L){d=Z[c];if(d===undefined){a=0;}a=d;if(R.test(e)){Z[H][e]=d;if(Z[c]>d){a=d-(Z[c]-d);}Z[H][e]=L;}}else{if(!Z[H][Y]&&!Z[H][e]){Z[H][e]=b;}a=Z[H][Y];}return a+I;},getBorderWidth:function(X,Z){var Y=null;if(!X[T][W]){X[H].zoom=1;}switch(Z){case G:Y=X[A];break;case V:Y=X.offsetHeight-X.clientHeight-X[A];break;case D:Y=X[F];break;case P:Y=X.offsetWidth-X.clientWidth-X[F];break;}return Y+I;},getPixel:function(Y,X){var a=null,b=Y[T][K],Z=Y[T][X];Y[H][K]=Z;a=Y[H].pixelRight;Y[H][K]=b;return a+I;},getMargin:function(Y,X){var Z;if(Y[T][X]==L){Z=0+I;}else{Z=B.Dom.IE.ComputedStyle.getPixel(Y,X);}return Z;},getVisibility:function(Y,X){var Z;while((Z=Y[T])&&Z[X]=="inherit"){Y=Y[J];}return(Z)?Z[X]:S;},getColor:function(Y,X){return B.Dom.Color.toRGB(Y[T][X])||Q;},getBorderColor:function(Y,X){var Z=Y[T],a=Z[X]||Z.color;return B.Dom.Color.toRGB(B.Dom.Color.toHex(a));}},C={};C.top=C.right=C.bottom=C.left=C[E]=C[N]=M.getOffset;C.color=M.getColor;C[G]=C[P]=C[V]=C[D]=M.getBorderWidth;C.marginTop=C.marginRight=C.marginBottom=C.marginLeft=M.getMargin;C.visibility=M.getVisibility;C.borderColor=C.borderTopColor=C.borderRightColor=C.borderBottomColor=C.borderLeftColor=M.getBorderColor;B.Dom.IE_COMPUTED=C;B.Dom.IE_ComputedStyle=M;})();(function(){var C="toString",A=parseInt,B=RegExp,D=YAHOO.util;D.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuchsia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(E){if(!D.Dom.Color.re_RGB.test(E)){E=D.Dom.Color.toHex(E);}if(D.Dom.Color.re_hex.exec(E)){E="rgb("+[A(B.$1,16),A(B.$2,16),A(B.$3,16)].join(", ")+")";}return E;},toHex:function(H){H=D.Dom.Color.KEYWORDS[H]||H;if(D.Dom.Color.re_RGB.exec(H)){var G=(B.$1.length===1)?"0"+B.$1:Number(B.$1),F=(B.$2.length===1)?"0"+B.$2:Number(B.$2),E=(B.$3.length===1)?"0"+B.$3:Number(B.$3);H=[G[C](16),F[C](16),E[C](16)].join("");}if(H.length<6){H=H.replace(D.Dom.Color.re_hex3,"$1$1");}if(H!=="transparent"&&H.indexOf("#")<0){H="#"+H;}return H.toLowerCase();}};}());YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1796"});YAHOO.util.CustomEvent=function(D,C,B,A){this.type=D;this.scope=C||window;this.silent=B;this.signature=A||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var E="_YUICEOnSubscribe";if(D!==E){this.subscribeEvent=new YAHOO.util.CustomEvent(E,this,true);}this.lastError=null;};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(A,B,C){if(!A){throw new Error("Invalid callback for subscriber to '"+this.type+"'");}if(this.subscribeEvent){this.subscribeEvent.fire(A,B,C);}this.subscribers.push(new YAHOO.util.Subscriber(A,B,C));},unsubscribe:function(D,F){if(!D){return this.unsubscribeAll();}var E=false;for(var B=0,A=this.subscribers.length;B<A;++B){var C=this.subscribers[B];if(C&&C.contains(D,F)){this._delete(B);E=true;}}return E;},fire:function(){this.lastError=null;var K=[],E=this.subscribers.length;if(!E&&this.silent){return true;}var I=[].slice.call(arguments,0),G=true,D,J=false;if(!this.silent){}var C=this.subscribers.slice(),A=YAHOO.util.Event.throwErrors;for(D=0;D<E;++D){var M=C[D];if(!M){J=true;}else{if(!this.silent){}var L=M.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var B=null;if(I.length>0){B=I[0];}try{G=M.fn.call(L,B,M.obj);}catch(F){this.lastError=F;if(A){throw F;}}}else{try{G=M.fn.call(L,this.type,I,M.obj);}catch(H){this.lastError=H;if(A){throw H;}}}if(false===G){if(!this.silent){}break;}}}return(G!==false);},unsubscribeAll:function(){var A=this.subscribers.length,B;for(B=A-1;B>-1;B--){this._delete(B);}this.subscribers=[];return A;},_delete:function(A){var B=this.subscribers[A];if(B){delete B.fn;delete B.obj;}this.subscribers.splice(A,1);},toString:function(){return"CustomEvent: "+"'"+this.type+"', "+"context: "+this.scope;}};YAHOO.util.Subscriber=function(A,B,C){this.fn=A;this.obj=YAHOO.lang.isUndefined(B)?null:B;this.overrideContext=C;};YAHOO.util.Subscriber.prototype.getScope=function(A){if(this.overrideContext){if(this.overrideContext===true){return this.obj;}else{return this.overrideContext;}}return A;};YAHOO.util.Subscriber.prototype.contains=function(A,B){if(B){return(this.fn==A&&this.obj==B);}else{return(this.fn==A);}};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var H=false;var I=[];var J=[];var G=[];var E=[];var C=0;var F=[];var B=[];var A=0;var D={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9};var K=YAHOO.env.ua.ie?"focusin":"focus";var L=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2000,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:false,throwErrors:false,startInterval:function(){if(!this._interval){var M=this;var N=function(){M._tryPreloadAttach();};this._interval=setInterval(N,this.POLL_INTERVAL);}},onAvailable:function(S,O,Q,R,P){var M=(YAHOO.lang.isString(S))?[S]:S;for(var N=0;N<M.length;N=N+1){F.push({id:M[N],fn:O,obj:Q,overrideContext:R,checkReady:P});}C=this.POLL_RETRYS;this.startInterval();},onContentReady:function(P,M,N,O){this.onAvailable(P,M,N,O,true);},onDOMReady:function(M,N,O){if(this.DOMReady){setTimeout(function(){var P=window;if(O){if(O===true){P=N;}else{P=O;}}M.call(P,"DOMReady",[],N);},0);}else{this.DOMReadyEvent.subscribe(M,N,O);}},_addListener:function(O,M,Y,S,W,b){if(!Y||!Y.call){return false;}if(this._isValidCollection(O)){var Z=true;for(var T=0,V=O.length;T<V;++T){Z=this.on(O[T],M,Y,S,W)&&Z;}return Z;}else{if(YAHOO.lang.isString(O)){var R=this.getEl(O);if(R){O=R;}else{this.onAvailable(O,function(){YAHOO.util.Event.on(O,M,Y,S,W);});return true;}}}if(!O){return false;}if("unload"==M&&S!==this){J[J.length]=[O,M,Y,S,W];return true;}var N=O;if(W){if(W===true){N=S;}else{N=W;}}var P=function(c){return Y.call(N,YAHOO.util.Event.getEvent(c,O),S);};var a=[O,M,Y,P,N,S,W];var U=I.length;I[U]=a;if(this.useLegacyEvent(O,M)){var Q=this.getLegacyIndex(O,M);if(Q==-1||O!=G[Q][0]){Q=G.length;B[O.id+M]=Q;G[Q]=[O,M,O["on"+M]];E[Q]=[];O["on"+M]=function(c){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(c),Q);};}E[Q].push(a);}else{try{this._simpleAdd(O,M,P,b);}catch(X){this.lastError=X;this.removeListener(O,M,Y);return false;}}return true;},addListener:function(N,Q,M,O,P){return this._addListener(N,Q,M,O,P,false);},addFocusListener:function(N,M,O,P){return this._addListener(N,K,M,O,P,true);},removeFocusListener:function(N,M){return this.removeListener(N,K,M);},addBlurListener:function(N,M,O,P){return this._addListener(N,L,M,O,P,true);},removeBlurListener:function(N,M){return this.removeListener(N,L,M);},fireLegacyEvent:function(R,P){var T=true,M,V,U,N,S;V=E[P].slice();for(var O=0,Q=V.length;O<Q;++O){U=V[O];if(U&&U[this.WFN]){N=U[this.ADJ_SCOPE];S=U[this.WFN].call(N,R);T=(T&&S);}}M=G[P];if(M&&M[2]){M[2](R);}return T;},getLegacyIndex:function(N,O){var M=this.generateId(N)+O;if(typeof B[M]=="undefined"){return -1;}else{return B[M];}},useLegacyEvent:function(M,N){return(this.webkit&&this.webkit<419&&("click"==N||"dblclick"==N));},removeListener:function(N,M,V){var Q,T,X;if(typeof N=="string"){N=this.getEl(N);}else{if(this._isValidCollection(N)){var W=true;for(Q=N.length-1;Q>-1;Q--){W=(this.removeListener(N[Q],M,V)&&W);}return W;}}if(!V||!V.call){return this.purgeElement(N,false,M);}if("unload"==M){for(Q=J.length-1;Q>-1;Q--){X=J[Q];if(X&&X[0]==N&&X[1]==M&&X[2]==V){J.splice(Q,1);return true;}}return false;}var R=null;var S=arguments[3];if("undefined"===typeof S){S=this._getCacheIndex(N,M,V);}if(S>=0){R=I[S];}if(!N||!R){return false;}if(this.useLegacyEvent(N,M)){var P=this.getLegacyIndex(N,M);var O=E[P];if(O){for(Q=0,T=O.length;Q<T;++Q){X=O[Q];if(X&&X[this.EL]==N&&X[this.TYPE]==M&&X[this.FN]==V){O.splice(Q,1);break;}}}}else{try{this._simpleRemove(N,M,R[this.WFN],false);}catch(U){this.lastError=U;return false;}}delete I[S][this.WFN];delete I[S][this.FN];
+I.splice(S,1);return true;},getTarget:function(O,N){var M=O.target||O.srcElement;return this.resolveTextNode(M);},resolveTextNode:function(N){try{if(N&&3==N.nodeType){return N.parentNode;}}catch(M){}return N;},getPageX:function(N){var M=N.pageX;if(!M&&0!==M){M=N.clientX||0;if(this.isIE){M+=this._getScrollLeft();}}return M;},getPageY:function(M){var N=M.pageY;if(!N&&0!==N){N=M.clientY||0;if(this.isIE){N+=this._getScrollTop();}}return N;},getXY:function(M){return[this.getPageX(M),this.getPageY(M)];},getRelatedTarget:function(N){var M=N.relatedTarget;if(!M){if(N.type=="mouseout"){M=N.toElement;}else{if(N.type=="mouseover"){M=N.fromElement;}}}return this.resolveTextNode(M);},getTime:function(O){if(!O.time){var N=new Date().getTime();try{O.time=N;}catch(M){this.lastError=M;return N;}}return O.time;},stopEvent:function(M){this.stopPropagation(M);this.preventDefault(M);},stopPropagation:function(M){if(M.stopPropagation){M.stopPropagation();}else{M.cancelBubble=true;}},preventDefault:function(M){if(M.preventDefault){M.preventDefault();}else{M.returnValue=false;}},getEvent:function(O,M){var N=O||window.event;if(!N){var P=this.getEvent.caller;while(P){N=P.arguments[0];if(N&&Event==N.constructor){break;}P=P.caller;}}return N;},getCharCode:function(N){var M=N.keyCode||N.charCode||0;if(YAHOO.env.ua.webkit&&(M in D)){M=D[M];}return M;},_getCacheIndex:function(Q,R,P){for(var O=0,N=I.length;O<N;O=O+1){var M=I[O];if(M&&M[this.FN]==P&&M[this.EL]==Q&&M[this.TYPE]==R){return O;}}return -1;},generateId:function(M){var N=M.id;if(!N){N="yuievtautoid-"+A;++A;M.id=N;}return N;},_isValidCollection:function(N){try{return(N&&typeof N!=="string"&&N.length&&!N.tagName&&!N.alert&&typeof N[0]!=="undefined");}catch(M){return false;}},elCache:{},getEl:function(M){return(typeof M==="string")?document.getElementById(M):M;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(N){if(!H){H=true;var M=YAHOO.util.Event;M._ready();M._tryPreloadAttach();}},_ready:function(N){var M=YAHOO.util.Event;if(!M.DOMReady){M.DOMReady=true;M.DOMReadyEvent.fire();M._simpleRemove(document,"DOMContentLoaded",M._ready);}},_tryPreloadAttach:function(){if(F.length===0){C=0;if(this._interval){clearInterval(this._interval);this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var S=!H;if(!S){S=(C>0&&F.length>0);}var R=[];var T=function(V,W){var U=V;if(W.overrideContext){if(W.overrideContext===true){U=W.obj;}else{U=W.overrideContext;}}W.fn.call(U,W.obj);};var N,M,Q,P,O=[];for(N=0,M=F.length;N<M;N=N+1){Q=F[N];if(Q){P=this.getEl(Q.id);if(P){if(Q.checkReady){if(H||P.nextSibling||!S){O.push(Q);F[N]=null;}}else{T(P,Q);F[N]=null;}}else{R.push(Q);}}}for(N=0,M=O.length;N<M;N=N+1){Q=O[N];T(this.getEl(Q.id),Q);}C--;if(S){for(N=F.length-1;N>-1;N--){Q=F[N];if(!Q||!Q.id){F.splice(N,1);}}this.startInterval();}else{if(this._interval){clearInterval(this._interval);this._interval=null;}}this.locked=false;},purgeElement:function(Q,R,T){var O=(YAHOO.lang.isString(Q))?this.getEl(Q):Q;var S=this.getListeners(O,T),P,M;if(S){for(P=S.length-1;P>-1;P--){var N=S[P];this.removeListener(O,N.type,N.fn);}}if(R&&O&&O.childNodes){for(P=0,M=O.childNodes.length;P<M;++P){this.purgeElement(O.childNodes[P],R,T);}}},getListeners:function(O,M){var R=[],N;if(!M){N=[I,J];}else{if(M==="unload"){N=[J];}else{N=[I];}}var T=(YAHOO.lang.isString(O))?this.getEl(O):O;for(var Q=0;Q<N.length;Q=Q+1){var V=N[Q];if(V){for(var S=0,U=V.length;S<U;++S){var P=V[S];if(P&&P[this.EL]===T&&(!M||M===P[this.TYPE])){R.push({type:P[this.TYPE],fn:P[this.FN],obj:P[this.OBJ],adjust:P[this.OVERRIDE],scope:P[this.ADJ_SCOPE],index:S});}}}}return(R.length)?R:null;},_unload:function(T){var N=YAHOO.util.Event,Q,P,O,S,R,U=J.slice(),M;for(Q=0,S=J.length;Q<S;++Q){O=U[Q];if(O){M=window;if(O[N.ADJ_SCOPE]){if(O[N.ADJ_SCOPE]===true){M=O[N.UNLOAD_OBJ];}else{M=O[N.ADJ_SCOPE];}}O[N.FN].call(M,N.getEvent(T,O[N.EL]),O[N.UNLOAD_OBJ]);U[Q]=null;}}O=null;M=null;J=null;if(I){for(P=I.length-1;P>-1;P--){O=I[P];if(O){N.removeListener(O[N.EL],O[N.TYPE],O[N.FN],P);}}O=null;}G=null;N._simpleRemove(window,"unload",N._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var M=document.documentElement,N=document.body;if(M&&(M.scrollTop||M.scrollLeft)){return[M.scrollTop,M.scrollLeft];}else{if(N){return[N.scrollTop,N.scrollLeft];}else{return[0,0];}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(O,P,N,M){O.addEventListener(P,N,(M));};}else{if(window.attachEvent){return function(O,P,N,M){O.attachEvent("on"+P,N);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(O,P,N,M){O.removeEventListener(P,N,(M));};}else{if(window.detachEvent){return function(N,O,M){N.detachEvent("on"+O,M);};}else{return function(){};}}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;
+/* DOMReady: based on work by: Dean Edwards/John Resig/Matthias Miller */
+if(EU.isIE){YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,true);var n=document.createElement("p");EU._dri=setInterval(function(){try{n.doScroll("left");clearInterval(EU._dri);EU._dri=null;EU._ready();n=null;}catch(ex){}},EU.POLL_INTERVAL);}else{if(EU.webkit&&EU.webkit<525){EU._dri=setInterval(function(){var rs=document.readyState;if("loaded"==rs||"complete"==rs){clearInterval(EU._dri);EU._dri=null;EU._ready();}},EU.POLL_INTERVAL);}else{EU._simpleAdd(document,"DOMContentLoaded",EU._ready);}}EU._simpleAdd(window,"load",EU._load);EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(A,C,F,E){this.__yui_events=this.__yui_events||{};var D=this.__yui_events[A];if(D){D.subscribe(C,F,E);
+}else{this.__yui_subscribers=this.__yui_subscribers||{};var B=this.__yui_subscribers;if(!B[A]){B[A]=[];}B[A].push({fn:C,obj:F,overrideContext:E});}},unsubscribe:function(C,E,G){this.__yui_events=this.__yui_events||{};var A=this.__yui_events;if(C){var F=A[C];if(F){return F.unsubscribe(E,G);}}else{var B=true;for(var D in A){if(YAHOO.lang.hasOwnProperty(A,D)){B=B&&A[D].unsubscribe(E,G);}}return B;}return false;},unsubscribeAll:function(A){return this.unsubscribe(A);},createEvent:function(G,D){this.__yui_events=this.__yui_events||{};var A=D||{};var I=this.__yui_events;if(I[G]){}else{var H=A.scope||this;var E=(A.silent);var B=new YAHOO.util.CustomEvent(G,H,E,YAHOO.util.CustomEvent.FLAT);I[G]=B;if(A.onSubscribeCallback){B.subscribeEvent.subscribe(A.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var F=this.__yui_subscribers[G];if(F){for(var C=0;C<F.length;++C){B.subscribe(F[C].fn,F[C].obj,F[C].overrideContext);}}}return I[G];},fireEvent:function(E,D,A,C){this.__yui_events=this.__yui_events||{};var G=this.__yui_events[E];if(!G){return null;}var B=[];for(var F=1;F<arguments.length;++F){B.push(arguments[F]);}return G.fire.apply(G,B);},hasEvent:function(A){if(this.__yui_events){if(this.__yui_events[A]){return true;}}return false;}};(function(){var A=YAHOO.util.Event,C=YAHOO.lang;YAHOO.util.KeyListener=function(D,I,E,F){if(!D){}else{if(!I){}else{if(!E){}}}if(!F){F=YAHOO.util.KeyListener.KEYDOWN;}var G=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");if(C.isString(D)){D=document.getElementById(D);}if(C.isFunction(E)){G.subscribe(E);}else{G.subscribe(E.fn,E.scope,E.correctScope);}function H(O,N){if(!I.shift){I.shift=false;}if(!I.alt){I.alt=false;}if(!I.ctrl){I.ctrl=false;}if(O.shiftKey==I.shift&&O.altKey==I.alt&&O.ctrlKey==I.ctrl){var J,M=I.keys,L;if(YAHOO.lang.isArray(M)){for(var K=0;K<M.length;K++){J=M[K];L=A.getCharCode(O);if(J==L){G.fire(L,O);break;}}}else{L=A.getCharCode(O);if(M==L){G.fire(L,O);}}}}this.enable=function(){if(!this.enabled){A.on(D,F,H);this.enabledEvent.fire(I);}this.enabled=true;};this.disable=function(){if(this.enabled){A.removeListener(D,F,H);this.disabledEvent.fire(I);}this.enabled=false;};this.toString=function(){return"KeyListener ["+I.keys+"] "+D.tagName+(D.id?"["+D.id+"]":"");};};var B=YAHOO.util.KeyListener;B.KEYDOWN="keydown";B.KEYUP="keyup";B.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38};})();YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1796"});YAHOO.register("yahoo-dom-event", YAHOO, {version: "2.7.0", build: "1796"});
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+if(!YAHOO.util.DragDropMgr){YAHOO.util.DragDropMgr=function(){var A=YAHOO.util.Event,B=YAHOO.util.Dom;return{useShim:false,_shimActive:false,_shimState:false,_debugShim:false,_createShim:function(){var C=document.createElement("div");C.id="yui-ddm-shim";if(document.body.firstChild){document.body.insertBefore(C,document.body.firstChild);}else{document.body.appendChild(C);}C.style.display="none";C.style.backgroundColor="red";C.style.position="absolute";C.style.zIndex="99999";B.setStyle(C,"opacity","0");this._shim=C;A.on(C,"mouseup",this.handleMouseUp,this,true);A.on(C,"mousemove",this.handleMouseMove,this,true);A.on(window,"scroll",this._sizeShim,this,true);},_sizeShim:function(){if(this._shimActive){var C=this._shim;C.style.height=B.getDocumentHeight()+"px";C.style.width=B.getDocumentWidth()+"px";C.style.top="0";C.style.left="0";}},_activateShim:function(){if(this.useShim){if(!this._shim){this._createShim();}this._shimActive=true;var C=this._shim,D="0";if(this._debugShim){D=".5";}B.setStyle(C,"opacity",D);this._sizeShim();C.style.display="block";}},_deactivateShim:function(){this._shim.style.display="none";this._shimActive=false;},_shim:null,ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,interactionInfo:null,init:function(){this.initialized=true;},POINT:0,INTERSECT:1,STRICT_INTERSECT:2,mode:0,_execOnAll:function(E,D){for(var F in this.ids){for(var C in this.ids[F]){var G=this.ids[F][C];if(!this.isTypeOfDD(G)){continue;}G[E].apply(G,D);}}},_onLoad:function(){this.init();A.on(document,"mouseup",this.handleMouseUp,this,true);A.on(document,"mousemove",this.handleMouseMove,this,true);A.on(window,"unload",this._onUnload,this,true);A.on(window,"resize",this._onResize,this,true);},_onResize:function(C){this._execOnAll("resetConstraints",[]);},lock:function(){this.locked=true;},unlock:function(){this.locked=false;},isLocked:function(){return this.locked;},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:1000,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,fromTimeout:false,regDragDrop:function(D,C){if(!this.initialized){this.init();}if(!this.ids[C]){this.ids[C]={};}this.ids[C][D.id]=D;},removeDDFromGroup:function(E,C){if(!this.ids[C]){this.ids[C]={};}var D=this.ids[C];if(D&&D[E.id]){delete D[E.id];}},_remove:function(E){for(var D in E.groups){if(D){var C=this.ids[D];if(C&&C[E.id]){delete C[E.id];}}}delete this.handleIds[E.id];},regHandle:function(D,C){if(!this.handleIds[D]){this.handleIds[D]={};}this.handleIds[D][C]=C;},isDragDrop:function(C){return(this.getDDById(C))?true:false;},getRelated:function(H,D){var G=[];for(var F in H.groups){for(var E in this.ids[F]){var C=this.ids[F][E];if(!this.isTypeOfDD(C)){continue;}if(!D||C.isTarget){G[G.length]=C;}}}return G;},isLegalTarget:function(G,F){var D=this.getRelated(G,true);for(var E=0,C=D.length;E<C;++E){if(D[E].id==F.id){return true;}}return false;},isTypeOfDD:function(C){return(C&&C.__ygDragDrop);},isHandle:function(D,C){return(this.handleIds[D]&&this.handleIds[D][C]);},getDDById:function(D){for(var C in this.ids){if(this.ids[C][D]){return this.ids[C][D];}}return null;},handleMouseDown:function(E,D){this.currentTarget=YAHOO.util.Event.getTarget(E);this.dragCurrent=D;var C=D.getEl();this.startX=YAHOO.util.Event.getPageX(E);this.startY=YAHOO.util.Event.getPageY(E);this.deltaX=this.startX-C.offsetLeft;this.deltaY=this.startY-C.offsetTop;this.dragThreshMet=false;this.clickTimeout=setTimeout(function(){var F=YAHOO.util.DDM;F.startDrag(F.startX,F.startY);F.fromTimeout=true;},this.clickTimeThresh);},startDrag:function(C,E){if(this.dragCurrent&&this.dragCurrent.useShim){this._shimState=this.useShim;this.useShim=true;}this._activateShim();clearTimeout(this.clickTimeout);var D=this.dragCurrent;if(D&&D.events.b4StartDrag){D.b4StartDrag(C,E);D.fireEvent("b4StartDragEvent",{x:C,y:E});}if(D&&D.events.startDrag){D.startDrag(C,E);D.fireEvent("startDragEvent",{x:C,y:E});}this.dragThreshMet=true;},handleMouseUp:function(C){if(this.dragCurrent){clearTimeout(this.clickTimeout);if(this.dragThreshMet){if(this.fromTimeout){this.fromTimeout=false;this.handleMouseMove(C);}this.fromTimeout=false;this.fireEvents(C,true);}else{}this.stopDrag(C);this.stopEvent(C);}},stopEvent:function(C){if(this.stopPropagation){YAHOO.util.Event.stopPropagation(C);}if(this.preventDefault){YAHOO.util.Event.preventDefault(C);}},stopDrag:function(E,D){var C=this.dragCurrent;if(C&&!D){if(this.dragThreshMet){if(C.events.b4EndDrag){C.b4EndDrag(E);C.fireEvent("b4EndDragEvent",{e:E});}if(C.events.endDrag){C.endDrag(E);C.fireEvent("endDragEvent",{e:E});}}if(C.events.mouseUp){C.onMouseUp(E);C.fireEvent("mouseUpEvent",{e:E});}}if(this._shimActive){this._deactivateShim();if(this.dragCurrent&&this.dragCurrent.useShim){this.useShim=this._shimState;this._shimState=false;}}this.dragCurrent=null;this.dragOvers={};},handleMouseMove:function(F){var C=this.dragCurrent;if(C){if(YAHOO.util.Event.isIE&&!F.button){this.stopEvent(F);return this.handleMouseUp(F);}else{if(F.clientX<0||F.clientY<0){}}if(!this.dragThreshMet){var E=Math.abs(this.startX-YAHOO.util.Event.getPageX(F));var D=Math.abs(this.startY-YAHOO.util.Event.getPageY(F));if(E>this.clickPixelThresh||D>this.clickPixelThresh){this.startDrag(this.startX,this.startY);}}if(this.dragThreshMet){if(C&&C.events.b4Drag){C.b4Drag(F);C.fireEvent("b4DragEvent",{e:F});}if(C&&C.events.drag){C.onDrag(F);C.fireEvent("dragEvent",{e:F});}if(C){this.fireEvents(F,false);}}this.stopEvent(F);}},fireEvents:function(V,L){var a=this.dragCurrent;if(!a||a.isLocked()||a.dragOnly){return;}var N=YAHOO.util.Event.getPageX(V),M=YAHOO.util.Event.getPageY(V),P=new YAHOO.util.Point(N,M),K=a.getTargetCoord(P.x,P.y),F=a.getDragEl(),E=["out","over","drop","enter"],U=new YAHOO.util.Region(K.y,K.x+F.offsetWidth,K.y+F.offsetHeight,K.x),I=[],D={},Q=[],c={outEvts:[],overEvts:[],dropEvts:[],enterEvts:[]};for(var S in this.dragOvers){var d=this.dragOvers[S];if(!this.isTypeOfDD(d)){continue;
+}if(!this.isOverTarget(P,d,this.mode,U)){c.outEvts.push(d);}I[S]=true;delete this.dragOvers[S];}for(var R in a.groups){if("string"!=typeof R){continue;}for(S in this.ids[R]){var G=this.ids[R][S];if(!this.isTypeOfDD(G)){continue;}if(G.isTarget&&!G.isLocked()&&G!=a){if(this.isOverTarget(P,G,this.mode,U)){D[R]=true;if(L){c.dropEvts.push(G);}else{if(!I[G.id]){c.enterEvts.push(G);}else{c.overEvts.push(G);}this.dragOvers[G.id]=G;}}}}}this.interactionInfo={out:c.outEvts,enter:c.enterEvts,over:c.overEvts,drop:c.dropEvts,point:P,draggedRegion:U,sourceRegion:this.locationCache[a.id],validDrop:L};for(var C in D){Q.push(C);}if(L&&!c.dropEvts.length){this.interactionInfo.validDrop=false;if(a.events.invalidDrop){a.onInvalidDrop(V);a.fireEvent("invalidDropEvent",{e:V});}}for(S=0;S<E.length;S++){var Y=null;if(c[E[S]+"Evts"]){Y=c[E[S]+"Evts"];}if(Y&&Y.length){var H=E[S].charAt(0).toUpperCase()+E[S].substr(1),X="onDrag"+H,J="b4Drag"+H,O="drag"+H+"Event",W="drag"+H;if(this.mode){if(a.events[J]){a[J](V,Y,Q);a.fireEvent(J+"Event",{event:V,info:Y,group:Q});}if(a.events[W]){a[X](V,Y,Q);a.fireEvent(O,{event:V,info:Y,group:Q});}}else{for(var Z=0,T=Y.length;Z<T;++Z){if(a.events[J]){a[J](V,Y[Z].id,Q[0]);a.fireEvent(J+"Event",{event:V,info:Y[Z].id,group:Q[0]});}if(a.events[W]){a[X](V,Y[Z].id,Q[0]);a.fireEvent(O,{event:V,info:Y[Z].id,group:Q[0]});}}}}}},getBestMatch:function(E){var G=null;var D=E.length;if(D==1){G=E[0];}else{for(var F=0;F<D;++F){var C=E[F];if(this.mode==this.INTERSECT&&C.cursorIsOver){G=C;break;}else{if(!G||!G.overlap||(C.overlap&&G.overlap.getArea()<C.overlap.getArea())){G=C;}}}}return G;},refreshCache:function(D){var F=D||this.ids;for(var C in F){if("string"!=typeof C){continue;}for(var E in this.ids[C]){var G=this.ids[C][E];if(this.isTypeOfDD(G)){var H=this.getLocation(G);if(H){this.locationCache[G.id]=H;}else{delete this.locationCache[G.id];}}}}},verifyEl:function(D){try{if(D){var C=D.offsetParent;if(C){return true;}}}catch(E){}return false;},getLocation:function(H){if(!this.isTypeOfDD(H)){return null;}var F=H.getEl(),K,E,D,M,L,N,C,J,G;try{K=YAHOO.util.Dom.getXY(F);}catch(I){}if(!K){return null;}E=K[0];D=E+F.offsetWidth;M=K[1];L=M+F.offsetHeight;N=M-H.padding[0];C=D+H.padding[1];J=L+H.padding[2];G=E-H.padding[3];return new YAHOO.util.Region(N,C,J,G);},isOverTarget:function(K,C,E,F){var G=this.locationCache[C.id];if(!G||!this.useCache){G=this.getLocation(C);this.locationCache[C.id]=G;}if(!G){return false;}C.cursorIsOver=G.contains(K);var J=this.dragCurrent;if(!J||(!E&&!J.constrainX&&!J.constrainY)){return C.cursorIsOver;}C.overlap=null;if(!F){var H=J.getTargetCoord(K.x,K.y);var D=J.getDragEl();F=new YAHOO.util.Region(H.y,H.x+D.offsetWidth,H.y+D.offsetHeight,H.x);}var I=F.intersect(G);if(I){C.overlap=I;return(E)?true:C.cursorIsOver;}else{return false;}},_onUnload:function(D,C){this.unregAll();},unregAll:function(){if(this.dragCurrent){this.stopDrag();this.dragCurrent=null;}this._execOnAll("unreg",[]);this.ids={};},elementCache:{},getElWrapper:function(D){var C=this.elementCache[D];if(!C||!C.el){C=this.elementCache[D]=new this.ElementWrapper(YAHOO.util.Dom.get(D));}return C;},getElement:function(C){return YAHOO.util.Dom.get(C);},getCss:function(D){var C=YAHOO.util.Dom.get(D);return(C)?C.style:null;},ElementWrapper:function(C){this.el=C||null;this.id=this.el&&C.id;this.css=this.el&&C.style;},getPosX:function(C){return YAHOO.util.Dom.getX(C);},getPosY:function(C){return YAHOO.util.Dom.getY(C);},swapNode:function(E,C){if(E.swapNode){E.swapNode(C);}else{var F=C.parentNode;var D=C.nextSibling;if(D==E){F.insertBefore(E,C);}else{if(C==E.nextSibling){F.insertBefore(C,E);}else{E.parentNode.replaceChild(C,E);F.insertBefore(E,D);}}}},getScroll:function(){var E,C,F=document.documentElement,D=document.body;if(F&&(F.scrollTop||F.scrollLeft)){E=F.scrollTop;C=F.scrollLeft;}else{if(D){E=D.scrollTop;C=D.scrollLeft;}else{}}return{top:E,left:C};},getStyle:function(D,C){return YAHOO.util.Dom.getStyle(D,C);},getScrollTop:function(){return this.getScroll().top;},getScrollLeft:function(){return this.getScroll().left;},moveToEl:function(C,E){var D=YAHOO.util.Dom.getXY(E);YAHOO.util.Dom.setXY(C,D);},getClientHeight:function(){return YAHOO.util.Dom.getViewportHeight();},getClientWidth:function(){return YAHOO.util.Dom.getViewportWidth();},numericSort:function(D,C){return(D-C);},_timeoutCount:0,_addListeners:function(){var C=YAHOO.util.DDM;if(YAHOO.util.Event&&document){C._onLoad();}else{if(C._timeoutCount>2000){}else{setTimeout(C._addListeners,10);if(document&&document.body){C._timeoutCount+=1;}}}},handleWasClicked:function(C,E){if(this.isHandle(E,C.id)){return true;}else{var D=C.parentNode;while(D){if(this.isHandle(E,D.id)){return true;}else{D=D.parentNode;}}}return false;}};}();YAHOO.util.DDM=YAHOO.util.DragDropMgr;YAHOO.util.DDM._addListeners();}(function(){var A=YAHOO.util.Event;var B=YAHOO.util.Dom;YAHOO.util.DragDrop=function(E,C,D){if(E){this.init(E,C,D);}};YAHOO.util.DragDrop.prototype={events:null,on:function(){this.subscribe.apply(this,arguments);},id:null,config:null,dragElId:null,handleElId:null,invalidHandleTypes:null,invalidHandleIds:null,invalidHandleClasses:null,startPageX:0,startPageY:0,groups:null,locked:false,lock:function(){this.locked=true;},unlock:function(){this.locked=false;},isTarget:true,padding:null,dragOnly:false,useShim:false,_domRef:null,__ygDragDrop:true,constrainX:false,constrainY:false,minX:0,maxX:0,minY:0,maxY:0,deltaX:0,deltaY:0,maintainOffset:false,xTicks:null,yTicks:null,primaryButtonOnly:true,available:false,hasOuterHandles:false,cursorIsOver:false,overlap:null,b4StartDrag:function(C,D){},startDrag:function(C,D){},b4Drag:function(C){},onDrag:function(C){},onDragEnter:function(C,D){},b4DragOver:function(C){},onDragOver:function(C,D){},b4DragOut:function(C){},onDragOut:function(C,D){},b4DragDrop:function(C){},onDragDrop:function(C,D){},onInvalidDrop:function(C){},b4EndDrag:function(C){},endDrag:function(C){},b4MouseDown:function(C){},onMouseDown:function(C){},onMouseUp:function(C){},onAvailable:function(){},getEl:function(){if(!this._domRef){this._domRef=B.get(this.id);
+}return this._domRef;},getDragEl:function(){return B.get(this.dragElId);},init:function(F,C,D){this.initTarget(F,C,D);A.on(this._domRef||this.id,"mousedown",this.handleMouseDown,this,true);for(var E in this.events){this.createEvent(E+"Event");}},initTarget:function(E,C,D){this.config=D||{};this.events={};this.DDM=YAHOO.util.DDM;this.groups={};if(typeof E!=="string"){this._domRef=E;E=B.generateId(E);}this.id=E;this.addToGroup((C)?C:"default");this.handleElId=E;A.onAvailable(E,this.handleOnAvailable,this,true);this.setDragElId(E);this.invalidHandleTypes={A:"A"};this.invalidHandleIds={};this.invalidHandleClasses=[];this.applyConfig();},applyConfig:function(){this.events={mouseDown:true,b4MouseDown:true,mouseUp:true,b4StartDrag:true,startDrag:true,b4EndDrag:true,endDrag:true,drag:true,b4Drag:true,invalidDrop:true,b4DragOut:true,dragOut:true,dragEnter:true,b4DragOver:true,dragOver:true,b4DragDrop:true,dragDrop:true};if(this.config.events){for(var C in this.config.events){if(this.config.events[C]===false){this.events[C]=false;}}}this.padding=this.config.padding||[0,0,0,0];this.isTarget=(this.config.isTarget!==false);this.maintainOffset=(this.config.maintainOffset);this.primaryButtonOnly=(this.config.primaryButtonOnly!==false);this.dragOnly=((this.config.dragOnly===true)?true:false);this.useShim=((this.config.useShim===true)?true:false);},handleOnAvailable:function(){this.available=true;this.resetConstraints();this.onAvailable();},setPadding:function(E,C,F,D){if(!C&&0!==C){this.padding=[E,E,E,E];}else{if(!F&&0!==F){this.padding=[E,C,E,C];}else{this.padding=[E,C,F,D];}}},setInitPosition:function(F,E){var G=this.getEl();if(!this.DDM.verifyEl(G)){if(G&&G.style&&(G.style.display=="none")){}else{}return;}var D=F||0;var C=E||0;var H=B.getXY(G);this.initPageX=H[0]-D;this.initPageY=H[1]-C;this.lastPageX=H[0];this.lastPageY=H[1];this.setStartPosition(H);},setStartPosition:function(D){var C=D||B.getXY(this.getEl());this.deltaSetXY=null;this.startPageX=C[0];this.startPageY=C[1];},addToGroup:function(C){this.groups[C]=true;this.DDM.regDragDrop(this,C);},removeFromGroup:function(C){if(this.groups[C]){delete this.groups[C];}this.DDM.removeDDFromGroup(this,C);},setDragElId:function(C){this.dragElId=C;},setHandleElId:function(C){if(typeof C!=="string"){C=B.generateId(C);}this.handleElId=C;this.DDM.regHandle(this.id,C);},setOuterHandleElId:function(C){if(typeof C!=="string"){C=B.generateId(C);}A.on(C,"mousedown",this.handleMouseDown,this,true);this.setHandleElId(C);this.hasOuterHandles=true;},unreg:function(){A.removeListener(this.id,"mousedown",this.handleMouseDown);this._domRef=null;this.DDM._remove(this);},isLocked:function(){return(this.DDM.isLocked()||this.locked);},handleMouseDown:function(J,I){var D=J.which||J.button;if(this.primaryButtonOnly&&D>1){return;}if(this.isLocked()){return;}var C=this.b4MouseDown(J),F=true;if(this.events.b4MouseDown){F=this.fireEvent("b4MouseDownEvent",J);}var E=this.onMouseDown(J),H=true;if(this.events.mouseDown){H=this.fireEvent("mouseDownEvent",J);}if((C===false)||(E===false)||(F===false)||(H===false)){return;}this.DDM.refreshCache(this.groups);var G=new YAHOO.util.Point(A.getPageX(J),A.getPageY(J));if(!this.hasOuterHandles&&!this.DDM.isOverTarget(G,this)){}else{if(this.clickValidator(J)){this.setStartPosition();this.DDM.handleMouseDown(J,this);this.DDM.stopEvent(J);}else{}}},clickValidator:function(D){var C=YAHOO.util.Event.getTarget(D);return(this.isValidHandleChild(C)&&(this.id==this.handleElId||this.DDM.handleWasClicked(C,this.id)));},getTargetCoord:function(E,D){var C=E-this.deltaX;var F=D-this.deltaY;if(this.constrainX){if(C<this.minX){C=this.minX;}if(C>this.maxX){C=this.maxX;}}if(this.constrainY){if(F<this.minY){F=this.minY;}if(F>this.maxY){F=this.maxY;}}C=this.getTick(C,this.xTicks);F=this.getTick(F,this.yTicks);return{x:C,y:F};},addInvalidHandleType:function(C){var D=C.toUpperCase();this.invalidHandleTypes[D]=D;},addInvalidHandleId:function(C){if(typeof C!=="string"){C=B.generateId(C);}this.invalidHandleIds[C]=C;},addInvalidHandleClass:function(C){this.invalidHandleClasses.push(C);},removeInvalidHandleType:function(C){var D=C.toUpperCase();delete this.invalidHandleTypes[D];},removeInvalidHandleId:function(C){if(typeof C!=="string"){C=B.generateId(C);}delete this.invalidHandleIds[C];},removeInvalidHandleClass:function(D){for(var E=0,C=this.invalidHandleClasses.length;E<C;++E){if(this.invalidHandleClasses[E]==D){delete this.invalidHandleClasses[E];}}},isValidHandleChild:function(F){var E=true;var H;try{H=F.nodeName.toUpperCase();}catch(G){H=F.nodeName;}E=E&&!this.invalidHandleTypes[H];E=E&&!this.invalidHandleIds[F.id];for(var D=0,C=this.invalidHandleClasses.length;E&&D<C;++D){E=!B.hasClass(F,this.invalidHandleClasses[D]);}return E;},setXTicks:function(F,C){this.xTicks=[];this.xTickSize=C;var E={};for(var D=this.initPageX;D>=this.minX;D=D-C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true;}}for(D=this.initPageX;D<=this.maxX;D=D+C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true;}}this.xTicks.sort(this.DDM.numericSort);},setYTicks:function(F,C){this.yTicks=[];this.yTickSize=C;var E={};for(var D=this.initPageY;D>=this.minY;D=D-C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true;}}for(D=this.initPageY;D<=this.maxY;D=D+C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true;}}this.yTicks.sort(this.DDM.numericSort);},setXConstraint:function(E,D,C){this.leftConstraint=parseInt(E,10);this.rightConstraint=parseInt(D,10);this.minX=this.initPageX-this.leftConstraint;this.maxX=this.initPageX+this.rightConstraint;if(C){this.setXTicks(this.initPageX,C);}this.constrainX=true;},clearConstraints:function(){this.constrainX=false;this.constrainY=false;this.clearTicks();},clearTicks:function(){this.xTicks=null;this.yTicks=null;this.xTickSize=0;this.yTickSize=0;},setYConstraint:function(C,E,D){this.topConstraint=parseInt(C,10);this.bottomConstraint=parseInt(E,10);this.minY=this.initPageY-this.topConstraint;this.maxY=this.initPageY+this.bottomConstraint;if(D){this.setYTicks(this.initPageY,D);
+}this.constrainY=true;},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var D=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var C=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(D,C);}else{this.setInitPosition();}if(this.constrainX){this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize);}if(this.constrainY){this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize);}},getTick:function(I,F){if(!F){return I;}else{if(F[0]>=I){return F[0];}else{for(var D=0,C=F.length;D<C;++D){var E=D+1;if(F[E]&&F[E]>=I){var H=I-F[D];var G=F[E]-I;return(G>H)?F[D]:F[E];}}return F[F.length-1];}}},toString:function(){return("DragDrop "+this.id);}};YAHOO.augment(YAHOO.util.DragDrop,YAHOO.util.EventProvider);})();YAHOO.util.DD=function(C,A,B){if(C){this.init(C,A,B);}};YAHOO.extend(YAHOO.util.DD,YAHOO.util.DragDrop,{scroll:true,autoOffset:function(C,B){var A=C-this.startPageX;var D=B-this.startPageY;this.setDelta(A,D);},setDelta:function(B,A){this.deltaX=B;this.deltaY=A;},setDragElPos:function(C,B){var A=this.getDragEl();this.alignElWithMouse(A,C,B);},alignElWithMouse:function(C,G,F){var E=this.getTargetCoord(G,F);if(!this.deltaSetXY){var H=[E.x,E.y];YAHOO.util.Dom.setXY(C,H);var D=parseInt(YAHOO.util.Dom.getStyle(C,"left"),10);var B=parseInt(YAHOO.util.Dom.getStyle(C,"top"),10);this.deltaSetXY=[D-E.x,B-E.y];}else{YAHOO.util.Dom.setStyle(C,"left",(E.x+this.deltaSetXY[0])+"px");YAHOO.util.Dom.setStyle(C,"top",(E.y+this.deltaSetXY[1])+"px");}this.cachePosition(E.x,E.y);var A=this;setTimeout(function(){A.autoScroll.call(A,E.x,E.y,C.offsetHeight,C.offsetWidth);},0);},cachePosition:function(B,A){if(B){this.lastPageX=B;this.lastPageY=A;}else{var C=YAHOO.util.Dom.getXY(this.getEl());this.lastPageX=C[0];this.lastPageY=C[1];}},autoScroll:function(J,I,E,K){if(this.scroll){var L=this.DDM.getClientHeight();var B=this.DDM.getClientWidth();var N=this.DDM.getScrollTop();var D=this.DDM.getScrollLeft();var H=E+I;var M=K+J;var G=(L+N-I-this.deltaY);var F=(B+D-J-this.deltaX);var C=40;var A=(document.all)?80:30;if(H>L&&G<C){window.scrollTo(D,N+A);}if(I<N&&N>0&&I-N<C){window.scrollTo(D,N-A);}if(M>B&&F<C){window.scrollTo(D+A,N);}if(J<D&&D>0&&J-D<C){window.scrollTo(D-A,N);}}},applyConfig:function(){YAHOO.util.DD.superclass.applyConfig.call(this);this.scroll=(this.config.scroll!==false);},b4MouseDown:function(A){this.setStartPosition();this.autoOffset(YAHOO.util.Event.getPageX(A),YAHOO.util.Event.getPageY(A));},b4Drag:function(A){this.setDragElPos(YAHOO.util.Event.getPageX(A),YAHOO.util.Event.getPageY(A));},toString:function(){return("DD "+this.id);}});YAHOO.util.DDProxy=function(C,A,B){if(C){this.init(C,A,B);this.initFrame();}};YAHOO.util.DDProxy.dragElId="ygddfdiv";YAHOO.extend(YAHOO.util.DDProxy,YAHOO.util.DD,{resizeFrame:true,centerFrame:false,createFrame:function(){var B=this,A=document.body;if(!A||!A.firstChild){setTimeout(function(){B.createFrame();},50);return;}var F=this.getDragEl(),E=YAHOO.util.Dom;if(!F){F=document.createElement("div");F.id=this.dragElId;var D=F.style;D.position="absolute";D.visibility="hidden";D.cursor="move";D.border="2px solid #aaa";D.zIndex=999;D.height="25px";D.width="25px";var C=document.createElement("div");E.setStyle(C,"height","100%");E.setStyle(C,"width","100%");E.setStyle(C,"background-color","#ccc");E.setStyle(C,"opacity","0");F.appendChild(C);A.insertBefore(F,A.firstChild);}},initFrame:function(){this.createFrame();},applyConfig:function(){YAHOO.util.DDProxy.superclass.applyConfig.call(this);this.resizeFrame=(this.config.resizeFrame!==false);this.centerFrame=(this.config.centerFrame);this.setDragElId(this.config.dragElId||YAHOO.util.DDProxy.dragElId);},showFrame:function(E,D){var C=this.getEl();var A=this.getDragEl();var B=A.style;this._resizeProxy();if(this.centerFrame){this.setDelta(Math.round(parseInt(B.width,10)/2),Math.round(parseInt(B.height,10)/2));}this.setDragElPos(E,D);YAHOO.util.Dom.setStyle(A,"visibility","visible");},_resizeProxy:function(){if(this.resizeFrame){var H=YAHOO.util.Dom;var B=this.getEl();var C=this.getDragEl();var G=parseInt(H.getStyle(C,"borderTopWidth"),10);var I=parseInt(H.getStyle(C,"borderRightWidth"),10);var F=parseInt(H.getStyle(C,"borderBottomWidth"),10);var D=parseInt(H.getStyle(C,"borderLeftWidth"),10);if(isNaN(G)){G=0;}if(isNaN(I)){I=0;}if(isNaN(F)){F=0;}if(isNaN(D)){D=0;}var E=Math.max(0,B.offsetWidth-I-D);var A=Math.max(0,B.offsetHeight-G-F);H.setStyle(C,"width",E+"px");H.setStyle(C,"height",A+"px");}},b4MouseDown:function(B){this.setStartPosition();var A=YAHOO.util.Event.getPageX(B);var C=YAHOO.util.Event.getPageY(B);this.autoOffset(A,C);},b4StartDrag:function(A,B){this.showFrame(A,B);},b4EndDrag:function(A){YAHOO.util.Dom.setStyle(this.getDragEl(),"visibility","hidden");},endDrag:function(D){var C=YAHOO.util.Dom;var B=this.getEl();var A=this.getDragEl();C.setStyle(A,"visibility","");C.setStyle(B,"visibility","hidden");YAHOO.util.DDM.moveToEl(B,A);C.setStyle(A,"visibility","hidden");C.setStyle(B,"visibility","");},toString:function(){return("DDProxy "+this.id);}});YAHOO.util.DDTarget=function(C,A,B){if(C){this.initTarget(C,A,B);}};YAHOO.extend(YAHOO.util.DDTarget,YAHOO.util.DragDrop,{toString:function(){return("DDTarget "+this.id);}});YAHOO.register("dragdrop",YAHOO.util.DragDropMgr,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+(function(){var B=YAHOO.util.Dom.getXY,A=YAHOO.util.Event,D=Array.prototype.slice;function C(G,E,F,H){C.ANIM_AVAIL=(!YAHOO.lang.isUndefined(YAHOO.util.Anim));if(G){this.init(G,E,true);this.initSlider(H);this.initThumb(F);}}YAHOO.lang.augmentObject(C,{getHorizSlider:function(F,G,I,H,E){return new C(F,F,new YAHOO.widget.SliderThumb(G,F,I,H,0,0,E),"horiz");},getVertSlider:function(G,H,E,I,F){return new C(G,G,new YAHOO.widget.SliderThumb(H,G,0,0,E,I,F),"vert");},getSliderRegion:function(G,H,J,I,E,K,F){return new C(G,G,new YAHOO.widget.SliderThumb(H,G,J,I,E,K,F),"region");},SOURCE_UI_EVENT:1,SOURCE_SET_VALUE:2,SOURCE_KEY_EVENT:3,ANIM_AVAIL:false},true);YAHOO.extend(C,YAHOO.util.DragDrop,{_mouseDown:false,dragOnly:true,initSlider:function(E){this.type=E;this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);this.isTarget=false;this.animate=C.ANIM_AVAIL;this.backgroundEnabled=true;this.tickPause=40;this.enableKeys=true;this.keyIncrement=20;this.moveComplete=true;this.animationDuration=0.2;this.SOURCE_UI_EVENT=1;this.SOURCE_SET_VALUE=2;this.valueChangeSource=0;this._silent=false;this.lastOffset=[0,0];},initThumb:function(F){var E=this;this.thumb=F;F.cacheBetweenDrags=true;if(F._isHoriz&&F.xTicks&&F.xTicks.length){this.tickPause=Math.round(360/F.xTicks.length);}else{if(F.yTicks&&F.yTicks.length){this.tickPause=Math.round(360/F.yTicks.length);}}F.onAvailable=function(){return E.setStartSliderState();};F.onMouseDown=function(){E._mouseDown=true;return E.focus();};F.startDrag=function(){E._slideStart();};F.onDrag=function(){E.fireEvents(true);};F.onMouseUp=function(){E.thumbMouseUp();};},onAvailable:function(){this._bindKeyEvents();},_bindKeyEvents:function(){A.on(this.id,"keydown",this.handleKeyDown,this,true);A.on(this.id,"keypress",this.handleKeyPress,this,true);},handleKeyPress:function(F){if(this.enableKeys){var E=A.getCharCode(F);switch(E){case 37:case 38:case 39:case 40:case 36:case 35:A.preventDefault(F);break;default:}}},handleKeyDown:function(J){if(this.enableKeys){var G=A.getCharCode(J),F=this.thumb,H=this.getXValue(),E=this.getYValue(),I=true;switch(G){case 37:H-=this.keyIncrement;break;case 38:E-=this.keyIncrement;break;case 39:H+=this.keyIncrement;break;case 40:E+=this.keyIncrement;break;case 36:H=F.leftConstraint;E=F.topConstraint;break;case 35:H=F.rightConstraint;E=F.bottomConstraint;break;default:I=false;}if(I){if(F._isRegion){this._setRegionValue(C.SOURCE_KEY_EVENT,H,E,true);}else{this._setValue(C.SOURCE_KEY_EVENT,(F._isHoriz?H:E),true);}A.stopEvent(J);}}},setStartSliderState:function(){this.setThumbCenterPoint();this.baselinePos=B(this.getEl());this.thumb.startOffset=this.thumb.getOffsetFromParent(this.baselinePos);if(this.thumb._isRegion){if(this.deferredSetRegionValue){this._setRegionValue.apply(this,this.deferredSetRegionValue);this.deferredSetRegionValue=null;}else{this.setRegionValue(0,0,true,true,true);}}else{if(this.deferredSetValue){this._setValue.apply(this,this.deferredSetValue);this.deferredSetValue=null;}else{this.setValue(0,true,true,true);}}},setThumbCenterPoint:function(){var E=this.thumb.getEl();if(E){this.thumbCenterPoint={x:parseInt(E.offsetWidth/2,10),y:parseInt(E.offsetHeight/2,10)};}},lock:function(){this.thumb.lock();this.locked=true;},unlock:function(){this.thumb.unlock();this.locked=false;},thumbMouseUp:function(){this._mouseDown=false;if(!this.isLocked()&&!this.moveComplete){this.endMove();}},onMouseUp:function(){this._mouseDown=false;if(this.backgroundEnabled&&!this.isLocked()&&!this.moveComplete){this.endMove();}},getThumb:function(){return this.thumb;},focus:function(){this.valueChangeSource=C.SOURCE_UI_EVENT;var E=this.getEl();if(E.focus){try{E.focus();}catch(F){}}this.verifyOffset();return !this.isLocked();},onChange:function(E,F){},onSlideStart:function(){},onSlideEnd:function(){},getValue:function(){return this.thumb.getValue();},getXValue:function(){return this.thumb.getXValue();},getYValue:function(){return this.thumb.getYValue();},setValue:function(){var E=D.call(arguments);E.unshift(C.SOURCE_SET_VALUE);return this._setValue.apply(this,E);},_setValue:function(I,L,G,H,E){var F=this.thumb,K,J;if(!F.available){this.deferredSetValue=arguments;return false;}if(this.isLocked()&&!H){return false;}if(isNaN(L)){return false;}if(F._isRegion){return false;}this._silent=E;this.valueChangeSource=I||C.SOURCE_SET_VALUE;F.lastOffset=[L,L];this.verifyOffset(true);this._slideStart();if(F._isHoriz){K=F.initPageX+L+this.thumbCenterPoint.x;this.moveThumb(K,F.initPageY,G);}else{J=F.initPageY+L+this.thumbCenterPoint.y;this.moveThumb(F.initPageX,J,G);}return true;},setRegionValue:function(){var E=D.call(arguments);E.unshift(C.SOURCE_SET_VALUE);return this._setRegionValue.apply(this,E);},_setRegionValue:function(F,J,H,I,G,K){var L=this.thumb,E,M;if(!L.available){this.deferredSetRegionValue=arguments;return false;}if(this.isLocked()&&!G){return false;}if(isNaN(J)){return false;}if(!L._isRegion){return false;}this._silent=K;this.valueChangeSource=F||C.SOURCE_SET_VALUE;L.lastOffset=[J,H];this.verifyOffset(true);this._slideStart();E=L.initPageX+J+this.thumbCenterPoint.x;M=L.initPageY+H+this.thumbCenterPoint.y;this.moveThumb(E,M,I);return true;},verifyOffset:function(F){var G=B(this.getEl()),E=this.thumb;if(!this.thumbCenterPoint||!this.thumbCenterPoint.x){this.setThumbCenterPoint();}if(G){if(G[0]!=this.baselinePos[0]||G[1]!=this.baselinePos[1]){this.setInitPosition();this.baselinePos=G;E.initPageX=this.initPageX+E.startOffset[0];E.initPageY=this.initPageY+E.startOffset[1];E.deltaSetXY=null;this.resetThumbConstraints();return false;}}return true;},moveThumb:function(K,J,I,G){var L=this.thumb,M=this,F,E,H;if(!L.available){return;}L.setDelta(this.thumbCenterPoint.x,this.thumbCenterPoint.y);E=L.getTargetCoord(K,J);F=[Math.round(E.x),Math.round(E.y)];if(this.animate&&L._graduated&&!I){this.lock();this.curCoord=B(this.thumb.getEl());this.curCoord=[Math.round(this.curCoord[0]),Math.round(this.curCoord[1])];setTimeout(function(){M.moveOneTick(F);
+},this.tickPause);}else{if(this.animate&&C.ANIM_AVAIL&&!I){this.lock();H=new YAHOO.util.Motion(L.id,{points:{to:F}},this.animationDuration,YAHOO.util.Easing.easeOut);H.onComplete.subscribe(function(){M.unlock();if(!M._mouseDown){M.endMove();}});H.animate();}else{L.setDragElPos(K,J);if(!G&&!this._mouseDown){this.endMove();}}}},_slideStart:function(){if(!this._sliding){if(!this._silent){this.onSlideStart();this.fireEvent("slideStart");}this._sliding=true;}},_slideEnd:function(){if(this._sliding&&this.moveComplete){var E=this._silent;this._sliding=false;this._silent=false;this.moveComplete=false;if(!E){this.onSlideEnd();this.fireEvent("slideEnd");}}},moveOneTick:function(F){var H=this.thumb,G=this,I=null,E,J;if(H._isRegion){I=this._getNextX(this.curCoord,F);E=(I!==null)?I[0]:this.curCoord[0];I=this._getNextY(this.curCoord,F);J=(I!==null)?I[1]:this.curCoord[1];I=E!==this.curCoord[0]||J!==this.curCoord[1]?[E,J]:null;}else{if(H._isHoriz){I=this._getNextX(this.curCoord,F);}else{I=this._getNextY(this.curCoord,F);}}if(I){this.curCoord=I;this.thumb.alignElWithMouse(H.getEl(),I[0]+this.thumbCenterPoint.x,I[1]+this.thumbCenterPoint.y);if(!(I[0]==F[0]&&I[1]==F[1])){setTimeout(function(){G.moveOneTick(F);},this.tickPause);}else{this.unlock();if(!this._mouseDown){this.endMove();}}}else{this.unlock();if(!this._mouseDown){this.endMove();}}},_getNextX:function(E,F){var H=this.thumb,J,G=[],I=null;if(E[0]>F[0]){J=H.tickSize-this.thumbCenterPoint.x;G=H.getTargetCoord(E[0]-J,E[1]);I=[G.x,G.y];}else{if(E[0]<F[0]){J=H.tickSize+this.thumbCenterPoint.x;G=H.getTargetCoord(E[0]+J,E[1]);I=[G.x,G.y];}else{}}return I;},_getNextY:function(E,F){var H=this.thumb,J,G=[],I=null;if(E[1]>F[1]){J=H.tickSize-this.thumbCenterPoint.y;G=H.getTargetCoord(E[0],E[1]-J);I=[G.x,G.y];}else{if(E[1]<F[1]){J=H.tickSize+this.thumbCenterPoint.y;G=H.getTargetCoord(E[0],E[1]+J);I=[G.x,G.y];}else{}}return I;},b4MouseDown:function(E){if(!this.backgroundEnabled){return false;}this.thumb.autoOffset();this.resetThumbConstraints();},onMouseDown:function(F){if(!this.backgroundEnabled||this.isLocked()){return false;}this._mouseDown=true;var E=A.getPageX(F),G=A.getPageY(F);this.focus();this._slideStart();this.moveThumb(E,G);},onDrag:function(F){if(this.backgroundEnabled&&!this.isLocked()){var E=A.getPageX(F),G=A.getPageY(F);this.moveThumb(E,G,true,true);this.fireEvents();}},endMove:function(){this.unlock();this.fireEvents();this.moveComplete=true;this._slideEnd();},resetThumbConstraints:function(){var E=this.thumb;E.setXConstraint(E.leftConstraint,E.rightConstraint,E.xTickSize);E.setYConstraint(E.topConstraint,E.bottomConstraint,E.xTickSize);},fireEvents:function(G){var F=this.thumb,I,H,E;if(!G){F.cachePosition();}if(!this.isLocked()){if(F._isRegion){I=F.getXValue();H=F.getYValue();if(I!=this.previousX||H!=this.previousY){if(!this._silent){this.onChange(I,H);this.fireEvent("change",{x:I,y:H});}}this.previousX=I;this.previousY=H;}else{E=F.getValue();if(E!=this.previousVal){if(!this._silent){this.onChange(E);this.fireEvent("change",E);}}this.previousVal=E;}}},toString:function(){return("Slider ("+this.type+") "+this.id);}});YAHOO.lang.augmentProto(C,YAHOO.util.EventProvider);YAHOO.widget.Slider=C;})();YAHOO.widget.SliderThumb=function(G,B,E,D,A,F,C){if(G){YAHOO.widget.SliderThumb.superclass.constructor.call(this,G,B);this.parentElId=B;}this.isTarget=false;this.tickSize=C;this.maintainOffset=true;this.initSlider(E,D,A,F,C);this.scroll=false;};YAHOO.extend(YAHOO.widget.SliderThumb,YAHOO.util.DD,{startOffset:null,dragOnly:true,_isHoriz:false,_prevVal:0,_graduated:false,getOffsetFromParent0:function(C){var A=YAHOO.util.Dom.getXY(this.getEl()),B=C||YAHOO.util.Dom.getXY(this.parentElId);return[(A[0]-B[0]),(A[1]-B[1])];},getOffsetFromParent:function(H){var A=this.getEl(),E,I,F,B,K,D,C,J,G;if(!this.deltaOffset){I=YAHOO.util.Dom.getXY(A);F=H||YAHOO.util.Dom.getXY(this.parentElId);E=[(I[0]-F[0]),(I[1]-F[1])];B=parseInt(YAHOO.util.Dom.getStyle(A,"left"),10);K=parseInt(YAHOO.util.Dom.getStyle(A,"top"),10);D=B-E[0];C=K-E[1];if(isNaN(D)||isNaN(C)){}else{this.deltaOffset=[D,C];}}else{J=parseInt(YAHOO.util.Dom.getStyle(A,"left"),10);G=parseInt(YAHOO.util.Dom.getStyle(A,"top"),10);E=[J+this.deltaOffset[0],G+this.deltaOffset[1]];}return E;},initSlider:function(D,C,A,E,B){this.initLeft=D;this.initRight=C;this.initUp=A;this.initDown=E;this.setXConstraint(D,C,B);this.setYConstraint(A,E,B);if(B&&B>1){this._graduated=true;}this._isHoriz=(D||C);this._isVert=(A||E);this._isRegion=(this._isHoriz&&this._isVert);},clearTicks:function(){YAHOO.widget.SliderThumb.superclass.clearTicks.call(this);this.tickSize=0;this._graduated=false;},getValue:function(){return(this._isHoriz)?this.getXValue():this.getYValue();},getXValue:function(){if(!this.available){return 0;}var A=this.getOffsetFromParent();if(YAHOO.lang.isNumber(A[0])){this.lastOffset=A;return(A[0]-this.startOffset[0]);}else{return(this.lastOffset[0]-this.startOffset[0]);}},getYValue:function(){if(!this.available){return 0;}var A=this.getOffsetFromParent();if(YAHOO.lang.isNumber(A[1])){this.lastOffset=A;return(A[1]-this.startOffset[1]);}else{return(this.lastOffset[1]-this.startOffset[1]);}},toString:function(){return"SliderThumb "+this.id;},onChange:function(A,B){}});(function(){var A=YAHOO.util.Event,B=YAHOO.widget;function C(I,F,H,D){var G=this,J={min:false,max:false},E,K;this.minSlider=I;this.maxSlider=F;this.activeSlider=I;this.isHoriz=I.thumb._isHoriz;E=this.minSlider.thumb.onMouseDown;K=this.maxSlider.thumb.onMouseDown;this.minSlider.thumb.onMouseDown=function(){G.activeSlider=G.minSlider;E.apply(this,arguments);};this.maxSlider.thumb.onMouseDown=function(){G.activeSlider=G.maxSlider;K.apply(this,arguments);};this.minSlider.thumb.onAvailable=function(){I.setStartSliderState();J.min=true;if(J.max){G.fireEvent("ready",G);}};this.maxSlider.thumb.onAvailable=function(){F.setStartSliderState();J.max=true;if(J.min){G.fireEvent("ready",G);}};I.onMouseDown=F.onMouseDown=function(L){return this.backgroundEnabled&&G._handleMouseDown(L);
+};I.onDrag=F.onDrag=function(L){G._handleDrag(L);};I.onMouseUp=F.onMouseUp=function(L){G._handleMouseUp(L);};I._bindKeyEvents=function(){G._bindKeyEvents(this);};F._bindKeyEvents=function(){};I.subscribe("change",this._handleMinChange,I,this);I.subscribe("slideStart",this._handleSlideStart,I,this);I.subscribe("slideEnd",this._handleSlideEnd,I,this);F.subscribe("change",this._handleMaxChange,F,this);F.subscribe("slideStart",this._handleSlideStart,F,this);F.subscribe("slideEnd",this._handleSlideEnd,F,this);this.createEvent("ready",this);this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);D=YAHOO.lang.isArray(D)?D:[0,H];D[0]=Math.min(Math.max(parseInt(D[0],10)|0,0),H);D[1]=Math.max(Math.min(parseInt(D[1],10)|0,H),0);if(D[0]>D[1]){D.splice(0,2,D[1],D[0]);}this.minVal=D[0];this.maxVal=D[1];this.minSlider.setValue(this.minVal,true,true,true);this.maxSlider.setValue(this.maxVal,true,true,true);}C.prototype={minVal:-1,maxVal:-1,minRange:0,_handleSlideStart:function(E,D){this.fireEvent("slideStart",D);},_handleSlideEnd:function(E,D){this.fireEvent("slideEnd",D);},_handleDrag:function(D){B.Slider.prototype.onDrag.call(this.activeSlider,D);},_handleMinChange:function(){this.activeSlider=this.minSlider;this.updateValue();},_handleMaxChange:function(){this.activeSlider=this.maxSlider;this.updateValue();},_bindKeyEvents:function(D){A.on(D.id,"keydown",this._handleKeyDown,this,true);A.on(D.id,"keypress",this._handleKeyPress,this,true);},_handleKeyDown:function(D){this.activeSlider.handleKeyDown.apply(this.activeSlider,arguments);},_handleKeyPress:function(D){this.activeSlider.handleKeyPress.apply(this.activeSlider,arguments);},setValues:function(H,K,I,E,J){var F=this.minSlider,M=this.maxSlider,D=F.thumb,L=M.thumb,N=this,G={min:false,max:false};if(D._isHoriz){D.setXConstraint(D.leftConstraint,L.rightConstraint,D.tickSize);L.setXConstraint(D.leftConstraint,L.rightConstraint,L.tickSize);}else{D.setYConstraint(D.topConstraint,L.bottomConstraint,D.tickSize);L.setYConstraint(D.topConstraint,L.bottomConstraint,L.tickSize);}this._oneTimeCallback(F,"slideEnd",function(){G.min=true;if(G.max){N.updateValue(J);setTimeout(function(){N._cleanEvent(F,"slideEnd");N._cleanEvent(M,"slideEnd");},0);}});this._oneTimeCallback(M,"slideEnd",function(){G.max=true;if(G.min){N.updateValue(J);setTimeout(function(){N._cleanEvent(F,"slideEnd");N._cleanEvent(M,"slideEnd");},0);}});F.setValue(H,I,E,false);M.setValue(K,I,E,false);},setMinValue:function(F,H,I,E){var G=this.minSlider,D=this;this.activeSlider=G;D=this;this._oneTimeCallback(G,"slideEnd",function(){D.updateValue(E);setTimeout(function(){D._cleanEvent(G,"slideEnd");},0);});G.setValue(F,H,I);},setMaxValue:function(D,H,I,F){var G=this.maxSlider,E=this;this.activeSlider=G;this._oneTimeCallback(G,"slideEnd",function(){E.updateValue(F);setTimeout(function(){E._cleanEvent(G,"slideEnd");},0);});G.setValue(D,H,I);},updateValue:function(J){var E=this.minSlider.getValue(),K=this.maxSlider.getValue(),F=false,D,M,H,I,L,G;if(E!=this.minVal||K!=this.maxVal){F=true;D=this.minSlider.thumb;M=this.maxSlider.thumb;H=this.isHoriz?"x":"y";G=this.minSlider.thumbCenterPoint[H]+this.maxSlider.thumbCenterPoint[H];I=Math.max(K-G-this.minRange,0);L=Math.min(-E-G-this.minRange,0);if(this.isHoriz){I=Math.min(I,M.rightConstraint);D.setXConstraint(D.leftConstraint,I,D.tickSize);M.setXConstraint(L,M.rightConstraint,M.tickSize);}else{I=Math.min(I,M.bottomConstraint);D.setYConstraint(D.leftConstraint,I,D.tickSize);M.setYConstraint(L,M.bottomConstraint,M.tickSize);}}this.minVal=E;this.maxVal=K;if(F&&!J){this.fireEvent("change",this);}},selectActiveSlider:function(H){var E=this.minSlider,D=this.maxSlider,J=E.isLocked()||!E.backgroundEnabled,G=D.isLocked()||!E.backgroundEnabled,F=YAHOO.util.Event,I;if(J||G){this.activeSlider=J?D:E;}else{if(this.isHoriz){I=F.getPageX(H)-E.thumb.initPageX-E.thumbCenterPoint.x;}else{I=F.getPageY(H)-E.thumb.initPageY-E.thumbCenterPoint.y;}this.activeSlider=I*2>D.getValue()+E.getValue()?D:E;}},_handleMouseDown:function(D){if(!D._handled){D._handled=true;this.selectActiveSlider(D);return B.Slider.prototype.onMouseDown.call(this.activeSlider,D);}else{return false;}},_handleMouseUp:function(D){B.Slider.prototype.onMouseUp.apply(this.activeSlider,arguments);},_oneTimeCallback:function(F,D,E){F.subscribe(D,function(){F.unsubscribe(D,arguments.callee);E.apply({},[].slice.apply(arguments));});},_cleanEvent:function(K,E){var J,I,D,G,H,F;if(K.__yui_events&&K.events[E]){for(I=K.__yui_events.length;I>=0;--I){if(K.__yui_events[I].type===E){J=K.__yui_events[I];break;}}if(J){H=J.subscribers;F=[];G=0;for(I=0,D=H.length;I<D;++I){if(H[I]){F[G++]=H[I];}}J.subscribers=F;}}}};YAHOO.lang.augmentProto(C,YAHOO.util.EventProvider);B.Slider.getHorizDualSlider=function(H,J,K,G,F,D){var I=new B.SliderThumb(J,H,0,G,0,0,F),E=new B.SliderThumb(K,H,0,G,0,0,F);return new C(new B.Slider(H,H,I,"horiz"),new B.Slider(H,H,E,"horiz"),G,D);};B.Slider.getVertDualSlider=function(H,J,K,G,F,D){var I=new B.SliderThumb(J,H,0,0,0,G,F),E=new B.SliderThumb(K,H,0,0,0,G,F);return new B.DualSlider(new B.Slider(H,H,I,"vert"),new B.Slider(H,H,E,"vert"),G,D);};YAHOO.widget.DualSlider=C;})();YAHOO.register("slider",YAHOO.widget.Slider,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+YAHOO.util.Attribute=function(B,A){if(A){this.owner=A;this.configure(B,true);}};YAHOO.util.Attribute.prototype={name:undefined,value:null,owner:null,readOnly:false,writeOnce:false,_initialConfig:null,_written:false,method:null,setter:null,getter:null,validator:null,getValue:function(){var A=this.value;if(this.getter){A=this.getter.call(this.owner,this.name);}return A;},setValue:function(F,B){var E,A=this.owner,C=this.name;var D={type:C,prevValue:this.getValue(),newValue:F};if(this.readOnly||(this.writeOnce&&this._written)){return false;}if(this.validator&&!this.validator.call(A,F)){return false;}if(!B){E=A.fireBeforeChangeEvent(D);if(E===false){return false;}}if(this.setter){F=this.setter.call(A,F,this.name);if(F===undefined){}}if(this.method){this.method.call(A,F,this.name);}this.value=F;this._written=true;D.type=C;if(!B){this.owner.fireChangeEvent(D);}return true;},configure:function(B,C){B=B||{};if(C){this._written=false;}this._initialConfig=this._initialConfig||{};for(var A in B){if(B.hasOwnProperty(A)){this[A]=B[A];if(C){this._initialConfig[A]=B[A];}}}},resetValue:function(){return this.setValue(this._initialConfig.value);},resetConfig:function(){this.configure(this._initialConfig,true);},refresh:function(A){this.setValue(this.value,A);}};(function(){var A=YAHOO.util.Lang;YAHOO.util.AttributeProvider=function(){};YAHOO.util.AttributeProvider.prototype={_configs:null,get:function(C){this._configs=this._configs||{};var B=this._configs[C];if(!B||!this._configs.hasOwnProperty(C)){return null;}return B.getValue();},set:function(D,E,B){this._configs=this._configs||{};var C=this._configs[D];if(!C){return false;}return C.setValue(E,B);},getAttributeKeys:function(){this._configs=this._configs;var C=[],B;for(B in this._configs){if(A.hasOwnProperty(this._configs,B)&&!A.isUndefined(this._configs[B])){C[C.length]=B;}}return C;},setAttributes:function(D,B){for(var C in D){if(A.hasOwnProperty(D,C)){this.set(C,D[C],B);}}},resetValue:function(C,B){this._configs=this._configs||{};if(this._configs[C]){this.set(C,this._configs[C]._initialConfig.value,B);return true;}return false;},refresh:function(E,C){this._configs=this._configs||{};var F=this._configs;E=((A.isString(E))?[E]:E)||this.getAttributeKeys();for(var D=0,B=E.length;D<B;++D){if(F.hasOwnProperty(E[D])){this._configs[E[D]].refresh(C);}}},register:function(B,C){this.setAttributeConfig(B,C);},getAttributeConfig:function(C){this._configs=this._configs||{};var B=this._configs[C]||{};var D={};for(C in B){if(A.hasOwnProperty(B,C)){D[C]=B[C];}}return D;},setAttributeConfig:function(B,C,D){this._configs=this._configs||{};C=C||{};if(!this._configs[B]){C.name=B;this._configs[B]=this.createAttribute(C);}else{this._configs[B].configure(C,D);}},configureAttribute:function(B,C,D){this.setAttributeConfig(B,C,D);},resetAttributeConfig:function(B){this._configs=this._configs||{};this._configs[B].resetConfig();},subscribe:function(B,C){this._events=this._events||{};if(!(B in this._events)){this._events[B]=this.createEvent(B);}YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){this.subscribe.apply(this,arguments);},addListener:function(){this.subscribe.apply(this,arguments);},fireBeforeChangeEvent:function(C){var B="before";B+=C.type.charAt(0).toUpperCase()+C.type.substr(1)+"Change";C.type=B;return this.fireEvent(C.type,C);},fireChangeEvent:function(B){B.type+="Change";return this.fireEvent(B.type,B);},createAttribute:function(B){return new YAHOO.util.Attribute(B,this);}};YAHOO.augment(YAHOO.util.AttributeProvider,YAHOO.util.EventProvider);})();(function(){var B=YAHOO.util.Dom,C=YAHOO.util.AttributeProvider;var A=function(D,E){this.init.apply(this,arguments);};A.DOM_EVENTS={"click":true,"dblclick":true,"keydown":true,"keypress":true,"keyup":true,"mousedown":true,"mousemove":true,"mouseout":true,"mouseover":true,"mouseup":true,"focus":true,"blur":true,"submit":true,"change":true};A.prototype={DOM_EVENTS:null,DEFAULT_HTML_SETTER:function(F,D){var E=this.get("element");if(E){E[D]=F;}},DEFAULT_HTML_GETTER:function(D){var E=this.get("element"),F;if(E){F=E[D];}return F;},appendChild:function(D){D=D.get?D.get("element"):D;return this.get("element").appendChild(D);},getElementsByTagName:function(D){return this.get("element").getElementsByTagName(D);},hasChildNodes:function(){return this.get("element").hasChildNodes();},insertBefore:function(D,E){D=D.get?D.get("element"):D;E=(E&&E.get)?E.get("element"):E;return this.get("element").insertBefore(D,E);},removeChild:function(D){D=D.get?D.get("element"):D;return this.get("element").removeChild(D);},replaceChild:function(D,E){D=D.get?D.get("element"):D;E=E.get?E.get("element"):E;return this.get("element").replaceChild(D,E);},initAttributes:function(D){},addListener:function(H,G,I,F){var E=this.get("element")||this.get("id");F=F||this;var D=this;if(!this._events[H]){if(E&&this.DOM_EVENTS[H]){YAHOO.util.Event.addListener(E,H,function(J){if(J.srcElement&&!J.target){J.target=J.srcElement;}D.fireEvent(H,J);},I,F);}this.createEvent(H,this);}return YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){return this.addListener.apply(this,arguments);},subscribe:function(){return this.addListener.apply(this,arguments);},removeListener:function(E,D){return this.unsubscribe.apply(this,arguments);},addClass:function(D){B.addClass(this.get("element"),D);},getElementsByClassName:function(E,D){return B.getElementsByClassName(E,D,this.get("element"));},hasClass:function(D){return B.hasClass(this.get("element"),D);},removeClass:function(D){return B.removeClass(this.get("element"),D);},replaceClass:function(E,D){return B.replaceClass(this.get("element"),E,D);},setStyle:function(E,D){return B.setStyle(this.get("element"),E,D);},getStyle:function(D){return B.getStyle(this.get("element"),D);},fireQueue:function(){var E=this._queue;for(var F=0,D=E.length;F<D;++F){this[E[F][0]].apply(this,E[F][1]);}},appendTo:function(E,F){E=(E.get)?E.get("element"):B.get(E);this.fireEvent("beforeAppendTo",{type:"beforeAppendTo",target:E});
+F=(F&&F.get)?F.get("element"):B.get(F);var D=this.get("element");if(!D){return false;}if(!E){return false;}if(D.parent!=E){if(F){E.insertBefore(D,F);}else{E.appendChild(D);}}this.fireEvent("appendTo",{type:"appendTo",target:E});return D;},get:function(D){var F=this._configs||{},E=F.element;if(E&&!F[D]&&!YAHOO.lang.isUndefined(E.value[D])){this._setHTMLAttrConfig(D);}return C.prototype.get.call(this,D);},setAttributes:function(J,G){var E={},H=this._configOrder;for(var I=0,D=H.length;I<D;++I){if(J[H[I]]!==undefined){E[H[I]]=true;this.set(H[I],J[H[I]],G);}}for(var F in J){if(J.hasOwnProperty(F)&&!E[F]){this.set(F,J[F],G);}}},set:function(E,G,D){var F=this.get("element");if(!F){this._queue[this._queue.length]=["set",arguments];if(this._configs[E]){this._configs[E].value=G;}return;}if(!this._configs[E]&&!YAHOO.lang.isUndefined(F[E])){this._setHTMLAttrConfig(E);}return C.prototype.set.apply(this,arguments);},setAttributeConfig:function(D,E,F){this._configOrder.push(D);C.prototype.setAttributeConfig.apply(this,arguments);},createEvent:function(E,D){this._events[E]=true;return C.prototype.createEvent.apply(this,arguments);},init:function(E,D){this._initElement(E,D);},destroy:function(){var D=this.get("element");YAHOO.util.Event.purgeElement(D,true);this.unsubscribeAll();if(D&&D.parentNode){D.parentNode.removeChild(D);}this._queue=[];this._events={};this._configs={};this._configOrder=[];},_initElement:function(F,E){this._queue=this._queue||[];this._events=this._events||{};this._configs=this._configs||{};this._configOrder=[];E=E||{};E.element=E.element||F||null;var H=false;var D=A.DOM_EVENTS;this.DOM_EVENTS=this.DOM_EVENTS||{};for(var G in D){if(D.hasOwnProperty(G)){this.DOM_EVENTS[G]=D[G];}}if(typeof E.element==="string"){this._setHTMLAttrConfig("id",{value:E.element});}if(B.get(E.element)){H=true;this._initHTMLElement(E);this._initContent(E);}YAHOO.util.Event.onAvailable(E.element,function(){if(!H){this._initHTMLElement(E);}this.fireEvent("available",{type:"available",target:B.get(E.element)});},this,true);YAHOO.util.Event.onContentReady(E.element,function(){if(!H){this._initContent(E);}this.fireEvent("contentReady",{type:"contentReady",target:B.get(E.element)});},this,true);},_initHTMLElement:function(D){this.setAttributeConfig("element",{value:B.get(D.element),readOnly:true});},_initContent:function(D){this.initAttributes(D);this.setAttributes(D,true);this.fireQueue();},_setHTMLAttrConfig:function(D,F){var E=this.get("element");F=F||{};F.name=D;F.setter=F.setter||this.DEFAULT_HTML_SETTER;F.getter=F.getter||this.DEFAULT_HTML_GETTER;F.value=F.value||E[D];this._configs[D]=new YAHOO.util.Attribute(F,this);}};YAHOO.augment(A,C);YAHOO.util.Element=A;})();YAHOO.register("element",YAHOO.util.Element,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+YAHOO.util.Color=function(){var A="0",B=YAHOO.lang.isArray,C=YAHOO.lang.isNumber;return{real2dec:function(D){return Math.min(255,Math.round(D*256));},hsv2rgb:function(H,O,M){if(B(H)){return this.hsv2rgb.call(this,H[0],H[1],H[2]);}var D,I,L,G=Math.floor((H/60)%6),J=(H/60)-G,F=M*(1-O),E=M*(1-J*O),N=M*(1-(1-J)*O),K;switch(G){case 0:D=M;I=N;L=F;break;case 1:D=E;I=M;L=F;break;case 2:D=F;I=M;L=N;break;case 3:D=F;I=E;L=M;break;case 4:D=N;I=F;L=M;break;case 5:D=M;I=F;L=E;break;}K=this.real2dec;return[K(D),K(I),K(L)];},rgb2hsv:function(D,H,I){if(B(D)){return this.rgb2hsv.apply(this,D);}D/=255;H/=255;I/=255;var G,L,E=Math.min(Math.min(D,H),I),J=Math.max(Math.max(D,H),I),K=J-E,F;switch(J){case E:G=0;break;case D:G=60*(H-I)/K;if(H<I){G+=360;}break;case H:G=(60*(I-D)/K)+120;break;case I:G=(60*(D-H)/K)+240;break;}L=(J===0)?0:1-(E/J);F=[Math.round(G),L,J];return F;},rgb2hex:function(F,E,D){if(B(F)){return this.rgb2hex.apply(this,F);}var G=this.dec2hex;return G(F)+G(E)+G(D);},dec2hex:function(D){D=parseInt(D,10)|0;D=(D>255||D<0)?0:D;return(A+D.toString(16)).slice(-2).toUpperCase();},hex2dec:function(D){return parseInt(D,16);},hex2rgb:function(D){var E=this.hex2dec;return[E(D.slice(0,2)),E(D.slice(2,4)),E(D.slice(4,6))];},websafe:function(F,E,D){if(B(F)){return this.websafe.apply(this,F);}var G=function(H){if(C(H)){H=Math.min(Math.max(0,H),255);var I,J;for(I=0;I<256;I=I+51){J=I+51;if(H>=I&&H<=J){return(H-I>25)?J:I;}}}return H;};return[G(F),G(E),G(D)];}};}();(function(){var J=0,F=YAHOO.util,C=YAHOO.lang,D=YAHOO.widget.Slider,B=F.Color,E=F.Dom,I=F.Event,A=C.substitute,H="yui-picker";function G(L,K){J=J+1;K=K||{};if(arguments.length===1&&!YAHOO.lang.isString(L)&&!L.nodeName){K=L;L=K.element||null;}if(!L&&!K.element){L=this._createHostElement(K);}G.superclass.constructor.call(this,L,K);this.initPicker();}YAHOO.extend(G,YAHOO.util.Element,{ID:{R:H+"-r",R_HEX:H+"-rhex",G:H+"-g",G_HEX:H+"-ghex",B:H+"-b",B_HEX:H+"-bhex",H:H+"-h",S:H+"-s",V:H+"-v",PICKER_BG:H+"-bg",PICKER_THUMB:H+"-thumb",HUE_BG:H+"-hue-bg",HUE_THUMB:H+"-hue-thumb",HEX:H+"-hex",SWATCH:H+"-swatch",WEBSAFE_SWATCH:H+"-websafe-swatch",CONTROLS:H+"-controls",RGB_CONTROLS:H+"-rgb-controls",HSV_CONTROLS:H+"-hsv-controls",HEX_CONTROLS:H+"-hex-controls",HEX_SUMMARY:H+"-hex-summary",CONTROLS_LABEL:H+"-controls-label"},TXT:{ILLEGAL_HEX:"Illegal hex value entered",SHOW_CONTROLS:"Show color details",HIDE_CONTROLS:"Hide color details",CURRENT_COLOR:"Currently selected color: {rgb}",CLOSEST_WEBSAFE:"Closest websafe color: {rgb}. Click to select.",R:"R",G:"G",B:"B",H:"H",S:"S",V:"V",HEX:"#",DEG:"\u00B0",PERCENT:"%"},IMAGE:{PICKER_THUMB:"../../build/colorpicker/assets/picker_thumb.png",HUE_THUMB:"../../build/colorpicker/assets/hue_thumb.png"},DEFAULT:{PICKER_SIZE:180},OPT:{HUE:"hue",SATURATION:"saturation",VALUE:"value",RED:"red",GREEN:"green",BLUE:"blue",HSV:"hsv",RGB:"rgb",WEBSAFE:"websafe",HEX:"hex",PICKER_SIZE:"pickersize",SHOW_CONTROLS:"showcontrols",SHOW_RGB_CONTROLS:"showrgbcontrols",SHOW_HSV_CONTROLS:"showhsvcontrols",SHOW_HEX_CONTROLS:"showhexcontrols",SHOW_HEX_SUMMARY:"showhexsummary",SHOW_WEBSAFE:"showwebsafe",CONTAINER:"container",IDS:"ids",ELEMENTS:"elements",TXT:"txt",IMAGES:"images",ANIMATE:"animate"},skipAnim:true,_createHostElement:function(){var K=document.createElement("div");if(this.CSS.BASE){K.className=this.CSS.BASE;}return K;},_updateHueSlider:function(){var K=this.get(this.OPT.PICKER_SIZE),L=this.get(this.OPT.HUE);L=K-Math.round(L/360*K);if(L===K){L=0;}this.hueSlider.setValue(L,this.skipAnim);},_updatePickerSlider:function(){var L=this.get(this.OPT.PICKER_SIZE),M=this.get(this.OPT.SATURATION),K=this.get(this.OPT.VALUE);M=Math.round(M*L/100);K=Math.round(L-(K*L/100));this.pickerSlider.setRegionValue(M,K,this.skipAnim);},_updateSliders:function(){this._updateHueSlider();this._updatePickerSlider();},setValue:function(L,K){K=(K)||false;this.set(this.OPT.RGB,L,K);this._updateSliders();},hueSlider:null,pickerSlider:null,_getH:function(){var K=this.get(this.OPT.PICKER_SIZE),L=(K-this.hueSlider.getValue())/K;L=Math.round(L*360);return(L===360)?0:L;},_getS:function(){return this.pickerSlider.getXValue()/this.get(this.OPT.PICKER_SIZE);},_getV:function(){var K=this.get(this.OPT.PICKER_SIZE);return(K-this.pickerSlider.getYValue())/K;},_updateSwatch:function(){var M=this.get(this.OPT.RGB),O=this.get(this.OPT.WEBSAFE),N=this.getElement(this.ID.SWATCH),L=M.join(","),K=this.get(this.OPT.TXT);E.setStyle(N,"background-color","rgb("+L+")");N.title=A(K.CURRENT_COLOR,{"rgb":"#"+this.get(this.OPT.HEX)});N=this.getElement(this.ID.WEBSAFE_SWATCH);L=O.join(",");E.setStyle(N,"background-color","rgb("+L+")");N.title=A(K.CLOSEST_WEBSAFE,{"rgb":"#"+B.rgb2hex(O)});},_getValuesFromSliders:function(){this.set(this.OPT.RGB,B.hsv2rgb(this._getH(),this._getS(),this._getV()));},_updateFormFields:function(){this.getElement(this.ID.H).value=this.get(this.OPT.HUE);this.getElement(this.ID.S).value=this.get(this.OPT.SATURATION);this.getElement(this.ID.V).value=this.get(this.OPT.VALUE);this.getElement(this.ID.R).value=this.get(this.OPT.RED);this.getElement(this.ID.R_HEX).innerHTML=B.dec2hex(this.get(this.OPT.RED));this.getElement(this.ID.G).value=this.get(this.OPT.GREEN);this.getElement(this.ID.G_HEX).innerHTML=B.dec2hex(this.get(this.OPT.GREEN));this.getElement(this.ID.B).value=this.get(this.OPT.BLUE);this.getElement(this.ID.B_HEX).innerHTML=B.dec2hex(this.get(this.OPT.BLUE));this.getElement(this.ID.HEX).value=this.get(this.OPT.HEX);},_onHueSliderChange:function(N){var L=this._getH(),K=B.hsv2rgb(L,1,1),M="rgb("+K.join(",")+")";this.set(this.OPT.HUE,L,true);E.setStyle(this.getElement(this.ID.PICKER_BG),"background-color",M);if(this.hueSlider.valueChangeSource!==D.SOURCE_SET_VALUE){this._getValuesFromSliders();}this._updateFormFields();this._updateSwatch();},_onPickerSliderChange:function(M){var L=this._getS(),K=this._getV();this.set(this.OPT.SATURATION,Math.round(L*100),true);this.set(this.OPT.VALUE,Math.round(K*100),true);if(this.pickerSlider.valueChangeSource!==D.SOURCE_SET_VALUE){this._getValuesFromSliders();
+}this._updateFormFields();this._updateSwatch();},_getCommand:function(K){var L=I.getCharCode(K);if(L===38){return 3;}else{if(L===13){return 6;}else{if(L===40){return 4;}else{if(L>=48&&L<=57){return 1;}else{if(L>=97&&L<=102){return 2;}else{if(L>=65&&L<=70){return 2;}else{if("8, 9, 13, 27, 37, 39".indexOf(L)>-1||K.ctrlKey||K.metaKey){return 5;}else{return 0;}}}}}}}},_useFieldValue:function(L,K,N){var M=K.value;if(N!==this.OPT.HEX){M=parseInt(M,10);}if(M!==this.get(N)){this.set(N,M);}},_rgbFieldKeypress:function(M,K,O){var N=this._getCommand(M),L=(M.shiftKey)?10:1;switch(N){case 6:this._useFieldValue.apply(this,arguments);break;case 3:this.set(O,Math.min(this.get(O)+L,255));this._updateFormFields();break;case 4:this.set(O,Math.max(this.get(O)-L,0));this._updateFormFields();break;default:}},_hexFieldKeypress:function(L,K,N){var M=this._getCommand(L);if(M===6){this._useFieldValue.apply(this,arguments);}},_hexOnly:function(L,K){var M=this._getCommand(L);switch(M){case 6:case 5:case 1:break;case 2:if(K!==true){break;}default:I.stopEvent(L);return false;}},_numbersOnly:function(K){return this._hexOnly(K,true);},getElement:function(K){return this.get(this.OPT.ELEMENTS)[this.get(this.OPT.IDS)[K]];},_createElements:function(){var N,M,P,O,L,K=this.get(this.OPT.IDS),Q=this.get(this.OPT.TXT),S=this.get(this.OPT.IMAGES),R=function(U,V){var W=document.createElement(U);if(V){C.augmentObject(W,V,true);}return W;},T=function(U,V){var W=C.merge({autocomplete:"off",value:"0",size:3,maxlength:3},V);W.name=W.id;return new R(U,W);};L=this.get("element");N=new R("div",{id:K[this.ID.PICKER_BG],className:"yui-picker-bg",tabIndex:-1,hideFocus:true});M=new R("div",{id:K[this.ID.PICKER_THUMB],className:"yui-picker-thumb"});P=new R("img",{src:S.PICKER_THUMB});M.appendChild(P);N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.HUE_BG],className:"yui-picker-hue-bg",tabIndex:-1,hideFocus:true});M=new R("div",{id:K[this.ID.HUE_THUMB],className:"yui-picker-hue-thumb"});P=new R("img",{src:S.HUE_THUMB});M.appendChild(P);N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.CONTROLS],className:"yui-picker-controls"});L.appendChild(N);L=N;N=new R("div",{className:"hd"});M=new R("a",{id:K[this.ID.CONTROLS_LABEL],href:"#"});N.appendChild(M);L.appendChild(N);N=new R("div",{className:"bd"});L.appendChild(N);L=N;N=new R("ul",{id:K[this.ID.RGB_CONTROLS],className:"yui-picker-rgb-controls"});M=new R("li");M.appendChild(document.createTextNode(Q.R+" "));O=new T("input",{id:K[this.ID.R],className:"yui-picker-r"});M.appendChild(O);N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.G+" "));O=new T("input",{id:K[this.ID.G],className:"yui-picker-g"});M.appendChild(O);N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.B+" "));O=new T("input",{id:K[this.ID.B],className:"yui-picker-b"});M.appendChild(O);N.appendChild(M);L.appendChild(N);N=new R("ul",{id:K[this.ID.HSV_CONTROLS],className:"yui-picker-hsv-controls"});M=new R("li");M.appendChild(document.createTextNode(Q.H+" "));O=new T("input",{id:K[this.ID.H],className:"yui-picker-h"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.DEG));N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.S+" "));O=new T("input",{id:K[this.ID.S],className:"yui-picker-s"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.PERCENT));N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.V+" "));O=new T("input",{id:K[this.ID.V],className:"yui-picker-v"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.PERCENT));N.appendChild(M);L.appendChild(N);N=new R("ul",{id:K[this.ID.HEX_SUMMARY],className:"yui-picker-hex_summary"});M=new R("li",{id:K[this.ID.R_HEX]});N.appendChild(M);M=new R("li",{id:K[this.ID.G_HEX]});N.appendChild(M);M=new R("li",{id:K[this.ID.B_HEX]});N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.HEX_CONTROLS],className:"yui-picker-hex-controls"});N.appendChild(document.createTextNode(Q.HEX+" "));M=new T("input",{id:K[this.ID.HEX],className:"yui-picker-hex",size:6,maxlength:6});N.appendChild(M);L.appendChild(N);L=this.get("element");N=new R("div",{id:K[this.ID.SWATCH],className:"yui-picker-swatch"});L.appendChild(N);N=new R("div",{id:K[this.ID.WEBSAFE_SWATCH],className:"yui-picker-websafe-swatch"});L.appendChild(N);},_attachRGBHSV:function(L,K){I.on(this.getElement(L),"keydown",function(N,M){M._rgbFieldKeypress(N,this,K);},this);I.on(this.getElement(L),"keypress",this._numbersOnly,this,true);I.on(this.getElement(L),"blur",function(N,M){M._useFieldValue(N,this,K);},this);},_updateRGB:function(){var K=[this.get(this.OPT.RED),this.get(this.OPT.GREEN),this.get(this.OPT.BLUE)];this.set(this.OPT.RGB,K);this._updateSliders();},_initElements:function(){var O=this.OPT,N=this.get(O.IDS),L=this.get(O.ELEMENTS),K,M,P;for(K in this.ID){if(C.hasOwnProperty(this.ID,K)){N[this.ID[K]]=N[K];}}M=E.get(N[this.ID.PICKER_BG]);if(!M){this._createElements();}else{}for(K in N){if(C.hasOwnProperty(N,K)){M=E.get(N[K]);P=E.generateId(M);N[K]=P;N[N[K]]=P;L[P]=M;}}},initPicker:function(){this._initSliders();this._bindUI();this.syncUI(true);},_initSliders:function(){var K=this.ID,L=this.get(this.OPT.PICKER_SIZE);this.hueSlider=D.getVertSlider(this.getElement(K.HUE_BG),this.getElement(K.HUE_THUMB),0,L);this.pickerSlider=D.getSliderRegion(this.getElement(K.PICKER_BG),this.getElement(K.PICKER_THUMB),0,L,0,L);this.set(this.OPT.ANIMATE,this.get(this.OPT.ANIMATE));},_bindUI:function(){var K=this.ID,L=this.OPT;this.hueSlider.subscribe("change",this._onHueSliderChange,this,true);this.pickerSlider.subscribe("change",this._onPickerSliderChange,this,true);I.on(this.getElement(K.WEBSAFE_SWATCH),"click",function(M){this.setValue(this.get(L.WEBSAFE));},this,true);I.on(this.getElement(K.CONTROLS_LABEL),"click",function(M){this.set(L.SHOW_CONTROLS,!this.get(L.SHOW_CONTROLS));I.preventDefault(M);},this,true);this._attachRGBHSV(K.R,L.RED);this._attachRGBHSV(K.G,L.GREEN);this._attachRGBHSV(K.B,L.BLUE);this._attachRGBHSV(K.H,L.HUE);
+this._attachRGBHSV(K.S,L.SATURATION);this._attachRGBHSV(K.V,L.VALUE);I.on(this.getElement(K.HEX),"keydown",function(N,M){M._hexFieldKeypress(N,this,L.HEX);},this);I.on(this.getElement(this.ID.HEX),"keypress",this._hexOnly,this,true);I.on(this.getElement(this.ID.HEX),"blur",function(N,M){M._useFieldValue(N,this,L.HEX);},this);},syncUI:function(K){this.skipAnim=K;this._updateRGB();this.skipAnim=false;},_updateRGBFromHSV:function(){var L=[this.get(this.OPT.HUE),this.get(this.OPT.SATURATION)/100,this.get(this.OPT.VALUE)/100],K=B.hsv2rgb(L);this.set(this.OPT.RGB,K);this._updateSliders();},_updateHex:function(){var N=this.get(this.OPT.HEX),K=N.length,O,M,L;if(K===3){O=N.split("");for(M=0;M<K;M=M+1){O[M]=O[M]+O[M];}N=O.join("");}if(N.length!==6){return false;}L=B.hex2rgb(N);this.setValue(L);},_hideShowEl:function(M,K){var L=(C.isString(M)?this.getElement(M):M);E.setStyle(L,"display",(K)?"":"none");},initAttributes:function(K){K=K||{};G.superclass.initAttributes.call(this,K);this.setAttributeConfig(this.OPT.PICKER_SIZE,{value:K.size||this.DEFAULT.PICKER_SIZE});this.setAttributeConfig(this.OPT.HUE,{value:K.hue||0,validator:C.isNumber});this.setAttributeConfig(this.OPT.SATURATION,{value:K.saturation||0,validator:C.isNumber});this.setAttributeConfig(this.OPT.VALUE,{value:C.isNumber(K.value)?K.value:100,validator:C.isNumber});this.setAttributeConfig(this.OPT.RED,{value:C.isNumber(K.red)?K.red:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.GREEN,{value:C.isNumber(K.green)?K.green:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.BLUE,{value:C.isNumber(K.blue)?K.blue:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.HEX,{value:K.hex||"FFFFFF",validator:C.isString});this.setAttributeConfig(this.OPT.RGB,{value:K.rgb||[255,255,255],method:function(O){this.set(this.OPT.RED,O[0],true);this.set(this.OPT.GREEN,O[1],true);this.set(this.OPT.BLUE,O[2],true);var Q=B.websafe(O),P=B.rgb2hex(O),N=B.rgb2hsv(O);this.set(this.OPT.WEBSAFE,Q,true);this.set(this.OPT.HEX,P,true);if(N[1]){this.set(this.OPT.HUE,N[0],true);}this.set(this.OPT.SATURATION,Math.round(N[1]*100),true);this.set(this.OPT.VALUE,Math.round(N[2]*100),true);},readonly:true});this.setAttributeConfig(this.OPT.CONTAINER,{value:null,method:function(N){if(N){N.showEvent.subscribe(function(){this.pickerSlider.focus();},this,true);}}});this.setAttributeConfig(this.OPT.WEBSAFE,{value:K.websafe||[255,255,255]});var M=K.ids||C.merge({},this.ID),L;if(!K.ids&&J>1){for(L in M){if(C.hasOwnProperty(M,L)){M[L]=M[L]+J;}}}this.setAttributeConfig(this.OPT.IDS,{value:M,writeonce:true});this.setAttributeConfig(this.OPT.TXT,{value:K.txt||this.TXT,writeonce:true});this.setAttributeConfig(this.OPT.IMAGES,{value:K.images||this.IMAGE,writeonce:true});this.setAttributeConfig(this.OPT.ELEMENTS,{value:{},readonly:true});this.setAttributeConfig(this.OPT.SHOW_CONTROLS,{value:C.isBoolean(K.showcontrols)?K.showcontrols:true,method:function(N){var O=E.getElementsByClassName("bd","div",this.getElement(this.ID.CONTROLS))[0];this._hideShowEl(O,N);this.getElement(this.ID.CONTROLS_LABEL).innerHTML=(N)?this.get(this.OPT.TXT).HIDE_CONTROLS:this.get(this.OPT.TXT).SHOW_CONTROLS;}});this.setAttributeConfig(this.OPT.SHOW_RGB_CONTROLS,{value:C.isBoolean(K.showrgbcontrols)?K.showrgbcontrols:true,method:function(N){this._hideShowEl(this.ID.RGB_CONTROLS,N);}});this.setAttributeConfig(this.OPT.SHOW_HSV_CONTROLS,{value:C.isBoolean(K.showhsvcontrols)?K.showhsvcontrols:false,method:function(N){this._hideShowEl(this.ID.HSV_CONTROLS,N);if(N&&this.get(this.OPT.SHOW_HEX_SUMMARY)){this.set(this.OPT.SHOW_HEX_SUMMARY,false);}}});this.setAttributeConfig(this.OPT.SHOW_HEX_CONTROLS,{value:C.isBoolean(K.showhexcontrols)?K.showhexcontrols:false,method:function(N){this._hideShowEl(this.ID.HEX_CONTROLS,N);}});this.setAttributeConfig(this.OPT.SHOW_WEBSAFE,{value:C.isBoolean(K.showwebsafe)?K.showwebsafe:true,method:function(N){this._hideShowEl(this.ID.WEBSAFE_SWATCH,N);}});this.setAttributeConfig(this.OPT.SHOW_HEX_SUMMARY,{value:C.isBoolean(K.showhexsummary)?K.showhexsummary:true,method:function(N){this._hideShowEl(this.ID.HEX_SUMMARY,N);if(N&&this.get(this.OPT.SHOW_HSV_CONTROLS)){this.set(this.OPT.SHOW_HSV_CONTROLS,false);}}});this.setAttributeConfig(this.OPT.ANIMATE,{value:C.isBoolean(K.animate)?K.animate:true,method:function(N){if(this.pickerSlider){this.pickerSlider.animate=N;this.hueSlider.animate=N;}}});this.on(this.OPT.HUE+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.SATURATION+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.VALUE+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.RED+"Change",this._updateRGB,this,true);this.on(this.OPT.GREEN+"Change",this._updateRGB,this,true);this.on(this.OPT.BLUE+"Change",this._updateRGB,this,true);this.on(this.OPT.HEX+"Change",this._updateHex,this,true);this._initElements();}});YAHOO.widget.ColorPicker=G;})();YAHOO.register("colorpicker",YAHOO.widget.ColorPicker,{version:"2.7.0",build:"1796"});
+
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+(function(){var B=YAHOO.util;var A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+": "+D);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(C,E,D){return this.method(this.currentFrame,E,D-E,this.totalFrames);},setAttribute:function(C,F,E){var D=this.getEl();if(this.patterns.noNegatives.test(C)){F=(F>0)?F:0;}if("style" in D){B.Dom.setStyle(D,C,F+E);}else{if(C in D){D[C]=F;}}},getAttribute:function(C){var E=this.getEl();var G=B.Dom.getStyle(E,C);if(G!=="auto"&&!this.patterns.offsetUnit.test(G)){return parseFloat(G);}var D=this.patterns.offsetAttribute.exec(C)||[];var H=!!(D[3]);var F=!!(D[2]);if("style" in E){if(F||(B.Dom.getStyle(E,"position")=="absolute"&&H)){G=E["offset"+D[0].charAt(0).toUpperCase()+D[0].substr(1)];}else{G=0;}}else{if(C in E){G=E[C];}}return G;},getDefaultUnit:function(C){if(this.patterns.defaultUnit.test(C)){return"px";}return"";},setRuntimeAttribute:function(D){var I;var E;var F=this.attributes;this.runtimeAttributes[D]={};var H=function(J){return(typeof J!=="undefined");};if(!H(F[D]["to"])&&!H(F[D]["by"])){return false;}I=(H(F[D]["from"]))?F[D]["from"]:this.getAttribute(D);if(H(F[D]["to"])){E=F[D]["to"];}else{if(H(F[D]["by"])){if(I.constructor==Array){E=[];for(var G=0,C=I.length;G<C;++G){E[G]=I[G]+F[D]["by"][G]*1;}}else{E=I+F[D]["by"]*1;}}}this.runtimeAttributes[D].start=I;this.runtimeAttributes[D].end=E;this.runtimeAttributes[D].unit=(H(F[D].unit))?F[D]["unit"]:this.getDefaultUnit(D);return true;},init:function(E,J,I,C){var D=false;var F=null;var H=0;E=B.Dom.get(E);this.attributes=J||{};this.duration=!YAHOO.lang.isUndefined(I)?I:1;this.method=C||B.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=B.AnimMgr.fps;this.setEl=function(M){E=B.Dom.get(M);};this.getEl=function(){return E;};this.isAnimated=function(){return D;};this.getStartTime=function(){return F;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(B.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds){this.totalFrames=1;}B.AnimMgr.registerElement(this);return true;};this.stop=function(M){if(!this.isAnimated()){return false;}if(M){this.currentFrame=this.totalFrames;this._onTween.fire();}B.AnimMgr.stop(this);};var L=function(){this.onStart.fire();this.runtimeAttributes={};for(var M in this.attributes){this.setRuntimeAttribute(M);}D=true;H=0;F=new Date();};var K=function(){var O={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};O.toString=function(){return("duration: "+O.duration+", currentFrame: "+O.currentFrame);};this.onTween.fire(O);var N=this.runtimeAttributes;for(var M in N){this.setAttribute(M,this.doMethod(M,N[M].start,N[M].end),N[M].unit);}H+=1;};var G=function(){var M=(new Date()-F)/1000;var N={duration:M,frames:H,fps:H/M};N.toString=function(){return("duration: "+N.duration+", frames: "+N.frames+", fps: "+N.fps);};D=false;H=0;this.onComplete.fire(N);};this._onStart=new B.CustomEvent("_start",this,true);this.onStart=new B.CustomEvent("start",this);this.onTween=new B.CustomEvent("tween",this);this._onTween=new B.CustomEvent("_tween",this,true);this.onComplete=new B.CustomEvent("complete",this);this._onComplete=new B.CustomEvent("_complete",this,true);this._onStart.subscribe(L);this._onTween.subscribe(K);this._onComplete.subscribe(G);}};B.Anim=A;})();YAHOO.util.AnimMgr=new function(){var C=null;var B=[];var A=0;this.fps=1000;this.delay=1;this.registerElement=function(F){B[B.length]=F;A+=1;F._onStart.fire();this.start();};this.unRegister=function(G,F){F=F||E(G);if(!G.isAnimated()||F==-1){return false;}G._onComplete.fire();B.splice(F,1);A-=1;if(A<=0){this.stop();}return true;};this.start=function(){if(C===null){C=setInterval(this.run,this.delay);}};this.stop=function(H){if(!H){clearInterval(C);for(var G=0,F=B.length;G<F;++G){this.unRegister(B[0],0);}B=[];C=null;A=0;}else{this.unRegister(H);}};this.run=function(){for(var H=0,F=B.length;H<F;++H){var G=B[H];if(!G||!G.isAnimated()){continue;}if(G.currentFrame<G.totalFrames||G.totalFrames===null){G.currentFrame+=1;if(G.useSeconds){D(G);}G._onTween.fire();}else{YAHOO.util.AnimMgr.stop(G,H);}}};var E=function(H){for(var G=0,F=B.length;G<F;++G){if(B[G]==H){return G;}}return -1;};var D=function(G){var J=G.totalFrames;var I=G.currentFrame;var H=(G.currentFrame*G.duration*1000/G.totalFrames);var F=(new Date()-G.getStartTime());var K=0;if(F<G.duration*1000){K=Math.round((F/H-1)*G.currentFrame);}else{K=J-(I+1);}if(K>0&&isFinite(K)){if(G.currentFrame+K>=J){K=J-(I+1);}G.currentFrame+=K;}};};YAHOO.util.Bezier=new function(){this.getPosition=function(E,D){var F=E.length;var C=[];for(var B=0;B<F;++B){C[B]=[E[B][0],E[B][1]];}for(var A=1;A<F;++A){for(B=0;B<F-A;++B){C[B][0]=(1-D)*C[B][0]+D*C[parseInt(B+1,10)][0];C[B][1]=(1-D)*C[B][1]+D*C[parseInt(B+1,10)][1];}}return[C[0][0],C[0][1]];};};(function(){var A=function(F,E,G,H){A.superclass.constructor.call(this,F,E,G,H);};A.NAME="ColorAnim";A.DEFAULT_BGCOLOR="#fff";var C=YAHOO.util;YAHOO.extend(A,C.Anim);var D=A.superclass;var B=A.prototype;B.patterns.color=/color$/i;B.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;B.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;B.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;B.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;B.parseColor=function(E){if(E.length==3){return E;}var F=this.patterns.hex.exec(E);if(F&&F.length==4){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)];}F=this.patterns.rgb.exec(E);if(F&&F.length==4){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)];}F=this.patterns.hex3.exec(E);if(F&&F.length==4){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)];
+}return null;};B.getAttribute=function(E){var G=this.getEl();if(this.patterns.color.test(E)){var I=YAHOO.util.Dom.getStyle(G,E);var H=this;if(this.patterns.transparent.test(I)){var F=YAHOO.util.Dom.getAncestorBy(G,function(J){return !H.patterns.transparent.test(I);});if(F){I=C.Dom.getStyle(F,E);}else{I=A.DEFAULT_BGCOLOR;}}}else{I=D.getAttribute.call(this,E);}return I;};B.doMethod=function(F,J,G){var I;if(this.patterns.color.test(F)){I=[];for(var H=0,E=J.length;H<E;++H){I[H]=D.doMethod.call(this,F,J[H],G[H]);}I="rgb("+Math.floor(I[0])+","+Math.floor(I[1])+","+Math.floor(I[2])+")";}else{I=D.doMethod.call(this,F,J,G);}return I;};B.setRuntimeAttribute=function(F){D.setRuntimeAttribute.call(this,F);if(this.patterns.color.test(F)){var H=this.attributes;var J=this.parseColor(this.runtimeAttributes[F].start);var G=this.parseColor(this.runtimeAttributes[F].end);if(typeof H[F]["to"]==="undefined"&&typeof H[F]["by"]!=="undefined"){G=this.parseColor(H[F].by);for(var I=0,E=J.length;I<E;++I){G[I]=J[I]+G[I];}}this.runtimeAttributes[F].start=J;this.runtimeAttributes[F].end=G;}};C.ColorAnim=A;})();
+/*
+TERMS OF USE - EASING EQUATIONS
+Open source under the BSD License.
+Copyright 2001 Robert Penner All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+YAHOO.util.Easing={easeNone:function(B,A,D,C){return D*B/C+A;},easeIn:function(B,A,D,C){return D*(B/=C)*B+A;},easeOut:function(B,A,D,C){return -D*(B/=C)*(B-2)+A;},easeBoth:function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B+A;}return -D/2*((--B)*(B-2)-1)+A;},easeInStrong:function(B,A,D,C){return D*(B/=C)*B*B*B+A;},easeOutStrong:function(B,A,D,C){return -D*((B=B/C-1)*B*B*B-1)+A;},easeBothStrong:function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B*B*B+A;}return -D/2*((B-=2)*B*B*B-2)+A;},elasticIn:function(C,A,G,F,B,E){if(C==0){return A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return -(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;},elasticOut:function(C,A,G,F,B,E){if(C==0){return A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return B*Math.pow(2,-10*C)*Math.sin((C*F-D)*(2*Math.PI)/E)+G+A;},elasticBoth:function(C,A,G,F,B,E){if(C==0){return A;}if((C/=F/2)==2){return A+G;}if(!E){E=F*(0.3*1.5);}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}if(C<1){return -0.5*(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;}return B*Math.pow(2,-10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E)*0.5+G+A;},backIn:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}return E*(B/=D)*B*((C+1)*B-C)+A;},backOut:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}return E*((B=B/D-1)*B*((C+1)*B+C)+1)+A;},backBoth:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}if((B/=D/2)<1){return E/2*(B*B*(((C*=(1.525))+1)*B-C))+A;}return E/2*((B-=2)*B*(((C*=(1.525))+1)*B+C)+2)+A;},bounceIn:function(B,A,D,C){return D-YAHOO.util.Easing.bounceOut(C-B,0,D,C)+A;},bounceOut:function(B,A,D,C){if((B/=C)<(1/2.75)){return D*(7.5625*B*B)+A;}else{if(B<(2/2.75)){return D*(7.5625*(B-=(1.5/2.75))*B+0.75)+A;}else{if(B<(2.5/2.75)){return D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+A;}}}return D*(7.5625*(B-=(2.625/2.75))*B+0.984375)+A;},bounceBoth:function(B,A,D,C){if(B<C/2){return YAHOO.util.Easing.bounceIn(B*2,0,D,C)*0.5+A;}return YAHOO.util.Easing.bounceOut(B*2-C,0,D,C)*0.5+D*0.5+A;}};(function(){var A=function(H,G,I,J){if(H){A.superclass.constructor.call(this,H,G,I,J);}};A.NAME="Motion";var E=YAHOO.util;YAHOO.extend(A,E.ColorAnim);var F=A.superclass;var C=A.prototype;C.patterns.points=/^points$/i;C.setAttribute=function(G,I,H){if(this.patterns.points.test(G)){H=H||"px";F.setAttribute.call(this,"left",I[0],H);F.setAttribute.call(this,"top",I[1],H);}else{F.setAttribute.call(this,G,I,H);}};C.getAttribute=function(G){if(this.patterns.points.test(G)){var H=[F.getAttribute.call(this,"left"),F.getAttribute.call(this,"top")];}else{H=F.getAttribute.call(this,G);}return H;};C.doMethod=function(G,K,H){var J=null;if(this.patterns.points.test(G)){var I=this.method(this.currentFrame,0,100,this.totalFrames)/100;J=E.Bezier.getPosition(this.runtimeAttributes[G],I);}else{J=F.doMethod.call(this,G,K,H);}return J;};C.setRuntimeAttribute=function(P){if(this.patterns.points.test(P)){var H=this.getEl();var J=this.attributes;var G;var L=J["points"]["control"]||[];var I;var M,O;if(L.length>0&&!(L[0] instanceof Array)){L=[L];}else{var K=[];for(M=0,O=L.length;M<O;++M){K[M]=L[M];}L=K;}if(E.Dom.getStyle(H,"position")=="static"){E.Dom.setStyle(H,"position","relative");}if(D(J["points"]["from"])){E.Dom.setXY(H,J["points"]["from"]);
+}else{E.Dom.setXY(H,E.Dom.getXY(H));}G=this.getAttribute("points");if(D(J["points"]["to"])){I=B.call(this,J["points"]["to"],G);var N=E.Dom.getXY(this.getEl());for(M=0,O=L.length;M<O;++M){L[M]=B.call(this,L[M],G);}}else{if(D(J["points"]["by"])){I=[G[0]+J["points"]["by"][0],G[1]+J["points"]["by"][1]];for(M=0,O=L.length;M<O;++M){L[M]=[G[0]+L[M][0],G[1]+L[M][1]];}}}this.runtimeAttributes[P]=[G];if(L.length>0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var B=function(G,I){var H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var A=D.prototype;A.doMethod=function(E,H,F){var G=null;if(E=="scroll"){G=[this.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return G;};A.getAttribute=function(E){var G=null;var F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return G;};A.setAttribute=function(E,H,G){var F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.7.0",build:"1799"});
Index: CKEditor/branches/features/aria/_source/plugins/undo/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/undo/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/undo/plugin.js	(revision 4888)
@@ -0,0 +1,505 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Undo/Redo system for saving shapshot for document modification
+ *		and other recordable changes.
+ */
+
+(function()
+{
+	CKEDITOR.plugins.add( 'undo',
+	{
+		requires : [ 'selection', 'wysiwygarea' ],
+
+		init : function( editor )
+		{
+			var undoManager = new UndoManager( editor );
+
+			var undoCommand = editor.addCommand( 'undo',
+				{
+					exec : function()
+					{
+						if ( undoManager.undo() )
+						{
+							editor.selectionChange();
+							this.fire( 'afterUndo' );
+						}
+					},
+					state : CKEDITOR.TRISTATE_DISABLED,
+					canUndo : false
+				});
+
+			var redoCommand = editor.addCommand( 'redo',
+				{
+					exec : function()
+					{
+						if ( undoManager.redo() )
+						{
+							editor.selectionChange();
+							this.fire( 'afterRedo' );
+						}
+					},
+					state : CKEDITOR.TRISTATE_DISABLED,
+					canUndo : false
+				});
+
+			undoManager.onChange = function()
+			{
+				undoCommand.setState( undoManager.undoable() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+				redoCommand.setState( undoManager.redoable() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+			};
+
+			function recordCommand( event )
+			{
+				// If the command hasn't been marked to not support undo.
+				if ( undoManager.enabled && event.data.command.canUndo !== false )
+					undoManager.save();
+			}
+
+			// We'll save snapshots before and after executing a command.
+			editor.on( 'beforeCommandExec', recordCommand );
+			editor.on( 'afterCommandExec', recordCommand );
+
+			// Save snapshots before doing custom changes.
+			editor.on( 'saveSnapshot', function()
+				{
+					undoManager.save();
+				});
+
+			// Registering keydown on every document recreation.(#3844)
+			editor.on( 'contentDom', function()
+				{
+					editor.document.on( 'keydown', function( event )
+						{
+							// Do not capture CTRL hotkeys.
+							if ( !event.data.$.ctrlKey && !event.data.$.metaKey )
+								undoManager.type( event );
+						});
+				});
+
+			// Always save an undo snapshot - the previous mode might have
+			// changed editor contents.
+			editor.on( 'beforeModeUnload', function()
+				{
+					editor.mode == 'wysiwyg' && undoManager.save( true );
+				});
+
+			// Make the undo manager available only in wysiwyg mode.
+			editor.on( 'mode', function()
+				{
+					undoManager.enabled = editor.mode == 'wysiwyg';
+					undoManager.onChange();
+				});
+
+			editor.ui.addButton( 'Undo',
+				{
+					label : editor.lang.undo,
+					command : 'undo'
+				});
+
+			editor.ui.addButton( 'Redo',
+				{
+					label : editor.lang.redo,
+					command : 'redo'
+				});
+
+			editor.resetUndo = function()
+			{
+				// Reset the undo stack.
+				undoManager.reset();
+
+				// Create the first image.
+				editor.fire( 'saveSnapshot' );
+			};
+		}
+	});
+
+	// Gets a snapshot image which represent the current document status.
+	function Image( editor )
+	{
+		var selection = editor.getSelection();
+
+		this.contents	= editor.getSnapshot();
+		this.bookmarks	= selection && selection.createBookmarks2( true );
+
+		// In IE, we need to remove the expando attributes.
+		if ( CKEDITOR.env.ie )
+			this.contents = this.contents.replace( /\s+_cke_expando=".*?"/g, '' );
+	}
+
+	// Attributes that browser may changing them when setting via innerHTML.
+	var protectedAttrs = /\b(?:href|src|name)="[^"]*?"/gi;
+
+	Image.prototype =
+	{
+		equals : function( otherImage, contentOnly )
+		{
+			var thisContents = this.contents,
+				otherContents = otherImage.contents;
+
+			// For IE6/7 : Comparing only the protected attribute values but not the original ones.(#4522)
+			if( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+			{
+				thisContents = thisContents.replace( protectedAttrs, '' );
+				otherContents = otherContents.replace( protectedAttrs, '' );
+			}
+
+			if( thisContents != otherContents )
+				return false;
+
+			if ( contentOnly )
+				return true;
+
+			var bookmarksA = this.bookmarks,
+				bookmarksB = otherImage.bookmarks;
+
+			if ( bookmarksA || bookmarksB )
+			{
+				if ( !bookmarksA || !bookmarksB || bookmarksA.length != bookmarksB.length )
+					return false;
+
+				for ( var i = 0 ; i < bookmarksA.length ; i++ )
+				{
+					var bookmarkA = bookmarksA[ i ],
+						bookmarkB = bookmarksB[ i ];
+
+					if (
+						bookmarkA.startOffset != bookmarkB.startOffset ||
+						bookmarkA.endOffset != bookmarkB.endOffset ||
+						!CKEDITOR.tools.arrayCompare( bookmarkA.start, bookmarkB.start ) ||
+						!CKEDITOR.tools.arrayCompare( bookmarkA.end, bookmarkB.end ) )
+					{
+						return false;
+					}
+				}
+			}
+
+			return true;
+		}
+	};
+
+	/**
+	 * @constructor Main logic for Redo/Undo feature.
+	 */
+	function UndoManager( editor )
+	{
+		this.editor = editor;
+
+		// Reset the undo stack.
+		this.reset();
+	}
+
+
+	var editingKeyCodes = { /*Backspace*/ 8:1, /*Delete*/ 46:1 },
+		modifierKeyCodes = { /*Shift*/ 16:1, /*Ctrl*/ 17:1, /*Alt*/ 18:1 },
+		navigationKeyCodes = { 37:1, 38:1, 39:1, 40:1 };  // Arrows: L, T, R, B
+
+	UndoManager.prototype =
+	{
+		/**
+		 * Process undo system regard keystrikes.
+		 * @param {CKEDITOR.dom.event} event
+		 */
+		type : function( event )
+		{
+			var keystroke = event && event.data.getKey(),
+				isModifierKey = keystroke in modifierKeyCodes,
+				isEditingKey = keystroke in editingKeyCodes,
+				wasEditingKey = this.lastKeystroke in editingKeyCodes,
+				sameAsLastEditingKey = isEditingKey && keystroke == this.lastKeystroke,
+				// Keystrokes which navigation through contents.
+				isReset = keystroke in navigationKeyCodes,
+				wasReset = this.lastKeystroke in navigationKeyCodes,
+
+				// Keystrokes which just introduce new contents.
+				isContent = ( !isEditingKey && !isReset ),
+
+				// Create undo snap for every different modifier key.
+				modifierSnapshot = ( isEditingKey && !sameAsLastEditingKey ),
+				// Create undo snap on the following cases:
+				// 1. Just start to type .
+				// 2. Typing some content after a modifier.
+				// 3. Typing some content after make a visible selection.
+				startedTyping = !( isModifierKey || this.typing )
+					|| ( isContent && ( wasEditingKey || wasReset ) );
+
+			if ( startedTyping || modifierSnapshot )
+			{
+				var beforeTypeImage = new Image( this.editor );
+
+				// Use setTimeout, so we give the necessary time to the
+				// browser to insert the character into the DOM.
+				CKEDITOR.tools.setTimeout( function()
+					{
+						var currentSnapshot = this.editor.getSnapshot();
+
+						// In IE, we need to remove the expando attributes.
+						if ( CKEDITOR.env.ie )
+							currentSnapshot = currentSnapshot.replace( /\s+_cke_expando=".*?"/g, '' );
+
+						if ( beforeTypeImage.contents != currentSnapshot )
+						{
+							// It's safe to now indicate typing state.
+							this.typing = true;
+
+							// This's a special save, with specified snapshot
+							// and without auto 'fireChange'.
+							if ( !this.save( false, beforeTypeImage, false ) )
+								// Drop future snapshots.
+								this.snapshots.splice( this.index + 1, this.snapshots.length - this.index - 1 );
+
+							this.hasUndo = true;
+							this.hasRedo = false;
+
+							this.typesCount = 1;
+							this.modifiersCount = 1;
+
+							this.onChange();
+						}
+					},
+					0, this
+				);
+			}
+
+			this.lastKeystroke = keystroke;
+
+			// Create undo snap after typed too much (over 25 times).
+			if ( isEditingKey )
+			{
+				this.typesCount = 0;
+				this.modifiersCount++;
+
+				if ( this.modifiersCount > 25 )
+				{
+					this.save( false, null, false );
+					this.modifiersCount = 1;
+				}
+			}
+			else if ( !isReset )
+			{
+				this.modifiersCount = 0;
+				this.typesCount++;
+
+				if ( this.typesCount > 25 )
+				{
+					this.save( false, null, false );
+					this.typesCount = 1;
+				}
+			}
+
+		},
+
+		reset : function()	// Reset the undo stack.
+		{
+			/**
+			 * Remember last pressed key.
+			 */
+			this.lastKeystroke = 0;
+
+			/**
+			 * Stack for all the undo and redo snapshots, they're always created/removed
+			 * in consistency.
+			 */
+			this.snapshots = [];
+
+			/**
+			 * Current snapshot history index.
+			 */
+			this.index = -1;
+
+			this.limit = this.editor.config.undoStackSize;
+
+			this.currentImage = null;
+
+			this.hasUndo = false;
+			this.hasRedo = false;
+
+			this.resetType();
+		},
+
+		/**
+		 * Reset all states about typing.
+		 * @see  UndoManager.type
+		 */
+		resetType : function()
+		{
+			this.typing = false;
+			delete this.lastKeystroke;
+			this.typesCount = 0;
+			this.modifiersCount = 0;
+		},
+		fireChange : function()
+		{
+			this.hasUndo = !!this.getNextImage( true );
+			this.hasRedo = !!this.getNextImage( false );
+			// Reset typing
+			this.resetType();
+			this.onChange();
+		},
+
+		/**
+		 * Save a snapshot of document image for later retrieve.
+		 */
+		save : function( onContentOnly, image, autoFireChange )
+		{
+			var snapshots = this.snapshots;
+
+			// Get a content image.
+			if ( !image )
+				image = new Image( this.editor );
+
+			// Check if this is a duplicate. In such case, do nothing.
+			if ( this.currentImage && image.equals( this.currentImage, onContentOnly ) )
+				return false;
+
+			// Drop future snapshots.
+			snapshots.splice( this.index + 1, snapshots.length - this.index - 1 );
+
+			// If we have reached the limit, remove the oldest one.
+			if ( snapshots.length == this.limit )
+				snapshots.shift();
+
+			// Add the new image, updating the current index.
+			this.index = snapshots.push( image ) - 1;
+
+			this.currentImage = image;
+
+			if ( autoFireChange !== false )
+				this.fireChange();
+			return true;
+		},
+
+		restoreImage : function( image )
+		{
+			this.editor.loadSnapshot( image.contents );
+
+			if ( image.bookmarks )
+				this.editor.getSelection().selectBookmarks( image.bookmarks );
+			else if ( CKEDITOR.env.ie )
+			{
+				// IE BUG: If I don't set the selection to *somewhere* after setting
+				// document contents, then IE would create an empty paragraph at the bottom
+				// the next time the document is modified.
+				var $range = this.editor.document.getBody().$.createTextRange();
+				$range.collapse( true );
+				$range.select();
+			}
+
+			this.index = image.index;
+
+			this.currentImage = image;
+
+			this.fireChange();
+		},
+
+		// Get the closest available image.
+		getNextImage : function( isUndo )
+		{
+			var snapshots = this.snapshots,
+				currentImage = this.currentImage,
+				image, i;
+
+			if ( currentImage )
+			{
+				if ( isUndo )
+				{
+					for ( i = this.index - 1 ; i >= 0 ; i-- )
+					{
+						image = snapshots[ i ];
+						if ( !currentImage.equals( image, true ) )
+						{
+							image.index = i;
+							return image;
+						}
+					}
+				}
+				else
+				{
+					for ( i = this.index + 1 ; i < snapshots.length ; i++ )
+					{
+						image = snapshots[ i ];
+						if ( !currentImage.equals( image, true ) )
+						{
+							image.index = i;
+							return image;
+						}
+					}
+				}
+			}
+
+			return null;
+		},
+
+		/**
+		 * Check the current redo state.
+		 * @return {Boolean} Whether the document has previous state to
+		 *		retrieve.
+		 */
+		redoable : function()
+		{
+			return this.enabled && this.hasRedo;
+		},
+
+		/**
+		 * Check the current undo state.
+		 * @return {Boolean} Whether the document has future state to restore.
+		 */
+		undoable : function()
+		{
+			return this.enabled && this.hasUndo;
+		},
+
+		/**
+		 * Perform undo on current index.
+		 */
+		undo : function()
+		{
+			if ( this.undoable() )
+			{
+				this.save( true );
+
+				var image = this.getNextImage( true );
+				if ( image )
+					return this.restoreImage( image ), true;
+			}
+
+			return false;
+		},
+
+		/**
+		 * Perform redo on current index.
+		 */
+		redo : function()
+		{
+			if ( this.redoable() )
+			{
+				// Try to save. If no changes have been made, the redo stack
+				// will not change, so it will still be redoable.
+				this.save( true );
+
+				// If instead we had changes, we can't redo anymore.
+				if ( this.redoable() )
+				{
+					var image = this.getNextImage( false );
+					if ( image )
+						return this.restoreImage( image ), true;
+				}
+			}
+
+			return false;
+		}
+	};
+})();
+
+/**
+ * The number of undo steps to be saved. The higher this setting value the more
+ * memory is used for it.
+ * @type Number
+ * @default 20
+ * @example
+ * config.undoStackSize = 50;
+ */
+CKEDITOR.config.undoStackSize = 20;
Index: CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/ciframe.html
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/ciframe.html	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/ciframe.html	(revision 4888)
@@ -0,0 +1,49 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html>
+<head>
+	<title></title>
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<script type="text/javascript">
+
+function gup( name )
+{
+	name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
+	var regexS = '[\\?&]' + name + '=([^&#]*)' ;
+	var regex = new RegExp( regexS ) ;
+	var results = regex.exec( window.location.href ) ;
+
+	if( results )
+		return results[ 1 ] ;
+	else
+		return '' ;
+}
+
+var interval;
+
+function sendData2Master()
+{
+	var destination = window.parent.parent ;
+	try
+	{
+		if ( destination.XDTMaster )
+		{
+			var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
+			window.clearInterval( interval ) ;
+		}
+	}
+	catch (e) {}
+}
+
+function onLoad()
+{
+	interval = window.setInterval( sendData2Master, 100 );
+}
+
+</script>
+</head>
+<body onload="onLoad()"><p></p></body>
+</html>
Index: CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/tmpFrameset.html
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 4888)
@@ -0,0 +1,52 @@
+<!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.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html>
+<head>
+	<title></title>
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<script type="text/javascript">
+
+function doLoadScript( url )
+{
+	if ( !url )
+		return false ;
+
+	var s = document.createElement( "script" ) ;
+	s.type = "text/javascript" ;
+	s.src = url ;
+	document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ;
+
+	return true ;
+}
+
+var opener;
+function tryLoad()
+{
+	opener = window.parent;
+
+	// get access to global parameters
+	var oParams = window.opener.oldFramesetPageParams;
+
+	// make frameset rows string prepare
+	var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
+	document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
+
+	// dynamic including init frames and crossdomain transport code
+	// from config sproxy_js_frameset url
+	var addScriptUrl = oParams.sproxy_js_frameset ;
+	doLoadScript( addScriptUrl ) ;
+}
+
+	</script>
+</head>
+
+<frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0">
+    <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame>
+    <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame>
+    <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame>
+    <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame>
+</frameset>
+</html>
Index: CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.css
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.css	(revision 4888)
@@ -0,0 +1,83 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+html, body
+{
+	background-color: transparent;
+	margin: 0px;
+	padding: 0px;
+}
+
+body
+{
+	padding: 10px;
+}
+
+body, td, input, select, textarea
+{
+	font-size: 11px;
+	font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
+}
+
+.midtext
+{
+	padding:0px;
+	margin:10px;
+}
+
+.midtext p
+{
+	padding:0px;
+	margin:10px;
+}
+
+.Button
+{
+	border: #737357 1px solid;
+	color: #3b3b1f;
+	background-color: #c7c78f;
+}
+
+.PopupTabArea
+{
+	color: #737357;
+	background-color: #e3e3c7;
+}
+
+.PopupTitleBorder
+{
+	border-bottom: #d5d59d 1px solid;
+}
+.PopupTabEmptyArea
+{
+	padding-left: 10px;
+	border-bottom: #d5d59d 1px solid;
+}
+
+.PopupTab, .PopupTabSelected
+{
+	border-right: #d5d59d 1px solid;
+	border-top: #d5d59d 1px solid;
+	border-left: #d5d59d 1px solid;
+	padding: 3px 5px 3px 5px;
+	color: #737357;
+}
+
+.PopupTab
+{
+	margin-top: 1px;
+	border-bottom: #d5d59d 1px solid;
+	cursor: pointer;
+	cursor: hand;
+}
+
+.PopupTabSelected
+{
+	font-weight: bold;
+	cursor: default;
+	padding-top: 4px;
+	border-bottom: #f1f1e3 1px solid;
+	background-color: #f1f1e3;
+}
Index: CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wsc/dialogs/wsc.js	(revision 4888)
@@ -0,0 +1,176 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'checkspell', function( editor )
+{
+	var number = CKEDITOR.tools.getNextNumber(),
+		iframeId = 'cke_frame_' + number,
+		textareaId = 'cke_data_' + number,
+		errorBoxId = 'cke_error_' + number,
+		interval,
+		protocol = document.location.protocol || 'http:',
+		errorMsg = editor.lang.spellCheck.notAvailable;
+
+	var pasteArea = '<textarea'+
+			' style="display: none"' +
+			' id="' + textareaId + '"' +
+			' rows="10"' +
+			' cols="40">' +
+		' </textarea><div' +
+			' id="' + errorBoxId + '"' +
+			' style="display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;">' +
+		'</div><iframe' +
+			' src=""' +
+			' style="width:485px;background-color:#f1f1e3;height:380px"' +
+			' frameborder="0"' +
+			' name="' + iframeId + '"' +
+			' id="' + iframeId + '"' +
+			' allowtransparency="1">' +
+		'</iframe>';
+
+	var wscCoreUrl = editor.config.wsc_customLoaderScript || ( protocol +
+			'//loader.spellchecker.net/sproxy_fck/sproxy.php'
+			+ '?plugin=fck2'
+			+ '&customerid=' + editor.config.wsc_customerId
+			+ '&cmd=script&doc=wsc&schema=22'
+		);
+
+	if ( editor.config.wsc_customLoaderScript )
+		errorMsg += '<p style="color:#000;font-size:11px;font-weight: normal;text-align:center;padding-top:10px">' +
+			editor.lang.spellCheck.errorLoading.replace( /%s/g, editor.config.wsc_customLoaderScript ) + '</p>';
+
+	function burnSpelling( dialog, errorMsg )
+	{
+		var i = 0;
+		return function ()
+		{
+			if ( typeof( window.doSpell ) == 'function' )
+			{
+				//Call from window.setInteval expected at once.
+				if ( typeof( interval ) != 'undefined' )
+					window.clearInterval( interval );
+
+				initAndSpell( dialog );
+			}
+			else if ( i++ == 180 )								// Timeout: 180 * 250ms = 45s.
+				window._cancelOnError( errorMsg );
+		};
+	}
+
+	window._cancelOnError = function( m )
+	{
+		if ( typeof( window.WSC_Error ) == 'undefined' )
+		{
+			CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'none' );
+			var errorBox = CKEDITOR.document.getById( errorBoxId );
+			errorBox.setStyle( 'display', 'block' );
+			errorBox.setHtml( m || editor.lang.spellCheck.notAvailable );
+		}
+	};
+
+	function initAndSpell( dialog )
+	{
+		var LangComparer = new window._SP_FCK_LangCompare(),							// Language abbr standarts comparer.
+			pluginPath = CKEDITOR.getUrl( editor.plugins.wsc.path + 'dialogs/' ),			// Service paths corecting/preparing.
+			framesetPath = pluginPath + 'tmpFrameset.html';
+
+		// global var is used in FCK specific core
+		// change on equal var used in fckplugin.js
+		window.gFCKPluginName = 'wsc';
+
+		LangComparer.setDefaulLangCode( editor.config.defaultLanguage );
+
+		window.doSpell({
+			ctrl : textareaId,
+
+			lang : editor.config.wsc_lang || LangComparer.getSPLangCode(editor.langCode ),
+			intLang: editor.config.wsc_uiLang || LangComparer.getSPLangCode(editor.langCode ),
+			winType : iframeId,		// If not defined app will run on winpopup.
+
+			// Callback binding section.
+			onCancel : function()
+			{
+				dialog.hide();
+			},
+			onFinish : function( dT )
+			{
+				editor.focus();
+				dialog.getParentEditor().setData( dT.value );
+				dialog.hide();
+			},
+
+			// Some manipulations with client static pages.
+			staticFrame : framesetPath,
+			framesetPath : framesetPath,
+			iframePath : pluginPath + 'ciframe.html',
+
+			// Styles defining.
+			schemaURI : pluginPath + 'wsc.css',
+
+			userDictionaryName: editor.config.wsc_userDictionaryName,
+			customDictionaryName: editor.config.wsc_customDictionaryIds && editor.config.wsc_customDictionaryIds.split(","),
+			domainName: editor.config.wsc_domainName
+
+		});
+
+		// Hide user message console (if application was loaded more then after timeout).
+		CKEDITOR.document.getById( errorBoxId ).setStyle( 'display', 'none' );
+		CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'block' );
+	}
+
+	return {
+		title : editor.config.wsc_dialogTitle || editor.lang.spellCheck.title,
+		minWidth : 485,
+		minHeight : 380,
+		buttons : [ CKEDITOR.dialog.cancelButton ],
+		onShow : function()
+		{
+			var contentArea = this.getContentElement( 'general', 'content' ).getElement();
+			contentArea.setHtml( pasteArea );
+
+			if ( typeof( window.doSpell ) != 'function' )
+			{
+				// Load script.
+				CKEDITOR.document.getHead().append(
+					CKEDITOR.document.createElement( 'script',
+						{
+							attributes :
+								{
+									type : 'text/javascript',
+									src : wscCoreUrl
+								}
+						})
+				);
+			}
+
+			var sData = editor.getData();											// Get the data to be checked.
+			CKEDITOR.document.getById( textareaId ).setValue( sData );
+
+			interval = window.setInterval( burnSpelling( this, errorMsg ), 250 );
+		},
+		onHide : function()
+		{
+			window.ooo = undefined;
+			window.int_framsetLoaded = undefined;
+			window.framesetLoaded = undefined;
+			window.is_window_opened = false;
+		},
+		contents : [
+			{
+				id : 'general',
+				label : editor.config.wsc_dialogTitle || editor.lang.spellCheck.title,
+				padding : 0,
+				elements : [
+					{
+						type : 'html',
+						id : 'content',
+						style : 'width:485;height:380px',
+						html : '<div></div>'
+					}
+				]
+			}
+		]
+	};
+});
Index: CKEditor/branches/features/aria/_source/plugins/wsc/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wsc/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wsc/plugin.js	(revision 4888)
@@ -0,0 +1,32 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Spell checker
+ */
+
+// Register a plugin named "wsc".
+CKEDITOR.plugins.add( 'wsc',
+{
+	init : function( editor )
+	{
+		var commandName = 'checkspell';
+
+		var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );
+
+		// SpellChecker doesn't work in Opera and with custom domain
+		command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) };
+
+		editor.ui.addButton( 'SpellChecker',
+			{
+				label : editor.lang.spellCheck.toolbar,
+				command : commandName
+			});
+		CKEDITOR.dialog.add( commandName, this.path + 'dialogs/wsc.js' );
+	}
+});
+
+CKEDITOR.config.wsc_customerId			= CKEDITOR.config.wsc_customerId || '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk' ;
+CKEDITOR.config.wsc_customLoaderScript	= CKEDITOR.config.wsc_customLoaderScript || null;
Index: CKEditor/branches/features/aria/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- CKEditor/branches/features/aria/_source/plugins/wysiwygarea/plugin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/plugins/wysiwygarea/plugin.js	(revision 4888)
@@ -0,0 +1,847 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing
+ *		mode, which handles the main editing area space.
+ */
+
+(function()
+{
+	// List of elements in which has no way to move editing focus outside.
+	var nonExitableElementNames = { table:1,pre:1 };
+
+	// Matching an empty paragraph at the end of document.
+	var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>|&nbsp;|\u00A0|&#160;)?\s*(:?<\/\1>)?\s*(?=$|<\/body>)/gi;
+
+	function onInsertHtml( evt )
+	{
+		if ( this.mode == 'wysiwyg' )
+		{
+			this.focus();
+			this.fire( 'saveSnapshot' );
+
+			var selection = this.getSelection(),
+				data = evt.data;
+
+			if ( this.dataProcessor )
+				data = this.dataProcessor.toHtml( data );
+
+			if ( CKEDITOR.env.ie )
+			{
+				var selIsLocked = selection.isLocked;
+
+				if ( selIsLocked )
+					selection.unlock();
+
+				var $sel = selection.getNative();
+				if ( $sel.type == 'Control' )
+					$sel.clear();
+				$sel.createRange().pasteHTML( data );
+
+				if ( selIsLocked )
+					this.getSelection().lock();
+			}
+			else
+				this.document.$.execCommand( 'inserthtml', false, data );
+
+			CKEDITOR.tools.setTimeout( function()
+				{
+					this.fire( 'saveSnapshot' );
+				}, 0, this );
+		}
+	}
+
+	function onInsertElement( evt )
+	{
+		if ( this.mode == 'wysiwyg' )
+		{
+			this.focus();
+			this.fire( 'saveSnapshot' );
+
+			var element = evt.data,
+				elementName = element.getName(),
+				isBlock = CKEDITOR.dtd.$block[ elementName ];
+
+			var selection = this.getSelection(),
+				ranges = selection.getRanges();
+
+			var selIsLocked = selection.isLocked;
+
+			if ( selIsLocked )
+				selection.unlock();
+
+			var range, clone, lastElement, bookmark;
+
+			for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
+			{
+				range = ranges[ i ];
+
+				// Remove the original contents.
+				range.deleteContents();
+
+				clone = !i && element || element.clone( true );
+
+				// 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( false, true ) )
+							&& ( 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();
+					}
+				}
+
+				// 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 );
+
+			var next = lastElement.getNextSourceNode( true );
+			if ( next && next.type == CKEDITOR.NODE_ELEMENT )
+				range.moveToElementEditStart( next );
+
+			selection.selectRanges( [ range ] );
+
+			if ( selIsLocked )
+				this.getSelection().lock();
+
+			// Save snaps after the whole execution completed.
+			// This's a workaround for make DOM modification's happened after
+			// 'insertElement' to be included either, e.g. Form-based dialogs' 'commitContents'
+			// call.
+			CKEDITOR.tools.setTimeout( function(){
+				this.fire( 'saveSnapshot' );
+			}, 0, this );
+		}
+	}
+
+	// DOM modification here should not bother dirty flag.(#4385)
+	function restoreDirty( editor )
+	{
+		if( !editor.checkDirty() )
+			setTimeout( function(){ editor.resetDirty(); } );
+	}
+
+	var isNotWhitespace = CKEDITOR.dom.walker.whitespaces( true ),
+		isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
+
+	function isNotEmpty( node )
+	{
+		return isNotWhitespace( node ) && isNotBookmark( node );
+	}
+
+	function isNbsp( node )
+	{
+		return node.type == CKEDITOR.NODE_TEXT
+			   && CKEDITOR.tools.trim( node.getText() ).match( /^(?:&nbsp;|\xa0)$/ );
+	}
+
+	/**
+	 *  Auto-fixing block-less content by wrapping paragraph (#3190), prevent
+	 *  non-exitable-block by padding extra br.(#3189)
+	 */
+	function onSelectionChangeFixBody( evt )
+	{
+		var editor = evt.editor,
+			path = evt.data.path,
+			blockLimit = path.blockLimit,
+			selection = evt.data.selection,
+			range = selection.getRanges()[0],
+			body = editor.document.getBody(),
+			enterMode = editor.config.enterMode;
+
+		// When enterMode set to block, we'll establing new paragraph only if we're
+		// selecting inline contents right under body. (#3657)
+		if ( enterMode != CKEDITOR.ENTER_BR
+		     && range.collapsed
+			 && blockLimit.getName() == 'body'
+			 && !path.block )
+		{
+			restoreDirty( editor );
+			var fixedBlock = range.fixBlock( true,
+					editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p'  );
+
+			// For IE, we should remove any filler node which was introduced before.
+			if ( CKEDITOR.env.ie )
+			{
+				var first = fixedBlock.getFirst( isNotEmpty );
+				first && isNbsp( first ) && first.remove();
+			}
+
+			// If the fixed block is blank and already followed by a exitable
+			// block, we should revert the fix. (#3684)
+			if( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
+			{
+				var previousElement = fixedBlock.getPrevious( isNotWhitespace ),
+					nextElement = fixedBlock.getNext( isNotWhitespace );
+
+
+				if ( previousElement && previousElement.getName
+					 && !( previousElement.getName() in nonExitableElementNames )
+					 && range.moveToElementEditStart( previousElement )
+					 || nextElement && nextElement.getName
+					   && !( nextElement.getName() in nonExitableElementNames )
+					   && range.moveToElementEditStart( nextElement ) )
+				{
+					fixedBlock.remove();
+				}
+			}
+
+			range.select();
+			// Notify non-IE that selection has changed.
+			if( !CKEDITOR.env.ie )
+				editor.selectionChange();
+		}
+
+		// All browsers are incapable to moving cursor out of certain non-exitable
+		// blocks (e.g. table, list, pre) at the end of document, make this happen by
+		// place a bogus node there, which would be later removed by dataprocessor.
+		var lastNode = body.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
+		if ( lastNode && lastNode.getName && ( lastNode.getName() in nonExitableElementNames ) )
+		{
+			restoreDirty( editor );
+			if( !CKEDITOR.env.ie )
+				body.appendBogus();
+			else
+				body.append( editor.document.createText( '\xa0' ) );
+		}
+	}
+
+	CKEDITOR.plugins.add( 'wysiwygarea',
+	{
+		requires : [ 'editingblock' ],
+
+		init : function( editor )
+		{
+			var fixForBody = ( editor.config.enterMode != CKEDITOR.ENTER_BR )
+				? editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' : false;
+
+			editor.on( 'editingBlockReady', function()
+				{
+					var mainElement,
+						fieldset,
+						iframe,
+						isLoadingData,
+						isPendingFocus,
+						frameLoaded,
+						fireMode;
+
+					// Support for custom document.domain in IE.
+					var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+					// Creates the iframe that holds the editable document.
+					var createIFrame = function( data )
+					{
+						if ( iframe )
+							iframe.remove();
+						if ( fieldset )
+							fieldset.remove();
+
+						frameLoaded = 0;
+
+						iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' +
+  							' style="width:100%;height:100%"' +
+  							' frameBorder="0"' +
+							// Support for custom document.domain in IE.
+							( isCustomDomain ?
+								' src="javascript:void((function(){' +
+									'document.open();' +
+									'document.domain=\'' + document.domain + '\';' +
+									'document.close();' +
+								'})())"' : '' ) +
+  							' tabIndex="-1"' +
+  							' allowTransparency="true"' +
+  							'></iframe>' );
+
+						// Register onLoad event for iframe element, which
+						// will fill it with content and set custom domain.
+						iframe.on( 'load', function( e )
+						{
+							e.removeListener();
+							var doc = iframe.getFrameDocument().$;
+
+							// Custom domain handling is needed after each document.open().
+							doc.open();
+							if ( isCustomDomain )
+								doc.domain = document.domain;
+							doc.write( data );
+							doc.close();
+
+						} );
+
+						var accTitle = editor.lang.editorTitle.replace( '%1', editor.name );
+
+						if ( CKEDITOR.env.gecko )
+						{
+							// Accessibility attributes for Firefox.
+							mainElement.setAttributes(
+								{
+									role : 'region',
+									title : accTitle
+								} );
+							iframe.setAttributes(
+								{
+									role : 'region',
+									title : ' '
+								} );
+						}
+						else if ( CKEDITOR.env.webkit )
+						{
+							iframe.setAttribute( 'title', accTitle );	// Safari 4
+							iframe.setAttribute( 'name', accTitle );	// Safari 3
+						}
+						else if ( CKEDITOR.env.ie )
+						{
+							// Accessibility label for IE.
+							fieldset = CKEDITOR.dom.element.createFromHtml(
+								'<fieldset style="height:100%' +
+								( CKEDITOR.env.ie && CKEDITOR.env.quirks ? ';position:relative' : '' ) +
+								'">' +
+									'<legend style="display:block;width:0;height:0;overflow:hidden;' +
+									( CKEDITOR.env.ie && CKEDITOR.env.quirks ? 'position:absolute' : '' ) +
+									'">' +
+										CKEDITOR.tools.htmlEncode( accTitle ) +
+									'</legend>' +
+								'</fieldset>'
+								, CKEDITOR.document );
+							iframe.appendTo( fieldset );
+							fieldset.appendTo( mainElement );
+						}
+
+						if ( !CKEDITOR.env.ie )
+							mainElement.append( iframe );
+					};
+
+					// The script that launches the bootstrap logic on 'domReady', so the document
+					// is fully editable even before the editing iframe is fully loaded (#4455).
+					var activationScript =
+						'<script id="cke_actscrpt" type="text/javascript">' +
+							'window.parent.CKEDITOR._["contentDomReady' + editor.name + '"]( window );' +
+						'</script>';
+
+					// Editing area bootstrap code.
+					var contentDomReady = function( domWindow )
+					{
+						if ( frameLoaded )
+							return;
+
+						frameLoaded = 1;
+
+						var domDocument = domWindow.document,
+							body = domDocument.body;
+
+						// Remove this script from the DOM.
+						var script = domDocument.getElementById( "cke_actscrpt" );
+						script.parentNode.removeChild( script );
+
+						delete CKEDITOR._[ 'contentDomReady' + editor.name ];
+
+						body.spellcheck = !editor.config.disableNativeSpellChecker;
+
+						if ( CKEDITOR.env.ie )
+						{
+							// Don't display the focus border.
+							body.hideFocus = true;
+
+							// Disable and re-enable the body to avoid IE from
+							// taking the editing focus at startup. (#141 / #523)
+							body.disabled = true;
+							body.contentEditable = true;
+							body.removeAttribute( 'disabled' );
+						}
+						else
+							domDocument.designMode = 'on';
+
+						// IE, Opera and Safari may not support it and throw
+						// errors.
+						try { domDocument.execCommand( 'enableObjectResizing', false, !editor.config.disableObjectResizing ) ; } catch(e) {}
+						try { domDocument.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ) ; } catch(e) {}
+
+						domWindow	= editor.window		= new CKEDITOR.dom.window( domWindow );
+						domDocument	= editor.document	= new CKEDITOR.dom.document( domDocument );
+
+						// Gecko/Webkit need some help when selecting control type elements. (#3448)
+						if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) )
+						{
+							domDocument.on( 'mousedown', function( ev )
+							{
+								var control = ev.data.getTarget();
+								if ( control.is( 'img', 'hr', 'input', 'textarea', 'select' ) )
+									editor.getSelection().selectElement( control );
+							} );
+						}
+
+						// Webkit: avoid from editing form control elements content.
+						if ( CKEDITOR.env.webkit )
+						{
+							// Prevent from tick checkbox/radiobox/select
+							domDocument.on( 'click', function( ev )
+							{
+								if ( ev.data.getTarget().is( 'input', 'select' ) )
+									ev.data.preventDefault();
+							} );
+
+							// Prevent from editig textfield/textarea value.
+							domDocument.on( 'mouseup', function( ev )
+							{
+								if ( ev.data.getTarget().is( 'input', 'textarea' ) )
+									ev.data.preventDefault();
+							} );
+						}
+
+						// IE standard compliant in editing frame doesn't focus the editor when
+						// clicking outside actual content, manually apply the focus. (#1659)
+						if( CKEDITOR.env.ie
+							&& domDocument.$.compatMode == 'CSS1Compat' )
+						{
+							var htmlElement = domDocument.getDocumentElement();
+							htmlElement.on( 'mousedown', function( evt )
+							{
+								// Setting focus directly on editor doesn't work, we
+								// have to use here a temporary element to 'redirect'
+								// the focus.
+								if ( evt.data.getTarget().equals( htmlElement ) )
+									ieFocusGrabber.focus();
+							} );
+						}
+
+						var focusTarget = ( CKEDITOR.env.ie || CKEDITOR.env.webkit ) ?
+								domWindow : domDocument;
+
+						focusTarget.on( 'blur', function()
+							{
+								editor.focusManager.blur();
+							});
+
+						focusTarget.on( 'focus', function()
+							{
+								// Gecko need a key event to 'wake up' the editing
+								// ability when document is empty.(#3864)
+								if ( CKEDITOR.env.gecko )
+								{
+									var first = body;
+									while( first.firstChild )
+										first = first.firstChild;
+
+									if( !first.nextSibling
+										&& ( 'BR' == first.tagName )
+										&& first.hasAttribute( '_moz_editor_bogus_node' ) )
+									{
+										var keyEventSimulate = domDocument.$.createEvent( "KeyEvents" );
+										keyEventSimulate.initKeyEvent( 'keypress', true, true, domWindow.$, false,
+											false, false, false, 0, 32 );
+										domDocument.$.dispatchEvent( keyEventSimulate );
+										var bogusText = domDocument.getBody().getFirst() ;
+										// Compensate the line maintaining <br> if enterMode is not block.
+										if ( editor.config.enterMode == CKEDITOR.ENTER_BR )
+											domDocument.createElement( 'br', { attributes: { '_moz_dirty' : "" } } )
+												.replace( bogusText );
+										else
+											bogusText.remove();
+									}
+								}
+
+								editor.focusManager.focus();
+							});
+
+						var keystrokeHandler = editor.keystrokeHandler;
+						if ( keystrokeHandler )
+							keystrokeHandler.attach( domDocument );
+
+						if ( CKEDITOR.env.ie )
+						{
+							// Cancel default action for backspace in IE on control types. (#4047)
+							domDocument.on( 'keydown', function( evt )
+							{
+								// Backspace.
+								var control = evt.data.getKeystroke() == 8
+											  && editor.getSelection().getSelectedElement();
+								if ( control )
+								{
+									// Make undo snapshot.
+									editor.fire( 'saveSnapshot' );
+									// Remove manually.
+									control.remove();
+									editor.fire( 'saveSnapshot' );
+									evt.cancel();
+								}
+							} );
+
+							// PageUp/PageDown scrolling is broken in document
+							// with standard doctype, manually fix it. (#4736)
+							if( domDocument.$.compatMode == 'CSS1Compat' )
+							{
+								var pageUpDownKeys = { 33 : 1, 34 : 1 };
+								domDocument.on( 'keydown', function( evt )
+								{
+									if( evt.data.getKeystroke() in pageUpDownKeys )
+									{
+										setTimeout( function ()
+										{
+											editor.getSelection().scrollIntoView();
+										}, 0 );
+									}
+								} );
+							}
+						}
+
+						// Adds the document body as a context menu target.
+						if ( editor.contextMenu )
+							editor.contextMenu.addTarget( domDocument, editor.config.browserContextMenuOnCtrl !== false );
+
+						setTimeout( function()
+							{
+								editor.fire( 'contentDom' );
+
+								if ( fireMode )
+								{
+									editor.mode = 'wysiwyg';
+									editor.fire( 'mode' );
+									fireMode = false;
+								}
+
+								isLoadingData = false;
+
+								if ( isPendingFocus )
+								{
+									editor.focus();
+									isPendingFocus = false;
+								}
+								setTimeout( function()
+								{
+									editor.fire( 'dataReady' );
+								}, 0 );
+
+								/*
+								 * IE BUG: IE might have rendered the iframe with invisible contents.
+								 * (#3623). Push some inconsequential CSS style changes to force IE to
+								 * refresh it.
+								 *
+								 * Also, for some unknown reasons, short timeouts (e.g. 100ms) do not
+								 * fix the problem. :(
+								 */
+								if ( CKEDITOR.env.ie )
+								{
+									setTimeout( function()
+										{
+											if ( editor.document )
+											{
+												var $body = editor.document.$.body;
+												$body.runtimeStyle.marginBottom = '0px';
+												$body.runtimeStyle.marginBottom = '';
+											}
+										}, 1000 );
+								}
+							},
+							0 );
+					};
+
+					editor.addMode( 'wysiwyg',
+						{
+							load : function( holderElement, data, isSnapshot )
+							{
+								mainElement = holderElement;
+
+								if ( CKEDITOR.env.ie && CKEDITOR.env.quirks )
+									holderElement.setStyle( 'position', 'relative' );
+
+								// The editor data "may be dirty" after this
+								// point.
+								editor.mayBeDirty = true;
+
+								fireMode = true;
+
+								if ( isSnapshot )
+									this.loadSnapshotData( data );
+								else
+									this.loadData( data );
+							},
+
+							loadData : function( data )
+							{
+								isLoadingData = true;
+
+								var config = editor.config,
+									fullPage = config.fullPage,
+									docType = config.docType;
+
+								// Build the additional stuff to be included into <head>.
+								var headExtra =
+									'<style type="text/css" cke_temp="1">' +
+										editor._.styles.join( '\n' ) +
+									'</style>';
+
+								!fullPage && ( headExtra =
+									CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
+									headExtra );
+
+								var baseTag = config.baseHref ? '<base href="' + config.baseHref + '" cke_temp="1" />' : '';
+
+								if ( fullPage )
+								{
+									// Search and sweep out the doctype declaration.
+									data = data.replace( /<!DOCTYPE[^>]*>/i, function( match )
+										{
+											editor.docType = docType = match;
+											return '';
+										});
+								}
+
+								// Get the HTML version of the data.
+								if ( editor.dataProcessor )
+									data = editor.dataProcessor.toHtml( data, fixForBody );
+
+								if ( fullPage )
+								{
+									// Check if the <body> tag is available.
+									if ( !(/<body[\s|>]/).test( data ) )
+										data = '<body>' + data;
+
+									// Check if the <html> tag is available.
+									if ( !(/<html[\s|>]/).test( data ) )
+										data = '<html>' + data + '</html>';
+
+									// Check if the <head> tag is available.
+									if ( !(/<head[\s|>]/).test( data ) )
+										data = data.replace( /<html[^>]*>/, '$&<head><title></title></head>' ) ;
+
+									// The base must be the first tag in the HEAD, e.g. to get relative
+									// links on styles.
+									baseTag && ( data = data.replace( /<head>/, '$&' + baseTag ) );
+
+									// Inject the extra stuff into <head>.
+									// Attention: do not change it before testing it well. (V2)
+									// This is tricky... if the head ends with <meta ... content type>,
+									// Firefox will break. But, it works if we place our extra stuff as
+									// the last elements in the HEAD.
+									data = data.replace( /<\/head\s*>/, headExtra + '$&' );
+
+									// Add the DOCTYPE back to it.
+									data = docType + data;
+								}
+								else
+								{
+									data =
+										config.docType +
+										'<html dir="' + config.contentsLangDirection + '">' +
+										'<head>' +
+											baseTag +
+											headExtra +
+										'</head>' +
+										'<body' + ( config.bodyId ? ' id="' + config.bodyId + '"' : '' ) +
+												  ( config.bodyClass ? ' class="' + config.bodyClass + '"' : '' ) +
+												  '>' +
+											data +
+										'</html>';
+								}
+
+								data += activationScript;
+
+								CKEDITOR._[ 'contentDomReady' + editor.name ] = contentDomReady;
+								createIFrame( data );
+							},
+
+							getData : function()
+							{
+								var config = editor.config,
+									fullPage = config.fullPage,
+									docType = fullPage && editor.docType,
+									doc = iframe.getFrameDocument();
+
+								var data = fullPage
+									? doc.getDocumentElement().getOuterHtml()
+									: doc.getBody().getHtml();
+
+								if ( editor.dataProcessor )
+									data = editor.dataProcessor.toDataFormat( data, fixForBody );
+
+								// Strip the last blank paragraph within document.
+								if ( config.ignoreEmptyParagraph )
+									data = data.replace( emptyParagraphRegexp, '' );
+
+								if ( docType )
+									data = docType + '\n' + data;
+
+								return data;
+							},
+
+							getSnapshotData : function()
+							{
+								return iframe.getFrameDocument().getBody().getHtml();
+							},
+
+							loadSnapshotData : function( data )
+							{
+								iframe.getFrameDocument().getBody().setHtml( data );
+							},
+
+							unload : function( holderElement )
+							{
+								editor.window = editor.document = iframe = mainElement = isPendingFocus = null;
+
+								editor.fire( 'contentDomUnload' );
+							},
+
+							focus : function()
+							{
+								if ( isLoadingData )
+									isPendingFocus = true;
+								else if ( editor.window )
+								{
+									editor.window.focus();
+
+									// Force the selection to happen, in this way
+									// we guarantee the focus will be there. (#4848)
+									if ( CKEDITOR.env.ie )
+									{
+										try
+										{
+											var sel = editor.getSelection();
+											sel = sel && sel.getNative();
+											var range = sel && sel.type && sel.createRange();
+											if ( range )
+											{
+													sel.empty();
+													range.select();
+											}
+										}
+										catch (e) {}
+									}
+
+									editor.selectionChange();
+								}
+							}
+						});
+
+					editor.on( 'insertHtml', onInsertHtml, null, null, 20 );
+					editor.on( 'insertElement', onInsertElement, null, null, 20 );
+					// Auto fixing on some document structure weakness to enhance usabilities. (#3190 and #3189)
+					editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 );
+				});
+
+			// Create an invisible element to grab focus.
+			if( CKEDITOR.env.ie )
+			{
+				var ieFocusGrabber;
+				editor.on( 'uiReady', function()
+				{
+					ieFocusGrabber = editor.container.append( CKEDITOR.dom.element.createFromHtml(
+					'<input tabindex="-1" style="position:absolute; left:-10000">' ) );
+
+					ieFocusGrabber.on( 'focus', function()
+						{
+							editor.focus();
+						} );
+				} );
+			}
+		}
+	});
+
+	// Fixing Firefox 'Back-Forward Cache' break design mode. (#4514)
+	if( CKEDITOR.env.gecko )
+	{
+		var topWin = window.top;
+
+		( function ()
+		{
+			var topBody = topWin.document.body;
+
+			if( !topBody )
+				topWin.addEventListener( 'load', arguments.callee, false );
+			else
+			{
+				topBody.setAttribute( 'onpageshow', topBody.getAttribute( 'onpageshow' )
+						+ ';event.persisted && CKEDITOR.tools.callFunction(' +
+						CKEDITOR.tools.addFunction( function()
+						{
+							var allInstances = CKEDITOR.instances,
+								editor,
+								doc;
+							for( var i in allInstances )
+							{
+								editor = allInstances[ i ];
+								doc = editor.document;
+								if( doc )
+								{
+									doc.$.designMode = 'off';
+									doc.$.designMode = 'on';
+								}
+							}
+						} ) + ')' );
+			}
+		} )();
+
+	}
+})();
+
+/**
+ * Disables the ability of resize objects (image and tables) in the editing
+ * area.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.disableObjectResizing = true;
+ */
+CKEDITOR.config.disableObjectResizing = false;
+
+/**
+ * Disables the "table tools" offered natively by the browser (currently
+ * Firefox only) to make quick table editing operations, like adding or
+ * deleting rows and columns.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.disableNativeTableHandles = false;
+ */
+CKEDITOR.config.disableNativeTableHandles = true;
+
+/**
+ * Disables the built-in spell checker while typing natively available in the
+ * browser (currently Firefox and Safari only).<br /><br />
+ *
+ * Even if word suggestions will not appear in the CKEditor context menu, this
+ * feature is useful to help quickly identifying misspelled words.<br /><br />
+ *
+ * This setting is currently compatible with Firefox only due to limitations in
+ * other browsers.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.disableNativeSpellChecker = false;
+ */
+CKEDITOR.config.disableNativeSpellChecker = true;
+
+/**
+ * Whether the editor must output an empty value ("") if it's contents is made
+ * by an empty paragraph only.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.ignoreEmptyParagraph = false;
+ */
+CKEDITOR.config.ignoreEmptyParagraph = true;
Index: CKEditor/branches/features/aria/_source/skins/kama/dialog.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/dialog.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/dialog.css	(revision 4888)
@@ -0,0 +1,759 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+	visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_kama table.cke_dialog.cke_browser_gecko
+{
+	display:block;
+}
+
+.cke_skin_kama .cke_dialog_body
+{
+	z-index: 1;
+	border: solid 1px #ddd;
+	padding: 5px;
+	background-color: #fff;
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+
+	/* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+		need it to be positioned to hold e.g. close button. */
+	position: relative;
+	_position: static;
+}
+
+.cke_skin_kama .cke_dialog_tl,
+.cke_skin_kama .cke_dialog_tr,
+.cke_skin_kama .cke_dialog_tc,
+.cke_skin_kama .cke_dialog_bl,
+.cke_skin_kama .cke_dialog_br,
+.cke_skin_kama .cke_dialog_bc,
+.cke_skin_kama .cke_dialog_ml,
+.cke_skin_kama .cke_dialog_mr
+{
+	display:none;
+}
+
+.cke_skin_kama .cke_dialog_title
+{
+	font-weight: bold;
+	font-size: 14px;
+	padding: 3px 3px 8px;
+	cursor: move;
+	position: relative;
+	border-bottom: 1px solid #eee;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie7 .cke_dialog_title
+{
+	margin-bottom: 22px;
+}
+
+.cke_skin_kama .cke_browser_iequirks.cke_single_page .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie6.cke_single_page .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_title
+{
+	margin-bottom: 10px;
+}
+
+.cke_skin_kama .cke_browser_ie.cke_rtl .cke_dialog_title
+{
+	position: static !important;
+	unicode-bidi: bidi-override;
+}
+
+.cke_skin_kama .cke_dialog_contents
+{
+	background-color: #ebebeb;
+	border: solid 1px #fff;
+	border-bottom: none;
+	overflow: auto;
+	padding: 17px 10px 5px 10px;
+	-moz-border-radius-topleft: 5px;
+	-moz-border-radius-topright: 5px;
+	-webkit-border-top-left-radius: 5px;
+	-webkit-border-top-right-radius: 5px;
+	border-top-left-radius: 5px;
+	border-top-right-radius: 5px;
+	margin-top: 22px;
+}
+
+.cke_skin_kama .cke_dialog_footer
+{
+	text-align: right;
+	background-color: #ebebeb;
+	border: solid 1px #fff;
+	border-bottom: none;
+	-moz-border-radius-bottomleft: 5px;
+	-moz-border-radius-bottomright: 5px;
+	-webkit-border-bottom-left-radius: 5px;
+	-webkit-border-bottom-right-radius: 5px;
+	border-bottom-left-radius: 5px;
+	border-bottom-right-radius: 5px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_footer
+{
+	text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_kama .cke_dialog_tabs
+{
+	height: 23px;
+	display: inline-block;
+	_display: block;
+	margin-left:10px;
+	margin-right:10px;
+	margin-top: 11px;
+	position: absolute;
+	z-index: 2;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_tabs,
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_tabs,
+.cke_skin_kama .cke_browser_ie7 .cke_dialog_tabs
+{
+	top: 33px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_tabs
+{
+	right: 10px;
+}
+
+.cke_skin_kama a.cke_dialog_tab,
+.cke_skin_kama a:link.cke_dialog_tab,
+.cke_skin_kama a:active.cke_dialog_tab,
+.cke_skin_kama a:hover.cke_dialog_tab,
+.cke_skin_kama a:visited.cke_dialog_tab
+{
+	background-image: url(images/sprites.png);
+	background-repeat: repeat-x;
+	background-position: 0 -1323px;
+
+	background-color: #ebebeb;
+	height: 14px;
+	padding: 4px 8px;
+	display: inline-block;
+	cursor: pointer;
+
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_kama .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+	display: inline;
+	position: relative;
+	top: 6px;
+}
+
+.cke_skin_kama a:hover.cke_dialog_tab
+{
+	background-color: #f1f1e3;
+}
+
+.cke_skin_kama a.cke_dialog_tab_selected,
+.cke_skin_kama a:link.cke_dialog_tab_selected,
+.cke_skin_kama a:active.cke_dialog_tab_selected,
+.cke_skin_kama a:hover.cke_dialog_tab_selected,
+.cke_skin_kama a:visited.cke_dialog_tab_selected
+{
+	background-position: 0 -1279px;
+	cursor: default;
+}
+
+/* single_page */
+
+.cke_skin_kama .cke_single_page .cke_dialog_tabs
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_single_page .cke_dialog_contents
+{
+	padding-top: 5px;
+	margin-top: 10px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_contents
+{
+	margin-top: -10px;
+	position: relative;
+	margin-bottom: -22px;
+}
+
+.cke_skin_kama .cke_dialog_ui_vbox table,
+.cke_skin_kama .cke_dialog_ui_hbox table
+{
+	margin: auto;
+}
+
+.cke_skin_kama .cke_dialog_ui_vbox_child
+{
+	padding: 5px 0px;
+}
+
+.cke_skin_kama input.cke_dialog_ui_input_text,
+.cke_skin_kama input.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	height: 14px;
+}
+
+.cke_skin_kama div.cke_dialog_ui_input_text,
+.cke_skin_kama div.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_kama textarea.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	/*
+	 * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+	 * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+	 */
+	_width: 99%;
+	overflow: auto;
+	resize: none;
+}
+
+.cke_skin_kama div.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_kama div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+	background-color : #a0a0a0;
+	cursor : default;
+}
+
+.cke_skin_kama .cke_dialog_ui_hbox
+{
+	width: 100%;
+}
+
+.cke_skin_kama .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_dialog_ui_hbox_child,
+.cke_skin_kama .cke_dialog_ui_hbox_last
+{
+	vertical-align: top;
+}
+
+.cke_skin_kama .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_ltr .cke_dialog_ui_hbox_child
+{
+	padding-right: 10px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_rtl .cke_dialog_ui_hbox_child
+{
+	padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_kama a.cke_dialog_ui_button
+{
+	border-collapse: separate;
+	cursor: default;
+
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	background: transparent url(images/sprites.png) repeat-x scroll 0 -1069px;
+	_background: none;
+	padding: 5px 0;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button
+{
+	padding: 0;
+}
+
+/* IE6 buttons. */
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button span
+{
+	width: 70px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span
+{
+	width: 100px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button span
+{
+	padding: 5px 15px;
+	text-align: center;
+	color: #3b3b1f;
+	background: #53D9F0 none;
+	display: inline-block;
+	cursor: default;
+}
+/* END IE6 buttons. */
+
+.cke_skin_kama .cke_browser_webkit a.cke_dialog_ui_button span.cke_dialog_ui_button
+{
+	margin: 0;
+}
+.cke_skin_kama .cke_browser_webkit a.cke_dialog_ui_button
+{
+	float: right;
+	padding-top: 3px;
+	padding-bottom: 2px;
+	margin: 2px 0;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok span,
+.cke_skin_kama a.cke_dialog_ui_button_cancel span
+{
+	padding-right: 20px;
+	padding-left: 20px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok
+{
+	background-position: 0 -1143px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok span
+{
+	background: transparent url(images/sprites.png) no-repeat scroll right -1219px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_dialog_ui_button_ok span
+{
+	background-position: left -1219px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_ok span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_ok span
+{
+	background-color: #B8E834;
+	margin-right: 0;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_cancel
+{
+	background-position: 0 -1104px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_cancel span
+{
+	background: transparent url(images/sprites.png) no-repeat scroll right -1245px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_dialog_ui_button_cancel span
+{
+	background-position: left -1245px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_cancel span
+{
+	background-color: #F65D20;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_ok span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_ok span
+{
+	background-image: none;
+}
+
+.cke_skin_kama span.cke_dialog_ui_button
+{
+	padding: 2px 10px;
+	text-align: center;
+	color: #222;
+	display: inline-block;
+	cursor: default;
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	display: block;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button span.cke_disabled
+{
+	border: #898980 1px solid;
+	color: #5e5e55;
+	background-color: #c5c5b3;
+}
+
+.cke_skin_kama a:hover.cke_dialog_ui_button,
+.cke_skin_kama a:focus.cke_dialog_ui_button,
+.cke_skin_kama a:active.cke_dialog_ui_button
+{
+	background-position: 0 -1179px;
+}
+
+/* Skip hover effect on IE6 */
+.cke_skin_kama .cke_browser_iequirks a:hover.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a:focus.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a:active.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:hover.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:focus.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:active.cke_dialog_ui_button span
+{
+	background-image: none;
+	background: #F7A922;
+}
+
+.cke_skin_kama .cke_dialog_footer_buttons
+{
+	display: inline-table;
+	margin-right: 12px;
+	margin-left: 12px;
+	width: auto;
+	position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+	display: inline;
+}
+
+.cke_skin_kama .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	margin: 7px 0;
+	width: 60px;
+	text-align: center;
+}
+
+/* Firefox2 buttons */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons a.cke_dialog_ui_button
+{
+	display: block;
+	padding: 0;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	padding-bottom: 5px;
+	padding-top: 6px;
+	margin-bottom: 0;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons .cke_dialog_ui_button_ok .cke_dialog_ui_button
+{
+	background-position: right -1214px;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons .cke_dialog_ui_button_cancel .cke_dialog_ui_button
+{
+	background-position: right -1242px;
+}
+/* END Firefox2 buttons */
+
+.cke_skin_kama strong
+{
+	font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_kama .cke_dialog_close_button
+{
+	background-image: url(images/sprites.png);
+	background-repeat: no-repeat;
+	background-position: 0 -1022px;
+	position: absolute;
+	cursor: pointer;
+	text-align: center;
+	height: 20px;
+	width: 20px;
+	top: 5px;
+
+	/* IE 6 */
+	_background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_kama .cke_dialog_close_button span
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_dialog_close_button:hover
+{
+	background-position: 0 -1045px;
+}
+
+.cke_skin_kama .cke_ltr .cke_dialog_close_button
+{
+	right: 10px;
+}
+
+.cke_skin_kama .cke_browser_ie8.cke_rtl .cke_dialog_close_button
+{
+	left: 8px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_close_button
+{
+	left: 10px;
+}
+
+.cke_skin_kama .cke_browser_ie7.cke_rtl .cke_dialog_close_button
+{
+	left: 16px;
+	top: 0;
+}
+
+/*.cke_skin_kama .cke_browser_ie6.cke_rtl .cke_dialog_close_button
+{
+	left: 16px;
+}*/
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_rtl .cke_dialog_close_button
+{
+	position: absolute;
+	left: 10px;
+	top: 5px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_footer
+{
+	margin-top: 22px;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_close_button,
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_close_button
+{
+	top: 7px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_ltr .cke_dialog_close_button
+{
+	margin-top: 0;
+}
+
+.cke_skin_kama .cke_dialog_ui_input_select
+{
+	border: 1px solid #a0a0a0;
+	background-color: white;
+}
+
+.cke_skin_kama iframe.cke_dialog_ui_input_file
+{
+	width: 100%;
+	height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_kama .cke_dialog .cke_dark_background
+{
+	background-color: #eaead1;
+}
+
+.cke_skin_kama .cke_dialog .cke_hand
+{
+	cursor: pointer;
+}
+
+.cke_skin_kama .cke_dialog .cke_centered
+{
+	text-align: center;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_reset
+{
+	float: right;
+	background-position: 0 -32px;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: 1px none;
+	font-size: 1px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_reset
+{
+	float: left;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_locked,
+.cke_skin_kama .cke_dialog a.cke_btn_unlocked
+{
+	float: left;
+	background-position: 0 0;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: none 1px;
+	font-size: 1px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_unlocked
+{
+	background-position: 0 -16px;
+	background-image: url(images/mini.gif);
+}
+
+.cke_skin_kama .cke_dialog .cke_btn_over
+{
+	border: outset 1px;
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_kama .cke_dialog  #ImagePreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : scroll;
+	height : 160px;
+	width : 230px;
+	padding : 2px;
+	background-color : white;
+}
+.cke_skin_kama .cke_dialog  #ImagePreviewLoader
+{
+	position: absolute;
+	white-space : normal;
+	overflow : hidden;
+	height : 160px;
+	width : 230px;
+	margin : 2px;
+	padding : 2px;
+	opacity : 0.9;
+	filter : alpha(opacity=90);
+
+	background-color : #e4e4e4;
+}
+
+.cke_skin_kama .cke_dialog  #FlashPreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : auto;
+	height : 160px;
+	width : 390px;
+	padding : 2px;
+	background-color : white;
+}
+
+.cke_skin_kama .cke_dialog .cke_dark_background
+{
+	text-align : center;
+	background-color: #eaead1;
+	font-size : 14px;
+}
+
+.cke_skin_kama .cke_dialog .cke_light_background
+{
+	text-align : center;
+	background-color: #ffffbe;
+}
+
+.cke_skin_kama .cke_dialog .cke_hand
+{
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_kama .cke_disabled
+{
+	color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+
+.cke_skin_kama .cke_hc .cke_dialog_title,
+.cke_skin_kama .cke_hc .cke_dialog_tabs,
+.cke_skin_kama .cke_hc .cke_dialog_contents,
+.cke_skin_kama .cke_hc .cke_dialog_footer
+{
+	border-left: 1px solid;
+	border-right: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_title
+{
+	border-top: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_footer
+{
+	border-bottom: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_close_button span
+{
+	display: inline;
+	cursor: pointer;
+	cursor: hand;
+	font-weight: bold;
+	position: relative;
+	top: 3px;
+}
+.cke_skin_kama .cke_hc a.cke_btn_locked,
+.cke_skin_kama .cke_hc a.cke_btn_unlocked,
+.cke_skin_kama .cke_hc a.cke_btn_reset
+{
+	border-style: solid;
+}
+
+.cke_skin_kama a.cke_smile img
+{
+	/* IE6 does not support transparent borders */
+	border: 2px solid #eaead1;
+}
+
+.cke_skin_kama a.cke_smile:focus img,
+.cke_skin_kama a.cke_smile:active img,
+.cke_skin_kama a.cke_smile:hover img
+{
+	border-color: #C7C78F;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/editor.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/editor.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/editor.css	(revision 4888)
@@ -0,0 +1,25 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@import url("reset.css");
+@import url("mainui.css");
+@import url("panel.css");
+@import url("toolbar.css");
+@import url("menu.css");
+@import url("richcombo.css");
+@import url("elementspath.css");
+@import url("icons.css");
+@import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_kama
+{
+	visibility: inherit;
+}
+
+html.cke_skin_kama_container
+{
+	visibility: visible;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/elementspath.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/elementspath.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/elementspath.css	(revision 4888)
@@ -0,0 +1,67 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	.cke_path
+	{
+		display: none;
+	}
+}
+
+.cke_skin_kama .cke_path
+{
+	display: inline-block;
+	float: left;
+	margin-top: 5px;
+}
+
+.cke_skin_kama .cke_rtl .cke_path
+{
+	float: right;
+}
+
+.cke_shared .cke_skin_kama .cke_path
+{
+	_width: 100%;
+	margin: 0 0 5px;
+}
+
+.cke_skin_kama .cke_path a,
+.cke_skin_kama .cke_path .cke_empty
+{
+	display: inline-block;
+	float: left;
+	padding: 1px 4px 0;
+	color: #60676a;
+}
+
+.cke_skin_kama .cke_path .cke_empty
+{
+	visibility: hidden;
+}
+
+.cke_skin_kama .cke_rtl .cke_path a,
+.cke_skin_kama .cke_rtl .cke_path cke_empty
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_path a:hover,
+.cke_skin_kama .cke_path a:focus,
+.cke_skin_kama .cke_path a:active	/* IE */
+{
+	background-color: #dff1ff;
+	padding: 1px 4px 0;
+	outline: none;
+	color : #000;
+}
+
+/* IE double float-right workaround */
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+	float: none;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/icons.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/icons.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/icons.css	(revision 4888)
@@ -0,0 +1,326 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_button_source .cke_icon
+{
+	background-position: 0 0;
+}
+
+.cke_skin_kama .cke_button_newpage .cke_icon
+{
+	background-position: 0 -48px;
+}
+
+.cke_skin_kama .cke_button_preview .cke_icon
+{
+	background-position: 0 -64px;
+}
+
+.cke_skin_kama .cke_button_cut .cke_icon
+{
+	background-position: 0 -96px;
+}
+
+.cke_skin_kama .cke_button_copy .cke_icon
+{
+	background-position: 0 -112px;
+}
+
+.cke_skin_kama .cke_button_paste .cke_icon
+{
+	background-position: 0 -128px;
+}
+
+.cke_skin_kama .cke_button_pastetext .cke_icon
+{
+	background-position: 0 -144px;
+}
+
+.cke_skin_kama .cke_button_find .cke_icon
+{
+	background-position: 0 -240px;
+}
+
+.cke_skin_kama .cke_button_replace .cke_icon
+{
+	background-position: 0 -256px;
+}
+
+.cke_skin_kama .cke_button_selectAll .cke_icon
+{
+	background-position: 0 -272px;
+}
+
+.cke_skin_kama .cke_button_removeFormat .cke_icon
+{
+	background-position: 0 -288px;
+}
+
+.cke_skin_kama .cke_button_bold .cke_icon
+{
+	background-position: 0 -304px;
+}
+
+.cke_skin_kama .cke_button_italic .cke_icon
+{
+	background-position: 0 -320px;
+}
+
+.cke_skin_kama .cke_button_underline .cke_icon
+{
+	background-position: 0 -336px;
+}
+
+.cke_skin_kama .cke_button_strike .cke_icon
+{
+	background-position: 0 -352px;
+}
+
+.cke_skin_kama .cke_button_subscript .cke_icon
+{
+	background-position: 0 -368px;
+}
+
+.cke_skin_kama .cke_button_superscript .cke_icon
+{
+	background-position: 0 -384px;
+}
+
+.cke_skin_kama .cke_button_table .cke_icon
+{
+	background-position: 0 -608px;
+}
+
+.cke_skin_kama .cke_button_horizontalrule .cke_icon
+{
+	background-position: 0 -624px;
+}
+
+.cke_skin_kama .cke_button_smiley .cke_icon
+{
+	background-position: 0 -640px;
+}
+
+.cke_skin_kama .cke_button_link .cke_icon
+{
+	background-position: 0 -528px;
+}
+
+.cke_skin_kama .cke_button_unlink .cke_icon
+{
+	background-position: 0 -544px;
+}
+
+.cke_skin_kama .cke_button_anchor .cke_icon
+{
+	background-position: 0 -560px;
+}
+
+.cke_skin_kama .cke_button_image .cke_icon
+{
+	background-position: 0 -576px;
+}
+
+.cke_skin_kama .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_kama .cke_button_specialchar .cke_icon
+{
+	background-position: 0 -656px;
+}
+
+.cke_skin_kama .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_kama .cke_button_print .cke_icon
+{
+	background-position: 0 -176px;
+}
+
+.cke_skin_kama .cke_button_checkspell .cke_icon,
+.cke_skin_kama .cke_button_scayt .cke_icon
+{
+	background-position: 0 -192px;
+}
+
+.cke_skin_kama .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_kama .cke_button_textcolor .cke_icon
+{
+	background-position: 0 -704px;
+}
+
+.cke_skin_kama .cke_button_bgcolor .cke_icon
+{
+	background-position: 0 -720px;
+}
+
+.cke_skin_kama .cke_button_form .cke_icon
+{
+	background-position: 0 -752px;
+}
+
+.cke_skin_kama .cke_button_checkbox .cke_icon
+{
+	background-position: 0 -768px;
+}
+
+.cke_skin_kama .cke_button_radio .cke_icon
+{
+	background-position: 0 -784px;
+}
+
+.cke_skin_kama .cke_button_textfield .cke_icon
+{
+	background-position: 0 -800px;
+}
+
+.cke_skin_kama .cke_button_textarea .cke_icon
+{
+	background-position: 0 -816px;
+}
+.cke_skin_kama .cke_button_showblocks .cke_icon
+{
+	background-position: 0 -1136px;
+}
+
+.cke_skin_kama .cke_button_select .cke_icon
+{
+	background-position: 0 -832px;
+}
+
+.cke_skin_kama .cke_button_button .cke_icon
+{
+	background-position: 0 -848px;
+}
+
+.cke_skin_kama .cke_button_imagebutton .cke_icon
+{
+	background-position: 0 -864px;
+}
+
+.cke_skin_kama .cke_button_hiddenfield .cke_icon
+{
+	background-position: 0 -880px;
+}
+
+.cke_skin_kama .cke_button_undo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_kama .cke_rtl .cke_button_undo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_kama .cke_button_redo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_kama .cke_rtl .cke_button_redo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_kama .cke_button_templates .cke_icon
+{
+	background-position: 0 -80px;
+}
+
+.cke_skin_kama .cke_button_numberedlist .cke_icon
+{
+	background-position: 0 -400px;
+}
+
+.cke_skin_kama .cke_button_bulletedlist .cke_icon
+{
+	background-position: 0 -416px;
+}
+
+.cke_skin_kama .cke_button_outdent .cke_icon
+{
+	background-position: 0 -432px;
+}
+
+.cke_skin_kama .cke_button_indent .cke_icon
+{
+	background-position: 0 -448px;
+}
+
+.cke_skin_kama .cke_button_justifyleft .cke_icon
+{
+	background-position: 0 -464px;
+}
+
+.cke_skin_kama .cke_button_justifycenter .cke_icon
+{
+	background-position: 0 -480px;
+}
+
+.cke_skin_kama .cke_button_justifyright .cke_icon
+{
+	background-position: 0 -496px;
+}
+
+.cke_skin_kama .cke_button_justifyblock .cke_icon
+{
+	background-position: 0 -512px;
+}
+
+.cke_skin_kama .cke_button_blockquote .cke_icon
+{
+	background-position: 0 -1152px;
+}
+
+.cke_skin_kama .cke_button_creatediv .cke_icon
+{
+	background-position: 0 -1168px;
+}
+.cke_skin_kama .cke_button_editdiv .cke_icon
+{
+	background-position: 0 -1184px;
+}
+.cke_skin_kama .cke_button_removediv .cke_icon
+{
+	background-position: 0 -1200px;
+}
+
+.cke_skin_kama .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_kama .cke_button_pastefromword .cke_icon
+{
+	background-position: 0 -160px;
+}
+
+.cke_skin_kama .cke_button_save .cke_icon
+{
+	background-position: 0 -32px;
+}
+
+.cke_skin_kama .cke_button_about .cke_icon
+{
+	background-position: 0 -736px;
+}
+
+.cke_skin_kama .cke_button_maximize .cke_icon
+{
+	background-position: 0 -1040px;
+}
+.cke_skin_office2003 .cke_button_editdiv .cke_icon
+{
+	background-position: 0 -1184px;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/mainui.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/mainui.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/mainui.css	(revision 4888)
@@ -0,0 +1,163 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama
+{
+	display: block;
+}
+
+/* Main editor only settings. */
+span.cke_skin_kama
+{
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	border: 1px solid #D3D3D3;
+	padding: 5px;
+}
+
+.cke_skin_kama span.cke_browser_webkit,
+.cke_skin_kama span.cke_browser_gecko18
+{
+	display: block;
+}
+
+.cke_skin_kama .cke_wrapper
+{
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	background-color: #d3d3d3;
+	background-image: url(images/sprites.png);
+	background-repeat: repeat-x;
+	background-position: 0 -1950px;
+	display: block;
+	/* IE Quirks: editor chrome overflow horizontally without an explicit width. */
+	_display: inline-block;
+	padding: 5px;
+
+	/*background-color: Red;*/
+}
+
+.cke_shared .cke_skin_kama .cke_wrapper
+{
+	padding-bottom: 0;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_wrapper,
+.cke_skin_kama .cke_browser_iequirks .cke_wrapper
+{
+	background-image: none;
+}
+
+.cke_skin_kama .cke_editor
+{
+/*
+	border: solid 1px #dcdcdc;
+*/
+	display: inline-table;
+	width: 100%;
+}
+
+.cke_skin_kama .ltr .cke_browser_ie iframe
+{
+	margin-right: -10px;
+}
+
+.cke_skin_kama .rtl .cke_browser_ie iframe
+{
+	margin-left: -10px;
+}
+
+.cke_skin_kama .cke_browser_opera .cke_editor.cke_skin_kama .cke_resizer
+{
+	display: table;
+}
+
+.cke_skin_kama .cke_contents
+{
+	margin: 5px;
+}
+
+.cke_skin_kama .cke_hc .cke_contents
+{
+	border: 1px solid black;
+}
+
+.cke_skin_kama .cke_contents iframe
+{
+	background-color: #fff;
+}
+
+.cke_skin_kama .cke_focus
+{
+	outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_kama textarea.cke_source
+{
+	font-family: 'Courier New' , Monospace;
+	font-size: small;
+	background-color: #fff;
+	white-space: pre;
+}
+
+.cke_skin_kama .cke_browser_iequirks textarea.cke_source
+{
+	/* For IE6+Quirks only */
+	_white-space: normal;
+}
+
+.cke_skin_kama .cke_resizer
+{
+	width: 12px;
+	height: 12px;
+	margin-top: 9px;
+	display: block;
+	float: right;
+	/* resizer.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -1428px;
+	background-repeat: no-repeat;
+	cursor: se-resize;
+}
+
+.cke_skin_kama .cke_rtl .cke_resizer
+{
+	cursor: sw-resize;
+	/* resizer_rtl.gif*/
+	background-position: 0 -1455px;
+	float: left;
+}
+
+.cke_skin_kama .cke_maximized .cke_resizer
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_kama .cke_browser_ie7 .cke_contents textarea
+{
+	position: absolute;
+}
+
+.cke_skin_kama .cke_browser_ie.cke_browser_quirks .cke_contents iframe
+{
+	position: absolute;
+	top: 0;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_editor,
+.cke_skin_kama .cke_browser_ie7 .cke_editor
+{
+	display: inline-block;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_editor,
+.cke_shared .cke_skin_kama .cke_browser_ie7 .cke_wrapper
+{
+	padding-bottom: 5px;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/menu.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/menu.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/menu.css	(revision 4888)
@@ -0,0 +1,179 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_contextmenu
+{
+	padding: 2px;
+}
+
+.cke_skin_kama .cke_menuitem a
+{
+	display:block;
+}
+
+.cke_skin_kama .cke_menuitem span
+{
+	cursor: default;
+}
+
+.cke_skin_kama .cke_menuitem a:hover,
+.cke_skin_kama .cke_menuitem a:focus,
+.cke_skin_kama .cke_menuitem a:active
+{
+	background-color: #D3D3D3;
+	display:block;
+}
+
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover,
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus,
+.cke_skin_kama .cke_menuitem a.cke_disabled:active
+{
+	background-color: transparent !important;
+}
+
+.cke_skin_kama .cke_menuitem .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat:no-repeat;
+	background-color: transparent;
+	width: 16px;
+	height: 16px;
+	float: left;
+}
+
+.cke_skin_kama .cke_menuitem .cke_disabled .cke_icon
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem .cke_icon_wrapper
+{
+	background-color: #D3D3D3;
+	border: solid 4px #D3D3D3;
+	width: 16px;
+	height: 16px;
+	float: left;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	clear: both;
+}
+
+.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon_wrapper
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper
+{
+	background-color: #9d9d9d;
+	border: solid 4px #9d9d9d;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+	background-color: #D3D3D3;
+	border: solid 4px #D3D3D3;
+}
+
+.cke_skin_kama .cke_menuitem .cke_label
+{
+	display:block;
+	padding-right: 3px;
+	padding-top: 5px;
+	padding-left: 4px;
+	height:19px;
+	margin-left: 24px;
+	background-color: #fff;
+	_overflow: hidden;
+	_width: 80px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_kama .cke_menuitem .cke_label
+{
+	padding-right: 0;
+	margin-left: 0;
+	padding-left: 3px;
+	margin-right: 28px;
+}
+
+.cke_skin_kama .cke_menuitem a.cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem a:hover .cke_label,
+.cke_skin_kama .cke_menuitem a:focus .cke_label,
+.cke_skin_kama .cke_menuitem a:active .cke_label
+{
+	background-color: #D3D3D3;
+}
+
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label
+{
+	background-color: transparent;
+}
+
+.cke_skin_kama .cke_menuseparator
+{
+	background-color: #D3D3D3;
+	height: 2px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+
+	_font-size: 0;
+}
+
+.cke_skin_kama .cke_menuarrow
+{
+	/* arrowright.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -1411px;
+	background-repeat: no-repeat;
+	height: 5px;
+	width: 3px;
+	float: right;
+	margin-right: 2px;
+	margin-top: 3px;
+}
+
+.cke_rtl .cke_skin_kama .cke_menuarrow
+{
+	float: left;
+	margin-right: 0;
+	margin-left: 2px;
+	/* arrowleft.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0px -1390px;
+	background-repeat: no-repeat;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_kama .cke_menuarrow
+{
+	position: absolute;
+	right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuarrow
+{
+	position: absolute;
+	left: 2px;
+}
+/* END #3766 */
Index: CKEditor/branches/features/aria/_source/skins/kama/panel.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/panel.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/panel.css	(revision 4888)
@@ -0,0 +1,203 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_panel
+{
+	border: 1px solid #8f8f73;
+	background-color: #fff;
+
+	width: 120px;
+	height: 100px;
+
+	overflow: hidden;
+
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	border-radius: 3px;
+}
+
+.cke_skin_kama .cke_contextmenu
+{
+	margin: 0;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_kama .cke_panel iframe
+{
+	width: 100%;
+	height: 100%;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_kama_container
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+ul.cke_panel_list
+{
+	list-style-type: none;
+	margin: 3px;
+	padding: 0px;
+	white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+	margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+	padding: 2px;
+	display: block;
+	border: 1px solid #fff;
+	color: inherit;
+	text-decoration: none;
+	overflow: hidden;
+	text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+	width : 100%;
+
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+	border: 1px solid #ccc;
+	background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_panel_grouptitle
+{
+	font-size: 11px;
+	font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+	font-weight: bold;
+	white-space: nowrap;
+	background-color: #dcdcdc;
+	color: #000;
+	margin:0px;
+	padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+	margin-top: 3px;
+	margin-bottom: 3px;
+}
+
+.cke_skin_kama .cke_button_textcolor_panel,
+.cke_skin_kama .cke_button_bgcolor_panel
+{
+	width: 150px;
+	height: 135px;
+}
+
+.cke_colorblock
+{
+	padding: 3px;
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+	text-decoration: none;
+	color: #000;
+}
+
+span.cke_colorbox
+{
+	width: 10px;
+	height: 10px;
+    border: #808080 1px solid;
+	float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+	float: right;
+}
+
+a.cke_colorbox
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+    float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    display: block;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/presets.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/presets.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/presets.css	(revision 4888)
@@ -0,0 +1,49 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_kama .cke_button_source .cke_label
+{
+	display: inline;
+}
+
+/* "Styles" panel size */
+.cke_skin_kama .cke_styles_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_kama .cke_format_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_kama .cke_font_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_kama .cke_fontSize_panel
+{
+	height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_kama .cke_fontSize .cke_text
+{
+	width: 25px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_kama .cke_browser_iequirks .cke_fontSize .cke_text
+{
+	width: 32px;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/reset.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/reset.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/reset.css	(revision 4888)
@@ -0,0 +1,78 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_kama *,
+.cke_skin_kama a:hover,
+.cke_skin_kama a:link,
+.cke_skin_kama a:visited,
+.cke_skin_kama a:active
+{
+	margin: 0;
+	padding: 0;
+	border: 0;
+	background: transparent;
+	text-decoration: none;
+	font: normal normal normal 100% Sans-Serif;
+	width: auto;
+	height: auto;
+	border-collapse: collapse;
+	text-align: left;
+	vertical-align: baseline;
+	white-space: nowrap;
+	cursor: auto;
+	color: #000;
+
+    font-size: 12px;
+    font-family: Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
+}
+
+.cke_skin_kama .cke_rtl *,
+.cke_skin_kama .cke_rtl a:hover,
+.cke_skin_kama .cke_rtl a:link,
+.cke_skin_kama .cke_rtl a:visited,
+.cke_skin_kama .cke_rtl a:active,
+.cke_rtl .cke_skin_kama *,
+.cke_rtl .cke_skin_kama a:hover,
+.cke_rtl .cke_skin_kama a:link,
+.cke_rtl .cke_skin_kama a:visited,
+.cke_rtl .cke_skin_kama a:active
+{
+	text-align: right;
+}
+
+.cke_skin_kama iframe
+{
+	vertical-align: inherit;	/** For IE */
+}
+
+.cke_skin_kama textarea
+{
+	white-space: pre;
+}
+
+.cke_skin_kama .cke_browser_gecko textarea
+{
+	cursor: text;
+}
+
+.cke_skin_kama .cke_browser_gecko textarea[disabled]
+{
+	cursor: default;
+}
+
+.cke_skin_kama input[type="text"],
+.cke_skin_kama input[type="password"]
+{
+	cursor: text;
+}
+
+.cke_skin_kama input[type="text"][disabled],
+.cke_skin_kama input[type="password"][disabled]
+{
+	cursor: default;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/richcombo.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/richcombo.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/richcombo.css	(revision 4888)
@@ -0,0 +1,260 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Special Combo */
+
+.cke_skin_kama .cke_rcombo
+{
+	display: inline;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo
+{
+}
+
+.cke_skin_kama .cke_rcombopanel
+{
+	border: 1px solid #8F8F73;
+	-moz-border-radius-topleft: 0;
+	-webkit-border-top-left-radius: 0;
+	border-top-left-radius: 0;
+	height: auto;
+	_height: 100px;
+}
+
+/* IE6 workaround, shouldn't be here */
+.cke_skin_kama .cke_browser_iequirks .cke_rcombopanel,
+.cke_skin_kama .cke_browser_ie6 .cke_rcombopanel
+{
+/*	width: 150px;*/
+}
+
+.cke_skin_kama .cke_rcombo a,
+.cke_skin_kama .cke_rcombo a:active,
+.cke_skin_kama .cke_rcombo a:hover
+{
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: repeat-x;
+	background-position: 0 -100px;
+	border-bottom:1px solid #DAD9D9;
+	border-right:1px solid #DAD9D9;
+	float:left;
+	padding: 2px;
+	height: 21px;
+	margin-right: 6px;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo a,
+.cke_skin_kama .cke_rtl .cke_rcombo a:active,
+.cke_skin_kama .cke_rtl .cke_rcombo a:hover
+{
+	float:right;
+	margin-right: 0;
+	margin-left: 6px;
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo a
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_rcombo .cke_label
+{
+	display: none;
+	line-height: 26px;
+	vertical-align: top;
+	margin-right: 5px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	/* background-color: #f1f1e3;	Because of IE6+ClearType */
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_label
+{
+	margin-right: 0;
+	margin-left: 5px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_inline_label
+{
+	line-height: 21px;
+	font-style: italic;
+	color: #666666;
+}
+
+.cke_skin_kama .cke_browser_ie .cke_rcombo .cke_text
+{
+/*	float: left; */
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_label
+{
+	filter: alpha(opacity=100);
+	opacity: 1.0;
+}
+
+.cke_skin_kama .cke_rcombo .cke_text
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+
+	height: 21px;
+	line-height: 21px;
+	width:60px;
+	text-overflow: ellipsis;
+	overflow: hidden;
+	display: inline-block;
+	margin: 0 2px 0 4px;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_text
+{
+	margin: 0 4px 0 2px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_openbutton
+{
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -68px;
+	background-repeat: no-repeat;
+	display: inline-block;
+	width: 17px;
+	height: 19px;
+	margin: 1px 2px;
+	background-repeat: no-repeat;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_openbutton
+{
+	margin-bottom: 0;
+}
+
+.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_kama .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_kama .cke_rcombo .cke_on .cke_text
+{
+	border-color: #316ac5;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_skin_kama .cke_rcombo .cke_on .cke_text
+{
+	-moz-border-radius-bottomleft: 0px;
+	-webkit-border-bottom-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton
+{
+	-moz-border-radius-bottomright: 0px;
+	-webkit-border-bottom-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=70);
+	opacity: 0.7;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=50); /* IE */
+	opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=80);
+	opacity: 0.8;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_text
+{
+	color: #fff;
+}
+
+/* RTL */
+
+.cke_skin_kama .cke_rtl .cke_rcombo span
+{
+/*	_zoom: 1;*/
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_text
+{
+/*	_float: left;*/
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_openbutton,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text
+{
+/*	float: right;*/
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_label
+{
+	/*display: block;*/
+	float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_browser_ie7 .cke_rcombo .cke_text
+{
+	line-height: 18px;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_text
+{
+	height: auto;
+	line-height: 17px;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/skin.js
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/skin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/skin.js	(revision 4888)
@@ -0,0 +1,268 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'kama', (function()
+{
+	var preload = [],
+		uiColorStylesheetId = 'cke_ui_color';
+
+	if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+	{
+		// For IE6, we need to preload some images, otherwhise they will be
+		// downloaded several times (CSS background bug).
+		preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+	}
+
+	return {
+		preload		: preload,
+		editor		: { css : [ 'editor.css' ] },
+		dialog		: { css : [ 'dialog.css' ] },
+		templates	: { css : [ 'templates.css' ] },
+		margins		: [ 0, 0, 0, 0 ],
+		init : function( editor )
+		{
+			if ( editor.config.width && !isNaN( editor.config.width ) )
+				editor.config.width -= 12;
+
+			var uiColorMenus = [];
+			var uiColorRegex = /\$color/g;
+			var uiColorMenuCss = "/* UI Color Support */\
+.cke_skin_kama .cke_menuitem .cke_icon_wrapper\
+{\
+	background-color: $color !important;\
+	border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper\
+{\
+	background-color: $color !important;\
+	border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover .cke_label,\
+.cke_skin_kama .cke_menuitem a:focus .cke_label,\
+.cke_skin_kama .cke_menuitem a:active .cke_label\
+{\
+	background-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label\
+{\
+	background-color: transparent !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_icon_wrapper\
+{\
+	background-color: $color !important;\
+	border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper\
+{\
+	background-color: $color !important;\
+	border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuseparator\
+{\
+	background-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover,\
+.cke_skin_kama .cke_menuitem a:focus,\
+.cke_skin_kama .cke_menuitem a:active\
+{\
+	background-color: $color !important;\
+}";
+			// We have to split CSS declarations for webkit.
+			if ( CKEDITOR.env.webkit )
+			{
+				uiColorMenuCss = uiColorMenuCss.split( '}' ).slice( 0, -1 );
+				for ( var i = 0 ; i < uiColorMenuCss.length ; i++ )
+					uiColorMenuCss[ i ] = uiColorMenuCss[ i ].split( '{' );
+			}
+
+			function getStylesheet( document )
+			{
+				var node = document.getById( uiColorStylesheetId );
+				if( !node )
+				{
+					node = document.getHead().append( 'style' );
+					node.setAttribute( "id", uiColorStylesheetId );
+					node.setAttribute( "type", "text/css" );
+				}
+				return node;
+			}
+
+			function updateStylesheets( styleNodes, styleContent, replace )
+			{
+				var r, i, content;
+				for ( var id  = 0 ; id < styleNodes.length ; id++ )
+				{
+					if ( CKEDITOR.env.webkit )
+					{
+						for ( i = 0 ; i < styleContent.length ; i++ )
+						{
+							content = styleContent[ i ][ 1 ];
+							for ( r  = 0 ; r < replace.length ; r++ )
+								content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
+
+							styleNodes[ id ].$.sheet.addRule( styleContent[ i ][ 0 ], content );
+						}
+					}
+					else
+					{
+						content = styleContent;
+						for ( r  = 0 ; r < replace.length ; r++ )
+							content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
+
+						if ( CKEDITOR.env.ie )
+							styleNodes[ id ].$.styleSheet.cssText += content;
+						else
+							styleNodes[ id ].$.innerHTML += content;
+					}
+				}
+			}
+
+			var uiColorRegexp = /\$color/g;
+
+			CKEDITOR.tools.extend( editor,
+			{
+				uiColor: null,
+
+				getUiColor : function()
+				{
+					return this.uiColor;
+				},
+
+				setUiColor : function( color )
+				{
+					var cssContent,
+						uiStyle = getStylesheet( CKEDITOR.document ),
+						cssId = '.cke_editor_' + CKEDITOR.tools.escapeCssSelector( editor.name );
+
+					var cssSelectors =
+						[
+							cssId + " .cke_wrapper",
+							cssId + "_dialog .cke_dialog_contents",
+							cssId + "_dialog a.cke_dialog_tab",
+							cssId + "_dialog .cke_dialog_footer"
+						].join( ',' );
+					var cssProperties = "background-color: $color !important;";
+
+					if ( CKEDITOR.env.webkit )
+						cssContent = [ [ cssSelectors, cssProperties ] ];
+					else
+						cssContent = cssSelectors + '{' + cssProperties + '}';
+
+					return ( this.setUiColor =
+						function( color )
+						{
+							var replace = [ [ uiColorRegexp, color ] ];
+							editor.uiColor = color;
+
+							// Update general style.
+							updateStylesheets( [ uiStyle ], cssContent, replace );
+
+							// Update menu styles.
+							updateStylesheets( uiColorMenus, uiColorMenuCss, replace );
+						})( color );
+				}
+			});
+
+			editor.on( 'menuShow', function( event )
+			{
+				var panel = event.data[ 0 ];
+				var iframe = panel.element.getElementsByTag( 'iframe' ).getItem( 0 ).getFrameDocument();
+
+				// Add stylesheet if missing.
+				if ( !iframe.getById( 'cke_ui_color' ) )
+				{
+					var node = getStylesheet( iframe );
+					uiColorMenus.push( node );
+
+					var color = editor.getUiColor();
+					// Set uiColor for new menu.
+					if ( color )
+						updateStylesheets( [ node ], uiColorMenuCss, [ [ uiColorRegexp, color ] ] );
+				}
+			});
+
+			// Apply UI color if specified in config.
+			if ( editor.config.uiColor )
+				editor.setUiColor( editor.config.uiColor );
+		}
+	};
+})() );
+
+(function()
+{
+	CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+	function dialogSetup()
+	{
+		CKEDITOR.dialog.on( 'resize', function( evt )
+			{
+				var data = evt.data,
+					width = data.width,
+					height = data.height,
+					dialog = data.dialog,
+					contents = dialog.parts.contents;
+
+				if ( data.skin != 'kama' )
+					return;
+
+				contents.setStyles(
+					{
+						width : width + 'px',
+						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', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+						// mr
+						el = innerDialog.getChild( 5 );
+						el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+					},
+					100 );
+			});
+	}
+})();
+
+/**
+ * The base user interface color to be used by the editor. Not all skins are
+ * compatible with this setting.
+ * @name CKEDITOR.config.uiColor
+ * @type String
+ * @default '' (empty)
+ * @example
+ * // Using a color code.
+ * config.uiColor = '#AADC6E';
+ * @example
+ * // Using an HTML color name.
+ * config.uiColor = 'Gold';
+ */
Index: CKEditor/branches/features/aria/_source/skins/kama/templates.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/templates.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/templates.css	(revision 4888)
@@ -0,0 +1,71 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_kama .cke_tpl_list
+{
+	border: #dcdcdc 2px solid;
+	background-color: #ffffff;
+	overflow: auto;
+	width: 100%;
+	height: 220px;
+}
+
+.cke_skin_kama .cke_tpl_item
+{
+	margin: 5px;
+	padding: 7px;
+	border: #eeeeee 1px solid;
+	*width: 88%;
+}
+
+.cke_skin_kama .cke_tpl_preview
+{
+	border-collapse: separate;
+	text-indent:0;
+	width: 100%;
+}
+.cke_skin_kama .cke_tpl_preview td
+{
+	padding: 2px;
+	vertical-align: middle;
+}
+.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img
+{
+	width: 100px;
+}
+.cke_skin_kama .cke_tpl_preview span
+{
+	white-space: normal;
+}
+
+.cke_skin_kama .cke_tpl_title
+{
+	font-weight: bold;
+}
+
+.cke_skin_kama .cke_tpl_hover
+{
+	border: #ff9933 1px solid !important;
+	background-color: #fffacd !important;
+	cursor: pointer;
+	cursor: hand;
+}
+/*
+ * Fix property 'cursor' doesn't inherit on table
+ */
+.cke_skin_kama .cke_tpl_hover *
+{
+	cursor: inherit;
+}
+
+.cke_skin_kama .cke_tpl_empty, .cke_tpl_loading
+{
+	text-align: center;
+	padding: 5px;
+}
Index: CKEditor/branches/features/aria/_source/skins/kama/toolbar.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/kama/toolbar.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/kama/toolbar.css	(revision 4888)
@@ -0,0 +1,407 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	/* For printing, we simply hide the toolbar */
+
+	.cke_skin_kama .cke_toolbox
+	{
+		display: none;
+	}
+}
+
+.cke_skin_kama .cke_browser_webkit .cke_toolbox,
+.cke_skin_kama .cke_browser_webkit .cke_toolbox > span
+{
+	white-space: normal;
+}
+
+.cke_skin_kama .cke_toolbox
+{
+	clear: both;
+}
+
+.cke_skin_kama a.cke_toolbox_collapser,
+.cke_skin_kama a:hover.cke_toolbox_collapser
+{
+	/* arrowtop.gif */
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 3px -1366px; /* +3px +4px */
+	background-repeat: no-repeat;
+	width: 11px;
+	height: 11px;
+	float: right;
+	border: 1px outset #D3D3D3;
+	margin: 11px 0 2px;
+	cursor: pointer;
+}
+
+.cke_skin_kama .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser
+{
+	float: left;
+}
+
+.cke_skin_kama a.cke_toolbox_collapser_min,
+.cke_skin_kama a:hover.cke_toolbox_collapser_min
+{
+	/* arrowleft.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 4px -1387px; /* +4px +3px */
+	background-repeat: no-repeat;
+	margin: 2px 4px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+	/* arrowright.gif*/
+	background-position: 4px -1408px; /* +2px +3px */
+}
+
+.cke_skin_kama .cke_toolbar
+{
+	display: inline;
+}
+
+.cke_skin_kama .cke_separator
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_break
+{
+	font-size: 0;
+	clear: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_break
+{
+	clear: right;
+}
+
+.cke_skin_kama .cke_toolbar_start
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_toolgroup
+{
+	-moz-border-radius:5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: repeat-x;
+	background-position: 0 -500px;
+	float: left;
+	margin-right: 6px;
+	margin-bottom: 5px;
+	padding: 2px;
+	display: inline;
+}
+
+.cke_skin_kama .cke_rtl .cke_toolgroup
+{
+	float: right;
+	margin-right: 0;
+	margin-left: 6px;
+}
+
+.cke_skin_kama .cke_button a,
+.cke_skin_kama .cke_button a:hover,
+.cke_skin_kama .cke_button a:focus,
+.cke_skin_kama .cke_button a:active,
+.cke_skin_kama .cke_button a.cke_off
+{
+	border-radius: 3px;
+	outline: none;
+	padding: 2px 4px;
+	height: 18px;
+	display: inline-block;
+	cursor: default;
+}
+
+.cke_skin_kama .cke_button a,
+.cke_skin_kama .cke_button a.cke_off
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+}
+
+.cke_skin_kama .cke_hc .cke_button a,
+.cke_skin_kama .cke_hc .cke_button a.cke_off
+{
+	opacity: 1.0;
+	filter: alpha(opacity=100);
+	border: 1px solid white;
+}
+
+.cke_skin_kama .cke_button a.cke_on
+{
+	background-color: #a3d7ff;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+	padding: 2px 4px;
+}
+
+.cke_skin_kama .cke_hc .cke_button a.cke_on
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_kama .cke_button a.cke_disabled,
+.cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_button a.cke_disabled,
+.cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled
+{
+	filter: alpha(opacity=60);
+	opacity: 0.6;
+}
+
+.cke_skin_kama .cke_button a:hover.cke_on,
+.cke_skin_kama .cke_button a:focus.cke_on,
+.cke_skin_kama .cke_button a:active.cke_on,	/* IE */
+.cke_skin_kama .cke_button a:hover.cke_off,
+.cke_skin_kama .cke_button a:focus.cke_off,
+.cke_skin_kama .cke_button a:active.cke_off	/* IE */
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+	padding: 2px 4px;
+}
+
+.cke_skin_kama .cke_button a:hover.cke_on,
+.cke_skin_kama .cke_button a:focus.cke_on,
+.cke_skin_kama .cke_button a:active.cke_on	/* IE */
+{
+	background-color: #86caff;
+}
+
+.cke_skin_kama .cke_button a:hover.cke_off,
+.cke_skin_kama .cke_button a:focus.cke_off,
+.cke_skin_kama .cke_button a:active.cke_off	/* IE */
+{
+	background-color: #dff1ff;
+}
+
+.cke_skin_kama .cke_hc .cke_button a:hover.cke_on,
+.cke_skin_kama .cke_hc .cke_button a:focus.cke_on,
+.cke_skin_kama .cke_hc .cke_button a:active.cke_on,	/* IE */
+.cke_skin_kama .cke_hc .cke_button a:hover.cke_off,
+.cke_skin_kama .cke_hc .cke_button a:focus.cke_off,
+.cke_skin_kama .cke_hc .cke_button a:active.cke_off	/* IE */
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_kama .cke_button .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat: no-repeat;
+	margin-top: 1px;
+	width: 16px;
+	height: 16px;
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_icon
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_button .cke_label
+{
+	cursor: default;
+	display: none;
+	padding-left: 3px;
+	line-height: 18px;
+	vertical-align: middle;
+	float: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_label
+{
+	padding-left: 0;
+	padding-right: 3px;
+	float: right;
+}
+
+.cke_skin_kama .cke_hc .cke_button .cke_label
+{
+	padding: 0;
+	display: inline-block;
+}
+
+.cke_skin_kama .cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_accessibility
+{
+	position: absolute;
+	display: block;
+	width: 0;
+	height: 0;
+	overflow: hidden;
+}
+
+.cke_skin_kama .cke_button .cke_buttonarrow
+{
+	display: inline-block;
+	height: 17px;
+	width: 8px;
+	background-position: 2px -1469px; /* (+2, -5) */
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+	float: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_buttonarrow
+{
+	background-position: 0 -1469px; /* (0, -5) */
+	float: right;
+}
+
+.cke_skin_kama .cke_hc .cke_button .cke_buttonarrow
+{
+	display: none;
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_kama .cke_browser_gecko .cke_toolbar,
+.cke_skin_kama .cke_browser_gecko .cke_button a,
+.cke_skin_kama .cke_browser_gecko .cke_button a.cke_off,
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_buttonarrow,
+.cke_skin_kama .cke_browser_gecko .cke_separator,
+.cke_skin_kama .cke_browser_gecko .cke_toolbar_start
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko.cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button a,
+.cke_skin_kama .cke_browser_gecko .cke_rtl.cke_button a.cke_off,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar_start
+{
+	float: right;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_break
+{
+	float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_break
+{
+	float: right;
+}
+
+/*** IE ***/
+
+/* The biggest problem with IE is the RTL support (and float:right). It's
+   totally broken, and quite delicate. IE8 fixed these issues. */
+
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_label,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_buttonarrow
+{
+	float: none;
+}
+
+/*** WebKit ***/
+
+/* We have originally used display:inline-block+float for cke_toolbar and it
+   worked well in all browsers, except IE+RTL. We had to change it to inline
+   and remove the float. This change didn't play well with Safari. */
+
+.cke_skin_kama .cke_browser_webkit .cke_toolbar
+{
+	float: left;
+}
+
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_toolbar
+{
+	float: right;
+}
+
+/*** Mixed Fixes ***/
+
+.cke_skin_kama .cke_browser_ie8 .cke_button .cke_label,
+.cke_skin_kama .cke_browser_opera .cke_button .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_button .cke_label
+{
+	line-height: 20px;
+}
+
+.cke_skin_kama .cke_browser_opera.cke_browser_quirks .cke_button .cke_label,
+.cke_skin_kama .cke_browser_iequirks .cke_button .cke_label
+{
+	line-height: 17px;
+}
+
+/* IE8 strict button valign correction */
+.cke_skin_kama .cke_browser_ie8 .cke_button .cke_label
+{
+	vertical-align: top;
+}
+
+.cke_skin_kama .cke_browser_iequirks.cke_browser_ie8 .cke_button .cke_label
+{
+	/* revert previous */
+	vertical-align: middle;
+}
+/* END IE8 strict button valign correction */
+
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_kama .cke_browser_ie .cke_rcombo,
+.cke_skin_kama .cke_browser_ie .cke_rcombo *
+{
+	cursor: default;
+}
+
+.cke_skin_kama .cke_browser_ie7 .cke_toolbox
+{
+	margin-bottom: 2px;
+}
+
+.cke_shared .cke_skin_kama .cke_browser_ie7 .cke_toolbox
+{
+	margin-bottom: 0;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_toolbox
+{
+	/* Define the padding-bottom otherwise the collapser button will not be clicable in FF */
+	padding-bottom: 1px;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/dialog.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/dialog.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/dialog.css	(revision 4888)
@@ -0,0 +1,662 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+	visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_office2003 table.cke_dialog.cke_browser_gecko
+{
+	display:block;
+}
+
+.cke_skin_office2003 .cke_dialog_body
+{
+	margin-left: 16px;
+	margin-right: 16px;
+	margin-top: 2px;
+	margin-bottom: 20px;
+	z-index: 1;
+
+	/* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+		need it to be positioned to hold e.g. close button. */
+	position: relative;
+	_position: static;
+}
+
+.cke_skin_office2003 .cke_dialog_tl,
+.cke_skin_office2003 .cke_dialog_tr,
+.cke_skin_office2003 .cke_dialog_tc,
+.cke_skin_office2003 .cke_dialog_bl,
+.cke_skin_office2003 .cke_dialog_br,
+.cke_skin_office2003 .cke_dialog_bc
+{
+	background-image: url(images/sprites.png);
+	background-repeat: no-repeat;
+	position: absolute;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/sprites_ie6.png);
+	/* Dialog corner parts require a negative z-index to avoid covering dialog body. (#4954) */
+	_z-index: -1;
+}
+
+.cke_skin_office2003 .cke_dialog_tl
+{
+	background-position: -16px -16px;
+	height: 16px;
+	width: 16px;
+	top: 0;
+	left: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tl
+{
+	background-position: -16px -397px;
+}
+
+.cke_skin_office2003 .cke_dialog_tr
+{
+	background-position: -16px -76px;
+	height: 16px;
+	width: 16px;
+	top: 0;
+	right: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tr
+{
+	background-position: -16px -457px;
+}
+
+.cke_skin_office2003 .cke_dialog_tc
+{
+	background-position: 0 -136px;
+	background-repeat: repeat-x;
+	height: 16px;
+	top: 0;
+	left: 16px;
+	right: 16px;
+}
+
+.cke_skin_office2003 .cke_dialog_bl
+{
+	background-position: -16px -196px;
+	height: 51px;
+	width: 30px;
+	bottom: 0;
+	left: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_bl
+{
+	background-position: -16px -517px;
+}
+
+.cke_skin_office2003 .cke_dialog_br
+{
+	background-position: -16px -263px;
+	height: 51px;
+	width: 30px;
+	bottom: 0;
+	right: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_br
+{
+	background-position: -16px -584px;
+}
+
+.cke_skin_office2003 .cke_dialog_bc
+{
+	background-position: 0 -330px;
+	background-repeat: repeat-x;
+	height: 51px;
+	bottom: 0;
+	left: 30px;
+	right: 30px;
+}
+
+.cke_skin_office2003 .cke_dialog_ml,
+.cke_skin_office2003 .cke_dialog_mr
+{
+	background-image: url(images/dialog_sides.png);
+	background-repeat: repeat-y;
+	position: absolute;
+	width: 16px;
+	top: 16px;
+	bottom: 51px;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/dialog_sides.gif);
+
+	/* IE quirks gets confused when we have both top and bottom. */
+	_top: auto;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_ml,
+.cke_skin_office2003 .cke_rtl .cke_dialog_mr
+{
+	background-image: url(images/dialog_sides_rtl.png);
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/dialog_sides.gif);
+}
+
+.cke_skin_office2003 .cke_dialog_ml
+{
+	background-position: 0 0;
+	left: 0;
+}
+
+.cke_skin_office2003 .cke_dialog_mr
+{
+	background-position: -16px 0;
+	right: 0;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks .cke_dialog_ml,
+.cke_skin_office2003 .cke_browser_iequirks .cke_dialog_mr
+{
+	margin-top: 3px;
+}
+
+.cke_skin_office2003 .cke_dialog_title
+{
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -678px;
+	background-repeat: repeat-x;
+	font-weight: bold;
+	font-size: 14pt;
+	color: #0E3460;
+	background-color: #8db1ff;
+	padding: 3px 10px 26px 10px;
+	cursor: move;
+	position: relative;
+}
+
+.cke_skin_office2003 .cke_browser_ie.cke_rtl .cke_dialog_title
+{
+	position: static !important;
+	unicode-bidi: bidi-override;
+}
+
+.cke_skin_office2003 .cke_dialog_contents
+{
+	background-color: #f7f8fd;
+	border: #2b66c9 1px solid;
+	overflow: auto;
+	padding: 5px 10px;
+}
+
+.cke_skin_office2003 .cke_dialog_footer
+{
+	background-color: #8db1ff;
+	text-align: right;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_footer
+{
+	text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_office2003 .cke_dialog_tabs
+{
+	height: 23px;
+	background-color: #8db1ff;
+	display: inline-block;
+	margin-left:10px;
+	margin-right:10px;
+	margin-top:-23px;
+	position: absolute;
+	z-index: 2;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tabs
+{
+	right: 10px;
+}
+
+.cke_skin_office2003 a.cke_dialog_tab,
+.cke_skin_office2003 a:link.cke_dialog_tab,
+.cke_skin_office2003 a:active.cke_dialog_tab,
+.cke_skin_office2003 a:hover.cke_dialog_tab,
+.cke_skin_office2003 a:visited.cke_dialog_tab
+{
+	color: #0E3460;
+	border-left: 1px solid #2b66c9;
+	border-right: 1px solid #2b66c9;
+	border-top: 1px solid #2b66c9;
+	height: 14px;
+	padding: 4px 5px;
+	display: inline-block;
+	cursor: pointer;
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_office2003 .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+	display: inline;
+	position: relative;
+	top: 6px;
+}
+
+.cke_skin_office2003 a:hover.cke_dialog_tab
+{
+	background-color: #f7f8fd;
+}
+
+.cke_skin_office2003 a.cke_dialog_tab_selected,
+.cke_skin_office2003 a:link.cke_dialog_tab_selected,
+.cke_skin_office2003 a:active.cke_dialog_tab_selected,
+.cke_skin_office2003 a:hover.cke_dialog_tab_selected,
+.cke_skin_office2003 a:visited.cke_dialog_tab_selected
+{
+	border-bottom: 1px solid #f7f8fd;
+	background-color: #f7f8fd;
+	font-weight: bold;
+	cursor: default;
+}
+
+/* single_page */
+
+.cke_skin_office2003 .cke_single_page .cke_dialog_tabs
+{
+	display: none;
+}
+
+.cke_skin_office2003 .cke_single_page .cke_dialog_title
+{
+	padding-bottom: 3px;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_vbox table,
+.cke_skin_office2003 .cke_dialog_ui_hbox table
+{
+	margin: auto;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_vbox_child
+{
+	padding: 5px 0px;
+}
+
+.cke_skin_office2003 input.cke_dialog_ui_input_text,
+.cke_skin_office2003 input.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	height: 14px;
+}
+
+.cke_skin_office2003 div.cke_dialog_ui_input_text,
+.cke_skin_office2003 div.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_office2003 textarea.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	/*
+	 * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+	 * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+	 */
+	_width: 99%;
+	overflow: auto;
+	resize: none;
+}
+
+.cke_skin_office2003 div.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_office2003 div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+	background-color : #a0a0a0;
+	cursor : default;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_hbox
+{
+	width: 100%;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_dialog_ui_hbox_child,
+.cke_skin_office2003 .cke_dialog_ui_hbox_last
+{
+	vertical-align: top;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_child
+{
+	padding-right: 10px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_child
+{
+	padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_office2003 a.cke_dialog_ui_button
+{
+	border-collapse: separate;
+	cursor: default;
+}
+
+.cke_skin_office2003 span.cke_dialog_ui_button
+{
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -678px;
+	background-repeat: repeat-x;
+	border: #0E3460 1px solid;
+	padding: 2px 10px;
+	text-align: center;
+	color: #0E3460;
+	background-color: #8db1ff;
+	display: inline-block;
+	cursor: default;
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_office2003 .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	display: block;
+}
+
+.cke_skin_office2003 a.cke_dialog_ui_button span.cke_disabled
+{
+	border: #898980 1px solid;
+	color: #5e5e55;
+	background-color: #c5c5b3;
+}
+
+.cke_skin_office2003 a:focus span.cke_dialog_ui_button,
+.cke_skin_office2003 a:active span.cke_dialog_ui_button
+{
+	background-color: #8db1ff;
+}
+
+.cke_skin_office2003 .cke_dialog_footer_buttons
+{
+	display: inline-table;
+	margin-right: 12px;
+	margin-left: 12px;
+	width: auto;
+	position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_office2003 .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+	display: inline;
+}
+
+.cke_skin_office2003 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	width: 60px;
+	margin: 7px 0;
+}
+
+.cke_skin_office2003 strong
+{
+	font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_office2003 .cke_dialog_close_button
+{
+	background-image: url(images/sprites.png);
+	background-repeat: no-repeat;
+	background-position: -20px -655px;
+	position: absolute;
+	cursor: pointer;
+	text-align: center;
+	height: 21px;
+	width: 21px;
+	top: 4px;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_office2003 .cke_dialog_close_button span
+{
+	display: none;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_dialog_close_button
+{
+	right: 10px;
+	_right: 22px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_close_button
+{
+	left: 10px;
+	_left: 16px;
+	_top: 6px;
+}
+
+.cke_skin_office2003 .cke_browser_ie6.cke_rtl .cke_dialog_close_button
+{
+	position: relative;
+	float: left;
+	margin-top: -55px;
+	margin-left: -7px;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_rtl.cke_single_page .cke_dialog_close_button
+{
+	margin-top: -32px;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_ltr .cke_dialog_close_button
+{
+	margin-top: 0;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_input_select
+{
+	border: 1px solid #a0a0a0;
+	background-color: white;
+}
+
+.cke_skin_office2003 iframe.cke_dialog_ui_input_file
+{
+	width: 100%;
+	height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_office2003 .cke_dialog .cke_dark_background
+{
+	background-color: #eaead1;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_hand
+{
+	cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_centered
+{
+	text-align: center;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_reset
+{
+	float: right;
+	background-position: 0 -32px;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: 1px none;
+	font-size: 1px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_reset
+{
+	float: left;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_locked,
+.cke_skin_office2003 .cke_dialog a.cke_btn_unlocked
+{
+	float: left;
+	background-position: 0 0;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: none 1px;
+	font-size: 1px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_unlocked
+{
+	background-position: 0 -16px;
+	background-image: url(images/mini.gif);
+}
+
+.cke_skin_office2003 .cke_dialog .cke_btn_over
+{
+	border: outset 1px;
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_office2003 .cke_dialog  #ImagePreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : scroll;
+	height : 160px;
+	width : 230px;
+	padding : 2px;
+	background-color : white;
+}
+.cke_skin_office2003 .cke_dialog  #ImagePreviewLoader
+{
+	position: absolute;
+	white-space : normal;
+	overflow : hidden;
+	height : 160px;
+	width : 230px;
+	margin : 2px;
+	padding : 2px;
+	opacity : 0.9;
+	filter : alpha(opacity=90);
+
+	background-color : #e4e4e4;
+}
+
+.cke_skin_office2003 .cke_dialog  #FlashPreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : auto;
+	height : 160px;
+	width : 390px;
+	padding : 2px;
+	background-color : white;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_dark_background
+{
+	text-align : center;
+	background-color: #eaead1;
+	font-size : 14px;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_light_background
+{
+	text-align : center;
+	background-color: #ffffbe;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_hand
+{
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_office2003 .cke_disabled
+{
+	color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+.cke_skin_office2003 .cke_hc .cke_dialog_title,
+.cke_skin_office2003 .cke_hc .cke_dialog_tabs,
+.cke_skin_office2003 .cke_hc .cke_dialog_contents,
+.cke_skin_office2003 .cke_hc .cke_dialog_footer
+{
+	border-left: 1px solid;
+	border-right: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_title
+{
+	border-top: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_footer
+{
+	border-bottom: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_close_button span
+{
+	display: inline;
+	cursor: pointer;
+	cursor: hand;
+	font-weight: bold;
+	position: relative;
+	top: 3px;
+}
+
+.cke_skin_office2003 .cke_hc a.cke_btn_locked,
+.cke_skin_office2003 .cke_hc a.cke_btn_unlocked,
+.cke_skin_office2003 .cke_hc a.cke_btn_reset
+{
+	border-style: solid;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/editor.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/editor.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/editor.css	(revision 4888)
@@ -0,0 +1,25 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@import url("reset.css");
+@import url("mainui.css");
+@import url("panel.css");
+@import url("toolbar.css");
+@import url("menu.css");
+@import url("richcombo.css");
+@import url("elementspath.css");
+@import url("icons.css");
+@import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_office2003
+{
+	visibility: inherit;
+}
+
+html.cke_skin_office2003_container
+{
+	visibility: visible;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/elementspath.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/elementspath.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/elementspath.css	(revision 4888)
@@ -0,0 +1,68 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	.cke_path
+	{
+		display: none;
+	}
+}
+
+.cke_skin_office2003 .cke_path
+{
+	padding: 3px 3px 0 3px;
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_path
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_path a,
+.cke_skin_office2003 .cke_path .cke_empty
+{
+	display: inline-block;
+	float: left;
+	border: solid 1px #f7f8fd;
+	background-color: #f7f8fd;
+	padding-top: 1px;
+	padding-bottom: 1px;
+	padding-left: 4px;
+	padding-right: 4px;
+	margin-bottom : 3px;
+}
+
+.cke_skin_office2003 .cke_path .cke_empty
+{
+	visibility: hidden;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_path a,
+.cke_skin_office2003 .cke_rtl .cke_path cke_empty
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_path a:hover,
+.cke_skin_office2003 .cke_path a:focus,
+.cke_skin_office2003 .cke_path a:active	/* IE */
+{
+	border: solid 1px #316ac5;
+	background-color: #dff1ff;
+	padding-top: 1px;
+	padding-bottom: 1px;
+	padding-left: 4px;
+	padding-right: 4px;
+	outline: none;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+	float: none;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/icons.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/icons.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/icons.css	(revision 4888)
@@ -0,0 +1,324 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_button_source .cke_icon
+{
+	background-position: 0 0;
+}
+
+.cke_skin_office2003 .cke_button_newpage .cke_icon
+{
+	background-position: 0 -48px;
+}
+
+.cke_skin_office2003 .cke_button_preview .cke_icon
+{
+	background-position: 0 -64px;
+}
+
+.cke_skin_office2003 .cke_button_cut .cke_icon
+{
+	background-position: 0 -96px;
+}
+
+.cke_skin_office2003 .cke_button_copy .cke_icon
+{
+	background-position: 0 -112px;
+}
+
+.cke_skin_office2003 .cke_button_paste .cke_icon
+{
+	background-position: 0 -128px;
+}
+
+.cke_skin_office2003 .cke_button_pastetext .cke_icon
+{
+	background-position: 0 -144px;
+}
+
+.cke_skin_office2003 .cke_button_find .cke_icon
+{
+	background-position: 0 -240px;
+}
+
+.cke_skin_office2003 .cke_button_replace .cke_icon
+{
+	background-position: 0 -256px;
+}
+
+.cke_skin_office2003 .cke_button_selectAll .cke_icon
+{
+	background-position: 0 -272px;
+}
+
+.cke_skin_office2003 .cke_button_removeFormat .cke_icon
+{
+	background-position: 0 -288px;
+}
+
+.cke_skin_office2003 .cke_button_bold .cke_icon
+{
+	background-position: 0 -304px;
+}
+
+.cke_skin_office2003 .cke_button_italic .cke_icon
+{
+	background-position: 0 -320px;
+}
+
+.cke_skin_office2003 .cke_button_underline .cke_icon
+{
+	background-position: 0 -336px;
+}
+
+.cke_skin_office2003 .cke_button_strike .cke_icon
+{
+	background-position: 0 -352px;
+}
+
+.cke_skin_office2003 .cke_button_subscript .cke_icon
+{
+	background-position: 0 -368px;
+}
+
+.cke_skin_office2003 .cke_button_superscript .cke_icon
+{
+	background-position: 0 -384px;
+}
+
+.cke_skin_office2003 .cke_button_table .cke_icon
+{
+	background-position: 0 -608px;
+}
+
+.cke_skin_office2003 .cke_button_horizontalrule .cke_icon
+{
+	background-position: 0 -624px;
+}
+
+.cke_skin_office2003 .cke_button_smiley .cke_icon
+{
+	background-position: 0 -640px;
+}
+
+.cke_skin_office2003 .cke_button_link .cke_icon
+{
+	background-position: 0 -528px;
+}
+
+.cke_skin_office2003 .cke_button_unlink .cke_icon
+{
+	background-position: 0 -544px;
+}
+
+.cke_skin_office2003 .cke_button_anchor .cke_icon
+{
+	background-position: 0 -560px;
+}
+
+.cke_skin_office2003 .cke_button_image .cke_icon
+{
+	background-position: 0 -576px;
+}
+
+.cke_skin_office2003 .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_office2003 .cke_button_specialchar .cke_icon
+{
+	background-position: 0 -656px;
+}
+
+.cke_skin_office2003 .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_office2003 .cke_button_print .cke_icon
+{
+	background-position: 0 -176px;
+}
+
+.cke_skin_office2003 .cke_button_checkspell .cke_icon,
+.cke_skin_office2003 .cke_button_scayt .cke_icon
+{
+	background-position: 0 -192px;
+}
+
+.cke_skin_office2003 .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_office2003 .cke_button_textcolor .cke_icon
+{
+	background-position: 0 -704px;
+}
+
+.cke_skin_office2003 .cke_button_bgcolor .cke_icon
+{
+	background-position: 0 -720px;
+}
+
+.cke_skin_office2003 .cke_button_form .cke_icon
+{
+	background-position: 0 -752px;
+}
+
+.cke_skin_office2003 .cke_button_checkbox .cke_icon
+{
+	background-position: 0 -768px;
+}
+
+.cke_skin_office2003 .cke_button_radio .cke_icon
+{
+	background-position: 0 -784px;
+}
+
+.cke_skin_office2003 .cke_button_textfield .cke_icon
+{
+	background-position: 0 -800px;
+}
+
+.cke_skin_office2003 .cke_button_textarea .cke_icon
+{
+	background-position: 0 -816px;
+}
+.cke_skin_office2003 .cke_button_showblocks .cke_icon
+{
+	background-position: 0 -1136px;
+}
+
+.cke_skin_office2003 .cke_button_select .cke_icon
+{
+	background-position: 0 -832px;
+}
+
+.cke_skin_office2003 .cke_button_button .cke_icon
+{
+	background-position: 0 -848px;
+}
+
+.cke_skin_office2003 .cke_button_imagebutton .cke_icon
+{
+	background-position: 0 -864px;
+}
+
+.cke_skin_office2003 .cke_button_hiddenfield .cke_icon
+{
+	background-position: 0 -880px;
+}
+
+.cke_skin_office2003 .cke_button_undo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button_undo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_office2003 .cke_button_redo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button_redo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_office2003 .cke_button_templates .cke_icon
+{
+	background-position: 0 -80px;
+}
+
+.cke_skin_office2003 .cke_button_numberedlist .cke_icon
+{
+	background-position: 0 -400px;
+}
+
+.cke_skin_office2003 .cke_button_bulletedlist .cke_icon
+{
+	background-position: 0 -416px;
+}
+
+.cke_skin_office2003 .cke_button_outdent .cke_icon
+{
+	background-position: 0 -432px;
+}
+
+.cke_skin_office2003 .cke_button_indent .cke_icon
+{
+	background-position: 0 -448px;
+}
+
+.cke_skin_office2003 .cke_button_justifyleft .cke_icon
+{
+	background-position: 0 -464px;
+}
+
+.cke_skin_office2003 .cke_button_justifycenter .cke_icon
+{
+	background-position: 0 -480px;
+}
+
+.cke_skin_office2003 .cke_button_justifyright .cke_icon
+{
+	background-position: 0 -496px;
+}
+
+.cke_skin_office2003 .cke_button_justifyblock .cke_icon
+{
+	background-position: 0 -512px;
+}
+
+.cke_skin_office2003 .cke_button_blockquote .cke_icon
+{
+	background-position: 0 -1152px;
+}
+
+.cke_skin_office2003 .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_office2003 .cke_button_pastefromword .cke_icon
+{
+	background-position: 0 -160px;
+}
+
+.cke_skin_office2003 .cke_button_save .cke_icon
+{
+	background-position: 0 -32px;
+}
+
+.cke_skin_office2003 .cke_button_about .cke_icon
+{
+	background-position: 0 -736px;
+}
+
+.cke_skin_office2003 .cke_button_maximize .cke_icon
+{
+	background-position: 0 -1040px;
+}
+
+.cke_skin_office2003 .cke_button_creatediv .cke_icon
+{
+	background-position: 0 -1168px;
+}
+
+.cke_skin_office2003 .cke_button_editdiv .cke_icon
+{
+	background-position: 0 -1184px;
+}
+
+.cke_skin_office2003 .cke_button_removediv .cke_icon
+{
+	background-position: 0 -1200px;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/mainui.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/mainui.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/mainui.css	(revision 4888)
@@ -0,0 +1,107 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_editor
+{
+/*
+	border: solid 1px #dcdcdc;
+*/
+	display: inline-table;
+	width: 100%;
+}
+
+.cke_skin_office2003 span.cke_browser_webkit,
+.cke_skin_office2003 span.cke_browser_gecko18
+{
+	display: block;
+}
+
+.cke_skin_office2003,
+.cke_skin_office2003 .cke_wrapper
+{
+	display: block;
+}
+
+.cke_skin_office2003 .cke_top,
+.cke_skin_office2003 .cke_bottom,
+ .cke_shared .cke_skin_office2003
+{
+	background-color: #f7f8fd;
+}
+
+.cke_skin_office2003 .cke_top
+{
+    border-top: solid 1px #fafaf5;
+    border-left: solid 1px #fafaf5;
+    border-right: solid 1px #696969;
+    border-bottom: solid 2px #696969;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_top
+{
+    border-left: solid 1px #696969;
+    border-right: solid 1px #fafaf5;
+}
+
+.cke_skin_office2003 .cke_bottom
+{
+    border-left: solid 1px #696969;
+    border-right: solid 1px #696969;
+    border-bottom: solid 1px #696969;
+}
+
+.cke_skin_office2003 .cke_contents
+{
+	border: solid 1px #696969;
+	/* Prevent background content from penetrate through when switching between editing modes. (#4918) */
+	background-color: white;
+}
+
+.cke_skin_office2003 .cke_focus
+{
+	outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_office2003 textarea.cke_source
+{
+	font-family: 'Courier New' , Monospace;
+	font-size: small;
+	white-space: pre;
+	background-color: #fff;
+}
+
+.cke_skin_office2003 .cke_resizer
+{
+	width: 12px;
+	height: 12px;
+	margin-top: 16px;
+	display: block;
+	float: right;
+	/* resizer.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -1088px;
+	background-repeat: no-repeat;
+	cursor: se-resize;
+}
+
+.cke_skin_office2003 .cke_maximized .cke_resizer
+{
+	display: none;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_resizer
+{
+	cursor: sw-resize;
+	/* resizer_rtl.gif*/
+	background-position: 0 -1115px;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_office2003 .cke_browser_ie7 .cke_contents textarea
+{
+	position: absolute;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/menu.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/menu.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/menu.css	(revision 4888)
@@ -0,0 +1,175 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_contextmenu
+{
+	padding: 2px;
+}
+
+.cke_skin_office2003 .cke_menuitem a
+{
+	display:block;
+}
+
+.cke_skin_office2003 .cke_menuitem span
+{
+	cursor: default;
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover,
+.cke_skin_office2003 .cke_menuitem a:focus,
+.cke_skin_office2003 .cke_menuitem a:active
+{
+	background-color: #8db1ff;
+	display:block;
+}
+
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:hover,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:focus,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:active
+{
+	background-color: transparent !important;
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat:no-repeat;
+	background-color: transparent;
+	width: 16px;
+	height: 16px;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_disabled .cke_icon
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
+{
+	background-color: #f7f8fd;
+	border: solid 4px #f7f8fd;
+	width: 16px;
+	height: 16px;
+	float: left;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:active .cke_icon_wrapper
+{
+	background-color: #9d9d9d;
+	border: solid 4px #9d9d9d;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+	background-color: #f7f8fd;
+	border: solid 4px #f7f8fd;
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_label
+{
+	display:block;
+	padding-right: 3px;
+	padding-top: 5px;
+	padding-left: 4px;
+	height:19px;
+	margin-left: 24px;
+	background-color: #fff;
+	_overflow: hidden;
+	_width: 80px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuitem .cke_label
+{
+	padding-right: 0;
+	margin-left: 0;
+	padding-left: 3px;
+	margin-right: 28px;
+}
+
+.cke_skin_office2003 .cke_menuitem a.cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover .cke_label,
+.cke_skin_office2003 .cke_menuitem a:focus .cke_label,
+.cke_skin_office2003 .cke_menuitem a:active .cke_label
+{
+	background-color: #8db1ff;
+}
+
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:active .cke_label
+{
+	background-color: transparent;
+}
+
+.cke_skin_office2003 .cke_menuseparator
+{
+	background-color: #f7f8fd;
+	height: 2px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+
+	_font-size: 0;
+}
+
+.cke_skin_office2003 .cke_menuarrow
+{
+	/* arrowright.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -1071px;
+	background-repeat: no-repeat;
+	height: 5px;
+	width: 3px;
+	float: right;
+	margin-right: 2px;
+	margin-top: 3px;
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuarrow
+{
+	float: left;
+	margin-right: 0;
+	margin-left: 2px;
+	/* arrowleft.gif*/
+	background-position: 0 -1050px;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_office2003 .cke_menuarrow
+{
+	position: absolute;
+	right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_office2003 .cke_menuarrow
+{
+	position: absolute;
+	left: 2px;
+}
+/* END #3766 */
Index: CKEditor/branches/features/aria/_source/skins/office2003/panel.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/panel.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/panel.css	(revision 4888)
@@ -0,0 +1,198 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_panel
+{
+    border: 1px solid #8f8f73;
+	background-color: #fff;
+
+	width: 120px;
+	height: 100px;
+
+	overflow:hidden;
+
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	border-radius: 3px;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_office2003 .cke_panel iframe
+{
+	width: 100%;
+	height: 100%;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_office2003_container
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+ul.cke_panel_list
+{
+	list-style-type: none;
+	margin: 3px;
+	padding: 0px;
+    white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+	margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+	padding: 2px;
+	display: block;
+	border: 1px solid #fff;
+	color: inherit;
+	text-decoration: none;
+	overflow: hidden;
+    text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+	width : 100%;
+
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+	border: 1px solid #ccc;
+	background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_panel_grouptitle
+{
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+	font-weight: bold;
+    white-space: nowrap;
+	background-color: #dcdcdc;
+	color: #000;
+	margin:0px;
+	padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+	margin-top: 3px;
+	margin-bottom: 3px;
+}
+
+.cke_skin_office2003 .cke_button_textcolor_panel,
+.cke_skin_office2003 .cke_button_bgcolor_panel
+{
+	width: 150px;
+	height: 135px;
+}
+
+.cke_colorblock
+{
+	padding: 3px;
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+	text-decoration: none;
+	color: #000;
+}
+
+span.cke_colorbox
+{
+	width: 10px;
+	height: 10px;
+    border: #808080 1px solid;
+	float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+	float: right;
+}
+
+a.cke_colorbox
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+    float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    display: block;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/presets.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/presets.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/presets.css	(revision 4888)
@@ -0,0 +1,49 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_office2003 .cke_button_source .cke_label
+{
+	display: inline;
+}
+
+/* "Styles" panel size */
+.cke_skin_office2003 .cke_styles_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_office2003 .cke_format_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_office2003 .cke_font_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_office2003 .cke_fontSize_panel
+{
+	height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_office2003 .cke_fontSize .cke_text
+{
+	width: 20px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_office2003 .cke_browser_iequirks .cke_fontSize .cke_text
+{
+	width: 32px;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/reset.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/reset.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/reset.css	(revision 4888)
@@ -0,0 +1,78 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_office2003 *,
+.cke_skin_office2003 a:hover,
+.cke_skin_office2003 a:link,
+.cke_skin_office2003 a:visited,
+.cke_skin_office2003 a:active
+{
+	margin: 0;
+	padding: 0;
+	border: 0;
+	background: transparent;
+	text-decoration: none;
+	font: normal normal normal 100% Sans-Serif;
+	width: auto;
+	height: auto;
+	border-collapse: collapse;
+	text-align: left;
+	vertical-align: baseline;
+	white-space: nowrap;
+	cursor: auto;
+	color: #000;
+
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_skin_office2003 .cke_rtl *,
+.cke_skin_office2003 .cke_rtl a:hover,
+.cke_skin_office2003 .cke_rtl a:link,
+.cke_skin_office2003 .cke_rtl a:visited,
+.cke_skin_office2003 .cke_rtl a:active,
+.cke_rtl .cke_skin_office2003 *,
+.cke_rtl .cke_skin_office2003 a:hover,
+.cke_rtl .cke_skin_office2003 a:link,
+.cke_rtl .cke_skin_office2003 a:visited,
+.cke_rtl .cke_skin_office2003 a:active
+{
+	text-align: right;
+}
+
+.cke_skin_office2003 iframe
+{
+	vertical-align: inherit;	/** For IE */
+}
+
+.cke_skin_office2003 textarea
+{
+	white-space: pre;
+}
+
+.cke_skin_office2003 .cke_browser_gecko textarea
+{
+	cursor: text;
+}
+
+.cke_skin_office2003 .cke_browser_gecko textarea[disabled]
+{
+	cursor: default;
+}
+
+.cke_skin_office2003 input[type="text"],
+.cke_skin_office2003 input[type="password"]
+{
+	cursor: text;
+}
+
+.cke_skin_office2003 input[type="text"][disabled],
+.cke_skin_office2003 input[type="password"][disabled]
+{
+	cursor: default;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/richcombo.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/richcombo.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/richcombo.css	(revision 4888)
@@ -0,0 +1,279 @@
+/* Special Combo */
+
+.cke_skin_office2003 .cke_rcombo
+{
+	display: inline-block;
+	margin-left: 2px;
+	margin-right: 2px;
+	margin-top: 2px;
+	vertical-align: top;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo
+{
+	#float: none;
+}
+
+.cke_skin_office2003 .cke_rcombopanel
+{
+	border: 1px solid #316ac5;
+	-moz-border-radius-topleft: 0;
+	-webkit-border-top-left-radius: 0;
+	border-top-left-radius: 0;
+	/*margin-left: 1px;*/
+	/*_margin-left: 0;*/
+}
+
+.cke_skin_office2003 .cke_rcombo a
+{
+	display: inline-block;
+	float: left;
+
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo a
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo a
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_label
+{
+	display: inline-block;
+	float: left;
+
+	line-height: 24px;
+	height: 24px;
+
+	vertical-align: top;
+	padding-left: 4px;
+	padding-right: 5px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+
+	_background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	_background-position: 0 -962px;
+	_background-repeat: repeat-x;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_label
+{
+	float: right;
+	padding-right: 4px;
+	padding-left: 5px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_label
+{
+	filter: alpha(opacity=100);
+	opacity: 1.0;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_inline_label
+{
+	color: #fff;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_text
+{
+	border: 1px solid #8f8f73;
+	background-color: #fff;
+	height: 14px;
+	width:60px;
+	padding-top: 4px;
+	padding-bottom: 4px;
+	padding-left: 5px;
+	padding-right: 5px;
+	text-overflow: ellipsis;
+	overflow: hidden;
+	display: inline-block;
+	vertical-align: top;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_rcombo .cke_text
+{
+	-moz-border-radius-topleft: 3px;
+	-webkit-border-top-left-radius: 3px;
+	border-top-left-radius: 3px;
+	-moz-border-radius-bottomleft: 3px;
+	-webkit-border-bottom-left-radius: 3px;
+	border-bottom-left-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_text
+{
+	-moz-border-radius-topright: 3px;
+	-webkit-border-top-right-radius: 3px;
+	border-top-right-radius: 3px;
+	-moz-border-radius-bottomright: 3px;
+	-webkit-border-bottom-right-radius: 3px;
+	border-bottom-right-radius: 3px;
+}
+
+/* Fix for IE height */
+.cke_skin_office2003 .cke_browser_iequirks .cke_rcombo .cke_text
+{
+	height: 22px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_openbutton
+{
+	display: inline-block;
+
+	background-position: 5px -1002px;
+	background-image: url(images/sprites.png);
+	background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+
+	border-top: 1px solid #8f8f73;
+	border-bottom: 1px solid #8f8f73;
+	width: 14px;
+	height: 22px;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_rcombo .cke_openbutton
+{
+    border-right: 1px solid #8f8f73;
+	-moz-border-radius-topright: 3px;
+	-webkit-border-top-right-radius: 3px;
+	border-top-right-radius: 3px;
+	-moz-border-radius-bottomright: 3px;
+	-webkit-border-bottom-right-radius: 3px;
+	border-bottom-right-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_openbutton
+{
+    border-left: 1px solid #8f8f73;
+	-moz-border-radius-topleft: 3px;
+	-webkit-border-top-left-radius: 3px;
+	border-top-left-radius: 3px;
+	-moz-border-radius-bottomleft: 3px;
+	-webkit-border-bottom-left-radius: 3px;
+	border-bottom-left-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active,
+.cke_skin_office2003 .cke_rcombo .cke_on a
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_text
+{
+	border-color: #316ac5;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_openbutton
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_text
+{
+	-moz-border-radius-bottomleft: 0px;
+	-webkit-border-bottom-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_openbutton
+{
+	-moz-border-radius-bottomright: 0px;
+	-webkit-border-bottom-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=70);
+	opacity: 0.7;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=50); /* IE */
+	opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=80);
+	opacity: 0.8;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_text
+{
+	color: #fff;
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_openbutton,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+	float: right;
+}
+
+/*** IE ***/
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo a,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo .cke_label
+{
+	float: none;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/skin.js
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/skin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/skin.js	(revision 4888)
@@ -0,0 +1,81 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'office2003', (function()
+{
+	var preload = [];
+
+	if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+	{
+		// For IE6, we need to preload some images, otherwhise they will be
+		// downloaded several times (CSS background bug).
+		preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+	}
+
+	return {
+		preload		: preload,
+		editor		: { css : [ 'editor.css' ] },
+		dialog		: { css : [ 'dialog.css' ] },
+		templates	: { css : [ 'templates.css' ] },
+		margins		: [ 0, 14, 18, 14 ]
+	};
+})() );
+
+(function()
+{
+	CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+	function dialogSetup()
+	{
+		CKEDITOR.dialog.on( 'resize', function( evt )
+			{
+				var data = evt.data,
+					width = data.width,
+					height = data.height,
+					dialog = data.dialog,
+					contents = dialog.parts.contents;
+
+				if ( data.skin != 'office2003' )
+					return;
+
+				contents.setStyles(
+					{
+						width : width + 'px',
+						height : height + 'px'
+					});
+
+				if ( !CKEDITOR.env.ie )
+					return;
+
+				// Fix the size of the elements which have flexible lengths.
+				var fixSize = 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', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+						// mr
+						el = innerDialog.getChild( 5 );
+						el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+					};
+				setTimeout( fixSize, 100 );
+
+				// Ensure size is correct for RTL mode. (#4003)
+				if ( evt.editor.lang.dir == 'rtl' )
+					setTimeout( fixSize, 1000 );
+			});
+	}
+})();
Index: CKEditor/branches/features/aria/_source/skins/office2003/templates.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/templates.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/templates.css	(revision 4888)
@@ -0,0 +1,71 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_office2003 .cke_tpl_list
+{
+	border: #dcdcdc 2px solid;
+	background-color: #ffffff;
+	overflow: auto;
+	width: 100%;
+	height: 220px;
+}
+
+.cke_skin_office2003 .cke_tpl_item
+{
+	margin: 5px;
+	padding: 7px;
+	border: #eeeeee 1px solid;
+	*width: 88%;
+}
+
+.cke_skin_office2003 .cke_tpl_preview
+{
+	border-collapse: separate;
+	text-indent:0;
+	width: 100%;
+}
+.cke_skin_office2003 .cke_tpl_preview td
+{
+	padding: 2px;
+	vertical-align: middle;
+}
+.cke_skin_office2003 .cke_tpl_preview .cke_tpl_preview_img
+{
+	width: 100px;
+}
+.cke_skin_office2003 .cke_tpl_preview span
+{
+	white-space: normal;
+}
+
+.cke_skin_office2003 .cke_tpl_title
+{
+	font-weight: bold;
+}
+
+.cke_skin_office2003 .cke_tpl_hover
+{
+	border: #ff9933 1px solid !important;
+	background-color: #fffacd !important;
+	cursor: pointer;
+	cursor: hand;
+}
+/*
+ * Fix property 'cursor' doesn't inherit on table
+ */
+.cke_skin_office2003 .cke_tpl_hover *
+{
+	cursor: inherit;
+}
+
+.cke_skin_office2003 .cke_tpl_empty, .cke_tpl_loading
+{
+	text-align: center;
+	padding: 5px;
+}
Index: CKEditor/branches/features/aria/_source/skins/office2003/toolbar.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/office2003/toolbar.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/office2003/toolbar.css	(revision 4888)
@@ -0,0 +1,460 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	.cke_skin_office2003 .cke_toolbox
+	{
+		display: none;
+	}
+}
+
+.cke_skin_office2003 .cke_browser_webkit .cke_toolbox,
+.cke_skin_office2003 .cke_browser_webkit .cke_toolbox > span
+{
+	white-space: normal;
+}
+
+.cke_skin_office2003 a.cke_toolbox_collapser,
+.cke_skin_office2003 a:hover.cke_toolbox_collapser
+{
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 3px -1026px; /* +3px +4px */
+	background-repeat: no-repeat;
+	width: 11px;
+	height: 11px;
+	float: right;
+	border: outset 1px;
+	margin: 11px 2px 2px;
+	cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_office2003 .cke_rtl a:hover.cke_toolbox_collapser
+{
+	float: left;
+}
+
+.cke_skin_office2003 a.cke_toolbox_collapser_min,
+.cke_skin_office2003 a:hover.cke_toolbox_collapser_min
+{
+	/* arrowleft.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 4px -1047px; /* +4px +3px */
+	background-repeat: no-repeat;
+	margin: 2px;
+}
+
+.cke_skin_office2003 .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_office2003 .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+	/* arrowright.gif*/
+	background-position: 4px -1068px; /* +2px +3px */
+}
+
+.cke_skin_office2003 .cke_toolbar
+{
+	background-color: #d6dff7;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -962px;
+	background-repeat: repeat-x;
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_toolgroup
+{
+	display: inline-block;
+	float: left;
+	height: 28px;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolgroup
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolgroup
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolgroup
+{
+	#float: none;
+}
+
+.cke_skin_office2003 .cke_separator
+{
+	display: inline-block;
+	float: left;
+	border-left: solid 1px #B2CBFF;
+	margin: 6px 2px;
+	height: 16px;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_separator
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_separator
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_separator
+{
+	#float: none;
+}
+
+.cke_skin_office2003 .cke_break
+{
+	clear: left;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_break
+{
+	clear: right;
+}
+
+.cke_skin_office2003 .cke_toolbar_start
+{
+	display: inline-block;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+	background-position: -27px -765px;
+	width: 10px;
+	height: 28px;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolbar_start
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar_start
+{
+    background-position: -27px -816px;
+    float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_start
+{
+	#float: none;
+}
+
+.cke_skin_office2003 .cke_toolbar_end
+{
+	display: inline-block;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+	background-position: -29px -861px;
+	width: 4px;
+	height: 28px;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolbar_end
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar_end
+{
+    background-position: -29px -907px;
+    float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+	#float: none;
+}
+
+.cke_skin_office2003 .cke_button a,
+.cke_skin_office2003 .cke_button a:hover,
+.cke_skin_office2003 .cke_button a:focus,
+.cke_skin_office2003 .cke_button a:active,
+.cke_skin_office2003 .cke_button a.cke_off
+{
+	border: solid 1px transparent;
+	border-radius: 3px;
+	outline: none;
+	padding-top: 2px;
+	padding-left: 4px;
+	padding-right: 4px;
+	padding-bottom: 2px;
+	margin-top: 2px;
+	height: 18px;
+	vertical-align: top;
+
+	_border: none;
+	_margin: 3px 1px 1px 1px;
+	cursor: default;
+	display: inline-block;
+}
+
+.cke_skin_office2003 .cke_button a,
+.cke_skin_office2003 .cke_button a.cke_off
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a,
+.cke_skin_office2003 .cke_hc .cke_button a.cke_off
+{
+	opacity: 1.0;
+	filter: alpha(opacity=100);
+}
+
+.cke_skin_office2003 .cke_button a.cke_on
+{
+	border: solid 1px #316ac5;
+	background-color: #c1d2ee;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+
+	_margin: 2px 0 0 0;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a.cke_on
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_office2003 .cke_button a.cke_disabled,
+.cke_skin_office2003 .cke_button a:hover.cke_disabled,
+.cke_skin_office2003 .cke_button a:focus.cke_disabled,
+.cke_skin_office2003 .cke_button a:active.cke_disabled
+{
+	border: solid 1px transparent;
+	filter: alpha(opacity=30); /* IE */
+	opacity : 0.3; /* Safari, Opera and Mozilla */
+	vertical-align: top;
+
+	_border: none;
+	_margin: 3px 1px 1px 1px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a.cke_disabled,
+.cke_skin_office2003 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled
+{
+	filter: alpha(opacity=60);
+	opacity: 0.6;
+}
+
+.cke_skin_office2003 .cke_button a:hover.cke_on,
+.cke_skin_office2003 .cke_button a:focus.cke_on,
+.cke_skin_office2003 .cke_button a:active.cke_on,	/* IE */
+.cke_skin_office2003 .cke_button a:hover.cke_off,
+.cke_skin_office2003 .cke_button a:focus.cke_off,
+.cke_skin_office2003 .cke_button a:active.cke_off	/* IE */
+{
+	border: solid 1px #316ac5;
+	background-color: #dff1ff;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+	vertical-align: top;
+
+	_margin: 2px 0 0 0;
+	padding: 2px 4px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a:hover.cke_on,
+.cke_skin_office2003 .cke_hc .cke_button a:focus.cke_on,
+.cke_skin_office2003 .cke_hc .cke_button a:active.cke_on,	/* IE */
+.cke_skin_office2003 .cke_hc .cke_button a:hover.cke_off,
+.cke_skin_office2003 .cke_hc .cke_button a:focus.cke_off,
+.cke_skin_office2003 .cke_hc .cke_button a:active.cke_off	/* IE */
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_office2003 .cke_button .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat:no-repeat;
+	margin-top:1px;
+	width: 16px;
+	height: 16px;
+	display: inline-block;
+}
+
+.cke_skin_office2003 .cke_button .cke_label
+{
+	display: none;
+	padding-left: 3px;
+	vertical-align: 3px;
+	cursor: default;
+
+	_background-image: url(images/sprites_ie6.png);
+	_background-position: 0 -970px;
+	_background-repeat: repeat-x;
+}
+
+.cke_skin_office2003 .cke_button a:hover .cke_label
+{
+	_background-color: #dff1ff;
+	_background-image: none;
+}
+
+.cke_skin_office2003 .cke_button a.cke_on .cke_label
+{
+	_background-color: #c1d2ee;
+	_background-image: none;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button .cke_label
+{
+	padding: 0;
+	display: inline-block;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_office2003 .cke_accessibility
+{
+	position: absolute;
+	display: block;
+	width: 0;
+	height: 0;
+	overflow: hidden;
+}
+
+.cke_skin_office2003 .cke_button .cke_buttonarrow
+{
+	display: inline-block;
+	height: 18px;
+	width: 8px;
+	background-position: 2px -1004px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button .cke_buttonarrow
+{
+	background-position: 0 -1004px;
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button a,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button a.cke_off,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_icon,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_buttonarrow,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_separator,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar_end
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button a,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button a.cke_off,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_icon,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_separator,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar_end
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_break
+{
+	float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl span.cke_inline_label
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_break
+{
+	float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_separator
+{
+	margin-top: 4px;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_label
+{
+	padding-top: 3px;
+}
+
+/*** IE6 ***/
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolgroup,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_separator,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+	float: none;
+}
+
+/*** IE8 ***/
+
+.cke_skin_office2003 .cke_browser_ie8 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_ie8 .cke_toolgroup
+{
+	vertical-align: top;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_browser_ie8 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_iequirks.cke_browser_ie8 .cke_toolgroup
+{
+	/* revert previous */
+	vertical-align: baseline;
+}
+
+/* Separator + Combo penetrate toolbar in IE quirks. (#4461) */
+.cke_skin_office2003 .cke_browser_iequirks .cke_separator
+{
+	vertical-align: text-bottom;
+}
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo,
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo *
+{
+	cursor: default;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/dialog.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/dialog.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/dialog.css	(revision 4888)
@@ -0,0 +1,672 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+	visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_v2 table.cke_dialog.cke_browser_gecko
+{
+	display:block;
+}
+
+.cke_skin_v2 .cke_dialog_body
+{
+	margin-left: 16px;
+	margin-right: 16px;
+	margin-top: 2px;
+	margin-bottom: 20px;
+	z-index: 1;
+
+	/* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+		need it to be positioned to hold e.g. close button. */
+	position: relative;
+	_position: static;
+
+}
+
+.cke_skin_v2 .cke_dialog_tl,
+.cke_skin_v2 .cke_dialog_tr,
+.cke_skin_v2 .cke_dialog_tc,
+.cke_skin_v2 .cke_dialog_bl,
+.cke_skin_v2 .cke_dialog_br,
+.cke_skin_v2 .cke_dialog_bc
+{
+	background-image: url(images/sprites.png);
+	background-repeat: no-repeat;
+	position: absolute;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/sprites_ie6.png);
+	/* Dialog corner parts require a negative z-index to avoid covering dialog body. (#4954) */
+	_z-index: -1;
+}
+
+.cke_skin_v2 .cke_dialog_tl
+{
+	background-position: -16px -16px;
+	height: 16px;
+	width: 16px;
+	top: 0;
+	left: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tl
+{
+	background-position: -16px -397px;
+}
+
+.cke_skin_v2 .cke_dialog_tr
+{
+	background-position: -16px -76px;
+	height: 16px;
+	width: 16px;
+	top: 0;
+	right: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tr
+{
+	background-position: -16px -457px;
+}
+
+.cke_skin_v2 .cke_dialog_tc
+{
+	background-position: 0 -136px;
+	background-repeat: repeat-x;
+	height: 16px;
+	top: 0;
+	left: 16px;
+	right: 16px;
+}
+
+.cke_skin_v2 .cke_dialog_bl
+{
+	background-position: -16px -196px;
+	height: 51px;
+	width: 30px;
+	bottom: 0;
+	left: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_bl
+{
+	background-position: -16px -517px;
+}
+
+.cke_skin_v2 .cke_dialog_br
+{
+	background-position: -16px -263px;
+	height: 51px;
+	width: 30px;
+	bottom: 0;
+	right: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_br
+{
+	background-position: -16px -584px;
+}
+
+.cke_skin_v2 .cke_dialog_bc
+{
+	background-position: 0 -330px;
+	background-repeat: repeat-x;
+	height: 51px;
+	bottom: 0;
+	left: 30px;
+	right: 30px;
+}
+
+.cke_skin_v2 .cke_dialog_ml,
+.cke_skin_v2 .cke_dialog_mr
+{
+	background-image: url(images/dialog_sides.png);
+	background-repeat: repeat-y;
+	position: absolute;
+	width: 16px;
+	top: 16px;
+	bottom: 51px;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/dialog_sides.gif);
+
+	/* IE quirks gets confused when we have both top and bottom. */
+	_top: auto;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_ml,
+.cke_skin_v2 .cke_rtl .cke_dialog_mr
+{
+	background-image: url(images/dialog_sides_rtl.png);
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/dialog_sides.gif);
+}
+
+.cke_skin_v2 .cke_dialog_ml
+{
+	background-position: 0 0;
+	left: 0;
+}
+
+.cke_skin_v2 .cke_dialog_mr
+{
+	background-position: -16px 0;
+	right: 0;
+}
+
+.cke_skin_v2 .cke_browser_iequirks .cke_dialog_ml,
+.cke_skin_v2 .cke_browser_iequirks .cke_dialog_mr
+{
+	margin-top: 3px;
+}
+
+.cke_skin_v2 .cke_dialog_title
+{
+	font-weight: bold;
+	font-size: 14pt;
+	color: #737357;
+	background-color: #e3e3c7;
+	padding: 3px 10px 26px 10px;
+	cursor: move;
+	position: relative;
+}
+
+.cke_skin_v2 .cke_browser_ie.cke_rtl .cke_dialog_title
+{
+	position: static !important;
+	unicode-bidi: bidi-override;
+}
+
+.cke_skin_v2 .cke_dialog_contents
+{
+	background-color: #f1f1e3;
+	border: #d5d59d 1px solid;
+	overflow: auto;
+	padding: 5px 10px;
+}
+
+.cke_skin_v2 .cke_dialog_footer
+{
+	background-color: #e3e3c7;
+	text-align: right;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_footer
+{
+	text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_v2 .cke_dialog_tabs
+{
+	height: 23px;
+	background-color: #e3e3c7;
+	display: inline-block;
+	margin-left:10px;
+	margin-right:10px;
+	margin-top:-23px;
+	position: absolute;
+	z-index: 2;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tabs
+{
+	right: 10px;
+}
+
+.cke_skin_v2 a.cke_dialog_tab,
+.cke_skin_v2 a:link.cke_dialog_tab,
+.cke_skin_v2 a:active.cke_dialog_tab,
+.cke_skin_v2 a:hover.cke_dialog_tab,
+.cke_skin_v2 a:visited.cke_dialog_tab
+{
+	color: #737357;
+	border-left: 1px solid #d5d59d;
+	border-right: 1px solid #d5d59d;
+	border-top: 1px solid #d5d59d;
+	height: 14px;
+	padding: 4px 5px;
+	display: inline-block;
+	cursor: pointer;
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_v2 .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+	display: inline;
+	position: relative;
+	top: 6px;
+}
+
+.cke_skin_v2 a:hover.cke_dialog_tab
+{
+	background-color: #f1f1e3;
+}
+
+.cke_skin_v2 a.cke_dialog_tab_selected,
+.cke_skin_v2 a:link.cke_dialog_tab_selected,
+.cke_skin_v2 a:active.cke_dialog_tab_selected,
+.cke_skin_v2 a:hover.cke_dialog_tab_selected,
+.cke_skin_v2 a:visited.cke_dialog_tab_selected
+{
+	border-bottom: 1px solid #f1f1e3;
+	background-color: #f1f1e3;
+	font-weight: bold;
+	cursor: default;
+}
+
+/* single_page */
+
+.cke_skin_v2 .cke_single_page .cke_dialog_tabs
+{
+	display: none;
+}
+
+.cke_skin_v2 .cke_single_page .cke_dialog_title
+{
+	padding-bottom: 3px;
+}
+
+.cke_skin_v2 .cke_dialog_ui_vbox table,
+.cke_skin_v2 .cke_dialog_ui_hbox table
+{
+	margin: auto;
+}
+
+.cke_skin_v2 .cke_dialog_ui_vbox_child
+{
+	padding: 5px 0px;
+}
+
+.cke_skin_v2 input.cke_dialog_ui_input_text,
+.cke_skin_v2 input.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	height: 14px;
+}
+
+.cke_skin_v2 div.cke_dialog_ui_input_text,
+.cke_skin_v2 div.cke_dialog_ui_input_password
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_v2 textarea.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: none;
+	padding: 0px;
+	width: 100%;
+	/*
+	 * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+	 * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+	 */
+	_width: 99%;
+	overflow: auto;
+	resize: none;
+}
+
+.cke_skin_v2 div.cke_dialog_ui_input_textarea
+{
+	background-color: white;
+	border: 1px solid #a0a0a0;
+	padding: 1px 0px;
+}
+
+.cke_skin_v2 div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+	background-color : #a0a0a0;
+	cursor : default;
+}
+
+.cke_skin_v2 .cke_dialog_ui_hbox
+{
+	width: 100%;
+}
+
+.cke_skin_v2 .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_dialog_ui_hbox_child,
+.cke_skin_v2 .cke_dialog_ui_hbox_last
+{
+	vertical-align: top;
+}
+
+.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_child
+{
+	padding-right: 10px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_child
+{
+	padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_v2 a.cke_dialog_ui_button
+{
+	border-collapse: separate;
+	cursor: default;
+}
+
+.cke_skin_v2 span.cke_dialog_ui_button
+{
+	border: #737357 1px solid;
+	padding: 2px 10px;
+	text-align: center;
+	color: #3b3b1f;
+	background-color: #c7c78f;
+	display: inline-block;
+	cursor: default;
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_v2 .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	display: block;
+}
+
+.cke_skin_v2 a.cke_dialog_ui_button span.cke_disabled
+{
+	border: #898980 1px solid;
+	color: #5e5e55;
+	background-color: #c5c5b3;
+}
+
+.cke_skin_v2 a:focus span.cke_dialog_ui_button,
+.cke_skin_v2 a:active span.cke_dialog_ui_button
+{
+	background-color: #e3e3c7;
+}
+
+.cke_skin_v2 .cke_dialog_footer_buttons
+{
+	display: inline-table;
+	margin-right: 12px;
+	margin-left: 12px;
+	width: auto;
+	position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_v2 .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+	display: inline;
+}
+
+.cke_skin_v2 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+	width: 60px;
+	margin: 7px 0;
+}
+
+.cke_skin_v2 strong
+{
+	font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_v2 .cke_dialog_close_button
+{
+	background-image: url(images/sprites.png);
+	background-repeat: no-repeat;
+	background-position: -16px -651px;
+	position: absolute;
+	cursor: pointer;
+	text-align: center;
+	height: 20px;
+	width: 20px;
+	top: 5px;
+
+	/* IE6 does not support full color transparent PNG. */
+	_background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_v2 .cke_dialog_close_button span
+{
+	display: none;
+}
+
+.cke_skin_v2 .cke_dialog_close_button:hover
+{
+	background-position: -16px -687px;
+}
+
+.cke_skin_v2 .cke_ltr .cke_dialog_close_button
+{
+	right: 10px;
+	_right: 22px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_close_button
+{
+	left: 10px;
+	_left: 16px;
+	_top: 7px;
+}
+
+.cke_skin_v2 .cke_browser_ie6.cke_rtl .cke_dialog_close_button
+{
+	position: relative;
+	float: left;
+	margin-top: -55px;
+	margin-left: -7px;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_rtl.cke_single_page .cke_dialog_close_button
+{
+	margin-top: -32px;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_ltr .cke_dialog_close_button
+{
+	margin-top: 0;
+}
+
+.cke_skin_v2 .cke_dialog_ui_input_select
+{
+	border: 1px solid #a0a0a0;
+	background-color: white;
+}
+
+.cke_skin_v2 iframe.cke_dialog_ui_input_file
+{
+	width: 100%;
+	height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_v2 .cke_dialog .cke_dark_background
+{
+	background-color: #eaead1;
+}
+
+.cke_skin_v2 .cke_dialog .cke_hand
+{
+	cursor: pointer;
+}
+
+.cke_skin_v2 .cke_dialog .cke_centered
+{
+	text-align: center;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_reset
+{
+	float: right;
+	background-position: 0 -32px;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: 1px none;
+	font-size: 1px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_reset
+{
+	float: left;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_locked,
+.cke_skin_v2 .cke_dialog a.cke_btn_unlocked
+{
+	float: left;
+	background-position: 0 0;
+	background-image: url(images/mini.gif);
+	width: 16px;
+	height: 16px;
+	background-repeat: no-repeat;
+	border: none 1px;
+	font-size: 1px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_unlocked
+{
+	background-position: 0 -16px;
+	background-image: url(images/mini.gif);
+}
+
+.cke_skin_v2 .cke_dialog .cke_btn_over
+{
+	border: outset 1px;
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_v2 .cke_dialog  #ImagePreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : scroll;
+	height : 160px;
+	width : 230px;
+	padding : 2px;
+	background-color : white;
+}
+.cke_skin_v2 .cke_dialog  #ImagePreviewLoader
+{
+	position: absolute;
+	white-space : normal;
+	overflow : hidden;
+	height : 160px;
+	width : 230px;
+	margin : 2px;
+	padding : 2px;
+	opacity : 0.9;
+	filter : alpha(opacity=90);
+
+	background-color : #e4e4e4;
+}
+
+.cke_skin_v2 .cke_dialog  #FlashPreviewBox
+{
+	white-space : normal;
+	border : 2px ridge black;
+	overflow : auto;
+	height : 160px;
+	width : 390px;
+	padding : 2px;
+	background-color : white;
+}
+
+.cke_skin_v2 .cke_dialog .cke_dark_background
+{
+	text-align : center;
+	background-color: #eaead1;
+	font-size : 14px;
+}
+
+.cke_skin_v2 .cke_dialog .cke_light_background
+{
+	text-align : center;
+	background-color: #ffffbe;
+}
+
+.cke_skin_v2 .cke_dialog .cke_hand
+{
+	cursor: pointer;
+	cursor: hand;
+}
+
+.cke_skin_v2 .cke_disabled
+{
+	color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+.cke_skin_v2 .cke_hc .cke_dialog_title,
+.cke_skin_v2 .cke_hc .cke_dialog_tabs,
+.cke_skin_v2 .cke_hc .cke_dialog_contents,
+.cke_skin_v2 .cke_hc .cke_dialog_footer
+{
+	border-left: 1px solid;
+	border-right: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_title
+{
+	border-top: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_footer
+{
+	border-bottom: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_close_button span
+{
+	display: inline;
+	cursor: pointer;
+	cursor: hand;
+	font-weight: bold;
+	position: relative;
+	top: 3px;
+}
+.cke_skin_v2 .cke_hc a.cke_btn_locked,
+.cke_skin_v2 .cke_hc a.cke_btn_unlocked,
+.cke_skin_v2 .cke_hc a.cke_btn_reset
+{
+	border-style: solid;
+}
+
+.cke_skin_v2 a.cke_smile img
+{
+	/* IE6 does not support transparent borders */
+	border: 2px solid #eaead1;
+}
+
+.cke_skin_v2 a.cke_smile:focus img,
+.cke_skin_v2 a.cke_smile:active img,
+.cke_skin_v2 a.cke_smile:hover img
+{
+	border-color: #C7C78F;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/editor.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/editor.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/editor.css	(revision 4888)
@@ -0,0 +1,25 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@import url("reset.css");
+@import url("mainui.css");
+@import url("panel.css");
+@import url("toolbar.css");
+@import url("menu.css");
+@import url("richcombo.css");
+@import url("elementspath.css");
+@import url("icons.css");
+@import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_v2
+{
+	visibility: inherit;
+}
+
+html.cke_skin_v2_container
+{
+	visibility: visible;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/elementspath.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/elementspath.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/elementspath.css	(revision 4888)
@@ -0,0 +1,68 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	.cke_path
+	{
+		display: none;
+	}
+}
+
+.cke_skin_v2 .cke_path
+{
+	padding: 3px 3px 0 3px;
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_path
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_path a,
+.cke_skin_v2 .cke_path .cke_empty
+{
+	display: inline-block;
+	float: left;
+	border: solid 1px #efefde;
+	background-color: #efefde;
+	padding-top: 1px;
+	padding-bottom: 1px;
+	padding-left: 4px;
+	padding-right: 4px;
+	margin-bottom : 3px;
+}
+
+.cke_skin_v2 .cke_path .cke_empty
+{
+	visibility: hidden;
+}
+
+.cke_skin_v2 .cke_rtl .cke_path a,
+.cke_skin_v2 .cke_rtl .cke_path cke_empty
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_path a:hover,
+.cke_skin_v2 .cke_path a:focus,
+.cke_skin_v2 .cke_path a:active	/* IE */
+{
+	border: solid 1px #316ac5;
+	background-color: #dff1ff;
+	padding-top: 1px;
+	padding-bottom: 1px;
+	padding-left: 4px;
+	padding-right: 4px;
+	outline: none;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+	float: none;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/icons.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/icons.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/icons.css	(revision 4888)
@@ -0,0 +1,324 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_button_source .cke_icon
+{
+	background-position: 0 0;
+}
+
+.cke_skin_v2 .cke_button_newpage .cke_icon
+{
+	background-position: 0 -48px;
+}
+
+.cke_skin_v2 .cke_button_preview .cke_icon
+{
+	background-position: 0 -64px;
+}
+
+.cke_skin_v2 .cke_button_cut .cke_icon
+{
+	background-position: 0 -96px;
+}
+
+.cke_skin_v2 .cke_button_copy .cke_icon
+{
+	background-position: 0 -112px;
+}
+
+.cke_skin_v2 .cke_button_paste .cke_icon
+{
+	background-position: 0 -128px;
+}
+
+.cke_skin_v2 .cke_button_pastetext .cke_icon
+{
+	background-position: 0 -144px;
+}
+
+.cke_skin_v2 .cke_button_find .cke_icon
+{
+	background-position: 0 -240px;
+}
+
+.cke_skin_v2 .cke_button_replace .cke_icon
+{
+	background-position: 0 -256px;
+}
+
+.cke_skin_v2 .cke_button_selectAll .cke_icon
+{
+	background-position: 0 -272px;
+}
+
+.cke_skin_v2 .cke_button_removeFormat .cke_icon
+{
+	background-position: 0 -288px;
+}
+
+.cke_skin_v2 .cke_button_bold .cke_icon
+{
+	background-position: 0 -304px;
+}
+
+.cke_skin_v2 .cke_button_italic .cke_icon
+{
+	background-position: 0 -320px;
+}
+
+.cke_skin_v2 .cke_button_underline .cke_icon
+{
+	background-position: 0 -336px;
+}
+
+.cke_skin_v2 .cke_button_strike .cke_icon
+{
+	background-position: 0 -352px;
+}
+
+.cke_skin_v2 .cke_button_subscript .cke_icon
+{
+	background-position: 0 -368px;
+}
+
+.cke_skin_v2 .cke_button_superscript .cke_icon
+{
+	background-position: 0 -384px;
+}
+
+.cke_skin_v2 .cke_button_table .cke_icon
+{
+	background-position: 0 -608px;
+}
+
+.cke_skin_v2 .cke_button_horizontalrule .cke_icon
+{
+	background-position: 0 -624px;
+}
+
+.cke_skin_v2 .cke_button_smiley .cke_icon
+{
+	background-position: 0 -640px;
+}
+
+.cke_skin_v2 .cke_button_link .cke_icon
+{
+	background-position: 0 -528px;
+}
+
+.cke_skin_v2 .cke_button_unlink .cke_icon
+{
+	background-position: 0 -544px;
+}
+
+.cke_skin_v2 .cke_button_anchor .cke_icon
+{
+	background-position: 0 -560px;
+}
+
+.cke_skin_v2 .cke_button_image .cke_icon
+{
+	background-position: 0 -576px;
+}
+
+.cke_skin_v2 .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_v2 .cke_button_specialchar .cke_icon
+{
+	background-position: 0 -656px;
+}
+
+.cke_skin_v2 .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_v2 .cke_button_print .cke_icon
+{
+	background-position: 0 -176px;
+}
+
+.cke_skin_v2 .cke_button_checkspell .cke_icon,
+.cke_skin_v2 .cke_button_scayt .cke_icon
+{
+	background-position: 0 -192px;
+}
+
+.cke_skin_v2 .cke_button_pagebreak .cke_icon
+{
+	background-position: 0 -672px;
+}
+
+.cke_skin_v2 .cke_button_textcolor .cke_icon
+{
+	background-position: 0 -704px;
+}
+
+.cke_skin_v2 .cke_button_bgcolor .cke_icon
+{
+	background-position: 0 -720px;
+}
+
+.cke_skin_v2 .cke_button_form .cke_icon
+{
+	background-position: 0 -752px;
+}
+
+.cke_skin_v2 .cke_button_checkbox .cke_icon
+{
+	background-position: 0 -768px;
+}
+
+.cke_skin_v2 .cke_button_radio .cke_icon
+{
+	background-position: 0 -784px;
+}
+
+.cke_skin_v2 .cke_button_textfield .cke_icon
+{
+	background-position: 0 -800px;
+}
+
+.cke_skin_v2 .cke_button_textarea .cke_icon
+{
+	background-position: 0 -816px;
+}
+.cke_skin_v2 .cke_button_showblocks .cke_icon
+{
+	background-position: 0 -1136px;
+}
+
+.cke_skin_v2 .cke_button_select .cke_icon
+{
+	background-position: 0 -832px;
+}
+
+.cke_skin_v2 .cke_button_button .cke_icon
+{
+	background-position: 0 -848px;
+}
+
+.cke_skin_v2 .cke_button_imagebutton .cke_icon
+{
+	background-position: 0 -864px;
+}
+
+.cke_skin_v2 .cke_button_hiddenfield .cke_icon
+{
+	background-position: 0 -880px;
+}
+
+.cke_skin_v2 .cke_button_undo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button_undo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_v2 .cke_button_redo .cke_icon
+{
+	background-position: 0 -224px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button_redo .cke_icon
+{
+	background-position: 0 -208px;
+}
+
+.cke_skin_v2 .cke_button_templates .cke_icon
+{
+	background-position: 0 -80px;
+}
+
+.cke_skin_v2 .cke_button_numberedlist .cke_icon
+{
+	background-position: 0 -400px;
+}
+
+.cke_skin_v2 .cke_button_bulletedlist .cke_icon
+{
+	background-position: 0 -416px;
+}
+
+.cke_skin_v2 .cke_button_outdent .cke_icon
+{
+	background-position: 0 -432px;
+}
+
+.cke_skin_v2 .cke_button_indent .cke_icon
+{
+	background-position: 0 -448px;
+}
+
+.cke_skin_v2 .cke_button_justifyleft .cke_icon
+{
+	background-position: 0 -464px;
+}
+
+.cke_skin_v2 .cke_button_justifycenter .cke_icon
+{
+	background-position: 0 -480px;
+}
+
+.cke_skin_v2 .cke_button_justifyright .cke_icon
+{
+	background-position: 0 -496px;
+}
+
+.cke_skin_v2 .cke_button_justifyblock .cke_icon
+{
+	background-position: 0 -512px;
+}
+
+.cke_skin_v2 .cke_button_blockquote .cke_icon
+{
+	background-position: 0 -1152px;
+}
+
+.cke_skin_v2 .cke_button_flash .cke_icon
+{
+	background-position: 0 -592px;
+}
+
+.cke_skin_v2 .cke_button_pastefromword .cke_icon
+{
+	background-position: 0 -160px;
+}
+
+.cke_skin_v2 .cke_button_save .cke_icon
+{
+	background-position: 0 -32px;
+}
+
+.cke_skin_v2 .cke_button_about .cke_icon
+{
+	background-position: 0 -736px;
+}
+
+.cke_skin_v2 .cke_button_maximize .cke_icon
+{
+	background-position: 0 -1040px;
+}
+
+.cke_skin_v2 .cke_button_creatediv .cke_icon
+{
+	background-position: 0 -1168px;
+}
+
+.cke_skin_v2 .cke_button_editdiv .cke_icon
+{
+	background-position: 0 -1184px;
+}
+
+.cke_skin_v2 .cke_button_removediv .cke_icon
+{
+	background-position: 0 -1200px;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/mainui.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/mainui.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/mainui.css	(revision 4888)
@@ -0,0 +1,122 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_editor
+{
+/*
+	border: solid 1px #dcdcdc;
+*/
+	display: inline-table;
+	width: 100%;
+}
+
+.cke_skin_v2
+{
+	display: block;
+}
+
+.cke_skin_v2 span.cke_browser_webkit,
+.cke_skin_v2 span.cke_browser_gecko18
+{
+	display: block;
+}
+
+.cke_skin_v2 .cke_wrapper
+{
+	display: block;
+}
+
+.cke_skin_v2 .cke_browser_opera .cke_editor
+{
+	display: table;
+}
+
+.cke_skin_v2 .cke_top,
+.cke_skin_v2 .cke_bottom,
+ .cke_shared .cke_skin_v2
+{
+	background-color: #efefde;
+}
+
+.cke_skin_v2 .cke_top
+{
+    border-top: solid 1px #fafaf5;
+    border-left: solid 1px #fafaf5;
+    border-right: solid 1px #696969;
+    border-bottom: solid 2px #696969;
+}
+
+.cke_skin_v2 .cke_rtl .cke_top
+{
+    border-left: solid 1px #696969;
+    border-right: solid 1px #fafaf5;
+}
+
+.cke_skin_v2 .cke_bottom
+{
+    border-left: solid 1px #696969;
+    border-right: solid 1px #696969;
+    border-bottom: solid 1px #696969;
+}
+
+.cke_skin_v2 .cke_contents
+{
+	border: solid 1px #696969;
+	/* Prevent background content from penetrate through when switching between editing modes. (#4918) */
+	background-color: white;
+}
+
+.cke_skin_v2 .cke_focus
+{
+	outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_v2 textarea.cke_source
+{
+	font-family: 'Courier New' , Monospace;
+	font-size: small;
+	background-color: #fff;
+	white-space: pre;
+}
+
+.cke_skin_v2 .cke_browser_iequirks textarea.cke_source
+{
+	/* For IE6+Quirks only */
+	_white-space: normal;
+}
+
+.cke_skin_v2 .cke_resizer
+{
+	width: 12px;
+	height: 12px;
+	margin-top: 16px;
+	display: block;
+	float: right;
+	/* resizer.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -801px;
+	background-repeat: no-repeat;
+	cursor: se-resize;
+}
+
+.cke_skin_v2 .cke_rtl .cke_resizer
+{
+	cursor: sw-resize;
+	/* resizer_rtl.gif*/
+	background-position: 0 -828px;
+	float: left;
+}
+
+.cke_skin_v2 .cke_maximized .cke_resizer
+{
+	display: none;
+}
+
+.cke_skin_v2 .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_v2 .cke_browser_ie7 .cke_contents textarea
+{
+	position: absolute;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/menu.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/menu.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/menu.css	(revision 4888)
@@ -0,0 +1,178 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_contextmenu
+{
+	padding: 2px;
+}
+
+.cke_skin_v2 .cke_menuitem a
+{
+	display:block;
+}
+
+.cke_skin_v2 .cke_menuitem span
+{
+	cursor: default;
+}
+
+.cke_skin_v2 .cke_menuitem a:hover,
+.cke_skin_v2 .cke_menuitem a:focus,
+.cke_skin_v2 .cke_menuitem a:active
+{
+	background-color: #8f8f73;
+	display:block;
+}
+
+.cke_skin_v2 .cke_menuitem a.cke_disabled:hover,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:focus,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:active
+{
+	background-color: transparent !important;
+}
+
+.cke_skin_v2 .cke_menuitem .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat:no-repeat;
+	background-color: transparent;
+	width: 16px;
+	height: 16px;
+	float: left;
+}
+
+.cke_skin_v2 .cke_menuitem .cke_disabled .cke_icon
+{
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem .cke_icon_wrapper
+{
+	background-color: #e3e3c7;
+	border: solid 4px #e3e3c7;
+	width: 16px;
+	height: 16px;
+	float: left;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_v2 .cke_menuitem .cke_icon_wrapper
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:active .cke_icon_wrapper
+{
+	background-color: #9d9d9d;
+	border: solid 4px #9d9d9d;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+	background-color: #e3e3c7;
+	border: solid 4px #e3e3c7;
+}
+
+.cke_skin_v2 .cke_menuitem .cke_label
+{
+	display:block;
+	padding-right: 3px;
+	padding-top: 5px;
+	padding-left: 4px;
+	height:19px;
+	margin-left: 24px;
+	background-color: #fff;
+	_overflow: hidden;
+	_width: 80px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_v2 .cke_menuitem .cke_label
+{
+	padding-right: 0;
+	margin-left: 0;
+	padding-left: 3px;
+	margin-right: 28px;
+}
+
+.cke_skin_v2 .cke_menuitem a.cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem a:hover .cke_label,
+.cke_skin_v2 .cke_menuitem a:focus .cke_label,
+.cke_skin_v2 .cke_menuitem a:active .cke_label
+{
+	background-color: #8f8f73;
+	color: white;
+}
+
+.cke_skin_v2 .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:active .cke_label
+{
+	background-color: transparent;
+	color: black;
+}
+
+.cke_skin_v2 .cke_menuseparator
+{
+	background-color: #e3e3c7;
+	height: 2px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+
+	_font-size: 0;
+}
+
+.cke_skin_v2 .cke_menuarrow
+{
+	/* arrowright.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 0 -784px;
+	background-repeat: no-repeat;
+	height: 5px;
+	width: 3px;
+	float: right;
+	margin-right: 2px;
+	margin-top: 3px;
+}
+
+/* Never applied */
+.cke_rtl .cke_skin_v2 .cke_menuarrow
+{
+	float: left;
+	margin-right: 0;
+	margin-left: 2px;
+	/* arrowleft.gif*/
+	background-position: 0 -763px;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_v2 .cke_menuarrow
+{
+	position: absolute;
+	right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_v2 .cke_menuarrow
+{
+	position: absolute;
+	left: 2px;
+}
+/* END #3766 */
Index: CKEditor/branches/features/aria/_source/skins/v2/panel.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/panel.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/panel.css	(revision 4888)
@@ -0,0 +1,198 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_panel
+{
+    border: 1px solid #8f8f73;
+	background-color: #fff;
+
+	width: 120px;
+	height: 100px;
+
+	overflow:hidden;
+
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	border-radius: 3px;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_v2 .cke_panel iframe
+{
+	width: 100%;
+	height: 100%;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_v2_container
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+	overflow: auto;
+	overflow-x: hidden;
+}
+
+ul.cke_panel_list
+{
+	list-style-type: none;
+	margin: 3px;
+	padding: 0px;
+    white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+	margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+	padding: 2px;
+	display: block;
+	border: 1px solid #fff;
+	color: inherit;
+	text-decoration: none;
+	overflow: hidden;
+    text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+	width : 100%;
+
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+	/* IE is not able to inherit the color, so we must force it to black */
+	color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+	border: 1px solid #ccc;
+	background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_panel_grouptitle
+{
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+	font-weight: bold;
+    white-space: nowrap;
+	background-color: #dcdcdc;
+	color: #000;
+	margin:0px;
+	padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+	margin-top: 3px;
+	margin-bottom: 3px;
+}
+
+.cke_skin_v2 .cke_button_textcolor_panel,
+.cke_skin_v2 .cke_button_bgcolor_panel
+{
+	width: 150px;
+	height: 135px;
+}
+
+.cke_colorblock
+{
+	padding: 3px;
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+	text-decoration: none;
+	color: #000;
+}
+
+span.cke_colorbox
+{
+	width: 10px;
+	height: 10px;
+    border: #808080 1px solid;
+	float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+	float: right;
+}
+
+a.cke_colorbox
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+    float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+    border: #fff 1px solid;
+    padding: 2px;
+    display: block;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+    border: #316ac5 1px solid;
+    background-color: #dff1ff;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/presets.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/presets.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/presets.css	(revision 4888)
@@ -0,0 +1,50 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_v2 .cke_button_source .cke_label
+{
+	display: inline;		/* FF2 */
+	display: inline-block;
+}
+
+/* "Styles" panel size */
+.cke_skin_v2 .cke_styles_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_v2 .cke_format_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_v2 .cke_font_panel
+{
+	width: 150px;
+	height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_v2 .cke_fontSize_panel
+{
+	height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_v2 .cke_fontSize .cke_text
+{
+	width: 20px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_v2 .cke_browser_iequirks .cke_fontSize .cke_text
+{
+	width: 32px;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/reset.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/reset.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/reset.css	(revision 4888)
@@ -0,0 +1,78 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_v2 *,
+.cke_skin_v2 a:hover,
+.cke_skin_v2 a:link,
+.cke_skin_v2 a:visited,
+.cke_skin_v2 a:active
+{
+	margin: 0;
+	padding: 0;
+	border: 0;
+	background: transparent;
+	text-decoration: none;
+	font: normal normal normal 100% Sans-Serif;
+	width: auto;
+	height: auto;
+	border-collapse: collapse;
+	text-align: left;
+	vertical-align: baseline;
+	white-space: nowrap;
+	cursor: auto;
+	color: #000;
+
+    font-size: 11px;
+    font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_skin_v2 .cke_rtl *,
+.cke_skin_v2 .cke_rtl a:hover,
+.cke_skin_v2 .cke_rtl a:link,
+.cke_skin_v2 .cke_rtl a:visited,
+.cke_skin_v2 .cke_rtl a:active,
+.cke_rtl .cke_skin_v2 *,
+.cke_rtl .cke_skin_v2 a:hover,
+.cke_rtl .cke_skin_v2 a:link,
+.cke_rtl .cke_skin_v2 a:visited,
+.cke_rtl .cke_skin_v2 a:active
+{
+	text-align: right;
+}
+
+.cke_skin_v2 iframe
+{
+	vertical-align: inherit;	/** For IE */
+}
+
+.cke_skin_v2 textarea
+{
+	white-space: pre;
+}
+
+.cke_skin_v2 .cke_browser_gecko textarea
+{
+	cursor: text;
+}
+
+.cke_skin_v2 .cke_browser_gecko textarea[disabled]
+{
+	cursor: default;
+}
+
+.cke_skin_v2 input[type="text"],
+.cke_skin_v2 input[type="password"]
+{
+	cursor: text;
+}
+
+.cke_skin_v2 input[type="text"][disabled],
+.cke_skin_v2 input[type="password"][disabled]
+{
+	cursor: default;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/richcombo.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/richcombo.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/richcombo.css	(revision 4888)
@@ -0,0 +1,274 @@
+/* Special Combo */
+
+.cke_skin_v2 .cke_rcombo
+{
+	display: inline-block;
+	margin-left: 2px;
+	margin-right: 2px;
+	margin-top: 2px;
+	vertical-align: top;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rcombo
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rcombo
+{
+	#float: none;
+}
+
+.cke_skin_v2 .cke_rcombopanel
+{
+	border: 1px solid #316ac5;
+	-moz-border-radius-topleft: 0;
+	-webkit-border-top-left-radius: 0;
+	border-top-left-radius: 0;
+	/*margin-left: 1px;*/
+	/*_margin-left: 0;*/
+}
+
+.cke_skin_v2 .cke_rcombo a
+{
+	display: inline-block;
+	float: left;
+
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo a
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo a
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rcombo .cke_label
+{
+	display: inline-block;
+	float: left;
+
+	line-height: 24px;
+	height: 22px;
+	vertical-align: top;
+	padding-left: 4px;
+	padding-right: 5px;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	background-color: #f1f1e3;	/* Because of IE6+ClearType */
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_label
+{
+	float: right;
+	padding-right: 4px;
+	padding-left: 5px;
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_label
+{
+	filter: alpha(opacity=100);
+	opacity: 1.0;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_inline_label
+{
+	color: #fff;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_text
+{
+	border: 1px solid #8f8f73;
+	background-color: #fff;
+	height: 12px;
+	width:60px;
+	padding-top: 4px;
+	padding-bottom: 4px;
+	padding-left: 5px;
+	padding-right: 5px;
+	text-overflow: ellipsis;
+	overflow: hidden;
+	display: inline-block;
+	vertical-align: top;
+}
+
+.cke_skin_v2 .cke_ltr .cke_rcombo .cke_text
+{
+	-moz-border-radius-topleft: 3px;
+	-webkit-border-top-left-radius: 3px;
+	border-top-left-radius: 3px;
+	-moz-border-radius-bottomleft: 3px;
+	-webkit-border-bottom-left-radius: 3px;
+	border-bottom-left-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_text
+{
+	-moz-border-radius-topright: 3px;
+	-webkit-border-top-right-radius: 3px;
+	border-top-right-radius: 3px;
+	-moz-border-radius-bottomright: 3px;
+	-webkit-border-bottom-right-radius: 3px;
+	border-bottom-right-radius: 3px;
+}
+
+/* Fix for IE height */
+.cke_skin_v2 .cke_browser_iequirks .cke_rcombo .cke_text
+{
+	height: 22px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_openbutton
+{
+	display: inline-block;
+
+	background-position: 5px -715px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+
+	border-top: 1px solid #8f8f73;
+	border-bottom: 1px solid #8f8f73;
+	width: 14px;
+	height: 20px;
+}
+
+.cke_skin_v2 .cke_ltr .cke_rcombo .cke_openbutton
+{
+    border-right: 1px solid #8f8f73;
+	-moz-border-radius-topright: 3px;
+	-webkit-border-top-right-radius: 3px;
+	border-top-right-radius: 3px;
+	-moz-border-radius-bottomright: 3px;
+	-webkit-border-bottom-right-radius: 3px;
+	border-bottom-right-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_openbutton
+{
+    border-left: 1px solid #8f8f73;
+	-moz-border-radius-topleft: 3px;
+	-webkit-border-top-left-radius: 3px;
+	border-top-left-radius: 3px;
+	-moz-border-radius-bottomleft: 3px;
+	-webkit-border-bottom-left-radius: 3px;
+	border-bottom-left-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus,
+.cke_skin_v2 .cke_rcombo .cke_off a:active,
+.cke_skin_v2 .cke_rcombo .cke_on a
+{
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_on .cke_text
+{
+	border-color: #316ac5;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_on .cke_openbutton
+{
+	border-color: #316ac5;
+	background-color: #dff1ff;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_on .cke_text
+{
+	-moz-border-radius-bottomleft: 0px;
+	-webkit-border-bottom-left-radius: 0px;
+	border-bottom-left-radius: 0px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_on .cke_openbutton
+{
+	-moz-border-radius-bottomright: 0px;
+	-webkit-border-bottom-right-radius: 0px;
+	border-bottom-right-radius: 0px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=30); /* IE */
+	opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+	filter: alpha(opacity=70);
+	opacity: 0.7;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=50); /* IE */
+	opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+	filter: alpha(opacity=80);
+	opacity: 0.8;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text
+{
+	color: #fff;
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_openbutton,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+	float: right;
+}
+
+/*** IE ***/
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo a,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo .cke_label
+{
+	float: none;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/skin.js
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/skin.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/skin.js	(revision 4888)
@@ -0,0 +1,77 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'v2', (function()
+{
+	var preload = [];
+
+	if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+	{
+		// For IE6, we need to preload some images, otherwhise they will be
+		// downloaded several times (CSS background bug).
+		preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+	}
+
+	return {
+		preload		: preload,
+		editor		: { css : [ 'editor.css' ] },
+		dialog		: { css : [ 'dialog.css' ] },
+		templates	: { css : [ 'templates.css' ] },
+		margins		: [ 0, 14, 18, 14 ]
+	};
+})() );
+
+(function()
+{
+	CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+	function dialogSetup()
+	{
+		CKEDITOR.dialog.on( 'resize', function( evt )
+			{
+				var data = evt.data,
+					width = data.width,
+					height = data.height,
+					dialog = data.dialog,
+					contents = dialog.parts.contents;
+
+				if ( data.skin != 'v2' )
+					return;
+
+				contents.setStyles(
+					{
+						width : width + 'px',
+						height : height + 'px'
+					});
+
+				if ( !CKEDITOR.env.ie )
+					return;
+
+				// 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', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+						// mr
+						el = innerDialog.getChild( 5 );
+						el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+					},
+					100 );
+			});
+	}
+})();
Index: CKEditor/branches/features/aria/_source/skins/v2/templates.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/templates.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/templates.css	(revision 4888)
@@ -0,0 +1,71 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_v2 .cke_tpl_list
+{
+	border: #dcdcdc 2px solid;
+	background-color: #ffffff;
+	overflow: auto;
+	width: 100%;
+	height: 220px;
+}
+
+.cke_skin_v2 .cke_tpl_item
+{
+	margin: 5px;
+	padding: 7px;
+	border: #eeeeee 1px solid;
+	*width: 88%;
+}
+
+.cke_skin_v2 .cke_tpl_preview
+{
+	border-collapse: separate;
+	text-indent:0;
+	width: 100%;
+}
+.cke_skin_v2 .cke_tpl_preview td
+{
+	padding: 2px;
+	vertical-align: middle;
+}
+.cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img
+{
+	width: 100px;
+}
+.cke_skin_v2 .cke_tpl_preview span
+{
+	white-space: normal;
+}
+
+.cke_skin_v2 .cke_tpl_title
+{
+	font-weight: bold;
+}
+
+.cke_skin_v2 .cke_tpl_hover
+{
+	border: #ff9933 1px solid !important;
+	background-color: #fffacd !important;
+	cursor: pointer;
+	cursor: hand;
+}
+/*
+ * Fix property 'cursor' doesn't inherit on table
+ */
+.cke_skin_v2 .cke_tpl_hover *
+{
+	cursor: inherit;
+}
+
+.cke_skin_v2 .cke_tpl_empty, .cke_tpl_loading
+{
+	text-align: center;
+	padding: 5px;
+}
Index: CKEditor/branches/features/aria/_source/skins/v2/toolbar.css
===================================================================
--- CKEditor/branches/features/aria/_source/skins/v2/toolbar.css	(revision 4888)
+++ CKEditor/branches/features/aria/_source/skins/v2/toolbar.css	(revision 4888)
@@ -0,0 +1,412 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+@media print
+{
+	.cke_skin_v2 .cke_toolbox
+	{
+		display: none;
+	}
+}
+
+.cke_skin_v2 .cke_browser_webkit .cke_toolbox,
+.cke_skin_v2 .cke_browser_webkit .cke_toolbox > span
+{
+	white-space: normal;
+}
+
+.cke_skin_v2 a.cke_toolbox_collapser,
+.cke_skin_v2 a:hover.cke_toolbox_collapser
+{
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 3px -739px; /* +3px +4px */
+	background-repeat: no-repeat;
+	width: 11px;
+	height: 11px;
+	float: right;
+	border: outset 1px;
+	margin: 11px 2px 2px;
+	cursor: pointer;
+}
+
+.cke_skin_v2 .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_v2 .cke_rtl a:hover.cke_toolbox_collapser
+{
+	float: left;
+}
+
+.cke_skin_v2 a.cke_toolbox_collapser_min,
+.cke_skin_v2 a:hover.cke_toolbox_collapser_min
+{
+	/* arrowleft.gif*/
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-position: 4px -760px; /* +4px +3px */
+	background-repeat: no-repeat;
+	margin: 2px;
+}
+
+.cke_skin_v2 .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_v2 .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+	/* arrowright.gif*/
+	background-position: 4px -781px; /* +2px +3px */
+}
+
+.cke_skin_v2 .cke_toolbar
+{
+	padding-top: 1px;
+	padding-bottom: 1px;
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_toolgroup
+{
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolgroup
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolgroup
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolgroup
+{
+	#float: none;
+}
+
+.cke_skin_v2 .cke_separator
+{
+	display: inline-block;
+	float: left;
+	border-left: solid 1px #999;
+	margin: 4px 2px;
+	height: 16px;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_separator
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_separator
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_separator
+{
+	#float: none;
+}
+
+.cke_skin_v2 .cke_break
+{
+	clear: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_break
+{
+	clear: right;
+}
+
+.cke_skin_v2 .cke_toolbar_start
+{
+	display: inline-block;
+	background-image: url(images/toolbar_start.gif);
+	background-repeat: no-repeat;
+	margin: 4px 2px 0 2px;
+	width: 3px;
+	height: 20px;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolbar_start
+{
+	#float: none;
+	#display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar_start
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_start
+{
+	#float: none;
+}
+
+.cke_skin_v2 .cke_toolbar_end
+{
+	display: inline-block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolbar_end
+{
+	#float: none;
+	#display: inline
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar_end
+{
+    float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+	#float: none;
+}
+
+.cke_skin_v2 .cke_button a,
+.cke_skin_v2 .cke_button a:hover,
+.cke_skin_v2 .cke_button a:focus,
+.cke_skin_v2 .cke_button a:active,
+.cke_skin_v2 .cke_button a.cke_off
+{
+	border: solid 1px #efefde;
+	display: inline-block;
+	border-radius: 3px;
+	outline: none;
+	padding-top: 2px;
+	padding-left: 4px;
+	padding-right: 4px;
+	padding-bottom: 2px;
+	height: 18px;
+	cursor: default;
+}
+
+.cke_skin_v2 .cke_button a,
+.cke_skin_v2 .cke_button a.cke_off
+{
+	background-color: #efefde;
+	filter: alpha(opacity=70); /* IE */
+	opacity: 0.70; /* Safari, Opera and Mozilla */
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+}
+
+.cke_skin_v2 .cke_hc .cke_button a,
+.cke_skin_v2 .cke_hc .cke_button a.cke_off
+{
+	opacity: 1.0;
+	filter: alpha(opacity=100);
+}
+
+.cke_skin_v2 .cke_button a.cke_on
+{
+	border: solid 1px #316ac5;
+	background-color: #a3d7ff;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_button a.cke_on
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_v2 .cke_button a.cke_disabled,
+.cke_skin_v2 .cke_browser_ie a:hover.cke_button .cke_disabled
+{
+	border: solid 1px #efefde;
+	background-color: #efefde;
+	filter: alpha(opacity=30); /* IE */
+	opacity : 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_button a.cke_disabled,
+.cke_skin_v2 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled
+{
+	filter: alpha(opacity=60);
+	opacity: 0.6;
+}
+
+.cke_skin_v2 .cke_button a:hover.cke_on,
+.cke_skin_v2 .cke_button a:focus.cke_on,
+.cke_skin_v2 .cke_button a:active.cke_on,	/* IE */
+.cke_skin_v2 .cke_button a:hover.cke_off,
+.cke_skin_v2 .cke_button a:focus.cke_off,
+.cke_skin_v2 .cke_button a:active.cke_off	/* IE */
+{
+	border: solid 1px #316ac5;
+	background-color: #dff1ff;
+	filter: alpha(opacity=100); /* IE */
+	opacity: 1; /* Safari, Opera and Mozilla */
+	padding: 2px 4px;
+}
+
+.cke_skin_v2 .cke_hc .cke_button a:hover.cke_on,
+.cke_skin_v2 .cke_hc .cke_button a:focus.cke_on,
+.cke_skin_v2 .cke_hc .cke_button a:active.cke_on,	/* IE */
+.cke_skin_v2 .cke_hc .cke_button a:hover.cke_off,
+.cke_skin_v2 .cke_hc .cke_button a:focus.cke_off,
+.cke_skin_v2 .cke_hc .cke_button a:active.cke_off	/* IE */
+{
+	padding: 0 2px !important;
+	border-width: 3px;
+}
+
+.cke_skin_v2 .cke_button .cke_icon
+{
+	background-image: url(icons.png);
+	background-position: 100px;
+	background-repeat:no-repeat;
+	margin-top:1px;
+	width: 16px;
+	height: 16px;
+	display: inline-block;
+}
+
+.cke_skin_v2 .cke_button .cke_label
+{
+	cursor: default;
+	display: none;
+	padding-left: 3px;
+	vertical-align: 3px;
+}
+
+.cke_skin_v2 .cke_hc .cke_button .cke_label
+{
+	padding: 0;
+	display: inline-block;
+}
+
+.cke_skin_v2 .cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_v2 .cke_accessibility
+{
+	position: absolute;
+	display: block;
+	width: 0;
+	height: 0;
+	overflow: hidden;
+}
+
+.cke_skin_v2 .cke_button .cke_buttonarrow
+{
+	display: inline-block;
+	height: 17px;
+	width: 8px;
+	background-position: 2px -717px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+	background-repeat: no-repeat;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button .cke_buttonarrow
+{
+	background-position: 0 -717px;
+	background-image: url(images/sprites.png);
+	_background-image: url(images/sprites_ie6.png);
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_toolbar,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button a,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button a.cke_off,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_icon,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_buttonarrow,
+.cke_skin_v2 .cke_browser_gecko18 .cke_separator,
+.cke_skin_v2 .cke_browser_gecko18 .cke_toolbar_start
+{
+	display: block;
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_hc .cke_button .cke_icon
+{
+	display: none;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_toolbar,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button a,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button a.cke_off,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_icon,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_separator,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_toolbar_start
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_break
+{
+	float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl span.cke_inline_label
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_break
+{
+	float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_separator
+{
+	margin-top: 4px;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_label
+{
+	padding-top: 3px;
+}
+
+/*** IE6 ***/
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolgroup,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_separator,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_start,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+	float: none;
+}
+
+/*** IE8 ***/
+
+.cke_skin_v2 .cke_browser_ie8 .cke_toolbar,
+.cke_skin_v2 .cke_browser_ie8 .cke_toolgroup
+{
+	vertical-align: top;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_browser_ie8 .cke_toolbar,
+.cke_skin_v2 .cke_browser_iequirks.cke_browser_ie8 .cke_toolgroup
+{
+	/* revert previous */
+	vertical-align: baseline;
+}
+
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_v2 .cke_browser_ie .cke_rcombo,
+.cke_skin_v2 .cke_browser_ie .cke_rcombo *
+{
+	cursor: default;
+}
Index: CKEditor/branches/features/aria/_source/themes/default/theme.js
===================================================================
--- CKEditor/branches/features/aria/_source/themes/default/theme.js	(revision 4888)
+++ CKEditor/branches/features/aria/_source/themes/default/theme.js	(revision 4888)
@@ -0,0 +1,332 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.themes.add( 'default', (function()
+{
+	function checkSharedSpace( editor, spaceName )
+	{
+		var container,
+			element;
+
+		// Try to retrieve the target element from the sharedSpaces settings.
+		element = editor.config.sharedSpaces;
+		element = element && element[ spaceName ];
+		element = element && CKEDITOR.document.getById( element );
+
+		// If the element is available, we'll then create the container for
+		// the space.
+		if ( element )
+		{
+			// Creates an HTML structure that reproduces the editor class hierarchy.
+			var html =
+				'<span class="cke_shared">' +
+				'<span class="' + editor.skinClass + ' cke_editor_' + editor.name + '">' +
+				'<span class="' + CKEDITOR.env.cssClass + '">' +
+				'<span class="cke_wrapper cke_' + editor.lang.dir + '">' +
+				'<span class="cke_editor">' +
+				'<div class="cke_' + spaceName + '">' +
+				'</div></span></span></span></span></span>';
+
+			var mainContainer = element.append( CKEDITOR.dom.element.createFromHtml( html, element.getDocument() ) );
+
+			// Only the first container starts visible. Others get hidden.
+			if ( element.getCustomData( 'cke_hasshared' ) )
+				mainContainer.hide();
+			else
+				element.setCustomData( 'cke_hasshared', 1 );
+
+			// Get the deeper inner <div>.
+			container = mainContainer.getChild( [0,0,0,0] );
+
+			// When the editor gets focus, we show the space container, hiding others.
+			editor.on( 'focus', function()
+				{
+					for ( var i = 0, sibling, children = element.getChildren() ; ( sibling = children.getItem( i ) ) ; i++ )
+					{
+						if ( sibling.type == CKEDITOR.NODE_ELEMENT
+							&& !sibling.equals( mainContainer )
+							&& sibling.hasClass( 'cke_shared' ) )
+						{
+							sibling.hide();
+						}
+					}
+
+					mainContainer.show();
+				});
+
+			editor.on( 'destroy', function()
+				{
+					mainContainer.remove();
+				});
+		}
+
+		return container;
+	}
+
+	return {
+		build : function( editor, themePath )
+		{
+			var name = editor.name,
+				element = editor.element,
+				elementMode = editor.elementMode;
+
+			if ( !element || elementMode == CKEDITOR.ELEMENT_MODE_NONE )
+				return;
+
+			if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+				element.hide();
+
+			// Get the HTML for the predefined spaces.
+			var topHtml			= editor.fire( 'themeSpace', { space : 'top', html : '' } ).html;
+			var contentsHtml	= editor.fire( 'themeSpace', { space : 'contents', html : '' } ).html;
+			var bottomHtml		= editor.fireOnce( 'themeSpace', { space : 'bottom', html : '' } ).html;
+
+			var height	= contentsHtml && editor.config.height;
+
+			var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;
+
+			// The editor height is considered only if the contents space got filled.
+			if ( !contentsHtml )
+				height = 'auto';
+			else if ( !isNaN( height ) )
+				height += 'px';
+
+			var style = '';
+			var width	= editor.config.width;
+
+			if ( width )
+			{
+				if ( !isNaN( width ) )
+					width += 'px';
+
+				style += "width: " + width + ";";
+			}
+
+			var sharedTop		= topHtml && checkSharedSpace( editor, 'top' ),
+				sharedBottoms	= checkSharedSpace( editor, 'bottom' );
+
+			sharedTop		&& ( sharedTop.setHtml( topHtml )		, topHtml = '' );
+			sharedBottoms	&& ( sharedBottoms.setHtml( bottomHtml ), bottomHtml = '' );
+
+			var container = CKEDITOR.dom.element.createFromHtml( [
+				'<span' +
+					' id="cke_', name, '"' +
+					' onmousedown="return false;"' +
+					' class="', editor.skinClass, ' cke_editor_', name, '"' +
+					' dir="', editor.lang.dir, '"' +
+					' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +
+					' lang="', editor.langCode, '"' +
+					' tabindex="' + tabIndex + '"' +
+					( style ? ' style="' + style + '"' : '' ) +
+					'>' +
+					'<span class="' , CKEDITOR.env.cssClass, '">' +
+						'<span class="cke_wrapper cke_', editor.lang.dir, '">' +
+							'<table class="cke_editor" border="0" cellspacing="0" cellpadding="0"><tbody>' +
+								'<tr', topHtml		? '' : ' style="display:none"', '><td id="cke_top_'		, name, '" class="cke_top">'	, topHtml		, '</td></tr>' +
+								'<tr', contentsHtml	? '' : ' style="display:none"', '><td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '">', contentsHtml, '</td></tr>' +
+								'<tr', bottomHtml	? '' : ' style="display:none"', '><td id="cke_bottom_'	, name, '" class="cke_bottom">'	, bottomHtml	, '</td></tr>' +
+							'</tbody></table>' +
+							//Hide the container when loading skins, later restored by skin css.
+							'<style>.', editor.skinClass, '{visibility:hidden;}</style>' +
+						'</span>' +
+					'</span>' +
+				'</span>' ].join( '' ) );
+
+			container.getChild( [0, 0, 0, 0, 0] ).unselectable();
+			container.getChild( [0, 0, 0, 0, 2] ).unselectable();
+
+			if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+				container.insertAfter( element );
+			else
+				element.append( container );
+
+			/**
+			 * The DOM element that holds the main editor interface.
+			 * @name CKEDITOR.editor.prototype.container
+			 * @type CKEDITOR.dom.element
+			 * @example
+			 * var editor = CKEDITOR.instances.editor1;
+			 * alert( <b>editor.container</b>.getName() );  "span"
+			 */
+			editor.container = container;
+
+			// Disable browser context menu for editor's chrome.
+			container.disableContextMenu();
+
+			editor.fireOnce( 'themeLoaded' );
+			editor.fireOnce( 'uiReady' );
+		},
+
+		buildDialog : function( editor )
+		{
+			var baseIdNumber = CKEDITOR.tools.getNextNumber();
+
+			var element = CKEDITOR.dom.element.createFromHtml( [
+					'<div class="cke_editor_' + editor.name.replace('.', '\\.') + '_dialog cke_skin_', editor.skinName,
+						'" dir="', editor.lang.dir, '"' +
+						' lang="', editor.langCode, '"' +
+						'>' +
+						'<table class="cke_dialog', ' ' + CKEDITOR.env.cssClass,
+							' cke_', editor.lang.dir, '" style="position:absolute">' +
+							'<tr><td>' +
+							'<div class="%body">' +
+								'<div id="%title#" class="%title"></div>' +
+								'<div id="%close_button#" class="%close_button">' +
+									'<span>X</span>' +
+								'</div>' +
+								'<div id="%tabs#" class="%tabs"></div>' +
+								  '<table class="%contents"><tr>' +
+								  '<td id="%contents#" class="%contents"></td>' +
+								  '</tr></table>' +
+								'<div id="%footer#" class="%footer"></div>' +
+							'</div>' +
+							'<div id="%tl#" class="%tl"></div>' +
+							'<div id="%tc#" class="%tc"></div>' +
+							'<div id="%tr#" class="%tr"></div>' +
+							'<div id="%ml#" class="%ml"></div>' +
+							'<div id="%mr#" class="%mr"></div>' +
+							'<div id="%bl#" class="%bl"></div>' +
+							'<div id="%bc#" class="%bc"></div>' +
+							'<div id="%br#" class="%br"></div>' +
+							'</td></tr>' +
+						'</table>',
+
+						//Hide the container when loading skins, later restored by skin css.
+						( CKEDITOR.env.ie ? '' : '<style>.cke_dialog{visibility:hidden;}</style>' ),
+
+					'</div>'
+				].join( '' )
+					.replace( /#/g, '_' + baseIdNumber )
+					.replace( /%/g, 'cke_dialog_' ) );
+
+			var body = element.getChild( [ 0, 0, 0, 0, 0 ] ),
+				title = body.getChild( 0 ),
+				close = body.getChild( 1 );
+
+			// Make the Title and Close Button unselectable.
+			title.unselectable();
+			close.unselectable();
+
+
+			return {
+				element : element,
+				parts :
+				{
+					dialog		: element.getChild( 0 ),
+					title		: title,
+					close		: close,
+					tabs		: body.getChild( 2 ),
+					contents	: body.getChild( [ 3, 0, 0, 0 ] ),
+					footer		: body.getChild( 4 )
+				}
+			};
+		},
+
+		destroy : function( editor )
+		{
+			var container = editor.container;
+
+			/*
+			 * IE BUG: Removing the editor DOM elements while the selection is inside
+			 * the editing area would break IE7/8's selection system. So we need to put
+			 * the selection back to the parent document without scrolling the window.
+			 * (#3812)
+			 */
+			if ( CKEDITOR.env.ie )
+			{
+				container.setStyle( 'display', 'none' );
+
+				var $range = document.body.createTextRange();
+				$range.moveToElementText( container.$ );
+				try
+				{
+					// Putting the selection to a display:none element - this will certainly
+					// fail. But! We've just put the selection document back to the parent
+					// document without scrolling the window!
+					$range.select();
+				}
+				catch ( e ) {}
+			}
+
+			if ( container )
+				container.remove();
+
+			if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+			{
+				editor.element.show();
+				delete editor.element;
+			}
+		}
+	};
+})() );
+
+CKEDITOR.editor.prototype.getThemeSpace = function( spaceName )
+{
+	var spacePrefix = 'cke_' + spaceName;
+	var space = this._[ spacePrefix ] ||
+		( this._[ spacePrefix ] = CKEDITOR.document.getById( spacePrefix + '_' + this.name ) );
+	return space;
+};
+
+CKEDITOR.editor.prototype.resize = function( width, height, isContentHeight, resizeInner )
+{
+	var numberRegex = /^\d+$/;
+	if ( numberRegex.test( width ) )
+		width += 'px';
+
+	var container = this.container,
+		contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
+		outer = resizeInner ? container.getChild( 0 ) : container;
+
+	// Resize the width first.
+	// WEBKIT BUG: Webkit requires that we put the editor off from display when we
+	// resize it. If we don't, the browser crashes!
+	CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
+	outer.setStyle( 'width', width );
+	if ( CKEDITOR.env.webkit )
+	{
+		outer.$.offsetWidth;
+		outer.setStyle( 'display', '' );
+	}
+
+	// Get the height delta between the outer table and the content area.
+	// If we're setting the content area's height, then we don't need the delta.
+	var delta = isContentHeight ? 0 : ( outer.$.offsetHeight || 0 ) - ( contents.$.clientHeight || 0 );
+	contents.setStyle( 'height', Math.max( height - delta, 0 ) + 'px' );
+
+	// Emit a resize event.
+	this.fire( 'resize' );
+};
+
+CKEDITOR.editor.prototype.getResizable = function()
+{
+	return this.container.getChild( 0 );
+};
+
+/**
+ * Makes it possible to place some of the editor UI blocks, like the toolbar
+ * and the elements path, into any element in the page.
+ * The elements used to hold the UI blocks can be shared among several editor
+ * instances. In that case, only the blocks of the active editor instance will
+ * display.
+ * @name CKEDITOR.config.sharedSpaces
+ * @type Object
+ * @default undefined
+ * @example
+ * // Place the toolbar inside the element with ID "someElementId" and the
+ * // elements path into the element with ID "anotherId".
+ * config.sharedSpaces =
+ * {
+ *     top : 'someElementId',
+ *     bottom : 'anotherId'
+ * };
+ * @example
+ * // Place the toolbar inside the element with ID "someElementId". The
+ * // elements path will remain attached to the editor UI.
+ * config.sharedSpaces =
+ * {
+ *     top : 'someElementId'
+ * };
+ */
Index: CKEditor/branches/features/aria/ckeditor.pack
===================================================================
--- CKEditor/branches/features/aria/ckeditor.pack	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor.pack	(revision 4888)
@@ -0,0 +1,203 @@
+﻿/*
+ * CKPackager - Sample Package file
+ */
+
+header :
+	'/*'																			+ '\n' +
+	'Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.'	+ '\n' +
+	'For licensing, see LICENSE.html or http://ckeditor.com/license'				+ '\n' +
+	'*/'																			+ '\n' +
+	'\n',
+
+noCheck : false,
+
+constants :
+	{
+		'CKEDITOR.ELEMENT_MODE_NONE' : 0,
+		'CKEDITOR.ELEMENT_MODE_REPLACE' : 1,
+		'CKEDITOR.ELEMENT_MODE_APPENDTO' : 2,
+		'CKEDITOR.CTRL' : 1000,
+		'CKEDITOR.SHIFT' : 2000,
+		'CKEDITOR.ALT' : 4000,
+		'CKEDITOR.NODE_ELEMENT' : 1,
+		'CKEDITOR.NODE_TEXT' : 3,
+		'CKEDITOR.NODE_COMMENT' : 8,
+		'CKEDITOR.NODE_DOCUMENT_FRAGMENT' : 11,
+		'CKEDITOR.POSITION_IDENTICAL' : 0,
+		'CKEDITOR.POSITION_DISCONNECTED' : 1,
+		'CKEDITOR.POSITION_FOLLOWING' : 2,
+		'CKEDITOR.POSITION_PRECEDING' : 4,
+		'CKEDITOR.POSITION_IS_CONTAINED' : 8,
+		'CKEDITOR.POSITION_CONTAINS' : 16,
+		'CKEDITOR.ENTER_P' : 1,
+		'CKEDITOR.ENTER_BR' : 2,
+		'CKEDITOR.ENTER_DIV' : 3,
+		'CKEDITOR.TRISTATE_ON' : 1,
+		'CKEDITOR.TRISTATE_OFF' : 2,
+		'CKEDITOR.TRISTATE_DISABLED' : 0,
+		'CKEDITOR.POSITION_AFTER_START' : 1,
+		'CKEDITOR.POSITION_BEFORE_END' : 2,
+		'CKEDITOR.POSITION_BEFORE_START' : 3,
+		'CKEDITOR.POSITION_AFTER_END' : 4,
+		'CKEDITOR.ENLARGE_ELEMENT' : 1,
+		'CKEDITOR.ENLARGE_BLOCK_CONTENTS' : 2,
+		'CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS' : 3,
+		'CKEDITOR.START' : 1,
+		'CKEDITOR.END' : 2,
+		'CKEDITOR.STARTEND' : 3,
+		'CKEDITOR.UI_BUTTON' : 1,
+		'CKEDITOR.STYLE_BLOCK' : 1,
+		'CKEDITOR.STYLE_INLINE' : 2,
+		'CKEDITOR.STYLE_OBJECT' : 3,
+		'CKEDITOR.UI_PANELBUTTON' : 4,
+		'CKEDITOR.SELECTION_NONE' : 1,
+		'CKEDITOR.SELECTION_TEXT' : 2,
+		'CKEDITOR.SELECTION_ELEMENT' : 3,
+		'CKEDITOR.UI_RICHCOMBO' : 3,
+		'CKEDITOR.UI_MENUBUTTON' : 5,
+		'CKEDITOR.DIALOG_RESIZE_NONE' : 0,
+		'CKEDITOR.DIALOG_RESIZE_WIDTH' : 1,
+		'CKEDITOR.DIALOG_RESIZE_HEIGHT' : 2,
+		'CKEDITOR.DIALOG_RESIZE_BOTH' : 3,
+		'CKEDITOR.VALIDATE_OR' : 1,
+		'CKEDITOR.VALIDATE_AND' : 2,
+		'CKEDITOR.UI_PANEL' : 2
+	},
+
+packages :
+	[
+		{
+			output : 'ckeditor_basic.js',
+			wrap : true,
+			files :
+				[
+					'_source/core/ckeditor_base.js',
+					'_source/core/event.js',
+					'_source/core/editor_basic.js',
+					'_source/core/env.js',
+					'_source/core/ckeditor_basic.js'
+				]
+		},
+
+		{
+			output : 'ckeditor.js',
+			wrap : true,
+			files :
+				[
+					'_source/core/ckeditor_base.js',
+					'_source/core/event.js',
+					'_source/core/editor_basic.js',
+					'_source/core/env.js',
+					'_source/core/ckeditor_basic.js',
+					'_source/core/dom.js',
+					'_source/core/tools.js',
+					'_source/core/dtd.js',
+					'_source/core/dom/event.js',
+					'_source/core/dom/domobject.js',
+					'_source/core/dom/window.js',
+					'_source/core/dom/document.js',
+					'_source/core/dom/node.js',
+					'_source/core/dom/nodelist.js',
+					'_source/core/dom/element.js',
+					'_source/core/command.js',
+					'_source/core/config.js',
+					'_source/core/focusmanager.js',
+					'_source/core/lang.js',
+					'_source/core/scriptloader.js',
+					'_source/core/resourcemanager.js',
+					'_source/core/plugins.js',
+					'_source/core/imagecacher.js',
+					'_source/core/skins.js',
+					'_source/core/themes.js',
+					'_source/core/ui.js',
+					'_source/core/editor.js',
+					'_source/core/htmlparser.js',
+					'_source/core/htmlparser/comment.js',
+					'_source/core/htmlparser/text.js',
+					'_source/core/htmlparser/cdata.js',
+					'_source/core/htmlparser/fragment.js',
+					'_source/core/htmlparser/element.js',
+					'_source/core/htmlparser/filter.js',
+					'_source/core/htmlparser/basicwriter.js',
+					'_source/core/ckeditor.js',
+					'_source/core/dom/comment.js',
+					'_source/core/dom/elementpath.js',
+					'_source/core/dom/text.js',
+					'_source/core/dom/documentfragment.js',
+					'_source/core/dom/walker.js',
+					'_source/core/dom/range.js',
+					'_source/core/_bootstrap.js',
+					'_source/skins/kama/skin.js',
+//					'_source/lang/en.js',
+					'_source/plugins/about/plugin.js',
+					'_source/plugins/basicstyles/plugin.js',
+					'_source/plugins/blockquote/plugin.js',
+					'_source/plugins/button/plugin.js',
+					'_source/plugins/clipboard/plugin.js',
+					'_source/plugins/colorbutton/plugin.js',
+					'_source/plugins/colordialog/plugin.js',
+					'_source/plugins/contextmenu/plugin.js',
+					'_source/plugins/div/plugin.js',
+					'_source/plugins/elementspath/plugin.js',
+					'_source/plugins/enterkey/plugin.js',
+					'_source/plugins/entities/plugin.js',
+					'_source/plugins/filebrowser/plugin.js',
+					'_source/plugins/find/plugin.js',
+					'_source/plugins/flash/plugin.js',
+					'_source/plugins/font/plugin.js',
+					'_source/plugins/format/plugin.js',
+					'_source/plugins/forms/plugin.js',
+					'_source/plugins/horizontalrule/plugin.js',
+					'_source/plugins/htmldataprocessor/plugin.js',
+					'_source/plugins/image/plugin.js',
+					'_source/plugins/indent/plugin.js',
+					'_source/plugins/justify/plugin.js',
+					'_source/plugins/keystrokes/plugin.js',
+					'_source/plugins/link/plugin.js',
+					'_source/plugins/list/plugin.js',
+					'_source/plugins/maximize/plugin.js',
+					'_source/plugins/newpage/plugin.js',
+					'_source/plugins/pagebreak/plugin.js',
+					'_source/plugins/pastefromword/plugin.js',
+					'_source/plugins/pastetext/plugin.js',
+					'_source/plugins/popup/plugin.js',
+					'_source/plugins/preview/plugin.js',
+					'_source/plugins/print/plugin.js',
+					'_source/plugins/removeformat/plugin.js',
+					'_source/plugins/resize/plugin.js',
+					'_source/plugins/save/plugin.js',
+					'_source/plugins/scayt/plugin.js',
+					'_source/plugins/smiley/plugin.js',
+					'_source/plugins/showblocks/plugin.js',
+					'_source/plugins/showborders/plugin.js',
+					'_source/plugins/sourcearea/plugin.js',
+					'_source/plugins/stylescombo/plugin.js',
+					'_source/plugins/table/plugin.js',
+					'_source/plugins/tabletools/plugin.js',
+					'_source/plugins/specialchar/plugin.js',
+					'_source/plugins/tab/plugin.js',
+					'_source/plugins/templates/plugin.js',
+					'_source/plugins/toolbar/plugin.js',
+					'_source/plugins/undo/plugin.js',
+					'_source/plugins/wysiwygarea/plugin.js',
+					'_source/plugins/wsc/plugin.js',
+					'_source/plugins/styles/plugin.js',
+					'_source/plugins/domiterator/plugin.js',
+					'_source/plugins/panelbutton/plugin.js',
+					'_source/plugins/floatpanel/plugin.js',
+					'_source/plugins/menu/plugin.js',
+					'_source/plugins/editingblock/plugin.js',
+					'_source/plugins/selection/plugin.js',
+					'_source/plugins/fakeobjects/plugin.js',
+					'_source/plugins/richcombo/plugin.js',
+					'_source/plugins/htmlwriter/plugin.js',
+					'_source/plugins/menubutton/plugin.js',
+					'_source/plugins/dialog/plugin.js',
+					'_source/plugins/panel/plugin.js',
+					'_source/plugins/listblock/plugin.js',
+					'_source/plugins/dialogui/plugin.js',
+					'_source/themes/default/theme.js'
+				]
+		}
+
+	]
Index: CKEditor/branches/features/aria/ckeditor.php
===================================================================
--- CKEditor/branches/features/aria/ckeditor.php	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor.php	(revision 4888)
@@ -0,0 +1,29 @@
+<?php
+/*
+ * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+/*! \mainpage CKEditor - PHP server side intergation
+ * \section intro_sec CKEditor
+ * Visit <a href="http://ckeditor.com">CKEditor web site</a> to find more information about the editor.
+ * \section install_sec Installation
+ * \subsection step1 Include ckeditor.php in your PHP web site.
+ * @code
+ * <?php
+ * include("ckeditor/ckeditor.php");
+ * ?>
+ * @endcode
+ * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor.
+ * @code
+ * <?php
+ * $CKEditor = new CKEditor();
+ * echo $CKEditor->textarea("field1", "<p>Initial value.</p>");
+ * ?>
+ * @endcode
+ */
+
+if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )
+	include_once( 'ckeditor_php4.php' ) ;
+else
+	include_once( 'ckeditor_php5.php' ) ;
Index: CKEditor/branches/features/aria/ckeditor_basic_source.js
===================================================================
--- CKEditor/branches/features/aria/ckeditor_basic_source.js	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor_basic_source.js	(revision 4888)
@@ -0,0 +1,20 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Compressed version of core/ckeditor_base.js. See original for instructions.
+/*jsl:ignore*/
+if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'%VERSION%',revision:'%REV%',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+/*jsl:end*/
+
+// Uncomment the following line to have a new timestamp generated for each
+// request, having clear cache load of the editor code.
+// CKEDITOR.timestamp = ( new Date() ).valueOf();
+
+// Set the script name to be loaded by the loader.
+CKEDITOR._autoLoad = 'core/ckeditor_basic';
+
+// Include the loader script.
+document.write(
+	'<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );
Index: CKEditor/branches/features/aria/ckeditor_php4.php
===================================================================
--- CKEditor/branches/features/aria/ckeditor_php4.php	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor_php4.php	(revision 4888)
@@ -0,0 +1,598 @@
+<?php
+/*
+* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+* For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * \brief CKEditor class that can be used to create editor
+ * instances in PHP pages on server side.
+ * @see http://ckeditor.com
+ *
+ * Sample usage:
+ * @code
+ * $CKEditor = new CKEditor();
+ * $CKEditor->editor("editor1", "<p>Initial value.</p>");
+ * @endcode
+ */
+class CKEditor
+{
+	/**
+	 * The version of %CKEditor.
+	 * \private
+	 */
+	var $version = '%VERSION%';
+	/**
+	 * A constant string unique for each release of %CKEditor.
+	 * \private
+	 */
+	var $_timestamp = '%TIMESTAMP%';
+
+	/**
+	 * URL to the %CKEditor installation directory (absolute or relative to document root).
+	 * If not set, CKEditor will try to guess it's path.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->basePath = '/ckeditor/';
+	 * @endcode
+	 */
+	var $basePath;
+	/**
+	 * An array that holds the global %CKEditor configuration.
+	 * For the list of available options, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->config['height'] = 400;
+	 * // Use @@ at the beggining of a string to ouput it without surrounding quotes.
+	 * $CKEditor->config['width'] = '@@screen.width * 0.8';
+	 * @endcode
+	 */
+	var $config = array();
+	/**
+	 * A boolean variable indicating whether CKEditor has been initialized.
+	 * Set it to true only if you have already included
+	 * &lt;script&gt; tag loading ckeditor.js in your website.
+	 */
+	var $initialized = false;
+	/**
+	 * Boolean variable indicating whether created code should be printed out or returned by a function.
+	 *
+	 * Example 1: get the code creating %CKEditor instance and print it on a page with the "echo" function.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->returnOutput = true;
+	 * $code = $CKEditor->editor("editor1", "<p>Initial value.</p>");
+	 * echo "<p>Editor 1:</p>";
+	 * echo $code;
+	 * @endcode
+	 */
+	var $returnOutput = false;
+	/**
+	 * An array with textarea attributes.
+	 *
+	 * When %CKEditor is created with the editor() method, a HTML &lt;textarea&gt; element is created,
+	 * it will be displayed to anyone with JavaScript disabled or with incompatible browser.
+	 */
+	var $textareaAttributes = array( "rows" => 8, "cols" => 60 );
+	/**
+	 * A string indicating the creation date of %CKEditor.
+	 * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor.
+	 */
+	var $timestamp = "%TIMESTAMP%";
+	/**
+	 * An array that holds event listeners.
+	 * \private
+	 */
+	var $_events = array();
+	/**
+	 * An array that holds global event listeners.
+	 * \private
+	 */
+	var $_globalEvents = array();
+
+	/**
+	 * Main Constructor.
+	 *
+	 *  @param $basePath (string) URL to the %CKEditor installation directory (optional).
+	 */
+	function CKEditor($basePath = null) {
+		if (!empty($basePath)) {
+			$this->basePath = $basePath;
+		}
+	}
+
+	/**
+	 * Creates a %CKEditor instance.
+	 * In incompatible browsers %CKEditor will downgrade to plain HTML &lt;textarea&gt; element.
+	 *
+	 * @param $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element).
+	 * @param $value (string) Initial value (optional).
+	 * @param $config (array) The specific configurations to apply to this editor instance (optional).
+	 * @param $events (array) Event listeners for this editor instance (optional).
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->editor("field1", "<p>Initial value.</p>");
+	 * @endcode
+	 *
+	 * Advanced example:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $config = array();
+	 * $config['toolbar'] = array(
+	 *     array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
+	 *     array( 'Image', 'Link', 'Unlink', 'Anchor' )
+	 * );
+	 * $events['instanceReady'] = 'function (ev) {
+	 *     alert("Loaded: " + ev.editor.name);
+	 * }';
+	 * $CKEditor->editor("field1", "<p>Initial value.</p>", $config, $events);
+	 * @endcode
+	 */
+	function editor($name, $value = "", $config = array(), $events = array())
+	{
+		$attr = "";
+		foreach ($this->textareaAttributes as $key => $val) {
+			$attr.= " " . $key . '="' . str_replace('"', '&quot;', $val) . '"';
+		}
+		$out = "<textarea name=\"" . $name . "\"" . $attr . ">" . htmlspecialchars($value) . "</textarea>\n";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings($config, $events);
+
+		$js = $this->returnGlobalEvents();
+		if (!empty($_config))
+			$js .= "CKEDITOR.replace('".$name."', ".$this->jsEncode($_config).");";
+		else
+			$js .= "CKEDITOR.replace('".$name."');";
+
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Replaces a &lt;textarea&gt; with a %CKEditor instance.
+	 *
+	 * @param $id (string) The id or name of textarea element.
+	 * @param $config (array) The specific configurations to apply to this editor instance (optional).
+	 * @param $events (array) Event listeners for this editor instance (optional).
+	 *
+	 * Example 1: adding %CKEditor to &lt;textarea name="article"&gt;&lt;/textarea&gt; element:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replace("article");
+	 * @endcode
+	 */
+	function replace($id, $config = array(), $events = array())
+	{
+		$out = "";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings($config, $events);
+
+		$js = $this->returnGlobalEvents();
+		if (!empty($_config)) {
+			$js .= "CKEDITOR.replace('".$id."', ".$this->jsEncode($_config).");";
+		}
+		else {
+			$js .= "CKEDITOR.replace('".$id."');";
+		}
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Replace all &lt;textarea&gt; elements available in the document with editor instances.
+	 *
+	 * @param $className (string) If set, replace all textareas with class className in the page.
+	 *
+	 * Example 1: replace all &lt;textarea&gt; elements in the page.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replaceAll();
+	 * @endcode
+	 *
+	 * Example 2: replace all &lt;textarea class="myClassName"&gt; elements in the page.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replaceAll( 'myClassName' );
+	 * @endcode
+	 */
+	function replaceAll($className = null)
+	{
+		$out = "";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings();
+
+		$js = $this->returnGlobalEvents();
+		if (empty($_config)) {
+			if (empty($className)) {
+				$js .= "CKEDITOR.replaceAll();";
+			}
+			else {
+				$js .= "CKEDITOR.replaceAll('".$className."');";
+			}
+		}
+		else {
+			$classDetection = "";
+			$js .= "CKEDITOR.replaceAll( function(textarea, config) {\n";
+			if (!empty($className)) {
+				$js .= "	var classRegex = new RegExp('(?:^| )' + '". $className ."' + '(?:$| )');\n";
+				$js .= "	if (!classRegex.test(textarea.className))\n";
+				$js .= "		return false;\n";
+			}
+			$js .= "	CKEDITOR.tools.extend(config, ". $this->jsEncode($_config) .", true);";
+			$js .= "} );";
+
+		}
+
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Adds event listener.
+	 * Events are fired by %CKEditor in various situations.
+	 *
+	 * @param $event (string) Event name.
+	 * @param $javascriptCode (string) Javascript anonymous function or function name.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->addEventHandler('instanceReady', 'function (ev) {
+	 *     alert("Loaded: " + ev.editor.name);
+	 * }');
+	 * @endcode
+	 */
+	function addEventHandler($event, $javascriptCode)
+	{
+		if (!isset($this->_events[$event])) {
+			$this->_events[$event] = array();
+		}
+		// Avoid duplicates.
+		if (!in_array($javascriptCode, $this->_events[$event])) {
+			$this->_events[$event][] = $javascriptCode;
+		}
+	}
+
+	/**
+	 * Clear registered event handlers.
+	 * Note: this function will have no effect on already created editor instances.
+	 *
+	 * @param $event (string) Event name, if not set all event handlers will be removed (optional).
+	 */
+	function clearEventHandlers($event = null)
+	{
+		if (!empty($event)) {
+			$this->_events[$event] = array();
+		}
+		else {
+			$this->_events = array();
+		}
+	}
+
+	/**
+	 * Adds global event listener.
+	 *
+	 * @param $event (string) Event name.
+	 * @param $javascriptCode (string) Javascript anonymous function or function name.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->addGlobalEventHandler('dialogDefinition', 'function (ev) {
+	 *     alert("Loading dialog: " + ev.data.name);
+	 * }');
+	 * @endcode
+	 */
+	function addGlobalEventHandler($event, $javascriptCode)
+	{
+		if (!isset($this->_globalEvents[$event])) {
+			$this->_globalEvents[$event] = array();
+		}
+		// Avoid duplicates.
+		if (!in_array($javascriptCode, $this->_globalEvents[$event])) {
+			$this->_globalEvents[$event][] = $javascriptCode;
+		}
+	}
+
+	/**
+	 * Clear registered global event handlers.
+	 * Note: this function will have no effect if the event handler has been already printed/returned.
+	 *
+	 * @param $event (string) Event name, if not set all event handlers will be removed (optional).
+	 */
+	function clearGlobalEventHandlers($event = null)
+	{
+		if (!empty($event)) {
+			$this->_globalEvents[$event] = array();
+		}
+		else {
+			$this->_globalEvents = array();
+		}
+	}
+
+	/**
+	 * Prints javascript code.
+	 * \private
+	 *
+	 * @param string $js
+	 */
+	function script($js)
+	{
+		$out = "<script type=\"text/javascript\">";
+		$out .= "//<![CDATA[\n";
+		$out .= $js;
+		$out .= "\n//]]>";
+		$out .= "</script>\n";
+
+		return $out;
+	}
+
+	/**
+	 * Returns the configuration array (global and instance specific settings are merged into one array).
+	 * \private
+	 *
+	 * @param $config (array) The specific configurations to apply to editor instance.
+	 * @param $events (array) Event listeners for editor instance.
+	 */
+	function configSettings($config = array(), $events = array())
+	{
+		$_config = $this->config;
+		$_events = $this->_events;
+
+		if (is_array($config) && !empty($config)) {
+			$_config = array_merge($_config, $config);
+		}
+
+		if (is_array($events) && !empty($events)) {
+			foreach ($events as $eventName => $code) {
+				if (!isset($_events[$eventName])) {
+					$_events[$eventName] = array();
+				}
+				if (!in_array($code, $_events[$eventName])) {
+					$_events[$eventName][] = $code;
+				}
+			}
+		}
+
+		if (!empty($_events)) {
+			foreach($_events as $eventName => $handlers) {
+				if (empty($handlers)) {
+					continue;
+				}
+				else if (count($handlers) == 1) {
+					$_config['on'][$eventName] = '@@'.$handlers[0];
+				}
+				else {
+					$_config['on'][$eventName] = '@@function (ev){';
+					foreach ($handlers as $handler => $code) {
+						$_config['on'][$eventName] .= '('.$code.')(ev);';
+					}
+					$_config['on'][$eventName] .= '}';
+				}
+			}
+		}
+
+		return $_config;
+	}
+
+	/**
+	 * Return global event handlers.
+	 * \private
+	 */
+	function returnGlobalEvents()
+	{
+		static $returnedEvents;
+		$out = "";
+
+		if (!isset($returnedEvents)) {
+			$returnedEvents = array();
+		}
+
+		if (!empty($this->_globalEvents)) {
+			foreach ($this->_globalEvents as $eventName => $handlers) {
+				foreach ($handlers as $handler => $code) {
+					if (!isset($returnedEvents[$eventName])) {
+						$returnedEvents[$eventName] = array();
+					}
+					// Return only new events
+					if (!in_array($code, $returnedEvents[$eventName])) {
+						$out .= ($code ? "\n" : "") . "CKEDITOR.on('". $eventName ."', $code);";
+						$returnedEvents[$eventName][] = $code;
+					}
+				}
+			}
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Initializes CKEditor (executed only once).
+	 * \private
+	 */
+	function init()
+	{
+		static $initComplete;
+		$out = "";
+
+		if (!empty($initComplete)) {
+			return "";
+		}
+
+		if ($this->initialized) {
+			$initComplete = true;
+			return "";
+		}
+
+		$args = "";
+		$ckeditorPath = $this->ckeditorPath();
+
+		if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") {
+			$args = '?t=' . $this->timestamp;
+		}
+
+		// Skip relative paths...
+		if (strpos($ckeditorPath, '..') !== 0) {
+			$out .= $this->script("window.CKEDITOR_BASEPATH='". $ckeditorPath ."';");
+		}
+
+		$out .= "<script type=\"text/javascript\" src=\"" . $ckeditorPath . 'ckeditor.js' . $args . "\"></script>\n";
+
+		$extraCode = "";
+		// CKReleaser %REMOVE_START%
+		if ($this->version == '%VERSION%') {
+			$extraCode .= ($extraCode ? "\n" : "") . "if (typeof(CKEDITOR) == 'undefined') { alert('The CKEDITOR object was not found. Please make sure that the ckeditor.js file is available in your installation.'); }";
+		}
+		// %REMOVE_END%
+		if ($this->timestamp != $this->_timestamp) {
+			$extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';";
+		}
+		if ($extraCode) {
+			$out .= $this->script($extraCode);
+		}
+
+		$initComplete = $this->initialized = true;
+
+		return $out;
+	}
+
+	/**
+	 * Return path to ckeditor.js.
+	 * \private
+	 */
+	function ckeditorPath()
+	{
+		if (!empty($this->basePath)) {
+			return $this->basePath;
+		}
+
+		/**
+		 * The absolute pathname of the currently executing script.
+		 * Note: If a script is executed with the CLI, as a relative path, such as file.php or ../file.php,
+		 * $_SERVER['SCRIPT_FILENAME'] will contain the relative path specified by the user.
+		 */
+		if (isset($_SERVER['SCRIPT_FILENAME'])) {
+			$realPath = dirname($_SERVER['SCRIPT_FILENAME']);
+		}
+		else {
+			/**
+			 * realpath — Returns canonicalized absolute pathname
+			 */
+			$realPath = realpath( './' ) ;
+		}
+
+		/**
+		 * The filename of the currently executing script, relative to the document root.
+		 * For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar
+		 * would be /test.php/foo.bar.
+		 */
+		$selfPath = dirname($_SERVER['PHP_SELF']);
+		$file = str_replace("\\", "/", __FILE__);
+
+		if (!$selfPath || !$realPath || !$file) {
+			return "/ckeditor/";
+		}
+
+		$documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath));
+		$fileUrl = substr($file, strlen($documentRoot));
+		$ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl);
+
+		return $ckeditorUrl;
+	}
+
+	/**
+	 * This little function provides a basic JSON support.
+	 * http://php.net/manual/en/function.json-encode.php
+	 * \private
+	 *
+	 * @param mixed $val
+	 * @return string
+	 */
+	function jsEncode($val)
+	{
+		if (is_null($val)) {
+			return 'null';
+		}
+		if ($val === false) {
+			return 'false';
+		}
+		if ($val === true) {
+			return 'true';
+		}
+		if (is_scalar($val))
+		{
+			if (is_float($val))
+			{
+				// Always use "." for floats.
+				$val = str_replace(",", ".", strval($val));
+			}
+
+			// Use @@ to not use quotes when outputting string value
+			if (strpos($val, '@@') === 0) {
+				return substr($val, 2);
+			}
+			else {
+				// All scalars are converted to strings to avoid indeterminism.
+				// PHP's "1" and 1 are equal for all PHP operators, but
+				// JS's "1" and 1 are not. So if we pass "1" or 1 from the PHP backend,
+				// we should get the same result in the JS frontend (string).
+				// Character replacements for JSON.
+				static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'),
+				array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"'));
+
+				$val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val);
+
+				return '"' . $val . '"';
+			}
+		}
+		$isList = true;
+		for ($i = 0, reset($val); $i < count($val); $i++, next($val))
+		{
+			if (key($val) !== $i)
+			{
+				$isList = false;
+				break;
+			}
+		}
+		$result = array();
+		if ($isList)
+		{
+			foreach ($val as $v) $result[] = $this->jsEncode($v);
+			return '[ ' . join(', ', $result) . ' ]';
+		}
+		else
+		{
+			foreach ($val as $k => $v) $result[] = $this->jsEncode($k).': '.$this->jsEncode($v);
+			return '{ ' . join(', ', $result) . ' }';
+		}
+	}
+}
Index: CKEditor/branches/features/aria/ckeditor_php5.php
===================================================================
--- CKEditor/branches/features/aria/ckeditor_php5.php	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor_php5.php	(revision 4888)
@@ -0,0 +1,588 @@
+<?php
+/*
+* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+* For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * \brief CKEditor class that can be used to create editor
+ * instances in PHP pages on server side.
+ * @see http://ckeditor.com
+ *
+ * Sample usage:
+ * @code
+ * $CKEditor = new CKEditor();
+ * $CKEditor->editor("editor1", "<p>Initial value.</p>");
+ * @endcode
+ */
+class CKEditor
+{
+	/**
+	 * The version of %CKEditor.
+	 */
+	const version = '%VERSION%';
+	/**
+	 * A constant string unique for each release of %CKEditor.
+	 */
+	const timestamp = '%TIMESTAMP%';
+
+	/**
+	 * URL to the %CKEditor installation directory (absolute or relative to document root).
+	 * If not set, CKEditor will try to guess it's path.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->basePath = '/ckeditor/';
+	 * @endcode
+	 */
+	public $basePath;
+	/**
+	 * An array that holds the global %CKEditor configuration.
+	 * For the list of available options, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->config['height'] = 400;
+	 * // Use @@ at the beggining of a string to ouput it without surrounding quotes.
+	 * $CKEditor->config['width'] = '@@screen.width * 0.8';
+	 * @endcode
+	 */
+	public $config = array();
+	/**
+	 * A boolean variable indicating whether CKEditor has been initialized.
+	 * Set it to true only if you have already included
+	 * &lt;script&gt; tag loading ckeditor.js in your website.
+	 */
+	public $initialized = false;
+	/**
+	 * Boolean variable indicating whether created code should be printed out or returned by a function.
+	 *
+	 * Example 1: get the code creating %CKEditor instance and print it on a page with the "echo" function.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->returnOutput = true;
+	 * $code = $CKEditor->editor("editor1", "<p>Initial value.</p>");
+	 * echo "<p>Editor 1:</p>";
+	 * echo $code;
+	 * @endcode
+	 */
+	public $returnOutput = false;
+	/**
+	 * An array with textarea attributes.
+	 *
+	 * When %CKEditor is created with the editor() method, a HTML &lt;textarea&gt; element is created,
+	 * it will be displayed to anyone with JavaScript disabled or with incompatible browser.
+	 */
+	public $textareaAttributes = array( "rows" => 8, "cols" => 60 );
+	/**
+	 * A string indicating the creation date of %CKEditor.
+	 * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor.
+	 */
+	public $timestamp = "%TIMESTAMP%";
+	/**
+	 * An array that holds event listeners.
+	 */
+	private $events = array();
+	/**
+	 * An array that holds global event listeners.
+	 */
+	private $globalEvents = array();
+
+	/**
+	 * Main Constructor.
+	 *
+	 *  @param $basePath (string) URL to the %CKEditor installation directory (optional).
+	 */
+	function __construct($basePath = null) {
+		if (!empty($basePath)) {
+			$this->basePath = $basePath;
+		}
+	}
+
+	/**
+	 * Creates a %CKEditor instance.
+	 * In incompatible browsers %CKEditor will downgrade to plain HTML &lt;textarea&gt; element.
+	 *
+	 * @param $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element).
+	 * @param $value (string) Initial value (optional).
+	 * @param $config (array) The specific configurations to apply to this editor instance (optional).
+	 * @param $events (array) Event listeners for this editor instance (optional).
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->editor("field1", "<p>Initial value.</p>");
+	 * @endcode
+	 *
+	 * Advanced example:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $config = array();
+	 * $config['toolbar'] = array(
+	 *     array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
+	 *     array( 'Image', 'Link', 'Unlink', 'Anchor' )
+	 * );
+	 * $events['instanceReady'] = 'function (ev) {
+	 *     alert("Loaded: " + ev.editor.name);
+	 * }';
+	 * $CKEditor->editor("field1", "<p>Initial value.</p>", $config, $events);
+	 * @endcode
+	 */
+	public function editor($name, $value = "", $config = array(), $events = array())
+	{
+		$attr = "";
+		foreach ($this->textareaAttributes as $key => $val) {
+			$attr.= " " . $key . '="' . str_replace('"', '&quot;', $val) . '"';
+		}
+		$out = "<textarea name=\"" . $name . "\"" . $attr . ">" . htmlspecialchars($value) . "</textarea>\n";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings($config, $events);
+
+		$js = $this->returnGlobalEvents();
+		if (!empty($_config))
+			$js .= "CKEDITOR.replace('".$name."', ".$this->jsEncode($_config).");";
+		else
+			$js .= "CKEDITOR.replace('".$name."');";
+
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Replaces a &lt;textarea&gt; with a %CKEditor instance.
+	 *
+	 * @param $id (string) The id or name of textarea element.
+	 * @param $config (array) The specific configurations to apply to this editor instance (optional).
+	 * @param $events (array) Event listeners for this editor instance (optional).
+	 *
+	 * Example 1: adding %CKEditor to &lt;textarea name="article"&gt;&lt;/textarea&gt; element:
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replace("article");
+	 * @endcode
+	 */
+	public function replace($id, $config = array(), $events = array())
+	{
+		$out = "";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings($config, $events);
+
+		$js = $this->returnGlobalEvents();
+		if (!empty($_config)) {
+			$js .= "CKEDITOR.replace('".$id."', ".$this->jsEncode($_config).");";
+		}
+		else {
+			$js .= "CKEDITOR.replace('".$id."');";
+		}
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Replace all &lt;textarea&gt; elements available in the document with editor instances.
+	 *
+	 * @param $className (string) If set, replace all textareas with class className in the page.
+	 *
+	 * Example 1: replace all &lt;textarea&gt; elements in the page.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replaceAll();
+	 * @endcode
+	 *
+	 * Example 2: replace all &lt;textarea class="myClassName"&gt; elements in the page.
+	 * @code
+	 * $CKEditor = new CKEditor();
+	 * $CKEditor->replaceAll( 'myClassName' );
+	 * @endcode
+	 */
+	public function replaceAll($className = null)
+	{
+		$out = "";
+		if (!$this->initialized) {
+			$out .= $this->init();
+		}
+
+		$_config = $this->configSettings();
+
+		$js = $this->returnGlobalEvents();
+		if (empty($_config)) {
+			if (empty($className)) {
+				$js .= "CKEDITOR.replaceAll();";
+			}
+			else {
+				$js .= "CKEDITOR.replaceAll('".$className."');";
+			}
+		}
+		else {
+			$classDetection = "";
+			$js .= "CKEDITOR.replaceAll( function(textarea, config) {\n";
+			if (!empty($className)) {
+				$js .= "	var classRegex = new RegExp('(?:^| )' + '". $className ."' + '(?:$| )');\n";
+				$js .= "	if (!classRegex.test(textarea.className))\n";
+				$js .= "		return false;\n";
+			}
+			$js .= "	CKEDITOR.tools.extend(config, ". $this->jsEncode($_config) .", true);";
+			$js .= "} );";
+
+		}
+
+		$out .= $this->script($js);
+
+		if (!$this->returnOutput) {
+			print $out;
+			$out = "";
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Adds event listener.
+	 * Events are fired by %CKEditor in various situations.
+	 *
+	 * @param $event (string) Event name.
+	 * @param $javascriptCode (string) Javascript anonymous function or function name.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->addEventHandler('instanceReady', 'function (ev) {
+	 *     alert("Loaded: " + ev.editor.name);
+	 * }');
+	 * @endcode
+	 */
+	public function addEventHandler($event, $javascriptCode)
+	{
+		if (!isset($this->events[$event])) {
+			$this->events[$event] = array();
+		}
+		// Avoid duplicates.
+		if (!in_array($javascriptCode, $this->events[$event])) {
+			$this->events[$event][] = $javascriptCode;
+		}
+	}
+
+	/**
+	 * Clear registered event handlers.
+	 * Note: this function will have no effect on already created editor instances.
+	 *
+	 * @param $event (string) Event name, if not set all event handlers will be removed (optional).
+	 */
+	public function clearEventHandlers($event = null)
+	{
+		if (!empty($event)) {
+			$this->events[$event] = array();
+		}
+		else {
+			$this->events = array();
+		}
+	}
+
+	/**
+	 * Adds global event listener.
+	 *
+	 * @param $event (string) Event name.
+	 * @param $javascriptCode (string) Javascript anonymous function or function name.
+	 *
+	 * Example usage:
+	 * @code
+	 * $CKEditor->addGlobalEventHandler('dialogDefinition', 'function (ev) {
+	 *     alert("Loading dialog: " + ev.data.name);
+	 * }');
+	 * @endcode
+	 */
+	public function addGlobalEventHandler($event, $javascriptCode)
+	{
+		if (!isset($this->globalEvents[$event])) {
+			$this->globalEvents[$event] = array();
+		}
+		// Avoid duplicates.
+		if (!in_array($javascriptCode, $this->globalEvents[$event])) {
+			$this->globalEvents[$event][] = $javascriptCode;
+		}
+	}
+
+	/**
+	 * Clear registered global event handlers.
+	 * Note: this function will have no effect if the event handler has been already printed/returned.
+	 *
+	 * @param $event (string) Event name, if not set all event handlers will be removed (optional).
+	 */
+	public function clearGlobalEventHandlers($event = null)
+	{
+		if (!empty($event)) {
+			$this->globalEvents[$event] = array();
+		}
+		else {
+			$this->globalEvents = array();
+		}
+	}
+
+	/**
+	 * Prints javascript code.
+	 *
+	 * @param string $js
+	 */
+	private function script($js)
+	{
+		$out = "<script type=\"text/javascript\">";
+		$out .= "//<![CDATA[\n";
+		$out .= $js;
+		$out .= "\n//]]>";
+		$out .= "</script>\n";
+
+		return $out;
+	}
+
+	/**
+	 * Returns the configuration array (global and instance specific settings are merged into one array).
+	 *
+	 * @param $config (array) The specific configurations to apply to editor instance.
+	 * @param $events (array) Event listeners for editor instance.
+	 */
+	private function configSettings($config = array(), $events = array())
+	{
+		$_config = $this->config;
+		$_events = $this->events;
+
+		if (is_array($config) && !empty($config)) {
+			$_config = array_merge($_config, $config);
+		}
+
+		if (is_array($events) && !empty($events)) {
+			foreach ($events as $eventName => $code) {
+				if (!isset($_events[$eventName])) {
+					$_events[$eventName] = array();
+				}
+				if (!in_array($code, $_events[$eventName])) {
+					$_events[$eventName][] = $code;
+				}
+			}
+		}
+
+		if (!empty($_events)) {
+			foreach($_events as $eventName => $handlers) {
+				if (empty($handlers)) {
+					continue;
+				}
+				else if (count($handlers) == 1) {
+					$_config['on'][$eventName] = '@@'.$handlers[0];
+				}
+				else {
+					$_config['on'][$eventName] = '@@function (ev){';
+					foreach ($handlers as $handler => $code) {
+						$_config['on'][$eventName] .= '('.$code.')(ev);';
+					}
+					$_config['on'][$eventName] .= '}';
+				}
+			}
+		}
+
+		return $_config;
+	}
+
+	/**
+	 * Return global event handlers.
+	 */
+	private function returnGlobalEvents()
+	{
+		static $returnedEvents;
+		$out = "";
+
+		if (!isset($returnedEvents)) {
+			$returnedEvents = array();
+		}
+
+		if (!empty($this->globalEvents)) {
+			foreach ($this->globalEvents as $eventName => $handlers) {
+				foreach ($handlers as $handler => $code) {
+					if (!isset($returnedEvents[$eventName])) {
+						$returnedEvents[$eventName] = array();
+					}
+					// Return only new events
+					if (!in_array($code, $returnedEvents[$eventName])) {
+						$out .= ($code ? "\n" : "") . "CKEDITOR.on('". $eventName ."', $code);";
+						$returnedEvents[$eventName][] = $code;
+					}
+				}
+			}
+		}
+
+		return $out;
+	}
+
+	/**
+	 * Initializes CKEditor (executed only once).
+	 */
+	private function init()
+	{
+		static $initComplete;
+		$out = "";
+
+		if (!empty($initComplete)) {
+			return "";
+		}
+
+		if ($this->initialized) {
+			$initComplete = true;
+			return "";
+		}
+
+		$args = "";
+		$ckeditorPath = $this->ckeditorPath();
+
+		if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") {
+			$args = '?t=' . $this->timestamp;
+		}
+
+		// Skip relative paths...
+		if (strpos($ckeditorPath, '..') !== 0) {
+			$out .= $this->script("window.CKEDITOR_BASEPATH='". $ckeditorPath ."';");
+		}
+
+		$out .= "<script type=\"text/javascript\" src=\"" . $ckeditorPath . 'ckeditor.js' . $args . "\"></script>\n";
+
+		$extraCode = "";
+		// CKReleaser %REMOVE_START%
+		if (self::version == '%VERSION%') {
+			$extraCode .= ($extraCode ? "\n" : "") . "if (typeof(CKEDITOR) == 'undefined') { alert('The CKEDITOR object was not found. Please make sure that the ckeditor.js file is available in your installation.'); }";
+		}
+		// %REMOVE_END%
+		if ($this->timestamp != self::timestamp) {
+			$extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';";
+		}
+		if ($extraCode) {
+			$out .= $this->script($extraCode);
+		}
+
+		$initComplete = $this->initialized = true;
+
+		return $out;
+	}
+
+	/**
+	 * Return path to ckeditor.js.
+	 */
+	private function ckeditorPath()
+	{
+		if (!empty($this->basePath)) {
+			return $this->basePath;
+		}
+
+		/**
+		 * The absolute pathname of the currently executing script.
+		 * Note: If a script is executed with the CLI, as a relative path, such as file.php or ../file.php,
+		 * $_SERVER['SCRIPT_FILENAME'] will contain the relative path specified by the user.
+		 */
+		if (isset($_SERVER['SCRIPT_FILENAME'])) {
+			$realPath = dirname($_SERVER['SCRIPT_FILENAME']);
+		}
+		else {
+			/**
+			 * realpath — Returns canonicalized absolute pathname
+			 */
+			$realPath = realpath( './' ) ;
+		}
+
+		/**
+		 * The filename of the currently executing script, relative to the document root.
+		 * For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar
+		 * would be /test.php/foo.bar.
+		 */
+		$selfPath = dirname($_SERVER['PHP_SELF']);
+		$file = str_replace("\\", "/", __FILE__);
+
+		if (!$selfPath || !$realPath || !$file) {
+			return "/ckeditor/";
+		}
+
+		$documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath));
+		$fileUrl = substr($file, strlen($documentRoot));
+		$ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl);
+
+		return $ckeditorUrl;
+	}
+
+	/**
+	 * This little function provides a basic JSON support.
+	 * http://php.net/manual/en/function.json-encode.php
+	 *
+	 * @param mixed $val
+	 * @return string
+	 */
+	private function jsEncode($val)
+	{
+		if (is_null($val)) {
+			return 'null';
+		}
+		if ($val === false) {
+			return 'false';
+		}
+		if ($val === true) {
+			return 'true';
+		}
+		if (is_scalar($val))
+		{
+			if (is_float($val))
+			{
+				// Always use "." for floats.
+				$val = str_replace(",", ".", strval($val));
+			}
+
+			// Use @@ to not use quotes when outputting string value
+			if (strpos($val, '@@') === 0) {
+				return substr($val, 2);
+			}
+			else {
+				// All scalars are converted to strings to avoid indeterminism.
+				// PHP's "1" and 1 are equal for all PHP operators, but
+				// JS's "1" and 1 are not. So if we pass "1" or 1 from the PHP backend,
+				// we should get the same result in the JS frontend (string).
+				// Character replacements for JSON.
+				static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'),
+				array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"'));
+
+				$val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val);
+
+				return '"' . $val . '"';
+			}
+		}
+		$isList = true;
+		for ($i = 0, reset($val); $i < count($val); $i++, next($val))
+		{
+			if (key($val) !== $i)
+			{
+				$isList = false;
+				break;
+			}
+		}
+		$result = array();
+		if ($isList)
+		{
+			foreach ($val as $v) $result[] = $this->jsEncode($v);
+			return '[ ' . join(', ', $result) . ' ]';
+		}
+		else
+		{
+			foreach ($val as $k => $v) $result[] = $this->jsEncode($k).': '.$this->jsEncode($v);
+			return '{ ' . join(', ', $result) . ' }';
+		}
+	}
+}
Index: CKEditor/branches/features/aria/ckeditor_source.js
===================================================================
--- CKEditor/branches/features/aria/ckeditor_source.js	(revision 4888)
+++ CKEditor/branches/features/aria/ckeditor_source.js	(revision 4888)
@@ -0,0 +1,25 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Compressed version of core/ckeditor_base.js. See original for instructions.
+/*jsl:ignore*/
+if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'%VERSION%',revision:'%REV%',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+/*jsl:end*/
+
+// Uncomment the following line to have a new timestamp generated for each
+// request, having clear cache load of the editor code.
+// CKEDITOR.timestamp = ( new Date() ).valueOf();
+
+if ( CKEDITOR.loader )
+	CKEDITOR.loader.load( 'core/ckeditor' );
+else
+{
+	// Set the script name to be loaded by the loader.
+	CKEDITOR._autoLoad = 'core/ckeditor';
+
+	// Include the loader script.
+	document.write(
+		'<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );
+}
Index: CKEditor/branches/features/aria/config.js
===================================================================
--- CKEditor/branches/features/aria/config.js	(revision 4888)
+++ CKEditor/branches/features/aria/config.js	(revision 4888)
@@ -0,0 +1,11 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.editorConfig = function( config )
+{
+	// Define changes to default configuration here. For example:
+	// config.language = 'fr';
+	// config.uiColor = '#AADC6E';
+};
Index: CKEditor/branches/features/aria/contents.css
===================================================================
--- CKEditor/branches/features/aria/contents.css	(revision 4888)
+++ CKEditor/branches/features/aria/contents.css	(revision 4888)
@@ -0,0 +1,35 @@
+﻿/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+body
+{
+	/* Font */
+	font-family: Arial, Verdana, sans-serif;
+	font-size: 12px;
+
+	/* Text color */
+	color: #222;
+
+	/* Remove the background color to make it transparent */
+	background-color: #fff;
+}
+
+html
+{
+	/* #3658: [IE6] Editor document has horizontal scrollbar on long lines
+	To prevent this misbehavior, we show the scrollbar always */
+	_overflow-y: scroll
+}
+
+img:-moz-broken
+{
+	-moz-force-broken-image-icon : 1;
+	width : 24px;
+	height : 24px;
+}
+img, input, textarea
+{
+	cursor: default;
+}
