From 826779d6cf297a3cf675322c184e50a5a94c71a5 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 11 Dec 2009 18:25:38 +0000
Subject: [PATCH] update FCKeditor to 2.6.5.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31258 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../editor/dialog/fck_about.html.xml          |  14 +-
 .../editor/dialog/fck_docprops.html.xml       |  38 +-
 .../fck_document_preview.html.xml             |   6 +-
 .../editor/dialog/fck_paste.html.xml          |  16 +-
 .../editor/dialog/fck_scayt.html.xml          | 797 ++++++++++++++++++
 .../editor/dialog/fck_scayt.xml               |  29 +
 .../dialog/fck_scayt/scayt_dialog.css.xml     | 216 +++++
 .../server-scripts/spellchecker.pl.xml        | 366 ++++----
 .../editor/dialog/fck_table.html.xml          |  49 +-
 .../editor/dialog/fck_tablecell.html.xml      |  10 +-
 .../erp5_fckeditor/editor/fckeditor.html.xml  |  12 +-
 .../editor/fckeditor.original.html.xml        |  13 +-
 .../browser/default/frmresourceslist.html.xml |   8 +-
 .../editor/js/fckeditorcode_gecko.js.xml      |  35 +-
 .../editor/js/fckeditorcode_ie.js.xml         |  41 +-
 .../erp5_fckeditor/editor/lang/af.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ar.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/bg.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/bn.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/bs.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ca.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/cs.js.xml      |  27 +-
 .../erp5_fckeditor/editor/lang/da.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/de.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/el.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/en-au.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/en-ca.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/en-uk.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/en.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/eo.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/es.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/et.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/eu.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/fa.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/fi.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/fo.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/fr-ca.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/fr.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/gl.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/gu.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/he.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/hi.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/hr.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/hu.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/is.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/it.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ja.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/km.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ko.js.xml      |  13 +-
 .../erp5_fckeditor/editor/lang/lt.js.xml      | 115 +--
 .../erp5_fckeditor/editor/lang/lv.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/mn.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ms.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/nb.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/nl.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/no.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/pl.js.xml      |  15 +-
 .../erp5_fckeditor/editor/lang/pt-br.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/pt.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ro.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/ru.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/sk.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/sl.js.xml      |  41 +-
 .../erp5_fckeditor/editor/lang/sr-latn.js.xml |  11 +-
 .../erp5_fckeditor/editor/lang/sr.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/sv.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/th.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/tr.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/uk.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/vi.js.xml      |  11 +-
 .../erp5_fckeditor/editor/lang/zh-cn.js.xml   |  11 +-
 .../erp5_fckeditor/editor/lang/zh.js.xml      |  11 +-
 .../erp5_fckeditor/fckconfig.js.xml           | 678 +++++++--------
 .../erp5_fckeditor/fckeditor.js.xml           |   8 +-
 .../erp5_fckeditor/fckpackager.xml.xml        |   6 +-
 .../bootstrap/erp5_xhtml_style/bt/change_log  |   3 +
 .../bootstrap/erp5_xhtml_style/bt/revision    |   2 +-
 77 files changed, 2236 insertions(+), 894 deletions(-)
 create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.html.xml
 create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.xml
 create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt/scayt_dialog.css.xml

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_about.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_about.html.xml
index d10f3581b0..eefd8dbaf7 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_about.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_about.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309716.77</string> </value>
+            <value> <string>ts60538662.36</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -109,8 +109,8 @@ window.onload = function()\r\n
 \t\t\t\t\t\t\t\tborder-left: #000000 1px solid; border-bottom: #000000 1px solid">\r\n
 \t\t\t\t\t\t\t\t<span fcklang="DlgAboutVersion">version</span>\r\n
 \t\t\t\t\t\t\t\t<br />\r\n
-\t\t\t\t\t\t\t\t<b>2.6.4.1</b><br />\r\n
-\t\t\t\t\t\t\t\tBuild 23187</td>\r\n
+\t\t\t\t\t\t\t\t<b>2.6.5</b><br />\r\n
+\t\t\t\t\t\t\t\tBuild 23959</td>\r\n
 \t\t\t\t\t\t</tr>\r\n
 \t\t\t\t\t</table>\r\n
 \t\t\t\t</td>\r\n
@@ -177,11 +177,11 @@ document.write( \'<b>Platform<\\/b><br />\' + window.navigator.platform + \'<br
 var sUserLang = \'?\' ;\r\n
 \r\n
 if ( window.navigator.language )\r\n
-\tsUserLang = window.navigator.language.toLowerCase() ;\r\n
+\tsUserLang = window.navigator.language ;\r\n
 else if ( window.navigator.userLanguage )\r\n
-\tsUserLang = window.navigator.userLanguage.toLowerCase() ;\r\n
+\tsUserLang = window.navigator.userLanguage ;\r\n
 \r\n
-document.write( \'<b>User Language<\\/b><br />\' + sUserLang ) ;\r\n
+document.write( \'<b>Language<\\/b><br />\' + sUserLang ) ;\r\n
 //-->\r\n
 \t\t\t\t\t</script>\r\n
 \t\t\t\t</td>\r\n
@@ -200,7 +200,7 @@ document.write( \'<b>User Language<\\/b><br />\' + sUserLang ) ;\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>5686</int> </value>
+            <value> <int>5651</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops.html.xml
index 7abeb3dbfc..a8705181ef 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.49</string> </value>
+            <value> <string>ts60538662.36</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -52,11 +52,11 @@
  *\r\n
  * Link dialog window.\r\n
 -->\r\n
-<html xmlns="http://www.w3.org/1999/xhtml">\r\n
+<html>\r\n
 <head>\r\n
 \t<title></title>\r\n
-\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n
-\t<meta content="noindex, nofollow" name="robots" />\r\n
+\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >\r\n
+\t<meta content="noindex, nofollow" name="robots" >\r\n
 \t<script src="common/fck_dialog_common.js" type="text/javascript"></script>\r\n
 \t<script type="text/javascript">\r\n
 \r\n
@@ -405,11 +405,11 @@ function SelectColor( wich )\r\n
 {\r\n
 \tswitch ( wich )\r\n
 \t{\r\n
-\t\tcase \'Back\'\t\t\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectBackColor, window ) ; return ;\r\n
-\t\tcase \'ColorText\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorText, window ) ; return ;\r\n
-\t\tcase \'ColorLink\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorLink, window ) ; return ;\r\n
-\t\tcase \'ColorVisited\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorVisited, window ) ; return ;\r\n
-\t\tcase \'ColorActive\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorActive, window ) ; return ;\r\n
+\t\tcase \'Back\'\t\t\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectBackColor ) ; return ;\r\n
+\t\tcase \'ColorText\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorText ) ; return ;\r\n
+\t\tcase \'ColorLink\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorLink ) ; return ;\r\n
+\t\tcase \'ColorVisited\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorVisited ) ; return ;\r\n
+\t\tcase \'ColorActive\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorActive ) ; return ;\r\n
 \t}\r\n
 }\r\n
 \r\n
@@ -489,22 +489,22 @@ function SetUrl( url )\r\n
 \t\t\t\t\t\t\t\t<span fcklang="DlgDocDocType">Document Type Heading</span><br />\r\n
 \t\t\t\t\t\t\t\t<select id="selDocType" onchange="CheckOther( this, \'txtDocType\' );">\r\n
 \t\t\t\t\t\t\t\t\t<option value="" selected="selected"></option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\'>HTML\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;\'>HTML\r\n
 \t\t\t\t\t\t\t\t\t\t4.01 Transitional</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tHTML 4.01 Strict</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tHTML 4.01 Frameset</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tXHTML 1.0 Transitional</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tXHTML 1.0 Strict</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tXHTML 1.0 Frameset</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\'>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;\'>\r\n
 \t\t\t\t\t\t\t\t\t\tXHTML 1.1</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\'>HTML 3.2</option>\r\n
-\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">\'>HTML 2.0</option>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"&gt;\'>HTML 3.2</option>\r\n
+\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"&gt;\'>HTML 2.0</option>\r\n
 \t\t\t\t\t\t\t\t\t<option value="..." fcklang="DlgOpOther">&lt;Other&gt;</option>\r\n
 \t\t\t\t\t\t\t\t</select>\r\n
 \t\t\t\t\t\t\t</td>\r\n
@@ -639,7 +639,7 @@ function SetUrl( url )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>22627</int> </value>
+            <value> <int>22602</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops/fck_document_preview.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops/fck_document_preview.html.xml
index d342fcc62a..19dd60736d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops/fck_document_preview.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_docprops/fck_document_preview.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.49</string> </value>
+            <value> <string>ts60538662.36</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -57,7 +57,7 @@
 \t\t<title>Document Properties - Preview</title>\r\n
 \t\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n
 \t\t<meta name="robots" content="noindex, nofollow">\r\n
-\t\t<script language="javascript">\r\n
+\t\t<script type="text/javascript">\r\n
 \r\n
 var eBase = parent.FCK.EditorDocument.getElementsByTagName( \'BASE\' ) ;\r\n
 if ( eBase.length > 0 && eBase[0].href.length > 0 )\r\n
@@ -152,7 +152,7 @@ function SetActiveColor( color )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>2843</int> </value>
+            <value> <int>2844</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_paste.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_paste.html.xml
index 3168c150a7..9a563afdb1 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_paste.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_paste.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.5</string> </value>
+            <value> <string>ts60538662.37</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -87,7 +87,7 @@ window.onload = function ()\r\n
 \t\t\t\'javascript:void( (function(){\' +\r\n
 \t\t\t\t\'document.open() ;\' +\r\n
 \t\t\t\t\'document.domain=\\\'\' + document.domain + \'\\\' ;\' +\r\n
-\t\t\t\t\'document.write(\\\'<html><head><script>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\\\') ;\' +\r\n
+\t\t\t\t\'document.write(\\\'<html><head><scr\' + \'ipt>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\\\') ;\' +\r\n
 \t\t\t\t\'document.close() ;\' +\r\n
 \t\t\t\t\'document.body.contentEditable = true ;\' +\r\n
 \t\t\t\t\'window.focus() ;\' +\r\n
@@ -104,7 +104,7 @@ window.onload = function ()\r\n
 \t\t\t// Avoid errors if the pasted content has any script that fails: #389\r\n
 \t\t\tvar oDoc = oFrame.contentWindow.document ;\r\n
 \t\t\toDoc.open() ;\r\n
-\t\t\toDoc.write(\'<html><head><script>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\') ;\r\n
+\t\t\toDoc.write(\'<html><head><scr\' + \'ipt>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\') ;\r\n
 \t\t\toDoc.close() ;\r\n
 \r\n
 \t\t\tif ( FCKBrowserInfo.IsIE )\r\n
@@ -225,11 +225,11 @@ function CleanWord( oNode, bIgnoreFont, bRemoveStyles )\r\n
 \thtml = html.replace( /\\s*mso-[^:]+:[^;"]+;?/gi, \'\' ) ;\r\n
 \r\n
 \t// Remove margin styles.\r\n
-\thtml = html.replace( /\\s*MARGIN: 0cm 0cm 0pt\\s*;/gi, \'\' ) ;\r\n
-\thtml = html.replace( /\\s*MARGIN: 0cm 0cm 0pt\\s*"/gi, "\\"" ) ;\r\n
+\thtml = html.replace( /\\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\\s*;/gi, \'\' ) ;\r\n
+\thtml = html.replace( /\\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\\s*"/gi, "\\"" ) ;\r\n
 \r\n
-\thtml = html.replace( /\\s*TEXT-INDENT: 0cm\\s*;/gi, \'\' ) ;\r\n
-\thtml = html.replace( /\\s*TEXT-INDENT: 0cm\\s*"/gi, "\\"" ) ;\r\n
+\thtml = html.replace( /\\s*TEXT-INDENT: 0(?:cm|in)\\s*;/gi, \'\' ) ;\r\n
+\thtml = html.replace( /\\s*TEXT-INDENT: 0(?:cm|in)\\s*"/gi, "\\"" ) ;\r\n
 \r\n
 \thtml = html.replace( /\\s*TEXT-ALIGN: [^\\s;]+;?"/gi, "\\"" ) ;\r\n
 \r\n
@@ -386,7 +386,7 @@ function CleanWord( oNode, bIgnoreFont, bRemoveStyles )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>12291</int> </value>
+            <value> <int>12343</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.html.xml
new file mode 100644
index 0000000000..fd789b814d
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.html.xml
@@ -0,0 +1,797 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="File" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_Cacheable__manager_id</string> </key>
+            <value> <string>http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts60537124.1</string> </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>fck_scayt.html</string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/html</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r\n
+<!--\r\n
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r\n
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r\n
+ *\r\n
+ * == BEGIN LICENSE ==\r\n
+ *\r\n
+ * Licensed under the terms of any of the following licenses at your\r\n
+ * choice:\r\n
+ *\r\n
+ *  - GNU General Public License Version 2 or later (the "GPL")\r\n
+ *    http://www.gnu.org/licenses/gpl.html\r\n
+ *\r\n
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r\n
+ *    http://www.gnu.org/licenses/lgpl.html\r\n
+ *\r\n
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r\n
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r\n
+ *\r\n
+ * == END LICENSE ==\r\n
+-->\r\n
+<html>\r\n
+\t<head>\r\n
+\t\t<title>SCAYT Properties</title>\r\n
+\t\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n
+\t\t<meta content="noindex, nofollow" name="robots">\r\n
+\t\t<script src="common/fck_dialog_common.js" type="text/javascript"></script>\r\n
+\t\t<link type="text/css" href="fck_scayt/scayt_dialog.css" rel="stylesheet" />\r\n
+\t\t<script type="text/javascript">\r\n
+\r\n
+\t\t\tvar dialog\t= window.parent ;\r\n
+\t\t\tvar oEditor\t= dialog.InnerDialogLoaded() ;\r\n
+\t\t\tvar FCKLang = oEditor.FCKLang;\r\n
+\t\t\tvar scayt = oEditor.scayt;\r\n
+\t\t\tvar scayt_control = oEditor.scayt_control;\r\n
+\t\t\tvar lang_list = {};\r\n
+            var\tsLang;\r\n
+\t\t\tvar\tfckLang;\r\n
+            var chosed_lang;\r\n
+\t\t\tvar options;\r\n
+\t\t\tvar\ttabs = scayt_control.uiTags || [1,1,0,1];\r\n
+\t\t\tvar\tuserDicActive = tabs[2] == 1;\r\n
+\t\t\tvar\tcaptions;\r\n
+\t\t\tvar dic_buttons = [\r\n
+\t\t\t\t// [0] contains buttons for creating\r\n
+\t\t\t\t"dic_create,dic_restore",\r\n
+\t\t\t\t// [1] contains buton for manipulation\r\n
+\t\t\t\t"dic_rename,dic_delete"\r\n
+\t\t\t];\r\n
+\r\n
+\t\t\tvar get =\r\n
+\t\t\t\tnew function(){\r\n
+\r\n
+\t\t\t\t\tvar mergeObjs = function(obj1, obj2)\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\tfor (var k in obj1)\r\n
+\t\t\t\t\t\t\tobj2[k] = obj1[k];\r\n
+\r\n
+\t\t\t\t\t\treturn obj2;\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tvar removeWhitespaces = function( s )\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\ts = s.replace( new RegExp("^ +| +$"), \'\' ) ;\r\n
+\t\t\t\t\t\treturn s ;\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tvar addEvent = function( el ,sEventName, fTodo )\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\tif (el.addEventListener) {\r\n
+\t\t\t\t\t\t\tel.addEventListener (sEventName,fTodo,false);\r\n
+\r\n
+\t\t\t\t\t\t} else if (el.attachEvent) {\r\n
+\t\t\t\t\t\t\tel.attachEvent ("on"+sEventName,fTodo);\r\n
+\r\n
+\t\t\t\t\t\t} else {\r\n
+\t\t\t\t\t\t\tel["on"+sEventName] = fTodo;\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tvar getElementsByClassName = function (node,classname ,strTag) {\r\n
+\t\t\t\t\t\tstrTag = strTag || "*";\r\n
+\t\t\t\t\t  \tnode = node || document;\r\n
+\t\t\t\t\t\tif (node.getElementsByClassName)\r\n
+\t\t\t\t\t\t\treturn node.getElementsByClassName(classname);\r\n
+\t\t\t\t\t\telse {\r\n
+\t\t\t\t\t\t\tvar objColl = node.getElementsByTagName(strTag);\r\n
+\t\t\t\t\t\t\tif (!objColl.length &&  strTag == "*" &&  node.all) objColl = node.all;\r\n
+\t\t\t\t\t\t\tvar arr = new Array();\r\n
+\t\t\t\t\t\t\tvar delim = classname.indexOf(\'|\') != -1  ? \'|\' : \' \';\r\n
+\t\t\t\t\t\t\tvar arrClass = classname.split(delim);\r\n
+\t\t\t\t\t\t\tfor (var i = 0, j = objColl.length; i < j; i++) {\r\n
+\t\t\t\t\t\t\t\tvar arrObjClass = objColl[i].className.split(\' \');\r\n
+\t\t\t\t\t\t\t\tif (delim == \' \' && arrClass.length > arrObjClass.length) continue;\r\n
+\t\t\t\t\t\t\t\tvar c = 0;\r\n
+\t\t\t\t\t\t\t\tcomparisonLoop:\r\n
+\t\t\t\t\t\t\t\t\tfor ( var k = 0, l = arrObjClass.length ; k < l ; k++ )\r\n
+\t\t\t\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t\t\t\tfor ( var m = 0, n = arrClass.length ; m < n ; m++ )\r\n
+\t\t\t\t\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t\t\t\t\tif ( arrClass[m] == arrObjClass[k] )\r\n
+\t\t\t\t\t\t\t\t\t\t\t\tc++ ;\r\n
+\r\n
+\t\t\t\t\t\t\t\t\t\t\tif ( ( delim == \'|\' && c == 1 ) || ( delim == \' \' && c == arrClass.length ) )\r\n
+\t\t\t\t\t\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t\t\t\t\t\tarr.push( objColl[i] ) ;\r\n
+\t\t\t\t\t\t\t\t\t\t\t\tbreak comparisonLoop ;\r\n
+\t\t\t\t\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\treturn arr;\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tvar hasClassName = function ( sClassName, elem ) {\r\n
+\t\t\t\t\t\t//.split(/\\s+/);\r\n
+\t\t\t\t\t\tvar aCnames = elem.className.split(/\\s+/) || [];\r\n
+\t\t\t\t\t\tfor (var i=0, l=aCnames.length; i<l ; i++){\r\n
+\t\t\t\t\t\t\tif (sClassName == aCnames[i])\r\n
+\t\t\t\t\t\t\t\treturn true;\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\treturn false;\r\n
+\t\t\t\t\t}\r\n
+\r\n
+\t\t\t\t\tvar single = {\r\n
+\t\t\t\t\t\taddClass \t: function ( sClassName ) {\r\n
+\t\t\t\t\t\t\t//console.info( sClassName, this.className, );\r\n
+\t\t\t\t\t\t\tif ( hasClassName(sClassName , this) )\r\n
+\t\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t\tvar s = removeWhitespaces(this.className + " " +sClassName);\r\n
+\t\t\t\t\t\t\tthis.className = s;\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tremoveClass : function ( sClassName ) {\r\n
+\t\t\t\t\t\t\tvar s = removeWhitespaces(this.className.replace(sClassName,""));\r\n
+\t\t\t\t\t\t\tthis.className = s;\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tsetStyle : function( oStyles )\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\tfor ( var style in oStyles )\r\n
+\t\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t\tthis.style[style] = oStyles[style] ;\r\n
+\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\treturn this ;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tbindOnclick\t\t: function ( handler ) {\r\n
+\t\t\t\t\t\t\t//addEvent( this, "click" , handler);\r\n
+\t\t\t\t\t\t\tthis.onclick = handler;\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tbindOnchange\t: function ( handler ) {\r\n
+\t\t\t\t\t\t\t//addEvent( this, "change" , handler);\r\n
+\t\t\t\t\t\t\tthis.onchange = handler;\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tgetAttr : function ( sAttrName )\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\tif ( !sAttrName )\r\n
+\t\t\t\t\t\t\t\treturn null;\r\n
+\r\n
+\t\t\t\t\t\t\treturn this[sAttrName];\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tsetAttr : function ( sAttrName , attrVal )\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\tif ( !sAttrName || !attrVal )\r\n
+\t\t\t\t\t\t\t\treturn null;\r\n
+\r\n
+\t\t\t\t\t\t\tthis[sAttrName] = attrVal;\r\n
+\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tremAttr : function ( sAttrName )\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\tif ( !sAttrName )\r\n
+\t\t\t\t\t\t\t\treturn null;\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tvar singleCaller = function ( sMethod,args ) {\r\n
+\t\t\t\t\t\tfor ( var i=0, l=this.length; i<l ; i++ ){\r\n
+\t\t\t\t\t\t\tvar oItem = mergeObjs( single, this[i] );\r\n
+\t\t\t\t\t\t\toItem[sMethod].apply(this[i],args);\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\r\n
+\t\t\t\t\tvar collection = {\r\n
+\r\n
+\t\t\t\t\t\taddClass \t: function ( sClassName ){\r\n
+\t\t\t\t\t\t\tsingleCaller.call(this, "addClass", [sClassName])\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tremoveClass \t: function ( sClassName ) {\r\n
+\t\t\t\t\t\t\tsingleCaller.call(this, "removeClass", [sClassName])\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tsetStyle\t\t: function ( oStyles ) {\r\n
+\t\t\t\t\t\t\tsingleCaller.call(this, "setStyle", [oStyles])\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tbindOnclick\t\t: function ( f ) {\r\n
+\t\t\t\t\t\t\tsingleCaller.call(this, "bindOnclick", [f])\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\t\tbindOnchange\t: function ( f ) {\r\n
+\t\t\t\t\t\t\tsingleCaller.call(this, "bindOnchange", [f])\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t},\r\n
+\r\n
+\t\t\t\t\t\tforEach : function ( fTodo ) {\r\n
+\t\t\t\t\t\t\t//el,i\r\n
+\t\t\t\t\t\t\tfor (var i=0, l=this.length; i<l ; i++){\r\n
+\t\t\t\t\t\t\t\tfTodo.apply(this[i], [this[i],i ]);\r\n
+\t\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\t\treturn this;\r\n
+\t\t\t\t\t\t}\r\n
+\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\r\n
+\r\n
+\t\t\t\t\tthis.byClass = function( sClassName ){\r\n
+\t\t\t\t\t\tvar o = getElementsByClassName(document, sClassName );\r\n
+\t\t\t\t\t\treturn o ? mergeObjs( collection, o ) : o;\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tthis.byId = function( sId ){\r\n
+\t\t\t\t\t\tvar o = document.getElementById( sId );\r\n
+\t\t\t\t\t\treturn o ? mergeObjs( single, o ) : o;\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t\tthis.gup = function ( name ){\r\n
+\t\t\t\t        name = name.replace( /[\\[]/, \'\\\\\\[\' ).replace( /[\\]]/, \'\\\\\\]\' ) ;\r\n
+\t\t\t\t        var regexS = \'[\\\\?&]\' + name + \'=([^&#]*)\' ;\r\n
+\t\t\t\t        var regex = new RegExp( regexS ) ;\r\n
+\t\t\t\t        var results = regex.exec( window.location.href ) ;\r\n
+\r\n
+\t\t\t\t        if( results == null )\r\n
+\t\t\t\t            return \'\' ;\r\n
+\t\t\t\t        else\r\n
+\t\t\t\t            return results[ 1 ] ;\r\n
+\t\t\t\t\t};\r\n
+\t\t\t\t\tthis.wrap = function ( o ) {\r\n
+\t\t\t\t\t\treturn o ? mergeObjs( single, o ) : o;\r\n
+\t\t\t\t\t};\r\n
+\t\t\t\t\tthis.forEach = function ( oScope, fTodo ){\r\n
+\t\t\t\t\t\tcollection.forEach.apply( oScope,[fTodo] );\r\n
+\t\t\t\t\t};\r\n
+\r\n
+\t\t\t\t };\r\n
+\r\n
+\r\n
+\r\n
+\t\t\t// Add the dialog tabs.\r\n
+\t\t\ttabs[0] == 1 && dialog.AddTab( \'options\', \'Options\' ) ;\r\n
+\t\t\ttabs[1] == 1 && dialog.AddTab( \'langs\', \'Languages\' ) ;\r\n
+\t\t\ttabs[2] == 1 && dialog.AddTab( \'dictionary\', \'Dictionary\' ) ;\r\n
+\t\t\ttabs[3] == 1 && dialog.AddTab( \'about\', \'About\' ) ;\r\n
+\r\n
+\t\t\t// Function called when a dialog tab is selected.\r\n
+\t\t\tfunction OnDialogTabChange( tabCode )\r\n
+\t\t\t{\r\n
+\t\t\t\tShowE(\'inner_options\'\t, ( tabCode == \'options\' ) ) ;\r\n
+\t\t\t\tShowE(\'inner_langs\'\t, ( tabCode == \'langs\' ) ) ;\r\n
+\t\t\t\tShowE(\'inner_dictionary\'\t\t, ( tabCode == \'dictionary\' ) ) ;\r\n
+\t\t\t\tShowE(\'inner_about\'\t, ( tabCode == \'about\' ) ) ;\r\n
+\t\t\t}\r\n
+\r\n
+\r\n
+\r\n
+\r\n
+\r\n
+\t\t\twindow.onload = function()\r\n
+\t\t\t{\r\n
+\t\t\t\t// Things to do when the page is loaded.\r\n
+\r\n
+\t\t\t\tif ( document.location.search.length )\r\n
+\t\t\t\t\tdialog.SetSelectedTab( document.location.search.substr(1) ) ;\r\n
+\r\n
+\t\t\t\tdialog.SetOkButton( true ) ;\r\n
+\r\n
+\r\n
+\t                if (!scayt) throw "SCAYT is undefined";\r\n
+\t                if (!scayt_control) throw "SCAYT_CONTROL is undefined";\r\n
+\r\n
+\t\t\t\t\t// show alowed tabs\r\n
+\t\t\t\t\ttabs = scayt_control.uiTags || [1,1,1,0];\r\n
+\r\n
+\r\n
+\t\t\t\t\tsLang = scayt_control.getLang();\r\n
+\t                fckLang = "en";\r\n
+\t\t\t\t\toptions = scayt_control.option();\r\n
+\t\t\t\t\t// apply captions\r\n
+\t\t\t\t\tscayt.getCaption( fckLang, function( caps )\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\t//console.info( "scayt.getCaption runned" )\r\n
+\t\t\t\t\t\tcaptions = caps;\r\n
+\t\t\t\t\t\tapllyCaptions();\r\n
+\t\t\t\t\t\t//lang_list = scayt.getLangList();\r\n
+\t\t                lang_list = scayt.getLangList() ;//|| {ltr: {"en_US" : "English","en_GB" : "British English","pt_BR" : "Brazilian Portuguese","da_DK" : "Danish","nl_NL" : "Dutch","en_CA" : "English Canadian","fi_FI" : "Finnish","fr_FR" : "French","fr_CA" : "French Canadian","de_DE" : "German","el_GR" : "Greek","hu_HU" : "Hungarian","it_IT" : "Italian","nb_NO" : "Norwegian","pl_PL" : "Polish","pt_PT" : "Portuguese","ru_RU" : "Russian","es_ES" : "Spanish","sv_SE" : "Swedish","tr_TR" : "Turkish","uk_UA" : "Ukrainian","cy_GB" : "Welsh"},rtl: {"ar_EG" : "Arabic"}};\r\n
+\r\n
+\r\n
+\r\n
+\r\n
+\t\t                // ** animate options\r\n
+\t\t                get.byClass("_scayt_option").forEach(function(el,i){\r\n
+\r\n
+\t\t\t\t\t\t\tif (\'undefined\' != typeof(options[el.name])) {\r\n
+\t\t                        // *** set default values\r\n
+\r\n
+\t\t                        if ( 1 == options[ el.name ] ){\r\n
+\t\t                           //el.setAttribute("checked","true");\r\n
+\t\t\t\t\t\t\t\t   get.wrap(el).setAttr("checked" ,true)\r\n
+\t\t\t\t\t\t\t\t   //document.all_options[el.name].checked = "true";\r\n
+\t\t\t\t\t\t\t\t   //el.checked = true;\r\n
+\t\t\t\t\t\t\t\t   //alert( options[ dojo.attr(el ,\'name\') ] + " el " )\r\n
+\t\t                        }\r\n
+\t\t\t\t\t\t\t\t//console.info(options)\r\n
+\t\t                        // *** bind events\r\n
+\t\t                        get.wrap(el).bindOnclick( function(ev){\r\n
+\r\n
+\t\t\t\t\t\t\t\t\tvar that = get.wrap(this);\r\n
+\t\t\t\t\t\t\t\t\tvar isCheck = that.getAttr("checked");\r\n
+\t\t\t\t\t\t\t\t\t//console.info(isCheck)\r\n
+\t\t                            if ( isCheck == false ) {\r\n
+\r\n
+\t\t\t\t\t\t\t\t\t\t//that.setAttr("checked",false);\r\n
+\t\t\t\t\t\t\t\t\t\toptions[ this.name ] = 0;\r\n
+\t\t                            }else{\r\n
+\t\t                                //that.setAttr("checked",true);\r\n
+\t\t\t\t\t\t\t\t\t\toptions[ this.name ] = 1;\r\n
+\t\t                            }\r\n
+\t\t\t\t\t\t\t\t\t//console.info(options)\r\n
+\t\t                        });\r\n
+\t\t                    }\r\n
+\t\t                });\r\n
+\r\n
+\r\n
+\t\t                // * Create languages tab\r\n
+\t\t                // ** convert langs obj to array\r\n
+\t\t                var lang_arr = [];\r\n
+\r\n
+\t\t                for (var k in lang_list.rtl){\r\n
+\t\t                    // find curent lang\r\n
+\t\t                    if ( k == sLang)\r\n
+\t\t                        chosed_lang = lang_list.rtl[k] + "::" + k;\r\n
+\t\t                    lang_arr[lang_arr.length] = lang_list.rtl[k] + "::" + k;\r\n
+\r\n
+\t\t                }\r\n
+\t\t                for (var k in lang_list.ltr){\r\n
+\t\t                     // find curent lang\r\n
+\t\t                     if ( k == sLang)\r\n
+\t\t                        chosed_lang = lang_list.ltr[k] + "::" + k;\r\n
+\t\t                    lang_arr[lang_arr.length] = lang_list.ltr[k] + "::" + k;\r\n
+\t\t                }\r\n
+\t\t                lang_arr.sort();\r\n
+\r\n
+\t\t                // ** find lang containers\r\n
+\r\n
+\t\t                var lcol = get.byId("lcolid");\r\n
+\t\t                var rcol = get.byId("rcolid");\r\n
+\t\t                // ** place langs in DOM\r\n
+\r\n
+\t\t                get.forEach(lang_arr , function( l , i ){\r\n
+\r\n
+\t\t\t\t\t\t\t//console.info( l,i );\r\n
+\r\n
+\t\t\t\t\t\t\tvar l_arr = l.split(\'::\');\r\n
+\t\t                    var l_name = l_arr[0];\r\n
+\t\t                    var l_code = l_arr[1];\r\n
+\t\t                    var row = document.createElement(\'div\');\r\n
+\t\t                    row.id = l_code;\r\n
+\t\t                    row.className = "li";\r\n
+\t\t                    // split langs on half\r\n
+\t\t                    var col = ( i < lang_arr.length/2 ) ? lcol:rcol ;\r\n
+\r\n
+\t\t                    // append row\r\n
+\t\t                    //console.dir( col )\r\n
+\t\t                    col.appendChild(row);\r\n
+\t\t                    var row_dom = get.byId( l_code )\r\n
+\t\t                    row_dom.innerHTML = l_name;\r\n
+\r\n
+\t\t                    var checkActiveLang = function( id ){\r\n
+\t\t                        return chosed_lang.split("::")[1] == id;\r\n
+\t\t                    };\r\n
+\t\t                    // bind click\r\n
+\t\t                    row_dom.bindOnclick(function(ev){\r\n
+\r\n
+\t\t                        if ( checkActiveLang(this.id) ) return false;\r\n
+\t\t                        var elId = this.id;\r\n
+\t\t\t\t\t\t\t\tget.byId(this.id)\r\n
+\t                            \t.addClass("Button")\r\n
+\t                            \t.removeClass("DarkBackground");\r\n
+\r\n
+\t\t                        window.setTimeout( function (){ get.byId(elId).setStyle({opacity:"0.5",cursor:"no-drop"});  } ,300 );\r\n
+\r\n
+\t\t                        get.byId(chosed_lang.split("::")[1])\r\n
+\t\t                            .addClass("DarkBackground")\r\n
+\t\t                            .removeClass("Button")\r\n
+\t\t                            .setStyle({opacity:"1",cursor:"pointer"});\r\n
+\r\n
+\t\t                        chosed_lang = this.innerHTML + "::" + this.id;\r\n
+\t\t                        return true;\r\n
+\t\t                    })\r\n
+\t\t\t\t\t\t\t.setStyle({\r\n
+\t\t                        cursor:"pointer"\r\n
+\t\t                    });\r\n
+\t\t                    // select current lang\r\n
+\t\t                    if (l == chosed_lang)\r\n
+\t\t                        row_dom.addClass("Button").setStyle({opacity:"0.5",cursor:"no-drop"});\r\n
+\t\t                    else\r\n
+\t\t                        row_dom.addClass("DarkBackground").setStyle({opacity:"1"});\r\n
+\r\n
+\t\t                });\r\n
+\t\t\t\t\t\t// * user dictionary\r\n
+\t\t\t\t\t\tif ( userDicActive ){\r\n
+\t\t\t\t\t\t\tinitUserDictionary()\r\n
+\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t});\r\n
+\r\n
+\r\n
+\r\n
+\t\t\t}\r\n
+\r\n
+\r\n
+\r\n
+\r\n
+\t\t\tvar buttons = [ \'dic_create\',\'dic_delete\',\'dic_rename\',\'dic_restore\' ];\r\n
+\t\t\tvar labels  = [ \'mixedCase\',\'mixedWithDigits\',\'allCaps\',\'ignoreDomainNames\' ];\r\n
+\r\n
+\r\n
+\t\t\tfunction apllyCaptions ( )\r\n
+\t\t\t{\r\n
+\r\n
+\t\t\t\t// fill tabs headers\r\n
+\t\t\t\t// add missing captions\r\n
+\r\n
+\t\t\t\tget.byClass("PopupTab").forEach(function(el,i){\r\n
+\r\n
+\t\t\t\t\tif ( tabs[i] == 1 ){\r\n
+\t\t\t\t\t\tel.style.display = "block";\r\n
+\t\t\t\t\t}\r\n
+\t\t\t\t\tel.innerHTML = captions[\'tab_\'+el.id];\r\n
+\r\n
+\t\t\t\t});\r\n
+\r\n
+\t\t\t\t// Fill options labels.\r\n
+\t\t\t\tfor ( i in labels )\r\n
+\t\t\t\t{\r\n
+\t\t\t\t\tvar label = \'label_\' + labels[ i ],\r\n
+\t\t\t\t\t\tlabelElement = document.getElementById( label );\r\n
+\r\n
+\t\t\t\t\tif (  \'undefined\' != typeof labelElement\r\n
+\t\t\t\t\t   && \'undefined\' != typeof captions[ label ] && captions[ label ] !== ""\r\n
+\t\t\t\t\t   && \'undefined\' != typeof options[labels[ i ]] )\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\tlabelElement.innerHTML = captions[ label ];\r\n
+\t\t\t\t\t\tvar labelParent = labelElement.parentNode;\r\n
+\t\t\t\t\t\tlabelParent.style.display = "block";\r\n
+\t\t\t\t\t}\r\n
+\t\t\t\t}\r\n
+\t\t\t\t// fill dictionary section\r\n
+\t\t\t\tfor ( var i in buttons )\r\n
+\t\t\t\t{\r\n
+\t\t\t\t\tvar button = buttons[ i ];\r\n
+\t\t\t\t\tget.byId( button ).innerHTML = \'<span>\' + captions[ \'button_\' + button]  +\'</span>\' ;\r\n
+\t\t\t\t}\r\n
+\t\t\t\tget.byId("dname").innerHTML = captions[\'label_dname\'];\r\n
+\t\t\t\tget.byId( \'dic_info\' ).innerHTML = captions[ \'dic_info\' ];\r\n
+\r\n
+\t\t\t\t// fill about tab\r\n
+\t\t\t\tvar about = \'<p>\' + captions[ \'about_throwt_image\' ] + \'</p>\'+\r\n
+\t\t\t\t\t\'<p>\' + captions[ \'version\' ]  + scayt.version.toString() + \'</p>\' +\r\n
+\t\t\t\t\t\'<p>\' + captions[ \'about_throwt_copy\' ] + \'</p>\';\r\n
+\r\n
+\t\t\t\tget.byId( \'scayt_about\' ).innerHTML = about;\r\n
+\r\n
+\t\t\t}\r\n
+\r\n
+\r\n
+\t\t\tfunction initUserDictionary () {\r\n
+\r\n
+\t\t\t\tscayt.getNameUserDictionary(\r\n
+\t\t\t\t\tfunction( o )\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\tvar dic_name = o.dname;\r\n
+\t\t\t\t\t\tif ( dic_name )\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\tget.byId( \'dic_name\' ).value = dic_name;\r\n
+\t\t\t\t\t\t\tdisplay_dic_buttons( dic_buttons[1] );\r\n
+\t\t\t\t\t\t}\r\n
+\t\t\t\t\t\telse\r\n
+\t\t\t\t\t\t\tdisplay_dic_buttons( dic_buttons[0] );\r\n
+\r\n
+\t\t\t\t\t},\r\n
+\t\t\t\t\tfunction ()\r\n
+\t\t\t\t\t{\r\n
+\t\t\t\t\t\tget.byId( \'dic_name\' ).value("");\r\n
+\t\t\t\t\t\tdic_error_message(captions["err_dic_enable"] || "Used dictionary are unaveilable now.")\r\n
+\t\t\t\t\t}\r\n
+\t\t\t\t);\r\n
+\r\n
+\t\t\t\tdic_success_message("");\r\n
+\r\n
+\t\t\t\t // ** bind event listeners\r\n
+                get.byClass("button").bindOnclick(function( ){\r\n
+\r\n
+\t\t\t\t\t// get dic name\r\n
+\t\t\t\t\tvar dic_name = get.byId(\'dic_name\').value ;\r\n
+\t\t\t\t\t// check common dictionary rules\r\n
+\t\t\t\t\tif (!dic_name) {\r\n
+\t\t\t\t\t\tdic_error_message(" Dictionary name should not be empty. ");\r\n
+\t\t\t\t\t\treturn false;\r\n
+\t\t\t\t\t}\r\n
+\t\t\t\t\t//apply handler\r\n
+\t\t\t\t\twindow[this.id].apply( window, [this, dic_name, dic_buttons ] );\r\n
+\r\n
+\t\t\t\t\t//console.info( typeof window[this.id], window[this.id].calle )\r\n
+\t\t\t\t\treturn false;\r\n
+\t\t\t\t});\r\n
+\r\n
+\t\t\t}\r\n
+\r\n
+\t\t\tdic_create = function( el, dic_name , dic_buttons )\r\n
+\t\t\t{\r\n
+\t\t\t\t// comma separated button\'s ids include repeats if exists\r\n
+\t\t\t\tvar all_buttons = dic_buttons[0] + \',\' + dic_buttons[1];\r\n
+\r\n
+\t\t\t\tvar err_massage = captions["err_dic_create"];\r\n
+\t\t\t\tvar suc_massage = captions["succ_dic_create"];\r\n
+\t\t\t\t//console.info("--plugin ");\r\n
+\r\n
+\t\t\t\tscayt.createUserDictionary(dic_name,\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_create callback called with args" , arg );\r\n
+\t\t\t\t\t\t\thide_dic_buttons ( all_buttons );\r\n
+\t\t\t\t\t\t\tdisplay_dic_buttons ( dic_buttons[1] );\r\n
+\t\t\t\t\t\t\tsuc_massage = suc_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\tdic_success_message (suc_massage);\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_create errorback called with args" , arg )\r\n
+\t\t\t\t\t\t\terr_massage = err_massage.replace("%s" ,arg.dname );\r\n
+\t\t\t\t\t\t\tdic_error_message ( err_massage + "( "+ (arg.message || "") +")");\r\n
+\t\t\t\t\t\t});\r\n
+\r\n
+\t\t\t};\r\n
+\r\n
+\t\t\tdic_rename = function( el, dic_name , dic_buttons )\r\n
+\t\t\t{\r\n
+\t\t\t\t//\r\n
+\t\t\t\t// try to rename dictionary\r\n
+\t\t\t\t// @TODO: rename dict\r\n
+\t\t\t\t//console.info ( captions["err_dic_rename"] )\r\n
+\t\t\t\tvar err_massage = captions["err_dic_rename"] || "";\r\n
+\t\t\t\tvar suc_massage = captions["succ_dic_rename"] || "";\r\n
+\t\t\t\tscayt.renameUserDictionary(dic_name,\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_rename callback called with args" , arg );\r\n
+\t\t\t\t\t\t\tsuc_massage = suc_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\tset_dic_name( dic_name );\r\n
+\t\t\t\t\t\t\tdic_success_message ( suc_massage );\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_rename errorback called with args" , arg )\r\n
+\t\t\t\t\t\t\terr_massage = err_massage.replace("%s" , arg.dname  );\r\n
+\t\t\t\t\t\t\tset_dic_name( dic_name );\r\n
+\t\t\t\t\t\t\tdic_error_message( err_massage + "( " + ( arg.message || "" ) + " )" );\r\n
+\t\t\t\t\t\t});\r\n
+\t\t\t};\r\n
+\r\n
+\t\t\tdic_delete = function ( el, dic_name , dic_buttons )\r\n
+\t\t\t{\r\n
+\t\t\t\tvar all_buttons = dic_buttons[0] + \',\' + dic_buttons[1];\r\n
+\t\t\t\tvar err_massage = captions["err_dic_delete"];\r\n
+\t\t\t\tvar suc_massage = captions["succ_dic_delete"];\r\n
+\r\n
+\t\t\t\t// try to delete dictionary\r\n
+\t\t\t\t// @TODO: delete dict\r\n
+\t\t\t\tscayt.deleteUserDictionary(\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_delete callback " , dic_name ,arg );\r\n
+\t\t\t\t\t\t\tsuc_massage = suc_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\thide_dic_buttons ( all_buttons );\r\n
+\t\t\t\t\t\t\tdisplay_dic_buttons ( dic_buttons[0] );\r\n
+\t\t\t\t\t\t\tset_dic_name( "" ); // empty input field\r\n
+\t\t\t\t\t\t\tdic_success_message( suc_massage );\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( " dic_delete errorback called with args" , arg )\r\n
+\t\t\t\t\t\t\terr_massage = err_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\tdic_error_message(err_massage);\r\n
+\t\t\t\t\t\t});\r\n
+\t\t\t};\r\n
+\r\n
+\t\t\tdic_restore = dialog.dic_restore || function ( el, dic_name , dic_buttons )\r\n
+\t\t\t{\r\n
+\t\t\t\t// try to restore existing dictionary\r\n
+\t\t\t\tvar all_buttons = dic_buttons[0] + \',\' + dic_buttons[1];\r\n
+\t\t\t\tvar err_massage = captions["err_dic_restore"];\r\n
+\t\t\t\tvar suc_massage = captions["succ_dic_restore"];\r\n
+\r\n
+\t\t\t\tscayt.restoreUserDictionary(dic_name,\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( "dic_restore callback called with args" , arg );\r\n
+\t\t\t\t\t\t\tsuc_massage = suc_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\thide_dic_buttons ( all_buttons );\r\n
+\t\t\t\t\t\t\tdisplay_dic_buttons(dic_buttons[1]);\r\n
+\t\t\t\t\t\t\tdic_success_message( suc_massage );\r\n
+\t\t\t\t\t\t},\r\n
+\t\t\t\t\tfunction(arg)\r\n
+\t\t\t\t\t\t{\r\n
+\t\t\t\t\t\t\t//console.info( " dic_restore errorback called with args" , arg )\r\n
+\t\t\t\t\t\t\terr_massage = err_massage.replace("%s" , arg.dname );\r\n
+\t\t\t\t\t\t\tdic_error_message( err_massage );\r\n
+\t\t\t\t\t\t});\r\n
+\t\t\t};\r\n
+\r\n
+\t\t\tfunction dic_error_message( m )\r\n
+\t\t\t{\r\n
+\t\t\t\tif ( !m )\r\n
+\t\t\t\t\treturn ;\r\n
+\r\n
+\t\t\t\tget.byId(\'dic_message\').innerHTML =  \'<span class="error">\' + m + \'</span>\' ;\r\n
+\t\t\t}\r\n
+\r\n
+            function dic_success_message( m )\r\n
+            {\r\n
+\t\t\t\tif ( !m )\r\n
+\t\t\t\t\treturn ;\r\n
+\r\n
+\t\t\t\tget.byId(\'dic_message\').innerHTML = \'<span class="success">\' + m + \'</span>\' ;\r\n
+\t\t\t}\r\n
+\r\n
+\t\t\tfunction display_dic_buttons ( sIds ){\r\n
+\t\t\t\tsIds = new String( sIds );\r\n
+\t\t\t\tget.forEach( sIds.split(\',\'), function ( id,i) {\r\n
+\t\t\t\t\tget.byId(id).setStyle({display:"inline"});\r\n
+\t\t\t\t});\r\n
+\t\t\t}\r\n
+\t\t\tfunction hide_dic_buttons ( sIds ){\r\n
+\t\t\t\tsIds = new String( sIds );\r\n
+\t\t\t\tget.forEach( sIds.split(\',\'), function ( id,i) {\r\n
+\t\t\t\t\tget.byId(id).setStyle({display:"none"});\r\n
+\t\t\t\t});\r\n
+\t\t\t}\r\n
+\t\t\tfunction set_dic_name ( dic_name ) {\r\n
+\t\t\t\tget.byId(\'dic_name\').value = dic_name;\r\n
+\t\t\t}\r\n
+\t\t\tfunction display_dic_tab () {\r\n
+\t\t\t\tget.byId("dic_tab").style.display = "block";\r\n
+\t\t\t}\r\n
+\r\n
+\t\t\tfunction Ok()\r\n
+\t\t\t{\r\n
+\t\t\t\t// Things to do when the Ok button is clicked.\r\n
+\t\t\t\tvar c = 0;\r\n
+\t\t\t    // set upp options if any was set\r\n
+\t\t\t    var o = scayt_control.option();\r\n
+\t\t\t\t//console.info(options)\r\n
+\t\t\t    for ( var oN in options ) {\r\n
+\r\n
+\t\t\t        if ( o[oN] != options[oN] && c == 0){\r\n
+\t\t\t\t\t\t//console.info( "set option " )\r\n
+\t\t\t            scayt_control.option( options );\r\n
+\t\t\t            c++;\r\n
+\t\t\t        }\r\n
+\t\t\t    }\r\n
+\t\t\t    //setup languge if it was change\r\n
+\t\t\t    var csLang = chosed_lang.split("::")[1];\r\n
+\t\t\t    if ( csLang && sLang != csLang ){\r\n
+\t\t\t        scayt_control.setLang( csLang );\r\n
+\t\t\t\t\t//console.info(sLang+" -> "+csLang , scayt_control)\r\n
+\t\t\t        c++;\r\n
+\t\t\t    }\r\n
+\r\n
+\t\t\t    if ( c > 0 )  scayt_control.refresh();\r\n
+\r\n
+\t\t\t    return dialog.Cancel();\r\n
+\r\n
+\t\t\t}\r\n
+\r\n
+\t\t</script>\r\n
+\t</head>\r\n
+\t<body style="OVERFLOW: hidden" scroll="no">\r\n
+\t\t<div class="tab_container" id="inner_options">\r\n
+\r\n
+           <ul id="scayt_options">\r\n
+               <li class="_scayt_options">\r\n
+                   <input class="_scayt_option" type="checkbox" value="0" name="allCaps" />\r\n
+                   <label for="allCaps" id="label_allCaps"></label>\r\n
+               </li>\r\n
+               <li>\r\n
+                   <input class="_scayt_option" type="checkbox" value="0" name="ignoreDomainNames" />\r\n
+                   <label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>\r\n
+               </li>\r\n
+               <li>\r\n
+                   <input class="_scayt_option" type="checkbox" value="0" name="mixedCase" />\r\n
+                   <label for="mixedCase" id="label_mixedCase"></label>\r\n
+               </li>\r\n
+               <li>\r\n
+                   <input class="_scayt_option" type="checkbox" value="0" name="mixedWithDigits" />\r\n
+                   <label for="mixedWithDigits" id="label_mixedWithDigits"></label>\r\n
+               </li>\r\n
+           </ul>\r\n
+\t\t</div>\r\n
+\t\t<div class="tab_container" id="inner_langs">\r\n
+\r\n
+\t\t   <div class="lcol" id="lcolid"></div>\r\n
+           <div class="rcol" id="rcolid"></div>\r\n
+\t\t</div>\r\n
+\t\t<div class="tab_container" id="inner_dictionary">\r\n
+\r\n
+\t\t   <div id="dic_message"></div>\r\n
+\t\t\t<div id="_off_dic_tab" class="dictionary" >\r\n
+\t\t\t\t<div style="padding-left:10px;">\r\n
+\t\t\t\t\t\t\t<label id="dname" for="dname"></label>\r\n
+\t\t\t\t\t\t\t<input type="text" size="14" maxlength="15" value="" id="dic_name" name="dic_name"/>\r\n
+\t\t\t\t\t\t</div>\r\n
+\t\t\t\t\t\t<div class="dic_buttons">\r\n
+\t\t\t\t\t\t\t<a href="#" id="dic_create" class="button">  </a>\r\n
+\t\t\t\t\t\t\t<a href="#" id="dic_delete" class="button">  </a>\r\n
+\t\t\t\t\t\t\t<a href="#" id="dic_rename" class="button">  </a>\r\n
+\t\t\t\t\t\t\t<a href="#" id="dic_restore" class="button">  </a>\r\n
+\t\t\t\t\t\t</div>\r\n
+\r\n
+\t\t\t\t\t\t<div id="dic_info"></div>\r\n
+\r\n
+\t\t\t</div>\r\n
+\t\t</div>\r\n
+\t\t<div id="inner_about" class="tab_container">\r\n
+\t\t   <div id="scayt_about"></div>\r\n
+\t\t</div>\r\n
+\t</body>\r\n
+</html>\r\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <int>23819</int> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.xml
new file mode 100644
index 0000000000..ec9cc6cd5d
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Folder" module="OFS.Folder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>fck_scayt</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt/scayt_dialog.css.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt/scayt_dialog.css.xml
new file mode 100644
index 0000000000..f233489d7d
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_scayt/scayt_dialog.css.xml
@@ -0,0 +1,216 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="File" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_Cacheable__manager_id</string> </key>
+            <value> <string>http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts60537124.11</string> </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>scayt_dialog.css</string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/css</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string>html, body\r\n
+{\r\n
+\tbackground-color: transparent;\r\n
+\tmargin: 0px;\r\n
+\tpadding: 0px;\r\n
+}\r\n
+\r\n
+body\r\n
+{\r\n
+\tpadding: 10px;\r\n
+}\r\n
+\r\n
+body, td, input, select, textarea\r\n
+{\r\n
+\tfont-size: 11px;\r\n
+\tfont-family: \'Microsoft Sans Serif\' , Arial, Helvetica, Verdana;\r\n
+}\r\n
+\r\n
+.midtext\r\n
+{\r\n
+\tpadding:0px;\r\n
+\tmargin:10px;\r\n
+}\r\n
+\r\n
+.midtext p\r\n
+{\r\n
+\tpadding:0px;\r\n
+\tmargin:10px;\r\n
+}\r\n
+\r\n
+.Button\r\n
+{\r\n
+\tborder: #737357 1px solid;\r\n
+\tcolor: #3b3b1f;\r\n
+\tbackground-color: #c7c78f;\r\n
+}\r\n
+\r\n
+.PopupTabArea , .button\r\n
+{\r\n
+\tcolor: #737357;\r\n
+\tbackground-color: #e3e3c7;\r\n
+}\r\n
+\r\n
+.PopupTitleBorder\r\n
+{\r\n
+\tborder-bottom: #d5d59d 1px solid;\r\n
+}\r\n
+.PopupTabEmptyArea\r\n
+{\r\n
+\tpadding-left: 10px;\r\n
+\tborder-bottom: #d5d59d 1px solid;\r\n
+}\r\n
+\r\n
+.PopupTab, .PopupTabSelected\r\n
+{\r\n
+\tborder-right: #d5d59d 1px solid;\r\n
+\tborder-top: #d5d59d 1px solid;\r\n
+\tborder-left: #d5d59d 1px solid;\r\n
+\tpadding: 3px 5px 3px 5px;\r\n
+\tcolor: #737357;\r\n
+}\r\n
+\r\n
+.PopupTab\r\n
+{\r\n
+\tmargin-top: 1px;\r\n
+\tborder-bottom: #d5d59d 1px solid;\r\n
+\tcursor: pointer;\r\n
+\tcursor: hand;\r\n
+}\r\n
+\r\n
+.PopupTabSelected\r\n
+{\r\n
+\tfont-weight: bold;\r\n
+\tcursor: default;\r\n
+\tpadding-top: 4px;\r\n
+\tborder-bottom: #f1f1e3 1px solid;\r\n
+\tbackground-color: #f1f1e3;\r\n
+}\r\n
+\r\n
+ul {\r\n
+    padding:0;\r\n
+    margin:0px 0px 12px 0px;\r\n
+    list-style-type:none;\r\n
+}\r\n
+ul.tabs {\r\n
+    height:20px;\r\n
+    margin:10px 0px;\r\n
+}\r\n
+ul.tabs li {\r\n
+    float: left;\r\n
+\tdisplay:none;\r\n
+}\r\n
+div.tab_container {\r\n
+    /*display:none;*/\r\n
+    padding: 0px 5px ;\r\n
+}\r\n
+.lcol {\r\n
+    float:left;\r\n
+    width:47%;\r\n
+    margin-left:5px;\r\n
+}\r\n
+.rcol {\r\n
+    float:right;\r\n
+    width:47%;\r\n
+    margin-right:5px;\r\n
+}\r\n
+div.tabs-container{\r\n
+\theight:220px;\r\n
+\toverflow-x:hidden;\r\n
+\toverflow-y:auto;\r\n
+}\r\n
+\r\n
+div.tabs-container h3{\r\n
+    margin:5px 15px 7px 15px;\r\n
+    background-color:transparent;\r\n
+    font-size: 14px ;\r\n
+}\r\n
+\r\n
+.li {\r\n
+    border: 1px solid transparent;\r\n
+}\r\n
+\r\n
+#dic_message{\r\n
+\theight: 24px;\r\n
+}\r\n
+#dic_message .error{\r\n
+\tcolor: red ;\r\n
+}\r\n
+#dic_message .success{\r\n
+\tcolor: blue ;\r\n
+}\r\n
+\r\n
+.dic_buttons {\r\n
+\tmargin-top: 5px;\r\n
+\tpadding-left:10px;\r\n
+}\r\n
+.dic_buttons a {\r\n
+\tdisplay: none;\r\n
+}\r\n
+a.button {\r\n
+\tborder: #d5d59d 1px solid;\r\n
+\tpadding: 2px 4px;\r\n
+\tmargin-right: 4px;\r\n
+\ttext-decoration: none;\r\n
+}\r\n
+\r\n
+a.button:hover,\r\n
+a.button:active,\r\n
+a.button:visited{\r\n
+\tpadding: 2px 4px;\r\n
+\tmargin-right: 4px;\r\n
+\ttext-decoration: none;\r\n
+}\r\n
+a.button:hover {\r\n
+\tborder: #d5d59d 1px solid;\r\n
+\tcolor: #e3e3c7;\r\n
+\tbackground-color: #737357;\r\n
+}\r\n
+\r\n
+#scayt_options li {\r\n
+\tdisplay: none;\r\n
+}\r\n
+\r\n
+#dic_info {\r\n
+\tmargin:10px;\r\n
+}\r\n
+#dic_tab {\r\n
+\tdisplay:none;\r\n
+}\r\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <int>2406</int> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.xml
index 0eee2cd679..ce6b7ad38c 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309716.79</string> </value>
+            <value> <string>ts60538662.38</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -29,187 +29,187 @@
             <key> <string>data</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-#!/usr/bin/perl\n
-\n
-use CGI qw/ :standard /;\n
-use File::Temp qw/ tempfile tempdir /;\n
-\n
-# my $spellercss = \'/speller/spellerStyle.css\';\t\t\t\t\t# by FredCK\n
-my $spellercss = \'../spellerStyle.css\';\t\t\t\t\t\t\t# by FredCK\n
-# my $wordWindowSrc = \'/speller/wordWindow.js\';\t\t\t\t\t# by FredCK\n
-my $wordWindowSrc = \'../wordWindow.js\';\t\t\t\t\t\t\t# by FredCK\n
-my @textinputs = param( \'textinputs[]\' ); # array\n
-# my $aspell_cmd = \'aspell\';\t\t\t\t\t\t\t\t\t# by FredCK (for Linux)\n
-my $aspell_cmd = \'"C:\\Program Files\\Aspell\\bin\\aspell.exe"\';\t# by FredCK (for Windows)\n
-my $lang = \'en_US\';\n
-# my $aspell_opts = "-a --lang=$lang --encoding=utf-8";\t\t\t# by FredCK\n
-my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt";\t\t# by FredCK\n
-my $input_separator = "A";\n
-\n
-# set the \'wordtext\' JavaScript variable to the submitted text.\n
-sub printTextVar {\n
-\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\n
-\t        print "textinputs[$i] = decodeURIComponent(\'" . escapeQuote( $textinputs[$i] ) . "\')\\n";\n
-\t}\n
-}\n
-\n
-sub printTextIdxDecl {\n
-\tmy $idx = shift;\n
-\tprint "words[$idx] = [];\\n";\n
-\tprint "suggs[$idx] = [];\\n";\n
-}\n
-\n
-sub printWordsElem {\n
-\tmy( $textIdx, $wordIdx, $word ) = @_;\n
-\tprint "words[$textIdx][$wordIdx] = \'" . escapeQuote( $word ) . "\';\\n";\n
-}\n
-\n
-sub printSuggsElem {\n
-\tmy( $textIdx, $wordIdx, @suggs ) = @_;\n
-\tprint "suggs[$textIdx][$wordIdx] = [";\n
-\tfor my $i ( 0..$#suggs ) {\n
-\t\tprint "\'" . escapeQuote( $suggs[$i] ) . "\'";\n
-\t\tif( $i < $#suggs ) {\n
-\t\t\tprint ", ";\n
-\t\t}\n
-\t}\n
-\tprint "];\\n";\n
-}\n
-\n
-sub printCheckerResults {\n
-\tmy $textInputIdx = -1;\n
-\tmy $wordIdx = 0;\n
-\tmy $unhandledText;\n
-\t# create temp file\n
-\tmy $dir = tempdir( CLEANUP => 1 );\n
-\tmy( $fh, $tmpfilename ) = tempfile( DIR => $dir );\n
-\n
-\t# temp file was created properly?\n
-\n
-\t# open temp file, add the submitted text.\n
-\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\n
-\t\t$text = url_decode( $textinputs[$i] );\n
-\t\t# Strip all tags for the text. (by FredCK - #339 / #681)\n
-\t\t$text =~ s/<[^>]+>/ /g;\n
-\t\t@lines = split( /\\n/, $text );\n
-\t\tprint $fh "\\%\\n"; # exit terse mode\n
-\t\tprint $fh "^$input_separator\\n";\n
-\t\tprint $fh "!\\n";  # enter terse mode\n
-\t\tfor my $line ( @lines ) {\n
-\t\t\t# use carat on each line to escape possible aspell commands\n
-\t\t\tprint $fh "^$line\\n";\n
-\t\t}\n
-\n
-\t}\n
-\t# exec aspell command\n
-\tmy $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1";\n
-\topen ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\\\n$!" ) and return;\n
-\t# parse each line of aspell return\n
-\tfor my $ret ( <ASPELL> ) {\n
-\t\tchomp( $ret );\n
-\t\t# if \'&\', then not in dictionary but has suggestions\n
-\t\t# if \'#\', then not in dictionary and no suggestions\n
-\t\t# if \'*\', then it is a delimiter between text inputs\n
-\t\tif( $ret =~ /^\\*/ ) {\n
-\t\t\t$textInputIdx++;\n
-\t\t\tprintTextIdxDecl( $textInputIdx );\n
-\t\t\t$wordIdx = 0;\n
-\n
-\t\t} elsif( $ret =~ /^(&|#)/ ) {\n
-\t\t\tmy @tokens = split( " ", $ret, 5 );\n
-\t\t\tprintWordsElem( $textInputIdx, $wordIdx, $tokens[1] );\n
-\t\t\tmy @suggs = ();\n
-\t\t\tif( $tokens[4] ) {\n
-\t\t\t\t@suggs = split( ", ", $tokens[4] );\n
-\t\t\t}\n
-\t\t\tprintSuggsElem( $textInputIdx, $wordIdx, @suggs );\n
-\t\t\t$wordIdx++;\n
-\t\t} else {\n
-\t\t\t$unhandledText .= $ret;\n
-\t\t}\n
-\t}\n
-\tclose ASPELL or handleError( "Error executing `$cmd`\\\\n$unhandledText" ) and return;\n
-}\n
-\n
-sub escapeQuote {\n
-\tmy $str = shift;\n
-\t$str =~ s/\'/\\\\\'/g;\n
-\treturn $str;\n
-}\n
-\n
-sub handleError {\n
-\tmy $err = shift;\n
-\tprint "error = \'" . escapeQuote( $err ) . "\';\\n";\n
-}\n
-\n
-sub url_decode {\n
-\tlocal $_ = @_ ? shift : $_;\n
-\tdefined or return;\n
-\t# change + signs to spaces\n
-\ttr/+/ /;\n
-\t# change hex escapes to the proper characters\n
-\ts/%([a-fA-F0-9]{2})/pack "H2", $1/eg;\n
-\treturn $_;\n
-}\n
-\n
-# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\n
-# Display HTML\n
-# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\n
-\n
-print <<EOF;\n
-Content-type: text/html; charset=utf-8\n
-\n
-<html>\n
-<head>\n
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n
-<link rel="stylesheet" type="text/css" href="$spellercss"/>\n
-<script src="$wordWindowSrc"></script>\n
-<script type="text/javascript">\n
-var suggs = new Array();\n
-var words = new Array();\n
-var textinputs = new Array();\n
-var error;\n
-EOF\n
-\n
-printTextVar();\n
-\n
-printCheckerResults();\n
-\n
-print <<EOF;\n
-var wordWindowObj = new wordWindow();\n
-wordWindowObj.originalSpellings = words;\n
-wordWindowObj.suggestions = suggs;\n
-wordWindowObj.textInputs = textinputs;\n
-\n
-\n
-function init_spell() {\n
-\t// check if any error occured during server-side processing\n
-\tif( error ) {\n
-\t\talert( error );\n
-\t} else {\n
-\t\t// call the init_spell() function in the parent frameset\n
-\t\tif (parent.frames.length) {\n
-\t\t\tparent.init_spell( wordWindowObj );\n
-\t\t} else {\n
-\t\t\terror = "This page was loaded outside of a frameset. ";\n
-\t\t\terror += "It might not display properly";\n
-\t\t\talert( error );\n
-\t\t}\n
-\t}\n
-}\n
-\n
-</script>\n
-\n
-</head>\n
-<body onLoad="init_spell();">\n
-\n
-<script type="text/javascript">\n
-wordWindowObj.writeBody();\n
-</script>\n
-\n
-</body>\n
-</html>\n
-EOF\n
+#!/usr/bin/perl\r\n
+\r\n
+use CGI qw/ :standard /;\r\n
+use File::Temp qw/ tempfile tempdir /;\r\n
+\r\n
+# my $spellercss = \'/speller/spellerStyle.css\';\t\t\t\t\t# by FredCK\r\n
+my $spellercss = \'../spellerStyle.css\';\t\t\t\t\t\t\t# by FredCK\r\n
+# my $wordWindowSrc = \'/speller/wordWindow.js\';\t\t\t\t\t# by FredCK\r\n
+my $wordWindowSrc = \'../wordWindow.js\';\t\t\t\t\t\t\t# by FredCK\r\n
+my @textinputs = param( \'textinputs[]\' ); # array\r\n
+# my $aspell_cmd = \'aspell\';\t\t\t\t\t\t\t\t\t# by FredCK (for Linux)\r\n
+my $aspell_cmd = \'"C:\\Program Files\\Aspell\\bin\\aspell.exe"\';\t# by FredCK (for Windows)\r\n
+my $lang = \'en_US\';\r\n
+# my $aspell_opts = "-a --lang=$lang --encoding=utf-8";\t\t\t# by FredCK\r\n
+my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt";\t\t# by FredCK\r\n
+my $input_separator = "A";\r\n
+\r\n
+# set the \'wordtext\' JavaScript variable to the submitted text.\r\n
+sub printTextVar {\r\n
+\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\r\n
+\t        print "textinputs[$i] = decodeURIComponent(\'" . escapeQuote( $textinputs[$i] ) . "\')\\n";\r\n
+\t}\r\n
+}\r\n
+\r\n
+sub printTextIdxDecl {\r\n
+\tmy $idx = shift;\r\n
+\tprint "words[$idx] = [];\\n";\r\n
+\tprint "suggs[$idx] = [];\\n";\r\n
+}\r\n
+\r\n
+sub printWordsElem {\r\n
+\tmy( $textIdx, $wordIdx, $word ) = @_;\r\n
+\tprint "words[$textIdx][$wordIdx] = \'" . escapeQuote( $word ) . "\';\\n";\r\n
+}\r\n
+\r\n
+sub printSuggsElem {\r\n
+\tmy( $textIdx, $wordIdx, @suggs ) = @_;\r\n
+\tprint "suggs[$textIdx][$wordIdx] = [";\r\n
+\tfor my $i ( 0..$#suggs ) {\r\n
+\t\tprint "\'" . escapeQuote( $suggs[$i] ) . "\'";\r\n
+\t\tif( $i < $#suggs ) {\r\n
+\t\t\tprint ", ";\r\n
+\t\t}\r\n
+\t}\r\n
+\tprint "];\\n";\r\n
+}\r\n
+\r\n
+sub printCheckerResults {\r\n
+\tmy $textInputIdx = -1;\r\n
+\tmy $wordIdx = 0;\r\n
+\tmy $unhandledText;\r\n
+\t# create temp file\r\n
+\tmy $dir = tempdir( CLEANUP => 1 );\r\n
+\tmy( $fh, $tmpfilename ) = tempfile( DIR => $dir );\r\n
+\r\n
+\t# temp file was created properly?\r\n
+\r\n
+\t# open temp file, add the submitted text.\r\n
+\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\r\n
+\t\t$text = url_decode( $textinputs[$i] );\r\n
+\t\t# Strip all tags for the text. (by FredCK - #339 / #681)\r\n
+\t\t$text =~ s/<[^>]+>/ /g;\r\n
+\t\t@lines = split( /\\n/, $text );\r\n
+\t\tprint $fh "\\%\\n"; # exit terse mode\r\n
+\t\tprint $fh "^$input_separator\\n";\r\n
+\t\tprint $fh "!\\n";  # enter terse mode\r\n
+\t\tfor my $line ( @lines ) {\r\n
+\t\t\t# use carat on each line to escape possible aspell commands\r\n
+\t\t\tprint $fh "^$line\\n";\r\n
+\t\t}\r\n
+\r\n
+\t}\r\n
+\t# exec aspell command\r\n
+\tmy $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1";\r\n
+\topen ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\\\n$!" ) and return;\r\n
+\t# parse each line of aspell return\r\n
+\tfor my $ret ( <ASPELL> ) {\r\n
+\t\tchomp( $ret );\r\n
+\t\t# if \'&\', then not in dictionary but has suggestions\r\n
+\t\t# if \'#\', then not in dictionary and no suggestions\r\n
+\t\t# if \'*\', then it is a delimiter between text inputs\r\n
+\t\tif( $ret =~ /^\\*/ ) {\r\n
+\t\t\t$textInputIdx++;\r\n
+\t\t\tprintTextIdxDecl( $textInputIdx );\r\n
+\t\t\t$wordIdx = 0;\r\n
+\r\n
+\t\t} elsif( $ret =~ /^(&|#)/ ) {\r\n
+\t\t\tmy @tokens = split( " ", $ret, 5 );\r\n
+\t\t\tprintWordsElem( $textInputIdx, $wordIdx, $tokens[1] );\r\n
+\t\t\tmy @suggs = ();\r\n
+\t\t\tif( $tokens[4] ) {\r\n
+\t\t\t\t@suggs = split( ", ", $tokens[4] );\r\n
+\t\t\t}\r\n
+\t\t\tprintSuggsElem( $textInputIdx, $wordIdx, @suggs );\r\n
+\t\t\t$wordIdx++;\r\n
+\t\t} else {\r\n
+\t\t\t$unhandledText .= $ret;\r\n
+\t\t}\r\n
+\t}\r\n
+\tclose ASPELL or handleError( "Error executing `$cmd`\\\\n$unhandledText" ) and return;\r\n
+}\r\n
+\r\n
+sub escapeQuote {\r\n
+\tmy $str = shift;\r\n
+\t$str =~ s/\'/\\\\\'/g;\r\n
+\treturn $str;\r\n
+}\r\n
+\r\n
+sub handleError {\r\n
+\tmy $err = shift;\r\n
+\tprint "error = \'" . escapeQuote( $err ) . "\';\\n";\r\n
+}\r\n
+\r\n
+sub url_decode {\r\n
+\tlocal $_ = @_ ? shift : $_;\r\n
+\tdefined or return;\r\n
+\t# change + signs to spaces\r\n
+\ttr/+/ /;\r\n
+\t# change hex escapes to the proper characters\r\n
+\ts/%([a-fA-F0-9]{2})/pack "H2", $1/eg;\r\n
+\treturn $_;\r\n
+}\r\n
+\r\n
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\r\n
+# Display HTML\r\n
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\r\n
+\r\n
+print <<EOF;\r\n
+Content-type: text/html; charset=utf-8\r\n
+\r\n
+<html>\r\n
+<head>\r\n
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n
+<link rel="stylesheet" type="text/css" href="$spellercss"/>\r\n
+<script src="$wordWindowSrc"></script>\r\n
+<script type="text/javascript">\r\n
+var suggs = new Array();\r\n
+var words = new Array();\r\n
+var textinputs = new Array();\r\n
+var error;\r\n
+EOF\r\n
+\r\n
+printTextVar();\r\n
+\r\n
+printCheckerResults();\r\n
+\r\n
+print <<EOF;\r\n
+var wordWindowObj = new wordWindow();\r\n
+wordWindowObj.originalSpellings = words;\r\n
+wordWindowObj.suggestions = suggs;\r\n
+wordWindowObj.textInputs = textinputs;\r\n
+\r\n
+\r\n
+function init_spell() {\r\n
+\t// check if any error occured during server-side processing\r\n
+\tif( error ) {\r\n
+\t\talert( error );\r\n
+\t} else {\r\n
+\t\t// call the init_spell() function in the parent frameset\r\n
+\t\tif (parent.frames.length) {\r\n
+\t\t\tparent.init_spell( wordWindowObj );\r\n
+\t\t} else {\r\n
+\t\t\terror = "This page was loaded outside of a frameset. ";\r\n
+\t\t\terror += "It might not display properly";\r\n
+\t\t\talert( error );\r\n
+\t\t}\r\n
+\t}\r\n
+}\r\n
+\r\n
+</script>\r\n
+\r\n
+</head>\r\n
+<body onLoad="init_spell();">\r\n
+\r\n
+<script type="text/javascript">\r\n
+wordWindowObj.writeBody();\r\n
+</script>\r\n
+\r\n
+</body>\r\n
+</html>\r\n
+EOF\r\n
 
 
 ]]></string> </value>
@@ -220,7 +220,7 @@ EOF\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>4746</int> </value>
+            <value> <int>4927</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_table.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_table.html.xml
index 2b13b04309..b7c4b7b218 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_table.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_table.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.52</string> </value>
+            <value> <string>ts60538662.38</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -186,28 +186,6 @@ function Ok()\r\n
 \tSetAttribute( table, \'cellSpacing\'\t, GetE(\'txtCellSpacing\').value ) ;\r\n
 \tSetAttribute( table, \'summary\'\t\t, GetE(\'txtSummary\').value ) ;\r\n
 \r\n
-\tvar eCaption = oEditor.FCKDomTools.GetFirstChild( table, \'CAPTION\' ) ;\r\n
-\r\n
-\tif ( document.getElementById(\'txtCaption\').value != \'\')\r\n
-\t{\r\n
-\t\tif ( !eCaption )\r\n
-\t\t{\r\n
-\t\t\teCaption = oDoc.createElement( \'CAPTION\' ) ;\r\n
-\t\t\ttable.insertBefore( eCaption, table.firstChild ) ;\r\n
-\t\t}\r\n
-\r\n
-\t\teCaption.innerHTML = document.getElementById(\'txtCaption\').value ;\r\n
-\t}\r\n
-\telse if ( bExists && eCaption )\r\n
-\t{\r\n
-\t\t// TODO: It causes an IE internal error if using removeChild or\r\n
-\t\t// table.deleteCaption() (see #505).\r\n
-\t\tif ( oEditor.FCKBrowserInfo.IsIE )\r\n
-\t\t\teCaption.innerHTML = \'\' ;\r\n
-\t\telse\r\n
-\t\t\teCaption.parentNode.removeChild( eCaption ) ;\r\n
-\t}\r\n
-\r\n
 \tvar headers = GetE(\'selHeaders\').value ;\r\n
 \tif ( bExists )\r\n
 \t{\r\n
@@ -338,6 +316,29 @@ function Ok()\r\n
 \t\toEditor.FCK.InsertElement( table ) ;\r\n
 \t}\r\n
 \r\n
+\tvar eCaption = oEditor.FCKDomTools.GetFirstChild( table, \'CAPTION\' ) ;\r\n
+\r\n
+\tif ( eCaption && !oEditor.FCKBrowserInfo.IsIE )\r\n
+\t\teCaption.parentNode.removeChild( eCaption ) ;\r\n
+\r\n
+\tif ( document.getElementById(\'txtCaption\').value != \'\' )\r\n
+\t{\r\n
+\t\tif ( !eCaption || !oEditor.FCKBrowserInfo.IsIE )\r\n
+\t\t{\r\n
+\t\t\teCaption = oDoc.createElement( \'CAPTION\' ) ;\r\n
+\t\t\ttable.insertBefore( eCaption, table.firstChild ) ;\r\n
+\t\t}\r\n
+\r\n
+\t\teCaption.innerHTML = document.getElementById(\'txtCaption\').value ;\r\n
+\t}\r\n
+\telse if ( bExists && eCaption )\r\n
+\t{\r\n
+\t\t// TODO: It causes an IE internal error if using removeChild or\r\n
+\t\t// table.deleteCaption() (see #505).\r\n
+\t\tif ( oEditor.FCKBrowserInfo.IsIE )\r\n
+\t\t\teCaption.innerHTML = \'\' ;\r\n
+\t}\r\n
+\r\n
 \treturn true ;\r\n
 }\r\n
 \r\n
@@ -478,7 +479,7 @@ function Ok()\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>14473</int> </value>
+            <value> <int>14549</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_tablecell.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_tablecell.html.xml
index 04a7946180..574cbecbc9 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_tablecell.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_tablecell.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.52</string> </value>
+            <value> <string>ts60538662.38</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -170,7 +170,7 @@ function SelectBorderColor( color )\r\n
 \r\n
 function SelectColor( wich )\r\n
 {\r\n
-\toEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', oEditor.FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, wich == \'Back\' ? SelectBackColor : SelectBorderColor, window ) ;\r\n
+\toEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', oEditor.FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, wich == \'Back\' ? SelectBackColor : SelectBorderColor ) ;\r\n
 }\r\n
 \r\n
 \t</script>\r\n
@@ -255,8 +255,8 @@ function SelectColor( wich )\r\n
 \t\t\t\t\t\t\t\t\t <span fcklang="DlgCellType">Cell Type</span>:</td>\r\n
 \t\t\t\t\t\t\t\t\t<td colspan="2">\r\n
 \t\t\t\t\t\t\t\t\t\t&nbsp; <select id="selCellType">\r\n
-\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeData" value="td" />Data\r\n
-\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeHeader" value="th" />Header\r\n
+\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeData" value="td">Data</option>\r\n
+\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeHeader" value="th">Header</option>\r\n
 \t\t\t\t\t\t\t\t\t\t</select>\r\n
 \t\t\t\t\t\t\t\t</tr>\r\n
 \t\t\t\t\t\t\t\t<tr>\r\n
@@ -332,7 +332,7 @@ function SelectColor( wich )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>9930</int> </value>
+            <value> <int>9936</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.html.xml
index 62a6852272..0535debef6 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.52</string> </value>
+            <value> <string>ts60538662.39</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -296,16 +296,16 @@ function WaitForActive( editorInstance, newStatus )\r\n
 \t}\r\n
 }\r\n
 \r\n
-// Gecko browsers doesn\'t calculate well the IFRAME size so we must\r\n
+// Gecko and Webkit browsers don\'t calculate well the IFRAME size so we must\r\n
 // recalculate it every time the window size changes.\r\n
-if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
+if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )\r\n
 {\r\n
 \twindow.onresize = function( e )\r\n
 \t{\r\n
-\t\t// Running in Chrome makes the window receive the event including subframes.\r\n
+\t\t// Running in Firefox\'s chrome makes the window receive the event including subframes.\r\n
 \t\t// we care only about this window. Ticket #1642.\r\n
 \t\t// #2002: The originalTarget from the event can be the current document, the window, or the editing area.\r\n
-\t\tif ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
+\t\tif ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
 \t\t\treturn ;\r\n
 \r\n
 \t\tvar oCell = document.getElementById( \'xEditingArea\' ) ;\r\n
@@ -356,7 +356,7 @@ if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>12436</int> </value>
+            <value> <int>12475</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.original.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.original.html.xml
index 6e009c5c9d..9f1cd0240d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.original.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/fckeditor.original.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.52</string> </value>
+            <value> <string>ts60538662.39</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -233,6 +233,7 @@ LoadScript( \'_source/classes/fcktoolbarfontformatcombo.js\' ) ;\r\n
 LoadScript( \'_source/classes/fcktoolbarfontscombo.js\' ) ;\r\n
 LoadScript( \'_source/classes/fcktoolbarfontsizecombo.js\' ) ;\r\n
 LoadScript( \'_source/classes/fcktoolbarpanelbutton.js\' ) ;\r\n
+LoadScript( \'_source/internals/fckscayt.js\' ) ;\r\n
 LoadScript( \'_source/internals/fcktoolbaritems.js\' ) ;\r\n
 LoadScript( \'_source/classes/fcktoolbar.js\' ) ;\r\n
 LoadScript( \'_source/classes/fcktoolbarbreak_\' + sSuffix + \'.js\' ) ;\r\n
@@ -403,16 +404,16 @@ function WaitForActive( editorInstance, newStatus )\r\n
 \t}\r\n
 }\r\n
 \r\n
-// Gecko browsers doesn\'t calculate well the IFRAME size so we must\r\n
+// Gecko and Webkit browsers don\'t calculate well the IFRAME size so we must\r\n
 // recalculate it every time the window size changes.\r\n
-if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
+if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )\r\n
 {\r\n
 \twindow.onresize = function( e )\r\n
 \t{\r\n
-\t\t// Running in Chrome makes the window receive the event including subframes.\r\n
+\t\t// Running in Firefox\'s chrome makes the window receive the event including subframes.\r\n
 \t\t// we care only about this window. Ticket #1642.\r\n
 \t\t// #2002: The originalTarget from the event can be the current document, the window, or the editing area.\r\n
-\t\tif ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
+\t\tif ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
 \t\t\treturn ;\r\n
 \r\n
 \t\tvar oCell = document.getElementById( \'xEditingArea\' ) ;\r\n
@@ -463,7 +464,7 @@ if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>17712</int> </value>
+            <value> <int>17800</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/default/frmresourceslist.html.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/default/frmresourceslist.html.xml
index 56f25f084e..af89fe53f6 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/default/frmresourceslist.html.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/default/frmresourceslist.html.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309338.53</string> </value>
+            <value> <string>ts60538662.39</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -120,7 +120,7 @@ function OpenFolder( folderPath )\r\n
 \r\n
 function OpenFile( fileUrl )\r\n
 {\r\n
-\twindow.top.opener.SetUrl( encodeURI( fileUrl ).replace( \'#\', \'%23\' ) ) ;\r\n
+\twindow.top.opener.SetUrl( fileUrl ) ;\r\n
 \twindow.top.close() ;\r\n
 \twindow.top.opener.focus() ;\r\n
 }\r\n
@@ -176,7 +176,7 @@ function GetFoldersAndFilesCallBack( fckXml )\r\n
 \r\n
 \t\t// Get the optional "url" attribute. If not available, build the url.\r\n
 \t\tvar oFileUrlAtt = oNodes[j].attributes.getNamedItem(\'url\') ;\r\n
-\t\tvar sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;\r\n
+\t\tvar sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, \'%23\' ) ;\r\n
 \r\n
 \t\toHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ;\r\n
 \t}\r\n
@@ -208,7 +208,7 @@ window.onload = function()\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>5004</int> </value>
+            <value> <int>5005</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_gecko.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_gecko.js.xml
index 106a54ceec..43c58eb928 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_gecko.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_gecko.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309716.85</string> </value>
+            <value> <string>ts60538662.48</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -59,24 +59,24 @@ var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:/*@cc_on!@*/fal
 var FCKURLParams={};(function(){var A=document.location.search.substr(1).split(\'&\');for (var i=0;i<A.length;i++){var B=A[i].split(\'=\');var C=decodeURIComponent(B[0]);var D=decodeURIComponent(B[1]);FCKURLParams[C]=D;}})();\r\n
 var FCKEvents=function(A){this.Owner=A;this._RegisteredEvents={};};FCKEvents.prototype.AttachEvent=function(A,B){var C;if (!(C=this._RegisteredEvents[A])) this._RegisteredEvents[A]=[B];else{if (C.IndexOf(B)==-1) C.push(B);}};FCKEvents.prototype.FireEvent=function(A,B){var C=true;var D=this._RegisteredEvents[A];if (D){for (var i=0;i<D.length;i++){try{C=(D[i](this.Owner,B)&&C);}catch(e){if (e.number!=-2146823277) throw e;}}};return C;};\r\n
 var FCKDataProcessor=function(){};FCKDataProcessor.prototype={ConvertToHtml:function(A){if (FCKConfig.FullPage){FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (!FCKRegexLib.HasBodyTag.test(A)) A=\'<body>\'+A+\'</body>\';if (!FCKRegexLib.HtmlOpener.test(A)) A=\'<html dir="\'+FCKConfig.ContentLangDirection+\'">\'+A+\'</html>\';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,\'$&<head><title></title></head>\');return A;}else{var B=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"\';if (FCKBrowserInfo.IsIE&&FCKConfig.DocType.length>0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=\' style="overflow-y: scroll"\';B+=\'><head><title></title></head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+A+\'</body></html>\';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return \'\';return E;},FixHtml:function(A){return A;}};\r\n
-var FCK={Name:FCKURLParams[\'InstanceName\'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent(\'OnSelectionChange\',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:\'\',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?\'<base href="\'+FCKConfig.BaseHref+\'" _fcktemp="true"></base>\':\'\';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById(\'xEditingArea\'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent(\'OnStatusChange\',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!=\'p\'&&A!=\'div\') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!=\'li\'&&!D.getAttribute(\'_fckfakelement\')&&D.getAttribute(\'_moz_dirty\')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,\'$1\');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+\'\\n\'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+\'\\n\'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent(\'OnAfterLinkedFieldUpdate\');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers[\'*\'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||\'*\';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(A);}},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent(\'OnSelectionChange\');FCK.Events.FireEvent(\'OnAfterSetHTML\');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsImg,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsArea,\'$& _fcksavedurl=$1\');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?\'|ABBR|XML|EMBED|OBJECT\':\'ABBR|XML|EMBED|OBJECT\';var C;if (B.length>0){C=new RegExp(\'<(\'+B+\')(?!\\w|:)\',\'gi\');A=A.replace(C,\'<FCK:$1\');C=new RegExp(\'<\\/(\'+B+\')>\',\'gi\');A=A.replace(C,\'<\\/FCK:$1>\');};B=\'META\';if (FCKBrowserInfo.IsIE) B+=\'|HR\';C=new RegExp(\'<((\'+B+\')(?=\\\\s|>|/)[\\\\s\\\\S]*?)/?>\',\'gi\');A=A.replace(C,\'<FCK:$1 />\');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();FCK.Selection.Release();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,\'$1></$2>\');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,\'$&\'+FCK.TempBaseTag);var C=\'\';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+\'$&\');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent(\'OnAfterSetHTML\');};if (FCKBrowserInfo.IsGecko) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent(\'OnSelectionChange\');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals(\'Paste\')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B=\'\';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:\'\';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent(\'OnPaste\')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteFromWord,\'dialog/fck_paste.html\',400,330,\'Word\');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"><head>\'+FCK.TempBaseTag+\'<title>\'+FCKLang.Preview+\'</title>\'+_FCK_GetEditorAreaStyleTags()+\'</head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+FCK.GetXHTML()+\'</body></html>\';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E=\'\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )\';};var F=window.open(E,null,\'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=\'+B+\',height=\'+C+\',left=\'+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand(\'ShowBlocks\').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A==\'string\') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,[\'hr\',\'br\',\'param\',\'img\',\'area\',\'input\'],true);if (!D&&FCKConfig.EnterMode!=\'br\'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text=\'\\t\';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push(\'\\t\');a.push(D.value.substr(F));D.value=a.join(\'\');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return \' \'+B+\'_fckprotectedatt="\'+encodeURIComponent(A)+\'"\';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type==\'mousedown\') FCK.MouseDownFlag=true;else if (A.type==\'mouseup\') FCK.MouseDownFlag=false;else if (A.type==\'mousemove\') FCK.Events.FireEvent(\'OnMouseMove\',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals(\'br\')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals(\'body\')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode(\'\\ufeff\'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML(\'\');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,\'mousemove\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mouseup\',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,\'keyup\',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand(\'ShowBlocks\').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case \'Paste\':return!FCK.Paste();case \'Cut\':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals(\'Paste\',\'Undo\',\'Redo\',\'SelectAll\',\'Cut\')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals(\'input\',\'textarea\')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]=\'<div>&nbsp;\'+this.Elements[i].outerHTML+\'</div>\';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement(\'div\');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,\'focus\',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!=\'undefined\'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\\d+$/.test(B)) B+=\'px\';if (/^\\d+$/.test(C)) C+=\'px\';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor=\'transparent\';D.backgroundImage=\'none\';D.width=B;D.height=C;})();\r\n
-FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (window.onresize) window.onresize();FCKFocusManager.AddWindow(this.EditorWindow);this.ExecOnSelectionChange=function(){FCK.Events.FireEvent("OnSelectionChange");};this._ExecDrop=function(evt){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){if (evt.dataTransfer){var A=evt.dataTransfer.getData(\'Text\');A=FCKTools.HTMLEncode(A);A=FCKTools.ProcessLineBreaks(window,FCKConfig,A);FCK.InsertHtml(A);}else if (FCKConfig.ShowDropDialog) FCK.PasteAsPlainText();evt.preventDefault();evt.stopPropagation();}};this._ExecCheckCaret=function(evt){if (FCK.EditMode!=0) return;if (evt.type==\'keypress\'){var B=evt.keyCode;if (B<33||B>40) return;};var C=function(H){if (H.nodeType!=1) return false;var D=H.tagName.toLowerCase();return (FCKListsLib.BlockElements[D]||FCKListsLib.EmptyElements[D]);};var E=function(){var F=FCKSelection.GetSelection();var G=F.getRangeAt(0);if (!G||!G.collapsed) return;var H=G.endContainer;if (H.nodeType!=3) return;if (H.nodeValue.length!=G.endOffset) return;var I=H.parentNode.tagName.toLowerCase();if (!(I==\'a\'||(!FCKBrowserInfo.IsOpera&&String(H.parentNode.contentEditable)==\'false\')||(!(FCKListsLib.BlockElements[I]||FCKListsLib.NonEmptyBlockElements[I])&&B==35))) return;var J=FCKTools.GetNextTextNode(H,H.parentNode,C);if (J) return;G=FCK.EditorDocument.createRange();J=FCKTools.GetNextTextNode(H,H.parentNode.parentNode,C);if (J){if (FCKBrowserInfo.IsOpera&&B==37) return;G.setStart(J,0);G.setEnd(J,0);}else{while (H.parentNode&&H.parentNode!=FCK.EditorDocument.body&&H.parentNode!=FCK.EditorDocument.documentElement&&H==H.parentNode.lastChild&&(!FCKListsLib.BlockElements[H.parentNode.tagName.toLowerCase()]&&!FCKListsLib.NonEmptyBlockElements[H.parentNode.tagName.toLowerCase()])) H=H.parentNode;if (FCKListsLib.BlockElements[I]||FCKListsLib.EmptyElements[I]||H==FCK.EditorDocument.body){G.setStart(H,H.childNodes.length);G.setEnd(H,H.childNodes.length);}else{var K=H.nextSibling;while (K){if (K.nodeType!=1){K=K.nextSibling;continue;};var L=K.tagName.toLowerCase();if (FCKListsLib.BlockElements[L]||FCKListsLib.EmptyElements[L]||FCKListsLib.NonEmptyBlockElements[L]) break;K=K.nextSibling;};var M=FCK.EditorDocument.createTextNode(\'\');if (K) H.parentNode.insertBefore(M,K);else H.parentNode.appendChild(M);G.setStart(M,0);G.setEnd(M,0);}};F.removeAllRanges();F.addRange(G);FCK.Events.FireEvent("OnSelectionChange");};setTimeout(E,1);};this.ExecOnSelectionChangeTimer=function(){if (FCK.LastOnChangeTimer) window.clearTimeout(FCK.LastOnChangeTimer);FCK.LastOnChangeTimer=window.setTimeout(FCK.ExecOnSelectionChange,100);};this.EditorDocument.addEventListener(\'mouseup\',this.ExecOnSelectionChange,false);this.EditorDocument.addEventListener(\'keyup\',this.ExecOnSelectionChangeTimer,false);this._DblClickListener=function(e){FCK.OnDoubleClick(e.target);e.stopPropagation();};this.EditorDocument.addEventListener(\'dblclick\',this._DblClickListener,true);this.EditorDocument.addEventListener(\'keydown\',this._KeyDownListener,false);if (FCKBrowserInfo.IsGecko){this.EditorWindow.addEventListener(\'dragdrop\',this._ExecDrop,true);}else if (FCKBrowserInfo.IsSafari){this.EditorDocument.addEventListener(\'dragover\',function (evt){ if (!FCK.MouseDownFlag&&FCK.Config.ForcePasteAsPlainText) evt.returnValue=false;},true);this.EditorDocument.addEventListener(\'drop\',this._ExecDrop,true);this.EditorDocument.addEventListener(\'mousedown\',function(ev){var N=ev.srcElement;if (N.nodeName.IEquals(\'IMG\',\'HR\',\'INPUT\',\'TEXTAREA\',\'SELECT\')){FCKSelection.SelectNode(N);}},true);this.EditorDocument.addEventListener(\'mouseup\',function(ev){if (ev.srcElement.nodeName.IEquals(\'INPUT\',\'TEXTAREA\',\'SELECT\')) ev.preventDefault()},true);this.EditorDocument.addEventListener(\'click\',function(ev){if (ev.srcElement.nodeName.IEquals(\'INPUT\',\'TEXTAREA\',\'SELECT\')) ev.preventDefault()},true);};if (FCKBrowserInfo.IsGecko||FCKBrowserInfo.IsOpera){this.EditorDocument.addEventListener(\'keypress\',this._ExecCheckCaret,false);this.EditorDocument.addEventListener(\'click\',this._ExecCheckCaret,false);};FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow(FCK.EditorWindow);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument);};FCK.MakeEditable=function(){this.EditingArea.MakeEditable();};function Document_OnContextMenu(e){if (!e.target._FCKShowContextMenu) e.preventDefault();};document.oncontextmenu=Document_OnContextMenu;FCK._BaseGetNamedCommandState=FCK.GetNamedCommandState;FCK.GetNamedCommandState=function(A){switch (A){case \'Unlink\':return FCKSelection.HasAncestorNode(\'A\')?0:-1;default:return FCK._BaseGetNamedCommandState(A);}};FCK.RedirectNamedCommands={Print:true,Paste:true};FCK.ExecuteRedirectedNamedCommand=function(A,B){switch (A){case \'Print\':FCK.EditorWindow.print();break;case \'Paste\':try{if (FCKBrowserInfo.IsSafari) throw \'\';if (FCK.Paste()) FCK.ExecuteNamedCommand(\'Paste\',null,true);}catch (e)\t{if (FCKConfig.ForcePasteAsPlainText) FCK.PasteAsPlainText();else FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.Paste,\'dialog/fck_paste.html\',400,330,\'Security\');};break;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){var B=FCK.EditorDocument,range;A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGecko){A=A.replace(/&nbsp;$/,\'$&<span _fcktemp="1"/>\');var C=new FCKDocumentFragment(this.EditorDocument);C.AppendHtml(A);var D=C.RootNode.lastChild;range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();range.DeleteContents();range.InsertNode(C.RootNode);range.MoveToPosition(D,4);}else B.execCommand(\'inserthtml\',false,A);this.Focus();if (!range){range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();};var E=range.CreateBookmark();FCKDocumentProcessor.Process(B);try{range.MoveToBookmark(E);range.Select();}catch (e) {};this.Events.FireEvent("OnSelectionChange");};FCK.PasteAsPlainText=function(){FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,[\'FCKDialog_Paste\',FCKLang.PasteAsText,\'dialog/fck_paste.html\',400,330,\'PlainText\']);};FCK.GetClipboardHTML=function(){return \'\';};FCK.CreateLink=function(A,B){var C=[];if (FCKSelection.GetSelection().isCollapsed) return C;FCK.ExecuteNamedCommand(\'Unlink\',null,false,!!B);if (A.length>0){var D=\'javascript:void(0);/*\'+(new Date().getTime())+\'*/\';FCK.ExecuteNamedCommand(\'CreateLink\',D,false,!!B);var E=this.EditorDocument.evaluate("//a[@href=\'"+D+"\']",this.EditorDocument.body,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for (var i=0;i<E.snapshotLength;i++){var F=E.snapshotItem(i);F.href=A;C.push(F);}};return C;};FCK._FillEmptyBlock=function(A){if (!A||A.nodeType!=1) return;var B=A.tagName.toLowerCase();if (B!=\'p\'&&B!=\'div\') return;if (A.firstChild) return;FCKTools.AppendBogusBr(A);};FCK._ExecCheckEmptyBlock=function(){FCK._FillEmptyBlock(FCK.EditorDocument.body.firstChild);var A=FCKSelection.GetSelection();if (!A||A.rangeCount<1) return;var B=A.getRangeAt(0);FCK._FillEmptyBlock(B.startContainer);};\r\n
-var FCKConfig=FCK.Config={};if (document.location.protocol==\'file:\'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\\\/gi,\'/\');var sFullProtocol=document.location.href.match(/^(file\\:\\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+=\'localhost/\';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf(\'/\')+1);}else FCKConfig.BasePath=document.location.protocol+\'//\'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf(\'/\')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\\/$/,\'\');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+\'___Config\');if (!A) return;var B=A.value.split(\'&\');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split(\'=\');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D==\'CustomConfigurationsPath\') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {  }};if (!A.PluginsPath.EndsWith(\'/\')) A.PluginsPath+=\'/\';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||\'\').split(\',\');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+\'fck_editor.css\';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+\'fck_dialog.css\';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\\s\\S]*?-->/g,/<script[\\s\\S]*?<\\/script>/gi,/<noscript[\\s\\S]*?<\\/noscript>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return \'<!--{\'+B+C+\'}-->\';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\\\{"+this._CodeTag+"(\\\\d+)\\\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A=\'\';if (this.BodyId&&this.BodyId.length>0) A+=\' id="\'+this.BodyId+\'"\';if (this.BodyClass&&this.BodyClass.length>0) A+=\' class="\'+this.BodyClass+\'"\';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=\' \'+FCKConfig.BodyClass;};\r\n
+var FCK={Name:FCKURLParams[\'InstanceName\'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent(\'OnSelectionChange\',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:\'\',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?\'<base href="\'+FCKConfig.BaseHref+\'" _fcktemp="true"></base>\':\'\';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById(\'xEditingArea\'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent(\'OnStatusChange\',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!=\'p\'&&A!=\'div\') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!=\'li\'&&!D.getAttribute(\'_fckfakelement\')&&D.getAttribute(\'_moz_dirty\')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){FCK.Events.FireEvent("OnBeforeGetData");if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,\'$1\');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+\'\\n\'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+\'\\n\'+D;};D=FCKConfig.ProtectedSource.Revert(D);setTimeout(function() { FCK.Events.FireEvent("OnAfterGetData");},0);return D;},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent(\'OnAfterLinkedFieldUpdate\');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers[\'*\'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||\'*\';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(A);}},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent(\'OnSelectionChange\');FCK.Events.FireEvent(\'OnAfterSetHTML\');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsImg,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsArea,\'$& _fcksavedurl=$1\');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?\'|ABBR|XML|EMBED|OBJECT\':\'ABBR|XML|EMBED|OBJECT\';var C;if (B.length>0){C=new RegExp(\'<(\'+B+\')(?!\\w|:)\',\'gi\');A=A.replace(C,\'<FCK:$1\');C=new RegExp(\'<\\/(\'+B+\')>\',\'gi\');A=A.replace(C,\'<\\/FCK:$1>\');};B=\'META\';if (FCKBrowserInfo.IsIE) B+=\'|HR\';C=new RegExp(\'<((\'+B+\')(?=\\\\s|>|/)[\\\\s\\\\S]*?)/?>\',\'gi\');A=A.replace(C,\'<FCK:$1 />\');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();FCK.Selection.Release();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,\'$1></$2>\');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,\'$&\'+FCK.TempBaseTag);var C=\'\';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+\'$&\');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent(\'OnAfterSetHTML\');};if (window.onresize) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent(\'OnSelectionChange\');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals(\'Paste\')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B=\'\';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:\'\';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent(\'OnPaste\')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteFromWord,\'dialog/fck_paste.html\',400,330,\'Word\');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"><head>\'+FCK.TempBaseTag+\'<title>\'+FCKLang.Preview+\'</title>\'+_FCK_GetEditorAreaStyleTags()+\'</head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+FCK.GetXHTML()+\'</body></html>\';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E=\'\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )\';};var F=window.open(E,null,\'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=\'+B+\',height=\'+C+\',left=\'+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand(\'ShowBlocks\').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A==\'string\') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,[\'hr\',\'br\',\'param\',\'img\',\'area\',\'input\'],true);if (!D&&FCKConfig.EnterMode!=\'br\'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text=\'\\t\';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push(\'\\t\');a.push(D.value.substr(F));D.value=a.join(\'\');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return \' \'+B+\'_fckprotectedatt="\'+encodeURIComponent(A)+\'"\';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type==\'mousedown\') FCK.MouseDownFlag=true;else if (A.type==\'mouseup\') FCK.MouseDownFlag=false;else if (A.type==\'mousemove\') FCK.Events.FireEvent(\'OnMouseMove\',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals(\'br\')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals(\'body\')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode(\'\\ufeff\'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML(\'\');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,\'mousemove\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mouseup\',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){FCKTools.AddEventListener(FCK.EditorDocument,\'paste\',function(evt){var A=new FCKDomRange(FCK.EditorWindow);var B=FCK.EditorDocument.createTextNode(\'\\ufeff\');var C=FCK.EditorDocument.createElement(\'a\');C.id=\'fck_paste_padding\';C.innerHTML=\'&#65279;\';A.MoveToSelection();A.DeleteContents();A.InsertNode(B);A.Collapse();A.InsertNode(C);A.MoveToPosition(C,3);A.Select();setTimeout(function(){B.parentNode.removeChild(B);C=FCK.EditorDocument.getElementById(\'fck_paste_padding\');C.parentNode.removeChild(C);},0);});};if (FCKBrowserInfo.IsSafari){var D=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,\'keyup\',D);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand(\'ShowBlocks\').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case \'Paste\':return!FCK.Paste();case \'Cut\':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals(\'Paste\',\'Undo\',\'Redo\',\'SelectAll\',\'Cut\')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals(\'input\',\'textarea\')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]=\'<div>&nbsp;\'+this.Elements[i].outerHTML+\'</div>\';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement(\'div\');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,\'focus\',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!=\'undefined\'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\\d+$/.test(B)) B+=\'px\';if (/^\\d+$/.test(C)) C+=\'px\';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor=\'transparent\';D.backgroundImage=\'none\';D.width=B;D.height=C;})();\r\n
+FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (window.onresize) window.onresize();FCKFocusManager.AddWindow(this.EditorWindow);this.ExecOnSelectionChange=function(){FCK.Events.FireEvent("OnSelectionChange");};this._ExecDrop=function(evt){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){if (evt.dataTransfer){var A=evt.dataTransfer.getData(\'Text\');A=FCKTools.HTMLEncode(A);A=FCKTools.ProcessLineBreaks(window,FCKConfig,A);FCK.InsertHtml(A);}else if (FCKConfig.ShowDropDialog) FCK.PasteAsPlainText();evt.preventDefault();evt.stopPropagation();}};this._ExecCheckCaret=function(evt){if (FCK.EditMode!=0) return;if (evt.type==\'keypress\'){var B=evt.keyCode;if (B<33||B>40) return;};var C=function(H){if (H.nodeType!=1) return false;var D=H.tagName.toLowerCase();return (FCKListsLib.BlockElements[D]||FCKListsLib.EmptyElements[D]);};var E=function(){var F=FCKSelection.GetSelection();var G=F.getRangeAt(0);if (!G||!G.collapsed) return;var H=G.endContainer;if (H.nodeType!=3) return;if (H.nodeValue.length!=G.endOffset) return;var I=H.parentNode.tagName.toLowerCase();if (!(I==\'a\'||(!FCKBrowserInfo.IsOpera&&String(H.parentNode.contentEditable)==\'false\')||(!(FCKListsLib.BlockElements[I]||FCKListsLib.NonEmptyBlockElements[I])&&B==35))) return;var J=FCKTools.GetNextTextNode(H,H.parentNode,C);if (J) return;G=FCK.EditorDocument.createRange();J=FCKTools.GetNextTextNode(H,H.parentNode.parentNode,C);if (J){if (FCKBrowserInfo.IsOpera&&B==37) return;G.setStart(J,0);G.setEnd(J,0);}else{while (H.parentNode&&H.parentNode!=FCK.EditorDocument.body&&H.parentNode!=FCK.EditorDocument.documentElement&&H==H.parentNode.lastChild&&(!FCKListsLib.BlockElements[H.parentNode.tagName.toLowerCase()]&&!FCKListsLib.NonEmptyBlockElements[H.parentNode.tagName.toLowerCase()])) H=H.parentNode;if (FCKListsLib.BlockElements[I]||FCKListsLib.EmptyElements[I]||H==FCK.EditorDocument.body){G.setStart(H,H.childNodes.length);G.setEnd(H,H.childNodes.length);}else{var K=H.nextSibling;while (K){if (K.nodeType!=1){K=K.nextSibling;continue;};var L=K.tagName.toLowerCase();if (FCKListsLib.BlockElements[L]||FCKListsLib.EmptyElements[L]||FCKListsLib.NonEmptyBlockElements[L]) break;K=K.nextSibling;};var M=FCK.EditorDocument.createTextNode(\'\');if (K) H.parentNode.insertBefore(M,K);else H.parentNode.appendChild(M);G.setStart(M,0);G.setEnd(M,0);}};F.removeAllRanges();F.addRange(G);FCK.Events.FireEvent("OnSelectionChange");};setTimeout(E,1);};this.ExecOnSelectionChangeTimer=function(){if (FCK.LastOnChangeTimer) window.clearTimeout(FCK.LastOnChangeTimer);FCK.LastOnChangeTimer=window.setTimeout(FCK.ExecOnSelectionChange,100);};this.EditorDocument.addEventListener(\'mouseup\',this.ExecOnSelectionChange,false);this.EditorDocument.addEventListener(\'keyup\',this.ExecOnSelectionChangeTimer,false);this._DblClickListener=function(e){FCK.OnDoubleClick(e.target);e.stopPropagation();};this.EditorDocument.addEventListener(\'dblclick\',this._DblClickListener,true);this.EditorDocument.addEventListener(\'keydown\',this._KeyDownListener,false);if (FCKBrowserInfo.IsGecko){this.EditorWindow.addEventListener(\'dragdrop\',this._ExecDrop,true);}else if (FCKBrowserInfo.IsSafari){this.EditorDocument.addEventListener(\'dragover\',function (evt){ if (!FCK.MouseDownFlag&&FCK.Config.ForcePasteAsPlainText) evt.returnValue=false;},true);this.EditorDocument.addEventListener(\'drop\',this._ExecDrop,true);this.EditorDocument.addEventListener(\'mousedown\',function(ev){var N=ev.srcElement;if (N.nodeName.IEquals(\'IMG\',\'HR\',\'INPUT\',\'TEXTAREA\',\'SELECT\')){FCKSelection.SelectNode(N);}},true);this.EditorDocument.addEventListener(\'mouseup\',function(ev){if (ev.srcElement.nodeName.IEquals(\'INPUT\',\'TEXTAREA\',\'SELECT\')) ev.preventDefault()},true);this.EditorDocument.addEventListener(\'click\',function(ev){if (ev.srcElement.nodeName.IEquals(\'INPUT\',\'TEXTAREA\',\'SELECT\')) ev.preventDefault()},true);};if (FCKBrowserInfo.IsGecko||FCKBrowserInfo.IsOpera){this.EditorDocument.addEventListener(\'keypress\',this._ExecCheckCaret,false);this.EditorDocument.addEventListener(\'click\',this._ExecCheckCaret,false);};FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow(FCK.EditorWindow);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument);};FCK.MakeEditable=function(){this.EditingArea.MakeEditable();};function Document_OnContextMenu(e){if (!e.target._FCKShowContextMenu) e.preventDefault();};document.oncontextmenu=Document_OnContextMenu;FCK._BaseGetNamedCommandState=FCK.GetNamedCommandState;FCK.GetNamedCommandState=function(A){switch (A){case \'Unlink\':return FCKSelection.HasAncestorNode(\'A\')?0:-1;default:return FCK._BaseGetNamedCommandState(A);}};FCK.RedirectNamedCommands={Print:true,Paste:true};FCK.ExecuteRedirectedNamedCommand=function(A,B){switch (A){case \'Print\':FCK.EditorWindow.print();break;case \'Paste\':try{if (FCKBrowserInfo.IsSafari) throw \'\';if (FCK.Paste()) FCK.ExecuteNamedCommand(\'Paste\',null,true);}catch (e)\t{if (FCKConfig.ForcePasteAsPlainText) FCK.PasteAsPlainText();else FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.Paste,\'dialog/fck_paste.html\',400,330,\'Security\');};break;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){var B=FCK.EditorDocument,range;A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGecko){A=A.replace(/&nbsp;$/,\'$&<span _fcktemp="1"/>\');var C=new FCKDocumentFragment(this.EditorDocument);C.AppendHtml(A);var D=C.RootNode.lastChild;range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();var E=C.RootNode.firstChild;while (E&&E.nodeType!=1) E=E.nextSibling;if (E&&FCKListsLib.BlockElements[E.nodeName.toLowerCase()]) range.SplitBlock();range.DeleteContents();range.InsertNode(C.RootNode);range.MoveToPosition(D,4);}else B.execCommand(\'inserthtml\',false,A);this.Focus();if (!range){range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();};var F=range.CreateBookmark();FCKDocumentProcessor.Process(B);try{range.MoveToBookmark(F);range.Select();}catch (e) {};this.Events.FireEvent("OnSelectionChange");};FCK.PasteAsPlainText=function(){FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,[\'FCKDialog_Paste\',FCKLang.PasteAsText,\'dialog/fck_paste.html\',400,330,\'PlainText\']);};FCK.GetClipboardHTML=function(){return \'\';};FCK.CreateLink=function(A,B){var C=[];if (FCKSelection.GetSelection().isCollapsed) return C;FCK.ExecuteNamedCommand(\'Unlink\',null,false,!!B);if (A.length>0){var D=\'javascript:void(0);/*\'+(new Date().getTime())+\'*/\';FCK.ExecuteNamedCommand(\'CreateLink\',D,false,!!B);var E=this.EditorDocument.evaluate("//a[@href=\'"+D+"\']",this.EditorDocument.body,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for (var i=0;i<E.snapshotLength;i++){var F=E.snapshotItem(i);F.href=A;C.push(F);}};return C;};FCK._FillEmptyBlock=function(A){if (!A||A.nodeType!=1) return;var B=A.tagName.toLowerCase();if (B!=\'p\'&&B!=\'div\') return;if (A.firstChild) return;FCKTools.AppendBogusBr(A);};FCK._ExecCheckEmptyBlock=function(){FCK._FillEmptyBlock(FCK.EditorDocument.body.firstChild);var A=FCKSelection.GetSelection();if (!A||A.rangeCount<1) return;var B=A.getRangeAt(0);FCK._FillEmptyBlock(B.startContainer);};\r\n
+var FCKConfig=FCK.Config={};if (document.location.protocol==\'file:\'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\\\/gi,\'/\');var sFullProtocol=document.location.href.match(/^(file\\:\\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+=\'localhost/\';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf(\'/\')+1);}else FCKConfig.BasePath=document.location.protocol+\'//\'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf(\'/\')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\\/$/,\'\');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+\'___Config\');if (!A) return;var B=A.value.split(\'&\');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split(\'=\');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D==\'CustomConfigurationsPath\') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseFloat(E);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {  }};if (!A.PluginsPath.EndsWith(\'/\')) A.PluginsPath+=\'/\';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||\'\').split(\',\');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+\'fck_editor.css\';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+\'fck_dialog.css\';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\\s\\S]*?-->/g,/<script[\\s\\S]*?<\\/script>/gi,/<noscript[\\s\\S]*?<\\/noscript>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return \'<!--{\'+B+C+\'}-->\';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\\\{"+this._CodeTag+"(\\\\d+)\\\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A=\'\';if (this.BodyId&&this.BodyId.length>0) A+=\' id="\'+this.BodyId+\'"\';if (this.BodyClass&&this.BodyClass.length>0) A+=\' class="\'+this.BodyClass+\'"\';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=\' \'+FCKConfig.BodyClass;};\r\n
 var FCKDebug={Output:function(){},OutputObject:function(){}};\r\n
-var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()==\'br\'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()==\'br\'&&(A.body.firstChild.getAttribute(\'_moz_dirty\')!=null||A.body.firstChild.getAttribute(\'type\')==\'_moz\')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!=\'\\xa0\'&&String(D.firstChild.tagName).toLowerCase()!=\'br\')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE&&B[i].nodeName==\'class\'){if (A.className.length>0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()==\'class\') B=\'className\';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},GetAttributeValue:function(A,B){var C=B;if (typeof B==\'string\') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C==\'style\') return A.style.cssText;else if (C==\'class\'||C.indexOf(\'on\')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=FCKTools.GetElementDocument(A).documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute(\'id\',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xffffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ \'element\':B,\'markers\':{} };A[E][\'markers\'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,\'_FCKMarkerId\');for (var j in A[D][\'markers\']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i][\'element\'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals([\'ul\',\'ol\'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals(\'li\')) continue;var G={ \'parent\':A,\'indent\':D,\'contents\':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals(\'li\')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,\'_FCK_ListArray_Index\',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals([\'ul\',\'ol\'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=FCKTools.GetElementDocument(A[C].parent);var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement(\'li\');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals([\'ul\',\'ol\'])) I=D.createElement(\'li\');else{if (FCKConfig.EnterMode.IEquals([\'div\',\'p\'])&&!J.grandparent.nodeName.IEquals(\'td\')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute(\'type\')==\'_moz\') I.removeChild(I.lastChild);I.appendChild(D.createElement(\'br\'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals([\'div\',\'p\'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { \'listNode\':E,\'nextIndex\':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?\'\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=\'+B+\')\');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,\'\').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,\'position\')!=\'static\') return B;if (B==FCKTools.GetElementDocument(B).documentElement&&currentWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,\'marginBottom\')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C[\'#\']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \\t\\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals(\'div\')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}};\r\n
+var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()==\'br\'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()==\'br\'&&(A.body.firstChild.getAttribute(\'_moz_dirty\')!=null||A.body.firstChild.getAttribute(\'type\')==\'_moz\')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!=\'\\xa0\'&&String(D.firstChild.tagName).toLowerCase()!=\'br\')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE){var C=B[i].nodeName;if (C.StartsWith(\'_fck\')){continue;};if (C==\'class\'){if (A.className.length>0) return true;continue;}};if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()==\'class\') B=\'className\';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},GetAttributeValue:function(A,B){var C=B;if (typeof B==\'string\') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C==\'style\') return A.style.cssText;else if (C==\'class\'||C.indexOf(\'on\')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=FCKTools.GetElementDocument(A).documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute(\'id\',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xffffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ \'element\':B,\'markers\':{} };A[E][\'markers\'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,\'_FCKMarkerId\');for (var j in A[D][\'markers\']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i][\'element\'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals([\'ul\',\'ol\'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals(\'li\')) continue;var G={ \'parent\':A,\'indent\':D,\'contents\':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals(\'li\')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,\'_FCK_ListArray_Index\',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals([\'ul\',\'ol\'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=FCKTools.GetElementDocument(A[C].parent);var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement(\'li\');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals([\'ul\',\'ol\'])) I=D.createElement(\'li\');else{if (FCKConfig.EnterMode.IEquals([\'div\',\'p\'])&&!J.grandparent.nodeName.IEquals(\'td\')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute(\'type\')==\'_moz\') I.removeChild(I.lastChild);I.appendChild(D.createElement(\'br\'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals([\'div\',\'p\'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { \'listNode\':E,\'nextIndex\':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?\'\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=\'+B+\')\');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,\'\').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,\'position\')!=\'static\') return B;if (B==FCKTools.GetElementDocument(B).documentElement&&currentWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,\'marginBottom\')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C[\'#\']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \\t\\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals(\'div\')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}};\r\n
 var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement(\'br\');B.setAttribute(\'type\',\'_moz\');return B;};FCKTools.FixCssUrls=function(A,B){if (!A||A.length==0) return B;return B.replace(/url\\s*\\(([\\s\'"]*)(.*?)([\\s"\']*)\\)/g,function(match,opener,path,closer){if (/^\\/|^\\w?:/.test(path)) return match;else return \'url(\'+opener+A+path+closer+\')\';});};FCKTools._GetUrlFixedCss=function(A,B){var C=A.match(/^([^|]+)\\|([\\s\\S]*)/);if (C) return FCKTools.FixCssUrls(C[1],C[2]);else return A;};FCKTools.AppendStyleSheet=function(A,B){if (!B) return [];if (typeof(B)==\'string\'){if (/[\\\\\\/\\.][^{}]*$/.test(B)){return this.AppendStyleSheet(A,B.split(\',\'));}else return [this.AppendStyleString(A,FCKTools._GetUrlFixedCss(B))];}else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.GetStyleHtml=(function(){var A=function(styleDef,markTemp){if (styleDef.length==0) return \'\';var B=markTemp?\' _fcktemp="true"\':\'\';return \'<style type="text/css"\'+B+\'>\'+styleDef+\'</style>\';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return \'\';var B=markTemp?\' _fcktemp="true"\':\'\';return \'<link href="\'+cssFileUrl+\'" type="text/css" rel="stylesheet" \'+B+\'/>\';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return \'\';if (typeof(cssFileOrArrayOrDef)==\'string\'){if (/[\\\\\\/\\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(\',\'),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E=\'\';for (var i=0;i<cssFileOrArrayOrDef.length;i++) E+=C(cssFileOrArrayOrDef[i],markTemp);return E;}}})();FCKTools.GetElementDocument=function (A){return A.ownerDocument||A.document;};FCKTools.GetElementWindow=function(A){return this.GetDocumentWindow(this.GetElementDocument(A));};FCKTools.GetDocumentWindow=function(A){if (FCKBrowserInfo.IsSafari&&!A.parentWindow) this.FixDocumentParentWindow(window.top);return A.parentWindow||A.defaultView;};FCKTools.FixDocumentParentWindow=function(A){if (A.document) A.document.parentWindow=A;for (var i=0;i<A.frames.length;i++) FCKTools.FixDocumentParentWindow(A.frames[i]);};FCKTools.HTMLEncode=function(A){if (!A) return \'\';A=A.replace(/&/g,\'&amp;\');A=A.replace(/</g,\'&lt;\');A=A.replace(/>/g,\'&gt;\');return A;};FCKTools.HTMLDecode=function(A){if (!A) return \'\';A=A.replace(/&gt;/g,\'>\');A=A.replace(/&lt;/g,\'<\');A=A.replace(/&amp;/g,\'&\');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="<p>";var H="</p>";var I="<br />";if (C){G="<li>";H="</li>";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()==\'p\'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};var n=B.charAt(i+1);if (n==\'\\r\'){i++;n=B.charAt(i+1);};if (n==\'\\n\'){i++;if (F) E.push(H);E.push(G);F=1;}else E.push(I);}};FCKTools._ProcessLineBreaksForDivMode=function(A,B,C,D,E){var F=0;var G="<div>";var H="</div>";if (C){G="<li>";H="</li>";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()==\'div\'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};if (F){if (E[E.length-1]==G){E.push("&nbsp;");};E.push(H);};E.push(G);F=1;};if (F) E.push(H);};FCKTools._ProcessLineBreaksForBrMode=function(A,B,C,D,E){var F=0;var G="<br />";var H="";if (C){G="<li>";H="</li>";F=1;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};if (F&&H.length) E.push (H);E.push(G);F=1;}};FCKTools.ProcessLineBreaks=function(A,B,C){var D=B.EnterMode.toLowerCase();var E=[];var F=0;var G=new A.FCKDomRange(A.FCK.EditorWindow);G.MoveToSelection();var H=G._Range.startContainer;while (H&&H.nodeType!=1) H=H.parentNode;if (H&&H.tagName.toLowerCase()==\'li\') F=1;if (D==\'p\') this._ProcessLineBreaksForPMode(A,C,F,H,E);else if (D==\'div\') this._ProcessLineBreaksForDivMode(A,C,F,H,E);else if (D==\'br\') this._ProcessLineBreaksForBrMode(A,C,F,H,E);return E.join("");};FCKTools.AddSelectOption=function(A,B,C){var D=FCKTools.GetElementDocument(A).createElement("OPTION");D.text=B;D.value=C;A.options.add(D);return D;};FCKTools.RunFunction=function(A,B,C,D){if (A) this.SetTimeout(A,0,B,C,D);};FCKTools.SetTimeout=function(A,B,C,D,E){return (E||window).setTimeout(function(){if (D) A.apply(C,[].concat(D));else A.apply(C);},B);};FCKTools.SetInterval=function(A,B,C,D,E){return (E||window).setInterval(function(){A.apply(C,D||[]);},B);};FCKTools.ConvertStyleSizeToHtml=function(A){return A.EndsWith(\'%\')?A:parseInt(A,10);};FCKTools.ConvertHtmlSizeToStyle=function(A){return A.EndsWith(\'%\')?A:(A+\'px\');};FCKTools.GetElementAscensor=function(A,B){var e=A;var C=","+B.toUpperCase()+",";while (e){if (C.indexOf(","+e.nodeName.toUpperCase()+",")!=-1) return e;e=e.parentNode;};return null;};FCKTools.CreateEventListener=function(A,B){var f=function(){var C=[];for (var i=0;i<arguments.length;i++) C.push(arguments[i]);A.apply(this,C.concat(B));};return f;};FCKTools.IsStrictMode=function(A){return (\'CSS1Compat\'==(A.compatMode||(FCKBrowserInfo.IsSafari?\'CSS1Compat\':null)));};FCKTools.ArgumentsToArray=function(A,B,C){B=B||0;C=C||A.length;var D=[];for (var i=B;i<B+C&&i<A.length;i++) D.push(A[i]);return D;};FCKTools.CloneObject=function(A){var B=function() {};B.prototype=A;return new B;};FCKTools.AppendBogusBr=function(A){if (!A) return;var B=this.GetLastItem(A.getElementsByTagName(\'br\'));if (!B||(B.getAttribute(\'type\',2)!=\'_moz\'&&B.getAttribute(\'_moz_dirty\')==null)){var C=this.GetElementDocument(A);if (FCKBrowserInfo.IsOpera) A.appendChild(C.createTextNode(\'\'));else A.appendChild(this.CreateBogusBR(C));}};FCKTools.GetLastItem=function(A){if (A.length>0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,\'position\')!=\'static\'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!=\'form\') return [];var B=[];var C=[\'style\',\'className\'];for (var i=0;i<C.length;i++){var D=C[i];if (A.elements.namedItem(D)){var E=A.elements.namedItem(D);B.push([E,E.nextSibling]);A.removeChild(E);}};return B;};FCKTools.RestoreFormStyles=function(A,B){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!=\'form\') return;if (B.length>0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i<A.length;i++){var B=A[i];for (var p in B) o[p]=B[p];};return o;};FCKTools.IsArray=function(A){return (A instanceof Array);};FCKTools.AppendLengthProperty=function(A,B){var C=0;for (var n in A) C++;return A[B||\'length\']=C;};FCKTools.NormalizeCssText=function(A){var B=document.createElement(\'span\');B.style.cssText=A;return B.style.cssText;};FCKTools.Bind=function(A,B){return function(){ return B.apply(A,arguments);};};FCKTools.GetVoidUrl=function(){if (FCK_IS_CUSTOM_DOMAIN) return "javascript: void( function(){document.open();document.write(\'<html><head><title></title></head><body></body></html>\');document.domain = \'"+FCK_RUNTIME_DOMAIN+"\';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: \'\';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText=\'margin:0;padding:0;border:0;background-color:transparent;background-image:none;\';};\r\n
 FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){if (FCKBrowserInfo.IsGecko) A.style.MozUserSelect=\'none\';else if (FCKBrowserInfo.IsSafari) A.style.KhtmlUserSelect=\'none\';else A.style.userSelect=\'none\';};FCKTools._AppendStyleSheet=function(A,B){var e=A.createElement(\'LINK\');e.rel=\'stylesheet\';e.type=\'text/css\';e.href=B;A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools.AppendStyleString=function(A,B){if (!B) return null;var e=A.createElement("STYLE");e.appendChild(A.createTextNode(B));A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools.ClearElementAttributes=function(A){for (var i=0;i<A.attributes.length;i++){A.removeAttribute(A.attributes[i].name,0);}};FCKTools.GetAllChildrenIds=function(A){var B=[];var C=function(parent){for (var i=0;i<parent.childNodes.length;i++){var D=parent.childNodes[i].id;if (D&&D.length>0) B[B.length]=D;C(parent.childNodes[i]);}};C(A);return B;};FCKTools.RemoveOuterTags=function(e){var A=e.ownerDocument.createDocumentFragment();for (var i=0;i<e.childNodes.length;i++) A.appendChild(e.childNodes[i].cloneNode(true));e.parentNode.replaceChild(A,e);};FCKTools.CreateXmlObject=function(A){switch (A){case \'XmlHttp\':return new XMLHttpRequest();case \'DOMDocument\':var B=(new DOMParser()).parseFromString(\'<tmp></tmp>\',\'text/xml\');FCKDomTools.RemoveNode(B.firstChild);return B;};return null;};FCKTools.GetScrollPosition=function(A){return { X:A.pageXOffset,Y:A.pageYOffset };};FCKTools.AddEventListener=function(A,B,C){A.addEventListener(B,C,false);};FCKTools.RemoveEventListener=function(A,B,C){A.removeEventListener(B,C,false);};FCKTools.AddEventListenerEx=function(A,B,C,D){A.addEventListener(B,function(e){C.apply(A,[e].concat(D||[]));},false);};FCKTools.GetViewPaneSize=function(A){return { Width:A.innerWidth,Height:A.innerHeight };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className=\'\';};var D=A.getAttribute(\'style\');if (D&&D.length>0){C.Inline=D;A.setAttribute(\'style\',\'\',0);};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||\'\';if (B.Inline) A.setAttribute(\'style\',B.Inline,0);else A.removeAttribute(\'style\',0);FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=function(id){return A.document.getElementById(id);};};FCKTools.AppendElement=function(A,B){return A.appendChild(A.ownerDocument.createElement(B));};FCKTools.GetElementPosition=function(A,B){var c={ X:0,Y:0 };var C=B||window;var D=FCKTools.GetElementWindow(A);var E=null;while (A){var F=D.getComputedStyle(A,\'\').position;if (F&&F!=\'static\'&&A.style.zIndex!=FCKConfig.FloatingPanelsZIndex) break;c.X+=A.offsetLeft-A.scrollLeft;c.Y+=A.offsetTop-A.scrollTop;if (!FCKBrowserInfo.IsOpera){var G=E;while (G&&G!=A){c.X-=G.scrollLeft;c.Y-=G.scrollTop;G=G.parentNode;}};E=A;if (A.offsetParent) A=A.offsetParent;else{if (D!=C){A=D.frameElement;E=null;if (A) D=FCKTools.GetElementWindow(A);}else{c.X+=A.scrollLeft;c.Y+=A.scrollTop;break;}}};return c;};\r\n
-var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B=\'window.FCKeditorAPI = {Version : "2.6.4.1",VersionBuild : "23187",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue\t: window.FCKeditorAPI && window.FCKeditorAPI._FunctionQueue || {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}\';if (A.execScript) A.execScript(B,\'JavaScript\');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement(\'script\');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,\'submit\',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)==\'function\'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,\'unload\',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,\'beforeunload\',FCKeditorAPI_ConfirmCleanup);\r\n
+var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B=\'window.FCKeditorAPI = {Version : "2.6.5",VersionBuild : "23959",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue\t: window.FCKeditorAPI && window.FCKeditorAPI._FunctionQueue || {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}\';if (A.execScript) A.execScript(B,\'JavaScript\');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement(\'script\');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,\'submit\',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)==\'function\'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,\'unload\',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,\'beforeunload\',FCKeditorAPI_ConfirmCleanup);\r\n
 var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)==\'string\') A=A.split(\';\');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i<A.length;i++){var B=document.createElement(\'img\');FCKTools.AddEventListenerEx(B,\'load\',_FCKImagePreloader_OnImage,this);FCKTools.AddEventListenerEx(B,\'error\',_FCKImagePreloader_OnImage,this);B.src=A[i];_FCKImagePreloader_ImageCache.push(B);}}};var _FCKImagePreloader_ImageCache=[];function _FCKImagePreloader_OnImage(A,B){if ((--B._PreloadCount)==0&&B.OnComplete) B.OnComplete();};\r\n
-var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\\s\\S]*\\<body[^\\>]*\\>)/i,AfterBody:/(\\<\\/body\\>[\\s\\S]*$)/i,ToReplace:/___fcktoreplace:([\\w]+)/ig,MetaHttpEquiv:/http-equiv\\s*=\\s*["\']?([^"\' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\\s|>]/i,HtmlOpener:/<html\\s?[^>]*>/i,HeadOpener:/<head\\s?[^>]*>/i,HeadCloser:/<\\/head\\s*>/i,FCK_Class:/\\s*FCK__[^ ]*(?=\\s+|$)/,ElementName:/(^[a-z_:][\\w.\\-:]*\\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\\/>/g,EmptyParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>\\s*(<\\/\\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>(?:\\s*|&nbsp;)(<\\/\\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\\?-\\:/g,ProtectUrlsImg:/<img(?=\\s).*?\\ssrc=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsA:/<a(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,Html4DocType:/HTML 4\\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\\>]+ on\\w+[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")[\\s\\S]+?\\>/g,EventAttributes:/\\s(on\\w+)[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")([\\s\\S]*?)\\2/g,ProtectedEvents:/\\s\\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\\S+\\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\\/>/gi,StyleVariableAttName:/#\\(\\s*("|\')(.+?)\\1[^\\)]*\\s*\\)/g,RegExp:/^\\/(.*)\\/([gim]*)$/,HtmlTag:/<[^\\s<>](?:"[^"]*"|\'[^\']*\'|[^<])*>/};\r\n
+var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\\s\\S]*\\<body[^\\>]*\\>)/i,AfterBody:/(\\<\\/body\\>[\\s\\S]*$)/i,ToReplace:/___fcktoreplace:([\\w]+)/ig,MetaHttpEquiv:/http-equiv\\s*=\\s*["\']?([^"\' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\\s|>]/i,HtmlOpener:/<html\\s?[^>]*>/i,HeadOpener:/<head\\s?[^>]*>/i,HeadCloser:/<\\/head\\s*>/i,FCK_Class:/\\s*FCK__[^ ]*(?=\\s+|$)/,ElementName:/(^[a-z_:][\\w.\\-:]*\\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\\/>/g,EmptyParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>\\s*(<\\/\\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>(?:\\s*|&nbsp;|&#160;)(<\\/\\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\\?-\\:/g,ProtectUrlsImg:/<img(?=\\s).*?\\ssrc=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsA:/<a(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,Html4DocType:/HTML 4\\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\\>]+ on\\w+[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")[\\s\\S]+?\\>/g,EventAttributes:/\\s(on\\w+)[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")([\\s\\S]*?)\\2/g,ProtectedEvents:/\\s\\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\\S+\\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\\/>/gi,StyleVariableAttName:/#\\(\\s*("|\')(.+?)\\1[^\\)]*\\s*\\)/g,RegExp:/^\\/(.*)\\/([gim]*)$/,HtmlTag:/<[^\\s<>](?:"[^"]*"|\'[^\']*\'|[^<])*>/};\r\n
 var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },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 },InlineNonEmptyElements:{ a:1,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 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },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 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }};\r\n
 var FCKLanguageManager=FCK.Language={AvailableLanguages:{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\'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i<e.length;i++){if ((E=e[i].getAttribute(\'fckLang\'))){if ((s=FCKLang[E])){if (D) s=FCKTools.HTMLEncode(s);e[i][C]=s;}}}},TranslatePage:function(A){this.TranslateElements(A,\'INPUT\',\'value\');this.TranslateElements(A,\'SPAN\',\'innerHTML\');this.TranslateElements(A,\'LABEL\',\'innerHTML\');this.TranslateElements(A,\'OPTION\',\'innerHTML\',true);this.TranslateElements(A,\'LEGEND\',\'innerHTML\');},Initialize:function(){if (this.AvailableLanguages[FCKConfig.DefaultLanguage]) this.DefaultLanguage=FCKConfig.DefaultLanguage;else this.DefaultLanguage=\'en\';this.ActiveLanguage={};this.ActiveLanguage.Code=this.GetActiveLanguage();this.ActiveLanguage.Name=this.AvailableLanguages[this.ActiveLanguage.Code];}};\r\n
 var FCKXHtmlEntities={};FCKXHtmlEntities.Initialize=function(){if (FCKXHtmlEntities.Entities) return;var A=\'\';var B,e;if (FCKConfig.ProcessHTMLEntities){FCKXHtmlEntities.Entities={\' \':\'nbsp\',\'¡\':\'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\',\'ƒ\':\'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\',\'\\u2308\':\'lceil\',\'\\u2309\':\'rceil\',\'\\u230a\':\'lfloor\',\'\\u230b\':\'rfloor\',\'\\u2329\':\'lang\',\'\\u232a\':\'rang\',\'◊\':\'loz\',\'♠\':\'spades\',\'♣\':\'clubs\',\'♥\':\'hearts\',\'♦\':\'diams\',\'"\':\'quot\',\'>\':\'gt\',\'ˆ\':\'circ\',\'˜\':\'tilde\',\' \':\'ensp\',\' \':\'emsp\',\' \':\'thinsp\',\'‌\':\'zwnj\',\'‍\':\'zwj\',\'‎\':\'lrm\',\'‏\':\'rlm\',\'–\':\'ndash\',\'—\':\'mdash\',\'‘\':\'lsquo\',\'’\':\'rsquo\',\'‚\':\'sbquo\',\'“\':\'ldquo\',\'”\':\'rdquo\',\'„\':\'bdquo\',\'†\':\'dagger\',\'‡\':\'Dagger\',\'‰\':\'permil\',\'‹\':\'lsaquo\',\'›\':\'rsaquo\',\'€\':\'euro\'};for (e in FCKXHtmlEntities.Entities) A+=e;if (FCKConfig.IncludeLatinEntities){B={\'À\':\'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\'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;};if (FCKConfig.IncludeGreekEntities){B={\'Α\':\'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\',\'\\u03d1\':\'thetasym\',\'\\u03d2\':\'upsih\',\'\\u03d6\':\'piv\'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;}}else{FCKXHtmlEntities.Entities={\'>\':\'gt\'};A=\'>\';A+=\' \';};var C=\'[\'+A+\']\';if (FCKConfig.ProcessNumericEntities) C=\'[^ -~]|\'+C;var D=FCKConfig.AdditionalNumericEntities;if (D&&D.length>0) C+=\'|\'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,\'g\');};\r\n
-var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?\'nbsp\':\'#160\');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject(\'DOMDocument\');this.MainNode=this.XML.appendChild(this.XML.createElement(\'xhtml\'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,\'<xhtml>\');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,\'>\');else E=E.replace(FCKRegexLib.SpaceNoClose,\' />\');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,\'&\');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp(\'___FCKsi___\'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,\'&\');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C=\'\';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,\'___FCKAmp___\');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!=\'pre\'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName==\'br\') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(\'\'));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()==\'br\'&&B.parentNode.tagName.toLowerCase()==\'pre\'){var C=\'\\r\';if (B==B.parentNode.firstChild) C+=\'\\r\';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute(\'_fckfakelement\')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&(B.hasAttribute(\'_moz_editor_bogus_node\')||B.getAttribute(\'type\')==\'_moz\')){if (B.nextSibling) return false;else{B.removeAttribute(\'_moz_editor_bogus_node\');B.removeAttribute(\'type\');}};if (B.getAttribute(\'_fcktemp\')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!=\'HTML\'&&B.scopeName!=\'FCK\') D=B.scopeName.toLowerCase()+\':\'+D;}else{if (D.StartsWith(\'fck:\')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals(\'pre\')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(\' \'));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return \'___FCKsi___\'+(FCKXHtml.SpecialBlocks.push(A)-1);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode(\'#?-:\'+B+\';\'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||(\'#\'+A.charCodeAt(0));return \'#?-:\'+B+\';\';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem(\'coords\')){var D=B.getAttribute(\'coords\',2);if (D&&D!=\'0,0,0\') FCKXHtml._AppendAttribute(A,\'coords\',D);};if (!A.attributes.getNamedItem(\'shape\')){var E=B.getAttribute(\'shape\',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,\'shape\',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute(\'spellcheck\');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\\s_fcksavedurl="[^"]*"/g,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem(\'alt\')) FCKXHtml._AppendAttribute(A,\'alt\',\'\');var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'src\',C);if (B.style.width) A.removeAttribute(\'width\');if (B.style.height) A.removeAttribute(\'height\');return A;},li:function(A,B,C){if (C.nodeName.IEquals([\'ul\',\'ol\'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement(\'ul\');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)}\twhile (B&&B.nodeName.toLowerCase()==\'li\') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()==\'LI\'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(\'\\r\\n\')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/javascript\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/css\');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\\r\\n|\\n|\\r)/,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol;\r\n
+var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?\'nbsp\':\'#160\');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject(\'DOMDocument\');this.MainNode=this.XML.appendChild(this.XML.createElement(\'xhtml\'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);if (FCKBrowserInfo.IsIE) FCKXHtml._RemoveXHtmlJobProperties(A);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,\'<xhtml>\');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,\'>\');else E=E.replace(FCKRegexLib.SpaceNoClose,\' />\');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,\'&\');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp(\'___FCKsi___\'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,\'&\');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C=\'\';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,\'___FCKAmp___\');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!=\'pre\'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName==\'br\') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(\'\'));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()==\'br\'&&B.parentNode.tagName.toLowerCase()==\'pre\'){var C=\'\\r\';if (B==B.parentNode.firstChild) C+=\'\\r\';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute(\'_fckfakelement\')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&(B.hasAttribute(\'_moz_editor_bogus_node\')||B.getAttribute(\'type\')==\'_moz\')){if (B.nextSibling) return false;else{B.removeAttribute(\'_moz_editor_bogus_node\');B.removeAttribute(\'type\');}};if (B.getAttribute(\'_fcktemp\')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!=\'HTML\'&&B.scopeName!=\'FCK\') D=B.scopeName.toLowerCase()+\':\'+D;}else{if (D.StartsWith(\'fck:\')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals(\'pre\')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(\' \'));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return \'___FCKsi___\'+(FCKXHtml.SpecialBlocks.push(A)-1);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode(\'#?-:\'+B+\';\'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||(\'#\'+A.charCodeAt(0));return \'#?-:\'+B+\';\';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem(\'coords\')){var D=B.getAttribute(\'coords\',2);if (D&&D!=\'0,0,0\') FCKXHtml._AppendAttribute(A,\'coords\',D);};if (!A.attributes.getNamedItem(\'shape\')){var E=B.getAttribute(\'shape\',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,\'shape\',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute(\'spellcheck\');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\\s_fcksavedurl="[^"]*"/g,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem(\'alt\')) FCKXHtml._AppendAttribute(A,\'alt\',\'\');var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'src\',C);if (B.style.width) A.removeAttribute(\'width\');if (B.style.height) A.removeAttribute(\'height\');return A;},li:function(A,B,C){if (C.nodeName.IEquals([\'ul\',\'ol\'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement(\'ul\');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)}\twhile (B&&B.nodeName.toLowerCase()==\'li\') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()==\'LI\'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(\'\\r\\n\')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/javascript\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/css\');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\\r\\n|\\n|\\r)/,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol;\r\n
 FCKXHtml._GetMainXmlString=function(){return (new XMLSerializer()).serializeToString(this.MainNode);};FCKXHtml._AppendAttributes=function(A,B,C){var D=B.attributes;for (var n=0;n<D.length;n++){var E=D[n];if (E.specified){var F=E.nodeName.toLowerCase();var G;if (F.StartsWith(\'_fck\')) continue;else if (F.indexOf(\'_moz\')==0) continue;else if (F==\'class\'){G=E.nodeValue.replace(FCKRegexLib.FCK_Class,\'\');if (G.length==0) continue;}else if (E.nodeValue===true) G=F;else G=B.getAttribute(F,2);this._AppendAttribute(C,F,G);}}};if (FCKBrowserInfo.IsOpera){FCKXHtml.TagProcessors[\'head\']=function(A,B){FCKXHtml.XML._HeadElement=A;A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'meta\']=function(A,B,C){if (B.parentNode.nodeName.toLowerCase()!=\'head\'){var D=FCKXHtml.XML._HeadElement;if (D&&C!=D){delete B._fckxhtmljob;FCKXHtml._AppendNode(D,B);return null;}};return A;}};if (FCKBrowserInfo.IsGecko){FCKXHtml.TagProcessors[\'link\']=function(A,B){if (B.href.substr(0,9).toLowerCase()==\'chrome://\') return false;return A;}};\r\n
 var FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\\>]*\\>/gi;A.BlocksCloser=/\\<\\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\\>]*\\>/gi;A.NewLineTags=/\\<(BR|HR)[^\\>]*\\>/gi;A.MainTags=/\\<\\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\\>]*\\>/gi;A.LineSplitter=/\\s*\\n+\\s*/g;A.IncreaseIndent=/^\\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \\/\\>]/i;A.DecreaseIndent=/^\\<\\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \\>]/i;A.FormatIndentatorRemove=new RegExp(\'^\'+FCKConfig.FormatIndentator);A.ProtectedTags=/(<PRE[^>]*>)([\\s\\S]*?)(<\\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+\'___FCKpd___\'+(FCKCodeFormatter.ProtectedData.push(C)-1)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,\'\\n$&\');B=B.replace(this.Regex.BlocksCloser,\'$&\\n\');B=B.replace(this.Regex.NewLineTags,\'$&\\n\');B=B.replace(this.Regex.MainTags,\'\\n$&\\n\');var C=\'\';var D=B.split(this.Regex.LineSplitter);B=\'\';for (var i=0;i<D.length;i++){var E=D[i];if (E.length==0) continue;if (this.Regex.DecreaseIndent.test(E)) C=C.replace(this.Regex.FormatIndentatorRemove,\'\');B+=C+E+\'\\n\';if (this.Regex.IncreaseIndent.test(E)) C+=FCKConfig.FormatIndentator;};for (var j=0;j<FCKCodeFormatter.ProtectedData.length;j++){var F=new RegExp(\'___FCKpd___\'+j);B=B.replace(F,FCKCodeFormatter.ProtectedData[j].replace(/\\$/g,\'$$$$\'));};return B.Trim();};\r\n
 var FCKUndo={};FCKUndo.SavedData=[];FCKUndo.CurrentIndex=-1;FCKUndo.TypesCount=0;FCKUndo.Changed=false;FCKUndo.MaxTypes=25;FCKUndo.Typing=false;FCKUndo.SaveLocked=false;FCKUndo._GetBookmark=function(){FCKSelection.Restore();var A=new FCKDomRange(FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=A.CreateBookmark();var C=FCK.EditorDocument.body.innerHTML;A.MoveToBookmark(B);return [B,C];};return A.CreateBookmark2();};FCKUndo._SelectBookmark=function(A){if (!A) return;var B=new FCKDomRange(FCK.EditorWindow);if (A instanceof Object){if (FCKBrowserInfo.IsIE) B.MoveToBookmark(A[0]);else B.MoveToBookmark2(A);try{B.Select();}catch (e){B.MoveToPosition(FCK.EditorDocument.body,4);B.Select();}}};FCKUndo._CompareCursors=function(A,B){for (var i=0;i<Math.min(A.length,B.length);i++){if (A[i]<B[i]) return-1;else if (A[i]>B[i]) return 1;};if (A.length<B.length) return-1;else if (A.length>B.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;};\r\n
-var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=\'<script>document.domain="\'+FCK_RUNTIME_DOMAIN+\'";</script>\'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\\s*\\/?>(?!\\s*<\\/base>)/gi,\'$1></base>\');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+\'&nbsp;\'+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G=\'<br type="_moz">\';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement(\'iframe\');var I=\'<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>\';H.frameBorder=0;H.style.width=H.style.height=\'100%\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,\'<head>\'+I);H.src=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )\';}else if (!FCKBrowserInfo.IsGecko){H.src=\'javascript:void(0)\';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,\'<head>\'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!=\'completed\'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement(\'textarea\');L.className=\'SourceField\';L.dir=\'ltr\';FCKDomTools.SetElementStyles(L,{width:\'100%\',height:\'100%\',border:\'none\',resize:\'none\',outline:\'none\'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode=\'on\';A.execCommand(\'enableObjectResizing\',false,!FCKConfig.DisableObjectResizing);A.execCommand(\'enableInlineTableEditing\',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}};\r\n
+var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=\'<script>document.domain="\'+FCK_RUNTIME_DOMAIN+\'";</script>\'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\\s*\\/?>(?!\\s*<\\/base>)/gi,\'$1></base>\');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+\'&nbsp;\'+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G=\'<br type="_moz">\';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement(\'iframe\');var I=\'<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>\';H.frameBorder=0;H.style.width=H.style.height=\'100%\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,\'<head>\'+I);H.src=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )\';}else if (!FCKBrowserInfo.IsGecko){H.src=\'javascript:void(0)\';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,\'<head>\'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!=\'completed\'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement(\'textarea\');L.className=\'SourceField\';L.dir=\'ltr\';FCKDomTools.SetElementStyles(L,{width:\'100%\',height:\'100%\',border:\'none\',resize:\'none\',outline:\'none\'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode=\'on\';A.execCommand(\'enableObjectResizing\',false,!FCKConfig.DisableObjectResizing);A.execCommand(\'enableInlineTableEditing\',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document){this.Document.selection.empty();this.Document.body.innerHTML="";};this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}};\r\n
 var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,\'keydown\',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,\'keypress\',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i<arguments.length;i++){var A=arguments[i];if (!A) continue;if (typeof(A[0])==\'object\') this.SetKeystrokes.apply(this,A);else{if (A.length==1) delete this.Keystrokes[A[0]];else this.Keystrokes[A[0]]=A[1]===true?true:A;}}};function _FCKKeystrokeHandler_OnKeyDown(A,B){var C=A.keyCode||A.which;var D=0;if (A.ctrlKey||A.metaKey) D+=CTRL;if (A.shiftKey) D+=SHIFT;if (A.altKey) D+=ALT;var E=C+D;var F=B._CancelIt=false;var G=B.Keystrokes[E];if (G){if (G===true||!(B.OnKeystroke&&B.OnKeystroke.apply(B,G))) return true;F=true;};if (F||(B.CancelCtrlDefaults&&D==CTRL&&(C<33||C>40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;};\r\n
 FCK.DTD=(function(){var X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;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};return {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:J,ins:P,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:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,\'var\':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})();\r\n
 var FCKStyle=function(A){this.Element=(A.Element||\'span\').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B==\'#\'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B,C){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B,C);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B,C){var D;var E=this._GetAttribsForComparison();var F=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var D=A.CreateBookmark(true);var H=A.GetBookmarkNode(D,true);var I=new FCKElementPath(H.parentNode);var J=[];var K=!FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var i=0;i<I.Elements.length;i++){var O=I.Elements[i];if (this.CheckElementRemovable(O)){if (L&&!FCKDomTools.CheckIsEmptyElement(O,function(el){return (el!=H);})){M=O;N=J.length-1;}else{var P=O.nodeName.toLowerCase();if (P==this.Element){for (var Q in E){if (FCKDomTools.HasAttribute(O,Q)){switch (Q){case \'style\':this._RemoveStylesFromElement(O);break;case \'class\':if (FCKDomTools.GetAttributeValue(O,Q)!=this.GetFinalAttributeValue(Q)) continue;default:FCKDomTools.RemoveAttribute(O,Q);}}}};this._RemoveOverrides(O,F[P]);if (this.GetType()==1) this._RemoveNoAttribElement(O);}}else if (L) J.push(O);L=L&&((K&&!FCKDomTools.GetNextSibling(O))||(!K&&!FCKDomTools.GetPreviousSibling(O)));if (M&&(!L||(i==I.Elements.length-1))){var R=FCKDomTools.RemoveNode(H);for (var j=0;j<=N;j++){var S=FCKDomTools.CloneElement(J[j]);S.appendChild(R);R=S;};if (K) FCKDomTools.InsertAfterNode(M,R);else M.parentNode.insertBefore(R,M);L=false;M=null;}};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);return;};A.Expand(\'inline_elements\');D=A.CreateBookmark(true);var T=A.GetBookmarkNode(D,true);var U=A.GetBookmarkNode(D,false);A.Release(true);var I=new FCKElementPath(T);var X=I.Elements;var O;for (var i=1;i<X.length;i++){O=X[i];if (O==I.Block||O==I.BlockLimit) break;if (this.CheckElementRemovable(O)) FCKDomTools.BreakParent(T,O,A);};I=new FCKElementPath(U);X=I.Elements;for (var i=1;i<X.length;i++){O=X[i];if (O==I.Block||O==I.BlockLimit) break;b=O.nodeName.toLowerCase();if (this.CheckElementRemovable(O)) FCKDomTools.BreakParent(U,O,A);};var Z=FCKDomTools.GetNextSourceNode(T,true);while (Z){var a=FCKDomTools.GetNextSourceNode(Z);if (Z.nodeType==1){var b=Z.nodeName.toLowerCase();var c=(b==this.Element);if (c){for (var Q in E){if (FCKDomTools.HasAttribute(Z,Q)){switch (Q){case \'style\':this._RemoveStylesFromElement(Z);break;case \'class\':if (FCKDomTools.GetAttributeValue(Z,Q)!=this.GetFinalAttributeValue(Q)) continue;default:FCKDomTools.RemoveAttribute(Z,Q);}}}}else c=!!F[b];if (c){this._RemoveOverrides(Z,F[b]);this._RemoveNoAttribElement(Z);}};if (a==U) break;Z=a;};this._FixBookmarkStart(T);if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},CheckElementRemovable:function(A,B){if (!A) return false;var C=A.nodeName.toLowerCase();if (C==this.Element){if (!B&&!FCKDomTools.HasAttributes(A)) return true;var D=this._GetAttribsForComparison();var E=(D._length==0);for (var F in D){if (F==\'_length\') continue;if (this._CompareAttributeValues(F,FCKDomTools.GetAttributeValue(A,F),(this.GetFinalAttributeValue(F)||\'\'))){E=true;if (!B) break;}else{E=false;if (B) return false;}};if (E) return true;};var G=this._GetOverridesForComparison()[C];if (G){if (!(D=G.Attributes)) return true;for (var i=0;i<D.length;i++){var H=D[i][0];if (FCKDomTools.HasAttribute(A,H)){var I=D[i][1];if (I==null||(typeof I==\'string\'&&FCKDomTools.GetAttributeValue(A,H)==I)||I.test(FCKDomTools.GetAttributeValue(A,H))) return true;}}};return false;},CheckActive:function(A){switch (this.GetType()){case 0:return this.CheckElementRemovable(A.Block||A.BlockLimit,true);case 1:var B=A.Elements;for (var i=0;i<B.length;i++){var C=B[i];if (C==A.Block||C==A.BlockLimit) continue;if (this.CheckElementRemovable(C,true)) return true;}};return false;},RemoveFromElement:function(A){var B=this._GetAttribsForComparison();var C=this._GetOverridesForComparison();var D=A.getElementsByTagName(this.Element);for (var i=D.length-1;i>=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case \'style\':this._RemoveStylesFromElement(E);break;case \'class\':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C=\'(^|;)\\\\s*(\'+C.replace(/\\s*([^ ]+):.*?(;|$)/g,\'$1|\').replace(/\\|$/,\'\')+\'):[^;]+\';var D=new RegExp(C,\'gi\');B=B.replace(D,\'\').Trim();if (B.length==0||B==\';\') FCKDomTools.RemoveAttribute(A,\'style\');else A.style.cssText=B.replace(D,\'\');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i<C.length;i++){var D=C[i][0];if (FCKDomTools.HasAttribute(A,D)){var E=C[i][1];if (E==null||(E.test&&E.test(FCKDomTools.GetAttributeValue(A,D)))||(typeof E==\'string\'&&FCKDomTools.GetAttributeValue(A,D)==E)) FCKDomTools.RemoveAttribute(A,D);}}}},_RemoveNoAttribElement:function(A){if (!FCKDomTools.HasAttributes(A)){var B=A.firstChild;var C=A.lastChild;FCKDomTools.RemoveNode(A,true);this._MergeSiblings(B);if (B!=C) this._MergeSiblings(C);}},BuildElement:function(A,B){var C=B||A.createElement(this.Element);var D=this._StyleDesc.Attributes;var E;if (D){for (var F in D){E=this.GetFinalAttributeValue(F);if (F.toLowerCase()==\'class\') C.className=E;else C.setAttribute(F,E);}};if (this._GetStyleText().length>0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A==\'style\'&&B&&C){B=B.replace(/;$/,\'\').toLowerCase();C=C.replace(/;$/,\'\').toLowerCase();};return (B==C||((B===null||B===\'\')&&(C===null||C===\'\')))},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A==\'style\') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_FromPre:function(A,B,C){var D=B.innerHTML;D=D.replace(/(\\r\\n|\\r)/g,\'\\n\');D=D.replace(/^[ \\t]*\\n/,\'\');D=D.replace(/\\n$/,\'\');D=D.replace(/^[ \\t]+|[ \\t]+$/g,function(match,offset,s){if (match.length==1) return \'&nbsp;\';else if (offset==0) return new Array(match.length).join(\'&nbsp;\')+\' \';else return \' \'+new Array(match.length).join(\'&nbsp;\');});var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag){value=value.replace(/\\n/g,\'<br>\');value=value.replace(/[ \\t]{2,}/g,function (match){return new Array(match.length).join(\'&nbsp;\')+\' \';});};F.push(value);});C.innerHTML=F.join(\'\');return C;},_ToPre:function(A,B,C){var D=B.innerHTML.Trim();D=D.replace(/[ \\t\\r\\n]*(<br[^>]*>)[ \\t\\r\\n]*/gi,\'<br />\');var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag) value=value.replace(/([ \\t\\n\\r]+|&nbsp;)/g,\' \');else if (isTag&&value==\'<br />\') value=\'\\n\';F.push(value);});if (FCKBrowserInfo.IsIE){var G=A.createElement(\'div\');G.appendChild(C);C.outerHTML=\'<pre>\\n\'+F.join(\'\')+\'</pre>\';C=G.removeChild(G.firstChild);}else C.innerHTML=F.join(\'\');return C;},_CheckAndMergePre:function(A,B){if (A!=FCKDomTools.GetPreviousSourceElement(B,true)) return;var C=A.innerHTML.replace(/\\n$/,\'\')+\'\\n\\n\'+B.innerHTML.replace(/^\\n/,\'\');if (FCKBrowserInfo.IsIE) B.outerHTML=\'<pre>\'+C+\'</pre>\';else B.innerHTML=C;FCKDomTools.RemoveNode(A);},_CheckAndSplitPre:function(A){var B;var C=A.firstChild;C=C&&C.nextSibling;while (C){var D=C.nextSibling;if (D&&D.nextSibling&&C.nodeName.IEquals(\'br\')&&D.nodeName.IEquals(\'br\')){FCKDomTools.RemoveNode(C);C=D.nextSibling;FCKDomTools.RemoveNode(D);B=FCKDomTools.InsertAfterNode(B||A,FCKDomTools.CloneElement(A));continue;};if (B){C=C.previousSibling;FCKDomTools.MoveNode(C.nextSibling,B);};C=C.nextSibling;}},_ApplyBlockStyle:function(A,B,C){var D;if (B) D=A.CreateBookmark();var E=new FCKDomRangeIterator(A);E.EnforceRealBlocks=true;var F;var G=A.Window.document;var H;while((F=E.GetNextParagraph())){var I=this.BuildElement(G);var J=I.nodeName.IEquals(\'pre\');var K=F.nodeName.IEquals(\'pre\');var L=J&&!K;var M=!J&&K;if (L) I=this._ToPre(G,F,I);else if (M) I=this._FromPre(G,F,I);else FCKDomTools.MoveChildren(F,I);F.parentNode.insertBefore(I,F);FCKDomTools.RemoveNode(F);if (J){if (H) this._CheckAndMergePre(H,I);H=I;}else if (M) this._CheckAndSplitPre(I);};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},_ApplyInlineStyle:function(A,B,C){var D=A.Window.document;if (A.CheckIsCollapsed()){var E=this.BuildElement(D);A.InsertNode(E);A.MoveToPosition(E,2);A.Select();return;};var F=this.Element;var G=FCK.DTD[F]||FCK.DTD.span;var H=this._GetAttribsForComparison();var I;A.Expand(\'inline_elements\');var J=A.CreateBookmark(true);var K=A.GetBookmarkNode(J,true);var L=A.GetBookmarkNode(J,false);A.Release(true);var M=FCKDomTools.GetNextSourceNode(K,true);while (M){var N=false;var O=M.nodeType;var P=O==1?M.nodeName.toLowerCase():null;if (!P||G[P]){if ((FCK.DTD[M.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[F]||!FCK.DTD[F]){if (!A.CheckHasRange()) A.SetStart(M,3);if (O!=1||M.childNodes.length==0){var Q=M;var R=Q.parentNode;while (Q==R.lastChild&&G[R.nodeName.toLowerCase()]){Q=R;};A.SetEnd(Q,4);if (Q==Q.parentNode.lastChild&&!G[Q.parentNode.nodeName.toLowerCase()]) N=true;}else{A.SetEnd(M,3);}}else N=true;}else N=true;M=FCKDomTools.GetNextSourceNode(M);if (M==L){M=null;N=true;};if (N&&A.CheckHasRange()&&!A.CheckIsCollapsed()){I=this.BuildElement(D);A.ExtractContents().AppendTo(I);if (I.innerHTML.RTrim().length>0){A.InsertNode(I);this.RemoveFromElement(I);this._MergeSiblings(I,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) I.normalize();};A.Release(true);}};this._FixBookmarkStart(K);if (B) A.SelectBookmark(J);if (C) A.MoveToBookmark(J);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute(\'_fck_bookmark\'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute(\'_fck_bookmark\'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes[\'style\']||\'\':\'\');if (B.length>0) B+=\';\';for (var C in A) B+=C+\':\'+A[C]+\';\';if (B.length>0&&!(/#\\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A[\'style\']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,\'_length\');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i<B.length;i++){var C=B[i];var D;var E;var F;if (typeof C==\'string\') D=C.toLowerCase();else{D=C.Element?C.Element.toLowerCase():this.Element;F=C.Attributes;};E=A[D]||(A[D]={});if (F){var G=(E.Attributes=E.Attributes||[]);for (var H in F){G.push([H.toLowerCase(),F[H]]);}}}};return (this._GetOverridesForComparison_$=A);},_CreateElementAttribsForComparison:function(A){var B={};var C=0;for (var i=0;i<A.attributes.length;i++){var D=A.attributes[i];if (D.specified){B[D.nodeName.toLowerCase()]=FCKDomTools.GetAttributeValue(A,D).toLowerCase();C++;}};B._length=C;return B;},_CheckAttributesMatch:function(A,B){var C=A.attributes;var D=0;for (var i=0;i<C.length;i++){var E=C[i];if (E.specified){var F=E.nodeName.toLowerCase();var G=B[F];if (!G) break;if (G!=FCKDomTools.GetAttributeValue(A,E).toLowerCase()) break;D++;}};return (D==B._length);}};\r\n
@@ -98,10 +98,10 @@ var FCKXml=function(){this.Error=false;};FCKXml.GetAttribute=function(A,B,C){var
 FCKXml.prototype={LoadUrl:function(A){this.Error=false;var B;var C=FCKTools.CreateXmlObject(\'XmlHttp\');C.open(\'GET\',A,false);C.send(null);if (C.status==200||C.status==304||(C.status==0&&C.readyState==4)){B=C.responseXML;if (!B) B=(new DOMParser()).parseFromString(C.responseText,\'text/xml\');}else B=null;if (B){try{var D=B.firstChild;}catch (e){B=(new DOMParser()).parseFromString(C.responseText,\'text/xml\');}};if (!B||!B.firstChild){this.Error=true;if (window.confirm(\'Error loading "\'+A+\'" (HTTP Status: \'+C.status+\').\\r\\nDo you want to see the server response dump?\')) alert(C.responseText);};this.DOMDocument=B;},SelectNodes:function(A,B){if (this.Error) return [];var C=[];var D=this.DOMDocument.evaluate(A,B?B:this.DOMDocument,this.DOMDocument.createNSResolver(this.DOMDocument.documentElement),XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);if (D){var E=D.iterateNext();while(E){C[C.length]=E;E=D.iterateNext();}};return C;},SelectSingleNode:function(A,B){if (this.Error) return null;var C=this.DOMDocument.evaluate(A,B?B:this.DOMDocument,this.DOMDocument.createNSResolver(this.DOMDocument.documentElement),9,null);if (C&&C.singleNodeValue) return C.singleNodeValue;else return null;}};\r\n
 var FCKNamedCommand=function(A){this.Name=A;};FCKNamedCommand.prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(this.Name);};\r\n
 var FCKStyleCommand=function(){};FCKStyleCommand.prototype={Name:\'Style\',Execute:function(A,B){FCKUndo.SaveUndoStep();if (B.Selected) FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorDocument) return -1;if (FCKSelection.GetType()==\'Control\'){var A=FCKSelection.GetSelectedElement();if (!A||!FCKStyles.CheckHasObjectStyle(A.nodeName.toLowerCase())) return -1;};return 0;}};\r\n
-var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog(\'FCKDialog_\'+this.Name,this.Title,this.Url,this.Width,this.Height,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};var FCKUndefinedCommand=function(){this.Name=\'Undefined\';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:\'FormatBlock\',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:\'FontName\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:\'FontSize\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name=\'Preview\';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name=\'Save\';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)==\'function\'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)==\'function\') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name=\'NewPage\';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData(\'\');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name=\'Source\';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog(\'FCKDialog_Source\',FCKLang.Source,\'dialog/fck_source.html\',A,B,null,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name=\'Undo\';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name=\'Redo\';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name=\'PageBreak\';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement(\'DIV\');e.style.pageBreakAfter=\'always\';e.innerHTML=\'<span style="DISPLAY:none">&nbsp;</span>\';var A=FCKDocumentProcessor_CreateFakeImage(\'FCK__PageBreak\',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent(\'OnSelectionChange\');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name=\'Unlink\';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode(\'A\');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode(\'A\');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKVisitLinkCommand=function(){this.Name=\'VisitLink\';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(\'Unlink\');if (A==0){var B=FCKSelection.MoveToAncestorNode(\'A\');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode(\'A\');var B=A.getAttribute(\'_fcksavedurl\')||A.getAttribute(\'href\',2);if (!/:\\/\\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject(\'parent\');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf(\'/\')+1);};if (/^\\//.test(B)){try{C=C.match(/^.*:\\/\\/+[^\\/]+/)[0];}catch (e){C=D.document.location.protocol+\'://\'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,\'_blank\')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name=\'SelectAll\';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand(\'SelectAll\');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand(\'SelectAll\');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name=\'Paste\';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand(\'Paste\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');}};var FCKRuleCommand=function(){this.Name=\'Rule\';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement(\'hr\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'InsertHorizontalRule\');}};var FCKCutCopyCommand=function(A){this.Name=A?\'Cut\':\'Copy\';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C=\'on\'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang[\'PasteError\'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState(\'Cut\');}};var FCKAnchorDeleteCommand=function(){this.Name=\'AnchorDelete\';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()==\'Control\'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName==\'IMG\'&&A.getAttribute(\'_fckanchor\')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode(\'A\');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute(\'name\');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,\'\');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Unlink\');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals(\'div\')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name=\'Non Breaking Space\';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(\'&nbsp;\');},GetState:function(){return (FCK.EditMode!=0?-1:0);}};\r\n
+var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog(\'FCKDialog_\'+this.Name,this.Title,this.Url,this.Width,this.Height,this.CustomValue,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};var FCKUndefinedCommand=function(){this.Name=\'Undefined\';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:\'FormatBlock\',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:\'FontName\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:\'FontSize\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name=\'Preview\';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name=\'Save\';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)==\'function\'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)==\'function\') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name=\'NewPage\';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData(\'\');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name=\'Source\';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog(\'FCKDialog_Source\',FCKLang.Source,\'dialog/fck_source.html\',A,B,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name=\'Undo\';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name=\'Redo\';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name=\'PageBreak\';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement(\'DIV\');e.style.pageBreakAfter=\'always\';e.innerHTML=\'<span style="DISPLAY:none">&nbsp;</span>\';var A=FCKDocumentProcessor_CreateFakeImage(\'FCK__PageBreak\',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent(\'OnSelectionChange\');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name=\'Unlink\';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode(\'A\');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode(\'A\');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKVisitLinkCommand=function(){this.Name=\'VisitLink\';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(\'Unlink\');if (A==0){var B=FCKSelection.MoveToAncestorNode(\'A\');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode(\'A\');var B=A.getAttribute(\'_fcksavedurl\')||A.getAttribute(\'href\',2);if (!/:\\/\\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject(\'parent\');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf(\'/\')+1);};if (/^\\//.test(B)){try{C=C.match(/^.*:\\/\\/+[^\\/]+/)[0];}catch (e){C=D.document.location.protocol+\'://\'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,\'_blank\')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name=\'SelectAll\';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand(\'SelectAll\');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand(\'SelectAll\');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name=\'Paste\';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand(\'Paste\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');}};var FCKRuleCommand=function(){this.Name=\'Rule\';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement(\'hr\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'InsertHorizontalRule\');}};var FCKCutCopyCommand=function(A){this.Name=A?\'Cut\':\'Copy\';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C=\'on\'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang[\'PasteError\'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState(\'Cut\');}};var FCKAnchorDeleteCommand=function(){this.Name=\'AnchorDelete\';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()==\'Control\'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName==\'IMG\'&&A.getAttribute(\'_fckanchor\')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode(\'A\');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute(\'name\');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,\'\');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Unlink\');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals(\'div\')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name=\'Non Breaking Space\';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(\'&nbsp;\');},GetState:function(){return (FCK.EditMode!=0?-1:0);}};\r\n
 var FCKShowBlockCommand=function(A,B){this.Name=A;if (B!=undefined) this._SavedState=B;else this._SavedState=null;};FCKShowBlockCommand.prototype.Execute=function(){var A=this.GetState();if (A==-1) return;var B=FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,\'\');else B.className+=\' FCK__ShowBlocks\';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C){if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);}};FCK.Events.FireEvent(\'OnSelectionChange\');};FCKShowBlockCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;if (!FCK.EditorDocument) return 0;if (/FCK__ShowBlocks(?:\\s|$)/.test(FCK.EditorDocument.body.className)) return 1;return 0;};FCKShowBlockCommand.prototype.SaveState=function(){this._SavedState=this.GetState();};FCKShowBlockCommand.prototype.RestoreState=function(){if (this._SavedState!=null&&this.GetState()!=this._SavedState) this.Execute();};\r\n
 var FCKSpellCheckCommand=function(){this.Name=\'SpellCheck\';this.IsEnabled=(FCKConfig.SpellChecker!=\'ieSpell\');};FCKSpellCheckCommand.prototype.Execute=function(){switch (FCKConfig.SpellChecker){case \'SpellerPages\':FCKDialog.OpenDialog(\'FCKDialog_SpellCheck\',\'Spell Check\',\'dialog/fck_spellerpages.html\',440,480);break;case \'WSC\':FCKDialog.OpenDialog(\'FCKDialog_SpellCheck\',\'Spell Check\',\'wsc/w.html\',530,480);}};FCKSpellCheckCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return this.IsEnabled?0:-1;};\r\n
-var FCKTextColorCommand=function(A){this.Name=A==\'ForeColor\'?\'TextColor\':\'BGColor\';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._Panel.MainNode.className=\'FCK_Panel\';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle(\'_FCK_\'+(this.Type==\'ForeColor\'?\'Color\':\'BackColor\'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable(\'Color\',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');};FCKTextColorCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};function FCKTextColorCommand_OnMouseOver(){this.className=\'ColorSelected\';};function FCKTextColorCommand_OnMouseOut(){this.className=\'ColorDeselected\';};function FCKTextColorCommand_OnClick(A,B,C){this.className=\'ColorDeselected\';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className=\'ColorDeselected\';B.SetColor(\'\');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className=\'ColorDeselected\';B._Panel.Hide();FCKDialog.OpenDialog(\'FCKDialog_Color\',FCKLang.DlgColorTitle,\'dialog/fck_colorselector.html\',410,320,FCKTools.Bind(B,B.SetColor));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className=\'ColorDeselected\';FCKTools.AddEventListenerEx(C,\'mouseover\',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className=\'ForceBaseFont\';D.style.tableLayout=\'fixed\';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table cellspacing="0" cellpadding="0" width="100%" border="0">\\n\t\t\t<tr>\\n\t\t\t\t<td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\\n\t\t\t\t<td nowrap width="100%" align="center">\'+FCKLang.ColorAutomatic+\'</td>\\n\t\t\t</tr>\\n\t\t</table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';var G=FCKConfig.FontColors.toString().split(\',\');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split(\'/\');var K=\'#\'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML=\'<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: \'+K+\'"></div></div>\';if (H>=G.length) C.style.visibility=\'hidden\';else FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">\'+FCKLang.ColorMoreColors+\'</td></tr></table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';};\r\n
+var FCKTextColorCommand=function(A){this.Name=A==\'ForeColor\'?\'TextColor\':\'BGColor\';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._Panel.MainNode.className=\'FCK_Panel\';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle(\'_FCK_\'+(this.Type==\'ForeColor\'?\'Color\':\'BackColor\'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable(\'Color\',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');};FCKTextColorCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};function FCKTextColorCommand_OnMouseOver(){this.className=\'ColorSelected\';};function FCKTextColorCommand_OnMouseOut(){this.className=\'ColorDeselected\';};function FCKTextColorCommand_OnClick(A,B,C){this.className=\'ColorDeselected\';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className=\'ColorDeselected\';B.SetColor(\'\');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className=\'ColorDeselected\';B._Panel.Hide();FCKDialog.OpenDialog(\'FCKDialog_Color\',FCKLang.DlgColorTitle,\'dialog/fck_colorselector.html\',410,320,FCKTools.Bind(B,B.SetColor));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className=\'ColorDeselected\';FCKTools.AddEventListenerEx(C,\'mouseover\',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className=\'ForceBaseFont\';D.style.tableLayout=\'fixed\';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table cellspacing="0" cellpadding="0" width="100%" border="0">\\n\t\t\t<tr>\\n\t\t\t\t<td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\\n\t\t\t\t<td nowrap width="100%" align="center">\'+FCKLang.ColorAutomatic+\'</td>\\n\t\t\t</tr>\\n\t\t</table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';var G=FCKConfig.FontColors.toString().split(\',\');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split(\'/\');var K=\'#\'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML=\'<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: \'+K+\'"></div></div>\';if (H>=G.length) C.style.visibility=\'hidden\';else FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">\'+FCKLang.ColorMoreColors+\'</td></tr></table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_MoreOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';}};\r\n
 var FCKPastePlainTextCommand=function(){this.Name=\'PasteText\';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');};\r\n
 var FCKPasteWordCommand=function(){this.Name=\'PasteWord\';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState(\'Paste\');};\r\n
 var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case \'TableMergeRight\':return FCKTableHandler.MergeRight();case \'TableMergeDown\':return FCKTableHandler.MergeDown();}};switch (this.Name){case \'TableInsertRowAfter\':return FCKTableHandler.InsertRow(false);case \'TableInsertRowBefore\':return FCKTableHandler.InsertRow(true);case \'TableDeleteRows\':return FCKTableHandler.DeleteRows();case \'TableInsertColumnAfter\':return FCKTableHandler.InsertColumn(false);case \'TableInsertColumnBefore\':return FCKTableHandler.InsertColumn(true);case \'TableDeleteColumns\':return FCKTableHandler.DeleteColumns();case \'TableInsertCellAfter\':return FCKTableHandler.InsertCell(null,false);case \'TableInsertCellBefore\':return FCKTableHandler.InsertCell(null,true);case \'TableDeleteCells\':return FCKTableHandler.DeleteCells();case \'TableMergeCells\':return FCKTableHandler.MergeCells();case \'TableHorizontalSplitCell\':return FCKTableHandler.HorizontalSplitCell();case \'TableVerticalSplitCell\':return FCKTableHandler.VerticalSplitCell();case \'TableDelete\':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode(\'TABLE\')){switch (this.Name){case \'TableHorizontalSplitCell\':case \'TableVerticalSplitCell\':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case \'TableMergeCells\':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case \'TableMergeRight\':return FCKTableHandler.GetMergeRightTarget()?0:-1;case \'TableMergeDown\':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;};\r\n
@@ -112,8 +112,8 @@ var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSPrope
 var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals(\'blockquote\')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals(\'blockquote\')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals(\'p\')?\'p\':\'div\');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode(\'\\ufeff\'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i<I.length;i++){H=I[i];J=FCKDomTools.GetCommonParents(H.parentNode,J).pop();}while (J.nodeName.IEquals(\'table\',\'tbody\',\'tr\',\'ol\',\'ul\')) J=J.parentNode;var L=null;while (I.length>0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;}while (K.length>0){H=K.shift();if (H.nodeName.IEquals(\'blockquote\')){var M=FCKTools.GetElementDocument(H).createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement(\'blockquote\');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];var P={};while ((H=G.GetNextParagraph())){var Q=null;var R=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals(\'blockquote\')){Q=H.parentNode;R=H;break;};H=H.parentNode;};if (Q&&R&&!R._fckblockquotemoveout){O.push(R);FCKDomTools.SetElementMarker(P,R,\'_fckblockquotemoveout\',true);}};FCKDomTools.ClearAllMarkers(P);var S=[];var T=[],P={};var U=function(N){for (var i=0;i<N.childNodes.length;i++){if (FCKListsLib.BlockElements[N.childNodes[i].nodeName.toLowerCase()]) return false;};return true;};while (O.length>0){var W=O.shift();var N=W.parentNode;if (W==W.parentNode.firstChild) N.parentNode.insertBefore(N.removeChild(W),N);else if (W==W.parentNode.lastChild) N.parentNode.insertBefore(N.removeChild(W),N.nextSibling);else FCKDomTools.BreakParent(W,W.parentNode,B);if (!N._fckbqprocessed){T.push(N);FCKDomTools.SetElementMarker(P,N,\'_fckbqprocessed\',true);};S.push(W);};for (var i=T.length-1;i>=0;i--){var N=T[i];if (U(N)) FCKDomTools.RemoveNode(N);};FCKDomTools.ClearAllMarkers(P);if (FCKConfig.EnterMode.IEquals(\'br\')){while (S.length){var W=S.shift();var a=true;if (W.nodeName.IEquals(\'div\')){var M=FCKTools.GetElementDocument(W).createDocumentFragment();var c=a&&W.previousSibling&&!FCKListsLib.BlockBoundaries[W.previousSibling.nodeName.toLowerCase()];if (a&&c) M.appendChild(FCKTools.GetElementDocument(W).createElement(\'br\'));var d=W.nextSibling&&!FCKListsLib.BlockBoundaries[W.nextSibling.nodeName.toLowerCase()];while (W.firstChild) M.appendChild(W.removeChild(W.firstChild));if (d) M.appendChild(FCKTools.GetElementDocument(W).createElement(\'br\'));W.parentNode.replaceChild(M,W);a=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()==\'body\') return 0;for (var i=0;i<A.Elements.length;i++){if (A.Elements[i].nodeName.IEquals(\'blockquote\')) return 1;};return 0;}};\r\n
 var FCKCoreStyleCommand=function(A){this.Name=\'CoreStyle\';this.StyleName=\'_FCK_\'+A;this.IsActive=false;FCKStyles.AttachStyleStateChange(this.StyleName,this._OnStyleStateChange,this);};FCKCoreStyleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();if (this.IsActive) FCKStyles.RemoveStyle(this.StyleName);else FCKStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0) return -1;return this.IsActive?1:0;},_OnStyleStateChange:function(A,B){this.IsActive=B;}};\r\n
 var FCKRemoveFormatCommand=function(){this.Name=\'RemoveFormat\';};FCKRemoveFormatCommand.prototype={Execute:function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){return FCK.EditorWindow?0:-1;}};\r\n
-var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case \'Bold\':case \'Italic\':case \'Underline\':case \'StrikeThrough\':case \'Subscript\':case \'Superscript\':B=new FCKCoreStyleCommand(A);break;case \'RemoveFormat\':B=new FCKRemoveFormatCommand();break;case \'DocProps\':B=new FCKDialogCommand(\'DocProps\',FCKLang.DocProps,\'dialog/fck_docprops.html\',400,380,FCKCommands.GetFullPageState);break;case \'Templates\':B=new FCKDialogCommand(\'Templates\',FCKLang.DlgTemplatesTitle,\'dialog/fck_template.html\',380,450);break;case \'Link\':B=new FCKDialogCommand(\'Link\',FCKLang.DlgLnkWindowTitle,\'dialog/fck_link.html\',400,300);break;case \'Unlink\':B=new FCKUnlinkCommand();break;case \'VisitLink\':B=new FCKVisitLinkCommand();break;case \'Anchor\':B=new FCKDialogCommand(\'Anchor\',FCKLang.DlgAnchorTitle,\'dialog/fck_anchor.html\',370,160);break;case \'AnchorDelete\':B=new FCKAnchorDeleteCommand();break;case \'BulletedList\':B=new FCKDialogCommand(\'BulletedList\',FCKLang.BulletedListProp,\'dialog/fck_listprop.html?UL\',370,160);break;case \'NumberedList\':B=new FCKDialogCommand(\'NumberedList\',FCKLang.NumberedListProp,\'dialog/fck_listprop.html?OL\',370,160);break;case \'About\':B=new FCKDialogCommand(\'About\',FCKLang.About,\'dialog/fck_about.html\',420,330,function(){ return 0;});break;case \'Find\':B=new FCKDialogCommand(\'Find\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Find\');break;case \'Replace\':B=new FCKDialogCommand(\'Replace\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Replace\');break;case \'Image\':B=new FCKDialogCommand(\'Image\',FCKLang.DlgImgTitle,\'dialog/fck_image.html\',450,390);break;case \'Flash\':B=new FCKDialogCommand(\'Flash\',FCKLang.DlgFlashTitle,\'dialog/fck_flash.html\',450,390);break;case \'SpecialChar\':B=new FCKDialogCommand(\'SpecialChar\',FCKLang.DlgSpecialCharTitle,\'dialog/fck_specialchar.html\',400,290);break;case \'Smiley\':B=new FCKDialogCommand(\'Smiley\',FCKLang.DlgSmileyTitle,\'dialog/fck_smiley.html\',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case \'Table\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html\',480,250);break;case \'TableProp\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html?Parent\',480,250);break;case \'TableCellProp\':B=new FCKDialogCommand(\'TableCell\',FCKLang.DlgCellTitle,\'dialog/fck_tablecell.html\',550,240);break;case \'Style\':B=new FCKStyleCommand();break;case \'FontName\':B=new FCKFontNameCommand();break;case \'FontSize\':B=new FCKFontSizeCommand();break;case \'FontFormat\':B=new FCKFormatBlockCommand();break;case \'Source\':B=new FCKSourceCommand();break;case \'Preview\':B=new FCKPreviewCommand();break;case \'Save\':B=new FCKSaveCommand();break;case \'NewPage\':B=new FCKNewPageCommand();break;case \'PageBreak\':B=new FCKPageBreakCommand();break;case \'Rule\':B=new FCKRuleCommand();break;case \'Nbsp\':B=new FCKNbsp();break;case \'TextColor\':B=new FCKTextColorCommand(\'ForeColor\');break;case \'BGColor\':B=new FCKTextColorCommand(\'BackColor\');break;case \'Paste\':B=new FCKPasteCommand();break;case \'PasteText\':B=new FCKPastePlainTextCommand();break;case \'PasteWord\':B=new FCKPasteWordCommand();break;case \'JustifyLeft\':B=new FCKJustifyCommand(\'left\');break;case \'JustifyCenter\':B=new FCKJustifyCommand(\'center\');break;case \'JustifyRight\':B=new FCKJustifyCommand(\'right\');break;case \'JustifyFull\':B=new FCKJustifyCommand(\'justify\');break;case \'Indent\':B=new FCKIndentCommand(\'indent\',FCKConfig.IndentLength);break;case \'Outdent\':B=new FCKIndentCommand(\'outdent\',FCKConfig.IndentLength*-1);break;case \'Blockquote\':B=new FCKBlockQuoteCommand();break;case \'CreateDiv\':B=new FCKDialogCommand(\'CreateDiv\',FCKLang.CreateDiv,\'dialog/fck_div.html\',380,210,null,null,true);break;case \'EditDiv\':B=new FCKDialogCommand(\'EditDiv\',FCKLang.EditDiv,\'dialog/fck_div.html\',380,210,null,null,false);break;case \'DeleteDiv\':B=new FCKDeleteDivCommand();break;case \'TableInsertRowAfter\':B=new FCKTableCommand(\'TableInsertRowAfter\');break;case \'TableInsertRowBefore\':B=new FCKTableCommand(\'TableInsertRowBefore\');break;case \'TableDeleteRows\':B=new FCKTableCommand(\'TableDeleteRows\');break;case \'TableInsertColumnAfter\':B=new FCKTableCommand(\'TableInsertColumnAfter\');break;case \'TableInsertColumnBefore\':B=new FCKTableCommand(\'TableInsertColumnBefore\');break;case \'TableDeleteColumns\':B=new FCKTableCommand(\'TableDeleteColumns\');break;case \'TableInsertCellAfter\':B=new FCKTableCommand(\'TableInsertCellAfter\');break;case \'TableInsertCellBefore\':B=new FCKTableCommand(\'TableInsertCellBefore\');break;case \'TableDeleteCells\':B=new FCKTableCommand(\'TableDeleteCells\');break;case \'TableMergeCells\':B=new FCKTableCommand(\'TableMergeCells\');break;case \'TableMergeRight\':B=new FCKTableCommand(\'TableMergeRight\');break;case \'TableMergeDown\':B=new FCKTableCommand(\'TableMergeDown\');break;case \'TableHorizontalSplitCell\':B=new FCKTableCommand(\'TableHorizontalSplitCell\');break;case \'TableVerticalSplitCell\':B=new FCKTableCommand(\'TableVerticalSplitCell\');break;case \'TableDelete\':B=new FCKTableCommand(\'TableDelete\');break;case \'Form\':B=new FCKDialogCommand(\'Form\',FCKLang.Form,\'dialog/fck_form.html\',380,210);break;case \'Checkbox\':B=new FCKDialogCommand(\'Checkbox\',FCKLang.Checkbox,\'dialog/fck_checkbox.html\',380,200);break;case \'Radio\':B=new FCKDialogCommand(\'Radio\',FCKLang.RadioButton,\'dialog/fck_radiobutton.html\',380,200);break;case \'TextField\':B=new FCKDialogCommand(\'TextField\',FCKLang.TextField,\'dialog/fck_textfield.html\',380,210);break;case \'Textarea\':B=new FCKDialogCommand(\'Textarea\',FCKLang.Textarea,\'dialog/fck_textarea.html\',380,210);break;case \'HiddenField\':B=new FCKDialogCommand(\'HiddenField\',FCKLang.HiddenField,\'dialog/fck_hiddenfield.html\',380,190);break;case \'Button\':B=new FCKDialogCommand(\'Button\',FCKLang.Button,\'dialog/fck_button.html\',380,210);break;case \'Select\':B=new FCKDialogCommand(\'Select\',FCKLang.SelectionField,\'dialog/fck_select.html\',400,340);break;case \'ImageButton\':B=new FCKDialogCommand(\'ImageButton\',FCKLang.ImageButton,\'dialog/fck_image.html?ImageButton\',450,390);break;case \'SpellCheck\':B=new FCKSpellCheckCommand();break;case \'FitWindow\':B=new FCKFitWindow();break;case \'Undo\':B=new FCKUndoCommand();break;case \'Redo\':B=new FCKRedoCommand();break;case \'Copy\':B=new FCKCutCopyCommand(false);break;case \'Cut\':B=new FCKCutCopyCommand(true);break;case \'SelectAll\':B=new FCKSelectAllCommand();break;case \'InsertOrderedList\':B=new FCKListCommand(\'insertorderedlist\',\'ol\');break;case \'InsertUnorderedList\':B=new FCKListCommand(\'insertunorderedlist\',\'ul\');break;case \'ShowBlocks\':B=new FCKShowBlockCommand(\'ShowBlocks\',FCKConfig.StartupShowBlocks?1:0);break;case \'Undefined\':B=new FCKUndefinedCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;};\r\n
-var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir==\'rtl\');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement(\'iframe\');FCKTools.ResetStyles(D);D.src=\'javascript:void(0)\';D.allowTransparency=true;D.frameBorder=\'0\';D.scrolling=\'no\';D.style.width=D.style.height=\'0px\';FCKDomTools.SetElementStyles(D,{position:\'absolute\',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F=\'\';if (FCKBrowserInfo.IsSafari) F=\'<base href="\'+window.document.location+\'">\';B.open();B.write(\'<html><head>\'+F+\'<\\/head><body style="margin:0px;padding:0px;"><\\/body><\\/html>\');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,\'focus\',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,\'blur\',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,\'contextmenu\',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement(\'DIV\'));this.MainNode.style.cssFloat=this.IsRTL?\'right\':\'left\';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!=\'undefined\') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling=\'\';FCKTools.RunFunction(function(){ this._IFrame.scrolling=\'no\';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (!B)\tthis._IFrame.width=1;if (!C)\tthis._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+\'px\',top:y+\'px\'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+\'px\';M._IFrame.style.height=O+\'px\';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!=\'undefined\'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height=\'0px\';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=null;};\r\n
+var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case \'Bold\':case \'Italic\':case \'Underline\':case \'StrikeThrough\':case \'Subscript\':case \'Superscript\':B=new FCKCoreStyleCommand(A);break;case \'RemoveFormat\':B=new FCKRemoveFormatCommand();break;case \'DocProps\':B=new FCKDialogCommand(\'DocProps\',FCKLang.DocProps,\'dialog/fck_docprops.html\',400,380,FCKCommands.GetFullPageState);break;case \'Templates\':B=new FCKDialogCommand(\'Templates\',FCKLang.DlgTemplatesTitle,\'dialog/fck_template.html\',380,450);break;case \'Link\':B=new FCKDialogCommand(\'Link\',FCKLang.DlgLnkWindowTitle,\'dialog/fck_link.html\',400,300);break;case \'Unlink\':B=new FCKUnlinkCommand();break;case \'VisitLink\':B=new FCKVisitLinkCommand();break;case \'Anchor\':B=new FCKDialogCommand(\'Anchor\',FCKLang.DlgAnchorTitle,\'dialog/fck_anchor.html\',370,160);break;case \'AnchorDelete\':B=new FCKAnchorDeleteCommand();break;case \'BulletedList\':B=new FCKDialogCommand(\'BulletedList\',FCKLang.BulletedListProp,\'dialog/fck_listprop.html?UL\',370,160);break;case \'NumberedList\':B=new FCKDialogCommand(\'NumberedList\',FCKLang.NumberedListProp,\'dialog/fck_listprop.html?OL\',370,160);break;case \'About\':B=new FCKDialogCommand(\'About\',FCKLang.About,\'dialog/fck_about.html\',420,330,function(){ return 0;});break;case \'Find\':B=new FCKDialogCommand(\'Find\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Find\');break;case \'Replace\':B=new FCKDialogCommand(\'Replace\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Replace\');break;case \'Image\':B=new FCKDialogCommand(\'Image\',FCKLang.DlgImgTitle,\'dialog/fck_image.html\',450,390);break;case \'Flash\':B=new FCKDialogCommand(\'Flash\',FCKLang.DlgFlashTitle,\'dialog/fck_flash.html\',450,390);break;case \'SpecialChar\':B=new FCKDialogCommand(\'SpecialChar\',FCKLang.DlgSpecialCharTitle,\'dialog/fck_specialchar.html\',400,290);break;case \'Smiley\':B=new FCKDialogCommand(\'Smiley\',FCKLang.DlgSmileyTitle,\'dialog/fck_smiley.html\',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case \'Table\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html\',480,250);break;case \'TableProp\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html?Parent\',480,250);break;case \'TableCellProp\':B=new FCKDialogCommand(\'TableCell\',FCKLang.DlgCellTitle,\'dialog/fck_tablecell.html\',550,240);break;case \'Style\':B=new FCKStyleCommand();break;case \'FontName\':B=new FCKFontNameCommand();break;case \'FontSize\':B=new FCKFontSizeCommand();break;case \'FontFormat\':B=new FCKFormatBlockCommand();break;case \'Source\':B=new FCKSourceCommand();break;case \'Preview\':B=new FCKPreviewCommand();break;case \'Save\':B=new FCKSaveCommand();break;case \'NewPage\':B=new FCKNewPageCommand();break;case \'PageBreak\':B=new FCKPageBreakCommand();break;case \'Rule\':B=new FCKRuleCommand();break;case \'Nbsp\':B=new FCKNbsp();break;case \'TextColor\':B=new FCKTextColorCommand(\'ForeColor\');break;case \'BGColor\':B=new FCKTextColorCommand(\'BackColor\');break;case \'Paste\':B=new FCKPasteCommand();break;case \'PasteText\':B=new FCKPastePlainTextCommand();break;case \'PasteWord\':B=new FCKPasteWordCommand();break;case \'JustifyLeft\':B=new FCKJustifyCommand(\'left\');break;case \'JustifyCenter\':B=new FCKJustifyCommand(\'center\');break;case \'JustifyRight\':B=new FCKJustifyCommand(\'right\');break;case \'JustifyFull\':B=new FCKJustifyCommand(\'justify\');break;case \'Indent\':B=new FCKIndentCommand(\'indent\',FCKConfig.IndentLength);break;case \'Outdent\':B=new FCKIndentCommand(\'outdent\',FCKConfig.IndentLength*-1);break;case \'Blockquote\':B=new FCKBlockQuoteCommand();break;case \'CreateDiv\':B=new FCKDialogCommand(\'CreateDiv\',FCKLang.CreateDiv,\'dialog/fck_div.html\',380,210,null,null,true);break;case \'EditDiv\':B=new FCKDialogCommand(\'EditDiv\',FCKLang.EditDiv,\'dialog/fck_div.html\',380,210,null,null,false);break;case \'DeleteDiv\':B=new FCKDeleteDivCommand();break;case \'TableInsertRowAfter\':B=new FCKTableCommand(\'TableInsertRowAfter\');break;case \'TableInsertRowBefore\':B=new FCKTableCommand(\'TableInsertRowBefore\');break;case \'TableDeleteRows\':B=new FCKTableCommand(\'TableDeleteRows\');break;case \'TableInsertColumnAfter\':B=new FCKTableCommand(\'TableInsertColumnAfter\');break;case \'TableInsertColumnBefore\':B=new FCKTableCommand(\'TableInsertColumnBefore\');break;case \'TableDeleteColumns\':B=new FCKTableCommand(\'TableDeleteColumns\');break;case \'TableInsertCellAfter\':B=new FCKTableCommand(\'TableInsertCellAfter\');break;case \'TableInsertCellBefore\':B=new FCKTableCommand(\'TableInsertCellBefore\');break;case \'TableDeleteCells\':B=new FCKTableCommand(\'TableDeleteCells\');break;case \'TableMergeCells\':B=new FCKTableCommand(\'TableMergeCells\');break;case \'TableMergeRight\':B=new FCKTableCommand(\'TableMergeRight\');break;case \'TableMergeDown\':B=new FCKTableCommand(\'TableMergeDown\');break;case \'TableHorizontalSplitCell\':B=new FCKTableCommand(\'TableHorizontalSplitCell\');break;case \'TableVerticalSplitCell\':B=new FCKTableCommand(\'TableVerticalSplitCell\');break;case \'TableDelete\':B=new FCKTableCommand(\'TableDelete\');break;case \'Form\':B=new FCKDialogCommand(\'Form\',FCKLang.Form,\'dialog/fck_form.html\',380,210);break;case \'Checkbox\':B=new FCKDialogCommand(\'Checkbox\',FCKLang.Checkbox,\'dialog/fck_checkbox.html\',380,200);break;case \'Radio\':B=new FCKDialogCommand(\'Radio\',FCKLang.RadioButton,\'dialog/fck_radiobutton.html\',380,200);break;case \'TextField\':B=new FCKDialogCommand(\'TextField\',FCKLang.TextField,\'dialog/fck_textfield.html\',380,210);break;case \'Textarea\':B=new FCKDialogCommand(\'Textarea\',FCKLang.Textarea,\'dialog/fck_textarea.html\',380,210);break;case \'HiddenField\':B=new FCKDialogCommand(\'HiddenField\',FCKLang.HiddenField,\'dialog/fck_hiddenfield.html\',380,190);break;case \'Button\':B=new FCKDialogCommand(\'Button\',FCKLang.Button,\'dialog/fck_button.html\',380,210);break;case \'Select\':B=new FCKDialogCommand(\'Select\',FCKLang.SelectionField,\'dialog/fck_select.html\',400,340);break;case \'ImageButton\':B=new FCKDialogCommand(\'ImageButton\',FCKLang.ImageButton,\'dialog/fck_image.html?ImageButton\',450,390);break;case \'SpellCheck\':B=new FCKSpellCheckCommand();break;case \'FitWindow\':B=new FCKFitWindow();break;case \'Undo\':B=new FCKUndoCommand();break;case \'Redo\':B=new FCKRedoCommand();break;case \'Copy\':B=new FCKCutCopyCommand(false);break;case \'Cut\':B=new FCKCutCopyCommand(true);break;case \'SelectAll\':B=new FCKSelectAllCommand();break;case \'InsertOrderedList\':B=new FCKListCommand(\'insertorderedlist\',\'ol\');break;case \'InsertUnorderedList\':B=new FCKListCommand(\'insertunorderedlist\',\'ul\');break;case \'ShowBlocks\':B=new FCKShowBlockCommand(\'ShowBlocks\',FCKConfig.StartupShowBlocks?1:0);break;case \'Undefined\':B=new FCKUndefinedCommand();break;case \'Scayt\':B=FCKScayt.CreateCommand();break;case \'ScaytContext\':B=FCKScayt.CreateContextCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;};\r\n
+var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir==\'rtl\');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement(\'iframe\');FCKTools.ResetStyles(D);D.src=\'javascript:void(0)\';D.allowTransparency=true;D.frameBorder=\'0\';D.scrolling=\'no\';D.style.width=D.style.height=\'0px\';FCKDomTools.SetElementStyles(D,{position:\'absolute\',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F=\'\';if (FCKBrowserInfo.IsSafari) F=\'<base href="\'+window.document.location+\'">\';B.open();B.write(\'<html><head>\'+F+\'<\\/head><body style="margin:0px;padding:0px;"><\\/body><\\/html>\');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,\'focus\',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,\'blur\',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,\'contextmenu\',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement(\'DIV\'));this.MainNode.style.cssFloat=this.IsRTL?\'right\':\'left\';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};this._PopupArgs=[x,y,D,E.offsetHeight,A];this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!=\'undefined\') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling=\'\';FCKTools.RunFunction(function(){ this._IFrame.scrolling=\'no\';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (!B)\tthis._IFrame.width=1;if (!C)\tthis._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+\'px\',top:y+\'px\'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+\'px\';M._IFrame.style.height=O+\'px\';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!=\'undefined\'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height=\'0px\';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=null;};\r\n
 var FCKIcon=function(A){var B=A?typeof(A):\'undefined\';switch (B){case \'number\':this.Path=FCKConfig.SkinPath+\'fck_strip.gif\';this.Size=16;this.Position=A;break;case \'undefined\':this.Path=FCK_SPACER_PATH;break;case \'string\':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C=\'-\'+((this.Position-1)*this.Size)+\'px\';if (FCKBrowserInfo.IsIE){B=A.createElement(\'DIV\');eIconImage=B.appendChild(A.createElement(\'IMG\'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement(\'IMG\');B.src=FCK_SPACER_PATH;B.style.backgroundPosition=\'0px \'+C;B.style.backgroundImage=\'url("\'+this.Path+\'")\';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement(\'DIV\');eIconImage=B.appendChild(A.createElement(\'IMG\'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement(\'IMG\');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className=\'TB_Button_Image\';return B;};\r\n
 var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement(\'IMG\');B.className=\'TB_Button_Padding\';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement(\'DIV\');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,\'mouseover\',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,\'click\',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement(\'TABLE\'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className=\'TB_Button_Text\';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement(\'IMG\'));G.src=FCKConfig.SkinPath+\'images/toolbar.buttonarrow.gif\';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className=\'TB_Button_Off\';break;case 1:e.className=\'TB_Button_On\';break;case -1:e.className=\'TB_Button_Disabled\';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className=\'TB_Button_Off_Over\';else if (B.State==1) this.className=\'TB_Button_On_Over\';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className=\'TB_Button_Off\';else if (B.State==1) this.className=\'TB_Button_On\';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;};\r\n
 var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+\'toolbar/\'+A.toLowerCase()+\'.gif\';else if (typeof(G)==\'number\') this.IconPath=[FCKConfig.SkinPath+\'fck_strip.gif\',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);};\r\n
@@ -124,11 +124,12 @@ var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandNa
 var FCKToolbarFontsCombo=function(A,B){this.CommandName=\'FontName\';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontLabel||\'\';};FCKToolbarFontsCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle(\'_FCK_FontFace\');if (!A){alert("The FCKConfig.CoreStyles[\'Size\'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontNames.split(\';\');for (var i=0;i<C.length;i++){var D=C[i].split(\'/\');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable(\'Font\',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontsCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCKSelection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);for (var i in A.Items){var D=A.Items[i];var E=D.Style;if (E.CheckActive(C)){A.SelectItem(D);return;}}}};\r\n
 var FCKToolbarFontSizeCombo=function(A,B){this.CommandName=\'FontSize\';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontSizeLabel||\'\';this.FieldWidth=70;};FCKToolbarFontSizeCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle(\'_FCK_Size\');if (!A){alert("The FCKConfig.CoreStyles[\'FontFace\'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontSizes.split(\';\');for (var i=0;i<C.length;i++){var D=C[i].split(\'/\');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable(\'Size\',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontSizeCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontSizeCombo.prototype.StyleCombo_OnBeforeClick=FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick;\r\n
 var FCKToolbarPanelButton=function(A,B,C,D,E){this.CommandName=A;var F;if (E==null) F=FCKConfig.SkinPath+\'toolbar/\'+A.toLowerCase()+\'.gif\';else if (typeof(E)==\'number\') F=[FCKConfig.SkinPath+\'fck_strip.gif\',16,E];var G=this._UIButton=new FCKToolbarButtonUI(A,B,C,F,D);G._FCKToolbarPanelButton=this;G.ShowArrow=true;G.OnClick=FCKToolbarPanelButton_OnButtonClick;};FCKToolbarPanelButton.prototype.TypeName=\'FCKToolbarPanelButton\';FCKToolbarPanelButton.prototype.Create=function(A){A.className+=\'Menu\';this._UIButton.Create(A);var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName)._Panel;this.RegisterPanel(B);};FCKToolbarPanelButton.prototype.RegisterPanel=function(A){if (A._FCKToolbarPanelButton) return;A._FCKToolbarPanelButton=this;var B=A.Document.body.appendChild(A.Document.createElement(\'div\'));B.style.position=\'absolute\';B.style.top=\'0px\';var C=A._FCKToolbarPanelButtonLineDiv=B.appendChild(A.Document.createElement(\'IMG\'));C.className=\'TB_ConnectionLine\';C.style.position=\'absolute\';C.src=FCK_SPACER_PATH;A.OnHide=FCKToolbarPanelButton_OnPanelHide;};function FCKToolbarPanelButton_OnButtonClick(A){var B=this._FCKToolbarPanelButton;var e=B._UIButton.MainElement;B._UIButton.ChangeState(1);var C=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(B.CommandName);var D=C._Panel;D._FCKToolbarPanelButtonLineDiv.style.width=(e.offsetWidth-2)+\'px\';C.Execute(0,e.offsetHeight-1,e);};function FCKToolbarPanelButton_OnPanelHide(){var A=this._FCKToolbarPanelButton;A._UIButton.ChangeState(0);};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable;\r\n
-var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case \'Source\':B=new FCKToolbarButton(\'Source\',FCKLang.Source,null,2,true,true,1);break;case \'DocProps\':B=new FCKToolbarButton(\'DocProps\',FCKLang.DocProps,null,null,null,null,2);break;case \'Save\':B=new FCKToolbarButton(\'Save\',FCKLang.Save,null,null,true,null,3);break;case \'NewPage\':B=new FCKToolbarButton(\'NewPage\',FCKLang.NewPage,null,null,true,null,4);break;case \'Preview\':B=new FCKToolbarButton(\'Preview\',FCKLang.Preview,null,null,true,null,5);break;case \'Templates\':B=new FCKToolbarButton(\'Templates\',FCKLang.Templates,null,null,null,null,6);break;case \'About\':B=new FCKToolbarButton(\'About\',FCKLang.About,null,null,true,null,47);break;case \'Cut\':B=new FCKToolbarButton(\'Cut\',FCKLang.Cut,null,null,false,true,7);break;case \'Copy\':B=new FCKToolbarButton(\'Copy\',FCKLang.Copy,null,null,false,true,8);break;case \'Paste\':B=new FCKToolbarButton(\'Paste\',FCKLang.Paste,null,null,false,true,9);break;case \'PasteText\':B=new FCKToolbarButton(\'PasteText\',FCKLang.PasteText,null,null,false,true,10);break;case \'PasteWord\':B=new FCKToolbarButton(\'PasteWord\',FCKLang.PasteWord,null,null,false,true,11);break;case \'Print\':B=new FCKToolbarButton(\'Print\',FCKLang.Print,null,null,false,true,12);break;case \'SpellCheck\':B=new FCKToolbarButton(\'SpellCheck\',FCKLang.SpellCheck,null,null,null,null,13);break;case \'Undo\':B=new FCKToolbarButton(\'Undo\',FCKLang.Undo,null,null,false,true,14);break;case \'Redo\':B=new FCKToolbarButton(\'Redo\',FCKLang.Redo,null,null,false,true,15);break;case \'SelectAll\':B=new FCKToolbarButton(\'SelectAll\',FCKLang.SelectAll,null,null,true,null,18);break;case \'RemoveFormat\':B=new FCKToolbarButton(\'RemoveFormat\',FCKLang.RemoveFormat,null,null,false,true,19);break;case \'FitWindow\':B=new FCKToolbarButton(\'FitWindow\',FCKLang.FitWindow,null,null,true,true,66);break;case \'Bold\':B=new FCKToolbarButton(\'Bold\',FCKLang.Bold,null,null,false,true,20);break;case \'Italic\':B=new FCKToolbarButton(\'Italic\',FCKLang.Italic,null,null,false,true,21);break;case \'Underline\':B=new FCKToolbarButton(\'Underline\',FCKLang.Underline,null,null,false,true,22);break;case \'StrikeThrough\':B=new FCKToolbarButton(\'StrikeThrough\',FCKLang.StrikeThrough,null,null,false,true,23);break;case \'Subscript\':B=new FCKToolbarButton(\'Subscript\',FCKLang.Subscript,null,null,false,true,24);break;case \'Superscript\':B=new FCKToolbarButton(\'Superscript\',FCKLang.Superscript,null,null,false,true,25);break;case \'OrderedList\':B=new FCKToolbarButton(\'InsertOrderedList\',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case \'UnorderedList\':B=new FCKToolbarButton(\'InsertUnorderedList\',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case \'Outdent\':B=new FCKToolbarButton(\'Outdent\',FCKLang.DecreaseIndent,null,null,false,true,28);break;case \'Indent\':B=new FCKToolbarButton(\'Indent\',FCKLang.IncreaseIndent,null,null,false,true,29);break;case \'Blockquote\':B=new FCKToolbarButton(\'Blockquote\',FCKLang.Blockquote,null,null,false,true,73);break;case \'CreateDiv\':B=new FCKToolbarButton(\'CreateDiv\',FCKLang.CreateDiv,null,null,false,true,74);break;case \'Link\':B=new FCKToolbarButton(\'Link\',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case \'Unlink\':B=new FCKToolbarButton(\'Unlink\',FCKLang.RemoveLink,null,null,false,true,35);break;case \'Anchor\':B=new FCKToolbarButton(\'Anchor\',FCKLang.Anchor,null,null,null,null,36);break;case \'Image\':B=new FCKToolbarButton(\'Image\',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case \'Flash\':B=new FCKToolbarButton(\'Flash\',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case \'Table\':B=new FCKToolbarButton(\'Table\',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case \'SpecialChar\':B=new FCKToolbarButton(\'SpecialChar\',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case \'Smiley\':B=new FCKToolbarButton(\'Smiley\',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case \'PageBreak\':B=new FCKToolbarButton(\'PageBreak\',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case \'Rule\':B=new FCKToolbarButton(\'Rule\',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case \'JustifyLeft\':B=new FCKToolbarButton(\'JustifyLeft\',FCKLang.LeftJustify,null,null,false,true,30);break;case \'JustifyCenter\':B=new FCKToolbarButton(\'JustifyCenter\',FCKLang.CenterJustify,null,null,false,true,31);break;case \'JustifyRight\':B=new FCKToolbarButton(\'JustifyRight\',FCKLang.RightJustify,null,null,false,true,32);break;case \'JustifyFull\':B=new FCKToolbarButton(\'JustifyFull\',FCKLang.BlockJustify,null,null,false,true,33);break;case \'Style\':B=new FCKToolbarStyleCombo();break;case \'FontName\':B=new FCKToolbarFontsCombo();break;case \'FontSize\':B=new FCKToolbarFontSizeCombo();break;case \'FontFormat\':B=new FCKToolbarFontFormatCombo();break;case \'TextColor\':B=new FCKToolbarPanelButton(\'TextColor\',FCKLang.TextColor,null,null,45);break;case \'BGColor\':B=new FCKToolbarPanelButton(\'BGColor\',FCKLang.BGColor,null,null,46);break;case \'Find\':B=new FCKToolbarButton(\'Find\',FCKLang.Find,null,null,null,null,16);break;case \'Replace\':B=new FCKToolbarButton(\'Replace\',FCKLang.Replace,null,null,null,null,17);break;case \'Form\':B=new FCKToolbarButton(\'Form\',FCKLang.Form,null,null,null,null,48);break;case \'Checkbox\':B=new FCKToolbarButton(\'Checkbox\',FCKLang.Checkbox,null,null,null,null,49);break;case \'Radio\':B=new FCKToolbarButton(\'Radio\',FCKLang.RadioButton,null,null,null,null,50);break;case \'TextField\':B=new FCKToolbarButton(\'TextField\',FCKLang.TextField,null,null,null,null,51);break;case \'Textarea\':B=new FCKToolbarButton(\'Textarea\',FCKLang.Textarea,null,null,null,null,52);break;case \'HiddenField\':B=new FCKToolbarButton(\'HiddenField\',FCKLang.HiddenField,null,null,null,null,56);break;case \'Button\':B=new FCKToolbarButton(\'Button\',FCKLang.Button,null,null,null,null,54);break;case \'Select\':B=new FCKToolbarButton(\'Select\',FCKLang.SelectionField,null,null,null,null,53);break;case \'ImageButton\':B=new FCKToolbarButton(\'ImageButton\',FCKLang.ImageButton,null,null,null,null,55);break;case \'ShowBlocks\':B=new FCKToolbarButton(\'ShowBlocks\',FCKLang.ShowBlocks,null,null,null,true,72);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;};\r\n
+var FCKScayt;(function(){var A=[];var B=(FCK&&FCK.EditorWindow&&FCK.EditorWindow.parent.parent.scayt)?true:false;var C=false;var D=false;function ScaytEngineLoad(callback){if (B) return;B=true;var E=FCK.EditorWindow.parent.parent;var F=function (){window.scayt=E.scayt;InitScayt();var G=FCKToolbarItems.LoadedItems[\'ScaytCombobox\'];G&&G.SetEnabled(scyt_control&&scyt_control.disabled);InitSetup();};if (E.scayt){F();return;};if (FCK.Config.ScaytCustomUrl) FCK.Config.ScaytCustomUrl=new String(FCK.Config.ScaytCustomUrl).replace(new RegExp("^http[s]*:\\/\\/"),"");var H=document.location.protocol;var I=FCK.Config.ScaytCustomUrl||\'svc.spellchecker.net/spellcheck3/lf/scayt/scayt4.js\';var J=H+\'//\'+I;var K=ParseUrl(J).path+\'/\';var L=E.window.CKEDITOR||(E.window.CKEDITOR={});L._djScaytConfig={I:K,addOnLoad:function(){F();},isDebug:false};if (callback) A.push(callback);DoLoadScript(J);};function DoLoadScript(url){if (!url) return false;var E=FCK.EditorWindow.parent.parent;var s=E.document.createElement(\'script\');s.type=\'text/javascript\';s.src=url;E.document.getElementsByTagName(\'head\')[0].appendChild(s);return true;};function ParseUrl(data){var m=data.match(/(.*)[\\/\\\\]([^\\/\\\\]+\\.\\w+)$/);return m?{ path:m[1],file:m[2] }:data;};function createScaytControl (){var N={};var E=FCK.EditorWindow.parent.parent;N.srcNodeRef=FCK.EditingArea.IFrame;N.customerid=FCK.Config.ScaytCustomerid;N.customDictionaryName=FCK.Config.ScaytCustomDictionaryName;N.userDictionaryName=FCK.Config.ScaytUserDictionaryName;N.defLang=FCK.Config.ScaytDefLang;var P=E.scayt;var Q=window.scayt_control=new P(N);};function InitScayt(){createScaytControl();var Q=window.scayt_control;if (Q){Q.setDisabled(false);D=true;C=!Q.disabled;var G=FCKToolbarItems.LoadedItems[\'ScaytCombobox\'];G&&G.Enable();ShowScaytState();};for (var i=0;i<A.length;i++){try{A[i].call(this);}catch(err){}}};var T=function(){name=\'Scayt\';};T.prototype.Execute=function(c){switch (c){case \'Options\':case \'Langs\':case \'About\':if (B&&D&&!C){ScaytMessage(\'SCAYT is not enabled\');break;};if (B&&D) FCKDialog.OpenDialog(\'Scayt\',\'SCAYT Settings\',\'dialog/fck_scayt.html?\'+c.toLowerCase(),343,343);break;default:if (!B){var U=this;ScaytEngineLoad(function (){U.SetEnabled(!window.scayt_control.disabled);});return true;}else if (D){if (C) this.Disable();else this.Enable();ShowScaytState();}};if (!B) return ScaytMessage(\'SCAYT is not loaded\')||false;if (!D) return ScaytMessage(\'SCAYT is not ready\')||false;return true;};T.prototype.Enable=function(){window.scayt_control.setDisabled(false);C=true;};T.prototype.Disable=function(){window.scayt_control.setDisabled(true);C=false;};T.prototype.SetEnabled=function(state){if (state) this.Enable();else this.Disable();ShowScaytState();return true;};T.prototype.GetState=function(){return 0;};function ShowScaytState(){var W=FCKToolbarItems.GetItem(\'SpellCheck\');if (!W||!W._Combo||!W._Combo._OuterTable) return;var X=W._Combo._OuterTable.getElementsByTagName(\'img\')[1];var Y=W._Combo.Items[\'trigger\'];if (C){X.style.opacity=\'1\';Y.innerHTML=GetStatusLabel();}else{X.style.opacity=\'0.5\';Y.innerHTML=GetStatusLabel();}};function GetStatusLabel(){if (!D) return  \'<b>Enable SCAYT</b>\';return C?\'<b>Disable SCAYT</b>\':\'<b>Enable SCAYT</b>\';};var Z=function(tooltip,style){this.Command=FCKCommands.GetCommand(\'Scayt\');this.CommandName=\'Scayt\';this.Label=this.GetLabel();this.Tooltip=FCKLang.ScaytTitle;this.Style=1;};Z.prototype=new FCKToolbarSpecialCombo;Z.prototype.CreateItems=function(){this._Combo.AddItem(\'Trigger\',\'<b>Enable SCAYT</b>\');this._Combo.AddItem(\'Options\',FCKLang.ScaytTitleOptions||"Options");this._Combo.AddItem(\'Langs\',FCKLang.ScaytTitleLangs||"Languages");this._Combo.AddItem(\'About\',FCKLang.ScaytTitleAbout||"About");};Z.prototype.GetLabel=function(){var a=FCKConfig.SkinPath+\'fck_strip.gif\';return FCKBrowserInfo.IsIE?\'<div class="TB_Button_Image"><img src="\'+a+\'" style="top:-192px"></div>\':\'<img class="TB_Button_Image" src="\'+FCK_SPACER_PATH+\'" style="background-position: 0px -192px;background-image: url(\'+a+\');">\';};function ScaytMessage(m){m&&alert(m);};var b=function(){name=\'ScaytContext\';};b.prototype.Execute=function(contextInfo){var c=contextInfo&&contextInfo.action,g=c&&contextInfo.node,Q=window.scayt_control;if (g){switch (c){case \'Suggestion\':Q.replace(g,contextInfo.suggestion);break;case \'Ignore\':Q.ignore(g);break;case \'Ignore All\':Q.ignoreAll(g);break;case \'Add Word\':var E=FCK.EditorWindow.parent.parent;E.scayt.addWordToUserDictionary(g);break;}}};function InitSetup(){FCK.ContextMenu.RegisterListener({AddItems:function(menu){var E=FCK.EditorWindow.parent.parent;var Q=window.scayt_control,P=E.scayt;if (!Q) return;var g=Q.getScaytNode();if (!g) return;var h=P.getSuggestion(Q.getWord(g),Q.getLang());if (!h||!h.length) return;menu.AddSeparator();var j=FCK.Config.ScaytMaxSuggestions||5;var k=(j==-1)?h.length:j;for (var i=0;i<k;i+=1){if (h[i]){menu.AddItem(\'ScaytContext\',h[i],null,false,{\'action\':\'Suggestion\',\'node\':g,\'suggestion\':h[i] });}};menu.AddSeparator();menu.AddItem(\'ScaytContext\',\'Ignore\',null,false,{ \'action\':\'Ignore\',\'node\':g });menu.AddItem(\'ScaytContext\',\'Ignore All\',null,false,{ \'action\':\'Ignore All\',\'node\':g });menu.AddItem(\'ScaytContext\',\'Add Word\',null,false,{ \'action\':\'Add Word\',\'node\':g });try{if (D&&C) Q.fireOnContextMenu(null,FCK.ContextMenu._InnerContextMenu);}catch(err) {}}});FCK.Events.AttachEvent(\'OnPaste\',function(){window.scayt_control.refresh();return true;});};FCK.Events.AttachEvent(\'OnAfterSetHTML\',function(){if (FCKConfig.SpellChecker==\'SCAYT\'){if (!B&&FCK.Config.ScaytAutoStartup) ScaytEngineLoad();if (FCK.EditMode==0&&B&&D) createScaytControl();ShowScaytState();}});FCK.Events.AttachEvent(\'OnBeforeGetData\',function(){D&&window.scayt_control.reset();});FCK.Events.AttachEvent(\'OnAfterGetData\',function(){D&&window.scayt_control.refresh();});FCKScayt={CreateCommand:function(){return new T();},CreateContextCommand:function(){return new b();},CreateToolbarItem:function(){return new Z();}};})();\r\n
+var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case \'Source\':B=new FCKToolbarButton(\'Source\',FCKLang.Source,null,2,true,true,1);break;case \'DocProps\':B=new FCKToolbarButton(\'DocProps\',FCKLang.DocProps,null,null,null,null,2);break;case \'Save\':B=new FCKToolbarButton(\'Save\',FCKLang.Save,null,null,true,null,3);break;case \'NewPage\':B=new FCKToolbarButton(\'NewPage\',FCKLang.NewPage,null,null,true,null,4);break;case \'Preview\':B=new FCKToolbarButton(\'Preview\',FCKLang.Preview,null,null,true,null,5);break;case \'Templates\':B=new FCKToolbarButton(\'Templates\',FCKLang.Templates,null,null,null,null,6);break;case \'About\':B=new FCKToolbarButton(\'About\',FCKLang.About,null,null,true,null,47);break;case \'Cut\':B=new FCKToolbarButton(\'Cut\',FCKLang.Cut,null,null,false,true,7);break;case \'Copy\':B=new FCKToolbarButton(\'Copy\',FCKLang.Copy,null,null,false,true,8);break;case \'Paste\':B=new FCKToolbarButton(\'Paste\',FCKLang.Paste,null,null,false,true,9);break;case \'PasteText\':B=new FCKToolbarButton(\'PasteText\',FCKLang.PasteText,null,null,false,true,10);break;case \'PasteWord\':B=new FCKToolbarButton(\'PasteWord\',FCKLang.PasteWord,null,null,false,true,11);break;case \'Print\':B=new FCKToolbarButton(\'Print\',FCKLang.Print,null,null,false,true,12);break;case \'Undo\':B=new FCKToolbarButton(\'Undo\',FCKLang.Undo,null,null,false,true,14);break;case \'Redo\':B=new FCKToolbarButton(\'Redo\',FCKLang.Redo,null,null,false,true,15);break;case \'SelectAll\':B=new FCKToolbarButton(\'SelectAll\',FCKLang.SelectAll,null,null,true,null,18);break;case \'RemoveFormat\':B=new FCKToolbarButton(\'RemoveFormat\',FCKLang.RemoveFormat,null,null,false,true,19);break;case \'FitWindow\':B=new FCKToolbarButton(\'FitWindow\',FCKLang.FitWindow,null,null,true,true,66);break;case \'Bold\':B=new FCKToolbarButton(\'Bold\',FCKLang.Bold,null,null,false,true,20);break;case \'Italic\':B=new FCKToolbarButton(\'Italic\',FCKLang.Italic,null,null,false,true,21);break;case \'Underline\':B=new FCKToolbarButton(\'Underline\',FCKLang.Underline,null,null,false,true,22);break;case \'StrikeThrough\':B=new FCKToolbarButton(\'StrikeThrough\',FCKLang.StrikeThrough,null,null,false,true,23);break;case \'Subscript\':B=new FCKToolbarButton(\'Subscript\',FCKLang.Subscript,null,null,false,true,24);break;case \'Superscript\':B=new FCKToolbarButton(\'Superscript\',FCKLang.Superscript,null,null,false,true,25);break;case \'OrderedList\':B=new FCKToolbarButton(\'InsertOrderedList\',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case \'UnorderedList\':B=new FCKToolbarButton(\'InsertUnorderedList\',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case \'Outdent\':B=new FCKToolbarButton(\'Outdent\',FCKLang.DecreaseIndent,null,null,false,true,28);break;case \'Indent\':B=new FCKToolbarButton(\'Indent\',FCKLang.IncreaseIndent,null,null,false,true,29);break;case \'Blockquote\':B=new FCKToolbarButton(\'Blockquote\',FCKLang.Blockquote,null,null,false,true,73);break;case \'CreateDiv\':B=new FCKToolbarButton(\'CreateDiv\',FCKLang.CreateDiv,null,null,false,true,74);break;case \'Link\':B=new FCKToolbarButton(\'Link\',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case \'Unlink\':B=new FCKToolbarButton(\'Unlink\',FCKLang.RemoveLink,null,null,false,true,35);break;case \'Anchor\':B=new FCKToolbarButton(\'Anchor\',FCKLang.Anchor,null,null,null,null,36);break;case \'Image\':B=new FCKToolbarButton(\'Image\',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case \'Flash\':B=new FCKToolbarButton(\'Flash\',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case \'Table\':B=new FCKToolbarButton(\'Table\',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case \'SpecialChar\':B=new FCKToolbarButton(\'SpecialChar\',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case \'Smiley\':B=new FCKToolbarButton(\'Smiley\',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case \'PageBreak\':B=new FCKToolbarButton(\'PageBreak\',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case \'Rule\':B=new FCKToolbarButton(\'Rule\',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case \'JustifyLeft\':B=new FCKToolbarButton(\'JustifyLeft\',FCKLang.LeftJustify,null,null,false,true,30);break;case \'JustifyCenter\':B=new FCKToolbarButton(\'JustifyCenter\',FCKLang.CenterJustify,null,null,false,true,31);break;case \'JustifyRight\':B=new FCKToolbarButton(\'JustifyRight\',FCKLang.RightJustify,null,null,false,true,32);break;case \'JustifyFull\':B=new FCKToolbarButton(\'JustifyFull\',FCKLang.BlockJustify,null,null,false,true,33);break;case \'Style\':B=new FCKToolbarStyleCombo();break;case \'FontName\':B=new FCKToolbarFontsCombo();break;case \'FontSize\':B=new FCKToolbarFontSizeCombo();break;case \'FontFormat\':B=new FCKToolbarFontFormatCombo();break;case \'TextColor\':B=new FCKToolbarPanelButton(\'TextColor\',FCKLang.TextColor,null,null,45);break;case \'BGColor\':B=new FCKToolbarPanelButton(\'BGColor\',FCKLang.BGColor,null,null,46);break;case \'Find\':B=new FCKToolbarButton(\'Find\',FCKLang.Find,null,null,null,null,16);break;case \'Replace\':B=new FCKToolbarButton(\'Replace\',FCKLang.Replace,null,null,null,null,17);break;case \'Form\':B=new FCKToolbarButton(\'Form\',FCKLang.Form,null,null,null,null,48);break;case \'Checkbox\':B=new FCKToolbarButton(\'Checkbox\',FCKLang.Checkbox,null,null,null,null,49);break;case \'Radio\':B=new FCKToolbarButton(\'Radio\',FCKLang.RadioButton,null,null,null,null,50);break;case \'TextField\':B=new FCKToolbarButton(\'TextField\',FCKLang.TextField,null,null,null,null,51);break;case \'Textarea\':B=new FCKToolbarButton(\'Textarea\',FCKLang.Textarea,null,null,null,null,52);break;case \'HiddenField\':B=new FCKToolbarButton(\'HiddenField\',FCKLang.HiddenField,null,null,null,null,56);break;case \'Button\':B=new FCKToolbarButton(\'Button\',FCKLang.Button,null,null,null,null,54);break;case \'Select\':B=new FCKToolbarButton(\'Select\',FCKLang.SelectionField,null,null,null,null,53);break;case \'ImageButton\':B=new FCKToolbarButton(\'ImageButton\',FCKLang.ImageButton,null,null,null,null,55);break;case \'ShowBlocks\':B=new FCKToolbarButton(\'ShowBlocks\',FCKLang.ShowBlocks,null,null,null,true,72);break;case \'SpellCheck\':if (FCKConfig.SpellChecker==\'SCAYT\') B=FCKScayt.CreateToolbarItem();else B=new FCKToolbarButton(\'SpellCheck\',FCKLang.SpellCheck,null,null,null,null,13);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;};\r\n
 var FCKToolbar=function(){this.Items=[];};FCKToolbar.prototype.AddItem=function(A){return this.Items[this.Items.length]=A;};FCKToolbar.prototype.AddButton=function(A,B,C,D,E,F){if (typeof(D)==\'number\') D=[this.DefaultIconsStrip,this.DefaultIconSize,D];var G=new FCKToolbarButtonUI(A,B,C,D,E,F);G._FCKToolbar=this;G.OnClick=FCKToolbar_OnItemClick;return this.AddItem(G);};function FCKToolbar_OnItemClick(A){var B=A._FCKToolbar;if (B.OnItemClick) B.OnItemClick(B,A);};FCKToolbar.prototype.AddSeparator=function(){this.AddItem(new FCKToolbarSeparator());};FCKToolbar.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var e=B.createElement(\'table\');e.className=\'TB_Toolbar\';e.style.styleFloat=e.style.cssFloat=(FCKLang.Dir==\'ltr\'?\'left\':\'right\');e.dir=FCKLang.Dir;e.cellPadding=0;e.cellSpacing=0;var C=e.insertRow(-1);var D;if (!this.HideStart){D=C.insertCell(-1);D.appendChild(B.createElement(\'div\')).className=\'TB_Start\';};for (var i=0;i<this.Items.length;i++){this.Items[i].Create(C.insertCell(-1));};if (!this.HideEnd){D=C.insertCell(-1);D.appendChild(B.createElement(\'div\')).className=\'TB_End\';};A.appendChild(e);};var FCKToolbarSeparator=function(){};FCKToolbarSeparator.prototype.Create=function(A){FCKTools.AppendElement(A,\'div\').className=\'TB_Separator\';};\r\n
 var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=A.ownerDocument.createElement(\'div\');B.style.clear=B.style.cssFloat=FCKLang.Dir==\'rtl\'?\'right\':\'left\';A.appendChild(B);};\r\n
-function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case \'In\':document.getElementById(\'xToolbarRow\').style.display=\'\';B=new FCKToolbarSet(document);break;case \'None\':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent(\'OnBlur\',FCK_OnBlur);FCK.Events.AttachEvent(\'OnFocus\',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\\((\\w+)\\)$/);if (E){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else D=eval(\'parent.\'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert(\'Invalid value for "ToolbarLocation"\');return arguments.callee(\'In\');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement(\'iframe\');F.src=\'javascript:void(0)\';F.frameBorder=0;F.width=\'100%\';F.height=\'10\';D.appendChild(F);F.unselectable=\'on\';var G=F.contentWindow.document;var H=\'\';if (FCKBrowserInfo.IsSafari) H=\'<base href="\'+window.document.location+\'">\';G.open();G.write(\'<html><head>\'+H+\'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">\'+document.getElementById(\'xToolbarSpace\').innerHTML+\'</body></html>\');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,\'contextmenu\',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById(\'xToolbar\');var B=A.getElementById(\'xExpandHandle\');var C=A.getElementById(\'xCollapseHandle\');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,\'click\',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,\'click\',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?\'\':\'none\';if (FCKConfig.ToolbarCanCollapse) C.style.display=\'\';else A.getElementById(\'xTBLeftBorder\').style.display=\'\';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById(\'xCollapsed\').style.display=A?\'\':\'none\';this._Document.getElementById(\'xExpanded\').style.display=A?\'none\':\'\';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML=\'\';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)==\'string\'){if (C==\'/\') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E==\'-\') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById(\'xCollapseHandle\').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent(\'OnStatusChange\',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();};\r\n
-var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName(\'frameset\').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{\'width\':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+\'px\',\'height\':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+\'px\'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ \'X\':0,\'Y\':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement(\'iframe\');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+\'fckdialog.html\';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{\'position\':(L)?\'absolute\':\'fixed\',\'top\':M+\'px\',\'left\':N+\'px\',\'width\':width+\'px\',\'height\':height+\'px\',\'zIndex\':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement(\'div\');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{\'position\':\'absolute\',\'zIndex\':F(),\'top\':\'0px\',\'left\':\'0px\',\'backgroundColor\':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement(\'iframe\');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{\'width\':\'100%\',\'height\':\'100%\',\'position\':\'absolute\',\'left\':\'0px\',\'top\':\'0px\',\'filter\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\'});C.appendChild(Q);};FCKTools.AddEventListener(D,\'resize\',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,\'_fck_originalTabIndex\');},GetCover:function(){return C;}};})();\r\n
+function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case \'In\':document.getElementById(\'xToolbarRow\').style.display=\'\';B=new FCKToolbarSet(document);break;case \'None\':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent(\'OnBlur\',FCK_OnBlur);FCK.Events.AttachEvent(\'OnFocus\',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\\((\\w+)\\)$/);if (E){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else D=eval(\'parent.\'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert(\'Invalid value for "ToolbarLocation"\');return arguments.callee(\'In\');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement(\'iframe\');F.src=\'javascript:void(0)\';F.frameBorder=0;F.width=\'100%\';F.height=\'10\';D.appendChild(F);F.unselectable=\'on\';var G=F.contentWindow.document;var H=\'\';if (FCKBrowserInfo.IsSafari) H=\'<base href="\'+window.document.location+\'">\';G.open();G.write(\'<html><head>\'+H+\'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">\'+document.getElementById(\'xToolbarSpace\').innerHTML+\'</body></html>\');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,\'contextmenu\',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById(\'xToolbar\');var B=A.getElementById(\'xExpandHandle\');var C=A.getElementById(\'xCollapseHandle\');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,\'click\',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,\'click\',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?\'\':\'none\';if (FCKConfig.ToolbarCanCollapse) C.style.display=\'\';else A.getElementById(\'xTBLeftBorder\').style.display=\'\';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById(\'xCollapsed\').style.display=A?\'\':\'none\';this._Document.getElementById(\'xExpanded\').style.display=A?\'none\':\'\';if (window.onresize){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML=\'\';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)==\'string\'){if (C==\'/\') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E==\'-\') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById(\'xCollapseHandle\').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent(\'OnStatusChange\',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();};\r\n
+var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName(\'frameset\').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{\'width\':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+\'px\',\'height\':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+\'px\'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ \'X\':0,\'Y\':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement(\'iframe\');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+\'fckdialog.html\';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{\'position\':(L)?\'absolute\':\'fixed\',\'top\':M+\'px\',\'left\':N+\'px\',\'width\':width+\'px\',\'height\':height+\'px\',\'zIndex\':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement(\'div\');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{\'position\':\'absolute\',\'zIndex\':F(),\'top\':\'0px\',\'left\':\'0px\',\'backgroundColor\':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement(\'iframe\');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{\'width\':\'100%\',\'height\':\'100%\',\'position\':\'absolute\',\'left\':\'0px\',\'top\':\'0px\',\'filter\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\'});C.appendChild(Q);};FCKTools.AddEventListener(D,\'resize\',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,\'_fck_originalTabIndex\');},GetCover:function(){return C;}};})();\r\n
 var FCKMenuItem=function(A,B,C,D,E,F){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?\'MN_Item_Disabled\':\'MN_Item\';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,\'mouseover\',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,\'click\',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,\'mouseout\',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className=\'MN_Icon\';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className=\'MN_Label\';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className=\'MN_Arrow\';var E=D.appendChild(C.createElement(\'IMG\'));E.src=FCK_IMAGES_PATH+\'arrow_\'+FCKLang.Dir+\'.gif\';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className=\'MN_Item_Over\';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className=\'MN_Item\';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;};\r\n
 var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement(\'table\'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className=\'MN_Menu\';var E=this._ItemsTable=D.appendChild(B.createElement(\'table\'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i<this._Items.length;i++) this._Items[i].Create(this._ItemsTable);};function FCKMenuBlock_Item_OnClick(A,B){if (B.Hide) B.Hide();FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuBlock_Item_OnActivate(A){var B=A._ActiveItem;if (B&&B!=this){if (!FCKBrowserInfo.IsIE&&B.HasSubMenu&&!this.HasSubMenu){A._Window.focus();A.Panel.HasFocus=true;};B.Deactivate();};A._ActiveItem=this;};function FCKMenuBlock_Cleanup(){this._Window=null;this._ItemsTable=null;};var FCKMenuSeparator=function(){};FCKMenuSeparator.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var r=A.insertRow(-1);var C=r.insertCell(-1);C.className=\'MN_Separator MN_Icon\';C=r.insertCell(-1);C.className=\'MN_Separator\';C.appendChild(B.createElement(\'DIV\')).className=\'MN_Separator_Line\';C=r.insertCell(-1);C.className=\'MN_Separator\';C.appendChild(B.createElement(\'DIV\')).className=\'MN_Separator_Line\';};\r\n
 var FCKMenuBlockPanel=function(){FCKMenuBlock.call(this);};FCKMenuBlockPanel.prototype=new FCKMenuBlock();FCKMenuBlockPanel.prototype.Create=function(){var A=this.Panel=(this.Parent&&this.Parent.Panel?this.Parent.Panel.CreateChildPanel():new FCKPanel());A.AppendStyleSheet(FCKConfig.SkinEditorCSS);FCKMenuBlock.prototype.Create.call(this,A.MainNode);};FCKMenuBlockPanel.prototype.Show=function(x,y,A){if (!this.Panel.CheckIsOpened()) this.Panel.Show(x,y,A);};FCKMenuBlockPanel.prototype.Hide=function(){if (this.Panel.CheckIsOpened()) this.Panel.Hide();};\r\n
@@ -147,7 +148,7 @@ var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlu
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>261460</int> </value>
+            <value> <int>268566</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_ie.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_ie.js.xml
index dd29b7d921..d74012d774 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_ie.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/js/fckeditorcode_ie.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309716.86</string> </value>
+            <value> <string>ts60538662.48</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -60,24 +60,24 @@ var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:/*@cc_on!@*/fal
 var FCKURLParams={};(function(){var A=document.location.search.substr(1).split(\'&\');for (var i=0;i<A.length;i++){var B=A[i].split(\'=\');var C=decodeURIComponent(B[0]);var D=decodeURIComponent(B[1]);FCKURLParams[C]=D;}})();\r\n
 var FCKEvents=function(A){this.Owner=A;this._RegisteredEvents={};};FCKEvents.prototype.AttachEvent=function(A,B){var C;if (!(C=this._RegisteredEvents[A])) this._RegisteredEvents[A]=[B];else{if (C.IndexOf(B)==-1) C.push(B);}};FCKEvents.prototype.FireEvent=function(A,B){var C=true;var D=this._RegisteredEvents[A];if (D){for (var i=0;i<D.length;i++){try{C=(D[i](this.Owner,B)&&C);}catch(e){if (e.number!=-2146823277) throw e;}}};return C;};\r\n
 var FCKDataProcessor=function(){};FCKDataProcessor.prototype={ConvertToHtml:function(A){if (FCKConfig.FullPage){FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (!FCKRegexLib.HasBodyTag.test(A)) A=\'<body>\'+A+\'</body>\';if (!FCKRegexLib.HtmlOpener.test(A)) A=\'<html dir="\'+FCKConfig.ContentLangDirection+\'">\'+A+\'</html>\';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,\'$&<head><title></title></head>\');return A;}else{var B=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"\';if (FCKBrowserInfo.IsIE&&FCKConfig.DocType.length>0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=\' style="overflow-y: scroll"\';B+=\'><head><title></title></head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+A+\'</body></html>\';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return \'\';return E;},FixHtml:function(A){return A;}};\r\n
-var FCK={Name:FCKURLParams[\'InstanceName\'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent(\'OnSelectionChange\',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:\'\',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?\'<base href="\'+FCKConfig.BaseHref+\'" _fcktemp="true"></base>\':\'\';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById(\'xEditingArea\'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent(\'OnStatusChange\',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!=\'p\'&&A!=\'div\') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!=\'li\'&&!D.getAttribute(\'_fckfakelement\')&&D.getAttribute(\'_moz_dirty\')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,\'$1\');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+\'\\n\'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+\'\\n\'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent(\'OnAfterLinkedFieldUpdate\');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers[\'*\'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||\'*\';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(A);}},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent(\'OnSelectionChange\');FCK.Events.FireEvent(\'OnAfterSetHTML\');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsImg,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsArea,\'$& _fcksavedurl=$1\');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?\'|ABBR|XML|EMBED|OBJECT\':\'ABBR|XML|EMBED|OBJECT\';var C;if (B.length>0){C=new RegExp(\'<(\'+B+\')(?!\\w|:)\',\'gi\');A=A.replace(C,\'<FCK:$1\');C=new RegExp(\'<\\/(\'+B+\')>\',\'gi\');A=A.replace(C,\'<\\/FCK:$1>\');};B=\'META\';if (FCKBrowserInfo.IsIE) B+=\'|HR\';C=new RegExp(\'<((\'+B+\')(?=\\\\s|>|/)[\\\\s\\\\S]*?)/?>\',\'gi\');A=A.replace(C,\'<FCK:$1 />\');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();FCK.Selection.Release();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,\'$1></$2>\');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,\'$&\'+FCK.TempBaseTag);var C=\'\';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+\'$&\');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent(\'OnAfterSetHTML\');};if (FCKBrowserInfo.IsGecko) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent(\'OnSelectionChange\');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals(\'Paste\')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B=\'\';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:\'\';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent(\'OnPaste\')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteFromWord,\'dialog/fck_paste.html\',400,330,\'Word\');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"><head>\'+FCK.TempBaseTag+\'<title>\'+FCKLang.Preview+\'</title>\'+_FCK_GetEditorAreaStyleTags()+\'</head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+FCK.GetXHTML()+\'</body></html>\';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E=\'\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )\';};var F=window.open(E,null,\'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=\'+B+\',height=\'+C+\',left=\'+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand(\'ShowBlocks\').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A==\'string\') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,[\'hr\',\'br\',\'param\',\'img\',\'area\',\'input\'],true);if (!D&&FCKConfig.EnterMode!=\'br\'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text=\'\\t\';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push(\'\\t\');a.push(D.value.substr(F));D.value=a.join(\'\');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return \' \'+B+\'_fckprotectedatt="\'+encodeURIComponent(A)+\'"\';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type==\'mousedown\') FCK.MouseDownFlag=true;else if (A.type==\'mouseup\') FCK.MouseDownFlag=false;else if (A.type==\'mousemove\') FCK.Events.FireEvent(\'OnMouseMove\',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals(\'br\')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals(\'body\')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode(\'\\ufeff\'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML(\'\');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,\'mousemove\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mouseup\',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,\'keyup\',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand(\'ShowBlocks\').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case \'Paste\':return!FCK.Paste();case \'Cut\':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals(\'Paste\',\'Undo\',\'Redo\',\'SelectAll\',\'Cut\')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals(\'input\',\'textarea\')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]=\'<div>&nbsp;\'+this.Elements[i].outerHTML+\'</div>\';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement(\'div\');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,\'focus\',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!=\'undefined\'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\\d+$/.test(B)) B+=\'px\';if (/^\\d+$/.test(C)) C+=\'px\';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor=\'transparent\';D.backgroundImage=\'none\';D.width=B;D.height=C;})();\r\n
-FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.BasePath;var B=\'\';var C;C=\'<style type="text/css" _fcktemp="true">\';if (FCKConfig.ShowBorders) B=\'url(\'+A+\'css/behaviors/showtableborders.htc)\';C+=\'INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden\';if (FCKConfig.DisableObjectResizing){C+=\',IMG\';B+=\' url(\'+A+\'css/behaviors/disablehandles.htc)\';};C+=\' { behavior: url(\'+A+\'css/behaviors/disablehandles.htc) ; }\';if (B.length>0) C+=\'TABLE { behavior: \'+B+\' ; }\';C+=\'</style>\';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName==\'HTML\'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){var A=FCK.EditorDocument.body;A.detachEvent(\'onpaste\',Doc_OnPaste);var B=FCK.Paste(!FCKConfig.ForcePasteAsPlainText&&!FCKConfig.AutoDetectPasteFromWord);A.attachEvent(\'onpaste\',Doc_OnPaste);return B;};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){if (!FCK.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData(\'Text\'));A.returnValue=false;A.cancelBubble=true;}};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent(\'onmouseup\',Doc_OnMouseUp);this.EditorDocument.body.attachEvent(\'onpaste\',Doc_OnPaste);this.EditorDocument.body.attachEvent(\'ondrop\',Doc_OnDrop);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);this.EditorDocument.attachEvent("onkeydown",FCK._KeyDownListener);this.EditorDocument.attachEvent("ondblclick",Doc_OnDblClick);this.EditorDocument.attachEvent("onbeforedeactivate",function(){ FCKSelection.Save();});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()==\'control\') B.clear();A=\'<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</span>\'+A;B.createRange().pasteHTML(A);FCK.EditorDocument.getElementById(\'__fakeFCKRemove__\').removeNode(true);FCKDocumentProcessor.Process(FCK.EditorDocument);this.Events.FireEvent("OnSelectionChange");};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML=\'<div id="__fakeFCKRemove__">&nbsp;</div>\'+A;B.getElementById(\'__fakeFCKRemove__\').removeNode(true);};function FCK_PreloadImages(){var A=new FCKImagePreloader();A.AddImages(FCKConfig.PreloadImages);A.AddImages(FCKConfig.SkinPath+\'fck_strip.gif\');A.OnComplete=LoadToolbarSetup;A.Start();};function Document_OnContextMenu(){return (event.srcElement._FCKShowContextMenu==true);};document.oncontextmenu=Document_OnContextMenu;function FCK_Cleanup(){this.LinkedField=null;this.EditorWindow=null;this.EditorDocument=null;};FCK._ExecPaste=function(){if (FCK._PasteIsRunning) return true;if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};var A=FCK._CheckIsPastingEnabled(true);if (A===false) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,[\'FCKDialog_Paste\',FCKLang.Paste,\'dialog/fck_paste.html\',400,330,\'Security\']);else{if (FCKConfig.AutoDetectPasteFromWord&&A.length>0){var B=/<\\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang.PasteWordConfirm)){FCK.PasteFromWord();return false;}}};FCK._PasteIsRunning=true;FCK.ExecuteNamedCommand(\'Paste\');delete FCK._PasteIsRunning;};return false;};FCK.PasteAsPlainText=function(A){if (!FCK._CheckIsPastingEnabled()){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteAsText,\'dialog/fck_paste.html\',400,330,\'PlainText\');return;};var B=null;if (!A) B=clipboardData.getData("Text");else B=A;if (B&&B.length>0){B=FCKTools.HTMLEncode(B);B=FCKTools.ProcessLineBreaks(window,FCKConfig,B);var C=B.search(\'</p>\');var D=B.search(\'<p>\');if ((C!=-1&&D!=-1&&C<D)||(C!=-1&&D==-1)){var E=B.substr(0,C);B=B.substr(C+4);this.InsertHtml(E);};FCKUndo.SaveLocked=true;this.InsertHtml(B);FCKUndo.SaveLocked=false;}};FCK._CheckIsPastingEnabled=function(A){FCK._PasteIsEnabled=false;document.body.attachEvent(\'onpaste\',FCK_CheckPasting_Listener);var B=FCK.GetClipboardHTML();document.body.detachEvent(\'onpaste\',FCK_CheckPasting_Listener);if (FCK._PasteIsEnabled){if (!A) B=true;}else B=false;delete FCK._PasteIsEnabled;return B;};function FCK_CheckPasting_Listener(){FCK._PasteIsEnabled=true;};FCK.GetClipboardHTML=function(){var A=document.getElementById(\'___FCKHiddenDiv\');if (!A){A=document.createElement(\'DIV\');A.id=\'___FCKHiddenDiv\';var B=A.style;B.position=\'absolute\';B.visibility=B.overflow=\'hidden\';B.width=B.height=1;document.body.appendChild(A);};A.innerHTML=\'\';var C=document.body.createTextRange();C.moveToElementText(A);C.execCommand(\'Paste\');var D=A.innerHTML;A.innerHTML=\'\';return D;};FCK.CreateLink=function(A,B){var C=[];FCK.ExecuteNamedCommand(\'Unlink\',null,false,!!B);if (A.length>0){if (FCKSelection.GetType()==\'Control\'){var D=this.EditorDocument.createElement(\'A\');D.href=A;var E=FCKSelection.GetSelectedElement();E.parentNode.insertBefore(D,E);E.parentNode.removeChild(E);D.appendChild(E);return [D];};var F=\'javascript:void(0);/*\'+(new Date().getTime())+\'*/\';FCK.ExecuteNamedCommand(\'CreateLink\',F,false,!!B);var G=this.EditorDocument.links;for (i=0;i<G.length;i++){var D=G[i];if (D.getAttribute(\'href\',2)==F){var I=D.innerHTML;D.href=A;D.innerHTML=I;var J=D.lastChild;if (J&&J.nodeName==\'BR\'){FCKDomTools.InsertAfterNode(D,D.removeChild(J));};C.push(D);}}};return C;};function _FCK_RemoveDisabledAtt(){this.removeAttribute(\'disabled\');};function Doc_OnMouseDown(A){var e=A.srcElement;if (e.nodeName.IEquals(\'input\')&&e.type.IEquals([\'radio\',\'checkbox\'])&&!e.disabled){e.disabled=true;FCKTools.SetTimeout(_FCK_RemoveDisabledAtt,1,e);}};\r\n
-var FCKConfig=FCK.Config={};if (document.location.protocol==\'file:\'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\\\/gi,\'/\');var sFullProtocol=document.location.href.match(/^(file\\:\\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+=\'localhost/\';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf(\'/\')+1);}else FCKConfig.BasePath=document.location.protocol+\'//\'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf(\'/\')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\\/$/,\'\');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+\'___Config\');if (!A) return;var B=A.value.split(\'&\');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split(\'=\');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D==\'CustomConfigurationsPath\') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {  }};if (!A.PluginsPath.EndsWith(\'/\')) A.PluginsPath+=\'/\';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||\'\').split(\',\');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+\'fck_editor.css\';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+\'fck_dialog.css\';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\\s\\S]*?-->/g,/<script[\\s\\S]*?<\\/script>/gi,/<noscript[\\s\\S]*?<\\/noscript>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return \'<!--{\'+B+C+\'}-->\';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\\\{"+this._CodeTag+"(\\\\d+)\\\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A=\'\';if (this.BodyId&&this.BodyId.length>0) A+=\' id="\'+this.BodyId+\'"\';if (this.BodyClass&&this.BodyClass.length>0) A+=\' class="\'+this.BodyClass+\'"\';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=\' \'+FCKConfig.BodyClass;};\r\n
+var FCK={Name:FCKURLParams[\'InstanceName\'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent(\'OnSelectionChange\',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:\'\',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?\'<base href="\'+FCKConfig.BaseHref+\'" _fcktemp="true"></base>\':\'\';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById(\'xEditingArea\'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent(\'OnStatusChange\',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!=\'p\'&&A!=\'div\') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!=\'li\'&&!D.getAttribute(\'_fckfakelement\')&&D.getAttribute(\'_moz_dirty\')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){FCK.Events.FireEvent("OnBeforeGetData");if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,\'$1\');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+\'\\n\'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+\'\\n\'+D;};D=FCKConfig.ProtectedSource.Revert(D);setTimeout(function() { FCK.Events.FireEvent("OnAfterGetData");},0);return D;},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent(\'OnAfterLinkedFieldUpdate\');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers[\'*\'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||\'*\';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(A);}},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent(\'OnSelectionChange\');FCK.Events.FireEvent(\'OnAfterSetHTML\');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsImg,\'$& _fcksavedurl=$1\');A=A.replace(FCKRegexLib.ProtectUrlsArea,\'$& _fcksavedurl=$1\');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?\'|ABBR|XML|EMBED|OBJECT\':\'ABBR|XML|EMBED|OBJECT\';var C;if (B.length>0){C=new RegExp(\'<(\'+B+\')(?!\\w|:)\',\'gi\');A=A.replace(C,\'<FCK:$1\');C=new RegExp(\'<\\/(\'+B+\')>\',\'gi\');A=A.replace(C,\'<\\/FCK:$1>\');};B=\'META\';if (FCKBrowserInfo.IsIE) B+=\'|HR\';C=new RegExp(\'<((\'+B+\')(?=\\\\s|>|/)[\\\\s\\\\S]*?)/?>\',\'gi\');A=A.replace(C,\'<FCK:$1 />\');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};FCKTempBin.Reset();FCK.Selection.Release();if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,\'$1></$2>\');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,\'$&\'+FCK.TempBaseTag);var C=\'\';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,true);A=A.replace(FCKRegexLib.HeadCloser,C+\'$&\');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent(\'OnAfterSetHTML\');};if (window.onresize) window.onresize();},RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent(\'OnSelectionChange\');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals(\'Paste\')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B=\'\';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:\'\';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent(\'OnPaste\')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteFromWord,\'dialog/fck_paste.html\',400,330,\'Word\');},Preview:function(){var A;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+\'<html dir="\'+FCKConfig.ContentLangDirection+\'"><head>\'+FCK.TempBaseTag+\'<title>\'+FCKLang.Preview+\'</title>\'+_FCK_GetEditorAreaStyleTags()+\'</head><body\'+FCKConfig.GetBodyAttributes()+\'>\'+FCK.GetXHTML()+\'</body></html>\';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E=\'\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )\';};var F=window.open(E,null,\'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=\'+B+\',height=\'+C+\',left=\'+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.document.close();}},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand(\'ShowBlocks\').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A==\'string\') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,[\'hr\',\'br\',\'param\',\'img\',\'area\',\'input\'],true);if (!D&&FCKConfig.EnterMode!=\'br\'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text=\'\\t\';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push(\'\\t\');a.push(D.value.substr(F));D.value=a.join(\'\');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return \' \'+B+\'_fckprotectedatt="\'+encodeURIComponent(A)+\'"\';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type==\'mousedown\') FCK.MouseDownFlag=true;else if (A.type==\'mouseup\') FCK.MouseDownFlag=false;else if (A.type==\'mousemove\') FCK.Events.FireEvent(\'OnMouseMove\',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals(\'br\')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCKSelection.GetSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals(\'body\')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).createTextNode(\'\\ufeff\'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML(\'\');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,\'mousemove\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,\'mouseup\',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){FCKTools.AddEventListener(FCK.EditorDocument,\'paste\',function(evt){var A=new FCKDomRange(FCK.EditorWindow);var B=FCK.EditorDocument.createTextNode(\'\\ufeff\');var C=FCK.EditorDocument.createElement(\'a\');C.id=\'fck_paste_padding\';C.innerHTML=\'&#65279;\';A.MoveToSelection();A.DeleteContents();A.InsertNode(B);A.Collapse();A.InsertNode(C);A.MoveToPosition(C,3);A.Select();setTimeout(function(){B.parentNode.removeChild(B);C=FCK.EditorDocument.getElementById(\'fck_paste_padding\');C.parentNode.removeChild(C);},0);});};if (FCKBrowserInfo.IsSafari){var D=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,\'keyup\',D);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand(\'ShowBlocks\').RestoreState();if (FCK.Status!=0) return;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case \'Paste\':return!FCK.Paste();case \'Cut\':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals(\'Paste\',\'Undo\',\'Redo\',\'SelectAll\',\'Cut\')) return false;};var C=FCK.Commands.GetCommand(B);if (C.GetState()==-1) return false;return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals(\'input\',\'textarea\')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]=\'<div>&nbsp;\'+this.Elements[i].outerHTML+\'</div>\';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement(\'div\');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,\'focus\',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,\'blur\',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,\'focus\',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!=\'undefined\'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\\d+$/.test(B)) B+=\'px\';if (/^\\d+$/.test(C)) C+=\'px\';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor=\'transparent\';D.backgroundImage=\'none\';D.width=B;D.height=C;})();\r\n
+FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.BasePath;var B=\'\';var C;C=\'<style type="text/css" _fcktemp="true">\';if (FCKConfig.ShowBorders) B=\'url(\'+A+\'css/behaviors/showtableborders.htc)\';C+=\'INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden\';if (FCKConfig.DisableObjectResizing){C+=\',IMG\';B+=\' url(\'+A+\'css/behaviors/disablehandles.htc)\';};C+=\' { behavior: url(\'+A+\'css/behaviors/disablehandles.htc) ; }\';if (B.length>0) C+=\'TABLE { behavior: \'+B+\' ; }\';C+=\'</style>\';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName==\'HTML\'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){var A=FCK.EditorDocument.body;A.detachEvent(\'onpaste\',Doc_OnPaste);var B=FCK.Paste(!FCKConfig.ForcePasteAsPlainText&&!FCKConfig.AutoDetectPasteFromWord);A.attachEvent(\'onpaste\',Doc_OnPaste);return B;};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){if (!FCK.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData(\'Text\'));A.returnValue=false;A.cancelBubble=true;}};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent(\'onmouseup\',Doc_OnMouseUp);this.EditorDocument.body.attachEvent(\'onpaste\',Doc_OnPaste);this.EditorDocument.body.attachEvent(\'ondrop\',Doc_OnDrop);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);this.EditorDocument.attachEvent("onkeydown",FCK._KeyDownListener);this.EditorDocument.attachEvent("ondblclick",Doc_OnDblClick);this.EditorDocument.attachEvent("onbeforedeactivate",function(){ FCKSelection.Save();});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,\'mousedown\',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()==\'control\') B.clear();A=\'<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</span>\'+A;B.createRange().pasteHTML(A);var C=FCK.EditorDocument.getElementById(\'__fakeFCKRemove__\');if (C.parentNode.childNodes.length==1) C=C.parentNode;C.removeNode(true);FCKDocumentProcessor.Process(FCK.EditorDocument);this.Events.FireEvent("OnSelectionChange");};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML=\'<div id="__fakeFCKRemove__">&nbsp;</div>\'+A;B.getElementById(\'__fakeFCKRemove__\').removeNode(true);};function FCK_PreloadImages(){var A=new FCKImagePreloader();A.AddImages(FCKConfig.PreloadImages);A.AddImages(FCKConfig.SkinPath+\'fck_strip.gif\');A.OnComplete=LoadToolbarSetup;A.Start();};function Document_OnContextMenu(){return (event.srcElement._FCKShowContextMenu==true);};document.oncontextmenu=Document_OnContextMenu;function FCK_Cleanup(){this.LinkedField=null;this.EditorWindow=null;this.EditorDocument=null;};FCK._ExecPaste=function(){if (FCK._PasteIsRunning) return true;if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};var A=FCK._CheckIsPastingEnabled(true);if (A===false) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,[\'FCKDialog_Paste\',FCKLang.Paste,\'dialog/fck_paste.html\',400,330,\'Security\']);else{if (FCKConfig.AutoDetectPasteFromWord&&A.length>0){var B=/<\\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang.PasteWordConfirm)){FCK.PasteFromWord();return false;}}};FCK._PasteIsRunning=true;FCK.ExecuteNamedCommand(\'Paste\');delete FCK._PasteIsRunning;};return false;};FCK.PasteAsPlainText=function(A){if (!FCK._CheckIsPastingEnabled()){FCKDialog.OpenDialog(\'FCKDialog_Paste\',FCKLang.PasteAsText,\'dialog/fck_paste.html\',400,330,\'PlainText\');return;};var B=null;if (!A) B=clipboardData.getData("Text");else B=A;if (B&&B.length>0){B=FCKTools.HTMLEncode(B);B=FCKTools.ProcessLineBreaks(window,FCKConfig,B);var C=B.search(\'</p>\');var D=B.search(\'<p>\');if ((C!=-1&&D!=-1&&C<D)||(C!=-1&&D==-1)){var E=B.substr(0,C);B=B.substr(C+4);this.InsertHtml(E);};FCKUndo.SaveLocked=true;this.InsertHtml(B);FCKUndo.SaveLocked=false;}};FCK._CheckIsPastingEnabled=function(A){FCK._PasteIsEnabled=false;document.body.attachEvent(\'onpaste\',FCK_CheckPasting_Listener);var B=FCK.GetClipboardHTML();document.body.detachEvent(\'onpaste\',FCK_CheckPasting_Listener);if (FCK._PasteIsEnabled){if (!A) B=true;}else B=false;delete FCK._PasteIsEnabled;return B;};function FCK_CheckPasting_Listener(){FCK._PasteIsEnabled=true;};FCK.GetClipboardHTML=function(){var A=document.getElementById(\'___FCKHiddenDiv\');if (!A){A=document.createElement(\'DIV\');A.id=\'___FCKHiddenDiv\';var B=A.style;B.position=\'absolute\';B.visibility=B.overflow=\'hidden\';B.width=B.height=1;document.body.appendChild(A);};A.innerHTML=\'\';var C=document.body.createTextRange();C.moveToElementText(A);C.execCommand(\'Paste\');var D=A.innerHTML;A.innerHTML=\'\';return D;};FCK.CreateLink=function(A,B){var C=[];var D=FCKSelection.GetType()==\'Control\';var E=D&&FCKSelection.GetSelectedElement();if (!(D&&!FCKTools.GetElementAscensor(E,\'a\'))) FCK.ExecuteNamedCommand(\'Unlink\',null,false,!!B);if (A.length>0){if (D){var F=this.EditorDocument.createElement(\'A\');F.href=A;var G=E;G.parentNode.insertBefore(F,G);G.parentNode.removeChild(G);F.appendChild(G);return [F];};var H=\'javascript:void(0);/*\'+(new Date().getTime())+\'*/\';FCK.ExecuteNamedCommand(\'CreateLink\',H,false,!!B);var I=this.EditorDocument.links;for (i=0;i<I.length;i++){var F=I[i];if (F.getAttribute(\'href\',2)==H){var K=F.innerHTML;F.href=A;F.innerHTML=K;var L=F.lastChild;if (L&&L.nodeName==\'BR\'){FCKDomTools.InsertAfterNode(F,F.removeChild(L));};C.push(F);}}};return C;};function _FCK_RemoveDisabledAtt(){this.removeAttribute(\'disabled\');};function Doc_OnMouseDown(A){var e=A.srcElement;if (e.nodeName&&e.nodeName.IEquals(\'input\')&&e.type.IEquals([\'radio\',\'checkbox\'])&&!e.disabled){e.disabled=true;FCKTools.SetTimeout(_FCK_RemoveDisabledAtt,1,e);}};\r\n
+var FCKConfig=FCK.Config={};if (document.location.protocol==\'file:\'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\\\/gi,\'/\');var sFullProtocol=document.location.href.match(/^(file\\:\\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+=\'localhost/\';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf(\'/\')+1);}else FCKConfig.BasePath=document.location.protocol+\'//\'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf(\'/\')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\\/$/,\'\');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+\'___Config\');if (!A) return;var B=A.value.split(\'&\');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split(\'=\');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D==\'CustomConfigurationsPath\') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseFloat(E);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {  }};if (!A.PluginsPath.EndsWith(\'/\')) A.PluginsPath+=\'/\';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||\'\').split(\',\');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+\'fck_editor.css\';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+\'fck_dialog.css\';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\\s\\S]*?-->/g,/<script[\\s\\S]*?<\\/script>/gi,/<noscript[\\s\\S]*?<\\/noscript>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return \'<!--{\'+B+C+\'}-->\';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\\\{"+this._CodeTag+"(\\\\d+)\\\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A=\'\';if (this.BodyId&&this.BodyId.length>0) A+=\' id="\'+this.BodyId+\'"\';if (this.BodyClass&&this.BodyClass.length>0) A+=\' class="\'+this.BodyClass+\'"\';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=\' \'+FCKConfig.BodyClass;};\r\n
 var FCKDebug={Output:function(){},OutputObject:function(){}};\r\n
-var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()==\'br\'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()==\'br\'&&(A.body.firstChild.getAttribute(\'_moz_dirty\')!=null||A.body.firstChild.getAttribute(\'type\')==\'_moz\')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!=\'\\xa0\'&&String(D.firstChild.tagName).toLowerCase()!=\'br\')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE&&B[i].nodeName==\'class\'){if (A.className.length>0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()==\'class\') B=\'className\';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},GetAttributeValue:function(A,B){var C=B;if (typeof B==\'string\') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C==\'style\') return A.style.cssText;else if (C==\'class\'||C.indexOf(\'on\')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=FCKTools.GetElementDocument(A).documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute(\'id\',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xffffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ \'element\':B,\'markers\':{} };A[E][\'markers\'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,\'_FCKMarkerId\');for (var j in A[D][\'markers\']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i][\'element\'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals([\'ul\',\'ol\'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals(\'li\')) continue;var G={ \'parent\':A,\'indent\':D,\'contents\':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals(\'li\')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,\'_FCK_ListArray_Index\',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals([\'ul\',\'ol\'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=FCKTools.GetElementDocument(A[C].parent);var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement(\'li\');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals([\'ul\',\'ol\'])) I=D.createElement(\'li\');else{if (FCKConfig.EnterMode.IEquals([\'div\',\'p\'])&&!J.grandparent.nodeName.IEquals(\'td\')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute(\'type\')==\'_moz\') I.removeChild(I.lastChild);I.appendChild(D.createElement(\'br\'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals([\'div\',\'p\'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { \'listNode\':E,\'nextIndex\':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?\'\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=\'+B+\')\');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,\'\').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,\'position\')!=\'static\') return B;if (B==FCKTools.GetElementDocument(B).documentElement&&currentWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,\'marginBottom\')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C[\'#\']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \\t\\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals(\'div\')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}};\r\n
+var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()==\'br\'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)==\'string\') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()==\'br\'&&(A.body.firstChild.getAttribute(\'_moz_dirty\')!=null||A.body.firstChild.getAttribute(\'type\')==\'_moz\')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!=\'\\xa0\'&&String(D.firstChild.tagName).toLowerCase()!=\'br\')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE){var C=B[i].nodeName;if (C.StartsWith(\'_fck\')){continue;};if (C==\'class\'){if (A.className.length>0) return true;continue;}};if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()==\'class\') B=\'className\';return A.removeAttribute(B,0);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},GetAttributeValue:function(A,B){var C=B;if (typeof B==\'string\') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C==\'style\') return A.style.cssText;else if (C==\'class\'||C.indexOf(\'on\')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=FCKTools.GetElementDocument(A).documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute(\'id\',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xffffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ \'element\':B,\'markers\':{} };A[E][\'markers\'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,\'_FCKMarkerId\');for (var j in A[D][\'markers\']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i][\'element\'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals([\'ul\',\'ol\'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals(\'li\')) continue;var G={ \'parent\':A,\'indent\':D,\'contents\':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals(\'li\')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,\'_FCK_ListArray_Index\',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals([\'ul\',\'ol\'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=FCKTools.GetElementDocument(A[C].parent);var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement(\'li\');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals([\'ul\',\'ol\'])) I=D.createElement(\'li\');else{if (FCKConfig.EnterMode.IEquals([\'div\',\'p\'])&&!J.grandparent.nodeName.IEquals(\'td\')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute(\'type\')==\'_moz\') I.removeChild(I.lastChild);I.appendChild(D.createElement(\'br\'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals([\'div\',\'p\'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { \'listNode\':E,\'nextIndex\':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?\'\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=\'+B+\')\');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,\'\').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,\'position\')!=\'static\') return B;if (B==FCKTools.GetElementDocument(B).documentElement&&currentWindow!=w) B=currentWindow.frameElement;else B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight||0;E+=parseInt(this.GetCurrentElementStyle(A,\'marginBottom\')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C[\'#\']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \\t\\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals(\'div\')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}};\r\n
 var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement(\'br\');B.setAttribute(\'type\',\'_moz\');return B;};FCKTools.FixCssUrls=function(A,B){if (!A||A.length==0) return B;return B.replace(/url\\s*\\(([\\s\'"]*)(.*?)([\\s"\']*)\\)/g,function(match,opener,path,closer){if (/^\\/|^\\w?:/.test(path)) return match;else return \'url(\'+opener+A+path+closer+\')\';});};FCKTools._GetUrlFixedCss=function(A,B){var C=A.match(/^([^|]+)\\|([\\s\\S]*)/);if (C) return FCKTools.FixCssUrls(C[1],C[2]);else return A;};FCKTools.AppendStyleSheet=function(A,B){if (!B) return [];if (typeof(B)==\'string\'){if (/[\\\\\\/\\.][^{}]*$/.test(B)){return this.AppendStyleSheet(A,B.split(\',\'));}else return [this.AppendStyleString(A,FCKTools._GetUrlFixedCss(B))];}else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.GetStyleHtml=(function(){var A=function(styleDef,markTemp){if (styleDef.length==0) return \'\';var B=markTemp?\' _fcktemp="true"\':\'\';return \'<style type="text/css"\'+B+\'>\'+styleDef+\'</style>\';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return \'\';var B=markTemp?\' _fcktemp="true"\':\'\';return \'<link href="\'+cssFileUrl+\'" type="text/css" rel="stylesheet" \'+B+\'/>\';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return \'\';if (typeof(cssFileOrArrayOrDef)==\'string\'){if (/[\\\\\\/\\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(\',\'),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E=\'\';for (var i=0;i<cssFileOrArrayOrDef.length;i++) E+=C(cssFileOrArrayOrDef[i],markTemp);return E;}}})();FCKTools.GetElementDocument=function (A){return A.ownerDocument||A.document;};FCKTools.GetElementWindow=function(A){return this.GetDocumentWindow(this.GetElementDocument(A));};FCKTools.GetDocumentWindow=function(A){if (FCKBrowserInfo.IsSafari&&!A.parentWindow) this.FixDocumentParentWindow(window.top);return A.parentWindow||A.defaultView;};FCKTools.FixDocumentParentWindow=function(A){if (A.document) A.document.parentWindow=A;for (var i=0;i<A.frames.length;i++) FCKTools.FixDocumentParentWindow(A.frames[i]);};FCKTools.HTMLEncode=function(A){if (!A) return \'\';A=A.replace(/&/g,\'&amp;\');A=A.replace(/</g,\'&lt;\');A=A.replace(/>/g,\'&gt;\');return A;};FCKTools.HTMLDecode=function(A){if (!A) return \'\';A=A.replace(/&gt;/g,\'>\');A=A.replace(/&lt;/g,\'<\');A=A.replace(/&amp;/g,\'&\');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="<p>";var H="</p>";var I="<br />";if (C){G="<li>";H="</li>";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()==\'p\'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};var n=B.charAt(i+1);if (n==\'\\r\'){i++;n=B.charAt(i+1);};if (n==\'\\n\'){i++;if (F) E.push(H);E.push(G);F=1;}else E.push(I);}};FCKTools._ProcessLineBreaksForDivMode=function(A,B,C,D,E){var F=0;var G="<div>";var H="</div>";if (C){G="<li>";H="</li>";F=1;}while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()==\'div\'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};if (F){if (E[E.length-1]==G){E.push("&nbsp;");};E.push(H);};E.push(G);F=1;};if (F) E.push(H);};FCKTools._ProcessLineBreaksForBrMode=function(A,B,C,D,E){var F=0;var G="<br />";var H="";if (C){G="<li>";H="</li>";F=1;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c==\'\\r\') continue;if (c!=\'\\n\'){E.push(c);continue;};if (F&&H.length) E.push (H);E.push(G);F=1;}};FCKTools.ProcessLineBreaks=function(A,B,C){var D=B.EnterMode.toLowerCase();var E=[];var F=0;var G=new A.FCKDomRange(A.FCK.EditorWindow);G.MoveToSelection();var H=G._Range.startContainer;while (H&&H.nodeType!=1) H=H.parentNode;if (H&&H.tagName.toLowerCase()==\'li\') F=1;if (D==\'p\') this._ProcessLineBreaksForPMode(A,C,F,H,E);else if (D==\'div\') this._ProcessLineBreaksForDivMode(A,C,F,H,E);else if (D==\'br\') this._ProcessLineBreaksForBrMode(A,C,F,H,E);return E.join("");};FCKTools.AddSelectOption=function(A,B,C){var D=FCKTools.GetElementDocument(A).createElement("OPTION");D.text=B;D.value=C;A.options.add(D);return D;};FCKTools.RunFunction=function(A,B,C,D){if (A) this.SetTimeout(A,0,B,C,D);};FCKTools.SetTimeout=function(A,B,C,D,E){return (E||window).setTimeout(function(){if (D) A.apply(C,[].concat(D));else A.apply(C);},B);};FCKTools.SetInterval=function(A,B,C,D,E){return (E||window).setInterval(function(){A.apply(C,D||[]);},B);};FCKTools.ConvertStyleSizeToHtml=function(A){return A.EndsWith(\'%\')?A:parseInt(A,10);};FCKTools.ConvertHtmlSizeToStyle=function(A){return A.EndsWith(\'%\')?A:(A+\'px\');};FCKTools.GetElementAscensor=function(A,B){var e=A;var C=","+B.toUpperCase()+",";while (e){if (C.indexOf(","+e.nodeName.toUpperCase()+",")!=-1) return e;e=e.parentNode;};return null;};FCKTools.CreateEventListener=function(A,B){var f=function(){var C=[];for (var i=0;i<arguments.length;i++) C.push(arguments[i]);A.apply(this,C.concat(B));};return f;};FCKTools.IsStrictMode=function(A){return (\'CSS1Compat\'==(A.compatMode||(FCKBrowserInfo.IsSafari?\'CSS1Compat\':null)));};FCKTools.ArgumentsToArray=function(A,B,C){B=B||0;C=C||A.length;var D=[];for (var i=B;i<B+C&&i<A.length;i++) D.push(A[i]);return D;};FCKTools.CloneObject=function(A){var B=function() {};B.prototype=A;return new B;};FCKTools.AppendBogusBr=function(A){if (!A) return;var B=this.GetLastItem(A.getElementsByTagName(\'br\'));if (!B||(B.getAttribute(\'type\',2)!=\'_moz\'&&B.getAttribute(\'_moz_dirty\')==null)){var C=this.GetElementDocument(A);if (FCKBrowserInfo.IsOpera) A.appendChild(C.createTextNode(\'\'));else A.appendChild(this.CreateBogusBR(C));}};FCKTools.GetLastItem=function(A){if (A.length>0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,\'position\')!=\'static\'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!=\'form\') return [];var B=[];var C=[\'style\',\'className\'];for (var i=0;i<C.length;i++){var D=C[i];if (A.elements.namedItem(D)){var E=A.elements.namedItem(D);B.push([E,E.nextSibling]);A.removeChild(E);}};return B;};FCKTools.RestoreFormStyles=function(A,B){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!=\'form\') return;if (B.length>0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i<A.length;i++){var B=A[i];for (var p in B) o[p]=B[p];};return o;};FCKTools.IsArray=function(A){return (A instanceof Array);};FCKTools.AppendLengthProperty=function(A,B){var C=0;for (var n in A) C++;return A[B||\'length\']=C;};FCKTools.NormalizeCssText=function(A){var B=document.createElement(\'span\');B.style.cssText=A;return B.style.cssText;};FCKTools.Bind=function(A,B){return function(){ return B.apply(A,arguments);};};FCKTools.GetVoidUrl=function(){if (FCK_IS_CUSTOM_DOMAIN) return "javascript: void( function(){document.open();document.write(\'<html><head><title></title></head><body></body></html>\');document.domain = \'"+FCK_RUNTIME_DOMAIN+"\';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: \'\';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText=\'margin:0;padding:0;border:0;background-color:transparent;background-image:none;\';};\r\n
 FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.createStyleSheet(B).owningElement;};FCKTools.AppendStyleString=function(A,B){if (!B) return null;var s=A.createStyleSheet("");s.cssText=B;return s;};FCKTools.ClearElementAttributes=function(A){A.clearAttributes();};FCKTools.GetAllChildrenIds=function(A){var B=[];for (var i=0;i<A.all.length;i++){var C=A.all[i].id;if (C&&C.length>0) B[B.length]=C;};return B;};FCKTools.RemoveOuterTags=function(e){e.insertAdjacentHTML(\'beforeBegin\',e.innerHTML);e.parentNode.removeChild(e);};FCKTools.CreateXmlObject=function(A){var B;switch (A){case \'XmlHttp\':if (document.location.protocol!=\'file:\') try { return new XMLHttpRequest();} catch (e) {};B=[\'MSXML2.XmlHttp\',\'Microsoft.XmlHttp\'];break;case \'DOMDocument\':B=[\'MSXML2.DOMDocument\',\'Microsoft.XmlDom\'];break;};for (var i=0;i<2;i++){try { return new ActiveXObject(B[i]);}catch (e){}};if (FCKLang.NoActiveX){alert(FCKLang.NoActiveX);FCKLang.NoActiveX=null;};return null;};FCKTools.DisableSelection=function(A){A.unselectable=\'on\';var e,i=0;while ((e=A.all[i++])){switch (e.tagName){case \'IFRAME\':case \'TEXTAREA\':case \'INPUT\':case \'SELECT\':break;default:e.unselectable=\'on\';}}};FCKTools.GetScrollPosition=function(A){var B=A.document;var C={ X:B.documentElement.scrollLeft,Y:B.documentElement.scrollTop };if (C.X>0||C.Y>0) return C;return { X:B.body.scrollLeft,Y:B.body.scrollTop };};FCKTools.AddEventListener=function(A,B,C){A.attachEvent(\'on\'+B,C);};FCKTools.RemoveEventListener=function(A,B,C){A.detachEvent(\'on\'+B,C);};FCKTools.AddEventListenerEx=function(A,B,C,D){var o={};o.Source=A;o.Params=D||[];o.Listener=function(ev){return C.apply(o.Source,[ev].concat(o.Params));};if (FCK.IECleanup) FCK.IECleanup.AddItem(null,function() { o.Source=null;o.Params=null;});A.attachEvent(\'on\'+B,o.Listener);A=null;D=null;};FCKTools.GetViewPaneSize=function(A){var B;var C=A.document.documentElement;if (C&&C.clientWidth) B=C;else B=A.document.body;if (B) return { Width:B.clientWidth,Height:B.clientHeight };else return { Width:0,Height:0 };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className=\'\';};var D=A.style.cssText;if (D.length>0){C.Inline=D;A.style.cssText=\'\';};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||\'\';A.style.cssText=B.Inline||\'\';FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};FCKTools.AppendElement=function(A,B){return A.appendChild(this.GetElementDocument(A).createElement(B));};FCKTools.ToLowerCase=function(A){return A.toLowerCase();};\r\n
-var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B=\'window.FCKeditorAPI = {Version : "2.6.4.1",VersionBuild : "23187",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue\t: window.FCKeditorAPI && window.FCKeditorAPI._FunctionQueue || {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}\';if (A.execScript) A.execScript(B,\'JavaScript\');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement(\'script\');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,\'submit\',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)==\'function\'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,\'unload\',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,\'beforeunload\',FCKeditorAPI_ConfirmCleanup);\r\n
+var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B=\'window.FCKeditorAPI = {Version : "2.6.5",VersionBuild : "23959",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},GetInstance : function( name ){return this.Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.Instances ){var oEditor = FCKeditorAPI.Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue\t: window.FCKeditorAPI && window.FCKeditorAPI._FunctionQueue || {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}\';if (A.execScript) A.execScript(B,\'JavaScript\');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if(FCKBrowserInfo.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){var C=A.document;var D=C.createElement(\'script\');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;FCKeditorAPI.__Instances=FCKeditorAPI.Instances;};FCKeditorAPI.Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,\'submit\',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)==\'function\'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,\'unload\',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,\'beforeunload\',FCKeditorAPI_ConfirmCleanup);\r\n
 var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)==\'string\') A=A.split(\';\');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i<A.length;i++){var B=document.createElement(\'img\');FCKTools.AddEventListenerEx(B,\'load\',_FCKImagePreloader_OnImage,this);FCKTools.AddEventListenerEx(B,\'error\',_FCKImagePreloader_OnImage,this);B.src=A[i];_FCKImagePreloader_ImageCache.push(B);}}};var _FCKImagePreloader_ImageCache=[];function _FCKImagePreloader_OnImage(A,B){if ((--B._PreloadCount)==0&&B.OnComplete) B.OnComplete();};\r\n
-var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\\s\\S]*\\<body[^\\>]*\\>)/i,AfterBody:/(\\<\\/body\\>[\\s\\S]*$)/i,ToReplace:/___fcktoreplace:([\\w]+)/ig,MetaHttpEquiv:/http-equiv\\s*=\\s*["\']?([^"\' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\\s|>]/i,HtmlOpener:/<html\\s?[^>]*>/i,HeadOpener:/<head\\s?[^>]*>/i,HeadCloser:/<\\/head\\s*>/i,FCK_Class:/\\s*FCK__[^ ]*(?=\\s+|$)/,ElementName:/(^[a-z_:][\\w.\\-:]*\\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\\/>/g,EmptyParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>\\s*(<\\/\\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>(?:\\s*|&nbsp;)(<\\/\\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\\?-\\:/g,ProtectUrlsImg:/<img(?=\\s).*?\\ssrc=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsA:/<a(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,Html4DocType:/HTML 4\\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\\>]+ on\\w+[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")[\\s\\S]+?\\>/g,EventAttributes:/\\s(on\\w+)[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")([\\s\\S]*?)\\2/g,ProtectedEvents:/\\s\\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\\S+\\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\\/>/gi,StyleVariableAttName:/#\\(\\s*("|\')(.+?)\\1[^\\)]*\\s*\\)/g,RegExp:/^\\/(.*)\\/([gim]*)$/,HtmlTag:/<[^\\s<>](?:"[^"]*"|\'[^\']*\'|[^<])*>/};\r\n
+var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\\s\\S]*\\<body[^\\>]*\\>)/i,AfterBody:/(\\<\\/body\\>[\\s\\S]*$)/i,ToReplace:/___fcktoreplace:([\\w]+)/ig,MetaHttpEquiv:/http-equiv\\s*=\\s*["\']?([^"\' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\\s|>]/i,HtmlOpener:/<html\\s?[^>]*>/i,HeadOpener:/<head\\s?[^>]*>/i,HeadCloser:/<\\/head\\s*>/i,FCK_Class:/\\s*FCK__[^ ]*(?=\\s+|$)/,ElementName:/(^[a-z_:][\\w.\\-:]*\\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\\/>/g,EmptyParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>\\s*(<\\/\\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\\d|center)(?=[ >])[^>]*>(?:\\s*|&nbsp;|&#160;)(<\\/\\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\\?-\\:/g,ProtectUrlsImg:/<img(?=\\s).*?\\ssrc=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsA:/<a(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\\s).*?\\shref=((?:(?:\\s*)("|\').*?\\2)|(?:[^"\'][^ >]+))/gi,Html4DocType:/HTML 4\\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,HtmlDocType:/DTD HTML/,TagsWithEvent:/<[^\\>]+ on\\w+[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")[\\s\\S]+?\\>/g,EventAttributes:/\\s(on\\w+)[\\s\\r\\n]*=[\\s\\r\\n]*?(\'|")([\\s\\S]*?)\\2/g,ProtectedEvents:/\\s\\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\\S+\\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\\/>/gi,StyleVariableAttName:/#\\(\\s*("|\')(.+?)\\1[^\\)]*\\s*\\)/g,RegExp:/^\\/(.*)\\/([gim]*)$/,HtmlTag:/<[^\\s<>](?:"[^"]*"|\'[^\']*\'|[^<])*>/};\r\n
 var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },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 },InlineNonEmptyElements:{ a:1,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 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },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 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }};\r\n
 var FCKLanguageManager=FCK.Language={AvailableLanguages:{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\'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i<e.length;i++){if ((E=e[i].getAttribute(\'fckLang\'))){if ((s=FCKLang[E])){if (D) s=FCKTools.HTMLEncode(s);e[i][C]=s;}}}},TranslatePage:function(A){this.TranslateElements(A,\'INPUT\',\'value\');this.TranslateElements(A,\'SPAN\',\'innerHTML\');this.TranslateElements(A,\'LABEL\',\'innerHTML\');this.TranslateElements(A,\'OPTION\',\'innerHTML\',true);this.TranslateElements(A,\'LEGEND\',\'innerHTML\');},Initialize:function(){if (this.AvailableLanguages[FCKConfig.DefaultLanguage]) this.DefaultLanguage=FCKConfig.DefaultLanguage;else this.DefaultLanguage=\'en\';this.ActiveLanguage={};this.ActiveLanguage.Code=this.GetActiveLanguage();this.ActiveLanguage.Name=this.AvailableLanguages[this.ActiveLanguage.Code];}};\r\n
 var FCKXHtmlEntities={};FCKXHtmlEntities.Initialize=function(){if (FCKXHtmlEntities.Entities) return;var A=\'\';var B,e;if (FCKConfig.ProcessHTMLEntities){FCKXHtmlEntities.Entities={\' \':\'nbsp\',\'¡\':\'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\',\'ƒ\':\'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\',\'\\u2308\':\'lceil\',\'\\u2309\':\'rceil\',\'\\u230a\':\'lfloor\',\'\\u230b\':\'rfloor\',\'\\u2329\':\'lang\',\'\\u232a\':\'rang\',\'◊\':\'loz\',\'♠\':\'spades\',\'♣\':\'clubs\',\'♥\':\'hearts\',\'♦\':\'diams\',\'"\':\'quot\',\'>\':\'gt\',\'ˆ\':\'circ\',\'˜\':\'tilde\',\' \':\'ensp\',\' \':\'emsp\',\' \':\'thinsp\',\'‌\':\'zwnj\',\'‍\':\'zwj\',\'‎\':\'lrm\',\'‏\':\'rlm\',\'–\':\'ndash\',\'—\':\'mdash\',\'‘\':\'lsquo\',\'’\':\'rsquo\',\'‚\':\'sbquo\',\'“\':\'ldquo\',\'”\':\'rdquo\',\'„\':\'bdquo\',\'†\':\'dagger\',\'‡\':\'Dagger\',\'‰\':\'permil\',\'‹\':\'lsaquo\',\'›\':\'rsaquo\',\'€\':\'euro\'};for (e in FCKXHtmlEntities.Entities) A+=e;if (FCKConfig.IncludeLatinEntities){B={\'À\':\'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\'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;};if (FCKConfig.IncludeGreekEntities){B={\'Α\':\'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\',\'\\u03d1\':\'thetasym\',\'\\u03d2\':\'upsih\',\'\\u03d6\':\'piv\'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;}}else{FCKXHtmlEntities.Entities={\'>\':\'gt\'};A=\'>\';A+=\' \';};var C=\'[\'+A+\']\';if (FCKConfig.ProcessNumericEntities) C=\'[^ -~]|\'+C;var D=FCKConfig.AdditionalNumericEntities;if (D&&D.length>0) C+=\'|\'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,\'g\');};\r\n
-var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?\'nbsp\':\'#160\');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject(\'DOMDocument\');this.MainNode=this.XML.appendChild(this.XML.createElement(\'xhtml\'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,\'<xhtml>\');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,\'>\');else E=E.replace(FCKRegexLib.SpaceNoClose,\' />\');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,\'&\');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp(\'___FCKsi___\'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,\'&\');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C=\'\';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,\'___FCKAmp___\');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!=\'pre\'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName==\'br\') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(\'\'));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()==\'br\'&&B.parentNode.tagName.toLowerCase()==\'pre\'){var C=\'\\r\';if (B==B.parentNode.firstChild) C+=\'\\r\';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute(\'_fckfakelement\')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&(B.hasAttribute(\'_moz_editor_bogus_node\')||B.getAttribute(\'type\')==\'_moz\')){if (B.nextSibling) return false;else{B.removeAttribute(\'_moz_editor_bogus_node\');B.removeAttribute(\'type\');}};if (B.getAttribute(\'_fcktemp\')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!=\'HTML\'&&B.scopeName!=\'FCK\') D=B.scopeName.toLowerCase()+\':\'+D;}else{if (D.StartsWith(\'fck:\')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals(\'pre\')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(\' \'));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return \'___FCKsi___\'+(FCKXHtml.SpecialBlocks.push(A)-1);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode(\'#?-:\'+B+\';\'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||(\'#\'+A.charCodeAt(0));return \'#?-:\'+B+\';\';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem(\'coords\')){var D=B.getAttribute(\'coords\',2);if (D&&D!=\'0,0,0\') FCKXHtml._AppendAttribute(A,\'coords\',D);};if (!A.attributes.getNamedItem(\'shape\')){var E=B.getAttribute(\'shape\',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,\'shape\',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute(\'spellcheck\');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\\s_fcksavedurl="[^"]*"/g,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem(\'alt\')) FCKXHtml._AppendAttribute(A,\'alt\',\'\');var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'src\',C);if (B.style.width) A.removeAttribute(\'width\');if (B.style.height) A.removeAttribute(\'height\');return A;},li:function(A,B,C){if (C.nodeName.IEquals([\'ul\',\'ol\'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement(\'ul\');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)}\twhile (B&&B.nodeName.toLowerCase()==\'li\') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()==\'LI\'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(\'\\r\\n\')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/javascript\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/css\');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\\r\\n|\\n|\\r)/,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol;\r\n
-FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith(\'_fck\')) continue;else if (G==\'style\'){bHasStyle=true;continue;}else if (G==\'class\'){H=F.nodeValue.replace(FCKRegexLib.FCK_Class,\'\');if (H.length==0) continue;}else if (G.indexOf(\'on\')==0) H=F.nodeValue;else if (D==\'body\'&&G==\'contenteditable\') continue;else if (F.nodeValue===true) H=G;else{try{H=B.getAttribute(G,2);}catch (e) {}};this._AppendAttribute(C,G,H||F.nodeValue);}};if (bHasStyle||B.style.cssText.length>0){var I=FCKTools.ProtectFormStyles(B);var J=B.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(B,I);this._AppendAttribute(C,\'style\',J);}};FCKXHtml.TagProcessors[\'div\']=function(A,B){if (B.align.length>0) FCKXHtml._AppendAttribute(A,\'align\',B.align);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'font\']=function(A,B){if (A.attributes.length==0) A=FCKXHtml.XML.createDocumentFragment();A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'form\']=function(A,B){if (B.acceptCharset&&B.acceptCharset.length>0&&B.acceptCharset!=\'UNKNOWN\') FCKXHtml._AppendAttribute(A,\'accept-charset\',B.acceptCharset);var C=B.attributes[\'name\'];if (C&&C.value.length>0) FCKXHtml._AppendAttribute(A,\'name\',C.value);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'input\']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);if (B.value&&!A.attributes.getNamedItem(\'value\')) FCKXHtml._AppendAttribute(A,\'value\',B.value);if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text\');return A;};FCKXHtml.TagProcessors[\'label\']=function(A,B){if (B.htmlFor.length>0) FCKXHtml._AppendAttribute(A,\'for\',B.htmlFor);A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'map\']=function(A,B){if (!A.attributes.getNamedItem(\'name\')){var C=B.name;if (C) FCKXHtml._AppendAttribute(A,\'name\',C);};A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'meta\']=function(A,B){var C=A.attributes.getNamedItem(\'http-equiv\');if (C==null||C.value.length==0){var D=B.outerHTML.match(FCKRegexLib.MetaHttpEquiv);if (D){D=D[1];FCKXHtml._AppendAttribute(A,\'http-equiv\',D);}};return A;};FCKXHtml.TagProcessors[\'option\']=function(A,B){if (B.selected&&!A.attributes.getNamedItem(\'selected\')) FCKXHtml._AppendAttribute(A,\'selected\',\'selected\');A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'textarea\']=FCKXHtml.TagProcessors[\'select\']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);A=FCKXHtml._AppendChildNodes(A,B);return A;};\r\n
+var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?\'nbsp\':\'#160\');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject(\'DOMDocument\');this.MainNode=this.XML.appendChild(this.XML.createElement(\'xhtml\'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);if (FCKBrowserInfo.IsIE) FCKXHtml._RemoveXHtmlJobProperties(A);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,\'<xhtml>\');E=E.substr(7,E.length-15).Trim();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,\'>\');else E=E.replace(FCKRegexLib.SpaceNoClose,\' />\');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,\'&\');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp(\'___FCKsi___\'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,\'&\');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C=\'\';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,\'___FCKAmp___\');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!=\'pre\'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName==\'br\') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(\'\'));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()==\'br\'&&B.parentNode.tagName.toLowerCase()==\'pre\'){var C=\'\\r\';if (B==B.parentNode.firstChild) C+=\'\\r\';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute(\'_fckfakelement\')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&(B.hasAttribute(\'_moz_editor_bogus_node\')||B.getAttribute(\'type\')==\'_moz\')){if (B.nextSibling) return false;else{B.removeAttribute(\'_moz_editor_bogus_node\');B.removeAttribute(\'type\');}};if (B.getAttribute(\'_fcktemp\')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!=\'HTML\'&&B.scopeName!=\'FCK\') D=B.scopeName.toLowerCase()+\':\'+D;}else{if (D.StartsWith(\'fck:\')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals(\'pre\')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(\' \'));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return \'___FCKsi___\'+(FCKXHtml.SpecialBlocks.push(A)-1);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode(\'#?-:\'+B+\';\'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||(\'#\'+A.charCodeAt(0));return \'#?-:\'+B+\';\';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'href\',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem(\'coords\')){var D=B.getAttribute(\'coords\',2);if (D&&D!=\'0,0,0\') FCKXHtml._AppendAttribute(A,\'coords\',D);};if (!A.attributes.getNamedItem(\'shape\')){var E=B.getAttribute(\'shape\',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,\'shape\',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute(\'spellcheck\');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\\s_fcksavedurl="[^"]*"/g,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem(\'alt\')) FCKXHtml._AppendAttribute(A,\'alt\',\'\');var C=B.getAttribute(\'_fcksavedurl\');if (C!=null) FCKXHtml._AppendAttribute(A,\'src\',C);if (B.style.width) A.removeAttribute(\'width\');if (B.style.height) A.removeAttribute(\'height\');return A;},li:function(A,B,C){if (C.nodeName.IEquals([\'ul\',\'ol\'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement(\'ul\');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)}\twhile (B&&B.nodeName.toLowerCase()==\'li\') return D;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()==\'LI\'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(\'\\r\\n\')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/javascript\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text/css\');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\\r\\n|\\n|\\r)/,\'\');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol;\r\n
+FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith(\'_fck\')) continue;else if (G==\'style\'){bHasStyle=true;continue;}else if (G==\'class\'){H=F.nodeValue.replace(FCKRegexLib.FCK_Class,\'\');if (H.length==0) continue;}else if (G.indexOf(\'on\')==0) H=F.nodeValue;else if (D==\'body\'&&G==\'contenteditable\') continue;else if (F.nodeValue===true) H=G;else{try{H=B.getAttribute(G,2);}catch (e) {}};this._AppendAttribute(C,G,H||F.nodeValue);}};if (bHasStyle||B.style.cssText.length>0){var I=FCKTools.ProtectFormStyles(B);var J=B.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(B,I);this._AppendAttribute(C,\'style\',J);}};FCKXHtml._RemoveXHtmlJobProperties=function (A){if (!A||!A.nodeType||A.nodeType!=1) return;if (typeof A._fckxhtmljob!==\'undefined\') A.removeAttribute(\'_fckxhtmljob\');if (A.hasChildNodes()){var B=A.childNodes;for (var i=B.length-1;i>=0;i--) FCKXHtml._RemoveXHtmlJobProperties(B.item(i));}};FCKXHtml.TagProcessors[\'div\']=function(A,B){if (B.align.length>0) FCKXHtml._AppendAttribute(A,\'align\',B.align);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'font\']=function(A,B){if (A.attributes.length==0) A=FCKXHtml.XML.createDocumentFragment();A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'form\']=function(A,B){if (B.acceptCharset&&B.acceptCharset.length>0&&B.acceptCharset!=\'UNKNOWN\') FCKXHtml._AppendAttribute(A,\'accept-charset\',B.acceptCharset);var C=B.attributes[\'name\'];if (C&&C.value.length>0) FCKXHtml._AppendAttribute(A,\'name\',C.value);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'input\']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);if (B.value&&!A.attributes.getNamedItem(\'value\')) FCKXHtml._AppendAttribute(A,\'value\',B.value);if (!A.attributes.getNamedItem(\'type\')) FCKXHtml._AppendAttribute(A,\'type\',\'text\');return A;};FCKXHtml.TagProcessors[\'label\']=function(A,B){if (B.htmlFor.length>0) FCKXHtml._AppendAttribute(A,\'for\',B.htmlFor);A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'map\']=function(A,B){if (!A.attributes.getNamedItem(\'name\')){var C=B.name;if (C) FCKXHtml._AppendAttribute(A,\'name\',C);};A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors[\'meta\']=function(A,B){var C=A.attributes.getNamedItem(\'http-equiv\');if (C==null||C.value.length==0){var D=B.outerHTML.match(FCKRegexLib.MetaHttpEquiv);if (D){D=D[1];FCKXHtml._AppendAttribute(A,\'http-equiv\',D);}};return A;};FCKXHtml.TagProcessors[\'option\']=function(A,B){if (B.selected&&!A.attributes.getNamedItem(\'selected\')) FCKXHtml._AppendAttribute(A,\'selected\',\'selected\');A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors[\'textarea\']=FCKXHtml.TagProcessors[\'select\']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,\'name\',B.name);A=FCKXHtml._AppendChildNodes(A,B);return A;};\r\n
 var FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\\>]*\\>/gi;A.BlocksCloser=/\\<\\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\\>]*\\>/gi;A.NewLineTags=/\\<(BR|HR)[^\\>]*\\>/gi;A.MainTags=/\\<\\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\\>]*\\>/gi;A.LineSplitter=/\\s*\\n+\\s*/g;A.IncreaseIndent=/^\\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \\/\\>]/i;A.DecreaseIndent=/^\\<\\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \\>]/i;A.FormatIndentatorRemove=new RegExp(\'^\'+FCKConfig.FormatIndentator);A.ProtectedTags=/(<PRE[^>]*>)([\\s\\S]*?)(<\\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+\'___FCKpd___\'+(FCKCodeFormatter.ProtectedData.push(C)-1)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,\'\\n$&\');B=B.replace(this.Regex.BlocksCloser,\'$&\\n\');B=B.replace(this.Regex.NewLineTags,\'$&\\n\');B=B.replace(this.Regex.MainTags,\'\\n$&\\n\');var C=\'\';var D=B.split(this.Regex.LineSplitter);B=\'\';for (var i=0;i<D.length;i++){var E=D[i];if (E.length==0) continue;if (this.Regex.DecreaseIndent.test(E)) C=C.replace(this.Regex.FormatIndentatorRemove,\'\');B+=C+E+\'\\n\';if (this.Regex.IncreaseIndent.test(E)) C+=FCKConfig.FormatIndentator;};for (var j=0;j<FCKCodeFormatter.ProtectedData.length;j++){var F=new RegExp(\'___FCKpd___\'+j);B=B.replace(F,FCKCodeFormatter.ProtectedData[j].replace(/\\$/g,\'$$$$\'));};return B.Trim();};\r\n
 var FCKUndo={};FCKUndo.SavedData=[];FCKUndo.CurrentIndex=-1;FCKUndo.TypesCount=0;FCKUndo.Changed=false;FCKUndo.MaxTypes=25;FCKUndo.Typing=false;FCKUndo.SaveLocked=false;FCKUndo._GetBookmark=function(){FCKSelection.Restore();var A=new FCKDomRange(FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=A.CreateBookmark();var C=FCK.EditorDocument.body.innerHTML;A.MoveToBookmark(B);return [B,C];};return A.CreateBookmark2();};FCKUndo._SelectBookmark=function(A){if (!A) return;var B=new FCKDomRange(FCK.EditorWindow);if (A instanceof Object){if (FCKBrowserInfo.IsIE) B.MoveToBookmark(A[0]);else B.MoveToBookmark2(A);try{B.Select();}catch (e){B.MoveToPosition(FCK.EditorDocument.body,4);B.Select();}}};FCKUndo._CompareCursors=function(A,B){for (var i=0;i<Math.min(A.length,B.length);i++){if (A[i]<B[i]) return-1;else if (A[i]>B[i]) return 1;};if (A.length<B.length) return-1;else if (A.length>B.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;};\r\n
-var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=\'<script>document.domain="\'+FCK_RUNTIME_DOMAIN+\'";</script>\'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\\s*\\/?>(?!\\s*<\\/base>)/gi,\'$1></base>\');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+\'&nbsp;\'+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G=\'<br type="_moz">\';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement(\'iframe\');var I=\'<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>\';H.frameBorder=0;H.style.width=H.style.height=\'100%\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,\'<head>\'+I);H.src=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )\';}else if (!FCKBrowserInfo.IsGecko){H.src=\'javascript:void(0)\';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,\'<head>\'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!=\'completed\'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement(\'textarea\');L.className=\'SourceField\';L.dir=\'ltr\';FCKDomTools.SetElementStyles(L,{width:\'100%\',height:\'100%\',border:\'none\',resize:\'none\',outline:\'none\'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode=\'on\';A.execCommand(\'enableObjectResizing\',false,!FCKConfig.DisableObjectResizing);A.execCommand(\'enableInlineTableEditing\',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}};\r\n
+var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A=\'<script>document.domain="\'+FCK_RUNTIME_DOMAIN+\'";</script>\'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\\s*\\/?>(?!\\s*<\\/base>)/gi,\'$1></base>\');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+\'&nbsp;\'+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G=\'<br type="_moz">\';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement(\'iframe\');var I=\'<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>\';H.frameBorder=0;H.style.width=H.style.height=\'100%\';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,\'<head>\'+I);H.src=\'javascript:void( (function(){document.open() ;document.domain="\'+document.domain+\'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )\';}else if (!FCKBrowserInfo.IsGecko){H.src=\'javascript:void(0)\';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,\'<head>\'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!=\'completed\'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement(\'textarea\');L.className=\'SourceField\';L.dir=\'ltr\';FCKDomTools.SetElementStyles(L,{width:\'100%\',height:\'100%\',border:\'none\',resize:\'none\',outline:\'none\'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;A.body.offsetLeft;this._BodyHTML=null;};A.designMode=\'on\';A.execCommand(\'enableObjectResizing\',false,!FCKConfig.DisableObjectResizing);A.execCommand(\'enableInlineTableEditing\',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,\'DOMAttrModified\',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE) this._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);A.Select();};function FCKEditingArea_Cleanup(){if (this.Document){this.Document.selection.empty();this.Document.body.innerHTML="";};this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}};\r\n
 var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,\'keydown\',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,\'keypress\',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i<arguments.length;i++){var A=arguments[i];if (!A) continue;if (typeof(A[0])==\'object\') this.SetKeystrokes.apply(this,A);else{if (A.length==1) delete this.Keystrokes[A[0]];else this.Keystrokes[A[0]]=A[1]===true?true:A;}}};function _FCKKeystrokeHandler_OnKeyDown(A,B){var C=A.keyCode||A.which;var D=0;if (A.ctrlKey||A.metaKey) D+=CTRL;if (A.shiftKey) D+=SHIFT;if (A.altKey) D+=ALT;var E=C+D;var F=B._CancelIt=false;var G=B.Keystrokes[E];if (G){if (G===true||!(B.OnKeystroke&&B.OnKeystroke.apply(B,G))) return true;F=true;};if (F||(B.CancelCtrlDefaults&&D==CTRL&&(C<33||C>40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;};\r\n
 FCK.DTD=(function(){var X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;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};return {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:J,ins:P,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:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,\'var\':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})();\r\n
 var FCKStyle=function(A){this.Element=(A.Element||\'span\').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B==\'#\'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B,C){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B,C);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B,C){var D;var E=this._GetAttribsForComparison();var F=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var D=A.CreateBookmark(true);var H=A.GetBookmarkNode(D,true);var I=new FCKElementPath(H.parentNode);var J=[];var K=!FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var i=0;i<I.Elements.length;i++){var O=I.Elements[i];if (this.CheckElementRemovable(O)){if (L&&!FCKDomTools.CheckIsEmptyElement(O,function(el){return (el!=H);})){M=O;N=J.length-1;}else{var P=O.nodeName.toLowerCase();if (P==this.Element){for (var Q in E){if (FCKDomTools.HasAttribute(O,Q)){switch (Q){case \'style\':this._RemoveStylesFromElement(O);break;case \'class\':if (FCKDomTools.GetAttributeValue(O,Q)!=this.GetFinalAttributeValue(Q)) continue;default:FCKDomTools.RemoveAttribute(O,Q);}}}};this._RemoveOverrides(O,F[P]);if (this.GetType()==1) this._RemoveNoAttribElement(O);}}else if (L) J.push(O);L=L&&((K&&!FCKDomTools.GetNextSibling(O))||(!K&&!FCKDomTools.GetPreviousSibling(O)));if (M&&(!L||(i==I.Elements.length-1))){var R=FCKDomTools.RemoveNode(H);for (var j=0;j<=N;j++){var S=FCKDomTools.CloneElement(J[j]);S.appendChild(R);R=S;};if (K) FCKDomTools.InsertAfterNode(M,R);else M.parentNode.insertBefore(R,M);L=false;M=null;}};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);return;};A.Expand(\'inline_elements\');D=A.CreateBookmark(true);var T=A.GetBookmarkNode(D,true);var U=A.GetBookmarkNode(D,false);A.Release(true);var I=new FCKElementPath(T);var X=I.Elements;var O;for (var i=1;i<X.length;i++){O=X[i];if (O==I.Block||O==I.BlockLimit) break;if (this.CheckElementRemovable(O)) FCKDomTools.BreakParent(T,O,A);};I=new FCKElementPath(U);X=I.Elements;for (var i=1;i<X.length;i++){O=X[i];if (O==I.Block||O==I.BlockLimit) break;b=O.nodeName.toLowerCase();if (this.CheckElementRemovable(O)) FCKDomTools.BreakParent(U,O,A);};var Z=FCKDomTools.GetNextSourceNode(T,true);while (Z){var a=FCKDomTools.GetNextSourceNode(Z);if (Z.nodeType==1){var b=Z.nodeName.toLowerCase();var c=(b==this.Element);if (c){for (var Q in E){if (FCKDomTools.HasAttribute(Z,Q)){switch (Q){case \'style\':this._RemoveStylesFromElement(Z);break;case \'class\':if (FCKDomTools.GetAttributeValue(Z,Q)!=this.GetFinalAttributeValue(Q)) continue;default:FCKDomTools.RemoveAttribute(Z,Q);}}}}else c=!!F[b];if (c){this._RemoveOverrides(Z,F[b]);this._RemoveNoAttribElement(Z);}};if (a==U) break;Z=a;};this._FixBookmarkStart(T);if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},CheckElementRemovable:function(A,B){if (!A) return false;var C=A.nodeName.toLowerCase();if (C==this.Element){if (!B&&!FCKDomTools.HasAttributes(A)) return true;var D=this._GetAttribsForComparison();var E=(D._length==0);for (var F in D){if (F==\'_length\') continue;if (this._CompareAttributeValues(F,FCKDomTools.GetAttributeValue(A,F),(this.GetFinalAttributeValue(F)||\'\'))){E=true;if (!B) break;}else{E=false;if (B) return false;}};if (E) return true;};var G=this._GetOverridesForComparison()[C];if (G){if (!(D=G.Attributes)) return true;for (var i=0;i<D.length;i++){var H=D[i][0];if (FCKDomTools.HasAttribute(A,H)){var I=D[i][1];if (I==null||(typeof I==\'string\'&&FCKDomTools.GetAttributeValue(A,H)==I)||I.test(FCKDomTools.GetAttributeValue(A,H))) return true;}}};return false;},CheckActive:function(A){switch (this.GetType()){case 0:return this.CheckElementRemovable(A.Block||A.BlockLimit,true);case 1:var B=A.Elements;for (var i=0;i<B.length;i++){var C=B[i];if (C==A.Block||C==A.BlockLimit) continue;if (this.CheckElementRemovable(C,true)) return true;}};return false;},RemoveFromElement:function(A){var B=this._GetAttribsForComparison();var C=this._GetOverridesForComparison();var D=A.getElementsByTagName(this.Element);for (var i=D.length-1;i>=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case \'style\':this._RemoveStylesFromElement(E);break;case \'class\':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C=\'(^|;)\\\\s*(\'+C.replace(/\\s*([^ ]+):.*?(;|$)/g,\'$1|\').replace(/\\|$/,\'\')+\'):[^;]+\';var D=new RegExp(C,\'gi\');B=B.replace(D,\'\').Trim();if (B.length==0||B==\';\') FCKDomTools.RemoveAttribute(A,\'style\');else A.style.cssText=B.replace(D,\'\');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i<C.length;i++){var D=C[i][0];if (FCKDomTools.HasAttribute(A,D)){var E=C[i][1];if (E==null||(E.test&&E.test(FCKDomTools.GetAttributeValue(A,D)))||(typeof E==\'string\'&&FCKDomTools.GetAttributeValue(A,D)==E)) FCKDomTools.RemoveAttribute(A,D);}}}},_RemoveNoAttribElement:function(A){if (!FCKDomTools.HasAttributes(A)){var B=A.firstChild;var C=A.lastChild;FCKDomTools.RemoveNode(A,true);this._MergeSiblings(B);if (B!=C) this._MergeSiblings(C);}},BuildElement:function(A,B){var C=B||A.createElement(this.Element);var D=this._StyleDesc.Attributes;var E;if (D){for (var F in D){E=this.GetFinalAttributeValue(F);if (F.toLowerCase()==\'class\') C.className=E;else C.setAttribute(F,E);}};if (this._GetStyleText().length>0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A==\'style\'&&B&&C){B=B.replace(/;$/,\'\').toLowerCase();C=C.replace(/;$/,\'\').toLowerCase();};return (B==C||((B===null||B===\'\')&&(C===null||C===\'\')))},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A==\'style\') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_FromPre:function(A,B,C){var D=B.innerHTML;D=D.replace(/(\\r\\n|\\r)/g,\'\\n\');D=D.replace(/^[ \\t]*\\n/,\'\');D=D.replace(/\\n$/,\'\');D=D.replace(/^[ \\t]+|[ \\t]+$/g,function(match,offset,s){if (match.length==1) return \'&nbsp;\';else if (offset==0) return new Array(match.length).join(\'&nbsp;\')+\' \';else return \' \'+new Array(match.length).join(\'&nbsp;\');});var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag){value=value.replace(/\\n/g,\'<br>\');value=value.replace(/[ \\t]{2,}/g,function (match){return new Array(match.length).join(\'&nbsp;\')+\' \';});};F.push(value);});C.innerHTML=F.join(\'\');return C;},_ToPre:function(A,B,C){var D=B.innerHTML.Trim();D=D.replace(/[ \\t\\r\\n]*(<br[^>]*>)[ \\t\\r\\n]*/gi,\'<br />\');var E=new FCKHtmlIterator(D);var F=[];E.Each(function(isTag,value){if (!isTag) value=value.replace(/([ \\t\\n\\r]+|&nbsp;)/g,\' \');else if (isTag&&value==\'<br />\') value=\'\\n\';F.push(value);});if (FCKBrowserInfo.IsIE){var G=A.createElement(\'div\');G.appendChild(C);C.outerHTML=\'<pre>\\n\'+F.join(\'\')+\'</pre>\';C=G.removeChild(G.firstChild);}else C.innerHTML=F.join(\'\');return C;},_CheckAndMergePre:function(A,B){if (A!=FCKDomTools.GetPreviousSourceElement(B,true)) return;var C=A.innerHTML.replace(/\\n$/,\'\')+\'\\n\\n\'+B.innerHTML.replace(/^\\n/,\'\');if (FCKBrowserInfo.IsIE) B.outerHTML=\'<pre>\'+C+\'</pre>\';else B.innerHTML=C;FCKDomTools.RemoveNode(A);},_CheckAndSplitPre:function(A){var B;var C=A.firstChild;C=C&&C.nextSibling;while (C){var D=C.nextSibling;if (D&&D.nextSibling&&C.nodeName.IEquals(\'br\')&&D.nodeName.IEquals(\'br\')){FCKDomTools.RemoveNode(C);C=D.nextSibling;FCKDomTools.RemoveNode(D);B=FCKDomTools.InsertAfterNode(B||A,FCKDomTools.CloneElement(A));continue;};if (B){C=C.previousSibling;FCKDomTools.MoveNode(C.nextSibling,B);};C=C.nextSibling;}},_ApplyBlockStyle:function(A,B,C){var D;if (B) D=A.CreateBookmark();var E=new FCKDomRangeIterator(A);E.EnforceRealBlocks=true;var F;var G=A.Window.document;var H;while((F=E.GetNextParagraph())){var I=this.BuildElement(G);var J=I.nodeName.IEquals(\'pre\');var K=F.nodeName.IEquals(\'pre\');var L=J&&!K;var M=!J&&K;if (L) I=this._ToPre(G,F,I);else if (M) I=this._FromPre(G,F,I);else FCKDomTools.MoveChildren(F,I);F.parentNode.insertBefore(I,F);FCKDomTools.RemoveNode(F);if (J){if (H) this._CheckAndMergePre(H,I);H=I;}else if (M) this._CheckAndSplitPre(I);};if (B) A.SelectBookmark(D);if (C) A.MoveToBookmark(D);},_ApplyInlineStyle:function(A,B,C){var D=A.Window.document;if (A.CheckIsCollapsed()){var E=this.BuildElement(D);A.InsertNode(E);A.MoveToPosition(E,2);A.Select();return;};var F=this.Element;var G=FCK.DTD[F]||FCK.DTD.span;var H=this._GetAttribsForComparison();var I;A.Expand(\'inline_elements\');var J=A.CreateBookmark(true);var K=A.GetBookmarkNode(J,true);var L=A.GetBookmarkNode(J,false);A.Release(true);var M=FCKDomTools.GetNextSourceNode(K,true);while (M){var N=false;var O=M.nodeType;var P=O==1?M.nodeName.toLowerCase():null;if (!P||G[P]){if ((FCK.DTD[M.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[F]||!FCK.DTD[F]){if (!A.CheckHasRange()) A.SetStart(M,3);if (O!=1||M.childNodes.length==0){var Q=M;var R=Q.parentNode;while (Q==R.lastChild&&G[R.nodeName.toLowerCase()]){Q=R;};A.SetEnd(Q,4);if (Q==Q.parentNode.lastChild&&!G[Q.parentNode.nodeName.toLowerCase()]) N=true;}else{A.SetEnd(M,3);}}else N=true;}else N=true;M=FCKDomTools.GetNextSourceNode(M);if (M==L){M=null;N=true;};if (N&&A.CheckHasRange()&&!A.CheckIsCollapsed()){I=this.BuildElement(D);A.ExtractContents().AppendTo(I);if (I.innerHTML.RTrim().length>0){A.InsertNode(I);this.RemoveFromElement(I);this._MergeSiblings(I,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) I.normalize();};A.Release(true);}};this._FixBookmarkStart(K);if (B) A.SelectBookmark(J);if (C) A.MoveToBookmark(J);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute(\'_fck_bookmark\'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute(\'_fck_bookmark\'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes[\'style\']||\'\':\'\');if (B.length>0) B+=\';\';for (var C in A) B+=C+\':\'+A[C]+\';\';if (B.length>0&&!(/#\\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A[\'style\']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,\'_length\');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i<B.length;i++){var C=B[i];var D;var E;var F;if (typeof C==\'string\') D=C.toLowerCase();else{D=C.Element?C.Element.toLowerCase():this.Element;F=C.Attributes;};E=A[D]||(A[D]={});if (F){var G=(E.Attributes=E.Attributes||[]);for (var H in F){G.push([H.toLowerCase(),F[H]]);}}}};return (this._GetOverridesForComparison_$=A);},_CreateElementAttribsForComparison:function(A){var B={};var C=0;for (var i=0;i<A.attributes.length;i++){var D=A.attributes[i];if (D.specified){B[D.nodeName.toLowerCase()]=FCKDomTools.GetAttributeValue(A,D).toLowerCase();C++;}};B._length=C;return B;},_CheckAttributesMatch:function(A,B){var C=A.attributes;var D=0;for (var i=0;i<C.length;i++){var E=C[i];if (E.specified){var F=E.nodeName.toLowerCase();var G=B[F];if (!G) break;if (G!=FCKDomTools.GetAttributeValue(A,E).toLowerCase()) break;D++;}};return (D==B._length);}};\r\n
@@ -85,24 +85,24 @@ var FCKStyles=FCK.Styles={_Callbacks:{},_ObjectStyles:{},ApplyStyle:function(A){
 var FCKListHandler={OutdentListItem:function(A){var B=A.parentNode;if (B.tagName.toUpperCase().Equals(\'UL\',\'OL\')){var C=FCKTools.GetElementDocument(A);var D=new FCKDocumentFragment(C);var E=D.RootNode;var F=false;var G=FCKDomTools.GetFirstChild(A,[\'UL\',\'OL\']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChild(G.removeChild(H));FCKDomTools.RemoveNode(G);};var I;var J=false;while ((I=A.nextSibling)){if (!F&&I.nodeType==1&&I.nodeName.toUpperCase()==\'LI\') J=F=true;E.appendChild(I.parentNode.removeChild(I));if (!J&&I.nodeType==1&&I.nodeName.toUpperCase().Equals(\'UL\',\'OL\')) FCKDomTools.RemoveNode(I,true);};var K=B.parentNode.tagName.toUpperCase();var L=(K==\'LI\');if (L||K.Equals(\'UL\',\'OL\')){if (F){var G=B.cloneNode(false);D.AppendTo(G);A.appendChild(G);}else if (L) D.InsertAfterNode(B.parentNode);else D.InsertAfterNode(B);if (L) FCKDomTools.InsertAfterNode(B.parentNode,B.removeChild(A));else FCKDomTools.InsertAfterNode(B,B.removeChild(A));}else{if (F){var N=B.cloneNode(false);D.AppendTo(N);FCKDomTools.InsertAfterNode(B,N);};var O=C.createElement(FCKConfig.EnterMode==\'p\'?\'p\':\'div\');FCKDomTools.MoveChildren(B.removeChild(A),O);FCKDomTools.InsertAfterNode(B,O);if (FCKConfig.EnterMode==\'br\'){if (FCKBrowserInfo.IsGecko) O.parentNode.insertBefore(FCKTools.CreateBogusBR(C),O);else FCKDomTools.InsertAfterNode(O,FCKTools.CreateBogusBR(C));FCKDomTools.RemoveNode(O,true);}};if (this.CheckEmptyList(B)) FCKDomTools.RemoveNode(B,true);}},CheckEmptyList:function(A){return (FCKDomTools.GetFirstChild(A,\'LI\')==null);},CheckListHasContents:function(A){var B=A.firstChild;while (B){switch (B.nodeType){case 1:if (!B.nodeName.IEquals(\'UL\',\'LI\')) return true;break;case 3:if (B.nodeValue.Trim().length>0) return true;};B=B.nextSibling;};return false;}};\r\n
 var FCKElementPath=function(A){var B=null;var C=null;var D=[];var e=A;while (e){if (e.nodeType==1){if (!this.LastElement) this.LastElement=e;var E=e.nodeName.toLowerCase();if (FCKBrowserInfo.IsIE&&e.scopeName!=\'HTML\') E=e.scopeName.toLowerCase()+\':\'+E;if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E==\'div\'&&!FCKElementPath._CheckHasBlock(e)) B=e;else C=e;}};D.push(e);if (E==\'body\') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;};FCKElementPath._CheckHasBlock=function(A){var B=A.childNodes;for (var i=0,count=B.length;i<count;i++){var C=B[i];if (C.nodeType==1&&FCKListsLib.BlockElements[C.nodeName.toLowerCase()]) return true;};return false;};\r\n
 var FCKDomRange=function(A){this.Window=A;this._Cache={};};FCKDomRange.prototype={_UpdateElementInfo:function(){var A=this._Range;if (!A) this.Release(true);else{var B=A.startContainer;var C=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=C.Block;this.StartBlockLimit=C.BlockLimit;if (A.collapsed){this.EndNode=this.StartNode;this.EndContainer=this.StartContainer;this.EndBlock=this.StartBlock;this.EndBlockLimit=this.StartBlockLimit;}else{var D=A.endContainer;if (B!=D) C=new FCKElementPath(D);var E=D;if (A.endOffset==0){while (E&&!E.previousSibling) E=E.parentNode;if (E) E=E.previousSibling;}else if (E.nodeType==1) E=E.childNodes[A.endOffset-1];this.EndNode=E;this.EndContainer=D;this.EndBlock=C.Block;this.EndBlockLimit=C.BlockLimit;}};this._Cache={};},CreateRange:function(){return new FCKW3CRange(this.Window.document);},DeleteContents:function(){if (this._Range){this._Range.deleteContents();this._UpdateElementInfo();}},ExtractContents:function(){if (this._Range){var A=this._Range.extractContents();this._UpdateElementInfo();return A;};return null;},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;return false;},Collapse:function(A){if (this._Range) this._Range.collapse(A);this._UpdateElementInfo();},Clone:function(){var A=FCKTools.CloneObject(this);if (this._Range) A._Range=this._Range.cloneRange();return A;},MoveToNodeContents:function(A){if (!this._Range) this._Range=this.CreateRange();this._Range.selectNodeContents(A);this._UpdateElementInfo();},MoveToElementStart:function(A){this.SetStart(A,1);this.SetEnd(A,1);},MoveToElementEditStart:function(A){var B;while (A&&A.nodeType==1){if (FCKDomTools.CheckIsEditable(A)) B=A;else if (B) break;A=A.firstChild;};if (B) this.MoveToElementStart(B);},InsertNode:function(A){if (this._Range) this._Range.insertNode(A);},CheckIsEmpty:function(){if (this.CheckIsCollapsed()) return true;var A=this.Window.document.createElement(\'div\');this._Range.cloneContents().AppendTo(A);FCKDomTools.TrimNode(A);return (A.innerHTML.length==0);},CheckStartOfBlock:function(){var A=this._Cache;var B=A.IsStartOfBlock;if (B!=undefined) return B;var C=this.StartBlock||this.StartBlockLimit;var D=this._Range.startContainer;var E=this._Range.startOffset;var F;if (E>0){if (D.nodeType==3){var G=D.nodeValue.substr(0,E).Trim();if (G.length!=0) return A.IsStartOfBlock=false;}else F=D.childNodes[E-1];};if (!F) F=FCKDomTools.GetPreviousSourceNode(D,true,null,C);while (F){switch (F.nodeType){case 1:if (!FCKListsLib.InlineChildReqElements[F.nodeName.toLowerCase()]) return A.IsStartOfBlock=false;break;case 3:if (F.nodeValue.Trim().length>0) return A.IsStartOfBlock=false;};F=FCKDomTools.GetPreviousSourceNode(F,false,null,C);};return A.IsStartOfBlock=true;},CheckEndOfBlock:function(A){var B=this._Cache.IsEndOfBlock;if (B!=undefined) return B;var C=this.EndBlock||this.EndBlockLimit;var D=this._Range.endContainer;var E=this._Range.endOffset;var F;if (D.nodeType==3){var G=D.nodeValue;if (E<G.length){G=G.substr(E);if (G.Trim().length!=0) return this._Cache.IsEndOfBlock=false;}}else F=D.childNodes[E];if (!F) F=FCKDomTools.GetNextSourceNode(D,true,null,C);var H=false;while (F){switch (F.nodeType){case 1:var I=F.nodeName.toLowerCase();if (FCKListsLib.InlineChildReqElements[I]) break;if (I==\'br\'&&!H){H=true;break;};return this._Cache.IsEndOfBlock=false;case 3:if (F.nodeValue.Trim().length>0) return this._Cache.IsEndOfBlock=false;};F=FCKDomTools.GetNextSourceNode(F,false,null,C);};if (A) this.Select();return this._Cache.IsEndOfBlock=true;},CreateBookmark:function(A){var B={StartId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+\'S\',EndId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+\'E\'};var C=this.Window.document;var D;var E;var F;if (!this.CheckIsCollapsed()){E=C.createElement(\'span\');E.style.display=\'none\';E.id=B.EndId;E.setAttribute(\'_fck_bookmark\',true);E.innerHTML=\'&nbsp;\';F=this.Clone();F.Collapse(false);F.InsertNode(E);};D=C.createElement(\'span\');D.style.display=\'none\';D.id=B.StartId;D.setAttribute(\'_fck_bookmark\',true);D.innerHTML=\'&nbsp;\';F=this.Clone();F.Collapse(true);F.InsertNode(D);if (A){B.StartNode=D;B.EndNode=E;};if (E){this.SetStart(D,4);this.SetEnd(E,3);}else this.MoveToPosition(D,4);return B;},GetBookmarkNode:function(A,B){var C=this.Window.document;if (B) return A.StartNode||C.getElementById(A.StartId);else return A.EndNode||C.getElementById(A.EndId);},MoveToBookmark:function(A,B){var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);this.SetStart(C,3);if (!B) FCKDomTools.RemoveNode(C);if (D){this.SetEnd(D,3);if (!B) FCKDomTools.RemoveNode(D);}else this.Collapse(true);this._UpdateElementInfo();},CreateBookmark2:function(){if (!this._Range) return { "Start":0,"End":0 };var A={"Start":[this._Range.startOffset],"End":[this._Range.endOffset]};var B=this._Range.startContainer.previousSibling;var C=this._Range.endContainer.previousSibling;var D=this._Range.startContainer;var E=this._Range.endContainer;while (B&&B.nodeType==3&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&C.nodeType==3&&E.nodeType==3){A.End[0]+=C.length;E=C;C=C.previousSibling;};if (D.nodeType==1&&D.childNodes[A.Start[0]]&&D.childNodes[A.Start[0]].nodeType==3){var F=D.childNodes[A.Start[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};D=F;A.Start[0]=G;};if (E.nodeType==1&&E.childNodes[A.End[0]]&&E.childNodes[A.End[0]].nodeType==3){var F=E.childNodes[A.End[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};E=F;A.End[0]=G;};A.Start=FCKDomTools.GetNodeAddress(D,true).concat(A.Start);A.End=FCKDomTools.GetNodeAddress(E,true).concat(A.End);return A;},MoveToBookmark2:function(A){var B=FCKDomTools.GetNodeFromAddress(this.Window.document,A.Start.slice(0,-1),true);var C=FCKDomTools.GetNodeFromAddress(this.Window.document,A.End.slice(0,-1),true);this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var D=A.Start[A.Start.length-1];var E=A.End[A.End.length-1];while (B.nodeType==3&&D>B.length){if (!B.nextSibling||B.nextSibling.nodeType!=3) break;D-=B.length;B=B.nextSibling;}while (C.nodeType==3&&E>C.length){if (!C.nextSibling||C.nextSibling.nodeType!=3) break;E-=C.length;C=C.nextSibling;};this._Range.setStart(B,D);this._Range.setEnd(C,E);this._UpdateElementInfo();},MoveToPosition:function(A,B){this.SetStart(A,B);this.Collapse(true);},SetStart:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setStart(A,0);break;case 2:D.setStart(A,A.childNodes.length);break;case 3:D.setStartBefore(A);break;case 4:D.setStartAfter(A);};if (!C) this._UpdateElementInfo();},SetEnd:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setEnd(A,0);break;case 2:D.setEnd(A,A.childNodes.length);break;case 3:D.setEndBefore(A);break;case 4:D.setEndAfter(A);};if (!C) this._UpdateElementInfo();},Expand:function(A){var B,oSibling;switch (A){case \'inline_elements\':if (this._Range.startOffset==0){B=this._Range.startContainer;if (B.nodeType!=1) B=B.previousSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setStartBefore(B);if (B!=B.parentNode.firstChild) break;B=B.parentNode;}}};B=this._Range.endContainer;var C=this._Range.endOffset;if ((B.nodeType==3&&C>=B.nodeValue.length)||(B.nodeType==1&&C>=B.childNodes.length)||(B.nodeType!=1&&B.nodeType!=3)){if (B.nodeType!=1) B=B.nextSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setEndAfter(B);if (B!=B.parentNode.lastChild) break;B=B.parentNode;}}};break;case \'block_contents\':case \'list_contents\':var D=FCKListsLib.BlockBoundaries;if (A==\'list_contents\'||FCKConfig.EnterMode==\'br\') D=FCKListsLib.ListBoundaries;if (this.StartBlock&&FCKConfig.EnterMode!=\'br\'&&A==\'block_contents\') this.SetStart(this.StartBlock,1);else{B=this._Range.startContainer;if (B.nodeType==1){var E=B.childNodes[this._Range.startOffset];if (E) B=FCKDomTools.GetPreviousSourceNode(E,true);else B=B.lastChild||B;}while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setStartBefore(B);B=B.previousSibling||B.parentNode;}};if (this.EndBlock&&FCKConfig.EnterMode!=\'br\'&&A==\'block_contents\'&&this.EndBlock.nodeName.toLowerCase()!=\'li\') this.SetEnd(this.EndBlock,2);else{B=this._Range.endContainer;if (B.nodeType==1) B=B.childNodes[this._Range.endOffset]||B.lastChild;while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setEndAfter(B);B=B.nextSibling||B.parentNode;};if (B&&B.nodeName.toLowerCase()==\'br\') this._Range.setEndAfter(B);};this._UpdateElementInfo();}},SplitBlock:function(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!=\'br\'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute(\'id\',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals([\'ul\',\'ol\'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand(\'block_contents\');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute(\'_fck_bookmark\')!=\'true\';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},Release:function(A){if (!A) this.Window=null;this.StartNode=null;this.StartContainer=null;this.StartBlock=null;this.StartBlockLimit=null;this.EndNode=null;this.EndContainer=null;this.EndBlock=null;this.EndBlockLimit=null;this._Range=null;this._Cache=null;},CheckHasRange:function(){return!!this._Range;},GetTouchedStartNode:function(){var A=this._Range;var B=A.startContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.startOffset]||B;},GetTouchedEndNode:function(){var A=this._Range;var B=A.endContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.endOffset-1]||B;}};\r\n
-FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var A=this.Window.document.selection;if (A.type!=\'Control\'){var B=this._GetSelectionMarkerTag(true);var C=this._GetSelectionMarkerTag(false);if (!B&&!C){this._Range.setStart(this.Window.document.body,0);this._UpdateElementInfo();return;};this._Range.setStart(B.parentNode,FCKDomTools.GetIndexOf(B));B.parentNode.removeChild(B);this._Range.setEnd(C.parentNode,FCKDomTools.GetIndexOf(C));C.parentNode.removeChild(C);this._UpdateElementInfo();}else{var D=A.createRange().item(0);if (D){this._Range.setStartBefore(D);this._Range.setEndAfter(D);this._UpdateElementInfo();}}};FCKDomRange.prototype.Select=function(A){if (this._Range) this.SelectBookmark(this.CreateBookmark(true),A);};FCKDomRange.prototype.SelectBookmark=function(A,B){var C=this.CheckIsCollapsed();var D;var E;var F=this.GetBookmarkNode(A,true);if (!F) return;var G;if (!C) G=this.GetBookmarkNode(A,false);var H=this.Window.document.body.createTextRange();H.moveToElementText(F);H.moveStart(\'character\',1);if (G){var I=this.Window.document.body.createTextRange();I.moveToElementText(G);H.setEndPoint(\'EndToEnd\',I);H.moveEnd(\'character\',-1);}else{D=(B||!F.previousSibling||F.previousSibling.nodeName.toLowerCase()==\'br\')&&!F.nextSibing;E=this.Window.document.createElement(\'span\');E.innerHTML=\'&#65279;\';F.parentNode.insertBefore(E,F);if (D){F.parentNode.insertBefore(this.Window.document.createTextNode(\'\\ufeff\'),F);}};if (!this._Range) this._Range=this.CreateRange();this._Range.setStartBefore(F);F.parentNode.removeChild(F);if (C){if (D){H.moveStart(\'character\',-1);H.select();this.Window.document.selection.clear();}else H.select();FCKDomTools.RemoveNode(E);}else{this._Range.setEndBefore(G);G.parentNode.removeChild(G);H.select();}};FCKDomRange.prototype._GetSelectionMarkerTag=function(A){var B=this.Window.document;var C=B.selection;var D;try{D=C.createRange();}catch (e){return null;};if (D.parentElement().document!=B) return null;D.collapse(A===true);var E=\'fck_dom_range_temp_\'+(new Date()).valueOf()+\'_\'+Math.floor(Math.random()*1000);D.pasteHTML(\'<span id="\'+E+\'"></span>\');return B.getElementById(E);};\r\n
+FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var A=this.Window.document.selection;if (A.type!=\'Control\'){var B=this._GetSelectionMarkerTag(true);var C=this._GetSelectionMarkerTag(false);if (!B&&!C){this._Range.setStart(this.Window.document.body,0);this._UpdateElementInfo();return;};this._Range.setStart(B.parentNode,FCKDomTools.GetIndexOf(B));B.parentNode.removeChild(B);this._Range.setEnd(C.parentNode,FCKDomTools.GetIndexOf(C));C.parentNode.removeChild(C);this._UpdateElementInfo();}else{var D=A.createRange().item(0);if (D){this._Range.setStartBefore(D);this._Range.setEndAfter(D);this._UpdateElementInfo();}}};FCKDomRange.prototype.Select=function(A){if (this._Range) this.SelectBookmark(this.CreateBookmark(true),A);};FCKDomRange.prototype.SelectBookmark=function(A,B){var C=this.CheckIsCollapsed();var D;var E;var F=this.GetBookmarkNode(A,true);if (!F) return;var G;if (!C) G=this.GetBookmarkNode(A,false);var H=this.Window.document.body.createTextRange();H.moveToElementText(F);H.moveStart(\'character\',1);if (G){var I=this.Window.document.body.createTextRange();I.moveToElementText(G);H.setEndPoint(\'EndToEnd\',I);H.moveEnd(\'character\',-1);}else{D=B||!F.previousSibling||F.previousSibling.nodeName.toLowerCase()==\'br\';E=this.Window.document.createElement(\'span\');E.innerHTML=\'&#65279;\';F.parentNode.insertBefore(E,F);if (D){F.parentNode.insertBefore(this.Window.document.createTextNode(\'\\ufeff\'),F);}};if (!this._Range) this._Range=this.CreateRange();this._Range.setStartBefore(F);F.parentNode.removeChild(F);if (C){if (D){H.moveStart(\'character\',-1);H.select();this.Window.document.selection.clear();}else H.select();FCKDomTools.RemoveNode(E);}else{this._Range.setEndBefore(G);G.parentNode.removeChild(G);H.select();}};FCKDomRange.prototype._GetSelectionMarkerTag=function(A){var B=this.Window.document;var C=B.selection;var D;try{D=C.createRange();}catch (e){return null;};if (D.parentElement().document!=B) return null;D.collapse(A===true);var E=\'fck_dom_range_temp_\'+(new Date()).valueOf()+\'_\'+Math.floor(Math.random()*1000);D.pasteHTML(\'<span id="\'+E+\'"></span>\');return B.getElementById(E);};\r\n
 var FCKDomRangeIterator=function(A){this.Range=A;this.ForceBrBreak=false;this.EnforceRealBlocks=false;};FCKDomRangeIterator.CreateFromSelection=function(A){var B=new FCKDomRange(A);B.MoveToSelection();return new FCKDomRangeIterator(B);};FCKDomRangeIterator.prototype={GetNextParagraph:function(){var A;var B;var C;var D;var E;var F=this.ForceBrBreak?FCKListsLib.ListBoundaries:FCKListsLib.BlockBoundaries;if (!this._LastNode){var B=this.Range.Clone();B.Expand(this.ForceBrBreak?\'list_contents\':\'block_contents\');this._NextNode=B.GetTouchedStartNode();this._LastNode=B.GetTouchedEndNode();B=null;};var H=this._NextNode;var I=this._LastNode;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName==\'HTML\')){if (M==\'br\') K=true;else if (!B&&H.childNodes.length==0&&M!=\'hr\'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!=\'br\') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I)||H;};J=true;}else{if (H.firstChild){if (!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};H=H.firstChild;continue;};K=true;}}else if (H.nodeType==3){if (/^[\\r\\n\\t ]+$/.test(H.nodeValue)) K=false;};if (K&&!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};C=((!J||K)&&H==I);if (B&&!J){while (!H.nextSibling&&!C){var N=H.parentNode;if (F[N.nodeName.toLowerCase()]){J=true;C=C||(N==I);break;};H=N;K=true;C=(H==I);L=true;}};if (K) B.SetEnd(H,4,true);if ((J||C)&&B){B._UpdateElementInfo();if (B.StartNode==B.EndNode&&B.StartNode.parentNode==B.StartBlockLimit&&B.StartNode.getAttribute&&B.StartNode.getAttribute(\'_fck_bookmark\')) B=null;else break;};if (C) break;H=FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.StartBlock;if (!A&&!this.EnforceRealBlocks&&B.StartBlockLimit.nodeName.IEquals(\'DIV\',\'TH\',\'TD\')&&B.CheckStartOfBlock()&&B.CheckEndOfBlock()){A=B.StartBlockLimit;}else if (!A||(this.EnforceRealBlocks&&A.nodeName.toLowerCase()==\'li\')){A=this.Range.Window.document.createElement(FCKConfig.EnterMode==\'p\'?\'p\':\'div\');B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);B.InsertNode(A);D=true;E=true;}else if (A.nodeName.toLowerCase()!=\'li\'){if (!B.CheckStartOfBlock()||!B.CheckEndOfBlock()){A=A.cloneNode(false);B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);var O=B.SplitBlock();D=!O.WasStartOfBlock;E=!O.WasEndOfBlock;B.InsertNode(A);}}else if (!C){this._NextNode=A==I?null:FCKDomTools.GetNextSourceNode(B.EndNode,true,null,I);return A;}};if (D){var P=A.previousSibling;if (P&&P.nodeType==1){if (P.nodeName.toLowerCase()==\'br\') P.parentNode.removeChild(P);else if (P.lastChild&&P.lastChild.nodeName.IEquals(\'br\')) P.removeChild(P.lastChild);}};if (E){var Q=A.lastChild;if (Q&&Q.nodeType==1&&Q.nodeName.toLowerCase()==\'br\') A.removeChild(Q);};if (!this._NextNode) this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}};\r\n
 var FCKDocumentFragment=function(A){this._Document=A;this.RootNode=A.createElement(\'div\');};FCKDocumentFragment.prototype={AppendTo:function(A){FCKDomTools.MoveChildren(this.RootNode,A);},AppendHtml:function(A){var B=this._Document.createElement(\'div\');B.innerHTML=A;FCKDomTools.MoveChildren(B,this.RootNode);},InsertAfterNode:function(A){var B=this.RootNode;var C;while((C=B.lastChild)) FCKDomTools.InsertAfterNode(A,B.removeChild(C));}};\r\n
 var FCKW3CRange=function(A){this._Document=A;this.startContainer=null;this.startOffset=null;this.endContainer=null;this.endOffset=null;this.collapsed=true;};FCKW3CRange.CreateRange=function(A){return new FCKW3CRange(A);};FCKW3CRange.CreateFromRange=function(A,B){var C=FCKW3CRange.CreateRange(A);C.setStart(B.startContainer,B.startOffset);C.setEnd(B.endContainer,B.endOffset);return C;};FCKW3CRange.prototype={_UpdateCollapsed:function(){this.collapsed=(this.startContainer==this.endContainer&&this.startOffset==this.endOffset);},setStart:function(A,B){this.startContainer=A;this.startOffset=B;if (!this.endContainer){this.endContainer=A;this.endOffset=B;};this._UpdateCollapsed();},setEnd:function(A,B){this.endContainer=A;this.endOffset=B;if (!this.startContainer){this.startContainer=A;this.startOffset=B;};this._UpdateCollapsed();},setStartAfter:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A));},setEndAfter:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setEndBefore:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A));},collapse:function(A){if (A){this.endContainer=this.startContainer;this.endOffset=this.startOffset;}else{this.startContainer=this.endContainer;this.startOffset=this.endOffset;};this.collapsed=true;},selectNodeContents:function(A){this.setStart(A,0);this.setEnd(A,A.nodeType==3?A.data.length:A.childNodes.length);},insertNode:function(A){var B=this.startContainer;var C=this.startOffset;if (B.nodeType==3){B.splitText(C);if (B==this.endContainer) this.setEnd(B.nextSibling,this.endOffset-this.startOffset);FCKDomTools.InsertAfterNode(B,A);return;}else{B.insertBefore(A,B.childNodes[C]||null);if (B==this.endContainer){this.endOffset++;this.collapsed=false;}}},deleteContents:function(){if (this.collapsed) return;this._ExecContentsAction(0);},extractContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(1,A);return A;},cloneContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(2,A);return A;},_ExecContentsAction:function(A,B){var C=this.startContainer;var D=this.endContainer;var E=this.startOffset;var F=this.endOffset;var G=false;var H=false;if (D.nodeType==3) D=D.splitText(F);else{if (D.childNodes.length>0){if (F>D.childNodes.length-1){D=FCKDomTools.InsertAfterNode(D.lastChild,this._Document.createTextNode(\'\'));H=true;}else D=D.childNodes[F];}};if (C.nodeType==3){C.splitText(E);if (C==D) D=C.nextSibling;}else{if (E==0){C=C.insertBefore(this._Document.createTextNode(\'\'),C.firstChild);G=true;}else if (E>C.childNodes.length-1){C=C.appendChild(this._Document.createTextNode(\'\'));G=true;}else C=C.childNodes[E].previousSibling;};var I=FCKDomTools.GetParents(C);var J=FCKDomTools.GetParents(D);var i,topStart,topEnd;for (i=0;i<I.length;i++){topStart=I[i];topEnd=J[i];if (topStart!=topEnd) break;};var K,levelStartNode,levelClone,currentNode,currentSibling;if (B) K=B.RootNode;for (var j=i;j<I.length;j++){levelStartNode=I[j];if (K&&levelStartNode!=C) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==C));currentNode=levelStartNode.nextSibling;while(currentNode){if (currentNode==J[j]||currentNode==D) break;currentSibling=currentNode.nextSibling;if (A==2) K.appendChild(currentNode.cloneNode(true));else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.appendChild(currentNode);};currentNode=currentSibling;};if (K) K=levelClone;};if (B) K=B.RootNode;for (var k=i;k<J.length;k++){levelStartNode=J[k];if (A>0&&levelStartNode!=D) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==D));if (!I[k]||levelStartNode.parentNode!=I[k].parentNode){currentNode=levelStartNode.previousSibling;while(currentNode){if (currentNode==I[k]||currentNode==C) break;currentSibling=currentNode.previousSibling;if (A==2) K.insertBefore(currentNode.cloneNode(true),K.firstChild);else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.insertBefore(currentNode,K.firstChild);};currentNode=currentSibling;}};if (K) K=levelClone;};if (A==2){var L=this.startContainer;if (L.nodeType==3){L.data+=L.nextSibling.data;L.parentNode.removeChild(L.nextSibling);};var M=this.endContainer;if (M.nodeType==3&&M.nextSibling){M.data+=M.nextSibling.data;M.parentNode.removeChild(M.nextSibling);}}else{if (topStart&&topEnd&&(C.parentNode!=topStart.parentNode||D.parentNode!=topEnd.parentNode)){var N=FCKDomTools.GetIndexOf(topEnd);if (G&&topEnd.parentNode==C.parentNode) N--;this.setStart(topEnd.parentNode,N);};this.collapse(true);};if(G) C.parentNode.removeChild(C);if(H&&D.parentNode) D.parentNode.removeChild(D);},cloneRange:function(){return FCKW3CRange.CreateFromRange(this._Document,this);}};\r\n
 var FCKEnterKey=function(A,B,C,D){this.Window=A;this.EnterMode=B||\'p\';this.ShiftEnterMode=C||\'br\';var E=new FCKKeystrokeHandler(false);E._EnterKey=this;E.OnKeystroke=FCKEnterKey_OnKeystroke;E.SetKeystrokes([[13,\'Enter\'],[SHIFT+13,\'ShiftEnter\'],[8,\'Backspace\'],[CTRL+8,\'CtrlBackspace\'],[46,\'Delete\']]);this.TabText=\'\';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+=\'\\xa0\';E.SetKeystrokes([9,\'Tab\']);};E.AttachToElement(A.document);};function FCKEnterKey_OnKeystroke(A,B){var C=this._EnterKey;try{switch (B){case \'Enter\':return C.DoEnter();break;case \'ShiftEnter\':return C.DoShiftEnter();break;case \'Backspace\':return C.DoBackspace();break;case \'Delete\':return C.DoDelete();break;case \'Tab\':return C.DoTab();break;case \'CtrlBackspace\':return C.DoCtrlBackspace();break;}}catch (e){};return false;};FCKEnterKey.prototype.DoEnter=function(A,B){FCKUndo.SaveUndoStep();this._HasShift=(B===true);var C=FCKSelection.GetParentElement();var D=new FCKElementPath(C);var E=A||this.EnterMode;if (E==\'br\'||D.Block&&D.Block.tagName.toLowerCase()==\'pre\') return this._ExecuteEnterBr();else return this._ExecuteEnterBlock(E);};FCKEnterKey.prototype.DoShiftEnter=function(){return this.DoEnter(this.ShiftEnterMode,true);};FCKEnterKey.prototype.DoBackspace=function(){var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};var C=B.CheckIsCollapsed();if (!C){if (FCKBrowserInfo.IsIE&&this.Window.document.selection.type.toLowerCase()=="control"){var D=this.Window.document.selection.createRange();for (var i=D.length-1;i>=0;i--){var E=D.item(i);E.parentNode.removeChild(E);};return true;};return false;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()==\'br\'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,[\'BODY\',B.StartBlockLimit.nodeName],[\'UL\',\'OL\']);A=this._ExecuteBackspace(B,L,K);}else if (FCKBrowserInfo.IsGeckoLike){B.Select();}};B.Release();return A;};FCKEnterKey.prototype.DoCtrlBackspace=function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(this.Window);A.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(A,this.Window.document.body)){this._FixIESelectAllBug(A);return true;};return false;};FCKEnterKey.prototype._ExecuteBackspace=function(A,B,C){var D=false;if (!B&&C&&C.nodeName.IEquals(\'LI\')&&C.parentNode.parentNode.nodeName.IEquals(\'LI\')){this._OutdentWithSelection(C,A);return true;};if (B&&B.nodeName.IEquals(\'LI\')){var E=FCKDomTools.GetLastChild(B,[\'UL\',\'OL\']);while (E){B=FCKDomTools.GetLastChild(E,\'LI\');E=FCKDomTools.GetLastChild(B,[\'UL\',\'OL\']);}};if (B&&C){if (C.nodeName.IEquals(\'LI\')&&!B.nodeName.IEquals(\'LI\')){this._OutdentWithSelection(C,A);return true;};var F=C.parentNode;var G=B.nodeName.toLowerCase();if (FCKListsLib.EmptyElements[G]!=null||G==\'table\'){FCKDomTools.RemoveNode(B);D=true;}else{FCKDomTools.RemoveNode(C);while (F.innerHTML.Trim().length==0){var H=F.parentNode;H.removeChild(F);F=H;};FCKDomTools.LTrimNode(C);FCKDomTools.RTrimNode(B);A.SetStart(B,2,true);A.Collapse(true);var I=A.CreateBookmark(true);if (!C.tagName.IEquals([\'TABLE\'])) FCKDomTools.MoveChildren(C,B);A.SelectBookmark(I);D=true;}};return D;};FCKEnterKey.prototype.DoDelete=function(){FCKUndo.SaveUndoStep();var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};if (B.CheckIsCollapsed()&&B.CheckEndOfBlock(FCKBrowserInfo.IsGeckoLike)){var C=B.StartBlock;var D=FCKTools.GetElementAscensor(C,\'td\');var E=FCKDomTools.GetNextSourceElement(C,true,[B.StartBlockLimit.nodeName],[\'UL\',\'OL\',\'TR\'],true);if (D){var F=FCKTools.GetElementAscensor(E,\'td\');if (F!=D) return true;};A=this._ExecuteBackspace(B,C,E);};B.Release();return A;};FCKEnterKey.prototype.DoTab=function(){var A=new FCKDomRange(this.Window);A.MoveToSelection();var B=A._Range.startContainer;while (B){if (B.nodeType==1){var C=B.tagName.toLowerCase();if (C=="tr"||C=="td"||C=="th"||C=="tbody"||C=="table") return false;else break;};B=B.parentNode;};if (this.TabText){A.DeleteContents();A.InsertNode(this.Window.document.createTextNode(this.TabText));A.Collapse(false);A.Select();};return true;};FCKEnterKey.prototype._ExecuteEnterBlock=function(A,B){var C=B||new FCKDomRange(this.Window);var D=C.SplitBlock(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals(\'li\')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals(\'li\')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals(\'li\')&&F.firstChild&&F.firstChild.nodeName.IEquals([\'ul\',\'ol\'])) F.insertBefore(FCKTools.GetElementDocument(F).createTextNode(\'\\xa0\'),F.firstChild);if (F) C.MoveToElementEditStart(F);}else{if (G&&H&&E.tagName.toUpperCase()==\'LI\'){C.MoveToElementStart(E);this._OutdentWithSelection(E,C);C.Release();return true;};var I;if (E){var J=E.tagName.toUpperCase();if (!this._HasShift&&!(/^H[1-6]$/).test(J)){I=FCKDomTools.CloneElement(E);}}else if (F) I=FCKDomTools.CloneElement(F);if (!I) I=this.Window.document.createElement(A);var K=D.ElementPath;if (K){for (var i=0,len=K.Elements.length;i<len;i++){var L=K.Elements[i];if (L==K.Block||L==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[L.nodeName.toLowerCase()]){L=FCKDomTools.CloneElement(L);FCKDomTools.MoveChildren(I,L);I.appendChild(L);}}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToElementEditStart(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsGeckoLike){if (F){var M=this.Window.document.createElement(\'span\');M.innerHTML=\'&nbsp;\';C.InsertNode(M);FCKDomTools.ScrollIntoView(M,false);C.DeleteContents();}else{FCKDomTools.ScrollIntoView(F||I,false);}};C.Select();};C.Release();return true;};FCKEnterKey.prototype._ExecuteEnterBr=function(A){var B=new FCKDomRange(this.Window);B.MoveToSelection();if (B.StartBlockLimit==B.EndBlockLimit){B.DeleteContents();B.MoveToSelection();var C=B.CheckStartOfBlock();var D=B.CheckEndOfBlock();var E=B.StartBlock?B.StartBlock.tagName.toUpperCase():\'\';var F=this._HasShift;var G=false;if (!F&&E==\'LI\') return this._ExecuteEnterBlock(null,B);if (!F&&D&&(/^H[1-6]$/).test(E)){FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createElement(\'br\'));if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createTextNode(\'\'));B.SetStart(B.StartBlock.nextSibling,FCKBrowserInfo.IsIE?3:1);}else{var H;G=E.IEquals(\'pre\');if (G) H=this.Window.document.createTextNode(FCKBrowserInfo.IsIE?\'\\r\':\'\\n\');else H=this.Window.document.createElement(\'br\');B.InsertNode(H);if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(H,this.Window.document.createTextNode(\'\'));if (D&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H.parentNode);if (FCKBrowserInfo.IsIE) B.SetStart(H,4);else B.SetStart(H.nextSibling,1);if (!FCKBrowserInfo.IsIE){var I=null;if (FCKBrowserInfo.IsOpera) I=this.Window.document.createElement(\'span\');else I=this.Window.document.createElement(\'br\');H.parentNode.insertBefore(I,H.nextSibling);FCKDomTools.ScrollIntoView(I,false);I.parentNode.removeChild(I);}};B.Collapse(true);B.Select(G);};B.Release();return true;};FCKEnterKey.prototype._OutdentWithSelection=function(A,B){var C=B.CreateBookmark();FCKListHandler.OutdentListItem(A);B.MoveToBookmark(C);B.Select();};FCKEnterKey.prototype._CheckIsAllContentsIncluded=function(A,B){var C=false;var D=false;if (A.StartContainer==B||A.StartContainer==B.firstChild) C=(A._Range.startOffset==0);if (A.EndContainer==B||A.EndContainer==B.lastChild){var E=A.EndContainer.nodeType==3?A.EndContainer.length:A.EndContainer.childNodes.length;D=(A._Range.endOffset==E);};return C&&D;};FCKEnterKey.prototype._FixIESelectAllBug=function(A){var B=this.Window.document;B.body.innerHTML=\'\';var C;if (FCKConfig.EnterMode.IEquals([\'div\',\'p\'])){C=B.createElement(FCKConfig.EnterMode);B.body.appendChild(C);}else C=B.body;A.MoveToNodeContents(C);A.Collapse(true);A.Select();A.Release();};\r\n
 var FCKDocumentProcessor={};FCKDocumentProcessor._Items=[];FCKDocumentProcessor.AppendNew=function(){var A={};this._Items.push(A);return A;};FCKDocumentProcessor.Process=function(A){var B=FCK.IsDirty();var C,i=0;while((C=this._Items[i++])) C.ProcessDocument(A);if (!B) FCK.ResetIsDirty();};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCKTools.GetElementDocument(B).createElement(\'IMG\');C.className=A;C.src=FCKConfig.BasePath+\'images/spacer.gif\';C.setAttribute(\'_fckfakelement\',\'true\',0);C.setAttribute(\'_fckrealelement\',FCKTempBin.AddElement(B),0);return C;};if (FCKBrowserInfo.IsIE||FCKBrowserInfo.IsOpera){var FCKAnchorsProcessor=FCKDocumentProcessor.AppendNew();FCKAnchorsProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName(\'A\');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.name.length>0){if (C.innerHTML!==\'\'){if (FCKBrowserInfo.IsIE) C.className+=\' FCK__AnchorC\';}else{var D=FCKDocumentProcessor_CreateFakeImage(\'FCK__Anchor\',C.cloneNode(true));D.setAttribute(\'_fckanchor\',\'true\',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}}}};var FCKPageBreaksProcessor=FCKDocumentProcessor.AppendNew();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName(\'DIV\');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter==\'always\'&&C.childNodes.length==1&&C.childNodes[0].style&&C.childNodes[0].style.display==\'none\'){var D=FCKDocumentProcessor_CreateFakeImage(\'FCK__PageBreak\',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};var FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage(\'FCK__UnknownObject\',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i<A.length;i++) D=A[i](el,D)||D;if (D!=E) FCKTempBin.RemoveElement(E.getAttribute(\'_fckrealelement\'));el.parentNode.replaceChild(D,el);};var F=function(elementName,doc){var G=doc.getElementsByTagName(elementName);for (var i=G.length-1;i>=0;i--) B(G[i]);};var H=function(doc){F(\'object\',doc);F(\'embed\',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute(\'width\')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute(\'width\'));if (original.getAttribute(\'height\')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute(\'height\'));},AddCustomHandler:function(func){A.push(func);}});})();FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute(\'_fckrealelement\')];if (A.getAttribute(\'_fckflash\')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;};if (FCKBrowserInfo.IsIE){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName(\'HR\');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){var D=A.createElement(\'hr\');D.mergeAttributes(C,true);FCKDomTools.InsertAfterNode(C,D);C.parentNode.removeChild(C);}}};FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName(\'INPUT\');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.type==\'hidden\'){var D=FCKDocumentProcessor_CreateFakeImage(\'FCK__InputHidden\',C.cloneNode(true));D.setAttribute(\'_fckinputhidden\',\'true\',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals(\'embed\')&&(A.type==\'application/x-shockwave-flash\'||/\\.swf($|#|\\?)/i.test(A.src)))) return;B.className=\'FCK__Flash\';B.setAttribute(\'_fckflash\',\'true\',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName(\'Apple-style-span\'):Array.prototype.filter.call(A.getElementsByTagName(\'span\'),function(item){ return item.className==\'Apple-style-span\';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}};\r\n
 var FCKSelection=FCK.Selection={GetParentBlock:function(){var A=this.GetParentElement();while (A){if (FCKListsLib.BlockBoundaries[A.nodeName.toLowerCase()]) break;A=A.parentNode;};return A;},ApplyStyle:function(A){FCKStyles.ApplyStyle(new FCKStyle(A));}};\r\n
-FCKSelection.GetType=function(){try{var A=FCKSelection.GetSelection().type;if (A==\'Control\'||A==\'Text\') return A;if (this.GetSelection().createRange().parentElement) return \'Text\';}catch(e){};return \'None\';};FCKSelection.GetSelectedElement=function(){if (this.GetType()==\'Control\'){var A=this.GetSelection().createRange();if (A&&A.item) return this.GetSelection().createRange().item(0);};return null;};FCKSelection.GetParentElement=function(){switch (this.GetType()){case \'Control\':var A=FCKSelection.GetSelectedElement();return A?A.parentElement:null;case \'None\':return null;default:return this.GetSelection().createRange().parentElement();}};FCKSelection.GetBoundaryParentElement=function(A){switch (this.GetType()){case \'Control\':var B=FCKSelection.GetSelectedElement();return B?B.parentElement:null;case \'None\':return null;default:var C=FCK.EditorDocument;var D=C.selection.createRange();D.collapse(A!==false);var B=D.parentElement();return FCKTools.GetElementDocument(B)==C?B:null;}};FCKSelection.SelectNode=function(A){FCK.Focus();this.GetSelection().empty();var B;try{B=FCK.EditorDocument.body.createControlRange();B.addElement(A);}catch(e){B=FCK.EditorDocument.body.createTextRange();B.moveToElementText(A);};B.select();};FCKSelection.Collapse=function(A){FCK.Focus();if (this.GetType()==\'Text\'){var B=this.GetSelection().createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (this.GetSelection().type=="Control"){B=this.GetSelectedElement();}else{var C=this.GetSelection().createRange();B=C.parentElement();}while (B){if (B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (this.GetSelection().type=="Control"){oRange=this.GetSelection().createRange();for (i=0;i<oRange.length;i++){if (oRange(i).parentNode){B=oRange(i).parentNode;break;}}}else{oRange=this.GetSelection().createRange();B=oRange.parentElement();}while (B&&!B.nodeName.Equals(A)) B=B.parentNode;return B;};FCKSelection.Delete=function(){var A=this.GetSelection();if (A.type.toLowerCase()!="none"){A.clear();};return A;};FCKSelection.GetSelection=function(){this.Restore();return FCK.EditorDocument.selection;};FCKSelection.Save=function(A){var B=FCK.EditorDocument;if (!B) return;if (this.locked) return;this.locked=!!A;var C=B.selection;var D;if (C){try {D=C.createRange();}catch(e) {};if (D){if (D.parentElement&&FCKTools.GetElementDocument(D.parentElement())!=B) D=null;else if (D.item&&FCKTools.GetElementDocument(D.item(0))!=B) D=null;}};this.SelectionData=D;};FCKSelection._GetSelectionDocument=function(A){var B=A.createRange();if (!B) return null;else if (B.item) return FCKTools.GetElementDocument(B.item(0));else return FCKTools.GetElementDocument(B.parentElement());};FCKSelection.Restore=function(){if (this.SelectionData){FCK.IsSelectionChangeLocked=true;try{if (String(this._GetSelectionDocument(FCK.EditorDocument.selection).body.contentEditable)==\'true\'){FCK.IsSelectionChangeLocked=false;return;};this.SelectionData.select();}catch (e) {};FCK.IsSelectionChangeLocked=false;}};FCKSelection.Release=function(){this.locked=false;delete this.SelectionData;};\r\n
+FCKSelection.GetType=function(){try{var A=FCKSelection.GetSelection().type;if (A==\'Control\'||A==\'Text\') return A;if (this.GetSelection().createRange().parentElement) return \'Text\';}catch(e){};return \'None\';};FCKSelection.GetSelectedElement=function(){if (this.GetType()==\'Control\'){var A=this.GetSelection().createRange();if (A&&A.item) return this.GetSelection().createRange().item(0);};return null;};FCKSelection.GetParentElement=function(){switch (this.GetType()){case \'Control\':var A=FCKSelection.GetSelectedElement();return A?A.parentElement:null;case \'None\':return null;default:return this.GetSelection().createRange().parentElement();}};FCKSelection.GetBoundaryParentElement=function(A){switch (this.GetType()){case \'Control\':var B=FCKSelection.GetSelectedElement();return B?B.parentElement:null;case \'None\':return null;default:var C=FCK.EditorDocument;var D=C.selection.createRange();D.collapse(A!==false);var B=D.parentElement();return FCKTools.GetElementDocument(B)==C?B:null;}};FCKSelection.SelectNode=function(A){FCK.Focus();this.GetSelection().empty();var B;try{B=FCK.EditorDocument.body.createControlRange();B.addElement(A);B.select();}catch(e){B=FCK.EditorDocument.body.createTextRange();B.moveToElementText(A);B.select();}};FCKSelection.Collapse=function(A){FCK.Focus();if (this.GetType()==\'Text\'){var B=this.GetSelection().createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (this.GetSelection().type=="Control"){B=this.GetSelectedElement();}else{var C=this.GetSelection().createRange();B=C.parentElement();}while (B){if (B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (this.GetSelection().type=="Control"){oRange=this.GetSelection().createRange();for (i=0;i<oRange.length;i++){if (oRange(i).parentNode){B=oRange(i).parentNode;break;}}}else{oRange=this.GetSelection().createRange();B=oRange.parentElement();}while (B&&!B.nodeName.Equals(A)) B=B.parentNode;return B;};FCKSelection.Delete=function(){var A=this.GetSelection();if (A.type.toLowerCase()!="none"){A.clear();};return A;};FCKSelection.GetSelection=function(){this.Restore();return FCK.EditorDocument.selection;};FCKSelection.Save=function(A){var B=FCK.EditorDocument;if (!B) return;if (this.locked) return;this.locked=!!A;var C=B.selection;var D;if (C){try {D=C.createRange();}catch(e) {};if (D){if (D.parentElement&&FCKTools.GetElementDocument(D.parentElement())!=B) D=null;else if (D.item&&FCKTools.GetElementDocument(D.item(0))!=B) D=null;}};this.SelectionData=D;};FCKSelection._GetSelectionDocument=function(A){var B=A.createRange();if (!B) return null;else if (B.item) return FCKTools.GetElementDocument(B.item(0));else return FCKTools.GetElementDocument(B.parentElement());};FCKSelection.Restore=function(){if (this.SelectionData){FCK.IsSelectionChangeLocked=true;try{if (String(this._GetSelectionDocument(FCK.EditorDocument.selection).body.contentEditable)==\'true\'){FCK.IsSelectionChangeLocked=false;return;};this.SelectionData.select();}catch (e) {};FCK.IsSelectionChangeLocked=false;}};FCKSelection.Release=function(){this.locked=false;delete this.SelectionData;};\r\n
 var FCKTableHandler={};FCKTableHandler.InsertRow=function(A){var B=FCKSelection.MoveToAncestorNode(\'TR\');if (!B) return;var C=B.cloneNode(true);B.parentNode.insertBefore(C,B);FCKTableHandler.ClearRow(A?C:B);};FCKTableHandler.DeleteRows=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();var C=[];for (var i=0;i<B.length;i++){var D=B[i].parentNode;C[D.rowIndex]=D;};for (var i=C.length;i>=0;i--){if (C[i]) FCKTableHandler.DeleteRows(C[i]);};return;};var E=FCKTools.GetElementAscensor(A,\'TABLE\');if (E.rows.length==1){FCKTableHandler.DeleteTable(E);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A){A=FCKSelection.GetSelectedElement();if (!A||A.tagName!=\'TABLE\') A=FCKSelection.MoveToAncestorNode(\'TABLE\');};if (!A) return;FCKSelection.SelectNode(A);FCKSelection.Collapse();if (A.parentNode.childNodes.length==1) A.parentNode.parentNode.removeChild(A.parentNode);else A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(A){var B=null;var C=this.GetSelectedCells();if (C&&C.length) B=C[A?0:(C.length-1)];if (!B) return;var D=FCKTools.GetElementAscensor(B,\'TABLE\');var E=B.cellIndex;for (var i=0;i<D.rows.length;i++){var F=D.rows[i];if (F.cells.length<(E+1)) continue;B=F.cells[E].cloneNode(false);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B);var G=F.cells[E];F.insertBefore(B,(A?G:G.nextSibling));}};FCKTableHandler.DeleteColumns=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();for (var i=B.length;i>=0;i--){if (B[i]) FCKTableHandler.DeleteColumns(B[i]);};return;};if (!A) return;var C=FCKTools.GetElementAscensor(A,\'TABLE\');var D=A.cellIndex;for (var i=C.rows.length-1;i>=0;i--){var E=C.rows[i];if (D==0&&E.cells.length==1){FCKTableHandler.DeleteRows(E);continue;};if (E.cells[D]) E.removeChild(E.cells[D]);}};FCKTableHandler.InsertCell=function(A,B){var C=null;var D=this.GetSelectedCells();if (D&&D.length) C=D[B?0:(D.length-1)];if (!C) return null;var E=FCK.EditorDocument.createElement(\'TD\');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(E);if (!B&&C.cellIndex==C.parentNode.cells.length-1) C.parentNode.appendChild(E);else C.parentNode.insertBefore(E,B?C:C.nextSibling);return E;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(A.parentNode);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler._MarkCells=function(A,B){for (var i=0;i<A.length;i++) A[i][B]=true;};FCKTableHandler._UnmarkCells=function(A,B){for (var i=0;i<A.length;i++){FCKDomTools.ClearElementJSProperty(A[i],B);}};FCKTableHandler._ReplaceCellsByMarker=function(A,B,C){for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){if (A[i][j][B]) A[i][j]=C;}}};FCKTableHandler._GetMarkerGeometry=function(A,B,C,D){var E=0;var F=0;var G=0;var H=0;for (var i=C;A[B][i]&&A[B][i][D];i++) E++;for (var i=C-1;A[B][i]&&A[B][i][D];i--){E++;G++;};for (var i=B;A[i]&&A[i][C]&&A[i][C][D];i++) F++;for (var i=B-1;A[i]&&A[i][C]&&A[i][C][D];i--){F++;H++;};return { \'width\':E,\'height\':F,\'x\':G,\'y\':H };};FCKTableHandler.CheckIsSelectionRectangular=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length<1) return false;for (var i=0;i<A.length;i++){if (A[i].parentNode.parentNode!=A[0].parentNode.parentNode) return false;};this._MarkCells(A,\'_CellSelected\');var B=this._CreateTableMap(A[0]);var C=A[0].parentNode.rowIndex;var D=this._GetCellIndexSpan(B,C,A[0]);var E=this._GetMarkerGeometry(B,C,D,\'_CellSelected\');var F=D-E.x;var G=C-E.y;if (E.width>=E.height){for (D=F;D<F+E.width;D++){C=G+(D-F) % E.height;if (!B[C]||!B[C][D]){this._UnmarkCells(A,\'_CellSelected\');return false;};var g=this._GetMarkerGeometry(B,C,D,\'_CellSelected\');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,\'_CellSelected\');return false;}}}else{for (C=G;C<G+E.height;C++){D=F+(C-G) % E.width;if (!B[C]||!B[C][D]){this._UnmarkCells(A,\'_CellSelected\');return false;};var g=this._GetMarkerGeometry(B,C,D,\'_CellSelected\');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,\'_CellSelected\');return false;}}};this._UnmarkCells(A,\'_CellSelected\');return true;};FCKTableHandler.MergeCells=function(){var A=this.GetSelectedCells();if (A.length<2) return;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);this._MarkCells(A,\'_SelectedCells\');var F=this._GetMarkerGeometry(C,D,E,\'_SelectedCells\');var G=E-F.x;var H=D-F.y;var I=FCKTools.GetElementDocument(B).createDocumentFragment();for (var i=0;i<F.height;i++){var J=0;for (var j=0;j<F.width;j++){var K=C[H+i][G+j];while (K.childNodes.length>0){var L=K.removeChild(K.firstChild);if (L.nodeType!=1||(L.getAttribute(\'type\',2)!=\'_moz\'&&L.getAttribute(\'_moz_dirty\')!=null)){I.appendChild(L);J++;}}};if (J>0) I.appendChild(FCK.EditorDocument.createElement(\'br\'));};this._ReplaceCellsByMarker(C,\'_SelectedCells\',B);this._UnmarkCells(A,\'_SelectedCells\');this._InstallTableMap(C,B.parentNode.parentNode.parentNode);B.appendChild(I);if (FCKBrowserInfo.IsGeckoLike&&(!B.firstChild)) FCKTools.AppendBogusBr(B);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeRight=function(){var A=this.GetMergeRightTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCK.EditorDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));D.parentNode.removeChild(D);B.appendChild(E);this._MarkCells([D],\'_Replace\');this._ReplaceCellsByMarker(C,\'_Replace\',B);this._InstallTableMap(C,B.parentNode.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeDown=function(){var A=this.GetMergeDownTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCK.EditorDocument.createElement(\'br\'),E.firstChild);B.appendChild(E);this._MarkCells([D],\'_Replace\');this._ReplaceCellsByMarker(C,\'_Replace\',B);this._InstallTableMap(C,B.parentNode.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.HorizontalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;if (F>1){var G=Math.ceil(F/2);var H=FCK.EditorDocument.createElement(B.nodeName);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H);var I=E+G;var J=E+F;var K=isNaN(B.rowSpan)?1:B.rowSpan;for (var r=D;r<D+K;r++){for (var i=I;i<J;i++) C[r][i]=H;}}else{var L=[];for (var i=0;i<C.length;i++){var M=C[i].slice(0,E);if (C[i].length<=E){L.push(M);continue;};if (C[i][E]==B){M.push(B);M.push(FCK.EditorDocument.createElement(B.nodeName));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(M[M.length-1]);}else{M.push(C[i][E]);M.push(C[i][E]);};for (var j=E+1;j<C[i].length;j++) M.push(C[i][j]);L.push(M);};C=L;};this._InstallTableMap(C,B.parentNode.parentNode.parentNode);};FCKTableHandler.VerticalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;var G=B.rowSpan;if (isNaN(G)) G=1;if (G>1){B.rowSpan=Math.ceil(G/2);var H=D+Math.ceil(G/2);var I=C[H];var J=null;for (var i=E+1;i<I.length;i++){if (I[i].parentNode.rowIndex==H){J=I[i];break;}};var K=FCK.EditorDocument.createElement(B.nodeName);K.rowSpan=Math.floor(G/2);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);B.parentNode.parentNode.parentNode.rows[H].insertBefore(K,J);}else{var L=B.parentNode.sectionRowIndex+1;var M=FCK.EditorDocument.createElement(\'tr\');var N=B.parentNode.parentNode;if (N.rows.length>L) N.insertBefore(M,N.rows[L]);else N.appendChild(M);for (var i=0;i<C[D].length;){var O=C[D][i].colSpan;if (isNaN(O)||O<1) O=1;if (i==E){i+=O;continue;};var P=C[D][i].rowSpan;if (isNaN(P)) P=1;C[D][i].rowSpan=P+1;i+=O;};var K=FCK.EditorDocument.createElement(B.nodeName);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);M.appendChild(K);}};FCKTableHandler._GetCellIndexSpan=function(A,B,C){if (A.length<B+1) return null;var D=A[B];for (var c=0;c<D.length;c++){if (D[c]==C) return c;};return null;};FCKTableHandler._GetCellLocation=function(A,B){for (var i=0;i<A.length;i++){for (var c=0;c<A[i].length;c++){if (A[i][c]==B) return [i,c];}};return null;};FCKTableHandler._CreateTableMap=function(A){var B=(A.nodeName==\'TABLE\'?A:A.parentNode.parentNode.parentNode);var C=B.rows;var r=-1;var D=[];for (var i=0;i<C.length;i++){r++;if (!D[r]) D[r]=[];var c=-1;for (var j=0;j<C[i].cells.length;j++){var E=C[i].cells[j];c++;while (D[r][c]) c++;var F=isNaN(E.colSpan)?1:E.colSpan;var G=isNaN(E.rowSpan)?1:E.rowSpan;for (var H=0;H<G;H++){if (!D[r+H]) D[r+H]=[];for (var I=0;I<F;I++){D[r+H][c+I]=C[i].cells[j];}};c+=F-1;}};return D;};FCKTableHandler._InstallTableMap=function(A,B){var C=FCKBrowserInfo.IsIE?"_fckrowspan":"rowSpan";for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (D.parentNode) D.parentNode.removeChild(D);D.colSpan=D[C]=1;}};var E=0;for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (!D) continue;if (j>E) E=j;if (D._colScanned===true) continue;if (A[i][j-1]==D) D.colSpan++;if (A[i][j+1]!=D) D._colScanned=true;}};for (var i=0;i<=E;i++){for (var j=0;j<A.length;j++){if (!A[j]) continue;var D=A[j][i];if (!D||D._rowScanned===true) continue;if (A[j-1]&&A[j-1][i]==D) D[C]++;if (!A[j+1]||A[j+1][i]!=D) D._rowScanned=true;}};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];FCKDomTools.ClearElementJSProperty(D,\'_colScanned\');FCKDomTools.ClearElementJSProperty(D,\'_rowScanned\');}};for (var i=0;i<A.length;i++){var I=FCK.EditorDocument.createElement(\'tr\');for (var j=0;j<A[i].length;){var D=A[i][j];if (A[i-1]&&A[i-1][j]==D){j+=D.colSpan;continue;};I.appendChild(D);if (C!=\'rowSpan\'){D.rowSpan=D[C];D.removeAttribute(C);};j+=D.colSpan;if (D.colSpan==1) D.removeAttribute(\'colspan\');if (D.rowSpan==1) D.removeAttribute(\'rowspan\');};if (FCKBrowserInfo.IsIE){B.rows[i].replaceNode(I);}else{B.rows[i].innerHTML=\'\';FCKDomTools.MoveChildren(I,B.rows[i]);}}};FCKTableHandler._MoveCaretToCell=function (A,B){var C=new FCKDomRange(FCK.EditorWindow);C.MoveToNodeContents(A);C.Collapse(B);C.Select();};FCKTableHandler.ClearRow=function(A){var B=A.cells;for (var i=0;i<B.length;i++){B[i].innerHTML=\'\';if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B[i]);}};FCKTableHandler.GetMergeRightTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=E+(isNaN(B.colSpan)?1:B.colSpan);var G=C[D][F];if (!G) return null;this._MarkCells([B,G],\'_SizeTest\');var H=this._GetMarkerGeometry(C,D,E,\'_SizeTest\');var I=this._GetMarkerGeometry(C,D,F,\'_SizeTest\');this._UnmarkCells([B,G],\'_SizeTest\');if (H.height!=I.height||H.y!=I.y) return null;return { \'refCell\':B,\'nextCell\':G,\'tableMap\':C };};FCKTableHandler.GetMergeDownTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=D+(isNaN(B.rowSpan)?1:B.rowSpan);if (!C[F]) return null;var G=C[F][E];if (!G) return null;if (B.parentNode.parentNode!=G.parentNode.parentNode) return null;this._MarkCells([B,G],\'_SizeTest\');var H=this._GetMarkerGeometry(C,D,E,\'_SizeTest\');var I=this._GetMarkerGeometry(C,F,E,\'_SizeTest\');this._UnmarkCells([B,G],\'_SizeTest\');if (H.width!=I.width||H.x!=I.x) return null;return { \'refCell\':B,\'nextCell\':G,\'tableMap\':C };};\r\n
 FCKTableHandler.GetSelectedCells=function(){if (FCKSelection.GetType()==\'Control\'){var A=FCKSelection.MoveToAncestorNode([\'TD\',\'TH\']);return A?[A]:[];};var B=[];var C=FCKSelection.GetSelection().createRange();var D=FCKSelection.GetParentElement();if (D&&D.tagName.Equals(\'TD\',\'TH\')) B[0]=D;else{D=FCKSelection.MoveToAncestorNode(\'TABLE\');if (D){for (var i=0;i<D.cells.length;i++){var E=FCK.EditorDocument.body.createTextRange();E.moveToElementText(D.cells[i]);if (C.inRange(E)||(C.compareEndPoints(\'StartToStart\',E)>=0&&C.compareEndPoints(\'StartToEnd\',E)<=0)||(C.compareEndPoints(\'EndToStart\',E)>=0&&C.compareEndPoints(\'EndToEnd\',E)<=0)){B[B.length]=D.cells[i];}}}};return B;};\r\n
 var FCKXml=function(){this.Error=false;};FCKXml.GetAttribute=function(A,B,C){var D=A.attributes.getNamedItem(B);return D?D.value:C;};FCKXml.TransformToObject=function(A){if (!A) return null;var B={};var C=A.attributes;for (var i=0;i<C.length;i++){var D=C[i];B[D.name]=D.value;};var E=A.childNodes;for (i=0;i<E.length;i++){var F=E[i];if (F.nodeType==1){var G=\'$\'+F.nodeName;var H=B[G];if (!H) H=B[G]=[];H.push(this.TransformToObject(F));}};return B;};\r\n
 FCKXml.prototype={LoadUrl:function(A){this.Error=false;var B=FCKTools.CreateXmlObject(\'XmlHttp\');if (!B){this.Error=true;return;};B.open("GET",A,false);B.send(null);if (B.status==200||B.status==304||(B.status==0&&B.readyState==4)){this.DOMDocument=B.responseXML;if (!this.DOMDocument||this.DOMDocument.firstChild==null){this.DOMDocument=FCKTools.CreateXmlObject(\'DOMDocument\');this.DOMDocument.async=false;this.DOMDocument.resolveExternals=false;this.DOMDocument.loadXML(B.responseText);}}else{this.DOMDocument=null;};if (this.DOMDocument==null||this.DOMDocument.firstChild==null){this.Error=true;if (window.confirm(\'Error loading "\'+A+\'"\\r\\nDo you want to see more info?\')) alert(\'URL requested: "\'+A+\'"\\r\\nServer response:\\r\\nStatus: \'+B.status+\'\\r\\nResponse text:\\r\\n\'+B.responseText);}},SelectNodes:function(A,B){if (this.Error) return [];if (B) return B.selectNodes(A);else return this.DOMDocument.selectNodes(A);},SelectSingleNode:function(A,B){if (this.Error) return null;if (B) return B.selectSingleNode(A);else return this.DOMDocument.selectSingleNode(A);}};\r\n
 var FCKNamedCommand=function(A){this.Name=A;};FCKNamedCommand.prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(this.Name);};\r\n
 var FCKStyleCommand=function(){};FCKStyleCommand.prototype={Name:\'Style\',Execute:function(A,B){FCKUndo.SaveUndoStep();if (B.Selected) FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorDocument) return -1;if (FCKSelection.GetType()==\'Control\'){var A=FCKSelection.GetSelectedElement();if (!A||!FCKStyles.CheckHasObjectStyle(A.nodeName.toLowerCase())) return -1;};return 0;}};\r\n
-var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog(\'FCKDialog_\'+this.Name,this.Title,this.Url,this.Width,this.Height,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};var FCKUndefinedCommand=function(){this.Name=\'Undefined\';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:\'FormatBlock\',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:\'FontName\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:\'FontSize\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name=\'Preview\';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name=\'Save\';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)==\'function\'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)==\'function\') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name=\'NewPage\';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData(\'\');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name=\'Source\';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog(\'FCKDialog_Source\',FCKLang.Source,\'dialog/fck_source.html\',A,B,null,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name=\'Undo\';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name=\'Redo\';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name=\'PageBreak\';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement(\'DIV\');e.style.pageBreakAfter=\'always\';e.innerHTML=\'<span style="DISPLAY:none">&nbsp;</span>\';var A=FCKDocumentProcessor_CreateFakeImage(\'FCK__PageBreak\',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent(\'OnSelectionChange\');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name=\'Unlink\';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode(\'A\');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode(\'A\');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKVisitLinkCommand=function(){this.Name=\'VisitLink\';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(\'Unlink\');if (A==0){var B=FCKSelection.MoveToAncestorNode(\'A\');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode(\'A\');var B=A.getAttribute(\'_fcksavedurl\')||A.getAttribute(\'href\',2);if (!/:\\/\\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject(\'parent\');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf(\'/\')+1);};if (/^\\//.test(B)){try{C=C.match(/^.*:\\/\\/+[^\\/]+/)[0];}catch (e){C=D.document.location.protocol+\'://\'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,\'_blank\')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name=\'SelectAll\';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand(\'SelectAll\');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand(\'SelectAll\');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name=\'Paste\';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand(\'Paste\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');}};var FCKRuleCommand=function(){this.Name=\'Rule\';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement(\'hr\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'InsertHorizontalRule\');}};var FCKCutCopyCommand=function(A){this.Name=A?\'Cut\':\'Copy\';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C=\'on\'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang[\'PasteError\'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState(\'Cut\');}};var FCKAnchorDeleteCommand=function(){this.Name=\'AnchorDelete\';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()==\'Control\'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName==\'IMG\'&&A.getAttribute(\'_fckanchor\')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode(\'A\');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute(\'name\');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,\'\');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Unlink\');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals(\'div\')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name=\'Non Breaking Space\';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(\'&nbsp;\');},GetState:function(){return (FCK.EditMode!=0?-1:0);}};\r\n
+var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog(\'FCKDialog_\'+this.Name,this.Title,this.Url,this.Width,this.Height,this.CustomValue,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};var FCKUndefinedCommand=function(){this.Name=\'Undefined\';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:\'FormatBlock\',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:\'FontName\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:\'FontSize\',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name=\'Preview\';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name=\'Save\';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)==\'function\'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)==\'function\') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name=\'NewPage\';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData(\'\');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name=\'Source\';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog(\'FCKDialog_Source\',FCKLang.Source,\'dialog/fck_source.html\',A,B,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name=\'Undo\';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name=\'Redo\';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name=\'PageBreak\';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement(\'DIV\');e.style.pageBreakAfter=\'always\';e.innerHTML=\'<span style="DISPLAY:none">&nbsp;</span>\';var A=FCKDocumentProcessor_CreateFakeImage(\'FCK__PageBreak\',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent(\'OnSelectionChange\');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKUnlinkCommand=function(){this.Name=\'Unlink\';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode(\'A\');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode(\'A\');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKVisitLinkCommand=function(){this.Name=\'VisitLink\';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState(\'Unlink\');if (A==0){var B=FCKSelection.MoveToAncestorNode(\'A\');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode(\'A\');var B=A.getAttribute(\'_fcksavedurl\')||A.getAttribute(\'href\',2);if (!/:\\/\\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject(\'parent\');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf(\'/\')+1);};if (/^\\//.test(B)){try{C=C.match(/^.*:\\/\\/+[^\\/]+/)[0];}catch (e){C=D.document.location.protocol+\'://\'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,\'_blank\')) alert(FCKLang.VisitLinkBlocked);}};var FCKSelectAllCommand=function(){this.Name=\'SelectAll\';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand(\'SelectAll\');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand(\'SelectAll\');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name=\'Paste\';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand(\'Paste\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');}};var FCKRuleCommand=function(){this.Name=\'Rule\';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement(\'hr\');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'InsertHorizontalRule\');}};var FCKCutCopyCommand=function(A){this.Name=A?\'Cut\':\'Copy\';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C=\'on\'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang[\'PasteError\'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1:FCK.GetNamedCommandState(\'Cut\');}};var FCKAnchorDeleteCommand=function(){this.Name=\'AnchorDelete\';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()==\'Control\'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName==\'IMG\'&&A.getAttribute(\'_fckanchor\')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode(\'A\');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute(\'name\');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,\'\');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Unlink\');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals(\'div\')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name=\'Non Breaking Space\';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(\'&nbsp;\');},GetState:function(){return (FCK.EditMode!=0?-1:0);}};\r\n
 var FCKShowBlockCommand=function(A,B){this.Name=A;if (B!=undefined) this._SavedState=B;else this._SavedState=null;};FCKShowBlockCommand.prototype.Execute=function(){var A=this.GetState();if (A==-1) return;var B=FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,\'\');else B.className+=\' FCK__ShowBlocks\';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C){if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);}};FCK.Events.FireEvent(\'OnSelectionChange\');};FCKShowBlockCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;if (!FCK.EditorDocument) return 0;if (/FCK__ShowBlocks(?:\\s|$)/.test(FCK.EditorDocument.body.className)) return 1;return 0;};FCKShowBlockCommand.prototype.SaveState=function(){this._SavedState=this.GetState();};FCKShowBlockCommand.prototype.RestoreState=function(){if (this._SavedState!=null&&this.GetState()!=this._SavedState) this.Execute();};\r\n
 var FCKSpellCheckCommand=function(){this.Name=\'SpellCheck\';this.IsEnabled=true;};FCKSpellCheckCommand.prototype.Execute=function(){switch (FCKConfig.SpellChecker){case \'ieSpell\':this._RunIeSpell();break;case \'SpellerPages\':FCKDialog.OpenDialog(\'FCKDialog_SpellCheck\',\'Spell Check\',\'dialog/fck_spellerpages.html\',440,480);break;case \'WSC\':FCKDialog.OpenDialog(\'FCKDialog_SpellCheck\',\'Spell Check\',\'wsc/w.html\',530,480);}};FCKSpellCheckCommand.prototype._RunIeSpell=function(){try{var A=new ActiveXObject("ieSpell.ieSpellExtension");A.CheckAllLinkedDocuments(FCK.EditorDocument);}catch(e){if(e.number==-2146827859){if (confirm(FCKLang.IeSpellDownload)) window.open(FCKConfig.IeSpellDownloadUrl,\'IeSpellDownload\');}else alert(\'Error Loading ieSpell: \'+e.message+\' (\'+e.number+\')\');}};FCKSpellCheckCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return this.IsEnabled?0:-1;};\r\n
-var FCKTextColorCommand=function(A){this.Name=A==\'ForeColor\'?\'TextColor\':\'BGColor\';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._Panel.MainNode.className=\'FCK_Panel\';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle(\'_FCK_\'+(this.Type==\'ForeColor\'?\'Color\':\'BackColor\'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable(\'Color\',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');};FCKTextColorCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};function FCKTextColorCommand_OnMouseOver(){this.className=\'ColorSelected\';};function FCKTextColorCommand_OnMouseOut(){this.className=\'ColorDeselected\';};function FCKTextColorCommand_OnClick(A,B,C){this.className=\'ColorDeselected\';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className=\'ColorDeselected\';B.SetColor(\'\');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className=\'ColorDeselected\';B._Panel.Hide();FCKDialog.OpenDialog(\'FCKDialog_Color\',FCKLang.DlgColorTitle,\'dialog/fck_colorselector.html\',410,320,FCKTools.Bind(B,B.SetColor));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className=\'ColorDeselected\';FCKTools.AddEventListenerEx(C,\'mouseover\',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className=\'ForceBaseFont\';D.style.tableLayout=\'fixed\';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table cellspacing="0" cellpadding="0" width="100%" border="0">\\n\t\t\t<tr>\\n\t\t\t\t<td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\\n\t\t\t\t<td nowrap width="100%" align="center">\'+FCKLang.ColorAutomatic+\'</td>\\n\t\t\t</tr>\\n\t\t</table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';var G=FCKConfig.FontColors.toString().split(\',\');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split(\'/\');var K=\'#\'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML=\'<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: \'+K+\'"></div></div>\';if (H>=G.length) C.style.visibility=\'hidden\';else FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">\'+FCKLang.ColorMoreColors+\'</td></tr></table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';};\r\n
+var FCKTextColorCommand=function(A){this.Name=A==\'ForeColor\'?\'TextColor\':\'BGColor\';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinEditorCSS);this._Panel.MainNode.className=\'FCK_Panel\';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle(\'_FCK_\'+(this.Type==\'ForeColor\'?\'Color\':\'BackColor\'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable(\'Color\',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');};FCKTextColorCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return 0;};function FCKTextColorCommand_OnMouseOver(){this.className=\'ColorSelected\';};function FCKTextColorCommand_OnMouseOut(){this.className=\'ColorDeselected\';};function FCKTextColorCommand_OnClick(A,B,C){this.className=\'ColorDeselected\';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className=\'ColorDeselected\';B.SetColor(\'\');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className=\'ColorDeselected\';B._Panel.Hide();FCKDialog.OpenDialog(\'FCKDialog_Color\',FCKLang.DlgColorTitle,\'dialog/fck_colorselector.html\',410,320,FCKTools.Bind(B,B.SetColor));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className=\'ColorDeselected\';FCKTools.AddEventListenerEx(C,\'mouseover\',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className=\'ForceBaseFont\';D.style.tableLayout=\'fixed\';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table cellspacing="0" cellpadding="0" width="100%" border="0">\\n\t\t\t<tr>\\n\t\t\t\t<td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\\n\t\t\t\t<td nowrap width="100%" align="center">\'+FCKLang.ColorAutomatic+\'</td>\\n\t\t\t</tr>\\n\t\t</table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';var G=FCKConfig.FontColors.toString().split(\',\');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split(\'/\');var K=\'#\'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML=\'<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: \'+K+\'"></div></div>\';if (H>=G.length) C.style.visibility=\'hidden\';else FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML=\'<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">\'+FCKLang.ColorMoreColors+\'</td></tr></table>\';FCKTools.AddEventListenerEx(C,\'click\',FCKTextColorCommand_MoreOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width=\'96%\';}};\r\n
 var FCKPastePlainTextCommand=function(){this.Name=\'PasteText\';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState(\'Paste\');};\r\n
 var FCKPasteWordCommand=function(){this.Name=\'PasteWord\';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState(\'Paste\');};\r\n
 var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case \'TableMergeRight\':return FCKTableHandler.MergeRight();case \'TableMergeDown\':return FCKTableHandler.MergeDown();}};switch (this.Name){case \'TableInsertRowAfter\':return FCKTableHandler.InsertRow(false);case \'TableInsertRowBefore\':return FCKTableHandler.InsertRow(true);case \'TableDeleteRows\':return FCKTableHandler.DeleteRows();case \'TableInsertColumnAfter\':return FCKTableHandler.InsertColumn(false);case \'TableInsertColumnBefore\':return FCKTableHandler.InsertColumn(true);case \'TableDeleteColumns\':return FCKTableHandler.DeleteColumns();case \'TableInsertCellAfter\':return FCKTableHandler.InsertCell(null,false);case \'TableInsertCellBefore\':return FCKTableHandler.InsertCell(null,true);case \'TableDeleteCells\':return FCKTableHandler.DeleteCells();case \'TableMergeCells\':return FCKTableHandler.MergeCells();case \'TableHorizontalSplitCell\':return FCKTableHandler.HorizontalSplitCell();case \'TableVerticalSplitCell\':return FCKTableHandler.VerticalSplitCell();case \'TableDelete\':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode(\'TABLE\')){switch (this.Name){case \'TableHorizontalSplitCell\':case \'TableVerticalSplitCell\':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case \'TableMergeCells\':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case \'TableMergeRight\':return FCKTableHandler.GetMergeRightTarget()?0:-1;case \'TableMergeDown\':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;};\r\n
@@ -113,8 +113,8 @@ var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSPrope
 var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals(\'blockquote\')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals(\'blockquote\')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals(\'p\')?\'p\':\'div\');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode(\'\\ufeff\'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i<I.length;i++){H=I[i];J=FCKDomTools.GetCommonParents(H.parentNode,J).pop();}while (J.nodeName.IEquals(\'table\',\'tbody\',\'tr\',\'ol\',\'ul\')) J=J.parentNode;var L=null;while (I.length>0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;}while (K.length>0){H=K.shift();if (H.nodeName.IEquals(\'blockquote\')){var M=FCKTools.GetElementDocument(H).createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement(\'blockquote\');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];var P={};while ((H=G.GetNextParagraph())){var Q=null;var R=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals(\'blockquote\')){Q=H.parentNode;R=H;break;};H=H.parentNode;};if (Q&&R&&!R._fckblockquotemoveout){O.push(R);FCKDomTools.SetElementMarker(P,R,\'_fckblockquotemoveout\',true);}};FCKDomTools.ClearAllMarkers(P);var S=[];var T=[],P={};var U=function(N){for (var i=0;i<N.childNodes.length;i++){if (FCKListsLib.BlockElements[N.childNodes[i].nodeName.toLowerCase()]) return false;};return true;};while (O.length>0){var W=O.shift();var N=W.parentNode;if (W==W.parentNode.firstChild) N.parentNode.insertBefore(N.removeChild(W),N);else if (W==W.parentNode.lastChild) N.parentNode.insertBefore(N.removeChild(W),N.nextSibling);else FCKDomTools.BreakParent(W,W.parentNode,B);if (!N._fckbqprocessed){T.push(N);FCKDomTools.SetElementMarker(P,N,\'_fckbqprocessed\',true);};S.push(W);};for (var i=T.length-1;i>=0;i--){var N=T[i];if (U(N)) FCKDomTools.RemoveNode(N);};FCKDomTools.ClearAllMarkers(P);if (FCKConfig.EnterMode.IEquals(\'br\')){while (S.length){var W=S.shift();var a=true;if (W.nodeName.IEquals(\'div\')){var M=FCKTools.GetElementDocument(W).createDocumentFragment();var c=a&&W.previousSibling&&!FCKListsLib.BlockBoundaries[W.previousSibling.nodeName.toLowerCase()];if (a&&c) M.appendChild(FCKTools.GetElementDocument(W).createElement(\'br\'));var d=W.nextSibling&&!FCKListsLib.BlockBoundaries[W.nextSibling.nodeName.toLowerCase()];while (W.firstChild) M.appendChild(W.removeChild(W.firstChild));if (d) M.appendChild(FCKTools.GetElementDocument(W).createElement(\'br\'));W.parentNode.replaceChild(M,W);a=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()==\'body\') return 0;for (var i=0;i<A.Elements.length;i++){if (A.Elements[i].nodeName.IEquals(\'blockquote\')) return 1;};return 0;}};\r\n
 var FCKCoreStyleCommand=function(A){this.Name=\'CoreStyle\';this.StyleName=\'_FCK_\'+A;this.IsActive=false;FCKStyles.AttachStyleStateChange(this.StyleName,this._OnStyleStateChange,this);};FCKCoreStyleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();if (this.IsActive) FCKStyles.RemoveStyle(this.StyleName);else FCKStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){if (FCK.EditMode!=0) return -1;return this.IsActive?1:0;},_OnStyleStateChange:function(A,B){this.IsActive=B;}};\r\n
 var FCKRemoveFormatCommand=function(){this.Name=\'RemoveFormat\';};FCKRemoveFormatCommand.prototype={Execute:function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent(\'OnSelectionChange\');},GetState:function(){return FCK.EditorWindow?0:-1;}};\r\n
-var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case \'Bold\':case \'Italic\':case \'Underline\':case \'StrikeThrough\':case \'Subscript\':case \'Superscript\':B=new FCKCoreStyleCommand(A);break;case \'RemoveFormat\':B=new FCKRemoveFormatCommand();break;case \'DocProps\':B=new FCKDialogCommand(\'DocProps\',FCKLang.DocProps,\'dialog/fck_docprops.html\',400,380,FCKCommands.GetFullPageState);break;case \'Templates\':B=new FCKDialogCommand(\'Templates\',FCKLang.DlgTemplatesTitle,\'dialog/fck_template.html\',380,450);break;case \'Link\':B=new FCKDialogCommand(\'Link\',FCKLang.DlgLnkWindowTitle,\'dialog/fck_link.html\',400,300);break;case \'Unlink\':B=new FCKUnlinkCommand();break;case \'VisitLink\':B=new FCKVisitLinkCommand();break;case \'Anchor\':B=new FCKDialogCommand(\'Anchor\',FCKLang.DlgAnchorTitle,\'dialog/fck_anchor.html\',370,160);break;case \'AnchorDelete\':B=new FCKAnchorDeleteCommand();break;case \'BulletedList\':B=new FCKDialogCommand(\'BulletedList\',FCKLang.BulletedListProp,\'dialog/fck_listprop.html?UL\',370,160);break;case \'NumberedList\':B=new FCKDialogCommand(\'NumberedList\',FCKLang.NumberedListProp,\'dialog/fck_listprop.html?OL\',370,160);break;case \'About\':B=new FCKDialogCommand(\'About\',FCKLang.About,\'dialog/fck_about.html\',420,330,function(){ return 0;});break;case \'Find\':B=new FCKDialogCommand(\'Find\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Find\');break;case \'Replace\':B=new FCKDialogCommand(\'Replace\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Replace\');break;case \'Image\':B=new FCKDialogCommand(\'Image\',FCKLang.DlgImgTitle,\'dialog/fck_image.html\',450,390);break;case \'Flash\':B=new FCKDialogCommand(\'Flash\',FCKLang.DlgFlashTitle,\'dialog/fck_flash.html\',450,390);break;case \'SpecialChar\':B=new FCKDialogCommand(\'SpecialChar\',FCKLang.DlgSpecialCharTitle,\'dialog/fck_specialchar.html\',400,290);break;case \'Smiley\':B=new FCKDialogCommand(\'Smiley\',FCKLang.DlgSmileyTitle,\'dialog/fck_smiley.html\',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case \'Table\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html\',480,250);break;case \'TableProp\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html?Parent\',480,250);break;case \'TableCellProp\':B=new FCKDialogCommand(\'TableCell\',FCKLang.DlgCellTitle,\'dialog/fck_tablecell.html\',550,240);break;case \'Style\':B=new FCKStyleCommand();break;case \'FontName\':B=new FCKFontNameCommand();break;case \'FontSize\':B=new FCKFontSizeCommand();break;case \'FontFormat\':B=new FCKFormatBlockCommand();break;case \'Source\':B=new FCKSourceCommand();break;case \'Preview\':B=new FCKPreviewCommand();break;case \'Save\':B=new FCKSaveCommand();break;case \'NewPage\':B=new FCKNewPageCommand();break;case \'PageBreak\':B=new FCKPageBreakCommand();break;case \'Rule\':B=new FCKRuleCommand();break;case \'Nbsp\':B=new FCKNbsp();break;case \'TextColor\':B=new FCKTextColorCommand(\'ForeColor\');break;case \'BGColor\':B=new FCKTextColorCommand(\'BackColor\');break;case \'Paste\':B=new FCKPasteCommand();break;case \'PasteText\':B=new FCKPastePlainTextCommand();break;case \'PasteWord\':B=new FCKPasteWordCommand();break;case \'JustifyLeft\':B=new FCKJustifyCommand(\'left\');break;case \'JustifyCenter\':B=new FCKJustifyCommand(\'center\');break;case \'JustifyRight\':B=new FCKJustifyCommand(\'right\');break;case \'JustifyFull\':B=new FCKJustifyCommand(\'justify\');break;case \'Indent\':B=new FCKIndentCommand(\'indent\',FCKConfig.IndentLength);break;case \'Outdent\':B=new FCKIndentCommand(\'outdent\',FCKConfig.IndentLength*-1);break;case \'Blockquote\':B=new FCKBlockQuoteCommand();break;case \'CreateDiv\':B=new FCKDialogCommand(\'CreateDiv\',FCKLang.CreateDiv,\'dialog/fck_div.html\',380,210,null,null,true);break;case \'EditDiv\':B=new FCKDialogCommand(\'EditDiv\',FCKLang.EditDiv,\'dialog/fck_div.html\',380,210,null,null,false);break;case \'DeleteDiv\':B=new FCKDeleteDivCommand();break;case \'TableInsertRowAfter\':B=new FCKTableCommand(\'TableInsertRowAfter\');break;case \'TableInsertRowBefore\':B=new FCKTableCommand(\'TableInsertRowBefore\');break;case \'TableDeleteRows\':B=new FCKTableCommand(\'TableDeleteRows\');break;case \'TableInsertColumnAfter\':B=new FCKTableCommand(\'TableInsertColumnAfter\');break;case \'TableInsertColumnBefore\':B=new FCKTableCommand(\'TableInsertColumnBefore\');break;case \'TableDeleteColumns\':B=new FCKTableCommand(\'TableDeleteColumns\');break;case \'TableInsertCellAfter\':B=new FCKTableCommand(\'TableInsertCellAfter\');break;case \'TableInsertCellBefore\':B=new FCKTableCommand(\'TableInsertCellBefore\');break;case \'TableDeleteCells\':B=new FCKTableCommand(\'TableDeleteCells\');break;case \'TableMergeCells\':B=new FCKTableCommand(\'TableMergeCells\');break;case \'TableMergeRight\':B=new FCKTableCommand(\'TableMergeRight\');break;case \'TableMergeDown\':B=new FCKTableCommand(\'TableMergeDown\');break;case \'TableHorizontalSplitCell\':B=new FCKTableCommand(\'TableHorizontalSplitCell\');break;case \'TableVerticalSplitCell\':B=new FCKTableCommand(\'TableVerticalSplitCell\');break;case \'TableDelete\':B=new FCKTableCommand(\'TableDelete\');break;case \'Form\':B=new FCKDialogCommand(\'Form\',FCKLang.Form,\'dialog/fck_form.html\',380,210);break;case \'Checkbox\':B=new FCKDialogCommand(\'Checkbox\',FCKLang.Checkbox,\'dialog/fck_checkbox.html\',380,200);break;case \'Radio\':B=new FCKDialogCommand(\'Radio\',FCKLang.RadioButton,\'dialog/fck_radiobutton.html\',380,200);break;case \'TextField\':B=new FCKDialogCommand(\'TextField\',FCKLang.TextField,\'dialog/fck_textfield.html\',380,210);break;case \'Textarea\':B=new FCKDialogCommand(\'Textarea\',FCKLang.Textarea,\'dialog/fck_textarea.html\',380,210);break;case \'HiddenField\':B=new FCKDialogCommand(\'HiddenField\',FCKLang.HiddenField,\'dialog/fck_hiddenfield.html\',380,190);break;case \'Button\':B=new FCKDialogCommand(\'Button\',FCKLang.Button,\'dialog/fck_button.html\',380,210);break;case \'Select\':B=new FCKDialogCommand(\'Select\',FCKLang.SelectionField,\'dialog/fck_select.html\',400,340);break;case \'ImageButton\':B=new FCKDialogCommand(\'ImageButton\',FCKLang.ImageButton,\'dialog/fck_image.html?ImageButton\',450,390);break;case \'SpellCheck\':B=new FCKSpellCheckCommand();break;case \'FitWindow\':B=new FCKFitWindow();break;case \'Undo\':B=new FCKUndoCommand();break;case \'Redo\':B=new FCKRedoCommand();break;case \'Copy\':B=new FCKCutCopyCommand(false);break;case \'Cut\':B=new FCKCutCopyCommand(true);break;case \'SelectAll\':B=new FCKSelectAllCommand();break;case \'InsertOrderedList\':B=new FCKListCommand(\'insertorderedlist\',\'ol\');break;case \'InsertUnorderedList\':B=new FCKListCommand(\'insertunorderedlist\',\'ul\');break;case \'ShowBlocks\':B=new FCKShowBlockCommand(\'ShowBlocks\',FCKConfig.StartupShowBlocks?1:0);break;case \'Undefined\':B=new FCKUndefinedCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;};\r\n
-var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir==\'rtl\');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement(\'iframe\');FCKTools.ResetStyles(D);D.src=\'javascript:void(0)\';D.allowTransparency=true;D.frameBorder=\'0\';D.scrolling=\'no\';D.style.width=D.style.height=\'0px\';FCKDomTools.SetElementStyles(D,{position:\'absolute\',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F=\'\';if (FCKBrowserInfo.IsSafari) F=\'<base href="\'+window.document.location+\'">\';B.open();B.write(\'<html><head>\'+F+\'<\\/head><body style="margin:0px;padding:0px;"><\\/body><\\/html>\');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,\'focus\',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,\'blur\',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,\'contextmenu\',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement(\'DIV\'));this.MainNode.style.cssFloat=this.IsRTL?\'right\':\'left\';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!=\'undefined\') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling=\'\';FCKTools.RunFunction(function(){ this._IFrame.scrolling=\'no\';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (!B)\tthis._IFrame.width=1;if (!C)\tthis._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+\'px\',top:y+\'px\'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+\'px\';M._IFrame.style.height=O+\'px\';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!=\'undefined\'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height=\'0px\';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=null;};\r\n
+var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case \'Bold\':case \'Italic\':case \'Underline\':case \'StrikeThrough\':case \'Subscript\':case \'Superscript\':B=new FCKCoreStyleCommand(A);break;case \'RemoveFormat\':B=new FCKRemoveFormatCommand();break;case \'DocProps\':B=new FCKDialogCommand(\'DocProps\',FCKLang.DocProps,\'dialog/fck_docprops.html\',400,380,FCKCommands.GetFullPageState);break;case \'Templates\':B=new FCKDialogCommand(\'Templates\',FCKLang.DlgTemplatesTitle,\'dialog/fck_template.html\',380,450);break;case \'Link\':B=new FCKDialogCommand(\'Link\',FCKLang.DlgLnkWindowTitle,\'dialog/fck_link.html\',400,300);break;case \'Unlink\':B=new FCKUnlinkCommand();break;case \'VisitLink\':B=new FCKVisitLinkCommand();break;case \'Anchor\':B=new FCKDialogCommand(\'Anchor\',FCKLang.DlgAnchorTitle,\'dialog/fck_anchor.html\',370,160);break;case \'AnchorDelete\':B=new FCKAnchorDeleteCommand();break;case \'BulletedList\':B=new FCKDialogCommand(\'BulletedList\',FCKLang.BulletedListProp,\'dialog/fck_listprop.html?UL\',370,160);break;case \'NumberedList\':B=new FCKDialogCommand(\'NumberedList\',FCKLang.NumberedListProp,\'dialog/fck_listprop.html?OL\',370,160);break;case \'About\':B=new FCKDialogCommand(\'About\',FCKLang.About,\'dialog/fck_about.html\',420,330,function(){ return 0;});break;case \'Find\':B=new FCKDialogCommand(\'Find\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Find\');break;case \'Replace\':B=new FCKDialogCommand(\'Replace\',FCKLang.DlgFindAndReplaceTitle,\'dialog/fck_replace.html\',340,230,null,null,\'Replace\');break;case \'Image\':B=new FCKDialogCommand(\'Image\',FCKLang.DlgImgTitle,\'dialog/fck_image.html\',450,390);break;case \'Flash\':B=new FCKDialogCommand(\'Flash\',FCKLang.DlgFlashTitle,\'dialog/fck_flash.html\',450,390);break;case \'SpecialChar\':B=new FCKDialogCommand(\'SpecialChar\',FCKLang.DlgSpecialCharTitle,\'dialog/fck_specialchar.html\',400,290);break;case \'Smiley\':B=new FCKDialogCommand(\'Smiley\',FCKLang.DlgSmileyTitle,\'dialog/fck_smiley.html\',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case \'Table\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html\',480,250);break;case \'TableProp\':B=new FCKDialogCommand(\'Table\',FCKLang.DlgTableTitle,\'dialog/fck_table.html?Parent\',480,250);break;case \'TableCellProp\':B=new FCKDialogCommand(\'TableCell\',FCKLang.DlgCellTitle,\'dialog/fck_tablecell.html\',550,240);break;case \'Style\':B=new FCKStyleCommand();break;case \'FontName\':B=new FCKFontNameCommand();break;case \'FontSize\':B=new FCKFontSizeCommand();break;case \'FontFormat\':B=new FCKFormatBlockCommand();break;case \'Source\':B=new FCKSourceCommand();break;case \'Preview\':B=new FCKPreviewCommand();break;case \'Save\':B=new FCKSaveCommand();break;case \'NewPage\':B=new FCKNewPageCommand();break;case \'PageBreak\':B=new FCKPageBreakCommand();break;case \'Rule\':B=new FCKRuleCommand();break;case \'Nbsp\':B=new FCKNbsp();break;case \'TextColor\':B=new FCKTextColorCommand(\'ForeColor\');break;case \'BGColor\':B=new FCKTextColorCommand(\'BackColor\');break;case \'Paste\':B=new FCKPasteCommand();break;case \'PasteText\':B=new FCKPastePlainTextCommand();break;case \'PasteWord\':B=new FCKPasteWordCommand();break;case \'JustifyLeft\':B=new FCKJustifyCommand(\'left\');break;case \'JustifyCenter\':B=new FCKJustifyCommand(\'center\');break;case \'JustifyRight\':B=new FCKJustifyCommand(\'right\');break;case \'JustifyFull\':B=new FCKJustifyCommand(\'justify\');break;case \'Indent\':B=new FCKIndentCommand(\'indent\',FCKConfig.IndentLength);break;case \'Outdent\':B=new FCKIndentCommand(\'outdent\',FCKConfig.IndentLength*-1);break;case \'Blockquote\':B=new FCKBlockQuoteCommand();break;case \'CreateDiv\':B=new FCKDialogCommand(\'CreateDiv\',FCKLang.CreateDiv,\'dialog/fck_div.html\',380,210,null,null,true);break;case \'EditDiv\':B=new FCKDialogCommand(\'EditDiv\',FCKLang.EditDiv,\'dialog/fck_div.html\',380,210,null,null,false);break;case \'DeleteDiv\':B=new FCKDeleteDivCommand();break;case \'TableInsertRowAfter\':B=new FCKTableCommand(\'TableInsertRowAfter\');break;case \'TableInsertRowBefore\':B=new FCKTableCommand(\'TableInsertRowBefore\');break;case \'TableDeleteRows\':B=new FCKTableCommand(\'TableDeleteRows\');break;case \'TableInsertColumnAfter\':B=new FCKTableCommand(\'TableInsertColumnAfter\');break;case \'TableInsertColumnBefore\':B=new FCKTableCommand(\'TableInsertColumnBefore\');break;case \'TableDeleteColumns\':B=new FCKTableCommand(\'TableDeleteColumns\');break;case \'TableInsertCellAfter\':B=new FCKTableCommand(\'TableInsertCellAfter\');break;case \'TableInsertCellBefore\':B=new FCKTableCommand(\'TableInsertCellBefore\');break;case \'TableDeleteCells\':B=new FCKTableCommand(\'TableDeleteCells\');break;case \'TableMergeCells\':B=new FCKTableCommand(\'TableMergeCells\');break;case \'TableMergeRight\':B=new FCKTableCommand(\'TableMergeRight\');break;case \'TableMergeDown\':B=new FCKTableCommand(\'TableMergeDown\');break;case \'TableHorizontalSplitCell\':B=new FCKTableCommand(\'TableHorizontalSplitCell\');break;case \'TableVerticalSplitCell\':B=new FCKTableCommand(\'TableVerticalSplitCell\');break;case \'TableDelete\':B=new FCKTableCommand(\'TableDelete\');break;case \'Form\':B=new FCKDialogCommand(\'Form\',FCKLang.Form,\'dialog/fck_form.html\',380,210);break;case \'Checkbox\':B=new FCKDialogCommand(\'Checkbox\',FCKLang.Checkbox,\'dialog/fck_checkbox.html\',380,200);break;case \'Radio\':B=new FCKDialogCommand(\'Radio\',FCKLang.RadioButton,\'dialog/fck_radiobutton.html\',380,200);break;case \'TextField\':B=new FCKDialogCommand(\'TextField\',FCKLang.TextField,\'dialog/fck_textfield.html\',380,210);break;case \'Textarea\':B=new FCKDialogCommand(\'Textarea\',FCKLang.Textarea,\'dialog/fck_textarea.html\',380,210);break;case \'HiddenField\':B=new FCKDialogCommand(\'HiddenField\',FCKLang.HiddenField,\'dialog/fck_hiddenfield.html\',380,190);break;case \'Button\':B=new FCKDialogCommand(\'Button\',FCKLang.Button,\'dialog/fck_button.html\',380,210);break;case \'Select\':B=new FCKDialogCommand(\'Select\',FCKLang.SelectionField,\'dialog/fck_select.html\',400,340);break;case \'ImageButton\':B=new FCKDialogCommand(\'ImageButton\',FCKLang.ImageButton,\'dialog/fck_image.html?ImageButton\',450,390);break;case \'SpellCheck\':B=new FCKSpellCheckCommand();break;case \'FitWindow\':B=new FCKFitWindow();break;case \'Undo\':B=new FCKUndoCommand();break;case \'Redo\':B=new FCKRedoCommand();break;case \'Copy\':B=new FCKCutCopyCommand(false);break;case \'Cut\':B=new FCKCutCopyCommand(true);break;case \'SelectAll\':B=new FCKSelectAllCommand();break;case \'InsertOrderedList\':B=new FCKListCommand(\'insertorderedlist\',\'ol\');break;case \'InsertUnorderedList\':B=new FCKListCommand(\'insertunorderedlist\',\'ul\');break;case \'ShowBlocks\':B=new FCKShowBlockCommand(\'ShowBlocks\',FCKConfig.StartupShowBlocks?1:0);break;case \'Undefined\':B=new FCKUndefinedCommand();break;case \'Scayt\':B=FCKScayt.CreateCommand();break;case \'ScaytContext\':B=FCKScayt.CreateContextCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;};\r\n
+var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir==\'rtl\');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement(\'iframe\');FCKTools.ResetStyles(D);D.src=\'javascript:void(0)\';D.allowTransparency=true;D.frameBorder=\'0\';D.scrolling=\'no\';D.style.width=D.style.height=\'0px\';FCKDomTools.SetElementStyles(D,{position:\'absolute\',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F=\'\';if (FCKBrowserInfo.IsSafari) F=\'<base href="\'+window.document.location+\'">\';B.open();B.write(\'<html><head>\'+F+\'<\\/head><body style="margin:0px;padding:0px;"><\\/body><\\/html>\');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,\'focus\',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,\'blur\',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,\'contextmenu\',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement(\'DIV\'));this.MainNode.style.cssFloat=this.IsRTL?\'right\':\'left\';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};this._PopupArgs=[x,y,D,E.offsetHeight,A];this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!=\'undefined\') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling=\'\';FCKTools.RunFunction(function(){ this._IFrame.scrolling=\'no\';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel.Hide(false,true);FCKDomTools.SetElementStyles(E,{B:B?B+\'px\':\'\',C:C?C+\'px\':\'\'});D=E.offsetWidth;if (!B)\tthis._IFrame.width=1;if (!C)\tthis._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+\'px\',top:y+\'px\'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+\'px\';M._IFrame.style.height=O+\'px\';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'FCKPanel\')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!=\'undefined\'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height=\'0px\';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=null;};\r\n
 var FCKIcon=function(A){var B=A?typeof(A):\'undefined\';switch (B){case \'number\':this.Path=FCKConfig.SkinPath+\'fck_strip.gif\';this.Size=16;this.Position=A;break;case \'undefined\':this.Path=FCK_SPACER_PATH;break;case \'string\':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C=\'-\'+((this.Position-1)*this.Size)+\'px\';if (FCKBrowserInfo.IsIE){B=A.createElement(\'DIV\');eIconImage=B.appendChild(A.createElement(\'IMG\'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement(\'IMG\');B.src=FCK_SPACER_PATH;B.style.backgroundPosition=\'0px \'+C;B.style.backgroundImage=\'url("\'+this.Path+\'")\';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement(\'DIV\');eIconImage=B.appendChild(A.createElement(\'IMG\'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement(\'IMG\');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className=\'TB_Button_Image\';return B;};\r\n
 var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement(\'IMG\');B.className=\'TB_Button_Padding\';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement(\'DIV\');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,\'mouseover\',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,\'mouseout\',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,\'click\',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement(\'TABLE\'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className=\'TB_Button_Text\';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement(\'IMG\'));G.src=FCKConfig.SkinPath+\'images/toolbar.buttonarrow.gif\';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className=\'TB_Button_Off\';break;case 1:e.className=\'TB_Button_On\';break;case -1:e.className=\'TB_Button_Disabled\';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className=\'TB_Button_Off_Over\';else if (B.State==1) this.className=\'TB_Button_On_Over\';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className=\'TB_Button_Off\';else if (B.State==1) this.className=\'TB_Button_On\';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;};\r\n
 var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+\'toolbar/\'+A.toLowerCase()+\'.gif\';else if (typeof(G)==\'number\') this.IconPath=[FCKConfig.SkinPath+\'fck_strip.gif\',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);};\r\n
@@ -125,11 +125,12 @@ var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandNa
 var FCKToolbarFontsCombo=function(A,B){this.CommandName=\'FontName\';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontLabel||\'\';};FCKToolbarFontsCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle(\'_FCK_FontFace\');if (!A){alert("The FCKConfig.CoreStyles[\'Size\'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontNames.split(\';\');for (var i=0;i<C.length;i++){var D=C[i].split(\'/\');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable(\'Font\',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontsCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCKSelection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);for (var i in A.Items){var D=A.Items[i];var E=D.Style;if (E.CheckActive(C)){A.SelectItem(D);return;}}}};\r\n
 var FCKToolbarFontSizeCombo=function(A,B){this.CommandName=\'FontSize\';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontSizeLabel||\'\';this.FieldWidth=70;};FCKToolbarFontSizeCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle(\'_FCK_Size\');if (!A){alert("The FCKConfig.CoreStyles[\'FontFace\'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontSizes.split(\';\');for (var i=0;i<C.length;i++){var D=C[i].split(\'/\');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable(\'Size\',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontSizeCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontSizeCombo.prototype.StyleCombo_OnBeforeClick=FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick;\r\n
 var FCKToolbarPanelButton=function(A,B,C,D,E){this.CommandName=A;var F;if (E==null) F=FCKConfig.SkinPath+\'toolbar/\'+A.toLowerCase()+\'.gif\';else if (typeof(E)==\'number\') F=[FCKConfig.SkinPath+\'fck_strip.gif\',16,E];var G=this._UIButton=new FCKToolbarButtonUI(A,B,C,F,D);G._FCKToolbarPanelButton=this;G.ShowArrow=true;G.OnClick=FCKToolbarPanelButton_OnButtonClick;};FCKToolbarPanelButton.prototype.TypeName=\'FCKToolbarPanelButton\';FCKToolbarPanelButton.prototype.Create=function(A){A.className+=\'Menu\';this._UIButton.Create(A);var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName)._Panel;this.RegisterPanel(B);};FCKToolbarPanelButton.prototype.RegisterPanel=function(A){if (A._FCKToolbarPanelButton) return;A._FCKToolbarPanelButton=this;var B=A.Document.body.appendChild(A.Document.createElement(\'div\'));B.style.position=\'absolute\';B.style.top=\'0px\';var C=A._FCKToolbarPanelButtonLineDiv=B.appendChild(A.Document.createElement(\'IMG\'));C.className=\'TB_ConnectionLine\';C.style.position=\'absolute\';C.src=FCK_SPACER_PATH;A.OnHide=FCKToolbarPanelButton_OnPanelHide;};function FCKToolbarPanelButton_OnButtonClick(A){var B=this._FCKToolbarPanelButton;var e=B._UIButton.MainElement;B._UIButton.ChangeState(1);var C=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(B.CommandName);var D=C._Panel;D._FCKToolbarPanelButtonLineDiv.style.width=(e.offsetWidth-2)+\'px\';C.Execute(0,e.offsetHeight-1,e);};function FCKToolbarPanelButton_OnPanelHide(){var A=this._FCKToolbarPanelButton;A._UIButton.ChangeState(0);};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable;\r\n
-var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case \'Source\':B=new FCKToolbarButton(\'Source\',FCKLang.Source,null,2,true,true,1);break;case \'DocProps\':B=new FCKToolbarButton(\'DocProps\',FCKLang.DocProps,null,null,null,null,2);break;case \'Save\':B=new FCKToolbarButton(\'Save\',FCKLang.Save,null,null,true,null,3);break;case \'NewPage\':B=new FCKToolbarButton(\'NewPage\',FCKLang.NewPage,null,null,true,null,4);break;case \'Preview\':B=new FCKToolbarButton(\'Preview\',FCKLang.Preview,null,null,true,null,5);break;case \'Templates\':B=new FCKToolbarButton(\'Templates\',FCKLang.Templates,null,null,null,null,6);break;case \'About\':B=new FCKToolbarButton(\'About\',FCKLang.About,null,null,true,null,47);break;case \'Cut\':B=new FCKToolbarButton(\'Cut\',FCKLang.Cut,null,null,false,true,7);break;case \'Copy\':B=new FCKToolbarButton(\'Copy\',FCKLang.Copy,null,null,false,true,8);break;case \'Paste\':B=new FCKToolbarButton(\'Paste\',FCKLang.Paste,null,null,false,true,9);break;case \'PasteText\':B=new FCKToolbarButton(\'PasteText\',FCKLang.PasteText,null,null,false,true,10);break;case \'PasteWord\':B=new FCKToolbarButton(\'PasteWord\',FCKLang.PasteWord,null,null,false,true,11);break;case \'Print\':B=new FCKToolbarButton(\'Print\',FCKLang.Print,null,null,false,true,12);break;case \'SpellCheck\':B=new FCKToolbarButton(\'SpellCheck\',FCKLang.SpellCheck,null,null,null,null,13);break;case \'Undo\':B=new FCKToolbarButton(\'Undo\',FCKLang.Undo,null,null,false,true,14);break;case \'Redo\':B=new FCKToolbarButton(\'Redo\',FCKLang.Redo,null,null,false,true,15);break;case \'SelectAll\':B=new FCKToolbarButton(\'SelectAll\',FCKLang.SelectAll,null,null,true,null,18);break;case \'RemoveFormat\':B=new FCKToolbarButton(\'RemoveFormat\',FCKLang.RemoveFormat,null,null,false,true,19);break;case \'FitWindow\':B=new FCKToolbarButton(\'FitWindow\',FCKLang.FitWindow,null,null,true,true,66);break;case \'Bold\':B=new FCKToolbarButton(\'Bold\',FCKLang.Bold,null,null,false,true,20);break;case \'Italic\':B=new FCKToolbarButton(\'Italic\',FCKLang.Italic,null,null,false,true,21);break;case \'Underline\':B=new FCKToolbarButton(\'Underline\',FCKLang.Underline,null,null,false,true,22);break;case \'StrikeThrough\':B=new FCKToolbarButton(\'StrikeThrough\',FCKLang.StrikeThrough,null,null,false,true,23);break;case \'Subscript\':B=new FCKToolbarButton(\'Subscript\',FCKLang.Subscript,null,null,false,true,24);break;case \'Superscript\':B=new FCKToolbarButton(\'Superscript\',FCKLang.Superscript,null,null,false,true,25);break;case \'OrderedList\':B=new FCKToolbarButton(\'InsertOrderedList\',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case \'UnorderedList\':B=new FCKToolbarButton(\'InsertUnorderedList\',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case \'Outdent\':B=new FCKToolbarButton(\'Outdent\',FCKLang.DecreaseIndent,null,null,false,true,28);break;case \'Indent\':B=new FCKToolbarButton(\'Indent\',FCKLang.IncreaseIndent,null,null,false,true,29);break;case \'Blockquote\':B=new FCKToolbarButton(\'Blockquote\',FCKLang.Blockquote,null,null,false,true,73);break;case \'CreateDiv\':B=new FCKToolbarButton(\'CreateDiv\',FCKLang.CreateDiv,null,null,false,true,74);break;case \'Link\':B=new FCKToolbarButton(\'Link\',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case \'Unlink\':B=new FCKToolbarButton(\'Unlink\',FCKLang.RemoveLink,null,null,false,true,35);break;case \'Anchor\':B=new FCKToolbarButton(\'Anchor\',FCKLang.Anchor,null,null,null,null,36);break;case \'Image\':B=new FCKToolbarButton(\'Image\',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case \'Flash\':B=new FCKToolbarButton(\'Flash\',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case \'Table\':B=new FCKToolbarButton(\'Table\',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case \'SpecialChar\':B=new FCKToolbarButton(\'SpecialChar\',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case \'Smiley\':B=new FCKToolbarButton(\'Smiley\',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case \'PageBreak\':B=new FCKToolbarButton(\'PageBreak\',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case \'Rule\':B=new FCKToolbarButton(\'Rule\',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case \'JustifyLeft\':B=new FCKToolbarButton(\'JustifyLeft\',FCKLang.LeftJustify,null,null,false,true,30);break;case \'JustifyCenter\':B=new FCKToolbarButton(\'JustifyCenter\',FCKLang.CenterJustify,null,null,false,true,31);break;case \'JustifyRight\':B=new FCKToolbarButton(\'JustifyRight\',FCKLang.RightJustify,null,null,false,true,32);break;case \'JustifyFull\':B=new FCKToolbarButton(\'JustifyFull\',FCKLang.BlockJustify,null,null,false,true,33);break;case \'Style\':B=new FCKToolbarStyleCombo();break;case \'FontName\':B=new FCKToolbarFontsCombo();break;case \'FontSize\':B=new FCKToolbarFontSizeCombo();break;case \'FontFormat\':B=new FCKToolbarFontFormatCombo();break;case \'TextColor\':B=new FCKToolbarPanelButton(\'TextColor\',FCKLang.TextColor,null,null,45);break;case \'BGColor\':B=new FCKToolbarPanelButton(\'BGColor\',FCKLang.BGColor,null,null,46);break;case \'Find\':B=new FCKToolbarButton(\'Find\',FCKLang.Find,null,null,null,null,16);break;case \'Replace\':B=new FCKToolbarButton(\'Replace\',FCKLang.Replace,null,null,null,null,17);break;case \'Form\':B=new FCKToolbarButton(\'Form\',FCKLang.Form,null,null,null,null,48);break;case \'Checkbox\':B=new FCKToolbarButton(\'Checkbox\',FCKLang.Checkbox,null,null,null,null,49);break;case \'Radio\':B=new FCKToolbarButton(\'Radio\',FCKLang.RadioButton,null,null,null,null,50);break;case \'TextField\':B=new FCKToolbarButton(\'TextField\',FCKLang.TextField,null,null,null,null,51);break;case \'Textarea\':B=new FCKToolbarButton(\'Textarea\',FCKLang.Textarea,null,null,null,null,52);break;case \'HiddenField\':B=new FCKToolbarButton(\'HiddenField\',FCKLang.HiddenField,null,null,null,null,56);break;case \'Button\':B=new FCKToolbarButton(\'Button\',FCKLang.Button,null,null,null,null,54);break;case \'Select\':B=new FCKToolbarButton(\'Select\',FCKLang.SelectionField,null,null,null,null,53);break;case \'ImageButton\':B=new FCKToolbarButton(\'ImageButton\',FCKLang.ImageButton,null,null,null,null,55);break;case \'ShowBlocks\':B=new FCKToolbarButton(\'ShowBlocks\',FCKLang.ShowBlocks,null,null,null,true,72);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;};\r\n
+var FCKScayt;(function(){var A=[];var B=(FCK&&FCK.EditorWindow&&FCK.EditorWindow.parent.parent.scayt)?true:false;var C=false;var D=false;function ScaytEngineLoad(callback){if (B) return;B=true;var E=FCK.EditorWindow.parent.parent;var F=function (){window.scayt=E.scayt;InitScayt();var G=FCKToolbarItems.LoadedItems[\'ScaytCombobox\'];G&&G.SetEnabled(scyt_control&&scyt_control.disabled);InitSetup();};if (E.scayt){F();return;};if (FCK.Config.ScaytCustomUrl) FCK.Config.ScaytCustomUrl=new String(FCK.Config.ScaytCustomUrl).replace(new RegExp("^http[s]*:\\/\\/"),"");var H=document.location.protocol;var I=FCK.Config.ScaytCustomUrl||\'svc.spellchecker.net/spellcheck3/lf/scayt/scayt4.js\';var J=H+\'//\'+I;var K=ParseUrl(J).path+\'/\';var L=E.window.CKEDITOR||(E.window.CKEDITOR={});L._djScaytConfig={I:K,addOnLoad:function(){F();},isDebug:false};if (callback) A.push(callback);DoLoadScript(J);};function DoLoadScript(url){if (!url) return false;var E=FCK.EditorWindow.parent.parent;var s=E.document.createElement(\'script\');s.type=\'text/javascript\';s.src=url;E.document.getElementsByTagName(\'head\')[0].appendChild(s);return true;};function ParseUrl(data){var m=data.match(/(.*)[\\/\\\\]([^\\/\\\\]+\\.\\w+)$/);return m?{ path:m[1],file:m[2] }:data;};function createScaytControl (){var N={};var E=FCK.EditorWindow.parent.parent;N.srcNodeRef=FCK.EditingArea.IFrame;N.customerid=FCK.Config.ScaytCustomerid;N.customDictionaryName=FCK.Config.ScaytCustomDictionaryName;N.userDictionaryName=FCK.Config.ScaytUserDictionaryName;N.defLang=FCK.Config.ScaytDefLang;var P=E.scayt;var Q=window.scayt_control=new P(N);};function InitScayt(){createScaytControl();var Q=window.scayt_control;if (Q){Q.setDisabled(false);D=true;C=!Q.disabled;var G=FCKToolbarItems.LoadedItems[\'ScaytCombobox\'];G&&G.Enable();ShowScaytState();};for (var i=0;i<A.length;i++){try{A[i].call(this);}catch(err){}}};var T=function(){name=\'Scayt\';};T.prototype.Execute=function(c){switch (c){case \'Options\':case \'Langs\':case \'About\':if (B&&D&&!C){ScaytMessage(\'SCAYT is not enabled\');break;};if (B&&D) FCKDialog.OpenDialog(\'Scayt\',\'SCAYT Settings\',\'dialog/fck_scayt.html?\'+c.toLowerCase(),343,343);break;default:if (!B){var U=this;ScaytEngineLoad(function (){U.SetEnabled(!window.scayt_control.disabled);});return true;}else if (D){if (C) this.Disable();else this.Enable();ShowScaytState();}};if (!B) return ScaytMessage(\'SCAYT is not loaded\')||false;if (!D) return ScaytMessage(\'SCAYT is not ready\')||false;return true;};T.prototype.Enable=function(){window.scayt_control.setDisabled(false);C=true;};T.prototype.Disable=function(){window.scayt_control.setDisabled(true);C=false;};T.prototype.SetEnabled=function(state){if (state) this.Enable();else this.Disable();ShowScaytState();return true;};T.prototype.GetState=function(){return 0;};function ShowScaytState(){var W=FCKToolbarItems.GetItem(\'SpellCheck\');if (!W||!W._Combo||!W._Combo._OuterTable) return;var X=W._Combo._OuterTable.getElementsByTagName(\'img\')[1];var Y=W._Combo.Items[\'trigger\'];if (C){X.style.opacity=\'1\';Y.innerHTML=GetStatusLabel();}else{X.style.opacity=\'0.5\';Y.innerHTML=GetStatusLabel();}};function GetStatusLabel(){if (!D) return  \'<b>Enable SCAYT</b>\';return C?\'<b>Disable SCAYT</b>\':\'<b>Enable SCAYT</b>\';};var Z=function(tooltip,style){this.Command=FCKCommands.GetCommand(\'Scayt\');this.CommandName=\'Scayt\';this.Label=this.GetLabel();this.Tooltip=FCKLang.ScaytTitle;this.Style=1;};Z.prototype=new FCKToolbarSpecialCombo;Z.prototype.CreateItems=function(){this._Combo.AddItem(\'Trigger\',\'<b>Enable SCAYT</b>\');this._Combo.AddItem(\'Options\',FCKLang.ScaytTitleOptions||"Options");this._Combo.AddItem(\'Langs\',FCKLang.ScaytTitleLangs||"Languages");this._Combo.AddItem(\'About\',FCKLang.ScaytTitleAbout||"About");};Z.prototype.GetLabel=function(){var a=FCKConfig.SkinPath+\'fck_strip.gif\';return FCKBrowserInfo.IsIE?\'<div class="TB_Button_Image"><img src="\'+a+\'" style="top:-192px"></div>\':\'<img class="TB_Button_Image" src="\'+FCK_SPACER_PATH+\'" style="background-position: 0px -192px;background-image: url(\'+a+\');">\';};function ScaytMessage(m){m&&alert(m);};var b=function(){name=\'ScaytContext\';};b.prototype.Execute=function(contextInfo){var c=contextInfo&&contextInfo.action,g=c&&contextInfo.node,Q=window.scayt_control;if (g){switch (c){case \'Suggestion\':Q.replace(g,contextInfo.suggestion);break;case \'Ignore\':Q.ignore(g);break;case \'Ignore All\':Q.ignoreAll(g);break;case \'Add Word\':var E=FCK.EditorWindow.parent.parent;E.scayt.addWordToUserDictionary(g);break;}}};function InitSetup(){FCK.ContextMenu.RegisterListener({AddItems:function(menu){var E=FCK.EditorWindow.parent.parent;var Q=window.scayt_control,P=E.scayt;if (!Q) return;var g=Q.getScaytNode();if (!g) return;var h=P.getSuggestion(Q.getWord(g),Q.getLang());if (!h||!h.length) return;menu.AddSeparator();var j=FCK.Config.ScaytMaxSuggestions||5;var k=(j==-1)?h.length:j;for (var i=0;i<k;i+=1){if (h[i]){menu.AddItem(\'ScaytContext\',h[i],null,false,{\'action\':\'Suggestion\',\'node\':g,\'suggestion\':h[i] });}};menu.AddSeparator();menu.AddItem(\'ScaytContext\',\'Ignore\',null,false,{ \'action\':\'Ignore\',\'node\':g });menu.AddItem(\'ScaytContext\',\'Ignore All\',null,false,{ \'action\':\'Ignore All\',\'node\':g });menu.AddItem(\'ScaytContext\',\'Add Word\',null,false,{ \'action\':\'Add Word\',\'node\':g });try{if (D&&C) Q.fireOnContextMenu(null,FCK.ContextMenu._InnerContextMenu);}catch(err) {}}});FCK.Events.AttachEvent(\'OnPaste\',function(){window.scayt_control.refresh();return true;});};FCK.Events.AttachEvent(\'OnAfterSetHTML\',function(){if (FCKConfig.SpellChecker==\'SCAYT\'){if (!B&&FCK.Config.ScaytAutoStartup) ScaytEngineLoad();if (FCK.EditMode==0&&B&&D) createScaytControl();ShowScaytState();}});FCK.Events.AttachEvent(\'OnBeforeGetData\',function(){D&&window.scayt_control.reset();});FCK.Events.AttachEvent(\'OnAfterGetData\',function(){D&&window.scayt_control.refresh();});FCKScayt={CreateCommand:function(){return new T();},CreateContextCommand:function(){return new b();},CreateToolbarItem:function(){return new Z();}};})();\r\n
+var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case \'Source\':B=new FCKToolbarButton(\'Source\',FCKLang.Source,null,2,true,true,1);break;case \'DocProps\':B=new FCKToolbarButton(\'DocProps\',FCKLang.DocProps,null,null,null,null,2);break;case \'Save\':B=new FCKToolbarButton(\'Save\',FCKLang.Save,null,null,true,null,3);break;case \'NewPage\':B=new FCKToolbarButton(\'NewPage\',FCKLang.NewPage,null,null,true,null,4);break;case \'Preview\':B=new FCKToolbarButton(\'Preview\',FCKLang.Preview,null,null,true,null,5);break;case \'Templates\':B=new FCKToolbarButton(\'Templates\',FCKLang.Templates,null,null,null,null,6);break;case \'About\':B=new FCKToolbarButton(\'About\',FCKLang.About,null,null,true,null,47);break;case \'Cut\':B=new FCKToolbarButton(\'Cut\',FCKLang.Cut,null,null,false,true,7);break;case \'Copy\':B=new FCKToolbarButton(\'Copy\',FCKLang.Copy,null,null,false,true,8);break;case \'Paste\':B=new FCKToolbarButton(\'Paste\',FCKLang.Paste,null,null,false,true,9);break;case \'PasteText\':B=new FCKToolbarButton(\'PasteText\',FCKLang.PasteText,null,null,false,true,10);break;case \'PasteWord\':B=new FCKToolbarButton(\'PasteWord\',FCKLang.PasteWord,null,null,false,true,11);break;case \'Print\':B=new FCKToolbarButton(\'Print\',FCKLang.Print,null,null,false,true,12);break;case \'Undo\':B=new FCKToolbarButton(\'Undo\',FCKLang.Undo,null,null,false,true,14);break;case \'Redo\':B=new FCKToolbarButton(\'Redo\',FCKLang.Redo,null,null,false,true,15);break;case \'SelectAll\':B=new FCKToolbarButton(\'SelectAll\',FCKLang.SelectAll,null,null,true,null,18);break;case \'RemoveFormat\':B=new FCKToolbarButton(\'RemoveFormat\',FCKLang.RemoveFormat,null,null,false,true,19);break;case \'FitWindow\':B=new FCKToolbarButton(\'FitWindow\',FCKLang.FitWindow,null,null,true,true,66);break;case \'Bold\':B=new FCKToolbarButton(\'Bold\',FCKLang.Bold,null,null,false,true,20);break;case \'Italic\':B=new FCKToolbarButton(\'Italic\',FCKLang.Italic,null,null,false,true,21);break;case \'Underline\':B=new FCKToolbarButton(\'Underline\',FCKLang.Underline,null,null,false,true,22);break;case \'StrikeThrough\':B=new FCKToolbarButton(\'StrikeThrough\',FCKLang.StrikeThrough,null,null,false,true,23);break;case \'Subscript\':B=new FCKToolbarButton(\'Subscript\',FCKLang.Subscript,null,null,false,true,24);break;case \'Superscript\':B=new FCKToolbarButton(\'Superscript\',FCKLang.Superscript,null,null,false,true,25);break;case \'OrderedList\':B=new FCKToolbarButton(\'InsertOrderedList\',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case \'UnorderedList\':B=new FCKToolbarButton(\'InsertUnorderedList\',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case \'Outdent\':B=new FCKToolbarButton(\'Outdent\',FCKLang.DecreaseIndent,null,null,false,true,28);break;case \'Indent\':B=new FCKToolbarButton(\'Indent\',FCKLang.IncreaseIndent,null,null,false,true,29);break;case \'Blockquote\':B=new FCKToolbarButton(\'Blockquote\',FCKLang.Blockquote,null,null,false,true,73);break;case \'CreateDiv\':B=new FCKToolbarButton(\'CreateDiv\',FCKLang.CreateDiv,null,null,false,true,74);break;case \'Link\':B=new FCKToolbarButton(\'Link\',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case \'Unlink\':B=new FCKToolbarButton(\'Unlink\',FCKLang.RemoveLink,null,null,false,true,35);break;case \'Anchor\':B=new FCKToolbarButton(\'Anchor\',FCKLang.Anchor,null,null,null,null,36);break;case \'Image\':B=new FCKToolbarButton(\'Image\',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case \'Flash\':B=new FCKToolbarButton(\'Flash\',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case \'Table\':B=new FCKToolbarButton(\'Table\',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case \'SpecialChar\':B=new FCKToolbarButton(\'SpecialChar\',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case \'Smiley\':B=new FCKToolbarButton(\'Smiley\',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case \'PageBreak\':B=new FCKToolbarButton(\'PageBreak\',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case \'Rule\':B=new FCKToolbarButton(\'Rule\',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case \'JustifyLeft\':B=new FCKToolbarButton(\'JustifyLeft\',FCKLang.LeftJustify,null,null,false,true,30);break;case \'JustifyCenter\':B=new FCKToolbarButton(\'JustifyCenter\',FCKLang.CenterJustify,null,null,false,true,31);break;case \'JustifyRight\':B=new FCKToolbarButton(\'JustifyRight\',FCKLang.RightJustify,null,null,false,true,32);break;case \'JustifyFull\':B=new FCKToolbarButton(\'JustifyFull\',FCKLang.BlockJustify,null,null,false,true,33);break;case \'Style\':B=new FCKToolbarStyleCombo();break;case \'FontName\':B=new FCKToolbarFontsCombo();break;case \'FontSize\':B=new FCKToolbarFontSizeCombo();break;case \'FontFormat\':B=new FCKToolbarFontFormatCombo();break;case \'TextColor\':B=new FCKToolbarPanelButton(\'TextColor\',FCKLang.TextColor,null,null,45);break;case \'BGColor\':B=new FCKToolbarPanelButton(\'BGColor\',FCKLang.BGColor,null,null,46);break;case \'Find\':B=new FCKToolbarButton(\'Find\',FCKLang.Find,null,null,null,null,16);break;case \'Replace\':B=new FCKToolbarButton(\'Replace\',FCKLang.Replace,null,null,null,null,17);break;case \'Form\':B=new FCKToolbarButton(\'Form\',FCKLang.Form,null,null,null,null,48);break;case \'Checkbox\':B=new FCKToolbarButton(\'Checkbox\',FCKLang.Checkbox,null,null,null,null,49);break;case \'Radio\':B=new FCKToolbarButton(\'Radio\',FCKLang.RadioButton,null,null,null,null,50);break;case \'TextField\':B=new FCKToolbarButton(\'TextField\',FCKLang.TextField,null,null,null,null,51);break;case \'Textarea\':B=new FCKToolbarButton(\'Textarea\',FCKLang.Textarea,null,null,null,null,52);break;case \'HiddenField\':B=new FCKToolbarButton(\'HiddenField\',FCKLang.HiddenField,null,null,null,null,56);break;case \'Button\':B=new FCKToolbarButton(\'Button\',FCKLang.Button,null,null,null,null,54);break;case \'Select\':B=new FCKToolbarButton(\'Select\',FCKLang.SelectionField,null,null,null,null,53);break;case \'ImageButton\':B=new FCKToolbarButton(\'ImageButton\',FCKLang.ImageButton,null,null,null,null,55);break;case \'ShowBlocks\':B=new FCKToolbarButton(\'ShowBlocks\',FCKLang.ShowBlocks,null,null,null,true,72);break;case \'SpellCheck\':if (FCKConfig.SpellChecker==\'SCAYT\') B=FCKScayt.CreateToolbarItem();else B=new FCKToolbarButton(\'SpellCheck\',FCKLang.SpellCheck,null,null,null,null,13);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;};\r\n
 var FCKToolbar=function(){this.Items=[];};FCKToolbar.prototype.AddItem=function(A){return this.Items[this.Items.length]=A;};FCKToolbar.prototype.AddButton=function(A,B,C,D,E,F){if (typeof(D)==\'number\') D=[this.DefaultIconsStrip,this.DefaultIconSize,D];var G=new FCKToolbarButtonUI(A,B,C,D,E,F);G._FCKToolbar=this;G.OnClick=FCKToolbar_OnItemClick;return this.AddItem(G);};function FCKToolbar_OnItemClick(A){var B=A._FCKToolbar;if (B.OnItemClick) B.OnItemClick(B,A);};FCKToolbar.prototype.AddSeparator=function(){this.AddItem(new FCKToolbarSeparator());};FCKToolbar.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var e=B.createElement(\'table\');e.className=\'TB_Toolbar\';e.style.styleFloat=e.style.cssFloat=(FCKLang.Dir==\'ltr\'?\'left\':\'right\');e.dir=FCKLang.Dir;e.cellPadding=0;e.cellSpacing=0;var C=e.insertRow(-1);var D;if (!this.HideStart){D=C.insertCell(-1);D.appendChild(B.createElement(\'div\')).className=\'TB_Start\';};for (var i=0;i<this.Items.length;i++){this.Items[i].Create(C.insertCell(-1));};if (!this.HideEnd){D=C.insertCell(-1);D.appendChild(B.createElement(\'div\')).className=\'TB_End\';};A.appendChild(e);};var FCKToolbarSeparator=function(){};FCKToolbarSeparator.prototype.Create=function(A){FCKTools.AppendElement(A,\'div\').className=\'TB_Separator\';};\r\n
 var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A).createElement(\'div\');B.className=\'TB_Break\';B.style.clear=FCKLang.Dir==\'rtl\'?\'left\':\'right\';A.appendChild(B);};\r\n
-function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case \'In\':document.getElementById(\'xToolbarRow\').style.display=\'\';B=new FCKToolbarSet(document);break;case \'None\':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent(\'OnBlur\',FCK_OnBlur);FCK.Events.AttachEvent(\'OnFocus\',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\\((\\w+)\\)$/);if (E){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else D=eval(\'parent.\'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert(\'Invalid value for "ToolbarLocation"\');return arguments.callee(\'In\');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement(\'iframe\');F.src=\'javascript:void(0)\';F.frameBorder=0;F.width=\'100%\';F.height=\'10\';D.appendChild(F);F.unselectable=\'on\';var G=F.contentWindow.document;var H=\'\';if (FCKBrowserInfo.IsSafari) H=\'<base href="\'+window.document.location+\'">\';G.open();G.write(\'<html><head>\'+H+\'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">\'+document.getElementById(\'xToolbarSpace\').innerHTML+\'</body></html>\');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,\'contextmenu\',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById(\'xToolbar\');var B=A.getElementById(\'xExpandHandle\');var C=A.getElementById(\'xCollapseHandle\');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,\'click\',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,\'click\',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?\'\':\'none\';if (FCKConfig.ToolbarCanCollapse) C.style.display=\'\';else A.getElementById(\'xTBLeftBorder\').style.display=\'\';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById(\'xCollapsed\').style.display=A?\'\':\'none\';this._Document.getElementById(\'xExpanded\').style.display=A?\'none\':\'\';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML=\'\';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)==\'string\'){if (C==\'/\') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E==\'-\') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById(\'xCollapseHandle\').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent(\'OnStatusChange\',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();};\r\n
-var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName(\'frameset\').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{\'width\':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+\'px\',\'height\':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+\'px\'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ \'X\':0,\'Y\':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement(\'iframe\');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+\'fckdialog.html\';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{\'position\':(L)?\'absolute\':\'fixed\',\'top\':M+\'px\',\'left\':N+\'px\',\'width\':width+\'px\',\'height\':height+\'px\',\'zIndex\':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement(\'div\');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{\'position\':\'absolute\',\'zIndex\':F(),\'top\':\'0px\',\'left\':\'0px\',\'backgroundColor\':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement(\'iframe\');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{\'width\':\'100%\',\'height\':\'100%\',\'position\':\'absolute\',\'left\':\'0px\',\'top\':\'0px\',\'filter\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\'});C.appendChild(Q);};FCKTools.AddEventListener(D,\'resize\',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,\'_fck_originalTabIndex\');},GetCover:function(){return C;}};})();\r\n
+function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case \'In\':document.getElementById(\'xToolbarRow\').style.display=\'\';B=new FCKToolbarSet(document);break;case \'None\':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent(\'OnBlur\',FCK_OnBlur);FCK.Events.AttachEvent(\'OnFocus\',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\\((\\w+)\\)$/);if (E){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else D=eval(\'parent.\'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert(\'Invalid value for "ToolbarLocation"\');return arguments.callee(\'In\');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement(\'iframe\');F.src=\'javascript:void(0)\';F.frameBorder=0;F.width=\'100%\';F.height=\'10\';D.appendChild(F);F.unselectable=\'on\';var G=F.contentWindow.document;var H=\'\';if (FCKBrowserInfo.IsSafari) H=\'<base href="\'+window.document.location+\'">\';G.open();G.write(\'<html><head>\'+H+\'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">\'+document.getElementById(\'xToolbarSpace\').innerHTML+\'</body></html>\');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,\'contextmenu\',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById(\'xToolbar\');var B=A.getElementById(\'xExpandHandle\');var C=A.getElementById(\'xCollapseHandle\');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,\'click\',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,\'click\',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?\'\':\'none\';if (FCKConfig.ToolbarCanCollapse) C.style.display=\'\';else A.getElementById(\'xTBLeftBorder\').style.display=\'\';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById(\'xCollapsed\').style.display=A?\'\':\'none\';this._Document.getElementById(\'xExpanded\').style.display=A?\'none\':\'\';if (window.onresize){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML=\'\';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)==\'string\'){if (C==\'/\') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E==\'-\') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById(\'xCollapseHandle\').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent(\'OnStatusChange\',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();};\r\n
+var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName(\'frameset\').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{\'width\':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+\'px\',\'height\':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+\'px\'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ \'X\':0,\'Y\':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement(\'iframe\');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+\'fckdialog.html\';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{\'position\':(L)?\'absolute\':\'fixed\',\'top\':M+\'px\',\'left\':N+\'px\',\'width\':width+\'px\',\'height\':height+\'px\',\'zIndex\':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement(\'div\');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{\'position\':\'absolute\',\'zIndex\':F(),\'top\':\'0px\',\'left\':\'0px\',\'backgroundColor\':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement(\'iframe\');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{\'width\':\'100%\',\'height\':\'100%\',\'position\':\'absolute\',\'left\':\'0px\',\'top\':\'0px\',\'filter\':\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\'});C.appendChild(Q);};FCKTools.AddEventListener(D,\'resize\',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject(\'frameElement\');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,\'_fck_originalTabIndex\');},GetCover:function(){return C;}};})();\r\n
 var FCKMenuItem=function(A,B,C,D,E,F){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?\'MN_Item_Disabled\':\'MN_Item\';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,\'mouseover\',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,\'click\',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,\'mouseout\',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className=\'MN_Icon\';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className=\'MN_Label\';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className=\'MN_Arrow\';var E=D.appendChild(C.createElement(\'IMG\'));E.src=FCK_IMAGES_PATH+\'arrow_\'+FCKLang.Dir+\'.gif\';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className=\'MN_Item_Over\';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className=\'MN_Item\';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;};\r\n
 var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement(\'table\'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className=\'MN_Menu\';var E=this._ItemsTable=D.appendChild(B.createElement(\'table\'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i<this._Items.length;i++) this._Items[i].Create(this._ItemsTable);};function FCKMenuBlock_Item_OnClick(A,B){if (B.Hide) B.Hide();FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuBlock_Item_OnActivate(A){var B=A._ActiveItem;if (B&&B!=this){if (!FCKBrowserInfo.IsIE&&B.HasSubMenu&&!this.HasSubMenu){A._Window.focus();A.Panel.HasFocus=true;};B.Deactivate();};A._ActiveItem=this;};function FCKMenuBlock_Cleanup(){this._Window=null;this._ItemsTable=null;};var FCKMenuSeparator=function(){};FCKMenuSeparator.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var r=A.insertRow(-1);var C=r.insertCell(-1);C.className=\'MN_Separator MN_Icon\';C=r.insertCell(-1);C.className=\'MN_Separator\';C.appendChild(B.createElement(\'DIV\')).className=\'MN_Separator_Line\';C=r.insertCell(-1);C.className=\'MN_Separator\';C.appendChild(B.createElement(\'DIV\')).className=\'MN_Separator_Line\';};\r\n
 var FCKMenuBlockPanel=function(){FCKMenuBlock.call(this);};FCKMenuBlockPanel.prototype=new FCKMenuBlock();FCKMenuBlockPanel.prototype.Create=function(){var A=this.Panel=(this.Parent&&this.Parent.Panel?this.Parent.Panel.CreateChildPanel():new FCKPanel());A.AppendStyleSheet(FCKConfig.SkinEditorCSS);FCKMenuBlock.prototype.Create.call(this,A.MainNode);};FCKMenuBlockPanel.prototype.Show=function(x,y,A){if (!this.Panel.CheckIsOpened()) this.Panel.Show(x,y,A);};FCKMenuBlockPanel.prototype.Hide=function(){if (this.Panel.CheckIsOpened()) this.Panel.Hide();};\r\n
@@ -148,7 +149,7 @@ var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlu
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>264379</int> </value>
+            <value> <int>271759</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/af.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/af.js.xml
index 09050e7d06..9bb9ccce02 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/af.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/af.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749251.5</string> </value>
+            <value> <string>ts60538662.52</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Vir meer informasie gaan na ",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18799</long> </value>
+            <value> <int>18960</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ar.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ar.js.xml
index b391bdcc52..be53057802 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ar.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ar.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749251.96</string> </value>
+            <value> <string>ts60538662.52</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "لمزيد من المعلومات تفضل بزيارة",\r\
 DlgDivGeneralTab\t: "عام",\r\n
 DlgDivAdvancedTab\t: "متقدم",\r\n
 DlgDivStyle\t\t: "المظهر",\r\n
-DlgDivInlineStyle\t: "المظهر المضمن"\r\n
+DlgDivInlineStyle\t: "المظهر المضمن",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "المظهر المضمن"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>22602</long> </value>
+            <value> <int>22763</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bg.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bg.js.xml
index 72d05da7bb..518b79702e 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bg.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bg.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749251.75</string> </value>
+            <value> <string>ts60538662.52</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "За повече информация посетете",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>24984</long> </value>
+            <value> <int>25145</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bn.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bn.js.xml
index 81c53b63b4..beb7ffcaf7 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bn.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bn.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749252.77</string> </value>
+            <value> <string>ts60538662.53</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "আরও তথ্যের জন্য যান",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>28089</long> </value>
+            <value> <int>28250</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bs.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bs.js.xml
index 336f176c83..eb2811f4ad 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bs.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/bs.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749253.14</string> </value>
+            <value> <string>ts60538662.53</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Za više informacija posjetite",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>20197</long> </value>
+            <value> <int>20358</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ca.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ca.js.xml
index f237eb6e4d..e7125bc23d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ca.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ca.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749252.37</string> </value>
+            <value> <string>ts60538662.53</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Per a més informació aneu a",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Avançat",\r\n
 DlgDivStyle\t\t: "Estil",\r\n
-DlgDivInlineStyle\t: "Estil en línia"\r\n
+DlgDivInlineStyle\t: "Estil en línia",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Estil en línia"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19574</long> </value>
+            <value> <int>19735</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/cs.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/cs.js.xml
index a43643ca06..016bc78f4f 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/cs.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/cs.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749253.85</string> </value>
+            <value> <string>ts60538662.53</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -339,11 +339,11 @@ DlgTableCellSpace\t: "Vzdálenost buněk",\r\n
 DlgTableCellPad\t\t: "Odsazení obsahu",\r\n
 DlgTableCaption\t\t: "Popis",\r\n
 DlgTableSummary\t\t: "Souhrn",\r\n
-DlgTableHeaders\t\t: "Headers",\t//MISSING\r\n
-DlgTableHeadersNone\t\t: "None",\t//MISSING\r\n
-DlgTableHeadersColumn\t: "First column",\t//MISSING\r\n
-DlgTableHeadersRow\t\t: "First Row",\t//MISSING\r\n
-DlgTableHeadersBoth\t\t: "Both",\t//MISSING\r\n
+DlgTableHeaders\t\t: "Záhlaví",\r\n
+DlgTableHeadersNone\t\t: "Žádné",\r\n
+DlgTableHeadersColumn\t: "První sloupec",\r\n
+DlgTableHeadersRow\t\t: "První řádek",\r\n
+DlgTableHeadersBoth\t\t: "Oboje",\r\n
 \r\n
 // Table Cell Dialog\r\n
 DlgCellTitle\t\t: "Vlastnosti buňky",\r\n
@@ -366,9 +366,9 @@ DlgCellVerAlignTop\t: "Nahoru",\r\n
 DlgCellVerAlignMiddle\t: "Doprostřed",\r\n
 DlgCellVerAlignBottom\t: "Dolů",\r\n
 DlgCellVerAlignBaseline\t: "Na účaří",\r\n
-DlgCellType\t\t: "Cell Type",\t//MISSING\r\n
-DlgCellTypeData\t\t: "Data",\t//MISSING\r\n
-DlgCellTypeHeader\t: "Header",\t//MISSING\r\n
+DlgCellType\t\t: "Typ buňky",\r\n
+DlgCellTypeData\t\t: "Data",\r\n
+DlgCellTypeHeader\t: "Zálaví",\r\n
 DlgCellRowSpan\t\t: "Sloučené řádky",\r\n
 DlgCellCollSpan\t\t: "Sloučené sloupce",\r\n
 DlgCellBackColor\t: "Barva pozadí",\r\n
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Více informací získáte na",\r\n
 DlgDivGeneralTab\t: "Obecné",\r\n
 DlgDivAdvancedTab\t: "Rozšířené",\r\n
 DlgDivStyle\t\t: "Styl",\r\n
-DlgDivInlineStyle\t: "Vložený styl"\r\n
+DlgDivInlineStyle\t: "Vložený styl",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Vložený styl"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19210</long> </value>
+            <value> <int>19308</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/da.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/da.js.xml
index ad56935860..8957b7a71c 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/da.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/da.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749253.41</string> </value>
+            <value> <string>ts60538662.53</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For yderlig information gå til",\r\n
 DlgDivGeneralTab\t: "Generelt",\r\n
 DlgDivAdvancedTab\t: "Avanceret",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline style"\r\n
+DlgDivInlineStyle\t: "Inline style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18430</long> </value>
+            <value> <int>18591</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/de.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/de.js.xml
index 4ba56635b2..0d912d4d3b 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/de.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/de.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749253.63</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Für weitere Informationen siehe",\r\n
 DlgDivGeneralTab\t: "Allgemein",\r\n
 DlgDivAdvancedTab\t: "Erweitert",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19199</long> </value>
+            <value> <int>19360</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/el.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/el.js.xml
index 52036972b7..c789f17bf6 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/el.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/el.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749254.07</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Για περισσότερες πληροφορίες",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>25850</long> </value>
+            <value> <int>26011</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-au.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-au.js.xml
index f24fde28dc..a085e7fb83 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-au.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-au.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749269.8</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For further information go to",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Advanced",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17985</long> </value>
+            <value> <int>18146</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-ca.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-ca.js.xml
index a06d0d3fa1..512256799b 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-ca.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-ca.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749270.37</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For further information go to",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Advanced",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17984</long> </value>
+            <value> <int>18145</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-uk.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-uk.js.xml
index 1cfa9441d9..6a1834e487 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-uk.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en-uk.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749270.58</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For further information go to",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Advanced",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17990</long> </value>
+            <value> <int>18151</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en.js.xml
index eaee284ff4..503978665a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/en.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749254.73</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For further information go to",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Advanced",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\r\n
+ScaytTitleOptions\t: "Options",\r\n
+ScaytTitleLangs\t\t: "Languages",\r\n
+ScaytTitleAbout\t\t: "About"\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17915</long> </value>
+            <value> <int>18036</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eo.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eo.js.xml
index 31da248d2c..a8a24e0ad3 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eo.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eo.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749254.96</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Por pli da informoj, vizitu",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19252</long> </value>
+            <value> <int>19413</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/es.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/es.js.xml
index 627e2e64c8..02f3bfe310 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/es.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/es.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749255.19</string> </value>
+            <value> <string>ts60538662.54</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Para mayor información por favor dirigirse a",\r\n
 DlgDivGeneralTab\t: "General",\r\n
 DlgDivAdvancedTab\t: "Avanzado",\r\n
 DlgDivStyle\t\t: "Estilo",\r\n
-DlgDivInlineStyle\t: "Estilos CSS"\r\n
+DlgDivInlineStyle\t: "Estilos CSS",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Estilos CSS"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19483</long> </value>
+            <value> <int>19644</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/et.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/et.js.xml
index 891e232bf9..10f5ee3a9f 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/et.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/et.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749255.64</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Täpsema info saamiseks mine",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18648</long> </value>
+            <value> <int>18809</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eu.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eu.js.xml
index 289cf11477..8f812033a3 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eu.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/eu.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749255.86</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -562,7 +562,12 @@ DlgAboutInfo\t\t: "Informazio gehiago eskuratzeko hona joan",\r\n
 DlgDivGeneralTab\t: "Orokorra",\r\n
 DlgDivAdvancedTab\t: "Aurreratua",\r\n
 DlgDivStyle\t\t: "Estiloa",\r\n
-DlgDivInlineStyle\t: "Inline Estiloa"\r\n
+DlgDivInlineStyle\t: "Inline Estiloa",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -574,7 +579,7 @@ DlgDivInlineStyle\t: "Inline Estiloa"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19231</long> </value>
+            <value> <int>19392</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fa.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fa.js.xml
index 06847c158a..a5248d1f97 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fa.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fa.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749254.43</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "برای آگاهی بیشتر به این نشانی برو
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>23563</long> </value>
+            <value> <int>23724</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fi.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fi.js.xml
index 5227ea7cbb..391a72a212 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fi.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fi.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749255.41</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Lisää tietoa osoitteesta",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18686</long> </value>
+            <value> <int>18847</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fo.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fo.js.xml
index 437053620e..3cd0d2a3f4 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fo.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fo.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749256.1</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Fyri fleiri upplýsingar, far til",\r\n
 DlgDivGeneralTab\t: "Generelt",\r\n
 DlgDivAdvancedTab\t: "Fjølbroytt",\r\n
 DlgDivStyle\t\t: "Typografi",\r\n
-DlgDivInlineStyle\t: "Inline typografi"\r\n
+DlgDivInlineStyle\t: "Inline typografi",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline typografi"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19132</long> </value>
+            <value> <int>19293</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr-ca.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr-ca.js.xml
index 385504cc6f..c01e59c160 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr-ca.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr-ca.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749270.8</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Pour plus d\'informations, visiter",\r\n
 DlgDivGeneralTab\t: "Général",\r\n
 DlgDivAdvancedTab\t: "Avancé",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Attribut Style"\r\n
+DlgDivInlineStyle\t: "Attribut Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Attribut Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19669</long> </value>
+            <value> <int>19830</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr.js.xml
index 365c8cae20..12c11aff63 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/fr.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749256.33</string> </value>
+            <value> <string>ts60538662.55</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Pour plus d\'informations, aller à",\r\n
 DlgDivGeneralTab\t: "Général",\r\n
 DlgDivAdvancedTab\t: "Avancé",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Attribut Style"\r\n
+DlgDivInlineStyle\t: "Attribut Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Attribut Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19516</long> </value>
+            <value> <int>19677</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gl.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gl.js.xml
index 8deaba18c0..ec837cccd6 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gl.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gl.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749256.75</string> </value>
+            <value> <string>ts60538662.56</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Para máis información visitar:",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19839</long> </value>
+            <value> <int>20000</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gu.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gu.js.xml
index 8d0c9759c6..485a54165f 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gu.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/gu.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749257.77</string> </value>
+            <value> <string>ts60538662.56</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "વધારે માહિતી માટે:",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>29934</long> </value>
+            <value> <int>30095</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/he.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/he.js.xml
index df1f55a964..a81e0896f0 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/he.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/he.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749257.12</string> </value>
+            <value> <string>ts60538662.56</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "מידע נוסף ניתן למצוא כאן:",\r\n
 DlgDivGeneralTab\t: "כללי",\r\n
 DlgDivAdvancedTab\t: "מתקדם",\r\n
 DlgDivStyle\t\t: "סגנון",\r\n
-DlgDivInlineStyle\t: "סגנון בתוך השורה"\r\n
+DlgDivInlineStyle\t: "סגנון בתוך השורה",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "סגנון בתוך השורה"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>21236</long> </value>
+            <value> <int>21397</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hi.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hi.js.xml
index 5caab3866e..6838e1ec96 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hi.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hi.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749257.47</string> </value>
+            <value> <string>ts60538662.56</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "अधिक जानकारी के लिये यह
 DlgDivGeneralTab\t: "सामान्य",\r\n
 DlgDivAdvancedTab\t: "एड्वान्स्ड",\r\n
 DlgDivStyle\t\t: "स्टाइल",\r\n
-DlgDivInlineStyle\t: "इनलाइन स्टाइल"\r\n
+DlgDivInlineStyle\t: "इनलाइन स्टाइल",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "इनलाइन स्टाइल"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>28806</long> </value>
+            <value> <int>28967</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hr.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hr.js.xml
index 893057d231..6ffd67bb1c 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hr.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hr.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749257.99</string> </value>
+            <value> <string>ts60538662.56</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Za više informacija posjetite",\r\n
 DlgDivGeneralTab\t: "Općenito",\r\n
 DlgDivAdvancedTab\t: "Napredno",\r\n
 DlgDivStyle\t\t: "Stil",\r\n
-DlgDivInlineStyle\t: "Stil u redu"\r\n
+DlgDivInlineStyle\t: "Stil u redu",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Stil u redu"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18493</long> </value>
+            <value> <int>18654</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hu.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hu.js.xml
index e1a951a639..445a9fa84d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hu.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/hu.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749258.23</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "További információkért látogasson el ide:",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>20032</long> </value>
+            <value> <int>20193</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/is.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/is.js.xml
index 1dbb315ee3..589a9ee2ee 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/is.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/is.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749258.75</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Nánari upplýsinar, sjá:",\r\n
 DlgDivGeneralTab\t: "Almennt",\r\n
 DlgDivAdvancedTab\t: "Sérhæft",\r\n
 DlgDivStyle\t\t: "Stíll",\r\n
-DlgDivInlineStyle\t: "Línulægur stíll"\r\n
+DlgDivInlineStyle\t: "Línulægur stíll",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Línulægur stíll"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18581</long> </value>
+            <value> <int>18742</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/it.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/it.js.xml
index 873822d3ad..1b83bf39fd 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/it.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/it.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749259.08</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Per maggiori informazioni visitare",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19363</long> </value>
+            <value> <int>19524</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ja.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ja.js.xml
index a1e7ce55f2..441aa38f87 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ja.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ja.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749258.56</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "より詳しい情報はこちらで",\r\n
 DlgDivGeneralTab\t: "全般",\r\n
 DlgDivAdvancedTab\t: "高度な設定",\r\n
 DlgDivStyle\t\t: "スタイル",\r\n
-DlgDivInlineStyle\t: "インラインスタイル"\r\n
+DlgDivInlineStyle\t: "インラインスタイル",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "インラインスタイル"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>21278</long> </value>
+            <value> <int>21439</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/km.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/km.js.xml
index c5af24f37f..dff13faefa 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/km.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/km.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749259.39</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "សំរាប់ព៌តមានផ្សេងទៀត
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>28759</long> </value>
+            <value> <int>28920</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ko.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ko.js.xml
index 3cc9419e97..9a37da7888 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ko.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ko.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749259.69</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -338,7 +338,7 @@ DlgTableHeight\t\t: "높이",\r\n
 DlgTableCellSpace\t: "셀 간격",\r\n
 DlgTableCellPad\t\t: "셀 여백",\r\n
 DlgTableCaption\t\t: "캡션",\r\n
-DlgTableSummary\t\t: "Summary",\t//MISSING\r\n
+DlgTableSummary\t\t: "요약",\r\n
 DlgTableHeaders\t\t: "Headers",\t//MISSING\r\n
 DlgTableHeadersNone\t\t: "None",\t//MISSING\r\n
 DlgTableHeadersColumn\t: "First column",\t//MISSING\r\n
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "더 많은 정보를 보시려면 다음 사이트로 가십
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19282</long> </value>
+            <value> <int>19432</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lt.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lt.js.xml
index af757605ee..d8075f21ba 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lt.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lt.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749260.09</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -75,9 +75,9 @@ RemoveFormat\t\t: "Panaikinti formatÄ…",\r\n
 InsertLinkLbl\t\t: "Nuoroda",\r\n
 InsertLink\t\t\t: "Įterpti/taisyti nuorodą",\r\n
 RemoveLink\t\t\t: "Panaikinti nuorodÄ…",\r\n
-VisitLink\t\t\t: "Open Link",\t//MISSING\r\n
+VisitLink\t\t\t: "Atidaryti nuorodÄ…",\r\n
 Anchor\t\t\t\t: "Įterpti/modifikuoti žymę",\r\n
-AnchorDelete\t\t: "Remove Anchor",\t//MISSING\r\n
+AnchorDelete\t\t: "Naikinti žymę",\r\n
 InsertImageLbl\t\t: "Vaizdas",\r\n
 InsertImage\t\t\t: "Įterpti/taisyti vaizdą",\r\n
 InsertFlashLbl\t\t: "Flash",\r\n
@@ -103,10 +103,10 @@ RightJustify\t\t: "Lygiuoti dešinę",\r\n
 BlockJustify\t\t: "Lygiuoti abi puses",\r\n
 DecreaseIndent\t\t: "Sumažinti įtrauką",\r\n
 IncreaseIndent\t\t: "Padidinti įtrauką",\r\n
-Blockquote\t\t\t: "Blockquote",\t//MISSING\r\n
-CreateDiv\t\t\t: "Create Div Container",\t//MISSING\r\n
-EditDiv\t\t\t\t: "Edit Div Container",\t//MISSING\r\n
-DeleteDiv\t\t\t: "Remove Div Container",\t//MISSING\r\n
+Blockquote\t\t\t: "Citata",\r\n
+CreateDiv\t\t\t: "Sukurti Div elementÄ…",\r\n
+EditDiv\t\t\t\t: "Reaguoti Div elementÄ…",\r\n
+DeleteDiv\t\t\t: "Å alinti Div elementÄ…",\r\n
 Undo\t\t\t\t: "Atšaukti",\r\n
 Redo\t\t\t\t: "Atstatyti",\r\n
 NumberedListLbl\t\t: "Numeruotas sąrašas",\r\n
@@ -139,28 +139,28 @@ Button\t\t\t: "Mygtukas",\r\n
 SelectionField\t: "Atrankos laukas",\r\n
 ImageButton\t\t: "Vaizdinis mygtukas",\r\n
 \r\n
-FitWindow\t\t: "Maximize the editor size",\t//MISSING\r\n
-ShowBlocks\t\t: "Show Blocks",\t//MISSING\r\n
+FitWindow\t\t: "Padidinti redaktorių",\r\n
+ShowBlocks\t\t: "Rodyti blokus",\r\n
 \r\n
 // Context Menu\r\n
 EditLink\t\t\t: "Taisyti nuorodÄ…",\r\n
-CellCM\t\t\t\t: "Cell",\t//MISSING\r\n
-RowCM\t\t\t\t: "Row",\t//MISSING\r\n
-ColumnCM\t\t\t: "Column",\t//MISSING\r\n
-InsertRowAfter\t\t: "Insert Row After",\t//MISSING\r\n
-InsertRowBefore\t\t: "Insert Row Before",\t//MISSING\r\n
+CellCM\t\t\t\t: "Langelis",\r\n
+RowCM\t\t\t\t: "EilutÄ—",\r\n
+ColumnCM\t\t\t: "Stulpelis",\r\n
+InsertRowAfter\t\t: "Įterpti eilutę po",\r\n
+InsertRowBefore\t\t: "Įterpti eilutę prieš",\r\n
 DeleteRows\t\t\t: "Å alinti eilutes",\r\n
-InsertColumnAfter\t: "Insert Column After",\t//MISSING\r\n
-InsertColumnBefore\t: "Insert Column Before",\t//MISSING\r\n
+InsertColumnAfter\t: "Įterpti stulpelį po",\r\n
+InsertColumnBefore\t: "Įterpti stulpelį prieš",\r\n
 DeleteColumns\t\t: "Å alinti stulpelius",\r\n
-InsertCellAfter\t\t: "Insert Cell After",\t//MISSING\r\n
-InsertCellBefore\t: "Insert Cell Before",\t//MISSING\r\n
+InsertCellAfter\t\t: "Įterpti langelį po",\r\n
+InsertCellBefore\t: "Įterpti langelį prieš",\r\n
 DeleteCells\t\t\t: "Å alinti langelius",\r\n
 MergeCells\t\t\t: "Sujungti langelius",\r\n
-MergeRight\t\t\t: "Merge Right",\t//MISSING\r\n
-MergeDown\t\t\t: "Merge Down",\t//MISSING\r\n
-HorizontalSplitCell\t: "Split Cell Horizontally",\t//MISSING\r\n
-VerticalSplitCell\t: "Split Cell Vertically",\t//MISSING\r\n
+MergeRight\t\t\t: "Sujungti su dešine",\r\n
+MergeDown\t\t\t: "Sujungti su apačia",\r\n
+HorizontalSplitCell\t: "Skaidyti langelį horizontaliai",\r\n
+VerticalSplitCell\t: "Skaidyti langelį vertikaliai",\r\n
 TableDelete\t\t\t: "Å alinti lentelÄ™",\r\n
 CellProperties\t\t: "Langelio savybÄ—s",\r\n
 TableProperties\t\t: "LentelÄ—s savybÄ—s",\r\n
@@ -192,7 +192,7 @@ UnknownToolbarSet\t: "Mygtukų juostos rinkinys \\"%1\\" neegzistuoja",\r\n
 NoActiveX\t\t\t: "Jūsų naršyklės saugumo nuostatos gali riboti kai kurias redaktoriaus savybes. Jūs turite aktyvuoti opciją \\"Run ActiveX controls and plug-ins\\". Kitu atveju Jums bus pranešama apie klaidas ir trūkstamas savybes.",\r\n
 BrowseServerBlocked : "Neįmanoma atidaryti naujo naršyklės lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.",\r\n
 DialogBlocked\t\t: "Neįmanoma atidaryti dialogo lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.",\r\n
-VisitLinkBlocked\t: "It was not possible to open a new window. Make sure all popup blockers are disabled.",\t//MISSING\r\n
+VisitLinkBlocked\t: "Neįmanoma atidaryti naujo lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.",\r\n
 \r\n
 // Dialogs\r\n
 DlgBtnOK\t\t\t: "OK",\r\n
@@ -307,7 +307,7 @@ DlgLnkPopTop\t\t: "Viršutinė pozicija",\r\n
 DlnLnkMsgNoUrl\t\t: "Prašome įvesti nuorodos URL",\r\n
 DlnLnkMsgNoEMail\t: "Prašome įvesti el.pašto adresą",\r\n
 DlnLnkMsgNoAnchor\t: "Prašome pasirinkti žymę",\r\n
-DlnLnkMsgInvPopName\t: "The popup name must begin with an alphabetic character and must not contain spaces",\t//MISSING\r\n
+DlnLnkMsgInvPopName\t: "Iššokančio lango pavadinimas privalo prasidėti lotyniška raide ir negali turėti tarpų",\r\n
 \r\n
 // Color Dialog\r\n
 DlgColorTitle\t\t: "Pasirinkite spalvÄ…",\r\n
@@ -339,11 +339,11 @@ DlgTableCellSpace\t: "Tarpas tarp langelių",\r\n
 DlgTableCellPad\t\t: "Trapas nuo langelio rÄ—mo iki teksto",\r\n
 DlgTableCaption\t\t: "Antraštė",\r\n
 DlgTableSummary\t\t: "Santrauka",\r\n
-DlgTableHeaders\t\t: "Headers",\t//MISSING\r\n
-DlgTableHeadersNone\t\t: "None",\t//MISSING\r\n
-DlgTableHeadersColumn\t: "First column",\t//MISSING\r\n
-DlgTableHeadersRow\t\t: "First Row",\t//MISSING\r\n
-DlgTableHeadersBoth\t\t: "Both",\t//MISSING\r\n
+DlgTableHeaders\t\t: "Antraštės",\r\n
+DlgTableHeadersNone\t\t: "NÄ—ra",\r\n
+DlgTableHeadersColumn\t: "Pirmas stulpelis",\r\n
+DlgTableHeadersRow\t\t: "Pirma eilutÄ—",\r\n
+DlgTableHeadersBoth\t\t: "Abu",\r\n
 \r\n
 // Table Cell Dialog\r\n
 DlgCellTitle\t\t: "Langelio savybÄ—s",\r\n
@@ -366,9 +366,9 @@ DlgCellVerAlignTop\t: "Viršų",\r\n
 DlgCellVerAlignMiddle\t: "Vidurį",\r\n
 DlgCellVerAlignBottom\t: "Apačią",\r\n
 DlgCellVerAlignBaseline\t: "ApatinÄ™ linijÄ…",\r\n
-DlgCellType\t\t: "Cell Type",\t//MISSING\r\n
-DlgCellTypeData\t\t: "Data",\t//MISSING\r\n
-DlgCellTypeHeader\t: "Header",\t//MISSING\r\n
+DlgCellType\t\t: "Langelio tipas",\r\n
+DlgCellTypeData\t\t: "Duomenys",\r\n
+DlgCellTypeHeader\t: "Antraštė",\r\n
 DlgCellRowSpan\t\t: "Eilučių apjungimas",\r\n
 DlgCellCollSpan\t\t: "Stulpelių apjungimas",\r\n
 DlgCellBackColor\t: "Fono spalva",\r\n
@@ -376,7 +376,7 @@ DlgCellBorderColor\t: "RÄ—melio spalva",\r\n
 DlgCellBtnSelect\t: "Pažymėti...",\r\n
 \r\n
 // Find and Replace Dialog\r\n
-DlgFindAndReplaceTitle\t: "Find and Replace",\t//MISSING\r\n
+DlgFindAndReplaceTitle\t: "Surasti ir pakeisti",\r\n
 \r\n
 // Find Dialog\r\n
 DlgFindTitle\t\t: "Paieška",\r\n
@@ -399,8 +399,8 @@ PasteErrorCopy\t: "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui
 PasteAsText\t\t: "Įdėti kaip gryną tekstą",\r\n
 PasteFromWord\t: "Įdėti iš Word",\r\n
 \r\n
-DlgPasteMsg2\t: "Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (<STRONG>Ctrl+V</STRONG>) ir spūstelkite mygtuką <STRONG>OK</STRONG>.",\r\n
-DlgPasteSec\t\t: "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.",\t//MISSING\r\n
+DlgPasteMsg2\t: "Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (<STRONG>Ctrl+V</STRONG>) ir paspauskite mygtuką <STRONG>OK</STRONG>.",\r\n
+DlgPasteSec\t\t: "Dėl jūsų naršyklės saugumo nustatymų, redaktorius negali tiesiogiai pasiekti laikinosios atminties. Jums reikia nukopijuoti dar kartą į šį langą.",\r\n
 DlgPasteIgnoreFont\t\t: "Ignoruoti šriftų nustatymus",\r\n
 DlgPasteRemoveStyles\t: "Pašalinti stilių nustatymus",\r\n
 \r\n
@@ -436,9 +436,9 @@ IeSpellDownload\t\t\t: "Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį d
 // Button Dialog\r\n
 DlgButtonText\t\t: "Tekstas (Reikšmė)",\r\n
 DlgButtonType\t\t: "Tipas",\r\n
-DlgButtonTypeBtn\t: "Button",\t//MISSING\r\n
-DlgButtonTypeSbm\t: "Submit",\t//MISSING\r\n
-DlgButtonTypeRst\t: "Reset",\t//MISSING\r\n
+DlgButtonTypeBtn\t: "Mygtukas",\r\n
+DlgButtonTypeSbm\t: "Siųsti",\r\n
+DlgButtonTypeRst\t: "IÅ¡valyti",\r\n
 \r\n
 // Checkbox and Radio Button Dialogs\r\n
 DlgCheckboxName\t\t: "Vardas",\r\n
@@ -487,7 +487,7 @@ DlgHiddenValue\t: "Reikšmė",\r\n
 // Bulleted List Dialog\r\n
 BulletedListProp\t: "Suženklinto sąrašo savybės",\r\n
 NumberedListProp\t: "Numeruoto sąrašo savybės",\r\n
-DlgLstStart\t\t\t: "Start",\t//MISSING\r\n
+DlgLstStart\t\t\t: "PradÄ—ti nuo",\r\n
 DlgLstType\t\t\t: "Tipas",\r\n
 DlgLstTypeCircle\t: "Apskritimas",\r\n
 DlgLstTypeDisc\t\t: "Diskas",\r\n
@@ -510,15 +510,15 @@ DlgDocLangDirLTR\t: "Iš kairės į dešinę (LTR)",\r\n
 DlgDocLangDirRTL\t: "Iš dešinės į kairę (RTL)",\r\n
 DlgDocLangCode\t\t: "Kalbos kodas",\r\n
 DlgDocCharSet\t\t: "Simbolių kodavimo lentelė",\r\n
-DlgDocCharSetCE\t\t: "Central European",\t//MISSING\r\n
-DlgDocCharSetCT\t\t: "Chinese Traditional (Big5)",\t//MISSING\r\n
-DlgDocCharSetCR\t\t: "Cyrillic",\t//MISSING\r\n
-DlgDocCharSetGR\t\t: "Greek",\t//MISSING\r\n
-DlgDocCharSetJP\t\t: "Japanese",\t//MISSING\r\n
-DlgDocCharSetKR\t\t: "Korean",\t//MISSING\r\n
-DlgDocCharSetTR\t\t: "Turkish",\t//MISSING\r\n
-DlgDocCharSetUN\t\t: "Unicode (UTF-8)",\t//MISSING\r\n
-DlgDocCharSetWE\t\t: "Western European",\t//MISSING\r\n
+DlgDocCharSetCE\t\t: "CentrinÄ—s Europos",\r\n
+DlgDocCharSetCT\t\t: "Tradicinės kinų (Big5)",\r\n
+DlgDocCharSetCR\t\t: "Kirilica",\r\n
+DlgDocCharSetGR\t\t: "Graikų",\r\n
+DlgDocCharSetJP\t\t: "Japonų",\r\n
+DlgDocCharSetKR\t\t: "Korėjiečių",\r\n
+DlgDocCharSetTR\t\t: "Turkų",\r\n
+DlgDocCharSetUN\t\t: "Unikodas (UTF-8)",\r\n
+DlgDocCharSetWE\t\t: "Vakarų Europos",\r\n
 DlgDocCharSetOther\t: "Kita simbolių kodavimo lentelė",\r\n
 \r\n
 DlgDocDocType\t\t: "Dokumento tipo antraštė",\r\n
@@ -548,20 +548,25 @@ DlgTemplatesTitle\t: "Turinio Å¡ablonai",\r\n
 DlgTemplatesSelMsg\t: "Pasirinkite norimÄ… Å¡ablonÄ…<br>(<b>DÄ—mesio!</b> esamas turinys bus prarastas):",\r\n
 DlgTemplatesLoading\t: "Įkeliamas šablonų sąrašas. Prašome palaukti...",\r\n
 DlgTemplatesNoTpl\t: "(Šablonų sąrašas tuščias)",\r\n
-DlgTemplatesReplace\t: "Replace actual contents",\t//MISSING\r\n
+DlgTemplatesReplace\t: "Pakeisti dabartinį turinį pasirinktu šablonu",\r\n
 \r\n
 // About Dialog\r\n
 DlgAboutAboutTab\t: "Apie",\r\n
 DlgAboutBrowserInfoTab\t: "Naršyklės informacija",\r\n
-DlgAboutLicenseTab\t: "License",\t//MISSING\r\n
+DlgAboutLicenseTab\t: "Licenzija",\r\n
 DlgAboutVersion\t\t: "versija",\r\n
 DlgAboutInfo\t\t: "PapildomÄ… informacijÄ… galima gauti",\r\n
 \r\n
 // Div Dialog\r\n
-DlgDivGeneralTab\t: "General",\t//MISSING\r\n
-DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
-DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivGeneralTab\t: "Bendros savybÄ—s",\r\n
+DlgDivAdvancedTab\t: "Papildomos savybÄ—s",\r\n
+DlgDivStyle\t\t: "Stilius",\r\n
+DlgDivInlineStyle\t: "Stilius kode",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>20064</long> </value>
+            <value> <int>19915</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lv.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lv.js.xml
index d553afe08b..35f3240329 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lv.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/lv.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749260.48</string> </value>
+            <value> <string>ts60538662.57</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Papildus informācija ir pieejama",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>20260</long> </value>
+            <value> <int>20421</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/mn.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/mn.js.xml
index 6e6b4805fe..c8f392b099 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/mn.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/mn.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749261.37</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Мэдээллээр туслах",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>23743</long> </value>
+            <value> <int>23904</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ms.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ms.js.xml
index 7d64c5ad37..1aecd7686b 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ms.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ms.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749261.83</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Untuk maklumat lanjut sila pergi ke",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19331</long> </value>
+            <value> <int>19492</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nb.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nb.js.xml
index 3124b536ef..dcc426d2da 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nb.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nb.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749260.93</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For mer informasjon, se",\r\n
 DlgDivGeneralTab\t: "Generelt",\r\n
 DlgDivAdvancedTab\t: "Avansert",\r\n
 DlgDivStyle\t\t: "Stil",\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18208</long> </value>
+            <value> <int>18369</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nl.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nl.js.xml
index 46ab074a9a..9cefaea3bd 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nl.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/nl.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749262.22</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Voor meer informatie ga naar ",\r\n
 DlgDivGeneralTab\t: "Algemeen",\r\n
 DlgDivAdvancedTab\t: "Geavanceerd",\r\n
 DlgDivStyle\t\t: "Style",\r\n
-DlgDivInlineStyle\t: "Inline Style"\r\n
+DlgDivInlineStyle\t: "Inline Style",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19013</long> </value>
+            <value> <int>19174</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/no.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/no.js.xml
index f9ab768f9e..83fe5d9af5 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/no.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/no.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749262.72</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For mer informasjon, se",\r\n
 DlgDivGeneralTab\t: "Generelt",\r\n
 DlgDivAdvancedTab\t: "Avansert",\r\n
 DlgDivStyle\t\t: "Stil",\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18200</long> </value>
+            <value> <int>18361</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pl.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pl.js.xml
index 704aaa6ae7..772a5cf86b 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pl.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pl.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749263.11</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -339,7 +339,7 @@ DlgTableCellSpace\t: "Odstęp pomiędzy komórkami",\r\n
 DlgTableCellPad\t\t: "Margines wewnętrzny komórek",\r\n
 DlgTableCaption\t\t: "Tytuł",\r\n
 DlgTableSummary\t\t: "Podsumowanie",\r\n
-DlgTableHeaders\t\t: "Headers",\t//MISSING\r\n
+DlgTableHeaders\t\t: "Nagłówki",\r\n
 DlgTableHeadersNone\t\t: "None",\t//MISSING\r\n
 DlgTableHeadersColumn\t: "First column",\t//MISSING\r\n
 DlgTableHeadersRow\t\t: "First Row",\t//MISSING\r\n
@@ -543,7 +543,7 @@ DlgDocMeCopy\t\t: "Prawa autorskie",\r\n
 DlgDocPreview\t\t: "PodglÄ…d",\r\n
 \r\n
 // Templates Dialog\r\n
-Templates\t\t\t: "Sablony",\r\n
+Templates\t\t\t: "Szablony",\r\n
 DlgTemplatesTitle\t: "Szablony zawartości",\r\n
 DlgTemplatesSelMsg\t: "Wybierz szablon do otwarcia w edytorze<br>(obecna zawartość okna edytora zostanie utracona):",\r\n
 DlgTemplatesLoading\t: "Ładowanie listy szablonów. Proszę czekać...",\r\n
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Więcej informacji uzyskasz pod adresem",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19351</long> </value>
+            <value> <int>19506</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt-br.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt-br.js.xml
index c633381663..aba5693094 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt-br.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt-br.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749269.34</string> </value>
+            <value> <string>ts60538662.58</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Para maiores informações visite",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19793</long> </value>
+            <value> <int>19954</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt.js.xml
index 152a9ac3cc..d0d026df71 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/pt.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749263.55</string> </value>
+            <value> <string>ts60538662.59</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Para mais informações por favor dirija-se a",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19971</long> </value>
+            <value> <int>20132</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ro.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ro.js.xml
index a4cefdd030..b5dbe6c2a3 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ro.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ro.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749264.01</string> </value>
+            <value> <string>ts60538662.59</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Pentru informaţii amănunţite, vizitaţi",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>21170</long> </value>
+            <value> <int>21331</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ru.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ru.js.xml
index d1bdec8805..12a505624f 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ru.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/ru.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749264.39</string> </value>
+            <value> <string>ts60538662.59</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Для большей информации, посетите"
 DlgDivGeneralTab\t: "Информация",\r\n
 DlgDivAdvancedTab\t: "Расширенные настройки",\r\n
 DlgDivStyle\t\t: "Стиль",\r\n
-DlgDivInlineStyle\t: "Встроенные стили"\r\n
+DlgDivInlineStyle\t: "Встроенные стили",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Встроенные стили"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>25771</long> </value>
+            <value> <int>25932</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sk.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sk.js.xml
index bf96613ba6..6f6d199b2a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sk.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sk.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749265.36</string> </value>
+            <value> <string>ts60538662.59</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Viac informácií získate na",\r\n
 DlgDivGeneralTab\t: "Hlavné",\r\n
 DlgDivAdvancedTab\t: "Rozšírené",\r\n
 DlgDivStyle\t\t: "Štýl",\r\n
-DlgDivInlineStyle\t: "Inline štýl"\r\n
+DlgDivInlineStyle\t: "Inline štýl",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline štýl"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19405</long> </value>
+            <value> <int>19566</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sl.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sl.js.xml
index ee8d44dc4c..41be8adf64 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sl.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sl.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749265.71</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -104,9 +104,9 @@ BlockJustify\t\t: "Obojestranska poravnava",\r\n
 DecreaseIndent\t\t: "Zmanjšaj zamik",\r\n
 IncreaseIndent\t\t: "Povečaj zamik",\r\n
 Blockquote\t\t\t: "Citat",\r\n
-CreateDiv\t\t\t: "Create Div Container",\t//MISSING\r\n
-EditDiv\t\t\t\t: "Edit Div Container",\t//MISSING\r\n
-DeleteDiv\t\t\t: "Remove Div Container",\t//MISSING\r\n
+CreateDiv\t\t\t: "Ustvari Div element",\r\n
+EditDiv\t\t\t\t: "Uredi Div element",\r\n
+DeleteDiv\t\t\t: "Odstrani Div element",\r\n
 Undo\t\t\t\t: "Razveljavi",\r\n
 Redo\t\t\t\t: "Ponovi",\r\n
 NumberedListLbl\t\t: "Oštevilčen seznam",\r\n
@@ -192,7 +192,7 @@ UnknownToolbarSet\t: "Skupina orodnih vrstic \\"%1\\" ne obstoja",\r\n
 NoActiveX\t\t\t: "Varnostne nastavitve vašega brskalnika lahko omejijo delovanje nekaterih zmožnosti urejevalnika. Če ne želite zaznavati napak in sporočil o manjkajočih zmožnostih, omogočite možnost \\"Zaženi ActiveX kontrolnike in vtičnike\\".",\r\n
 BrowseServerBlocked : "Brskalnik virov se ne more odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.",\r\n
 DialogBlocked\t\t: "Pogovorno okno se ni moglo odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.",\r\n
-VisitLinkBlocked\t: "It was not possible to open a new window. Make sure all popup blockers are disabled.",\t//MISSING\r\n
+VisitLinkBlocked\t: "Pogovorno okno se ni moglo odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.",\r\n
 \r\n
 // Dialogs\r\n
 DlgBtnOK\t\t\t: "V redu",\r\n
@@ -339,11 +339,11 @@ DlgTableCellSpace\t: "Razmik med celicami",\r\n
 DlgTableCellPad\t\t: "Polnilo med celicami",\r\n
 DlgTableCaption\t\t: "Naslov",\r\n
 DlgTableSummary\t\t: "Povzetek",\r\n
-DlgTableHeaders\t\t: "Headers",\t//MISSING\r\n
-DlgTableHeadersNone\t\t: "None",\t//MISSING\r\n
-DlgTableHeadersColumn\t: "First column",\t//MISSING\r\n
-DlgTableHeadersRow\t\t: "First Row",\t//MISSING\r\n
-DlgTableHeadersBoth\t\t: "Both",\t//MISSING\r\n
+DlgTableHeaders\t\t: "Glava",\r\n
+DlgTableHeadersNone\t\t: "Brez",\r\n
+DlgTableHeadersColumn\t: "Prvi stolpec",\r\n
+DlgTableHeadersRow\t\t: "Prva vrstica",\r\n
+DlgTableHeadersBoth\t\t: "Oboje",\r\n
 \r\n
 // Table Cell Dialog\r\n
 DlgCellTitle\t\t: "Lastnosti celice",\r\n
@@ -366,9 +366,9 @@ DlgCellVerAlignTop\t: "Na vrh",\r\n
 DlgCellVerAlignMiddle\t: "V sredino",\r\n
 DlgCellVerAlignBottom\t: "Na dno",\r\n
 DlgCellVerAlignBaseline\t: "Na osnovno črto",\r\n
-DlgCellType\t\t: "Cell Type",\t//MISSING\r\n
-DlgCellTypeData\t\t: "Data",\t//MISSING\r\n
-DlgCellTypeHeader\t: "Header",\t//MISSING\r\n
+DlgCellType\t\t: "Tip celice",\r\n
+DlgCellTypeData\t\t: "Podatek",\r\n
+DlgCellTypeHeader\t: "Naslov",\r\n
 DlgCellRowSpan\t\t: "Spojenih vrstic (row-span)",\r\n
 DlgCellCollSpan\t\t: "Spojenih stolpcev (col-span)",\r\n
 DlgCellBackColor\t: "Barva ozadja",\r\n
@@ -558,10 +558,15 @@ DlgAboutVersion\t\t: "različica",\r\n
 DlgAboutInfo\t\t: "Za več informacij obiščite",\r\n
 \r\n
 // Div Dialog\r\n
-DlgDivGeneralTab\t: "General",\t//MISSING\r\n
-DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
-DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivGeneralTab\t: "Splošno",\r\n
+DlgDivAdvancedTab\t: "Napredno",\r\n
+DlgDivStyle\t\t: "Oblika",\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18879</long> </value>
+            <value> <int>18913</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr-latn.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr-latn.js.xml
index ea7c42a7f7..1336743c73 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr-latn.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr-latn.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749271.06</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Za više informacija posetite",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19112</long> </value>
+            <value> <int>19273</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr.js.xml
index 570bb750fd..a952f744a7 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sr.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749266.11</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "За више информација посетите",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>23773</long> </value>
+            <value> <int>23934</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sv.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sv.js.xml
index d7993128a6..9cecfc6480 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sv.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/sv.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749266.85</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "För mer information se",\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>18408</long> </value>
+            <value> <int>18569</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/th.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/th.js.xml
index 4714c4d79a..15fd00c986 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/th.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/th.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749266.46</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "For further information go to",\t//MISSING\r\n
 DlgDivGeneralTab\t: "General",\t//MISSING\r\n
 DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
 DlgDivStyle\t\t: "Style",\t//MISSING\r\n
-DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
+DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>31244</long> </value>
+            <value> <int>31405</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/tr.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/tr.js.xml
index 13f69cc73c..24517098c1 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/tr.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/tr.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749267.32</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Daha fazla bilgi için:",\r\n
 DlgDivGeneralTab\t: "Genel",\r\n
 DlgDivAdvancedTab\t: "GeliÅŸmiÅŸ",\r\n
 DlgDivStyle\t\t: "Sitil",\r\n
-DlgDivInlineStyle\t: "Satıriçi Sitil"\r\n
+DlgDivInlineStyle\t: "Satıriçi Sitil",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Satıriçi Sitil"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>19125</long> </value>
+            <value> <int>19286</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/uk.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/uk.js.xml
index 05fbf35ead..2421d71f4e 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/uk.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/uk.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749267.86</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Додаткову інформацію дивіться на
 DlgDivGeneralTab\t: "Загальна",\r\n
 DlgDivAdvancedTab\t: "Розширена",\r\n
 DlgDivStyle\t\t: "Стиль",\r\n
-DlgDivInlineStyle\t: "Inline стиль"\r\n
+DlgDivInlineStyle\t: "Inline стиль",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline стиль"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>25723</long> </value>
+            <value> <int>25884</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/vi.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/vi.js.xml
index f81e18b1cb..94dbb39e97 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/vi.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/vi.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749268.5</string> </value>
+            <value> <string>ts60538662.6</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Để biết thêm thông tin, hãy truy cập",\r\n
 DlgDivGeneralTab\t: "Chung",\r\n
 DlgDivAdvancedTab\t: "Nâng cao",\r\n
 DlgDivStyle\t\t: "Kiểu Style",\r\n
-DlgDivInlineStyle\t: "Kiểu Style Trực tiếp"\r\n
+DlgDivInlineStyle\t: "Kiểu Style Trực tiếp",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Kiểu Style Trực tiếp"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>20830</long> </value>
+            <value> <int>20991</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh-cn.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh-cn.js.xml
index 41a48a902c..ad87b08626 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh-cn.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh-cn.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749269.56</string> </value>
+            <value> <string>ts60538662.61</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "要获得更多信息请访问 ",\r\n
 DlgDivGeneralTab\t: "常规",\r\n
 DlgDivAdvancedTab\t: "高级",\r\n
 DlgDivStyle\t\t: "样式",\r\n
-DlgDivInlineStyle\t: "CSS 样式"\r\n
+DlgDivInlineStyle\t: "CSS 样式",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "CSS 样式"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17648</long> </value>
+            <value> <int>17809</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh.js.xml
index e65d795dc3..088233725c 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/lang/zh.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749268.71</string> </value>
+            <value> <string>ts60538662.61</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "想獲得更多資訊請至 ",\r\n
 DlgDivGeneralTab\t: "一般",\r\n
 DlgDivAdvancedTab\t: "進階",\r\n
 DlgDivStyle\t\t: "樣式",\r\n
-DlgDivInlineStyle\t: "CSS 樣式"\r\n
+DlgDivInlineStyle\t: "CSS 樣式",\r\n
+\r\n
+ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
+ScaytTitleOptions\t: "Options",\t//MISSING\r\n
+ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
+ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
 };\r\n
 
 
@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "CSS 樣式"\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>17759</long> </value>
+            <value> <int>17920</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckconfig.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckconfig.js.xml
index 1456f7e4d6..ab3d584388 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckconfig.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckconfig.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts51791634.59</string> </value>
+            <value> <string>ts60538662.64</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -29,340 +29,346 @@
             <key> <string>data</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-/*\n
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\n
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\n
- *\n
- * == BEGIN LICENSE ==\n
- *\n
- * Licensed under the terms of any of the following licenses at your\n
- * choice:\n
- *\n
- *  - GNU General Public License Version 2 or later (the "GPL")\n
- *    http://www.gnu.org/licenses/gpl.html\n
- *\n
- *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\n
- *    http://www.gnu.org/licenses/lgpl.html\n
- *\n
- *  - Mozilla Public License Version 1.1 or later (the "MPL")\n
- *    http://www.mozilla.org/MPL/MPL-1.1.html\n
- *\n
- * == END LICENSE ==\n
- *\n
- * Editor configuration settings.\n
- *\n
- * Follow this link for more information:\n
- * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options\n
- */\n
-\n
-FCKConfig.CustomConfigurationsPath = \'\' ;\n
-\n
-FCKConfig.EditorAreaCSS = FCKConfig.BasePath + \'css/fck_editorarea.css\' ;\n
-FCKConfig.EditorAreaStyles = \'\' ;\n
-FCKConfig.ToolbarComboPreviewCSS = \'\' ;\n
-\n
-FCKConfig.DocType = \'\' ;\n
-\n
-FCKConfig.BaseHref = \'\' ;\n
-\n
-FCKConfig.FullPage = false ;\n
-\n
-// The following option determines whether the "Show Blocks" feature is enabled or not at startup.\n
-FCKConfig.StartupShowBlocks = false ;\n
-\n
-FCKConfig.Debug = false ;\n
-FCKConfig.AllowQueryStringDebug = true ;\n
-\n
-FCKConfig.SkinPath = FCKConfig.BasePath + \'skins/default/\' ;\n
-FCKConfig.SkinEditorCSS = \'\' ;\t// FCKConfig.SkinPath + "|<minified css>" ;\n
-FCKConfig.SkinDialogCSS = \'\' ;\t// FCKConfig.SkinPath + "|<minified css>" ;\n
-\n
-FCKConfig.PreloadImages = [ FCKConfig.SkinPath + \'images/toolbar.start.gif\', FCKConfig.SkinPath + \'images/toolbar.buttonarrow.gif\' ] ;\n
-\n
-FCKConfig.PluginsPath = FCKConfig.BasePath + \'plugins/\' ;\n
-\n
-// FCKConfig.Plugins.Add( \'autogrow\' ) ;\n
-// FCKConfig.Plugins.Add( \'dragresizetable\' );\n
-FCKConfig.AutoGrowMax = 400 ;\n
-\n
-// FCKConfig.ProtectedSource.Add( /<%[\\s\\S]*?%>/g ) ;\t// ASP style server side code <%...%>\n
-// FCKConfig.ProtectedSource.Add( /<\\?[\\s\\S]*?\\?>/g ) ;\t// PHP style server side code\n
-// FCKConfig.ProtectedSource.Add( /(<asp:[^\\>]+>[\\s|\\S]*?<\\/asp:[^\\>]+>)|(<asp:[^\\>]+\\/>)/gi ) ;\t// ASP.Net style tags <asp:control>\n
-\n
-FCKConfig.AutoDetectLanguage\t= true ;\n
-FCKConfig.DefaultLanguage\t= \'en\' ;\n
-FCKConfig.ContentLangDirection\t= \'ltr\' ;\n
-\n
-FCKConfig.ProcessHTMLEntities\t= false ;\n
-\n
-FCKConfig.FillEmptyBlocks\t= true ;\n
-\n
-FCKConfig.FormatSource\t\t= true ;\n
-FCKConfig.FormatOutput\t\t= true ;\n
-FCKConfig.FormatIndentator\t= \'    \' ;\n
-\n
-FCKConfig.EMailProtection = \'none\' ; // none | encode | function\n
-FCKConfig.EMailProtectionFunction = \'mt(NAME,DOMAIN,SUBJECT,BODY)\' ;\n
-\n
-FCKConfig.StartupFocus\t= false ;\n
-FCKConfig.ForcePasteAsPlainText\t= false ;\n
-FCKConfig.AutoDetectPasteFromWord = true ;\t// IE only.\n
-FCKConfig.ShowDropDialog = true ;\n
-FCKConfig.ForceSimpleAmpersand\t= false ;\n
-FCKConfig.TabSpaces\t\t= 0 ;\n
-FCKConfig.ShowBorders\t= true ;\n
-FCKConfig.SourcePopup\t= false ;\n
-FCKConfig.ToolbarStartExpanded\t= true ;\n
-FCKConfig.ToolbarCanCollapse\t= true ;\n
-FCKConfig.IgnoreEmptyParagraphValue = true ;\n
-FCKConfig.FloatingPanelsZIndex = 10000 ;\n
-FCKConfig.HtmlEncodeOutput = false ;\n
-\n
-FCKConfig.TemplateReplaceAll = true ;\n
-FCKConfig.TemplateReplaceCheckbox = true ;\n
-\n
-FCKConfig.ToolbarLocation = \'In\' ;\n
-\n
-FCKConfig.ToolbarSets["Default"] = [\n
-\t[\'Source\',\'DocProps\',\'-\',\'Save\',\'NewPage\',\'Preview\',\'-\',\'Templates\'],\n
-\t[\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteWord\',\'-\',\'Print\',\'SpellCheck\'],\n
-\t[\'Undo\',\'Redo\',\'-\',\'Find\',\'Replace\',\'-\',\'SelectAll\',\'RemoveFormat\'],\n
-\t[\'Form\',\'Checkbox\',\'Radio\',\'TextField\',\'Textarea\',\'Select\',\'Button\',\'ImageButton\',\'HiddenField\'],\n
-\t\'/\',\n
-\t[\'Bold\',\'Italic\',\'Underline\',\'StrikeThrough\',\'-\',\'Subscript\',\'Superscript\'],\n
-\t[\'OrderedList\',\'UnorderedList\',\'-\',\'Outdent\',\'Indent\',\'Blockquote\',\'CreateDiv\'],\n
-\t[\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyFull\'],\n
-\t[\'Link\',\'Unlink\',\'Anchor\'],\n
-\t[\'Image\',\'Flash\',\'Table\',\'Rule\',\'Smiley\',\'SpecialChar\',\'PageBreak\'],\n
-\t\'/\',\n
-\t[\'Style\',\'FontFormat\',\'FontName\',\'FontSize\'],\n
-\t[\'TextColor\',\'BGColor\'],\n
-\t[\'FitWindow\',\'ShowBlocks\',\'-\',\'About\']\t\t// No comma for the last row.\n
-] ;\n
-\n
-FCKConfig.ToolbarSets["Basic"] = [\n
-\t[\'Bold\',\'Italic\',\'-\',\'OrderedList\',\'UnorderedList\',\'-\',\'Link\',\'Unlink\',\'-\',\'About\']\n
-] ;\n
-\n
-FCKConfig.EnterMode = \'p\' ;\t\t\t// p | div | br\n
-FCKConfig.ShiftEnterMode = \'br\' ;\t// p | div | br\n
-\n
-FCKConfig.Keystrokes = [\n
-\t[ CTRL + 65 /*A*/, true ],\n
-\t[ CTRL + 67 /*C*/, true ],\n
-\t[ CTRL + 70 /*F*/, true ],\n
-\t[ CTRL + 83 /*S*/, true ],\n
-\t[ CTRL + 84 /*T*/, true ],\n
-\t[ CTRL + 88 /*X*/, true ],\n
-\t[ CTRL + 86 /*V*/, \'Paste\' ],\n
-\t[ CTRL + 45 /*INS*/, true ],\n
-\t[ SHIFT + 45 /*INS*/, \'Paste\' ],\n
-\t[ CTRL + 88 /*X*/, \'Cut\' ],\n
-\t[ SHIFT + 46 /*DEL*/, \'Cut\' ],\n
-\t[ CTRL + 90 /*Z*/, \'Undo\' ],\n
-\t[ CTRL + 89 /*Y*/, \'Redo\' ],\n
-\t[ CTRL + SHIFT + 90 /*Z*/, \'Redo\' ],\n
-\t[ CTRL + 76 /*L*/, \'Link\' ],\n
-\t[ CTRL + 66 /*B*/, \'Bold\' ],\n
-\t[ CTRL + 73 /*I*/, \'Italic\' ],\n
-\t[ CTRL + 85 /*U*/, \'Underline\' ],\n
-\t[ CTRL + SHIFT + 83 /*S*/, \'Save\' ],\n
-\t[ CTRL + ALT + 13 /*ENTER*/, \'FitWindow\' ],\n
-\t[ SHIFT + 32 /*SPACE*/, \'Nbsp\' ]\n
-] ;\n
-\n
-FCKConfig.ContextMenu = [\'Generic\',\'Link\',\'Anchor\',\'Image\',\'Flash\',\'Select\',\'Textarea\',\'Checkbox\',\'Radio\',\'TextField\',\'HiddenField\',\'ImageButton\',\'Button\',\'BulletedList\',\'NumberedList\',\'Table\',\'Form\',\'DivContainer\'] ;\n
-FCKConfig.BrowserContextMenuOnCtrl = false ;\n
-FCKConfig.BrowserContextMenu = false ;\n
-\n
-FCKConfig.EnableMoreFontColors = true ;\n
-FCKConfig.FontColors = \'000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF\' ;\n
-\n
-FCKConfig.FontFormats\t= \'p;h1;h2;h3;h4;h5;h6;pre;address;div\' ;\n
-FCKConfig.FontNames\t\t= \'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana\' ;\n
-FCKConfig.FontSizes\t\t= \'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large\' ;\n
-\n
-FCKConfig.StylesXmlPath\t\t= FCKConfig.EditorPath + \'fckstyles.xml\' ;\n
-FCKConfig.TemplatesXmlPath\t= FCKConfig.EditorPath + \'fcktemplates.xml\' ;\n
-\n
-FCKConfig.SpellChecker\t\t\t= \'WSC\' ;\t// \'WSC\' | \'SpellerPages\' | \'ieSpell\'\n
-FCKConfig.IeSpellDownloadUrl\t= \'http://www.iespell.com/download.php\' ;\n
-FCKConfig.SpellerPagesServerScript = \'server-scripts/spellchecker.php\' ;\t// Available extension: .php .cfm .pl\n
-FCKConfig.FirefoxSpellChecker\t= false ;\n
-\n
-FCKConfig.MaxUndoLevels = 15 ;\n
-\n
-FCKConfig.DisableObjectResizing = false ;\n
-FCKConfig.DisableFFTableHandles = true ;\n
-\n
-FCKConfig.LinkDlgHideTarget\t\t= false ;\n
-FCKConfig.LinkDlgHideAdvanced\t= false ;\n
-\n
-FCKConfig.ImageDlgHideLink\t\t= false ;\n
-FCKConfig.ImageDlgHideAdvanced\t= false ;\n
-\n
-FCKConfig.FlashDlgHideAdvanced\t= false ;\n
-\n
-FCKConfig.ProtectedTags = \'\' ;\n
-\n
-// This will be applied to the body element of the editor\n
-FCKConfig.BodyId = \'\' ;\n
-FCKConfig.BodyClass = \'\' ;\n
-\n
-FCKConfig.DefaultStyleLabel = \'\' ;\n
-FCKConfig.DefaultFontFormatLabel = \'\' ;\n
-FCKConfig.DefaultFontLabel = \'\' ;\n
-FCKConfig.DefaultFontSizeLabel = \'\' ;\n
-\n
-FCKConfig.DefaultLinkTarget = \'\' ;\n
-\n
-// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word\n
-FCKConfig.CleanWordKeepsStructure = false ;\n
-\n
-// Only inline elements are valid.\n
-FCKConfig.RemoveFormatTags = \'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var\' ;\n
-\n
-// Attributes that will be removed\n
-FCKConfig.RemoveAttributes = \'class,style,lang,width,height,align,hspace,valign\' ;\n
-\n
-FCKConfig.CustomStyles =\n
-{\n
-\t\'Red Title\'\t: { Element : \'h3\', Styles : { \'color\' : \'Red\' } }\n
-};\n
-\n
-// Do not add, rename or remove styles here. Only apply definition changes.\n
-FCKConfig.CoreStyles =\n
-{\n
-\t// Basic Inline Styles.\n
-\t\'Bold\'\t\t\t: { Element : \'strong\', Overrides : \'b\' },\n
-\t\'Italic\'\t\t: { Element : \'em\', Overrides : \'i\' },\n
-\t\'Underline\'\t\t: { Element : \'u\' },\n
-\t\'StrikeThrough\'\t: { Element : \'strike\' },\n
-\t\'Subscript\'\t\t: { Element : \'sub\' },\n
-\t\'Superscript\'\t: { Element : \'sup\' },\n
-\n
-\t// Basic Block Styles (Font Format Combo).\n
-\t\'p\'\t\t\t\t: { Element : \'p\' },\n
-\t\'div\'\t\t\t: { Element : \'div\' },\n
-\t\'pre\'\t\t\t: { Element : \'pre\' },\n
-\t\'address\'\t\t: { Element : \'address\' },\n
-\t\'h1\'\t\t\t: { Element : \'h1\' },\n
-\t\'h2\'\t\t\t: { Element : \'h2\' },\n
-\t\'h3\'\t\t\t: { Element : \'h3\' },\n
-\t\'h4\'\t\t\t: { Element : \'h4\' },\n
-\t\'h5\'\t\t\t: { Element : \'h5\' },\n
-\t\'h6\'\t\t\t: { Element : \'h6\' },\n
-\n
-\t// Other formatting features.\n
-\t\'FontFace\' :\n
-\t{\n
-\t\tElement\t\t: \'span\',\n
-\t\tStyles\t\t: { \'font-family\' : \'#("Font")\' },\n
-\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'face\' : null } } ]\n
-\t},\n
-\n
-\t\'Size\' :\n
-\t{\n
-\t\tElement\t\t: \'span\',\n
-\t\tStyles\t\t: { \'font-size\' : \'#("Size","fontSize")\' },\n
-\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'size\' : null } } ]\n
-\t},\n
-\n
-\t\'Color\' :\n
-\t{\n
-\t\tElement\t\t: \'span\',\n
-\t\tStyles\t\t: { \'color\' : \'#("Color","color")\' },\n
-\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'color\' : null } } ]\n
-\t},\n
-\n
-\t\'BackColor\'\t\t: { Element : \'span\', Styles : { \'background-color\' : \'#("Color","color")\' } },\n
-\n
-\t\'SelectionHighlight\' : { Element : \'span\', Styles : { \'background-color\' : \'navy\', \'color\' : \'white\' } }\n
-};\n
-\n
-// The distance of an indentation step.\n
-FCKConfig.IndentLength = 40 ;\n
-FCKConfig.IndentUnit = \'px\' ;\n
-\n
-// Alternatively, FCKeditor allows the use of CSS classes for block indentation.\n
-// This overrides the IndentLength/IndentUnit settings.\n
-FCKConfig.IndentClasses = [] ;\n
-\n
-// [ Left, Center, Right, Justified ]\n
-FCKConfig.JustifyClasses = [] ;\n
-\n
-// The following value defines which File Browser connector and Quick Upload\n
-// "uploader" to use. It is valid for the default implementaion and it is here\n
-// just to make this configuration file cleaner.\n
-// It is not possible to change this value using an external file or even\n
-// inline when creating the editor instance. In that cases you must set the\n
-// values of LinkBrowserURL, ImageBrowserURL and so on.\n
-// Custom implementations should just ignore it.\n
-var _FileBrowserLanguage\t= \'php\' ;\t// asp | aspx | cfm | lasso | perl | php | py\n
-var _QuickUploadLanguage\t= \'php\' ;\t// asp | aspx | cfm | lasso | perl | php | py\n
-\n
-// Don\'t care about the following two lines. It just calculates the correct connector\n
-// extension to use for the default File Browser (Perl uses "cgi").\n
-var _FileBrowserExtension = _FileBrowserLanguage == \'perl\' ? \'cgi\' : _FileBrowserLanguage ;\n
-var _QuickUploadExtension = _QuickUploadLanguage == \'perl\' ? \'cgi\' : _QuickUploadLanguage ;\n
-\n
-FCKConfig.LinkBrowser = true ;\n
-FCKConfig.LinkBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\n
-FCKConfig.LinkBrowserWindowWidth\t= FCKConfig.ScreenWidth * 0.7 ;\t\t// 70%\n
-FCKConfig.LinkBrowserWindowHeight\t= FCKConfig.ScreenHeight * 0.7 ;\t// 70%\n
-\n
-FCKConfig.ImageBrowser = true ;\n
-FCKConfig.ImageBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Type=Image&Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\n
-FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;\t// 70% ;\n
-FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;\t// 70% ;\n
-\n
-FCKConfig.FlashBrowser = true ;\n
-FCKConfig.FlashBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Type=Flash&Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\n
-FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;\t//70% ;\n
-FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;\t//70% ;\n
-\n
-FCKConfig.LinkUpload = true ;\n
-FCKConfig.LinkUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension ;\n
-FCKConfig.LinkUploadAllowedExtensions\t= ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ;\t\t\t// empty for all\n
-FCKConfig.LinkUploadDeniedExtensions\t= "" ;\t// empty for no one\n
-\n
-FCKConfig.ImageUpload = true ;\n
-FCKConfig.ImageUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension + \'?Type=Image\' ;\n
-FCKConfig.ImageUploadAllowedExtensions\t= ".(jpg|gif|jpeg|png|bmp)$" ;\t\t// empty for all\n
-FCKConfig.ImageUploadDeniedExtensions\t= "" ;\t\t\t\t\t\t\t// empty for no one\n
-\n
-FCKConfig.FlashUpload = true ;\n
-FCKConfig.FlashUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension + \'?Type=Flash\' ;\n
-FCKConfig.FlashUploadAllowedExtensions\t= ".(swf|flv)$" ;\t\t// empty for all\n
-FCKConfig.FlashUploadDeniedExtensions\t= "" ;\t\t\t\t\t// empty for no one\n
-\n
-FCKConfig.SmileyPath\t= FCKConfig.BasePath + \'images/smiley/msn/\' ;\n
-FCKConfig.SmileyImages\t= [\'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\'] ;\n
-FCKConfig.SmileyColumns = 8 ;\n
-FCKConfig.SmileyWindowWidth\t\t= 320 ;\n
-FCKConfig.SmileyWindowHeight\t= 210 ;\n
-\n
-FCKConfig.BackgroundBlockerColor = \'#ffffff\' ;\n
-FCKConfig.BackgroundBlockerOpacity = 0.50 ;\n
-\n
-FCKConfig.MsWebBrowserControlCompat = false ;\n
-\n
-FCKConfig.PreventSubmitHandler = false ;\n
-\n
-// toolbar set for erp5_web\n
-FCKConfig.ToolbarSets["ERP5WebZopeCmf"] = [\n
-  [\'Source\',\'-\',\'Templates\'],\n
-  [\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteWord\',\'-\'],\n
-  [\'Undo\',\'Redo\',\'-\',\'Find\',\'Replace\',\'-\',\'SelectAll\',\'RemoveFormat\'],\n
-  [\'Bold\',\'Italic\',\'Underline\',\'StrikeThrough\',\'-\',\'Subscript\',\'Superscript\'],\n
-  [\'OrderedList\',\'UnorderedList\',\'-\',\'Outdent\',\'Indent\'],\n
-  [\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyFull\'],\n
-  [\'Link\',\'Unlink\',\'Anchor\'],\n
-  [\'Image\',\'Table\',\'Rule\',\'SpecialChar\'],\n
-  [\'TextColor\',\'BGColor\'],\n
-  \'/\',\n
-  [\'Style\',\'FontFormat\',\'FontName\',\'FontSize\'],\n
-];\n
+/*\r\n
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r\n
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r\n
+ *\r\n
+ * == BEGIN LICENSE ==\r\n
+ *\r\n
+ * Licensed under the terms of any of the following licenses at your\r\n
+ * choice:\r\n
+ *\r\n
+ *  - GNU General Public License Version 2 or later (the "GPL")\r\n
+ *    http://www.gnu.org/licenses/gpl.html\r\n
+ *\r\n
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r\n
+ *    http://www.gnu.org/licenses/lgpl.html\r\n
+ *\r\n
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r\n
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r\n
+ *\r\n
+ * == END LICENSE ==\r\n
+ *\r\n
+ * Editor configuration settings.\r\n
+ *\r\n
+ * Follow this link for more information:\r\n
+ * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options\r\n
+ */\r\n
+\r\n
+FCKConfig.CustomConfigurationsPath = \'\' ;\r\n
+\r\n
+FCKConfig.EditorAreaCSS = FCKConfig.BasePath + \'css/fck_editorarea.css\' ;\r\n
+FCKConfig.EditorAreaStyles = \'\' ;\r\n
+FCKConfig.ToolbarComboPreviewCSS = \'\' ;\r\n
+\r\n
+FCKConfig.DocType = \'\' ;\r\n
+\r\n
+FCKConfig.BaseHref = \'\' ;\r\n
+\r\n
+FCKConfig.FullPage = false ;\r\n
+\r\n
+// The following option determines whether the "Show Blocks" feature is enabled or not at startup.\r\n
+FCKConfig.StartupShowBlocks = false ;\r\n
+\r\n
+FCKConfig.Debug = false ;\r\n
+FCKConfig.AllowQueryStringDebug = true ;\r\n
+\r\n
+FCKConfig.SkinPath = FCKConfig.BasePath + \'skins/default/\' ;\r\n
+FCKConfig.SkinEditorCSS = \'\' ;\t// FCKConfig.SkinPath + "|<minified css>" ;\r\n
+FCKConfig.SkinDialogCSS = \'\' ;\t// FCKConfig.SkinPath + "|<minified css>" ;\r\n
+\r\n
+FCKConfig.PreloadImages = [ FCKConfig.SkinPath + \'images/toolbar.start.gif\', FCKConfig.SkinPath + \'images/toolbar.buttonarrow.gif\' ] ;\r\n
+\r\n
+FCKConfig.PluginsPath = FCKConfig.BasePath + \'plugins/\' ;\r\n
+\r\n
+// FCKConfig.Plugins.Add( \'autogrow\' ) ;\r\n
+// FCKConfig.Plugins.Add( \'dragresizetable\' );\r\n
+FCKConfig.AutoGrowMax = 400 ;\r\n
+\r\n
+// FCKConfig.ProtectedSource.Add( /<%[\\s\\S]*?%>/g ) ;\t// ASP style server side code <%...%>\r\n
+// FCKConfig.ProtectedSource.Add( /<\\?[\\s\\S]*?\\?>/g ) ;\t// PHP style server side code\r\n
+// FCKConfig.ProtectedSource.Add( /(<asp:[^\\>]+>[\\s|\\S]*?<\\/asp:[^\\>]+>)|(<asp:[^\\>]+\\/>)/gi ) ;\t// ASP.Net style tags <asp:control>\r\n
+\r\n
+FCKConfig.AutoDetectLanguage\t= true ;\r\n
+FCKConfig.DefaultLanguage\t\t= \'en\' ;\r\n
+FCKConfig.ContentLangDirection\t= \'ltr\' ;\r\n
+\r\n
+FCKConfig.ProcessHTMLEntities\t= true ;\r\n
+FCKConfig.IncludeLatinEntities\t= true ;\r\n
+FCKConfig.IncludeGreekEntities\t= true ;\r\n
+\r\n
+FCKConfig.ProcessNumericEntities = false ;\r\n
+\r\n
+FCKConfig.AdditionalNumericEntities = \'\'  ;\t\t// Single Quote: "\'"\r\n
+\r\n
+FCKConfig.FillEmptyBlocks\t= true ;\r\n
+\r\n
+FCKConfig.FormatSource\t\t= true ;\r\n
+FCKConfig.FormatOutput\t\t= true ;\r\n
+FCKConfig.FormatIndentator\t= \'    \' ;\r\n
+\r\n
+FCKConfig.EMailProtection = \'none\' ; // none | encode | function\r\n
+FCKConfig.EMailProtectionFunction = \'mt(NAME,DOMAIN,SUBJECT,BODY)\' ;\r\n
+\r\n
+FCKConfig.StartupFocus\t= false ;\r\n
+FCKConfig.ForcePasteAsPlainText\t= false ;\r\n
+FCKConfig.AutoDetectPasteFromWord = true ;\t// IE only.\r\n
+FCKConfig.ShowDropDialog = true ;\r\n
+FCKConfig.ForceSimpleAmpersand\t= false ;\r\n
+FCKConfig.TabSpaces\t\t= 0 ;\r\n
+FCKConfig.ShowBorders\t= true ;\r\n
+FCKConfig.SourcePopup\t= false ;\r\n
+FCKConfig.ToolbarStartExpanded\t= true ;\r\n
+FCKConfig.ToolbarCanCollapse\t= true ;\r\n
+FCKConfig.IgnoreEmptyParagraphValue = true ;\r\n
+FCKConfig.FloatingPanelsZIndex = 10000 ;\r\n
+FCKConfig.HtmlEncodeOutput = false ;\r\n
+\r\n
+FCKConfig.TemplateReplaceAll = true ;\r\n
+FCKConfig.TemplateReplaceCheckbox = true ;\r\n
+\r\n
+FCKConfig.ToolbarLocation = \'In\' ;\r\n
+\r\n
+FCKConfig.ToolbarSets["Default"] = [\r\n
+\t[\'Source\',\'DocProps\',\'-\',\'Save\',\'NewPage\',\'Preview\',\'-\',\'Templates\'],\r\n
+\t[\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteWord\',\'-\',\'Print\',\'SpellCheck\'],\r\n
+\t[\'Undo\',\'Redo\',\'-\',\'Find\',\'Replace\',\'-\',\'SelectAll\',\'RemoveFormat\'],\r\n
+\t[\'Form\',\'Checkbox\',\'Radio\',\'TextField\',\'Textarea\',\'Select\',\'Button\',\'ImageButton\',\'HiddenField\'],\r\n
+\t\'/\',\r\n
+\t[\'Bold\',\'Italic\',\'Underline\',\'StrikeThrough\',\'-\',\'Subscript\',\'Superscript\'],\r\n
+\t[\'OrderedList\',\'UnorderedList\',\'-\',\'Outdent\',\'Indent\',\'Blockquote\',\'CreateDiv\'],\r\n
+\t[\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyFull\'],\r\n
+\t[\'Link\',\'Unlink\',\'Anchor\'],\r\n
+\t[\'Image\',\'Flash\',\'Table\',\'Rule\',\'Smiley\',\'SpecialChar\',\'PageBreak\'],\r\n
+\t\'/\',\r\n
+\t[\'Style\',\'FontFormat\',\'FontName\',\'FontSize\'],\r\n
+\t[\'TextColor\',\'BGColor\'],\r\n
+\t[\'FitWindow\',\'ShowBlocks\',\'-\',\'About\']\t\t// No comma for the last row.\r\n
+] ;\r\n
+\r\n
+FCKConfig.ToolbarSets["Basic"] = [\r\n
+\t[\'Bold\',\'Italic\',\'-\',\'OrderedList\',\'UnorderedList\',\'-\',\'Link\',\'Unlink\',\'-\',\'About\']\r\n
+] ;\r\n
+\r\n
+FCKConfig.EnterMode = \'p\' ;\t\t\t// p | div | br\r\n
+FCKConfig.ShiftEnterMode = \'br\' ;\t// p | div | br\r\n
+\r\n
+FCKConfig.Keystrokes = [\r\n
+\t[ CTRL + 65 /*A*/, true ],\r\n
+\t[ CTRL + 67 /*C*/, true ],\r\n
+\t[ CTRL + 70 /*F*/, true ],\r\n
+\t[ CTRL + 83 /*S*/, true ],\r\n
+\t[ CTRL + 84 /*T*/, true ],\r\n
+\t[ CTRL + 88 /*X*/, true ],\r\n
+\t[ CTRL + 86 /*V*/, \'Paste\' ],\r\n
+\t[ CTRL + 45 /*INS*/, true ],\r\n
+\t[ SHIFT + 45 /*INS*/, \'Paste\' ],\r\n
+\t[ CTRL + 88 /*X*/, \'Cut\' ],\r\n
+\t[ SHIFT + 46 /*DEL*/, \'Cut\' ],\r\n
+\t[ CTRL + 90 /*Z*/, \'Undo\' ],\r\n
+\t[ CTRL + 89 /*Y*/, \'Redo\' ],\r\n
+\t[ CTRL + SHIFT + 90 /*Z*/, \'Redo\' ],\r\n
+\t[ CTRL + 76 /*L*/, \'Link\' ],\r\n
+\t[ CTRL + 66 /*B*/, \'Bold\' ],\r\n
+\t[ CTRL + 73 /*I*/, \'Italic\' ],\r\n
+\t[ CTRL + 85 /*U*/, \'Underline\' ],\r\n
+\t[ CTRL + SHIFT + 83 /*S*/, \'Save\' ],\r\n
+\t[ CTRL + ALT + 13 /*ENTER*/, \'FitWindow\' ],\r\n
+\t[ SHIFT + 32 /*SPACE*/, \'Nbsp\' ]\r\n
+] ;\r\n
+\r\n
+FCKConfig.ContextMenu = [\'Generic\',\'Link\',\'Anchor\',\'Image\',\'Flash\',\'Select\',\'Textarea\',\'Checkbox\',\'Radio\',\'TextField\',\'HiddenField\',\'ImageButton\',\'Button\',\'BulletedList\',\'NumberedList\',\'Table\',\'Form\',\'DivContainer\'] ;\r\n
+FCKConfig.BrowserContextMenuOnCtrl = false ;\r\n
+FCKConfig.BrowserContextMenu = false ;\r\n
+\r\n
+FCKConfig.EnableMoreFontColors = true ;\r\n
+FCKConfig.FontColors = \'000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF\' ;\r\n
+\r\n
+FCKConfig.FontFormats\t= \'p;h1;h2;h3;h4;h5;h6;pre;address;div\' ;\r\n
+FCKConfig.FontNames\t\t= \'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana\' ;\r\n
+FCKConfig.FontSizes\t\t= \'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large\' ;\r\n
+\r\n
+FCKConfig.StylesXmlPath\t\t= FCKConfig.EditorPath + \'fckstyles.xml\' ;\r\n
+FCKConfig.TemplatesXmlPath\t= FCKConfig.EditorPath + \'fcktemplates.xml\' ;\r\n
+\r\n
+FCKConfig.SpellChecker\t\t\t= \'WSC\' ;\t// \'WSC\' | \'SCAYT\' | \'SpellerPages\' | \'ieSpell\'\r\n
+FCKConfig.IeSpellDownloadUrl\t= \'http://www.iespell.com/download.php\' ;\r\n
+FCKConfig.SpellerPagesServerScript = \'server-scripts/spellchecker.php\' ;\t// Available extension: .php .cfm .pl\r\n
+FCKConfig.FirefoxSpellChecker\t= false ;\r\n
+\r\n
+FCKConfig.MaxUndoLevels = 15 ;\r\n
+\r\n
+FCKConfig.DisableObjectResizing = false ;\r\n
+FCKConfig.DisableFFTableHandles = true ;\r\n
+\r\n
+FCKConfig.LinkDlgHideTarget\t\t= false ;\r\n
+FCKConfig.LinkDlgHideAdvanced\t= false ;\r\n
+\r\n
+FCKConfig.ImageDlgHideLink\t\t= false ;\r\n
+FCKConfig.ImageDlgHideAdvanced\t= false ;\r\n
+\r\n
+FCKConfig.FlashDlgHideAdvanced\t= false ;\r\n
+\r\n
+FCKConfig.ProtectedTags = \'\' ;\r\n
+\r\n
+// This will be applied to the body element of the editor\r\n
+FCKConfig.BodyId = \'\' ;\r\n
+FCKConfig.BodyClass = \'\' ;\r\n
+\r\n
+FCKConfig.DefaultStyleLabel = \'\' ;\r\n
+FCKConfig.DefaultFontFormatLabel = \'\' ;\r\n
+FCKConfig.DefaultFontLabel = \'\' ;\r\n
+FCKConfig.DefaultFontSizeLabel = \'\' ;\r\n
+\r\n
+FCKConfig.DefaultLinkTarget = \'\' ;\r\n
+\r\n
+// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word\r\n
+FCKConfig.CleanWordKeepsStructure = false ;\r\n
+\r\n
+// Only inline elements are valid.\r\n
+FCKConfig.RemoveFormatTags = \'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var\' ;\r\n
+\r\n
+// Attributes that will be removed\r\n
+FCKConfig.RemoveAttributes = \'class,style,lang,width,height,align,hspace,valign\' ;\r\n
+\r\n
+FCKConfig.CustomStyles =\r\n
+{\r\n
+\t\'Red Title\'\t: { Element : \'h3\', Styles : { \'color\' : \'Red\' } }\r\n
+};\r\n
+\r\n
+// Do not add, rename or remove styles here. Only apply definition changes.\r\n
+FCKConfig.CoreStyles =\r\n
+{\r\n
+\t// Basic Inline Styles.\r\n
+\t\'Bold\'\t\t\t: { Element : \'strong\', Overrides : \'b\' },\r\n
+\t\'Italic\'\t\t: { Element : \'em\', Overrides : \'i\' },\r\n
+\t\'Underline\'\t\t: { Element : \'u\' },\r\n
+\t\'StrikeThrough\'\t: { Element : \'strike\' },\r\n
+\t\'Subscript\'\t\t: { Element : \'sub\' },\r\n
+\t\'Superscript\'\t: { Element : \'sup\' },\r\n
+\r\n
+\t// Basic Block Styles (Font Format Combo).\r\n
+\t\'p\'\t\t\t\t: { Element : \'p\' },\r\n
+\t\'div\'\t\t\t: { Element : \'div\' },\r\n
+\t\'pre\'\t\t\t: { Element : \'pre\' },\r\n
+\t\'address\'\t\t: { Element : \'address\' },\r\n
+\t\'h1\'\t\t\t: { Element : \'h1\' },\r\n
+\t\'h2\'\t\t\t: { Element : \'h2\' },\r\n
+\t\'h3\'\t\t\t: { Element : \'h3\' },\r\n
+\t\'h4\'\t\t\t: { Element : \'h4\' },\r\n
+\t\'h5\'\t\t\t: { Element : \'h5\' },\r\n
+\t\'h6\'\t\t\t: { Element : \'h6\' },\r\n
+\r\n
+\t// Other formatting features.\r\n
+\t\'FontFace\' :\r\n
+\t{\r\n
+\t\tElement\t\t: \'span\',\r\n
+\t\tStyles\t\t: { \'font-family\' : \'#("Font")\' },\r\n
+\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'face\' : null } } ]\r\n
+\t},\r\n
+\r\n
+\t\'Size\' :\r\n
+\t{\r\n
+\t\tElement\t\t: \'span\',\r\n
+\t\tStyles\t\t: { \'font-size\' : \'#("Size","fontSize")\' },\r\n
+\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'size\' : null } } ]\r\n
+\t},\r\n
+\r\n
+\t\'Color\' :\r\n
+\t{\r\n
+\t\tElement\t\t: \'span\',\r\n
+\t\tStyles\t\t: { \'color\' : \'#("Color","color")\' },\r\n
+\t\tOverrides\t: [ { Element : \'font\', Attributes : { \'color\' : null } } ]\r\n
+\t},\r\n
+\r\n
+\t\'BackColor\'\t\t: { Element : \'span\', Styles : { \'background-color\' : \'#("Color","color")\' } },\r\n
+\r\n
+\t\'SelectionHighlight\' : { Element : \'span\', Styles : { \'background-color\' : \'navy\', \'color\' : \'white\' } }\r\n
+};\r\n
+\r\n
+// The distance of an indentation step.\r\n
+FCKConfig.IndentLength = 40 ;\r\n
+FCKConfig.IndentUnit = \'px\' ;\r\n
+\r\n
+// Alternatively, FCKeditor allows the use of CSS classes for block indentation.\r\n
+// This overrides the IndentLength/IndentUnit settings.\r\n
+FCKConfig.IndentClasses = [] ;\r\n
+\r\n
+// [ Left, Center, Right, Justified ]\r\n
+FCKConfig.JustifyClasses = [] ;\r\n
+\r\n
+// The following value defines which File Browser connector and Quick Upload\r\n
+// "uploader" to use. It is valid for the default implementaion and it is here\r\n
+// just to make this configuration file cleaner.\r\n
+// It is not possible to change this value using an external file or even\r\n
+// inline when creating the editor instance. In that cases you must set the\r\n
+// values of LinkBrowserURL, ImageBrowserURL and so on.\r\n
+// Custom implementations should just ignore it.\r\n
+var _FileBrowserLanguage\t= \'php\' ;\t// asp | aspx | cfm | lasso | perl | php | py\r\n
+var _QuickUploadLanguage\t= \'php\' ;\t// asp | aspx | cfm | lasso | perl | php | py\r\n
+\r\n
+// Don\'t care about the following two lines. It just calculates the correct connector\r\n
+// extension to use for the default File Browser (Perl uses "cgi").\r\n
+var _FileBrowserExtension = _FileBrowserLanguage == \'perl\' ? \'cgi\' : _FileBrowserLanguage ;\r\n
+var _QuickUploadExtension = _QuickUploadLanguage == \'perl\' ? \'cgi\' : _QuickUploadLanguage ;\r\n
+\r\n
+FCKConfig.LinkBrowser = true ;\r\n
+FCKConfig.LinkBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\r\n
+FCKConfig.LinkBrowserWindowWidth\t= FCKConfig.ScreenWidth * 0.7 ;\t\t// 70%\r\n
+FCKConfig.LinkBrowserWindowHeight\t= FCKConfig.ScreenHeight * 0.7 ;\t// 70%\r\n
+\r\n
+FCKConfig.ImageBrowser = true ;\r\n
+FCKConfig.ImageBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Type=Image&Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\r\n
+FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;\t// 70% ;\r\n
+FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;\t// 70% ;\r\n
+\r\n
+FCKConfig.FlashBrowser = true ;\r\n
+FCKConfig.FlashBrowserURL = FCKConfig.BasePath + \'filemanager/browser/default/browser.html?Type=Flash&Connector=\' + encodeURIComponent( FCKConfig.BasePath + \'filemanager/connectors/\' + _FileBrowserLanguage + \'/connector.\' + _FileBrowserExtension ) ;\r\n
+FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;\t//70% ;\r\n
+FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;\t//70% ;\r\n
+\r\n
+FCKConfig.LinkUpload = true ;\r\n
+FCKConfig.LinkUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension ;\r\n
+FCKConfig.LinkUploadAllowedExtensions\t= ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ;\t\t\t// empty for all\r\n
+FCKConfig.LinkUploadDeniedExtensions\t= "" ;\t// empty for no one\r\n
+\r\n
+FCKConfig.ImageUpload = true ;\r\n
+FCKConfig.ImageUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension + \'?Type=Image\' ;\r\n
+FCKConfig.ImageUploadAllowedExtensions\t= ".(jpg|gif|jpeg|png|bmp)$" ;\t\t// empty for all\r\n
+FCKConfig.ImageUploadDeniedExtensions\t= "" ;\t\t\t\t\t\t\t// empty for no one\r\n
+\r\n
+FCKConfig.FlashUpload = true ;\r\n
+FCKConfig.FlashUploadURL = FCKConfig.BasePath + \'filemanager/connectors/\' + _QuickUploadLanguage + \'/upload.\' + _QuickUploadExtension + \'?Type=Flash\' ;\r\n
+FCKConfig.FlashUploadAllowedExtensions\t= ".(swf|flv)$" ;\t\t// empty for all\r\n
+FCKConfig.FlashUploadDeniedExtensions\t= "" ;\t\t\t\t\t// empty for no one\r\n
+\r\n
+FCKConfig.SmileyPath\t= FCKConfig.BasePath + \'images/smiley/msn/\' ;\r\n
+FCKConfig.SmileyImages\t= [\'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\'] ;\r\n
+FCKConfig.SmileyColumns = 8 ;\r\n
+FCKConfig.SmileyWindowWidth\t\t= 320 ;\r\n
+FCKConfig.SmileyWindowHeight\t= 210 ;\r\n
+\r\n
+FCKConfig.BackgroundBlockerColor = \'#ffffff\' ;\r\n
+FCKConfig.BackgroundBlockerOpacity = 0.50 ;\r\n
+\r\n
+FCKConfig.MsWebBrowserControlCompat = false ;\r\n
+\r\n
+FCKConfig.PreventSubmitHandler = false ;\r\n
+\r\n
+// toolbar set for erp5_web\r\n
+FCKConfig.ToolbarSets["ERP5WebZopeCmf"] = [\r\n
+  [\'Source\',\'-\',\'Templates\'],\r\n
+  [\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteWord\',\'-\'],\r\n
+  [\'Undo\',\'Redo\',\'-\',\'Find\',\'Replace\',\'-\',\'SelectAll\',\'RemoveFormat\'],\r\n
+  [\'Bold\',\'Italic\',\'Underline\',\'StrikeThrough\',\'-\',\'Subscript\',\'Superscript\'],\r\n
+  [\'OrderedList\',\'UnorderedList\',\'-\',\'Outdent\',\'Indent\'],\r\n
+  [\'JustifyLeft\',\'JustifyCenter\',\'JustifyRight\',\'JustifyFull\'],\r\n
+  [\'Link\',\'Unlink\',\'Anchor\'],\r\n
+  [\'Image\',\'Table\',\'Rule\',\'SpecialChar\'],\r\n
+  [\'TextColor\',\'BGColor\'],\r\n
+  \'/\',\r\n
+  [\'Style\',\'FontFormat\',\'FontName\',\'FontSize\'],\r\n
+];\r\n
 
 
 ]]></string> </value>
@@ -373,7 +379,7 @@ FCKConfig.ToolbarSets["ERP5WebZopeCmf"] = [\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>13997</int> </value>
+            <value> <int>14538</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor.js.xml
index 578d452cce..246a2b6c86 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor.js.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckeditor.js.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts49309716.93</string> </value>
+            <value> <string>ts60538662.65</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -90,8 +90,8 @@ FCKeditor.MinHeight = 200 ;\r\n
  */\r\n
 FCKeditor.MinWidth = 750 ;\r\n
 \r\n
-FCKeditor.prototype.Version\t\t\t= \'2.6.4.1\' ;\r\n
-FCKeditor.prototype.VersionBuild\t= \'23187\' ;\r\n
+FCKeditor.prototype.Version\t\t\t= \'2.6.5\' ;\r\n
+FCKeditor.prototype.VersionBuild\t= \'23959\' ;\r\n
 \r\n
 FCKeditor.prototype.Create = function()\r\n
 {\r\n
@@ -369,7 +369,7 @@ function FCKeditor_IsCompatibleBrowser()\r\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>9608</int> </value>
+            <value> <int>9606</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckpackager.xml.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckpackager.xml.xml
index 68e9470e14..edf9896f23 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckpackager.xml.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/fckpackager.xml.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts45749204.76</string> </value>
+            <value> <string>ts60538662.65</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -175,6 +175,7 @@
 \t\t\074File path="editor/_source/classes/fcktoolbarfontscombo.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarfontsizecombo.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarpanelbutton.js" /\076\r\n
+\t\t\074File path="editor/_source/internals/fckscayt.js" /\076\r\n
 \t\t\074File path="editor/_source/internals/fcktoolbaritems.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbar.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarbreak_ie.js" /\076\r\n
@@ -271,6 +272,7 @@
 \t\t\074File path="editor/_source/classes/fcktoolbarfontscombo.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarfontsizecombo.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarpanelbutton.js" /\076\r\n
+\t\t\074File path="editor/_source/internals/fckscayt.js" /\076\r\n
 \t\t\074File path="editor/_source/internals/fcktoolbaritems.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbar.js" /\076\r\n
 \t\t\074File path="editor/_source/classes/fcktoolbarbreak_gecko.js" /\076\r\n
@@ -297,7 +299,7 @@
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <long>13201</long> </value>
+            <value> <int>13313</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
index f4a133226e..c0ba0c7ff0 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
@@ -1,3 +1,6 @@
+2009-12-11 Kazuhiko
+* update FCKeditor to 2.6.5.
+
 2009-11-19 yo
 * Use preferred user interface languages to choose which languages should be displayed in the navigation box. If not defined, display all.
 
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 707e257499..90064a9062 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-853
\ No newline at end of file
+854
\ No newline at end of file
-- 
2.30.9