/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

/**
 * @author Nguyen Ba Uoc
 */

if(!eXo.core.html) {
  eXo.core.html = {} ;
}

eXo.core.html.HTMLEntities = [] ;

eXo.core.html.HTMLEntities['nbsp'] = 32 ;
eXo.core.html.HTMLEntities['iexcl'] = 161 ;
eXo.core.html.HTMLEntities['cent'] = 162 ;
eXo.core.html.HTMLEntities['pound'] = 163 ;
eXo.core.html.HTMLEntities['curren'] = 164 ;
eXo.core.html.HTMLEntities['yen'] = 165 ;
eXo.core.html.HTMLEntities['brvbar'] = 166 ;
eXo.core.html.HTMLEntities['sect'] = 167 ;
eXo.core.html.HTMLEntities['uml'] = 168 ;
eXo.core.html.HTMLEntities['copy'] = 169 ;
eXo.core.html.HTMLEntities['ordf'] = 170 ;
eXo.core.html.HTMLEntities['laquo'] = 171 ;
eXo.core.html.HTMLEntities['not'] = 172 ;
eXo.core.html.HTMLEntities['shy'] = 173 ;
eXo.core.html.HTMLEntities['reg'] = 174 ;
eXo.core.html.HTMLEntities['macr'] = 175 ;
eXo.core.html.HTMLEntities['deg'] = 176 ;
eXo.core.html.HTMLEntities['plusmn'] = 177 ;
eXo.core.html.HTMLEntities['sup2'] = 178 ;
eXo.core.html.HTMLEntities['sup3'] = 179 ;
eXo.core.html.HTMLEntities['acute'] = 180 ;
eXo.core.html.HTMLEntities['micro'] = 181 ;
eXo.core.html.HTMLEntities['para'] = 182 ;
eXo.core.html.HTMLEntities['middot'] = 183 ;
eXo.core.html.HTMLEntities['cedil'] = 184 ;
eXo.core.html.HTMLEntities['sup1'] = 185 ;
eXo.core.html.HTMLEntities['ordm'] = 186 ;
eXo.core.html.HTMLEntities['raquo'] = 187 ;
eXo.core.html.HTMLEntities['frac14'] = 188 ;
eXo.core.html.HTMLEntities['frac12'] = 189 ;
eXo.core.html.HTMLEntities['frac34'] = 190 ;
eXo.core.html.HTMLEntities['iquest'] = 191 ;
eXo.core.html.HTMLEntities['Agrave'] = 192 ;
eXo.core.html.HTMLEntities['Aacute'] = 193 ;
eXo.core.html.HTMLEntities['Acirc'] = 194 ;
eXo.core.html.HTMLEntities['Atilde'] = 195 ;
eXo.core.html.HTMLEntities['Auml'] = 196 ;
eXo.core.html.HTMLEntities['Aring'] = 197 ;
eXo.core.html.HTMLEntities['AElig'] = 198 ;
eXo.core.html.HTMLEntities['Ccedil'] = 199 ;
eXo.core.html.HTMLEntities['Egrave'] = 200 ;
eXo.core.html.HTMLEntities['Eacute'] = 201 ;
eXo.core.html.HTMLEntities['Ecirc'] = 202 ;
eXo.core.html.HTMLEntities['Euml'] = 203 ;
eXo.core.html.HTMLEntities['Igrave'] = 204 ;
eXo.core.html.HTMLEntities['Iacute'] = 205 ;
eXo.core.html.HTMLEntities['Icirc'] = 206 ;
eXo.core.html.HTMLEntities['Iuml'] = 207 ;
eXo.core.html.HTMLEntities['ETH'] = 208 ;
eXo.core.html.HTMLEntities['Ntilde'] = 209 ;
eXo.core.html.HTMLEntities['Ograve'] = 210 ;
eXo.core.html.HTMLEntities['Oacute'] = 211 ;
eXo.core.html.HTMLEntities['Ocirc'] = 212 ;
eXo.core.html.HTMLEntities['Otilde'] = 213 ;
eXo.core.html.HTMLEntities['Ouml'] = 214 ;
eXo.core.html.HTMLEntities['times'] = 215 ;
eXo.core.html.HTMLEntities['Oslash'] = 216 ;
eXo.core.html.HTMLEntities['Ugrave'] = 217 ;
eXo.core.html.HTMLEntities['Uacute'] = 218 ;
eXo.core.html.HTMLEntities['Ucirc'] = 219 ;
eXo.core.html.HTMLEntities['Uuml'] = 220 ;
eXo.core.html.HTMLEntities['Yacute'] = 221 ;
eXo.core.html.HTMLEntities['THORN'] = 222 ;
eXo.core.html.HTMLEntities['szlig'] = 223 ;
eXo.core.html.HTMLEntities['agrave'] = 224 ;
eXo.core.html.HTMLEntities['aacute'] = 225 ;
eXo.core.html.HTMLEntities['acirc'] = 226 ;
eXo.core.html.HTMLEntities['atilde'] = 227 ;
eXo.core.html.HTMLEntities['auml'] = 228 ;
eXo.core.html.HTMLEntities['aring'] = 229 ;
eXo.core.html.HTMLEntities['aelig'] = 230 ;
eXo.core.html.HTMLEntities['ccedil'] = 231 ;
eXo.core.html.HTMLEntities['egrave'] = 232 ;
eXo.core.html.HTMLEntities['eacute'] = 233 ;
eXo.core.html.HTMLEntities['ecirc'] = 234 ;
eXo.core.html.HTMLEntities['euml'] = 235 ;
eXo.core.html.HTMLEntities['igrave'] = 236 ;
eXo.core.html.HTMLEntities['iacute'] = 237 ;
eXo.core.html.HTMLEntities['icirc'] = 238 ;
eXo.core.html.HTMLEntities['iuml'] = 239 ;
eXo.core.html.HTMLEntities['eth'] = 240 ;
eXo.core.html.HTMLEntities['ntilde'] = 241 ;
eXo.core.html.HTMLEntities['ograve'] = 242 ;
eXo.core.html.HTMLEntities['oacute'] = 243 ;
eXo.core.html.HTMLEntities['ocirc'] = 244 ;
eXo.core.html.HTMLEntities['otilde'] = 245 ;
eXo.core.html.HTMLEntities['ouml'] = 246 ;
eXo.core.html.HTMLEntities['divide'] = 247 ;
eXo.core.html.HTMLEntities['oslash'] = 248 ;
eXo.core.html.HTMLEntities['ugrave'] = 249 ;
eXo.core.html.HTMLEntities['uacute'] = 250 ;
eXo.core.html.HTMLEntities['ucirc'] = 251 ;
eXo.core.html.HTMLEntities['uuml'] = 252 ;
eXo.core.html.HTMLEntities['yacute'] = 253 ;
eXo.core.html.HTMLEntities['thorn'] = 254 ;
eXo.core.html.HTMLEntities['yuml'] = 255 ;
eXo.core.html.HTMLEntities['fnof'] = 402 ;
eXo.core.html.HTMLEntities['Alpha'] = 913 ;
eXo.core.html.HTMLEntities['Beta'] = 914 ;
eXo.core.html.HTMLEntities['Gamma'] = 915 ;
eXo.core.html.HTMLEntities['Delta'] = 916 ;
eXo.core.html.HTMLEntities['Epsilon'] = 917 ;
eXo.core.html.HTMLEntities['Zeta'] = 918 ;
eXo.core.html.HTMLEntities['Eta'] = 919 ;
eXo.core.html.HTMLEntities['Theta'] = 920 ;
eXo.core.html.HTMLEntities['Iota'] = 921 ;
eXo.core.html.HTMLEntities['Kappa'] = 922 ;
eXo.core.html.HTMLEntities['Lambda'] = 923 ;
eXo.core.html.HTMLEntities['Mu'] = 924 ;
eXo.core.html.HTMLEntities['Nu'] = 925 ;
eXo.core.html.HTMLEntities['Xi'] = 926 ;
eXo.core.html.HTMLEntities['Omicron'] = 927 ;
eXo.core.html.HTMLEntities['Pi'] = 928 ;
eXo.core.html.HTMLEntities['Rho'] = 929 ;
eXo.core.html.HTMLEntities['Sigma'] = 931 ;
eXo.core.html.HTMLEntities['Tau'] = 932 ;
eXo.core.html.HTMLEntities['Upsilon'] = 933 ;
eXo.core.html.HTMLEntities['Phi'] = 934 ;
eXo.core.html.HTMLEntities['Chi'] = 935 ;
eXo.core.html.HTMLEntities['Psi'] = 936 ;
eXo.core.html.HTMLEntities['Omega'] = 937 ;
eXo.core.html.HTMLEntities['alpha'] = 945 ;
eXo.core.html.HTMLEntities['beta'] = 946 ;
eXo.core.html.HTMLEntities['gamma'] = 947 ;
eXo.core.html.HTMLEntities['delta'] = 948 ;
eXo.core.html.HTMLEntities['epsilon'] = 949 ;
eXo.core.html.HTMLEntities['zeta'] = 950 ;
eXo.core.html.HTMLEntities['eta'] = 951 ;
eXo.core.html.HTMLEntities['theta'] = 952 ;
eXo.core.html.HTMLEntities['iota'] = 953 ;
eXo.core.html.HTMLEntities['kappa'] = 954 ;
eXo.core.html.HTMLEntities['lambda'] = 955 ;
eXo.core.html.HTMLEntities['mu'] = 956 ;
eXo.core.html.HTMLEntities['nu'] = 957 ;
eXo.core.html.HTMLEntities['xi'] = 958 ;
eXo.core.html.HTMLEntities['omicron'] = 959 ;
eXo.core.html.HTMLEntities['pi'] = 960 ;
eXo.core.html.HTMLEntities['rho'] = 961 ;
eXo.core.html.HTMLEntities['sigmaf'] = 962 ;
eXo.core.html.HTMLEntities['sigma'] = 963 ;
eXo.core.html.HTMLEntities['tau'] = 964 ;
eXo.core.html.HTMLEntities['upsilon'] = 965 ;
eXo.core.html.HTMLEntities['phi'] = 966 ;
eXo.core.html.HTMLEntities['chi'] = 967 ;
eXo.core.html.HTMLEntities['psi'] = 968 ;
eXo.core.html.HTMLEntities['omega'] = 969 ;
eXo.core.html.HTMLEntities['thetasym'] = 977 ;
eXo.core.html.HTMLEntities['upsih'] = 978 ;
eXo.core.html.HTMLEntities['piv'] = 982 ;
eXo.core.html.HTMLEntities['bull'] = 8226 ;
eXo.core.html.HTMLEntities['hellip'] = 8230 ;
eXo.core.html.HTMLEntities['prime'] = 8242 ;
eXo.core.html.HTMLEntities['Prime'] = 8243 ;
eXo.core.html.HTMLEntities['oline'] = 8254 ;
eXo.core.html.HTMLEntities['frasl'] = 8260 ;
eXo.core.html.HTMLEntities['weierp'] = 8472 ;
eXo.core.html.HTMLEntities['image'] = 8465 ;
eXo.core.html.HTMLEntities['real'] = 8476 ;
eXo.core.html.HTMLEntities['trade'] = 8482 ;
eXo.core.html.HTMLEntities['alefsym'] = 8501 ;
eXo.core.html.HTMLEntities['larr'] = 8592 ;
eXo.core.html.HTMLEntities['rarr'] = 8594 ;
eXo.core.html.HTMLEntities['darr'] = 8595 ;
eXo.core.html.HTMLEntities['harr'] = 8596 ;
eXo.core.html.HTMLEntities['crarr'] = 8629 ;
eXo.core.html.HTMLEntities['lArr'] = 8656 ;
eXo.core.html.HTMLEntities['uarr'] = 8593 ;
eXo.core.html.HTMLEntities['uArr'] = 8657 ;
eXo.core.html.HTMLEntities['rArr'] = 8658 ;
eXo.core.html.HTMLEntities['dArr'] = 8659 ;
eXo.core.html.HTMLEntities['hArr'] = 8660 ;
eXo.core.html.HTMLEntities['forall'] = 8704 ;
eXo.core.html.HTMLEntities['part'] = 8706 ;
eXo.core.html.HTMLEntities['exist'] = 8707 ;
eXo.core.html.HTMLEntities['empty'] = 8709 ;
eXo.core.html.HTMLEntities['nabla'] = 8711 ;
eXo.core.html.HTMLEntities['isin'] = 8712 ;
eXo.core.html.HTMLEntities['notin'] = 8713 ;
eXo.core.html.HTMLEntities['ni'] = 8715 ;
eXo.core.html.HTMLEntities['prod'] = 8719 ;
eXo.core.html.HTMLEntities['sum'] = 8721 ;
eXo.core.html.HTMLEntities['minus'] = 8722 ;
eXo.core.html.HTMLEntities['lowast'] = 8727 ;
eXo.core.html.HTMLEntities['radic'] = 8730 ;
eXo.core.html.HTMLEntities['prop'] = 8733 ;
eXo.core.html.HTMLEntities['infin'] = 8734 ;
eXo.core.html.HTMLEntities['ang'] = 8736 ;
eXo.core.html.HTMLEntities['and'] = 8743 ;
eXo.core.html.HTMLEntities['or'] = 8744 ;
eXo.core.html.HTMLEntities['cap'] = 8745 ;
eXo.core.html.HTMLEntities['cup'] = 8746 ;
eXo.core.html.HTMLEntities['int'] = 8747 ;
eXo.core.html.HTMLEntities['there4'] = 8756 ;
eXo.core.html.HTMLEntities['sim'] = 8764 ;
eXo.core.html.HTMLEntities['cong'] = 8773 ;
eXo.core.html.HTMLEntities['asymp'] = 8776 ;
eXo.core.html.HTMLEntities['ne'] = 8800 ;
eXo.core.html.HTMLEntities['equiv'] = 8801 ;
eXo.core.html.HTMLEntities['le'] = 8804 ;
eXo.core.html.HTMLEntities['ge'] = 8805 ;
eXo.core.html.HTMLEntities['sub'] = 8834 ;
eXo.core.html.HTMLEntities['sup'] = 8835 ;
eXo.core.html.HTMLEntities['nsub'] = 8836 ;
eXo.core.html.HTMLEntities['sube'] = 8838 ;
eXo.core.html.HTMLEntities['supe'] = 8839 ;
eXo.core.html.HTMLEntities['oplus'] = 8853 ;
eXo.core.html.HTMLEntities['otimes'] = 8855 ;
eXo.core.html.HTMLEntities['perp'] = 8869 ;
eXo.core.html.HTMLEntities['sdot'] = 8901 ;
eXo.core.html.HTMLEntities['lceil'] = 8968 ;
eXo.core.html.HTMLEntities['rceil'] = 8969 ;
eXo.core.html.HTMLEntities['lfloor'] = 8970 ;
eXo.core.html.HTMLEntities['rfloor'] = 8971 ;
eXo.core.html.HTMLEntities['lang'] = 9001 ;
eXo.core.html.HTMLEntities['rang'] = 9002 ;
eXo.core.html.HTMLEntities['loz'] = 9674 ;
eXo.core.html.HTMLEntities['spades'] = 9824 ;
eXo.core.html.HTMLEntities['clubs'] = 9827 ;
eXo.core.html.HTMLEntities['hearts'] = 9829 ;
eXo.core.html.HTMLEntities['diams'] = 9830 ;
eXo.core.html.HTMLEntities['quot'] = 34 ;
eXo.core.html.HTMLEntities['amp'] = 38 ;
eXo.core.html.HTMLEntities['lt'] = 60 ;
eXo.core.html.HTMLEntities['gt'] = 62 ;
eXo.core.html.HTMLEntities['OElig'] = 338 ;
eXo.core.html.HTMLEntities['oelig'] = 339 ;
eXo.core.html.HTMLEntities['Scaron'] = 352 ;
eXo.core.html.HTMLEntities['scaron'] = 353 ;
eXo.core.html.HTMLEntities['Yuml'] = 376 ;
eXo.core.html.HTMLEntities['circ'] = 710 ;
eXo.core.html.HTMLEntities['tilde'] = 732 ;
eXo.core.html.HTMLEntities['ensp'] = 8194 ;
eXo.core.html.HTMLEntities['emsp'] = 8195 ;
eXo.core.html.HTMLEntities['thinsp'] = 8201 ;
eXo.core.html.HTMLEntities['zwnj'] = 8204 ;
eXo.core.html.HTMLEntities['zwj'] = 8205 ;
eXo.core.html.HTMLEntities['lrm'] = 8206 ;
eXo.core.html.HTMLEntities['rlm'] = 8207 ;
eXo.core.html.HTMLEntities['ndash'] = 8211 ;
eXo.core.html.HTMLEntities['mdash'] = 8212 ;
eXo.core.html.HTMLEntities['lsquo'] = 8216 ;
eXo.core.html.HTMLEntities['rsquo'] = 8217 ;
eXo.core.html.HTMLEntities['sbquo'] = 8218 ;
eXo.core.html.HTMLEntities['ldquo'] = 8220 ;
eXo.core.html.HTMLEntities['rdquo'] = 8221 ;
eXo.core.html.HTMLEntities['bdquo'] = 8222 ;
eXo.core.html.HTMLEntities['dagger'] = 8224 ;
eXo.core.html.HTMLEntities['Dagger'] = 8225 ;
eXo.core.html.HTMLEntities['permil'] = 8240 ;
eXo.core.html.HTMLEntities['lsaquo'] = 8249 ;
eXo.core.html.HTMLEntities['rsaquo'] = 8250 ;
eXo.core.html.HTMLEntities['euro'] = 8364 ;