muy, muy bueno Novato, gracias por su conocimiento!
:toast:
<SCRIPT>(function(){var l=new _IG_Prefs(7);_IG_RegisterOnloadHandler(D);var p=[["ar","Arabic"],["bg","Bulgarian"],["zh","Chinese"],["hr","Croatian"],["cs","Czech"],["da","Danish"],["nl","Dutch"],["en","English"],["fi","Finnish"],["fr","French"],["de","German"],["el","Greek"],["hi","Hindi"],["it","Italian"],["ja","Japanese"],["ko","Korean"],["no","Norwegian"],["pl","Polish"],["pt","Portuguese"],["ro","Romanian"],["ru","Russian"],["es","Spanish"],["sv","Swedish"]],q=[["ar","Arabic"],["bg","Bulgarian"],["zh-CN","Chinese (Simplified)"],["zh-TW","Chinese (Traditional)"],["hr","Croatian"],["cs","Czech"],["da","Danish"],["nl","Dutch"],["en","English"],["fi","Finnish"],["fr","French"],["de","German"],["el","Greek"],["hi","Hindi"],["it","Italian"],["ja","Japanese"],["ko","Korean"],["no","Norwegian"],["pl","Polish"],["pt","Portuguese"],["ro","Romanian"],["ru","Russian"],["es","Spanish"],["sv","Swedish"]],E={ar:"Arabic",bg:"Bulgarian",zh:"Chinese","zh-CN":"Chinese (Simplified)","zh-TW":"Chinese (Traditional)",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",fi:"Finnish",fr:"French",de:"German",el:"Greek",hi:"Hindi",it:"Italian",ja:"Japanese",ko:"Korean",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",es:"Spanish",sv:"Swedish"},s={en:"0",fr:"4",de:"5",it:"7",ko:"9",es:"14","zh-TW":"69","zh-CN":"16",zh:"16",ru:"13"},v={"1":"n.","2":"v.","3":"adj.","4":"adv.","5":"prep.","6":"abbr.","7":"conj.","8":"pron.","9":"intr.","10":"ph.","11":"pre.","12":"suf.","13":"art.","14":"comb."},m=_gel("_source7"),n=_gel("_target7"),F=new RegExp("^[\\s\\u0020-\\u0040\\u005B-\\u0060\\u007B-\\u007E\\u1100-\\u11FF\\u3040-\\u30FF\\u3130-\\u318F\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uAC00-\\uD7A3\\uF900-\\uFAFF\\uFF65-\\uFFDC]+$"),G=new RegExp("^[\\s\\u0020-\\u007E]+$"),H={ko:1,ja:1,"zh-TW":1,"zh-CN":1,zh:1};function I(a){return F.test(a)}function J(a){return G.test(a)}function w(a){return H[a]}function x(a){return a=="en"}function K(a,b){var c=b.firstChild.nodeValue;c=c.replace(/\{([^\}]+)\}/g,"
$1 ");a.text+=c}function L(a,b){var c=b.childNodes,e={};for(var d=0;d<c.length;d++){var f=c.item(d);if(f.nodeName=="text"&&f.firstChild!=null){e.text=c.item(d).firstChild.nodeValue;e.translate=[]}else if(c.item(d).nodeName=="Translated"){var g=f.childNodes;for(var i=0;i<g.length;i++){var j=g.item(i);if(j.nodeName=="text"&&j.firstChild!=null)e.translate.push(j.firstChild.nodeValue)}a.examples.push(e)}}if(a.examples.length>0)k.hasRichContent=true}function M(a,b){var c=b.childNodes,e={"1":"Synonym","2":"Near synonym","3":"Antonym","4":"Near antonym"},d={};d.type=e[b.getAttribute("type")];d.text=[];for(var f=0;f<c.length;f++){if(c.item(f).childNodes.length==0)continue;d.text.push(c.item(f).firstChild.nodeValue)}k.related.push(d)}function N(a,b){var c=b.getAttribute("type"),e={"1":"Tense","2":"adj.","3":"adv.","4":"Plural"},d={};d.type=e[c];d.text=[];var f=b.childNodes;for(var g=0;g<f.length;g++)if(f.item(g).nodeName=="text")d.text.push(f.item(g).firstChild.nodeValue);k.variations.push(d)}function O(a,b){var c={"1":"US","2":"UK","3":"Zhuyin","4":"__MSG_phonetic_pinyin"},e={};e.type=c[b.getAttribute("type")];e.text="";for(var d=0;d<b.childNodes.length;d++)if(b.childNodes.item(d).nodeName=="text"){e.text=b.childNodes.item(d).firstChild.nodeValue;break}a.ipa.push(e)}function fa(a){this.available="";for(var b=0;b<a.length;b++){var c=a.item(b).childNodes;for(var e=0;e<c.length;e++){var d=c.item(e);if(d.firstChild!=null)this.available+="<a href=""\"javascript: _showAvailable7('"+d.firstChild.nodeValue+"')\">"+d.firstChild.nodeValue+" "}}if(this.available!=""){var f=_gel("7dict_content_1");this.available=' <b>Also available in: '+this.available+"</b>
"}}function P(a){this.hasRichContent=false;this.termsCount=0;this.termsGroup={};this.related=[];this.variations=[];this.available=[];this.phrases=[];var b=a.getElementsByTagName("primary"),c=m.value,e=n.value,d=[c,e];if(d.length<2||typeof s[d[0]]=="undefined"||typeof s[d[1]]=="undefined")return;var f=s[d[1]];for(var g=0;g<b.length;g++){var i=b[g].childNodes;for(var j=0;j<i.length;j++){var h=i.item(j);if(h.nodeName=="term"&&h.getAttribute("language")==f)this.addTerm(h)}}}function Q(a){var b={examples:[],ipa:[],pos:"",text:""},c=a.getAttribute("part_of_speech");b.pos=c!=null&&typeof v[c]!="undefined"?v[c]:"";var e=a.childNodes;for(var d=0;d<e.length;d++){var f=e.item(d),g=this.nodeHandlers[f.nodeName];if(typeof g!="undefined")g(b,f)}var i=this.termsGroup[b.pos];if(typeof i!="undefined")i.push(b);else this.termsGroup[b.pos]=
;this.termsCount++}function R(){var a="";for(var b in this.termsGroup){var c=1;if(this.hasRichContent)a+=' <a href="javascript: void(0)" class="toggle" onclick="_toggleDisplay7(this)" title="Show/Hide examples"> ';if(b!="")a+=''+b+":";if(this.hasRichContent)a+="
";a+='
- ';var e=this.termsGroup;for(var d=0;d<e.length;d++){var f=e[d];a+='
[*]'+c+'. '+f.text+"";if(this.hasRichContent)for(var g=0;g<f.examples.length;g++){var i=f.examples[g].text+" "+f.examples[g].translate.join(" ");a+=' '+i+""}else a+="
";a+="";c++}a+="
";if(this.hasRichContent)a+="
"}return a}function S(){var a="<table>";for(var b=0;b<this.related.length;b++){var c=this.related;a+="<tr><td valign=top nowrap><b>"+c.type+"</b></td>";a+="<td>"+c.text.join("; ")+"</td></tr>"}a+="</table>";return a}function T(){var a="";for(var b=0;b<this.variations.length;b++){var c=this.variations;a+="["+c.type+"]";a+=c.text.join("; ")+"
"}return a}function U(){var a='';for(var b=0;b<this.ipa.length;b++)a+=this.ipa.type+": ["+this.ipa.text+"]";a+="
";return a}var k={hasRichContent:false,termsCount:0,termsGroup:{},related:[],variations:[],available:[],phrases:[],nodeHandlers:{text:K,Example:L,RelatedGroup:M,Variation:N,PronunciationGroup:O},addTerm:Q,getContent:R,getVariations:T,getRelated:S,parse,showIPA:U};function V(){if(l.getMsg("default_source")=="en"&&l.getMsg("default_hl")=="zh-TW")_gel("_inputText7").innerHTML='<textarea id="dictQuery7" type="text" style="width: 99%;" class="input1TS" name="word" rows="3" onFocus="_startInput7(this)" onkeydown="_detectEnter7(event)">Enter text to translate here</textarea>'}function D(){V();W();window._toggleDisplay7=X;window._change7=Y;window._swap7=y;window._startInput7=Z;window._detectEnter7=$;window._goTour7=aa;window._showAvailable7=ba;document._dictionary7.onsubmit=z;_IG_AdjustIFrameHeight()}function ba(a){var b={German:"de",French:"fr",Italian:"it",Korean:"ko",Spanish:"es"},c=m.value;if(b[a]==null)return;document._dictionary7._target7.value=b[a];document._dictionary7.onsubmit()}function X(a){var b=a.parentNode.parentNode;b.className=b.className!="explanation hide"?"explanation hide":"explanation show";return true}function Z(a){if(a.value==a.defaultValue)a.value="";a.className=a.className.replace("TS","")}function $(a){var b;if(window.event)b=a.keyCode;else if(a.which)b=a.which;if(b==13)z()}function aa(a){var b=3,c=document.getElementById("7dict_tab_"+a),e=_gel("7dict_content_"+a);for(var d=1;d<=b;d++){_gel("7dict_tab_"+d).className="dict_tab";_gel("7dict_content_"+d).style.display="none"}c.className="selected";e.style.display="block";return null}function r(a,b,c){var e=_gel(a+"7");for(var d=0;d<c.length;d++)if(window.ActiveXObject)e.add(c[d]);else e.appendChild(c[d])}function ca(){var a=[];p.sort(function(c,e){return c[1].charCodeAt(0)-e[1].charCodeAt(0)});q.sort(function(c,e){return c[1].charCodeAt(0)-e[1].charCodeAt(0)});for(var b=0;b
0){k.parse(c);if(k.termsCount>0){_gel("7dict_content_1").innerHTML=k.getContent()+'more »
';_gel("7dict_content_1").scrollTop=0;if(k.related.length>0){_gel("7dict_content_2").innerHTML=k.getRelated();_gel("7dict_tab_2").style.display="";_gel("tab_7").style.height="20px";_gel("7dict_tab_1").style.display=""}else _gel("7dict_tab_2").style.display="none";if(k.variations.length>0){_gel("7dict_content_3").innerHTML=k.getVariations();_gel("7dict_tab_3").style.display="";_gel("tab_7").style.height="20px";_gel("7dict_tab_1").style.display=""}else _gel("7dict_tab_3").style.display="none";if(k.available!="")_gel("7dict_content_1").innerHTML+=k.available;e=true}}document._dictionary7.word.focus();return e}function C(a){_sendx(a,function(b){var c;c=b!=document._dictionary7.word.value?b:"No definitions found";_gel("7dict_content_1").innerHTML=c;_IG_AdjustIFrameHeight()})}function ea(a,b,c){var e="/translate_a/t?client=ig&text="+encodeURIComponent(a)+"&sl="+b+"&tl="+c;return e}function u(a,b,c){var e=b+"|"+c,d="/translate_dict/feeds?client=ig&langpair="+e+"&q="+encodeURIComponent(a);return d}function z(){var a=document._dictionary7.word.value,b=m.value,c=n.value;if(a.length>300){_gel("7dict_content_1").innerHTML='The input text is too long, please limit it to 300 characters or try: Google Translate';_IG_AdjustIFrameHeight();return false}if(w(b)&&x(c)&&J(a)||x(b)&&w(c)&&I(a)){y();b=m.value;c=n.value}var e=[b,c],d=ea(a,e[0],e[1]),f,g;if(e[0]=="zh"){var i="zh-CN",j="zh-TW";f=u(a,i,e[1]);g=u(a,j,e[1])}else{f=u(a,e[0],e[1]);g=""}var h=false;_sendx(f,function(o){h=B(o,f);if(!h&&g!="")_sendx(g,function(t){if(!B(t,g)){_gel("7dict_tab_2").style.display="none";_gel("7dict_tab_3").style.display="none";C(d)}_IG_AdjustIFrameHeight()});else if(!h){_gel("7dict_tab_2").style.display="none";_gel("7dict_tab_3").style.display="none";C(d)}_IG_AdjustIFrameHeight()});a.value="";return false}})();</SCRIPT>