function convertentities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createelement("div");f.innerhtml=c;return !f.firstchild?c:f.firstchild.nodevalue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b};