function recodificar(texto) {
texto = texto.replace(/&#39;/g,"\'");
texto = texto.replace(/&nbsp;/g," ");
texto = texto.replace(/&quot;/g,'\"');
texto = texto.replace(/&iquest;/g,'');
texto = texto.replace(/&euro;/g,'nmc8364');
texto = texto.replace(/&pound;/g,'nmc163');
texto = texto.replace(/&yen;/g,'nmc165');
texto = texto.replace(/&copy;/g,'nmc169');
texto = texto.replace(/&reg;/g,'nmc174');
texto = texto.replace(/&trade;/g,'nmc8482');
texto = texto.replace(/&micro;/g,'nmc181');
texto = texto.replace(/&middot;/g,'nmc183');
texto = texto.replace(/&bullet;/g,'nmc8326');
texto = texto.replace(/&prime;/g,'nmc8242');
texto = texto.replace(/&Prime;/g,'nmc8243');
texto = texto.replace(/&sect;/g,'nmc167');
texto = texto.replace(/&para;/g,'nmc182');
texto = texto.replace(/&szlig;/g,'nmc223');
texto = texto.replace(/&lsaquo;/g,'nmc8249');
texto = texto.replace(/&rsaquo;/g,'nmc8250');
texto = texto.replace(/&laquo;/g,'nmc171');
texto = texto.replace(/&raquo;/g,'nmc187');
texto = texto.replace(/&lsquo;/g,'nmc8216');
texto = texto.replace(/&rsquo;/g,'nmc8217');
texto = texto.replace(/&ldquo;/g,'nmc8220');
texto = texto.replace(/&rdquo;/g,'nmc8221');
texto = texto.replace(/&sbquo;/g,'nmc8218');
texto = texto.replace(/&bdquo;/g,'nmc8222');
texto = texto.replace(/&lt;/g,'nmc60');
texto = texto.replace(/&gt;/g,'nmc62');
texto = texto.replace(/&le;/g,'nmc8804');
texto = texto.replace(/&ge;/g,'nmc8805');
texto = texto.replace(/&ndash;/g,'nmc8211');
texto = texto.replace(/&mdash;/g,'nmc8212');
texto = texto.replace(/&macr;/g,'nmc175');
texto = texto.replace(/&oline;/g,'nmc8254');
texto = texto.replace(/&curren;/g,'nmc164');
texto = texto.replace(/&brvbar;/g,'nmc166');
texto = texto.replace(/&uml;/g,'nmc168');
texto = texto.replace(/&iexcl;/g,'nmc161');
texto = texto.replace(/&circ;/g,'nmc710');
texto = texto.replace(/&tilde;/g,'nmc732');
texto = texto.replace(/&deg;/g,'nmc176');
texto = texto.replace(/&minus;/g,'nmc8722');
texto = texto.replace(/&plusmn;/g,'nmc177');
texto = texto.replace(/&divide;/g,'nmc247');
texto = texto.replace(/&frasl;/g,'nmc8260');
texto = texto.replace(/&times;/g,'nmc215');
texto = texto.replace(/&sup1;/g,'nmc185');
texto = texto.replace(/&sup2;/g,'nmc178');
texto = texto.replace(/&sup3;/g,'nmc179');
texto = texto.replace(/&frac14;/g,'nmc188');
texto = texto.replace(/&frac12;/g,'nmc189');
texto = texto.replace(/&frac34;/g,'nmc190');
texto = texto.replace(/&fnof;/g,'nmc402');
texto = texto.replace(/&int;/g,'nmc8747');
texto = texto.replace(/&sum;/g,'nmc8721');
texto = texto.replace(/&infin;/g,'nmc8734');
texto = texto.replace(/&radic;/g,'nmc8730');
texto = texto.replace(/&asymp;/g,'nmc8776');
texto = texto.replace(/&ne;/g,'nmc8800');
texto = texto.replace(/&equiv;/g,'nmc8801');
texto = texto.replace(/&prod;/g,'nmc8719');
texto = texto.replace(/&not;/g,'nmc172');
texto = texto.replace(/&cap;/g,'nmc8745');
texto = texto.replace(/&part;/g,'nmc8706');
texto = texto.replace(/&acute;/g,'nmc180');
texto = texto.replace(/&cedil;/g,'nmc184');
texto = texto.replace(/&ordf;/g,'nmc170');
texto = texto.replace(/&ordm;/g,'nmc186');
texto = texto.replace(/&dagger;/g,'nmc8224');
texto = texto.replace(/&Dagger;/g,'nmc8225');
texto = texto.replace(/&Agrave;/g,'nmc192');
texto = texto.replace(/&Aacute;/g,'nmc193');
texto = texto.replace(/&Acirc;/g,'nmc194');
texto = texto.replace(/&Atilde;/g,'nmc195');
texto = texto.replace(/&Auml;/g,'nmc196');
texto = texto.replace(/&Aring;/g,'nmc197');
texto = texto.replace(/&AElig;/g,'nmc198');
texto = texto.replace(/&Ccedil;/g,'nmc199');
texto = texto.replace(/&Egrave;/g,'nmc200');
texto = texto.replace(/&Eacute;/g,'nmc201');
texto = texto.replace(/&Ecirc;/g,'nmc202');
texto = texto.replace(/&Euml;/g,'nmc203');
texto = texto.replace(/&Igrave;/g,'nmc204');
texto = texto.replace(/&Iacute;/g,'nmc205');
texto = texto.replace(/&Icirc;/g,'nmc206');
texto = texto.replace(/&Iuml;/g,'nmc207');
texto = texto.replace(/&ETH;/g,'nmc208');
texto = texto.replace(/&Ntilde;/g,'nmc209');
texto = texto.replace(/&Ograve;/g,'nmc210');
texto = texto.replace(/&Oacute;/g,'nmc211');
texto = texto.replace(/&Ocirc;/g,'nmc212');
texto = texto.replace(/&Otilde;/g,'nmc213');
texto = texto.replace(/&Ouml;/g,'nmc214');
texto = texto.replace(/&Oslash;/g,'nmc216');
texto = texto.replace(/&OElig;/g,'nmc338');
texto = texto.replace(/&Scaron;/g,'nmc352');
texto = texto.replace(/&Ugrave;/g,'nmc217');
texto = texto.replace(/&Uacute;/g,'nmc218');
texto = texto.replace(/&Ucirc;/g,'nmc219');
texto = texto.replace(/&Uuml;/g,'nmc220');
texto = texto.replace(/&Yacute;/g,'nmc221');
texto = texto.replace(/&Yuml;/g,'nmc376');
texto = texto.replace(/&THORN;/g,'nmc222');
texto = texto.replace(/&agrave;/g,'nmc224');
texto = texto.replace(/&aacute;/g,'nmc225');
texto = texto.replace(/&acirc;/g,'nmc226');
texto = texto.replace(/&atilde;/g,'nmc227');
texto = texto.replace(/&auml;/g,'nmc228');
texto = texto.replace(/&aring;/g,'nmc229');
texto = texto.replace(/&aelig;/g,'nmc230');
texto = texto.replace(/&ccedil;/g,'nmc231');
texto = texto.replace(/&egrave;/g,'nmc232');
texto = texto.replace(/&eacute;/g,'nmc233');
texto = texto.replace(/&ecirc;/g,'nmc234');
texto = texto.replace(/&euml;/g,'nmc235');
texto = texto.replace(/&igrave;/g,'nmc236');
texto = texto.replace(/&iacute;/g,'nmc237');
texto = texto.replace(/&icirc;/g,'nmc238');
texto = texto.replace(/&iuml;/g,'nmc239');
texto = texto.replace(/&eth;/g,'nmc240');
texto = texto.replace(/&ntilde;/g,'nmc241');
texto = texto.replace(/&ograve;/g,'nmc242');
texto = texto.replace(/&oacute;/g,'nmc243');
texto = texto.replace(/&ocirc;/g,'nmc244');
texto = texto.replace(/&ouml;/g,'nmc245');
texto = texto.replace(/&oslash;/g,'nmc246');
texto = texto.replace(/&oelig;/g,'nmc339');
texto = texto.replace(/&scaron;/g,'nmc353');
texto = texto.replace(/&ugrave;/g,'nmc249');
texto = texto.replace(/&uacute;/g,'nmc250');
texto = texto.replace(/&ucirc;/g,'nmc251');
texto = texto.replace(/&uuml;/g,'nmc252');
texto = texto.replace(/&yacute;/g,'nmc253');
texto = texto.replace(/&thorn;/g,'nmc254');
texto = texto.replace(/&yuml;/g,'nmc255');
texto = texto.replace(/&Alpha;/g,'nmc913');
texto = texto.replace(/&Beta;/g,'nmc914');
texto = texto.replace(/&Gamma;/g,'nmc915');
texto = texto.replace(/&Delta;/g,'nmc916');
texto = texto.replace(/&Epsilon;/g,'nmc917');
texto = texto.replace(/&Zeta;/g,'nmc918');
texto = texto.replace(/&Eta;/g,'nmc919');
texto = texto.replace(/&Theta;/g,'nmc920');
texto = texto.replace(/&Iota;/g,'nmc921');
texto = texto.replace(/&Kappa;/g,'nmc922');
texto = texto.replace(/&Lambda;/g,'nmc923');
texto = texto.replace(/&Mu;/g,'nmc924');
texto = texto.replace(/&Nu;/g,'nmc925');
texto = texto.replace(/&Xi;/g,'nmc926');
texto = texto.replace(/&Omicron;/g,'nmc927');
texto = texto.replace(/&Pi;/g,'nmc928');
texto = texto.replace(/&Rho;/g,'nmc929');
texto = texto.replace(/&Sigma;/g,'nmc931');
texto = texto.replace(/&Tau;/g,'nmc932');
texto = texto.replace(/&Upsilon;/g,'nmc933');
texto = texto.replace(/&Phi;/g,'nmc934');
texto = texto.replace(/&Chi;/g,'nmc935');
texto = texto.replace(/&Psi;/g,'nmc936');
texto = texto.replace(/&Omega;/g,'nmc937');
texto = texto.replace(/&alpha;/g,'nmc945');
texto = texto.replace(/&beta;/g,'nmc946');
texto = texto.replace(/&gamma;/g,'nmc947');
texto = texto.replace(/&delta;/g,'nmc948');
texto = texto.replace(/&epsilon;/g,'nmc949');
texto = texto.replace(/&zeta;/g,'nmc950');
texto = texto.replace(/&eta;/g,'nmc951');
texto = texto.replace(/&theta;/g,'nmc952');
texto = texto.replace(/&iota;/g,'nmc953');
texto = texto.replace(/&kappa;/g,'nmc954');
texto = texto.replace(/&lambda;/g,'nmc955');
texto = texto.replace(/&mu;/g,'nmc956');
texto = texto.replace(/&nu;/g,'nmc957');
texto = texto.replace(/&xi;/g,'nmc958');
texto = texto.replace(/&omicron;/g,'nmc959');
texto = texto.replace(/&pi;/g,'nmc960');
texto = texto.replace(/&rho;/g,'nmc961');
texto = texto.replace(/&sigmaf;/g,'nmc962');
texto = texto.replace(/&sigma;/g,'nmc963');
texto = texto.replace(/&tau;/g,'nmc964');
texto = texto.replace(/&upsilon;/g,'nmc965');
texto = texto.replace(/&phi;/g,'nmc966');
texto = texto.replace(/&chi;/g,'nmc967');
texto = texto.replace(/&psi;/g,'nmc968');
texto = texto.replace(/&omega;/g,'nmc969');
texto = texto.replace(/&larr;/g,'nmc8592');
texto = texto.replace(/&uarr;/g,'nmc8593');
texto = texto.replace(/&rarr;/g,'nmc8594');
texto = texto.replace(/&darr;/g,'nmc8595');
texto = texto.replace(/&harr;/g,'nmc8596');
texto = texto.replace(/&loz;/g,'nmc9674');
texto = texto.replace(/&clubs;/g,'nmc9827');
texto = texto.replace(/&hearts;/g,'nmc9829');
texto = texto.replace(/&diams;/g,'nmc9830');
texto = texto.replace(/&amp;/g,'nmc38');
return texto;
}

function ventana(URL,winNombre,parametros) { 
  window.open(URL,winNombre,parametros);
}