function Transform_Code_Box_in_HTML(aX){ var TemLnk=aX.replace(/^(.viewtopic.php?id=\d).$/ig,"$1"); var PstId=aX.replace(/^.viewtopic.php?id=.*(#p\d+)$/ig,"$1"); var L=document.URL.replace(TemLnk,''); if(L!=document.URL&&(L.slice(0,1)).search(/\d/ig)==-1 ){ L=$("div.topic "+PstId); if(L.length==1){ var Lhtm=L.find(".post-content .code-box:first .scrollbox pre").text(); L.find(".post-content .code-box:first").replaceWith(Lhtm) }}} function Demo_HTML(Ts){var Ll=Ts.parents(".htmldemo").find(".code-box .scrollbox pre").text(); Ts.parents(".htmldemo").after('